/* ============================================================
   Ameen Nabi — Financial Advisory
   Dark, quiet, premium. Motion is layered on top of a fully
   visible baseline: every animated state's DEFAULT is its END
   state, and `html.motion-ready` opts into the start state.
   If JS never runs, or the page is in a hidden tab, or the user
   prefers reduced motion, the site simply renders finished.
   ============================================================ */

/* ---------- Tokens ----------
   Momentum's identity colours, read off momentum.co.za: red #DE2329
   (their dominant accent), navy #001950 / #003366 secondary. The page
   ground is a desaturated near-black navy so the saturated Momentum
   blues and reds stay legible on top of video.

   Two accents, strictly divided so they never fight:
     RED  = action and live state (CTAs, active step, focus)
     GOLD = craft detail (eyebrows, hairlines, indices, type accents)
   ---------------------------------------------------------------- */
:root {
  /* Surfaces, darkest to lightest */
  --ink-900: #04070F;
  --ink-850: #070D1C;
  --ink-800: #0B1428;
  --ink-700: #10203F;

  /* Momentum secondary navies */
  --navy:      #001950;
  --navy-lit:  #003366;

  /* Momentum primary — reserved for action */
  --red:      #DE2329;
  --red-lit:  #FF3A30;

  /* Retained accent — craft detail */
  --gold:      #CDA349;
  --gold-lit:  #E4C579;
  --gold-pale: #F0DCA8;

  /* Primary call-to-action. Set to Momentum red because red is the
     brand's action colour; swap these two lines to --gold / --gold-lit
     if you'd rather the CTAs stay gold. Nothing else needs to change. */
  --cta:     var(--red);
  --cta-lit: var(--red-lit);
  --cta-fg:  #FFFFFF;

  /* Foreground. Pure white carries the headlines and the intro so the
     page has a bright note against the navy; body copy stays warm
     off-white, which is easier to read at length. */
  --white:     #FFFFFF;
  --fg:        #F4F1EA;
  --fg-soft:   rgba(244, 241, 234, 0.66);
  /* 0.56, not 0.42: at 0.42 the form labels, consent text and hero
     assurance line measured ~3.7:1 against their backgrounds, under the
     4.5:1 WCAG AA minimum for text at these sizes. */
  --fg-faint:  rgba(244, 241, 234, 0.56);
  --hair:      rgba(244, 241, 234, 0.10);
  --hair-lit:  rgba(244, 241, 234, 0.18);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --r: 14px;
  --r-sm: 10px;

  /* Apple-ish easing for the few non-spring transitions */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink-900);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--fg-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(205, 163, 73, 0.28); color: var(--fg); }

:focus-visible {
  outline: 2px solid var(--gold-lit);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Typography ----------
   Tracking and leading are size-specific: large display type gets
   negative tracking and tight leading; body copy sits near zero. */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--white);
  margin: 0 0 0.44em;
  font-optical-sizing: auto;
}

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 0.34em;
}

.display-sm,
h2 {
  font-size: clamp(1.95rem, 3.7vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--sans);
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.006em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--fg); text-decoration: none; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5em;
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.62;
  color: var(--fg-soft);
  max-width: 56ch;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

section { position: relative; }

/* ============================================================
   INTRO SEQUENCE
   Hidden unless an inline head script adds `.intro-active` before
   first paint. No script, reduced motion, or a repeat visit in the
   same session → the overlay never displays and the site loads
   straight to the hero.
   ============================================================ */
.intro { display: none; }

.intro-active .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink-900);
  overflow: hidden;
}
.intro-active body { overflow: hidden; }

/* The white note the palette was missing: a bright sheet that carries
   the brand moment, then wipes away to reveal the dark hero. */
.intro-sheet {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(0, 51, 102, 0.5), transparent 62%),
    radial-gradient(80% 60% at 50% 100%, rgba(222, 35, 41, 0.16), transparent 70%),
    var(--ink-900);
}

