/* =====================================================================
   TOVIC FIRE  —  "Mission Control"  design system
   Cinematic dark, single rationed crimson accent, instrument-grade chrome.
   Static HTML/CSS/JS  ·  GSAP + Lenis
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* neutrals (off-black, never #000) */
  --canvas:      #0A0A0B;
  --canvas-2:    #0D0F12;
  --surface:     #14171C;
  --surface-2:   #1A1E25;
  --hairline:    rgba(244,244,247,.10);
  --hairline-2:  rgba(244,244,247,.06);

  /* steel support tones (neutrals, NOT a second accent) */
  --steel:       #5A626E;
  --steel-dim:   #383F49;

  /* text */
  --text:        #F2F2F4;   /* warm off-white, backlit-glass */
  --text-dim:    #A7ADB7;
  --text-mute:   #6B7079;

  /* the SOLE accent — Signal Crimson, rationed like an alarm LED */
  --accent:      #E0241B;
  --accent-deep: #A8120B;
  --accent-soft: rgba(224,36,27,.16);
  --accent-line: rgba(224,36,27,.55);

  /* motivated alarm-state vars (interpolated on scroll) */
  --bg:          var(--canvas);
  --glow:        rgba(224,36,27,0);

  /* type */
  --display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --sans: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* scale */
  --step-display: clamp(2.7rem, 7.4vw, 6rem);
  --step-h2:      clamp(1.7rem, 3.6vw, 2.9rem);
  --step-h3:      clamp(1.2rem, 2vw, 1.55rem);
  --step-body:    1.0625rem;
  --step-cap:     .78rem;

  /* rhythm */
  --pad-x: clamp(1.25rem, 5vw, 6.5rem);
  --pad-y: clamp(5.5rem, 13vh, 11rem);
  --maxw: 1320px;
  --radius: 14px;
  --radius-sm: 9px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);

  --z-rail: 40;
  --z-nav: 60;
  --z-overlay: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01";
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--accent); color: #fff; }

/* a faint sitewide blueprint field, motivated: a drafting board */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    linear-gradient(var(--hairline-2) 1px, transparent 1px) 0 0 / 100% 80px,
    linear-gradient(90deg, var(--hairline-2) 1px, transparent 1px) 0 0 / 80px 100%;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
