/* ==========================================================================
   SILS SA — site stylesheet
   ========================================================================== */

:root {
  --accent: #EDE500;      /* safety yellow */
  --navy: #11213A;        /* primary dark */
  --navy-deep: #0B1626;
  --navy-black: #0A1524;
  --brick: #8A2432;
  --ink: #16233A;
  --body: #3C4759;
  --muted: #4A5568;
  --faint: #8A9099;
  --cream: #F6F4EE;
  --cream-2: #F9F8F3;
  --sand: #EFEDE3;
  --line: rgba(22, 35, 58, 0.15);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --wrap: 1200px;
  --gutter: 56px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .h-font {
  font-family: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.06;
  margin: 0;
}
.m-font { font-family: 'IBM Plex Mono', 'Courier New', monospace; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brick);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--accent); }

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  cursor: pointer;
  border: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: transform 0.12s var(--ease-io);
  font-family: inherit;
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  transform: translateX(-102%) skewX(-14deg);
  transition: transform 0.42s var(--ease-io);
}
.btn:hover::before { transform: translateX(102%) skewX(-14deg); }
.btn:active { transform: translateY(2px); }

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-outline::before { background: rgba(255, 255, 255, 0.14); }
.btn-outline:hover { border-color: var(--accent); }
.btn-sm { font-size: 14px; padding: 13px 24px; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 var(--gutter);
  background: rgba(249, 248, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 35, 58, 0.1);
}
.site-header .logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.navlink { position: relative; padding: 4px 0; transition: color 0.18s var(--ease-io); }
.navlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease-io);
}
.navlink:hover::after { transform: scaleX(1); }
.navlink.is-current { color: var(--brick); }
.navlink.is-current::after { transform: scaleX(1); background: var(--brick); }

.header-right { display: flex; align-items: center; gap: 28px; }
.phone-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroPush 24s var(--ease-io) infinite alternate; }
@keyframes heroPush { from { transform: scale(1.0); } to { transform: scale(1.08); } }

.hero-grade { position: absolute; inset: 0; background: var(--navy); opacity: 0.38; mix-blend-mode: multiply; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,20,34,0.94) 0%, rgba(11,20,34,0.86) 34%, rgba(11,20,34,0.5) 64%, rgba(11,20,34,0.2) 100%);
}
.hero-scrim-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(180deg, rgba(11,20,34,0) 0%, rgba(11,20,34,0.8) 100%); }
.hero-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 220px 60px rgba(5,10,18,0.5); }