.intro-stages {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding-inline: var(--gut);
  min-height: 260px;
}
.intro-stage {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}
.intro-stage.is-on { opacity: 1; visibility: visible; }

/* --- Stage 1: the name --- */
.intro-mark {
  width: 54px; height: 54px;
  color: var(--gold);
  fill: none;
  margin: 0 auto 1.7rem;
  display: block;
  overflow: visible;
}
/* The monogram writes itself: A's diagonal, the shared stem, the
   crossbar, then N — the order a hand would draw it. */
.intro-mark path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.intro-stage.is-on .intro-mark path {
  animation: drawStroke 0.5s var(--ease) both;
}
.intro-stage.is-on .intro-mark path:nth-child(1) { animation-delay: 0.05s; }
.intro-stage.is-on .intro-mark path:nth-child(2) { animation-delay: 0.28s; }
.intro-stage.is-on .intro-mark path:nth-child(3) { animation-delay: 0.48s; }
.intro-stage.is-on .intro-mark path:nth-child(4) { animation-delay: 0.62s; }
.intro-stage.is-on .intro-mark path:nth-child(5) { animation-delay: 0.82s; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }

.intro-name {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0;
}
.intro-name .word > span { display: inline-block; }
.intro-stage.is-on .intro-name .word > span { animation: wordUp 1.05s var(--ease) both; }
.intro-stage.is-on .intro-name .word:nth-child(2) > span { animation-delay: 0.09s; }
@keyframes wordUp {
  0%   { transform: translate3d(0, 110%, 0); }
  100% { transform: none; }
}

.intro-role {
  margin: 1.5rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
}
.intro-stage.is-on .intro-role { animation: fadeUp 0.9s var(--ease) 0.5s both; }

/* --- Stage 2: the quote --- */
.intro-quote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.4vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
  color: var(--white);
  max-width: 19ch;
  margin: 0 auto;
  text-wrap: balance;
}
.intro-quote .word { opacity: 0; display: inline-block; }
.intro-stage.is-on .intro-quote .word { animation: fadeUp 0.85s var(--ease) both; }

.intro-attr {
  margin: 1.7rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
}
.intro-stage.is-on .intro-attr { animation: fadeUp 0.8s var(--ease) 0.85s both; }

@keyframes fadeUp {
  0%   { opacity: 0; transform: translate3d(0, 14px, 0); }
  100% { opacity: 1; transform: none; }
}

/* Loading rule — tracks real asset progress, not a fake timer */
.intro-rule {
  position: absolute;
  left: 50%;
  bottom: clamp(52px, 9vh, 92px);
  transform: translateX(-50%);
  width: min(220px, 44vw);
  height: 1px;
  background: var(--hair);
  z-index: 2;
}
.intro-rule span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--white));
  transition: transform 0.5s var(--ease);
}

.intro-skip {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 3;
  padding: 0.6em 1.2em;
  border: 1px solid var(--hair-lit);
  border-radius: 100px;
  background: transparent;
  color: var(--fg-faint);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.intro-skip:hover { color: var(--white); border-color: var(--white); }

/* Exit: a white flash, then the curtain lifts off the hero */
.intro.is-leaving .intro-sheet {
  animation: sheetFlash 0.9s var(--ease) both;
}
@keyframes sheetFlash {
  0%   { background-color: transparent; }
  22%  { background-color: rgba(255, 255, 255, 0.95); }
  100% { background-color: transparent; }
}
.intro.is-leaving {
  animation: curtain 1.05s var(--ease) 0.24s both;
}
@keyframes curtain {
  0%   { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); }
}
.intro.is-done { display: none !important; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 90;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red), var(--gold) 62%, var(--gold-pale));
}

/* ---------- Header ----------
   Translucent material; content scrolls underneath. The blur and
   background deepen only once you've scrolled past the hero lip. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(7, 11, 16, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--hair);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.012em;
  will-change: transform;
}
/* AN monogram. Strokes inherit currentColor, so the mark reverses onto
   any surface by setting `color` alone. */