/* motivated alarm glow layer */
body::after {
  content: "";
  position: fixed; inset: 0;
  background: radial-gradient(80% 60% at 50% 60%, var(--glow), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: background .4s linear;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { position: relative; z-index: 2; padding-block: var(--pad-y); }
.section--tight { padding-block: clamp(3.5rem, 8vh, 6rem); }
.hairline { height: 1px; background: var(--hairline); border: 0; }

/* eyebrow / mono caption — used sparingly (anti eyebrow-spam) */
.kicker {
  font-family: var(--mono);
  font-size: var(--step-cap);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
}

/* headings */
h1, h2, h3, h4, .display, .h-section, .h3 { font-family: var(--display); font-weight: 600; }
.display {
  font-size: var(--step-display);
  line-height: .96;
  letter-spacing: -.02em;
  font-weight: 600;
}
h2.h-section, .h-section {
  font-size: var(--step-h2);
  line-height: 1.02;
  letter-spacing: -.018em;
  font-weight: 600;
}
.h3 { font-size: var(--step-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.lead { color: var(--text-dim); max-width: 56ch; font-size: clamp(1.0625rem, 1.4vw, 1.2rem); }
.muted { color: var(--text-mute); }
.accent { color: var(--accent); }

/* line-mask reveal primitive (CSS-driven, GSAP-independent) */
.reveal-line { display: block; overflow: hidden; padding-block: .04em; }
.reveal-line > span { display: block; transform: translateY(110%); transition: transform 1s var(--ease); }
.is-in .reveal-line > span,
.is-ready .hero .reveal-line > span { transform: none; }
.reveal-line:nth-child(2) > span { transition-delay: .09s; }
.reveal-line:nth-child(3) > span { transition-delay: .18s; }

/* generic fade-up (IntersectionObserver / ScrollTrigger) */
.fade-up { opacity: 0; transform: translateY(26px); }
.is-in .fade-up, .fade-up.is-in { opacity: 1; transform: none; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  --bw: 1px;
  position: relative;
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em;
  border-radius: 100px;
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: -.005em;
  line-height: 1;
  transition: transform .5s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(.975); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #f23a31; }
.btn--ghost { border: 1px solid var(--hairline); color: var(--text); }
.btn--ghost:hover { border-color: var(--steel); background: rgba(255,255,255,.03); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1rem; }

/* magnetic wrapper sets translate via JS quickTo */
.magnetic { display: inline-block; }

/* link with animated underline */
.tlink { position: relative; color: var(--text-dim); transition: color .3s; }
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.tlink:hover { color: var(--text); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* =====================================================================
   Scroll progress rail + section HUD
   ===================================================================== */
.rail {
  position: fixed; top: 0; right: 0; width: 1px; height: 100vh;
  background: var(--hairline); z-index: var(--z-rail); pointer-events: none;
}
.rail__fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(var(--accent), var(--accent-deep));
  box-shadow: 0 0 12px var(--accent-soft);
}
.hud {
  position: fixed; right: 18px; bottom: 94px; z-index: var(--z-rail);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  color: var(--steel); text-transform: uppercase;
  display: flex; align-items: center; gap: .55rem; pointer-events: none;
  text-align: right;
}
.hud .led {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.6s var(--ease) infinite;
}
.hud[data-state="armed"] .led { animation-duration: .9s; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.8);} 50% { opacity: 1; transform: scale(1);} }

/* =====================================================================
   Header / Nav  +  Emergency bar
   ===================================================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  background: color-mix(in srgb, var(--canvas) 78%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.topbar.is-hidden { transform: translateY(-100%); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x);
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; letter-spacing: -.01em; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  overflow: hidden; display: block; position: relative;
  background: #fff; box-shadow: 0 0 0 1px var(--hairline); flex: none;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__name b { color: var(--text); font-family: var(--display); font-size: 1.05rem; letter-spacing: -.01em; }
.brand__name span { color: var(--text-mute); font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; display:block; text-transform: uppercase; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav__links a { color: var(--text-dim); font-size: .95rem; transition: color .3s; position: relative; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::before {
  content:""; position:absolute; left:-12px; top:50%; width:5px; height:5px; border-radius:50%;
  background: var(--accent); transform: translateY(-50%);
}
.nav__cta { display: flex; align-items: center; gap: .9rem; }

/* emergency call pill (always reachable) */
.emerg {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6em 1em; border-radius: 100px;
  border: 1px solid var(--accent-line);
  font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--text);
  transition: background .3s, border-color .3s;
}
.emerg:hover { background: var(--accent-soft); }
.emerg .led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 1.5s infinite; }
.emerg b { font-family: var(--sans); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 50%; transform: translateY(-50%);} .burger span:nth-child(3) { bottom: 16px; }
.burger.is-open span:nth-child(1){ top: 50%; transform: translateY(-50%) rotate(45deg);}
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg);}