.hero-hex { position: absolute; right: -60px; top: 40px; opacity: 0.08; }
.hero-hex polygon { animation: spinCW 110s linear infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes spinCW { to { transform: rotate(360deg); } }

.hazard-bar {
  position: absolute; left: 0; bottom: 48px;
  width: 180px; height: 10px;
  background: repeating-linear-gradient(115deg, var(--accent) 0 18px, var(--ink) 18px 36px);
  transform-origin: left center;
  animation: barGrow 0.72s var(--ease-out) 0.9s both, crawlSm 5.5s linear 1.9s infinite;
}
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes crawlSm { to { background-position: 39.72px 0; } }

.hero-inner { position: relative; z-index: 2; max-width: 700px; padding: 0 var(--gutter); }
.hero h1 { color: #fff; font-size: clamp(38px, 5vw, 58px); margin: 0 0 24px; text-shadow: 0 2px 24px rgba(5,10,18,0.5); }
.hero .lede { color: #D2D9E6; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; max-width: 520px; margin: 0 0 32px; text-shadow: 0 1px 16px rgba(5,10,18,0.6); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.mask-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mask-line > span { display: block; animation: maskUp 0.78s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes maskUp { from { transform: translateY(106%); } to { transform: translateY(0); } }

.anim-rise { animation: fadeRise 0.68s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes fadeRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------- page hero (inner) */
.page-hero {
  position: relative;
  background: var(--navy);
  padding: 72px var(--gutter) 88px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.page-hero.has-media { padding-top: 96px; padding-bottom: 112px; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-inner { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 52px); max-width: 760px; }
.page-hero .lede { color: #C7CEDC; font-size: 17px; line-height: 1.65; max-width: 560px; margin: 20px 0 0; }
.crumb { font-family: 'IBM Plex Mono', monospace; color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 0.12em; margin-bottom: 18px; }
.crumb a:hover { color: var(--accent); }

/* --------------------------------------------------------------- pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter); }
.pillar { display: flex; gap: 18px; padding: 0 32px; border-right: 1px solid rgba(22,35,58,0.12); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: none; padding-right: 0; }
.pillar h3 { font-size: 20px; font-weight: 600; }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 6px 0 0; }
.pillar svg { flex-shrink: 0; }

/* --------------------------------------------------------------- services list */
.section { padding: 88px 0 100px; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: #fff; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-head p { max-width: 340px; font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 30px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.22s var(--ease-io), padding-left 0.26s var(--ease-out);
}
.svc-row::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.34s var(--ease-io);
}
.svc-row:hover { background: #F0EEE4; padding-left: 24px; }
.svc-row:hover::after { transform: scaleX(1); }
.svc-idx { width: 56px; flex-shrink: 0; font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 600; opacity: 0.35; transition: color 0.22s var(--ease-io), opacity 0.22s var(--ease-io); }
.svc-row:hover .svc-idx { color: var(--accent); opacity: 1; }
.svc-icon { flex-shrink: 0; transition: transform 0.26s var(--ease-out); }
.svc-row:hover .svc-icon { transform: translateX(5px); }
.svc-body { flex: 1; }
.svc-body h3 { font-size: 23px; font-weight: 600; }
.svc-body p { font-size: 15px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.svc-arrow { flex-shrink: 0; opacity: 0; transform: translateX(-10px); transition: opacity 0.24s var(--ease-io), transform 0.28s var(--ease-out); }
.svc-row:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------- split blocks */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.split-media { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 0.9s var(--ease-out); }
.split-media.landscape img { aspect-ratio: 3 / 2; }
.split-media:hover img { transform: scale(1.04); }
.split h2 { font-size: clamp(28px, 3.2vw, 36px); margin-bottom: 22px; }
.split p { font-size: 16px; line-height: 1.7; color: var(--body); margin: 0 0 18px; }
.section-navy .split p { color: #C7CEDC; }
.section-navy h2 { color: #fff; }

.spec-row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row span:first-child { font-size: 15px; color: var(--body); }
.spec-row span:last-child { font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; color: var(--brick); }

.addr-block { display: flex; align-items: flex-start; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); }
.addr-block div { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: #fff; line-height: 1.6; }

/* --------------------------------------------------------------- cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.cell { background: var(--cream); padding: 36px 34px; transition: transform 0.26s var(--ease-out), background 0.26s var(--ease-io); }
.cell:hover { transform: translateY(-4px); }
.cell .num { font-family: 'IBM Plex Mono', monospace; font-size: 24px; font-weight: 600; opacity: 0.3; margin-bottom: 16px; }
.cell h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.cell p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.svc-block {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  background: var(--cream-2);
  border: 1px solid rgba(22,35,58,0.12);
  overflow: hidden;
  transition: transform 0.26s var(--ease-out);
}
.svc-block:hover { transform: translateY(-4px); }
.svc-block.flip { grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); }
.svc-block .media { overflow: hidden; min-height: 320px; }
.svc-block .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.svc-block:hover .media img { transform: scale(1.05); }
.svc-block .content { padding: 44px; }
.svc-block h2 { font-size: 30px; font-weight: 600; margin-bottom: 14px; }
.svc-block p { font-size: 15.5px; line-height: 1.65; color: var(--body); margin: 0 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag { font-family: 'IBM Plex Mono', monospace; font-size: 12px; padding: 6px 12px; background: var(--sand); color: var(--muted); }
.tag-dark { background: var(--ink); color: #fff; letter-spacing: 0.06em; font-size: 11.5px; }

.step { border-top: 2px solid rgba(22,35,58,0.2); padding-top: 22px; }
.step.first { border-top-color: var(--brick); }
.step .label { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--brick); letter-spacing: 0.1em; margin-bottom: 12px; }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery a { overflow: hidden; display: block; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery a:hover img { transform: scale(1.07); }

/* --------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1fr); gap: 72px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 1px solid var(--line); }
.contact-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-item .lab { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 5px; }
.contact-item .val { font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.55; }

.form-card {
  background: var(--cream-2);
  padding: 40px;
  border: 1px solid rgba(22,35,58,0.12);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
label { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); }
.field {
  border: 1px solid rgba(22,35,58,0.25);
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-io), box-shadow 0.2s var(--ease-io);
}
.field:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
textarea.field { resize: none; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }

.map-slot { position: relative; height: 400px; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
.map-slot .grid-bg { position: absolute; inset: 0; opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; }
.map-slot .inner { position: relative; text-align: center; }
.map-slot .inner div { font-family: 'IBM Plex Mono', monospace; color: #fff; font-size: 14px; letter-spacing: 0.06em; }
.map-slot .inner .sub { color: rgba(255,255,255,0.55); font-size: 12.5px; margin-top: 8px; }
.map-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------- CTA + footer */
.hazard-strip { height: 14px; background: repeating-linear-gradient(115deg, var(--accent) 0 24px, var(--ink) 24px 48px); animation: crawlLg 6s linear infinite; }
@keyframes crawlLg { to { background-position: 52.96px 0; } }

.cta-band { background: var(--navy); padding: 72px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 36px); margin-bottom: 10px; }
.cta-band p { color: #C7CEDC; font-size: 16px; max-width: 520px; line-height: 1.6; margin: 0; }
.cta-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-right .m-font { color: #fff; font-size: 15px; }

.site-footer { background: var(--navy-black); padding: 64px var(--gutter) 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.3fr) repeat(3, minmax(0,0.9fr)); gap: 48px; max-width: var(--wrap); margin: 0 auto 48px; }
.footer-grid h4 { font-family: 'IBM Plex Mono', monospace; color: #7C879C; font-size: 12px; letter-spacing: 0.1em; margin: 0 0 18px; font-weight: 500; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col div { color: #C7CEDC; font-size: 14px; line-height: 1.6; }
.footer-col a { display: inline-block; transition: color 0.18s var(--ease-io), transform 0.22s var(--ease-out); }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { font-family: 'Barlow Condensed', sans-serif; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 0.04em; }
.footer-tag { font-size: 13px; color: #7C879C; margin-top: 10px; max-width: 260px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto; gap: 20px; flex-wrap: wrap; }
.footer-bottom div { font-size: 12.5px; color: #5C6779; }

/* --------------------------------------------------------------- reveal */
.reveal { opacity: 1; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.64s var(--ease-out) var(--d, 0ms), transform 0.64s var(--ease-out) var(--d, 0ms);
}
.js-ready .reveal.from-left { transform: translateX(-22px); }
.js-ready .reveal.from-right { transform: translateX(22px); }
.js-ready .reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .split, .contact-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .svc-block, .svc-block.flip { grid-template-columns: minmax(0,1fr); }
  .svc-block .media { min-height: 260px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .gallery { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pillars { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .pillar { padding: 0 0 24px; border-right: none; border-bottom: 1px solid rgba(22,35,58,0.12); }
  .pillar:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .site-header { height: 72px; }
  .site-header .logo img { height: 42px; }
  .header-right .phone-chip { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  .nav-open .nav { transform: translateY(0); }
  .nav .navlink { color: #fff; width: 100%; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 17px; }
  .nav .navlink.is-current { color: var(--accent); }
  .hero { min-height: 560px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
  .hero-scrim { background: linear-gradient(170deg, rgba(11,20,34,0.86) 0%, rgba(11,20,34,0.78) 50%, rgba(11,20,34,0.9) 100%); }
  .hero-media img { animation: none; }
  .hazard-bar { width: 120px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0,1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .field-row { grid-template-columns: minmax(0,1fr); }
  .section { padding: 60px 0 68px; }
  .cell { padding: 28px 24px; }
  .svc-block .content { padding: 32px 24px; }
  .svc-row { gap: 16px; padding: 22px 8px; flex-wrap: wrap; }
  .svc-row:hover { padding-left: 8px; }
  .svc-idx { width: 40px; font-size: 20px; }
  .svc-arrow { display: none; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .cta-band { padding: 52px var(--gutter); }
  .btn { padding: 16px 26px; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .js-ready .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* --------------------------------------------------------- fact strip */
.factstrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  gap: 32px;
}
.fact { padding-left: 24px; border-left: 2px solid var(--accent); }
.fact:first-child { border-left-color: var(--brick); }
.fact-n {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.fact-l { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* ------------------------------------------------------------ why rows */
.why-row { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.why-row:first-child { border-top: none; padding-top: 0; }
.why-row svg { flex-shrink: 0; margin-top: 3px; }
.why-row h3 { font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.why-row p { font-size: 14.5px; line-height: 1.6; color: #C7CEDC; margin: 0; }

/* ---------------------------------------------------------------- ISO */
.iso-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); margin-top: 26px; }
.iso-card { background: var(--cream-2); padding: 22px 20px; }
.iso-code { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; color: var(--brick); }
.iso-desc { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }

/* ------------------------------------------------------------- clients */
.client-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.client-card { background: var(--cream); padding: 30px 24px; transition: background 0.24s var(--ease-io), transform 0.26s var(--ease-out); }
.client-card:hover { background: var(--cream-2); transform: translateY(-4px); }
.client-name { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.client-desc { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* --------------------------------------------------------- spec figure */
.spec-figure {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--brick);
  margin-bottom: 14px;
}
.spec-figure.on-dark { color: var(--accent); }
.section-navy .spec-row span:first-child { color: #fff; }
.section-navy .step p { color: #C7CEDC; }
.section-navy .step { border-top-color: rgba(255, 255, 255, 0.25); }
.section-navy .step.first { border-top-color: var(--accent); }

/* ------------------------------------------------------------ timeline */
.timeline { display: flex; flex-direction: column; }
.tl-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--brick);
}
.tl-body h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.tl-body ul { margin: 0; padding-left: 18px; }
.tl-body li { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ---------------------------------------------------------------- team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.team-card { background: var(--cream-2); display: flex; flex-direction: column; transition: transform 0.26s var(--ease-out); }
.team-card:hover { transform: translateY(-4px); }
.team-photo { overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-deep); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 0.9s var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-monogram {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(237, 229, 0, 0.10) 0%, rgba(237, 229, 0, 0) 55%),
    var(--navy-deep);
  position: relative;
}
.team-monogram::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.team-monogram span {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 68px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.92;
}
.team-info { padding: 28px 28px 32px; }
.team-info h3 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.team-role { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.07em; color: var(--brick); margin-bottom: 16px; }
.team-info ul { margin: 0; padding-left: 17px; }
.team-info li { font-size: 14px; color: var(--muted); line-height: 1.65; }
.team-note { margin: 36px 0 0; font-size: 15px; line-height: 1.7; color: var(--body); max-width: 860px; }

.footer-iso { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .factstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .client-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iso-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: 110px minmax(0, 1fr); gap: 24px; }
  .tl-year { font-size: 32px; }
}

@media (max-width: 760px) {
  .factstrip { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 40px var(--gutter); }
  .client-row, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; }
  .team-photo { aspect-ratio: 3 / 2; }
  .team-monogram span { font-size: 54px; }
}