.brand-mark {
  width: 21px; height: 21px;
  flex: none;
  color: var(--gold);
  fill: none;
  overflow: visible;
  transition: color 0.4s var(--ease-out), transform 0.6s var(--ease);
}
.brand:hover .brand-mark { color: var(--gold-lit); transform: translateY(-1px) scale(1.06); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav > a:not(.btn) {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-soft);
  padding: 4px 0;
  transition: color 0.25s var(--ease-out);
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--fg); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6em;
  background: none;
  border: 1px solid var(--hair-lit);
  border-radius: 100px;
  color: var(--fg);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5em 1em;
  cursor: pointer;
}
.nav-toggle-bars { display: block; width: 14px; }
.nav-toggle-bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle-bars i:first-child { margin-bottom: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.02em 1.9em;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: 0.905rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              box-shadow 0.4s var(--ease);
}
.btn-sm { padding: 0.72em 1.35em; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--cta);
  color: var(--cta-fg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset,
              0 10px 34px -12px rgba(222, 35, 41, 0.65);
}
/* Sheen wipe on hover — a light source moving across a metal surface */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform 0.75s var(--ease);
}
.btn-primary:hover::after { transform: translateX(110%); }
.btn-primary:hover { background: var(--cta-lit); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 18px 46px -14px rgba(255,58,48,.8); }

.btn-quiet {
  color: var(--fg);
  border-color: var(--hair-lit);
  background: rgba(244, 241, 234, 0.02);
}
.btn-quiet:hover { border-color: rgba(244, 241, 234, 0.4); }
.btn-arrow { width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.btn-quiet:hover .btn-arrow { transform: translateY(3px); }

/* Press feedback fires on pointer-down, not on release */
.btn:active { transform: scale(0.975); transition: transform 90ms ease-out; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding: clamp(140px, 20vh, 210px) 0 clamp(96px, 14vh, 150px);
  overflow: hidden;
  background: var(--ink-900);
}

.hero-canvas { position: absolute; inset: 0; pointer-events: none; }

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.mesh-a {
  width: 46vw; height: 46vw; min-width: 400px; min-height: 400px;
  top: -12%; right: -6%;
  background: radial-gradient(circle, rgba(205,163,73,.26) 0%, rgba(205,163,73,0) 68%);
}
.mesh-b {
  width: 40vw; height: 40vw; min-width: 340px; min-height: 340px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, rgba(0,51,102,.55) 0%, rgba(0,51,102,0) 70%);
}
.mesh-c {
  width: 30vw; height: 30vw; min-width: 260px; min-height: 260px;
  top: 34%; left: 42%;
  background: radial-gradient(circle, rgba(222,35,41,.16) 0%, rgba(222,35,41,0) 70%);
}

.hero-art {
  position: absolute;
  top: 50%; right: -12%;
  width: min(76vw, 860px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.9;
  will-change: transform;
}
.art-rings circle { transform-origin: 360px 360px; }
.art-orbit { transform-origin: 360px 360px; }
.art-nodes circle { fill: var(--gold-pale); }
.art-path { stroke-linejoin: round; }

/* Fine film grain keeps large flat gradients from banding */
.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.038;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 3; }
/* The copy sits over moving footage, so a bright frame can pass behind
   it. A soft shadow holds contrast without reading as a drop shadow. */
.hero-text {
  max-width: 60ch;
  text-shadow: 0 1px 24px rgba(4, 7, 15, 0.85), 0 1px 3px rgba(4, 7, 15, 0.7);
}

/* ---------- Full-bleed hero video ----------
   The source is only 464×832, so covering a desktop viewport upscales
   it ~3×. Rather than fight that, the footage is treated as lit
   atmosphere: scaled up, slightly blurred and desaturated, then buried
   under a heavy scrim. Softness reads as depth of field instead of as
   a low-resolution asset. */
.hero-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: var(--ink-900);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  /* Scale is driven by scroll in JS; this is the resting value. */
  transform: scale(1.06);
  transform-origin: 50% 45%;
  filter: saturate(0.72) contrast(1.08) brightness(0.92) blur(1px);
  will-change: transform;
}