/* mobile menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: 55;
  background: color-mix(in srgb, var(--canvas) 96%, #000);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--pad-x);
  transform: translateY(-100%); transition: transform .6s var(--ease), visibility .6s;
  pointer-events: none; visibility: hidden;
}
.sheet.is-open { transform: translateY(0); pointer-events: auto; visibility: visible; }
.sheet > a { font-family: var(--display); font-size: clamp(1.9rem, 8vw, 3.2rem); font-weight: 600; letter-spacing: -.02em; padding-block: .45rem; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; }
.sheet > a .idx { font-family: var(--mono); font-size: .85rem; font-weight: 400; color: var(--steel); }
.sheet__foot a { font-size: .85rem; }
.sheet .sheet__foot { margin-top: 2rem; display:flex; flex-direction: column; gap: .4rem; font-family: var(--mono); font-size: .82rem; color: var(--text-dim); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(3rem, 7vh, 6rem); }
.hero__canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 66% 42%;
  filter: brightness(.82) contrast(1.04) saturate(.95);
  transform: scale(1.08);
}
.hero::after { /* bottom + left grade for text legibility */
  content:""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--canvas) 4%, transparent 46%),
    linear-gradient(100deg, var(--canvas) 18%, transparent 62%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__top {
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem;
}
.hero h1 { max-width: 16ch; margin-block: .2rem 1rem; }
.hero .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero__meta {
  margin-top: clamp(2.2rem, 5vh, 3.4rem);
  display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap;
  border-top: 1px solid var(--hairline); padding-top: 1.3rem;
}
.hero__meta .stat b { font-family: var(--mono); font-size: 1.25rem; display: block; letter-spacing: -.02em; }
.hero__meta .stat span { font-size: .8rem; color: var(--text-mute); }

/* =====================================================================
   Marquee (max one per page)
   ===================================================================== */
.marquee { border-block: 1px solid var(--hairline); overflow: hidden; padding-block: 1.1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; }

/* =====================================================================
   Pinned event timeline
   ===================================================================== */
.timeline { position: relative; }
.timeline__pin { min-height: 100svh; display: grid; place-items: center; position: relative; }
.timeline__progress { position: absolute; left: var(--pad-x); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 1.1rem; }
.timeline__progress .node { display: flex; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); transition: color .4s; }
.timeline__progress .node i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--steel-dim); display: inline-block; transition: all .4s; }
.timeline__progress .node.is-active { color: var(--text); }
.timeline__progress .node.is-active i { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent); }
.timeline__stage { text-align: center; max-width: 760px; padding-inline: 1rem; }
.timeline__stage .num { font-family: var(--mono); color: var(--accent); letter-spacing: .2em; font-size: .8rem; }
.timeline__stage h3 { font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1; margin-block: 1rem .8rem; }
.timeline__stage p { color: var(--text-dim); max-width: 46ch; margin-inline: auto; }
.timeline__frames { position: relative; height: clamp(7rem, 11vh, 9rem); margin-top: 1.4rem; }
.timeline__frame { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }

/* =====================================================================
   Deconstruction (self-drawing SVG schematic)
   ===================================================================== */
.decon { position: relative; }
.decon__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.decon__stage { position: relative; aspect-ratio: 4/5; max-height: 78vh; margin-inline: auto; width: 100%; }
.decon svg { width: 100%; height: 100%; overflow: visible; }
.decon .ink { fill: none; stroke: var(--steel); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.decon .ink--fine { stroke-width: 1; stroke: var(--steel-dim); }
.decon .ink--live { stroke: var(--accent); }
.decon .fillsteel { fill: var(--surface-2); stroke: var(--steel); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.decon .bulb { fill: var(--accent); }
.decon .leader { stroke: var(--accent-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.decon .label { font-family: var(--mono); fill: var(--text-dim); font-size: 11px; letter-spacing: .04em; }
.decon .label b { fill: var(--text); }
.decon__copy .spec-list { margin-top: 2rem; display: flex; flex-direction: column; }
.decon__copy .spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--hairline); font-family: var(--mono); font-size: .85rem; }
.decon__copy .spec-list li:last-child { border-bottom: 1px solid var(--hairline); }
.decon__copy .spec-list .k { color: var(--text-mute); letter-spacing: .04em; }
.decon__copy .spec-list .v { color: var(--text); }

/* =====================================================================
   Services sticky stack
   ===================================================================== */
.stack { position: relative; }
.stack__item { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; }
.stack__card {
  position: relative; overflow: hidden; border-radius: clamp(16px, 2vw, 26px);
  border: 1px solid var(--hairline); background: var(--surface);
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 70vh; isolation: isolate;
}
.stack__media { position: relative; overflow: hidden; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.8) contrast(1.05); transform: scale(1.05); }
.stack__media::after { content:""; position:absolute; inset:0; background: linear-gradient(120deg, transparent, var(--surface) 96%); }
.stack__num { position: absolute; right: 2rem; top: 1rem; font-family: var(--mono); font-size: clamp(5rem, 14vw, 12rem); line-height: 1; color: rgba(255,255,255,.04); font-weight: 700; z-index: 0; pointer-events: none; }
.stack__body { padding: clamp(2rem, 4vw, 4rem); position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.stack__body .kicker { margin-bottom: 1.1rem; }
.stack__body h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
.stack__body p { color: var(--text-dim); margin-top: 1rem; max-width: 42ch; }
.stack__tags { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.stack__tags li { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--hairline); padding: .45em .8em; border-radius: 100px; }

/* =====================================================================
   Divisions — cinematic curtain-reveal panels (replaces sticky-stack)
   ===================================================================== */
.divisions { position: relative; }
.division-item { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; padding-block: clamp(.5rem, 2vh, 1.4rem); }
.division {
  position: relative; width: 100%; min-height: clamp(420px, 74vh, 720px);
  border-radius: clamp(16px, 2vw, 26px); overflow: hidden;
  border: 1px solid var(--hairline);
  display: flex; align-items: flex-end; isolation: isolate;
  transform-origin: center center; will-change: transform, opacity;
}
.division__media { position: absolute; inset: 0; z-index: 0; }
.division__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.56) saturate(.82) contrast(1.06); transform: scale(1.12); will-change: transform; }
.division::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, var(--canvas) 4%, rgba(10,10,11,.35) 46%, transparent 78%),
              linear-gradient(105deg, rgba(10,10,11,.78), transparent 58%);
}
.division__num {
  position: absolute; right: clamp(1.4rem, 4vw, 3.2rem); top: clamp(1.2rem, 3vw, 2.6rem); z-index: 2;
  font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 8vw, 7rem); line-height: 1;
  color: rgba(255,255,255,.09);
}
.division__body { position: relative; z-index: 2; padding: clamp(1.8rem, 4vw, 3.6rem); max-width: 660px; }
.division__body h3 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
.division__body p { color: var(--text-dim); margin-top: .9rem; max-width: 46ch; }
.division__tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.division__tags li { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--hairline); padding: .45em .85em; border-radius: 100px; background: rgba(10,10,11,.4); }

/* =====================================================================
   Full-bleed parallax image band
   ===================================================================== */