/* Scrim: Momentum navy over the footage, deepening top and bottom so
   the fixed header and the scroll cue both keep their contrast. */
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(4, 7, 15, 0.86) 0%,
      rgba(4, 7, 15, 0.34) 28%,
      rgba(0, 25, 80, 0.30) 60%,
      rgba(4, 7, 15, 0.90) 100%),
    /* Reads the copy column dark enough for text while letting the
       right two-thirds of the footage stay open. */
    linear-gradient(100deg, rgba(4, 7, 15, 0.88) 0%, rgba(4, 7, 15, 0.5) 34%, rgba(4, 7, 15, 0.12) 62%, transparent 82%);
}

/* Light work: a warm key light that follows the pointer across the
   footage, so the hero feels lit rather than flatly overlaid. */
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 40%),
              rgba(205, 163, 73, 0.20) 0%,
              rgba(222, 35, 41, 0.09) 38%,
              transparent 68%);
  transition: opacity 0.7s var(--ease);
}
.hero-spotlight.is-lit { opacity: 1; }

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 170px 44px rgba(4, 7, 15, 0.86);
}

.media-toggle {
  position: absolute;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.5em 0.9em;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 100px;
  background: rgba(7, 11, 16, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fg);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              border-color 0.3s var(--ease-out);
}
.hero:hover .media-toggle,
.media-toggle:focus-visible { opacity: 1; transform: none; }
.media-toggle:hover { border-color: rgba(244, 241, 234, 0.45); }
.media-toggle svg { width: 11px; height: 11px; }
.media-toggle .icon-play { display: none; }
.media-toggle[aria-pressed="true"] .icon-play { display: block; }
.media-toggle[aria-pressed="true"] .icon-pause { display: none; }

.hero-copy {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.5em;
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  list-style: none;
  margin: 3.6em 0 0;
  padding: 2.1em 0 0;
  border-top: 1px solid var(--hair);
  font-size: 0.875rem;
  color: var(--fg-faint);
}
.hero-assurance strong { color: var(--fg); font-weight: 600; }

.scroll-cue {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 54px;
  background: var(--hair-lit);
  overflow: hidden;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Statement ---------- */
.statement {
  padding: clamp(96px, 15vh, 190px) 0;
  background: var(--ink-900);
}
.statement-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.7rem);
  line-height: 1.32;
  letter-spacing: -0.018em;
  max-width: 21ch;
  margin: 0 auto 1.2em;
  text-align: center;
  color: var(--fg);
  text-wrap: balance;
}
/* Words start dim and light up as the block scrolls through view */
.statement-text .word { transition: color 0.5s var(--ease-out); }
.statement-sig {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* ---------- Motion graph ---------- */
.graphs {
  position: relative;
  padding: clamp(80px, 11vh, 150px) 0;
  background: var(--ink-850);
  border-top: 1px solid var(--hair);
  overflow: hidden;
}
.graphs-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  filter: blur(120px);
  background: radial-gradient(circle, rgba(0,51,102,.5) 0%, rgba(0,51,102,0) 68%);
  pointer-events: none;
  will-change: transform;
}
.graphs-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.graphs-copy h2 { max-width: 17ch; }

.graph-stats {
  margin: 2.6rem 0 0;
  display: grid;
  gap: 0;
}
.graph-stats > div {
  padding: 1.05em 0;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em 1em;
  justify-content: space-between;
}
.graph-stats dt {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.graph-stats dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fg-soft);
}
.graph-stats dd span {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--white);
  margin-right: 0.35em;
  font-variant-numeric: tabular-nums;
}

.graph-figure { margin: 0; }
.graph-svg { width: 100%; height: auto; display: block; overflow: visible; }

.graph-grid line { stroke: var(--hair); stroke-width: 1; }
.graph-axis { stroke: var(--hair-lit); stroke-width: 1; }
.graph-bars rect { fill: rgba(0, 51, 102, 0.55); }
.graph-dots circle { fill: var(--white); }
.graph-labels text {
  fill: var(--fg-faint);
  font-family: var(--sans);
  font-size: 12px;
  text-anchor: middle;
}
.graph-labels .graph-axis-title { text-anchor: start; fill: rgba(244,241,234,.3); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* Also a compliance line ("not a projection of returns"), so it holds
   AA contrast too. */
.graph-figure figcaption {
  margin-top: 1.5rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--fg-faint);
  max-width: 52ch;
}

/* ---------- Solutions ---------- */
.solution {
  padding: clamp(80px, 11vh, 150px) 0;
  background: var(--ink-900);
  border-top: 1px solid var(--hair);
}
.solution.alt { background: var(--ink-850); }

.solution-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.solution-head-lead { position: relative; }
.solution-head h2 { margin-bottom: 0; max-width: 18ch; }

.section-index {
  display: block;
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1.6em;
}
.section-icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.section-icon * { vector-effect: non-scaling-stroke; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r);
  border: 1px solid var(--hair);
  background: rgba(244, 241, 234, 0.022);
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease);
}
/* A soft light that follows the pointer across the card */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(222, 35, 41, 0.16) 0%,
              rgba(205, 163, 73, 0.10) 42%,
              transparent 68%);
  transition: opacity 0.45s var(--ease);
}
.card:hover { border-color: var(--hair-lit); background: rgba(244, 241, 234, 0.04); }
.card:hover::before { opacity: 1; }

/* A light sweeping along the top hairline as each card arrives */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-lit), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
}
.motion-ready [data-stagger] > .card.is-in::after {
  animation: sweep 1.5s var(--ease) 0.25s both;
}
@keyframes sweep {
  0%   { transform: scaleX(0); transform-origin: 0 50%; opacity: 1; }
  55%  { transform: scaleX(1); transform-origin: 0 50%; opacity: 1; }
  56%  { transform: scaleX(1); transform-origin: 100% 50%; opacity: 1; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; opacity: 0; }
}

.card-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5em;
}
.card h3 { margin-bottom: 0.55em; }
.card p { font-size: 0.945rem; line-height: 1.62; color: var(--fg-soft); margin: 0; }

/* ---------- Process (sticky scene) ---------- */
.process {
  padding: clamp(80px, 11vh, 150px) 0;
  background: var(--ink-800);
  border-top: 1px solid var(--hair);
}
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}
.process-sticky { position: sticky; top: 122px; }

.process-meter {
  position: relative;
  width: 116px; height: 116px;
  margin-top: 3rem;
}
.process-meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.process-meter circle {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.meter-track { stroke: var(--hair); }
.meter-fill {
  stroke: var(--red);
  filter: drop-shadow(0 0 6px rgba(222, 35, 41, 0.6));
  stroke-dasharray: 326.7;      /* 2πr, r = 52 */
  stroke-dashoffset: 0;          /* full by default; JS drives it */
}
.meter-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--fg);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
/* Generous vertical rhythm here is deliberate: the four steps need
   roughly a viewport of scroll between them so each one gets its own
   moment, rather than all lighting up at once on a tall display. */
.process-steps .step {
  position: relative;
  padding: clamp(32px, 5vw, 68px) 0 clamp(32px, 5vw, 68px) clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--hair);
}
.process-steps .step:last-child { border-bottom: 1px solid var(--hair); }
/* The rail that fills as each step becomes active */
.process-steps .step::before {
  content: "";
  position: absolute;
  left: 0; top: -1px; bottom: -1px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  box-shadow: 0 0 14px rgba(222, 35, 41, 0.55);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.7s var(--ease);
}
.process-steps .step.is-active::before { transform: scaleY(1); }

.step-num {
  position: absolute;
  left: clamp(18px, 2.4vw, 28px);
  top: clamp(32px, 5vw, 68px);
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--gold);
  opacity: 0.5;
  transition: opacity 0.5s var(--ease);
}
.process-steps .step.is-active .step-num { opacity: 1; }