.imgband { position: relative; height: clamp(48vh, 62vh, 78vh); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.imgband img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; filter: brightness(.58) saturate(.84) contrast(1.06); will-change: transform; z-index: 0; }
.imgband::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--canvas) 3%, transparent 55%), linear-gradient(100deg, rgba(10,10,11,.7), transparent 52%); }
.imgband__cap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(2rem, 5vh, 4rem); }
.imgband__cap h2 { font-size: clamp(1.9rem, 4.5vw, 3.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; max-width: 20ch; }
.imgband__cap p { color: var(--text-dim); margin-top: 1rem; max-width: 48ch; }

/* =====================================================================
   Field work: real-work video + photos
   ===================================================================== */
.fieldwork__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2rem, 4vw, 3rem); }
.fwitem { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 3 / 4; background: var(--surface); }
.fwitem video, .fwitem img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.74) saturate(.86) contrast(1.05); }
.fwitem--video video { filter: brightness(.92) saturate(.96) contrast(1.02); }
.fwitem::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8,8,9,.86), transparent 42%); }
.fwitem figcaption { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 1.1rem 1.2rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .05em; color: var(--text); display: inline-flex; align-items: center; gap: .5rem; }
.fwitem figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.fwmute { position: absolute; top: .9rem; right: .9rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(10,10,11,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--hairline); display: grid; place-items: center; color: #fff; transition: background .3s; }
.fwmute:hover { background: rgba(10,10,11,.75); }
.fwmute svg { width: 18px; height: 18px; }
.fwmute .wave { display: none; }
.fwmute:not(.is-muted) .wave { display: block; }
.fwmute:not(.is-muted) .slash { display: none; }
@media (max-width: 820px) {
  .fieldwork__grid { grid-template-columns: 1fr 1fr; }
  .fwitem--video { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
}
@media (max-width: 480px) {
  .fieldwork__grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .fwitem--video { aspect-ratio: 3 / 4; }
}

/* =====================================================================
   Google reviews treatment
   ===================================================================== */
.reviews__bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.gbadge { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--hairline); border-radius: 100px; padding: .55em 1em; background: var(--surface); }
.gbadge .g { width: 18px; height: 18px; flex: none; }
.gbadge .rate { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars svg { width: 15px; height: 15px; }
.quote__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.quote .gmark { width: 18px; height: 18px; opacity: .9; }

/* ---- Review showcase: summary panel + carousel ---- */
.reviews { margin-top: clamp(2.4rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: stretch; }
.reviews__summary { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.3rem); display: flex; flex-direction: column; gap: .85rem; align-items: flex-start; }
.reviews__label { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.stars--lg svg { width: 27px; height: 27px; }
.reviews__score { display: flex; align-items: baseline; gap: .5rem; }
.reviews__score b { font-family: var(--display); font-size: 2rem; letter-spacing: -.02em; }
.reviews__score span { color: var(--text-mute); font-size: .85rem; font-family: var(--mono); }
.reviews__count { color: var(--text-dim); font-size: .95rem; }
.reviews__count b { color: var(--text); }
.reviews__brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.reviews__brand svg { width: 22px; height: 22px; }
.reviews__summary .btn { margin-top: auto; }

.reviews__viewport { position: relative; min-width: 0; display: flex; flex-direction: column; }
.reviews__track { display: flex; gap: 1.1rem; overflow-x: auto; padding: .3rem .3rem 1rem; margin: -.3rem; scrollbar-width: none; user-select: none; cursor: grab; }
.reviews__track:active { cursor: grabbing; }
.reviews__track::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 clamp(270px, 31%, 360px); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .95rem; transition: border-color .3s, transform .4s var(--ease); }
.rcard:hover { border-color: var(--steel-dim); }
.rcard__head { display: flex; align-items: center; gap: .75rem; }
.rcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .92rem; color: #fff; flex: none; }
.rcard:nth-child(6n+1) .rcard__av { background: #8a3b34; }
.rcard:nth-child(6n+2) .rcard__av { background: #3b5a85; }
.rcard:nth-child(6n+3) .rcard__av { background: #3b7a5a; }
.rcard:nth-child(6n+4) .rcard__av { background: #87632f; }
.rcard:nth-child(6n+5) .rcard__av { background: #5a4a78; }
.rcard:nth-child(6n+6) .rcard__av { background: #44696a; }
.rcard__who { flex: 1; min-width: 0; }
.rcard__who b { display: block; font-size: .97rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard__who span { font-size: .74rem; color: var(--text-mute); }
.rcard__g { width: 20px; height: 20px; flex: none; }
.rcard__rating { display: flex; align-items: center; gap: .5rem; }
.rcard__rating .stars svg { width: 16px; height: 16px; }
.rcard__verified { width: 16px; height: 16px; flex: none; }
.rcard__text { color: var(--text-dim); font-size: .95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rcard.is-expanded .rcard__text { -webkit-line-clamp: unset; line-clamp: unset; }
.rcard__more { align-self: flex-start; font-family: var(--mono); font-size: .74rem; color: var(--accent); letter-spacing: .04em; }
.rcard__more:hover { text-decoration: underline; }
.reviews__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.reviews__arrows { display: flex; gap: .6rem; flex: none; }
.reviews__dots { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rdot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel-dim); border: 0; padding: 0; cursor: pointer; transition: background .3s var(--ease), width .35s var(--ease); }
.rdot:hover { background: var(--steel); }
.rdot.is-active { background: var(--accent); width: 22px; border-radius: 5px; }
.rbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline); display: grid; place-items: center; font-size: 1.5rem; line-height: 1; color: var(--text); transition: background .3s, border-color .3s, transform .3s, opacity .3s; }
.rbtn:hover { background: var(--surface-2); border-color: var(--steel); }
.rbtn:active { transform: scale(.93); }
.rbtn:disabled { opacity: .3; cursor: default; }

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
  .reviews__summary { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
  .reviews__summary .reviews__label { width: 100%; }
  .reviews__summary .btn { margin: 0 0 0 auto; }
  .rcard { flex-basis: 84%; }
}

/* =====================================================================
   Showroom — touch fallback (native swipe)
   ===================================================================== */
/* Touch / reduced-motion: native horizontal swipe instead of pinned scroll-jack */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .showroom { overflow: visible; }
  .showroom__pin { height: auto; display: block; padding-block: clamp(3.5rem, 8vh, 6rem); }
  .showroom__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .showroom__track::-webkit-scrollbar { display: none; }
  .cap { scroll-snap-align: center; flex-basis: 80vw; height: 56vh; }
}

/* =====================================================================
   Capabilities showroom (horizontal scroll-jack)
   ===================================================================== */
.showroom { position: relative; overflow: hidden; }
.showroom__pin { height: 100svh; display: flex; align-items: center; }
.showroom__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--pad-x); will-change: transform; }
.cap {
  position: relative; flex: 0 0 clamp(280px, 32vw, 440px); height: 64vh;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--hairline);
  background: var(--surface); transition: opacity .5s var(--ease);
}
.cap img { position: absolute; inset: 0; width: 100%; height: 110%; object-fit: cover; filter: brightness(.6) saturate(.78); will-change: transform; }
.cap__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,.92) 8%, transparent 60%); }
.cap__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; z-index: 2; }
.cap__idx { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--accent); }
.cap__body h3 { font-size: 1.35rem; font-weight: 600; margin-top: .4rem; letter-spacing: -.01em; }
.cap__body p { color: var(--text-dim); font-size: .9rem; margin-top: .35rem; }
.showroom__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; }
.showroom__hint { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); display: flex; align-items: center; gap: .6rem; }