.process-steps h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.014em;
  color: var(--fg-faint);
  margin-bottom: 0.4em;
  transition: color 0.5s var(--ease);
}
.process-steps .step.is-active h3 { color: var(--fg); }
.process-steps p {
  font-size: 0.965rem;
  color: var(--fg-soft);
  max-width: 52ch;
  margin: 0;
  opacity: 0.62;
  transition: opacity 0.5s var(--ease);
}
.process-steps .step.is-active p { opacity: 1; }

/* ---------- Principles ---------- */
.principles {
  padding: clamp(72px, 10vh, 130px) 0;
  background: var(--ink-900);
  border-top: 1px solid var(--hair);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(30px, 4vw, 64px);
}
.principle { border-top: 1px solid var(--hair-lit); padding-top: 1.8rem; }
.principle-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: 0.35em;
  font-variant-numeric: tabular-nums;
}
.principle h3 { margin-bottom: 0.5em; }
.principle p { font-size: 0.945rem; color: var(--fg-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(80px, 11vh, 150px) 0;
  background: var(--ink-850);
  border-top: 1px solid var(--hair);
}
.section-head { max-width: 60ch; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head h2 { max-width: 20ch; }

.faq-list { max-width: 900px; border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  padding: 1.5em 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.3s var(--ease-out);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-lit); }

/* Plus that rotates into a minus */
.faq-list summary i {
  position: relative;
  flex: none;
  width: 15px; height: 15px;
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--gold);
  transition: transform 0.5s var(--ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details[open] summary i::before { transform: rotate(180deg); }

.faq-body { overflow: hidden; }
.faq-body p {
  margin: 0;
  padding-bottom: 1.7em;
  max-width: 66ch;
  font-size: 0.965rem;
  color: var(--fg-soft);
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: clamp(80px, 11vh, 150px) 0;
  background: var(--ink-900);
  border-top: 1px solid var(--hair);
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  top: -22%; left: 50%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(110px);
  background: radial-gradient(circle, rgba(205,163,73,.14) 0%, rgba(205,163,73,0) 68%);
  pointer-events: none;
  will-change: transform;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: start;
}
.contact-intro h2 { max-width: 14ch; }

.contact-detail { margin: 2.6em 0 0; }
.contact-detail > div { padding: 1.1em 0; border-top: 1px solid var(--hair); }
.contact-detail dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5em;
}
.contact-detail dd { margin: 0; font-size: 0.95rem; color: var(--fg-soft); }
.contact-detail a {
  display: inline-block;
  padding-block: 3px;
  color: var(--fg);
  border-bottom: 1px solid var(--hair-lit);
  transition: border-color 0.3s var(--ease-out);
}
.contact-detail a:hover { border-color: var(--gold); }

/* ---------- Form ---------- */
form {
  padding: clamp(26px, 3.4vw, 42px);
  border-radius: var(--r);
  border: 1px solid var(--hair);
  background: rgba(244, 241, 234, 0.028);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.field { margin-bottom: 1.15em; }
.field label {
  display: block;
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-faint);
  margin-bottom: 0.6em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.92em 1em;
  border-radius: var(--r-sm);
  border: 1px solid var(--hair);
  background: rgba(7, 11, 16, 0.5);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23CDA349' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244, 241, 234, 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(7, 11, 16, 0.8);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15em; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  margin: 1.3em 0 1.6em;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--fg-faint);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 0.1em;
  accent-color: var(--gold);
}
/* The whole label toggles the box, so the effective target is the full
   text block, not the 20px square. */
.consent { padding-block: 2px; }
.form-note {
  margin: 1.1em 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-faint);
  transition: color 0.3s var(--ease-out);
}
.form-note.is-error { color: #E8927C; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(60px, 8vh, 96px) 0 36px;
  background: var(--ink-850);
  border-top: 1px solid var(--hair);
  font-size: 0.885rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hair);
}
.footer-brand .brand { margin-bottom: 1.1em; }
.footer-brand p { max-width: 40ch; color: var(--fg-faint); }