/* =====================================================================
   By the numbers
   ===================================================================== */
.stats { background: var(--canvas-2); border-block: 1px solid var(--hairline); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__cell { padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1rem,2vw,2rem); border-left: 1px solid var(--hairline); }
.stats__cell:first-child { border-left: 0; }
.stats__cell .figure { font-family: var(--mono); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .12em; }
.stats__cell .figure .u { color: var(--accent); font-size: .42em; }
.stats__cell .lbl { margin-top: .9rem; font-size: .9rem; color: var(--text-dim); }
.stats__cell .sub { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-top: .35rem; }

/* =====================================================================
   When seconds matter (alarm-state beat)
   ===================================================================== */
.seconds { position: relative; min-height: 96svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.seconds__canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9; }
.seconds__media { position: absolute; inset: 0; z-index: 0; }
.seconds__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4) saturate(.7) contrast(1.1); }
.seconds::after { content:""; position:absolute; inset:0; z-index:1; background: radial-gradient(70% 60% at 30% 50%, rgba(168,18,11,.28), transparent 60%), linear-gradient(to right, var(--canvas) 6%, transparent 70%); }
.seconds__inner { position: relative; z-index: 3; max-width: 720px; }
.seconds h2 { font-size: clamp(2.3rem, 6.5vw, 5rem); line-height: .98; font-weight: 600; letter-spacing: -.025em; }
.seconds .status-bar { display: inline-flex; align-items: center; gap: .7rem; padding: .5em .9em; border-radius: 100px; border: 1px solid var(--accent-line); font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 1.4rem; }
.seconds .status-bar .led { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1s infinite; }

/* =====================================================================
   Trust layer
   ===================================================================== */
.trust__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3.4rem; }
.creds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.creds .cred { background: var(--canvas); padding: 1.8rem 1rem; display: grid; place-items: center; gap: .6rem; text-align: center; transition: background .4s; }
.creds .cred:hover { background: var(--surface); }
.creds .cred b { font-family: var(--mono); letter-spacing: .06em; font-size: 1.05rem; }
.creds .cred span { font-size: .72rem; color: var(--text-mute); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3.4rem; }
.quote { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.8rem; background: var(--surface); display: flex; flex-direction: column; gap: 1.2rem; }
.quote p { font-size: 1.02rem; color: var(--text); }
.quote .by { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote .by .av { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--hairline); display: grid; place-items: center; font-family: var(--mono); color: var(--accent); font-size: .85rem; }
.quote .by .who b { display: block; font-size: .92rem; }
.quote .by .who span { font-size: .78rem; color: var(--text-mute); }

/* =====================================================================
   Map / coverage
   ===================================================================== */
.coverage__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem,3vw,3rem); align-items: stretch; }
.coverage__list { columns: 2; column-gap: 1.5rem; margin-top: 1.8rem; }
.coverage__list li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid var(--hairline); font-size: .95rem; color: var(--text-dim); display: flex; align-items: center; gap: .6rem; }
.coverage__list li::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .8; }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); min-height: 420px; background: var(--surface); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) brightness(.9) contrast(.95) grayscale(.2); }
.map-frame::after { content:""; position:absolute; inset:0; pointer-events:none; box-shadow: inset 0 0 90px rgba(8,8,9,.7); }
.map-pin { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%,-50%); pointer-events: none; }
.map-pin .ring { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-soft); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0%{ box-shadow: 0 0 0 0 rgba(224,36,27,.5);} 100%{ box-shadow: 0 0 0 34px rgba(224,36,27,0);} }

/* =====================================================================
   CTA band + Footer
   ===================================================================== */
.cta-band { text-align: center; position: relative; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.025em; line-height: 1; max-width: 18ch; margin-inline: auto; }
.cta-band .lead { margin: 1.4rem auto 2.4rem; }

.footer { border-top: 1px solid var(--hairline); background: var(--canvas-2); position: relative; z-index: 2; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(3rem, 6vh, 5rem); }
.footer h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 1.2rem; }
.footer ul { display: flex; flex-direction: column; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--text-dim); font-size: .95rem; transition: color .3s; }
.footer a:hover { color: var(--text); }
.footer__brand p { color: var(--text-dim); max-width: 34ch; margin-top: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.6rem; border-top: 1px solid var(--hairline); font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--text-mute); flex-wrap: wrap; }

/* social icon links */
.social { display: inline-flex; align-items: center; gap: .55rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hairline); display: grid; place-items: center; color: var(--text-dim); transition: color .3s, border-color .3s, background .3s, transform .35s var(--ease); }
.social a:hover { color: #fff; border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__bottom a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.footer__bottom a:hover { color: #fff; }

/* floating WhatsApp button */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 85;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  transition: transform .35s var(--ease), box-shadow .35s;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab:active { transform: scale(.96); }
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 10px 26px rgba(0,0,0,.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }
@media (max-width: 760px) {
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-fab svg { width: 27px; height: 27px; }
}

/* =====================================================================
   Forms
   ===================================================================== */
.form { display: grid; gap: 1.3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: flex; flex-direction: column; gap: .5rem; position: relative; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 10px;
  padding: .9em 1em; color: var(--text); font: inherit; font-size: .98rem; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--accent); }
.field .err { font-size: .78rem; color: var(--accent); font-family: var(--mono); min-height: 0; opacity: 0; transform: translateY(-4px); transition: .25s; }
.field.is-error .err { opacity: 1; transform: none; }
.form__note { font-size: .82rem; color: var(--text-mute); font-family: var(--mono); }
.form__status { font-family: var(--mono); font-size: .85rem; padding: .9em 1.1em; border-radius: 10px; border: 1px solid var(--hairline); display: none; }
.form__status.is-ok { display: block; border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }
.form__status.is-bad { display: block; border-color: var(--accent); color: var(--text); }