.footer-col h3 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.3em;
}
.footer-col .footer-h-spaced { margin-top: 1.8em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.35em; }
/* inline-block + vertical padding lifts these from ~17px to >=24px,
   the WCAG 2.2 minimum target size. Line-height alone doesn't do it. */
.footer-col a {
  display: inline-block;
  padding-block: 4px;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--gold-lit); }

/* The FAIS disclosure is a regulatory requirement, so it is held at
   full AA contrast rather than being greyed into decoration. */
.disclosure {
  margin-top: 36px;
  max-width: 94ch;
  font-size: 0.775rem;
  line-height: 1.72;
  color: var(--fg-faint);
}
.disclosure strong { color: var(--fg-soft); font-weight: 600; }
.disclosure p { margin-bottom: 0.95em; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-size: 0.79rem;
  color: var(--fg-faint);
}

/* Studio credit. Kept in this site's palette rather than Blacksheep's
   ember, so it reads as a signature and not as a second brand — the
   trailing period is the one piece of the wordmark that carries over. */
.credit a {
  display: inline-block;
  padding-block: 4px;
  color: rgba(244, 241, 234, 0.62);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.credit a i { font-style: normal; color: var(--gold); }
.credit a:hover { color: var(--white); border-bottom-color: var(--gold); }

.btn-wa { width: 15px; height: 15px; flex: none; }
.form-note a {
  display: inline-block;
  padding-block: 4px;
  color: var(--fg-soft);
  border-bottom: 1px solid var(--hair-lit);
}
.form-note a:hover { color: var(--white); border-bottom-color: var(--gold); }

/* ============================================================
   MOTION LAYER
   Nothing below hides content unless `html.motion-ready` is set,
   which JS only adds when the page is visible, scripted, and the
   user has not asked for reduced motion.
   ============================================================ */

.motion-ready [data-rise],
.motion-ready [data-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}
.motion-ready [data-rise].is-in,
.motion-ready [data-stagger] > .is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease);
}

/* Word-level entrance for display headings */
.motion-ready [data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; }
.motion-ready [data-split] .word > span {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
}
.motion-ready [data-split].is-in .word > span {
  transform: none;
  transition: transform 1.05s var(--ease);
}

/* Statement copy dims until scrolled through.
   The unlit value is 0.45, not the 0.16 this started at: at 0.16 the
   not-yet-lit words measured 1.45:1, which is unreadable for anyone who
   lands mid-block or can't scroll it. 0.45 clears the 3:1 minimum for
   text this size and the lit/unlit contrast still reads clearly. */
.motion-ready [data-illuminate] .word { color: rgba(244, 241, 234, 0.45); }
.motion-ready [data-illuminate] .word.is-lit { color: var(--white); }

/* Section icons draw themselves in */
.motion-ready [data-draw] { opacity: 0; transform: scale(0.9); }
.motion-ready [data-draw].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}