/* =====================================================================
   Page hero (interior pages)
   ===================================================================== */
.phero { position: relative; padding-top: clamp(8rem, 18vh, 12rem); padding-bottom: clamp(2.5rem, 6vh, 5rem); overflow: hidden; }
.phero h1 { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 600; letter-spacing: -.025em; line-height: .98; max-width: 18ch; }
.phero .lead { margin-top: 1.6rem; }
.phero__media { margin-top: clamp(2.5rem,5vw,4rem); border-radius: clamp(16px,2vw,26px); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 21/9; position: relative; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.66) saturate(.8) contrast(1.06); transform: scale(1.06); }
.phero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, var(--canvas), transparent 55%); }

/* generic two-col editorial */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.editorial .colspan { grid-column: 1 / -1; }

/* value cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.8rem; background: var(--surface); transition: border-color .4s, transform .5s var(--ease); }
.card:hover { border-color: var(--steel-dim); transform: translateY(-3px); }
.card .ci { font-family: var(--mono); color: var(--accent); font-size: .8rem; letter-spacing: .14em; }
.card h3 { margin-block: 1rem .6rem; }
.card p { color: var(--text-dim); font-size: .96rem; }

/* process stepper */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem,3vw,3rem); padding-block: clamp(1.6rem,3vw,2.6rem); border-top: 1px solid var(--hairline); align-items: baseline; }
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step .sn { counter-increment: s; font-family: var(--mono); color: var(--accent); font-size: .9rem; letter-spacing: .1em; }
.step .sn::before { content: counter(s, decimal-leading-zero); }
.step h3 { font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 600; letter-spacing: -.02em; }
.step p { color: var(--text-dim); margin-top: .6rem; max-width: 60ch; }

/* services detail rows */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: clamp(3rem,7vh,6rem); border-top: 1px solid var(--hairline); }
.srow:nth-child(even) .srow__media { order: -1; }
.srow__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 4/3; position: relative; }
.srow__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.82) contrast(1.05); transform: scale(1.04); transition: transform 1.2s var(--ease); }
.srow:hover .srow__media img { transform: scale(1.1); }
.srow ul.feat { margin-top: 1.4rem; display: grid; gap: .7rem; }
.srow ul.feat li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-dim); font-size: .98rem; }
.srow ul.feat li::before { content: "+"; color: var(--accent); font-family: var(--mono); }

/* =====================================================================
   Reduced motion
   ===================================================================== */
/* Touch devices: remove the animated canvas and fixed full-viewport background
   layers. They get promoted to GPU layers that real phones rasterize at reduced
   resolution, blurring the hero text (looks fine in desktop devtools, broken on a phone). */
@media (hover: none), (pointer: coarse) {
  .hero__canvas, .seconds__canvas { display: none !important; }
  .hero__media img { transform: none; }
  body::before, body::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-line > span { transform: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none !important; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .stack__card { grid-template-columns: 1fr; }
  .stack__media { min-height: 240px; }
  .decon__grid, .coverage__grid, .editorial, .srow, .trust__head { grid-template-columns: 1fr; }
  .srow:nth-child(even) .srow__media { order: 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__cell:nth-child(3) { border-left: 0; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .quotes, .cards { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav { height: 62px; }
  .nav__cta { gap: .6rem; }
  .nav__cta .emerg b { display: none; }
  .emerg { font-size: .74rem; padding: .72em 1em; gap: .45rem; white-space: nowrap; min-height: 40px; }
  .brand__name span { display: none; }
  .brand__mark { width: 32px; height: 32px; }
  .burger { display: block; }
  .timeline__progress { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .coverage__list { columns: 1; }
  .hud { display: none; }
  .hero__meta .stat b { font-size: 1.1rem; }
}