/* Hero art idles only while the hero is on screen */
.motion-ready .art-rings circle { animation: spin 96s linear infinite; }
.motion-ready .art-rings circle:nth-child(even) { animation-direction: reverse; animation-duration: 128s; }
.motion-ready .art-orbit { animation: spin 44s linear infinite; }
.motion-ready .art-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.motion-ready .hero.is-in .art-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s var(--ease) 0.35s;
}
.motion-ready .art-nodes circle { opacity: 0; }
.motion-ready .hero.is-in .art-nodes circle {
  opacity: 1;
  transition: opacity 0.7s var(--ease);
}
.motion-ready .hero.is-in .art-nodes circle:nth-child(1) { transition-delay: 1.5s; }
.motion-ready .hero.is-in .art-nodes circle:nth-child(2) { transition-delay: 2.05s; }
.motion-ready .hero.is-in .art-nodes circle:nth-child(3) { transition-delay: 2.5s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Motion graph. Default state is fully drawn; the hidden start state
   only applies once motion is on and the figure has been observed. */
.motion-ready [data-graph] .graph-bars rect {
  transform: scaleY(0);
  transform-origin: 50% 300px;
}
.motion-ready [data-graph].is-in .graph-bars rect {
  animation: barUp 1s var(--ease) both;
}
.motion-ready [data-graph] .graph-bars rect:nth-child(1) { animation-delay: .05s }
.motion-ready [data-graph] .graph-bars rect:nth-child(2) { animation-delay: .12s }
.motion-ready [data-graph] .graph-bars rect:nth-child(3) { animation-delay: .19s }
.motion-ready [data-graph] .graph-bars rect:nth-child(4) { animation-delay: .26s }
.motion-ready [data-graph] .graph-bars rect:nth-child(5) { animation-delay: .33s }
.motion-ready [data-graph] .graph-bars rect:nth-child(6) { animation-delay: .40s }
.motion-ready [data-graph] .graph-bars rect:nth-child(7) { animation-delay: .47s }
.motion-ready [data-graph] .graph-bars rect:nth-child(8) { animation-delay: .54s }
@keyframes barUp { to { transform: scaleY(1); } }

.motion-ready [data-graph] .graph-line { stroke-dasharray: 620; stroke-dashoffset: 620; }
.motion-ready [data-graph].is-in .graph-line-early {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.1s var(--ease) 0.5s;
}
.motion-ready [data-graph].is-in .graph-line-late {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.5s var(--ease) 1.1s;
}

.motion-ready [data-graph] .graph-area { opacity: 0; }
.motion-ready [data-graph].is-in .graph-area {
  opacity: 1;
  transition: opacity 1.3s var(--ease) 1.3s;
}

.motion-ready [data-graph] .graph-dots circle { opacity: 0; transform: scale(0); transform-origin: center; }
.motion-ready [data-graph].is-in .graph-dots circle { animation: dotIn .7s var(--ease) both; }
.motion-ready [data-graph].is-in .graph-dots circle:nth-child(1) { animation-delay: 1.55s; }
.motion-ready [data-graph].is-in .graph-dots circle:nth-child(2) { animation-delay: 2.15s; }
@keyframes dotIn {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}
/* The end point keeps a slow pulse so the chart never reads as static */
.motion-ready [data-graph].is-in .graph-dots circle:nth-child(2) {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.75));
}

.motion-ready [data-graph] .graph-grid line { opacity: 0; }
.motion-ready [data-graph].is-in .graph-grid line {
  opacity: 1;
  transition: opacity 0.9s var(--ease);
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-stuck { background: var(--ink-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
  form { background: var(--ink-800); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mesh, .contact-glow, .grain { display: none; }
}

@media (prefers-contrast: more) {
  :root { --hair: rgba(244,241,234,.3); --hair-lit: rgba(244,241,234,.5); --fg-soft: rgba(244,241,234,.9); --fg-faint: rgba(244,241,234,.75); }
  .card, form { background: var(--ink-800); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .graphs-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .process-meter { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  /* Touch devices get no hover, so the pause control must be visible.
     The scrim also deepens, because the footage crops much tighter on
     a narrow viewport and would otherwise crowd the headline. */
  .media-toggle { opacity: 1; transform: none; }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(4, 7, 15, 0.94) 0%,
        rgba(4, 7, 15, 0.76) 30%,
        rgba(0, 25, 80, 0.66) 62%,
        rgba(4, 7, 15, 0.96) 100%);
  }
}

@media (max-width: 900px) {
  .solution-head { grid-template-columns: 1fr; align-items: start; }
  .solution-head h2 { max-width: 22ch; }
  .hero-art { right: -30%; opacity: 0.5; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-header { background: rgba(7, 11, 16, 0.72); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 26px;
    background: rgba(7, 11, 16, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--hair);
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path 0.55s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav > a:not(.btn) { padding: 1em 0; border-bottom: 1px solid var(--hair); font-size: 1rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-assurance { gap: 12px 26px; }
  .statement-text { max-width: 100%; }
  .process-steps .step { padding-left: 42px; }
  .step-num { left: 8px; }
}
