/* ================================================================
   SKILLFLO — cinematic landing
   Warm off-white, cobalt + terracotta silk. Threads becoming one.
   ================================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/PlexMono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/PlexMono-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
/* Poppins — brand wordmark only ("skillflo" lockup) */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FBFAF6;
  --paper-2: #F5F2EC;
  --white: #FFFFFF;
  --ink: #1A1611;
  --ink-70: rgba(26, 22, 17, .84);
  --ink-55: rgba(26, 22, 17, .68);
  --ink-38: rgba(26, 22, 17, .52);
  --hairline: rgba(26, 22, 17, .09);
  --hairline-soft: rgba(26, 22, 17, .06);
  --cobalt: #1E48C2;
  --cobalt-deep: #16368F;
  --coral: #D4694A;
  --lavender: #C8C3E6;
  --blush: #EBC8B9;
  /* skillflo yellow #FEDD00 + its legible sibling for text/accents on light */
  --yellow: #FEDD00;
  --gold: #9A7407;
  /* tonal cobalt ramp — never crosses into purple */
  --grad: linear-gradient(120deg, #16368F 0%, #1E48C2 55%, #4C6BD9 100%);
  /* the two strands: cobalt → lavender/blush overlap → coral */
  --grad-duo: linear-gradient(120deg, #1E48C2 0%, #C8C3E6 46%, #EBC8B9 58%, #D4694A 100%);

  --font-sans: 'General Sans', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'Plex Mono', 'SF Mono', monospace;

  --w-max: 1200px;
  --w-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5.5rem, 9.5vw, 8.5rem);

  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
html.lock { overflow: hidden; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { background: var(--cobalt); color: #fff; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; }

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

/* film grain — barely there */
body::after {
  content: '';
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 60;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--w-wide); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--cobalt);
  opacity: .7;
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-sub {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink-55);
  max-width: 34em;
  text-wrap: pretty;
}

.nda-note {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-38);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 500;
  color: var(--cobalt);
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.textlink > span { min-width: 0; }
.textlink::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.textlink:hover::after { transform: scaleX(1); transform-origin: left; }
.textlink i { font-style: normal; transition: transform .35s var(--ease-out); }
.textlink:hover i { transform: translateX(4px); }
.textlink--mono { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-55); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  white-space: nowrap;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  line-height: 1;
  overflow: hidden;
  transition: color .3s var(--ease-soft), border-color .3s var(--ease-soft),
              box-shadow .45s var(--ease-soft), transform .3s var(--ease-soft);
  will-change: transform;
}
.btn--sm { padding: .72rem 1.25rem; font-size: .875rem; }
.btn--lg { padding: 1.2rem 2.2rem; font-size: 1.05rem; }

.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(26,22,17,.2);
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .45s var(--ease-soft);
}
.btn--primary:hover { box-shadow: 0 14px 34px -12px rgba(30, 72, 194, .55); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: rgba(255,255,255,.6);
  border: 1px solid var(--hairline);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(30,72,194,.45); color: var(--cobalt); }

/* hero CTA — the one committed-cobalt button on the page */
.btn--cobalt {
  background: var(--cobalt);
  box-shadow: 0 10px 28px -14px rgba(30, 72, 194, .6);
}
.btn--cobalt:hover { box-shadow: 0 18px 40px -14px rgba(30, 72, 194, .65); }

.btn__label, .btn__arrow { position: relative; z-index: 1; }
.btn__arrow { transition: transform .35s var(--ease-out); font-family: var(--font-sans); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:hover .btn__arrow--down { transform: translateY(4px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transition: opacity .7s var(--ease-soft), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.no-js .loader { display: none; }
.loader__mark { display: flex; align-items: baseline; gap: .6rem; }
.loader__word {
  display: flex;
  font-family: 'Poppins', 'General Sans', sans-serif;
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink);
}
.loader__word span {
  display: inline-block;
  animation: loaderLetter 0.5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.loader__word span:nth-child(1) { --i: 0 } .loader__word span:nth-child(2) { --i: 1 }
.loader__word span:nth-child(3) { --i: 2 } .loader__word span:nth-child(4) { --i: 3 }
.loader__word span:nth-child(5) { --i: 4 } .loader__word span:nth-child(6) { --i: 5 }
.loader__word span:nth-child(7) { --i: 6 } .loader__word span:nth-child(8) { --i: 7 }
@keyframes loaderLetter {
  from { opacity: 0; transform: translateY(120%); }
  to   { opacity: 1; transform: none; }
}
.loader__bar {
  width: 168px; height: 1px;
  background: var(--hairline);
  overflow: hidden;
}
.loader__bar i {
  display: block; height: 100%; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s linear;
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; z-index: 80; pointer-events: none; }
  .cursor__dot, .cursor__ring {
    position: absolute; top: 0; left: 0;
    border-radius: 50%;
    translate: -50% -50%;
  }
  .cursor__dot { width: 5px; height: 5px; background: var(--ink); }
  .cursor__ring {
    width: 30px; height: 30px;
    border: 1px solid rgba(30, 72, 194, .55);
    transition: width .3s var(--ease-soft), height .3s var(--ease-soft),
                border-color .3s, opacity .3s;
  }
  .cursor.is-hover .cursor__ring {
    width: 48px; height: 48px;
    border-color: rgba(30, 72, 194, .9);
  }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(252, 252, 253, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav__inner {
  max-width: var(--w-wide);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex; align-items: center; gap: 2.5rem;
}
.nav.is-scrolled .nav__inner { padding-block: .8rem; }
.nav__inner, .nav.is-scrolled .nav__inner { transition: padding .4s var(--ease-soft); }

.nav__brand { display: inline-flex; align-items: center; gap: .55rem; }
.nav__mark { height: 25px; width: auto; display: block; }
.nav__word { font-family: 'Poppins', 'General Sans', sans-serif; font-size: 1.34rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.nav__divider { width: 1px; height: 18px; background: var(--hairline); }
.nav__product {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cobalt);
  padding: .25rem .6rem;
  border: 1px solid rgba(30,72,194,.3);
  border-radius: 999px;
}

.nav__links { display: flex; gap: 2rem; margin-inline: auto; }
.nav__links a {
  font-size: .92rem; font-weight: 500; color: var(--ink-70);
  position: relative;
  transition: color .25s;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--cobalt);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 1.4rem; }
.nav__cta-compact { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__inner {
    justify-content: space-between;
    gap: clamp(.5rem, 3vw, 1rem);
    padding: clamp(.7rem, 2.5vw, 1rem) clamp(.75rem, 4vw, 1.25rem);
  }
  .nav.is-scrolled .nav__inner { padding-block: clamp(.6rem, 2vw, .8rem); }
  .nav__brand { min-width: 44px; min-height: 44px; }
  .nav__actions { flex: 0 0 auto; }
  .nav__actions .btn { min-height: 44px; padding-inline: clamp(.9rem, 4vw, 1.25rem); }
}

@media (max-width: 560px) {
  .nav__cta-full {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .nav__cta-compact { display: inline; }

  .footer__col a,
  .footer__base a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .nav__inner {
    gap: 8px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .nav__actions .btn { padding-inline: clamp(.75rem, 4vw, .9rem); }
}

@media (max-width: 340px) { .nav__word { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--paper);
  /* ScrollTrigger writes a pixel height while pinning. Keep the live stage
     variable authoritative so collapsing mobile browser chrome cannot leave
     the pinned scene shorter than the visible screen. */
  height: var(--hero-stage-height, 100dvh) !important;
  max-height: var(--hero-stage-height, 100dvh) !important;
}
.hero__pin {
  position: relative;
  height: 100vh;
  height: 100dvh;
  height: var(--hero-stage-height, 100dvh);
  overflow: clip;
  display: flex; align-items: center; justify-content: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__gl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;            /* video fills the frame like the old canvas cover-draw */
  background: var(--paper);     /* warm base before the poster paints — never a black flash */
  opacity: 0;                   /* the film only appears once scrolling begins */
  will-change: opacity;
}
.hero__veil { position: absolute; pointer-events: none; }
.hero__veil--top {
  inset: 0 0 auto 0; height: 22vh;
  background: linear-gradient(to bottom, rgba(251,250,246,.9), rgba(251,250,246,0));
}
.hero__veil--text {
  inset: 0;
  background:
    linear-gradient(96deg, rgba(251,250,246,.88) 0%, rgba(251,250,246,.55) 42%, rgba(251,250,246,.06) 72%, rgba(251,250,246,0) 100%);
}

.hero__veil--bottom {
  inset: auto 0 0 0; height: 16vh;
  background: linear-gradient(to top, #FFFFFF, rgba(255,255,255,0));
}

.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: left;
  will-change: transform, opacity;
}
.hero__title {
  font-size: clamp(2.3rem, 6.9vw, 7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: clamp(1.6rem, 3.5vh, 2.4rem);
}
.hero__line {
  display: block;
  overflow: hidden;
  margin-bottom: -.14em;
  padding: .04em 0 .18em;
}
.hero__line-inner {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.hero__accent { font-style: normal; color: var(--cobalt); }

.hero__sub {
  font-size: clamp(1.06rem, 1.55vw, 1.34rem);
  color: var(--ink-70);
  max-width: 36em;
  margin-bottom: clamp(2rem, 4.5vh, 3rem);
  text-wrap: pretty;
}

.hero__cta { display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap; }

[data-load-fade] { opacity: 0; transform: translateY(24px); will-change: transform, opacity; }

.hero__foot {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) clamp(1.4rem, 3.5vh, 2.5rem);
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 2rem;
}
.hero__scrollcue { display: flex; align-items: center; gap: .9rem; }
.hero__scrollcue-label {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-38);
}
.hero__progress {
  width: 110px; height: 1px;
  background: var(--hairline);
  display: block; overflow: hidden;
}
.hero__progress i {
  display: block; width: 100%; height: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
}

@media (max-width: 720px) {
  .hero__foot { justify-content: center; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn,
  .finale__cta .btn {
    width: min(100%, 340px);
    justify-content: center;
    white-space: normal;
    line-height: 1.2;
    padding: clamp(.9rem, 4vw, 1.2rem) clamp(1rem, 5vw, 1.5rem);
  }
  .hero__cta .btn__label,
  .finale__cta .btn__label { min-width: 0; text-align: center; }
}

/* Short mobile stages keep the pinned choreography. The copy starts below the
   fixed nav and GSAP pans any overflow before the film/split sequence begins. */
.hero--scroll-content .hero__pin { align-items: flex-start; }
.hero--scroll-content .hero__content {
  padding-top: var(--hero-nav-clearance, 5rem);
  padding-bottom: clamp(1rem, 4vh, 1.5rem);
}
.hero--scroll-content .hero__foot { display: none; }

/* Content-first fallback is reserved for visitors who requested reduced
   motion, or for browsers where the GSAP choreography is unavailable. */
.hero--reflow .hero__pin {
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--hero-stage-height, 100dvh);
  overflow: visible;
  display: block;
  padding: var(--hero-nav-clearance, 5rem) 0 clamp(2.5rem, 7vh, 4.5rem);
}
.hero--reflow {
  height: auto !important;
  max-height: none !important;
}
.hero--reflow .hero__media { overflow: hidden; }
.hero--reflow .hero__content { opacity: 1 !important; transform: none !important; }
.hero--reflow .hero__canvas { opacity: 0 !important; }
.hero--reflow .hero__foot,
.hero--reflow .hero__motions { display: none; }

/* ---------- Hero motions — the two sides come together ---------- */
.hero__motions {
  position: absolute; inset: 0; z-index: 3;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}
.hmotion {
  flex: 1 1 50%;
  height: 100%;
  display: grid; align-items: center;   /* block centered: air splits evenly, no void */
  padding: clamp(1.6rem, 4.5vw, 5rem);
  pointer-events: auto;
  visibility: hidden; /* revealed by the scrub choreography; JS owns the transform */
  will-change: transform;
}
/* two committed fields meeting at the seam: warm yellow paper (Studio, ink
   type) against a full cobalt drench (Platform, paper type) */
.hmotion--studio {
  background: linear-gradient(205deg, #FDF8E1 0%, #FAF0C4 55%, #F5E7A8 100%);
}
.hmotion--products {
  background: linear-gradient(160deg, #16368F 0%, #1E48C2 62%, #2B55CE 100%);
  color: var(--paper);
}
/* hover: the side you're reading leans in */
.hmotion::after {
  content: '';
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s var(--ease-soft);
  pointer-events: none;
}
.hmotion { position: relative; }
.hmotion--products::after {
  background: radial-gradient(90% 80% at 40% 45%, rgba(251, 250, 246, .08), transparent 70%);
}
.hmotion--studio::after {
  background: radial-gradient(90% 80% at 60% 45%, rgba(240, 205, 20, .13), transparent 70%);
}
.hmotion:hover::after { opacity: 1; }
.hmotion:hover .textlink::after { transform: scaleX(1); transform-origin: left; }
.hmotion:hover .textlink i { transform: translateX(4px); }
.hmotion--products:hover .hmotion__rows dt { color: var(--yellow); }
.hmotion--studio:hover .hmotion__rows dt { color: var(--gold); }

/* both halves welded to one baseline: every horizontal rule runs
   continuous across the seam (left "Hire" divider → right "Embed") */

/* the beam becomes the seam — lights up when the sides meet */
.hmotion-seam {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  translate: -50%;
  z-index: 2;
  background: linear-gradient(to bottom,
    rgba(30,72,194,0), var(--cobalt) 18%, #7A8FD9 50%, #F0C81E 82%, rgba(240,200,30,0));
  box-shadow: 0 0 22px rgba(30, 72, 194, .35), 0 0 46px rgba(240, 200, 30, .22);
  visibility: hidden; /* revealed by the scrub */
  will-change: transform, opacity;
}

.hmotion__inner {
  width: 100%;
  max-width: 31rem;
  margin-inline: auto;
  display: grid; gap: 0;             /* rhythm set per-element below, not one flat gap */
  justify-items: start;
}
.hmotion__chip {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cobalt);
}
.hmotion__chip::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.hmotion__chip--coral { color: var(--gold); }
.hmotion__title {
  margin-top: .7rem;                 /* tight: kicker + title are one unit */
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: .95;
  transition: transform .5s var(--ease-out);
}
.hmotion:hover .hmotion__title { transform: translateX(.12em); }
.hmotion__desc {
  margin-top: 1.2rem;
  color: var(--ink-55);
  max-width: 26em;
  line-height: 1.55;
  min-height: 3.1em;                 /* reserve 2 lines so rows align across the seam */
}
.hmotion__rows {
  margin-top: clamp(1.8rem, 3.6vh, 2.6rem);   /* generous break before the lineup */
  width: 100%;
  border-top: 1px solid var(--hairline);
  display: grid;
}
.hmotion__rows > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: 1.05rem;            /* rows carry real mass */
  border-bottom: 1px solid var(--hairline-soft);
}
.hmotion__rows dt { font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; transition: color .3s var(--ease-soft); }
.hmotion__rows dd { color: var(--ink-55); font-size: 1rem; }
.hmotion__inner .textlink { margin-top: clamp(1.5rem, 2.8vh, 2.1rem); }
/* the whole field is the link; the textlink is its visible handle
   (absolute ::before resolves to .hmotion, the nearest positioned ancestor) */
.hmotion .textlink::before { content: ''; position: absolute; inset: 0; }
.textlink--coral { color: var(--gold); }

/* paper type on the cobalt field */
.hmotion--products .hmotion__chip { color: rgba(251, 250, 246, .82); }
.hmotion--products .hmotion__chip::before { background: var(--yellow); }
.hmotion--products .hmotion__desc { color: rgba(251, 250, 246, .78); }
.hmotion--products .hmotion__rows { border-top-color: rgba(251, 250, 246, .28); }
.hmotion--products .hmotion__rows > div { border-bottom-color: rgba(251, 250, 246, .16); }
.hmotion--products .hmotion__rows dd { color: rgba(251, 250, 246, .72); }
.hmotion--products .textlink { color: var(--paper); }

@media (max-width: 860px),
       (pointer: coarse) and (max-width: 960px) and (max-height: 700px) {
  .hero__motions { flex-direction: column; }
  /* each field is EXACTLY half the stage and clips its own overflow —
     the seam sits at 50%, so the boundary must never drift when text
     wraps differently across devices (Android metrics wrap earlier) */
  .hmotion { padding-block: 1.2rem; flex: 0 0 50%; min-height: 0; overflow: clip; }
  /* the fixed nav rides over the pinned stage — keep the top panel's
     kicker out from under it (nav bar is ~63px tall with the CTA) */
  .hmotion--studio { padding-top: 4rem; }
  .hmotion-seam {
    left: 0; right: 0; top: 50%; bottom: auto;
    width: auto; height: 2px;
    translate: 0 -50%;
    background: linear-gradient(to right,
      rgba(30,72,194,0), var(--cobalt) 18%, #7A8FD9 50%, var(--coral) 82%, rgba(212,105,74,0));
  }
  .hmotion__inner { gap: 0; align-content: center; }
  .hmotion__title { font-size: clamp(1.55rem, 5.5vw, 1.9rem); margin-top: .5rem; }
  .hmotion__desc { font-size: .88rem; margin-top: .7rem; min-height: 0; max-width: 32em; }
  .hmotion__rows { margin-top: 1rem; }
  .hmotion__rows > div { padding-block: .38rem; grid-template-columns: 5rem 1fr; gap: .8rem; }
  .hmotion__rows dt, .hmotion__rows dd { font-size: .9rem; }
  .hmotion__inner .textlink { margin-top: .9rem; font-size: .95rem; }

  /* Enlarged text may outgrow a half-stage even on a tall phone. Keep the
     animated reveal and its destinations; the detailed rows repeat below. */
  .hero--compact-panels .hmotion {
    padding-block: 12px;
  }
  .hero--compact-panels .hmotion--studio {
    padding-top: var(--hero-nav-clearance, 64px);
  }
  .hero--compact-panels .hmotion__chip,
  .hero--compact-panels .hmotion__desc,
  .hero--compact-panels .hmotion__rows { display: none; }
  .hero--compact-panels .hmotion__title { margin-top: 0; }
  .hero--compact-panels .hmotion__inner .textlink { margin-top: 8px; }
}
/* Short phones: keep the panel layout stable when browser chrome reduces the
   visual viewport. Pixel-sized rhythm avoids font scaling multiplying every
   spacer; the text itself still respects the visitor's chosen size. */
@media (max-width: 860px) and (max-height: 700px),
       (pointer: coarse) and (max-width: 960px) and (max-height: 700px) {
  .hmotion { padding-block: 12px; }
  .hmotion--studio { padding-top: var(--hero-nav-clearance, 64px); }
  .hmotion__chip, .hmotion__desc { display: none; }
  .hmotion__title { margin-top: 0; }
  .hmotion__rows { margin-top: 8px; }
  .hmotion__rows > div { padding-block: 4px; }
  .hmotion__inner .textlink { margin-top: 8px; }

}
@media (prefers-reduced-motion: reduce) {
  .hero__motions { display: none; }
}

/* ---------- Spine — the strand runs down the page ---------- */
.spine-wrap { position: relative; }
.spine-wrap::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom,
    rgba(30,72,194,.28), rgba(212,105,74,.12) 30%, rgba(212,105,74,.1) 70%, rgba(30,72,194,0));
  transform: translateX(-.5px);
  pointer-events: none;
  z-index: 0;
}
.spine-wrap > * { position: relative; z-index: 1; }
.drip {
  position: absolute;
  left: 50%; top: 0;
  width: 2px; height: clamp(90px, 14vh, 150px);
  translate: -50%;
  background: linear-gradient(to bottom, var(--cobalt), rgba(212,105,74,0));
  transform: scaleY(0); transform-origin: top;
  z-index: 2;
}

/* ---------- Statement ---------- */
.statement {
  padding-block: var(--section);
  background: var(--white);
  border-top: 1px solid var(--hairline-soft);
}
.statement__aside strong { font-weight: 600; color: var(--ink); }
.statement__aside em { font-style: italic; color: var(--cobalt); }
.statement__grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}
.statement__grid > * { min-width: 0; }
.statement__title {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement__title .w { opacity: .26; transition: opacity .3s linear; }
.statement__aside { display: grid; gap: 1.1rem; }
.statement__aside p { color: var(--ink-55); font-size: 1.06rem; }
@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Flow (product rows) ---------- */
.flow { padding-block: var(--section); background: var(--white); }
.flow__domain {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink-38);
  margin-left: .8rem;
  vertical-align: .45em;
  transition: color .3s;
}
.flow__step:hover .flow__domain { color: var(--cobalt); }
.flow__tag {
  display: inline-block;
  margin-left: .8rem;
  padding: .24rem .5rem .2rem;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-38);
  vertical-align: .5em;
}
/* The loop: generated circuit on desktop, honest 2x2 reflow on mobile */
/* The loop — the products close one circuit; the return strand seals it */
.flow__loop {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.flow__loop .eyebrow { margin-bottom: .9rem; }
.flow__loop-title {
  margin: 0 0 clamp(1.8rem, 3.5vw, 2.6rem);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.flow__loop-stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 2rem;
  margin: 0;
  list-style: none;
}
.flow__loop-stations::before {
  content: '';
  position: absolute;
  left: 5px;
  right: calc(25% - 6px);
  top: 0;
  height: 1px;
  background: var(--grad-duo);
}
.flow__loop-stations li { position: relative; padding-right: 1.5rem; }
.flow__loop-stations li:last-child { padding-right: 0; }
.flow__loop-stations li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: calc(-2rem - 4px);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 5px rgba(30, 72, 194, .1);
}
.flow__loop-stations li:nth-child(3)::before { background: var(--coral); box-shadow: 0 0 0 5px rgba(212, 105, 74, .12); }
.flow__loop-stations span { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; color: var(--ink-38); }
.flow__loop-stations b { display: block; margin-top: .5rem; font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; }
.flow__loop-stations small { display: block; margin-top: .3rem; color: var(--ink-55); font-size: .88rem; }
.flow__loop-return {
  display: block;
  width: calc(75% + 10px);
  height: 52px;
  margin-top: 1.2rem;
}
.flow__loop-curve,
.flow__loop-arrow {
  fill: none;
  stroke: url(#loopReturnGrad);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.flow__loop-note {
  max-width: 46em;
  margin-top: 1.2rem;
  color: var(--ink-55);
}
@media (max-width: 900px) {
  .flow__loop-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.9rem 1.5rem; padding-top: 0; }
  .flow__loop-stations::before,
  .flow__loop-stations li::before,
  .flow__loop-return { display: none; }
  .flow__loop-stations li { padding-right: 0; padding-top: 1rem; border-top: 1px solid var(--hairline); }
}

.flow__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 2rem; align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
@media (max-width: 900px) { .flow__head { grid-template-columns: 1fr; } }

.flow__steps { border-top: 1px solid var(--hairline); }
.flow__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(1.9rem, 3.6vw, 3rem);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: background .4s;
}
.flow__step::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 100%; height: 1px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.flow__step:hover::before { transform: scaleX(1); }

.flow__name {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: .6rem;
}
.flow__desc { color: var(--ink-55); max-width: 44em; margin-bottom: 1.1rem; }
/* capability rail — three stations riding one gradient strand */
.flow__rail {
  position: relative;
  margin-top: 1.5rem;
  max-width: 34rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: space-between;
  column-gap: 1.25rem;
}
.flow__rail-line {
  position: absolute; left: 0; right: 0; top: 3px;
  height: 1px;
  background: var(--grad-duo);
  opacity: .45;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--ease-out) .1s, opacity .4s;
}
.flow__rail-stop {
  position: relative;
  display: block;
  padding-top: 1rem;
  opacity: 0; transform: translateY(9px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.flow__rail-stop::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 7px; height: 7px; border-radius: 50%;
  box-shadow: 0 0 0 5px var(--white);   /* halo lets the strand pass under the node */
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.flow__rail-stop:nth-child(2)::before { background: var(--cobalt); }
.flow__rail-stop:nth-child(3)::before { background: #9C8FD0; }   /* mid-strand tone */
.flow__rail-stop:nth-child(4)::before { background: var(--coral); }
.flow__rail-stop:nth-child(2), .flow__rail-stop:nth-child(2)::before { transition-delay: .35s; }
.flow__rail-stop:nth-child(3), .flow__rail-stop:nth-child(3)::before { transition-delay: .55s; }
.flow__rail-stop:nth-child(4), .flow__rail-stop:nth-child(4)::before { transition-delay: .75s; }
.flow__rail-stop em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-38);
  margin-bottom: .3rem;
}
.flow__rail-stop strong {
  display: block;
  font-family: var(--font-sans);
  font-size: .95rem; font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink-70);
  line-height: 1.35;
}
.flow__step.is-inview .flow__rail-line,
.flow__rail--signal.is-inview .flow__rail-line { transform: scaleX(1); }
.flow__step.is-inview .flow__rail-stop,
.flow__rail--signal.is-inview .flow__rail-stop { opacity: 1; transform: translateY(0); }
.flow__step.is-inview .flow__rail-stop::before,
.flow__rail--signal.is-inview .flow__rail-stop::before { transform: scale(1); }
.flow__step:hover .flow__rail-line { opacity: .9; }
.flow__link { margin-top: 1.5rem; }

/* reduced motion — rail fully drawn, no transitions (matches site .no-motion convention) */
.no-motion .flow__rail-line,
.no-motion .flow__rail-stop,
.no-motion .flow__rail-stop::before { transform: none; transition: none; }
.no-motion .flow__rail-stop { opacity: 1; }

@media (max-width: 560px) {
  .flow__rail { grid-template-columns: 1fr; row-gap: 1.1rem; max-width: none; }
  .flow__rail-line {
    left: 3px; right: auto; top: 0; bottom: 0;
    width: 1px; height: auto;
    background: linear-gradient(180deg, #1E48C2 0%, #C8C3E6 46%, #EBC8B9 58%, #D4694A 100%);
    transform: scaleY(0); transform-origin: top;
  }
  .flow__step.is-inview .flow__rail-line { transform: scaleY(1); }
  .flow__rail-stop { padding-top: 0; padding-left: 1.4rem; }
  .flow__rail-stop::before { top: 4px; left: 0; }
}

/* step art — real product shots in a light browser frame */
.flow__shot {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--hairline);
  box-shadow: 0 34px 70px -40px rgba(26, 22, 17, .34),
              0 10px 24px -18px rgba(30, 72, 194, .20);
  transition: box-shadow .5s var(--ease-out);
}
.flow__step:hover .flow__shot {
  box-shadow: 0 46px 92px -44px rgba(26, 22, 17, .42),
              0 14px 30px -18px rgba(30, 72, 194, .28);
}
.flow__shot-bar {
  display: flex; align-items: center; gap: 7px;
  height: 36px; padding-inline: 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
}
.flow__shot-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(26, 22, 17, .14);
  flex: none;
}
.flow__shot-bar em {
  flex: 1;
  margin-right: 37px;               /* balance the 3 dots so the url reads centered */
  text-align: center;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .04em;
  color: var(--ink-38);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.flow__shot-img {
  display: block;
  width: 100%; height: auto;
  background: var(--paper-2);
  transition: transform .6s var(--ease-out);
}
.flow__step:hover .flow__shot-img { transform: scale(1.028); }

/* zigzag — alternate which side the shot sits on */
.flow__step:nth-child(even) > .flow__body { order: 2; }
.flow__step:nth-child(even) > .flow__shot { order: 1; }

@media (max-width: 900px) {
  .flow__step { grid-template-columns: 1fr; gap: 1.8rem; }
  .flow__step:nth-child(even) > .flow__body,
  .flow__step:nth-child(even) > .flow__shot { order: 0; }
  .flow__shot { max-width: 520px; }
}


/* ---------- Signal ---------- */
.signal {
  padding-block: var(--section);
  background: linear-gradient(to bottom, var(--white), var(--paper-2) 30%, var(--paper-2) 85%, var(--white));
}
.signal__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.signal__head .section-sub { justify-self: end; align-self: end; }
@media (max-width: 900px) { .signal__head { grid-template-columns: 1fr; } .signal__head .section-sub { justify-self: start; } }

.signal__stage { max-width: 1040px; margin-inline: auto; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.media-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  /* flat-until-floating: one soft broad shadow, not a rounded floating card */
  box-shadow: 0 42px 120px -64px rgba(26, 22, 17, .2);
  background: var(--paper-2);
}
.media-frame__video { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; }
.media-frame__tag {
  position: absolute; left: 1.4rem; bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-55);
  padding: 0;
}
.media-frame__tag::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cobalt);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,72,194,.45); }
  50% { box-shadow: 0 0 0 6px rgba(30,72,194,0); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
}
.stats__item {
  padding: clamp(1.8rem, 3.5vw, 2.8rem) clamp(1.2rem, 2.5vw, 2.4rem);
  border-right: 1px solid var(--hairline);
  display: grid; gap: .5rem; align-content: start;
}
.stats__item:first-child { padding-left: 0; }
.stats__item:last-child { border-right: 0; }
.stats__label {
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-55);
}
.stats__value {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--ink) 30%, var(--cobalt) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stats__note { font-size: .96rem; color: var(--ink-55); }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--hairline); padding-inline: 0; }
  .stats__item:last-child { border-bottom: 0; }
}

/* ---------- Calm ---------- */
.calm { padding-block: var(--section); background: var(--paper); }
.calm__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 980px) { .calm__grid { grid-template-columns: 1fr; } }

.calm__lede {
  margin-top: 1.4rem;
  color: var(--ink-55);
  max-width: 38em;
}
.calm__list { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: grid; }
.calm__item {
  padding-block: 1.4rem;
  border-top: 1px solid var(--hairline);
  display: grid; gap: .3rem;
  position: relative;
  padding-left: 1.6rem;
}
.calm__item::before {
  content: '';
  position: absolute; left: 0; top: 2rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); /* Studio speaks terracotta */
}
.calm__item h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.calm__item p { color: var(--ink-55); font-size: 1rem; }

.calm__stage { perspective: 1400px; }
.calm__frame {
  position: relative;
  border-radius: 2px;
  border: 1px solid var(--hairline);
  background: #fff;
  overflow: visible;
  transform: rotateY(-9deg) rotateX(3.5deg);
  transform-style: preserve-3d;
  /* it genuinely tilts/floats over the field, so a broad soft shadow is earned */
  box-shadow: 0 60px 120px -62px rgba(26, 22, 17, .32);
  transition: transform .8s var(--ease-soft);
  will-change: transform;
}
.calm__video {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 980px) {
  /* the height="992" attribute wins while height stays unset — on the
     stacked layout that renders a 1000px-tall portrait crop of a wide
     scene; height:auto lets the 16/9 aspect-ratio actually apply */
  .calm__video { height: auto; }
}
.calm__frame-bar {
  display: flex; gap: 6px;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--hairline-soft);
}
.calm__frame-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hairline);
}
.calm__frame-bar i:first-child { background: var(--cobalt); opacity: .55; }

/* ---------- Results / ticker ---------- */
/* the page's one dark chapter — proof carries the most weight, so it gets
   its own material: the warm ink the type is set in everywhere else */
.results { padding-block: var(--section); background: var(--ink); overflow: clip; }
.results .section-title { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); color: var(--paper); }
.results .eyebrow { color: rgba(251, 250, 246, .6); }
.results .eyebrow::before { background: var(--lavender); opacity: .9; }
.results .nda-note { color: rgba(251, 250, 246, .45); }

.ticker { display: grid; gap: 1rem; }
.ticker__row {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  overflow: hidden;
}
.ticker__track {
  display: inline-flex; gap: 1rem;
  padding-inline: .5rem;
  width: max-content;
  animation: tick 44s linear infinite;
}
.ticker__row[data-dir="right"] .ticker__track { animation-name: tickR; animation-duration: 52s; }
@keyframes tick  { to { transform: translateX(-50%); } }
@keyframes tickR { from { transform: translateX(-50%); } to { transform: none; } }

.ticker__card {
  display: inline-flex; align-items: baseline; gap: .9rem;
  white-space: nowrap;
  padding: 1.15rem 1.6rem;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  font-size: 1rem;
  color: var(--ink-70);
}
.ticker__card b {
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cobalt);
}
.ticker__card--coral b { color: var(--coral); }

/* ---------- Finale ---------- */
.finale {
  position: relative;
  padding-block: calc(var(--section) * 1.15);
  background: var(--white);
  border-top: 1px solid var(--hairline-soft);
  overflow: clip;
  text-align: center;
}
.finale__bloom {
  position: absolute;
  left: 50%; bottom: -30%;
  width: 900px; height: 600px;
  translate: -50%;
  background: radial-gradient(closest-side, rgba(235, 200, 185, .3), rgba(30, 72, 194, .06) 60%, transparent);
  filter: blur(40px);
  pointer-events: none;
}
.finale__strand {
  position: absolute; inset: auto 0 6%;
  width: 100%; height: clamp(120px, 22vw, 320px);
  pointer-events: none;
  opacity: .8;
}
.finale__path { stroke-dasharray: 1; stroke-dashoffset: 1; }

.finale__inner { position: relative; }
.finale__title {
  font-size: clamp(3rem, 8vw, 7.4rem);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -0.045em;
  margin-bottom: 1.6rem;
}
.finale__sub {
  color: var(--ink-55);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-bottom: 2.6rem;
}
.finale__cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.4rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr; } }

.footer__thesis {
  margin-top: 1.2rem;
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink-70);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 560px) {
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1rem, 6vw, 2rem);
  }
}
.footer__col { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-38);
  margin-bottom: .4rem;
}
.footer__col a {
  font-size: .98rem; color: var(--ink-70);
  width: fit-content; max-width: 100%;
  overflow-wrap: anywhere;
  transition: color .25s;
}
.footer__col a:hover { color: var(--cobalt); }
.footer__here {
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .1em;
  color: var(--cobalt);
  margin-left: .5rem;
}

.footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline-soft);
  font-size: .86rem;
  color: var(--ink-38);
  flex-wrap: wrap;
}
.footer__base a { transition: color .25s; }
.footer__base a:hover { color: var(--ink); }
.footer__path {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
}
.footer__path i { font-style: normal; color: var(--coral); }

/* ---------- Reveal primitives (JS-driven) ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); will-change: transform, opacity; }
.no-js [data-reveal],
.no-js [data-load-fade],
.no-motion [data-reveal] { opacity: 1; transform: none; }
.no-js .hero__line-inner { transform: none; }

/* staggered line-mask reveals for large titles */
.t-line {
  display: block;
  overflow: hidden;
  margin-bottom: -.135em;
  padding: .045em 0 .18em;
}
.t-line__in {
  display: inline-block;
  transform: translateY(112%);
  will-change: transform;
}
.no-js .t-line__in, .no-motion .t-line__in { transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  [data-reveal], [data-load-fade], .hero__line-inner { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
  .cursor { display: none !important; }
}

/* ================================================================
   v14 — W4 content merge: hero proof, signal sequence rail,
   industries / team / security chapters, case study, finale kicker
   ================================================================ */

/* hero proof line */
.hero__proof {
  margin-top: clamp(1.4rem, 3vh, 2rem);
  display: flex; align-items: baseline; gap: .35rem;
  font-size: .92rem;
}
.hero__proof strong { font-weight: 600; letter-spacing: -0.01em; }
.hero__proof-note { color: var(--ink-38); }
.hero__proof-note::before { content: " · "; }

@media (max-width: 720px) {
  .hero__proof { flex-direction: column; align-items: flex-start; gap: .1rem; }
  .hero__proof-note { display: block; margin-top: .2rem; }
  .hero__proof-note::before { content: ""; }
}

/* statement closer */
.statement__punch strong { color: var(--cobalt); font-weight: 600; }

/* signal sequence rail — four stops */
.flow__rail--signal {
  grid-template-columns: repeat(4, minmax(0, auto));
  max-width: 44rem;
  margin-top: 0;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.flow__rail--signal .flow__rail-stop em { color: var(--ink-38); }
/* fifth child = fourth stop (line is the first child): closes the strand in gold */
.flow__rail--signal .flow__rail-stop:nth-child(5)::before { background: var(--gold); }
.flow__rail--signal .flow__rail-stop:nth-child(5),
.flow__rail--signal .flow__rail-stop:nth-child(5)::before { transition-delay: .95s; }

/* ---------- Industries ---------- */
.industries {
  padding-block: var(--section);
  background: var(--white);
  border-top: 1px solid var(--hairline-soft);
}
.industries__head {
  display: grid;
  /* the vertical-naming title needs the full measure — sub sits under it */
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.industries__head .section-sub { justify-self: start; }
.industries__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.industry {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: end;
}
.industry:nth-child(even) > .industry__figure { order: 2; }
.industry__figure {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-2);
}
.industry__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.industry:hover .industry__img { transform: scale(1.035); }
.industry__copy { display: flex; flex-direction: column; gap: .75rem; padding-bottom: .4rem; }
.industry__copy h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.industry__copy p { color: var(--ink-55); max-width: 34em; text-wrap: pretty; }
.industry__proof {
  margin-top: 1.1rem; padding-top: .9rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.industry--recruiting .industry__proof { color: var(--cobalt); }
.industry--travel .industry__proof { color: var(--coral); }
.industry--operations .industry__proof { color: var(--gold); }
@media (max-width: 900px) {
  .industries__head { grid-template-columns: 1fr; }
  .industries__head .section-sub { justify-self: start; }
  .industry { grid-template-columns: 1fr; align-items: start; }
  .industry:nth-child(even) > .industry__figure { order: 0; }
}

/* ---------- Team ---------- */
.team {
  padding-block: var(--section);
  background: var(--paper);
  border-top: 1px solid var(--hairline-soft);
}
.team__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.team__head .section-sub { justify-self: end; align-self: end; }
.team__people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.person {
  border-top: 1px solid var(--hairline);
  padding-top: 1.2rem;
  display: grid; gap: .5rem; align-content: start;
}
.person h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.person__role {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cobalt);
}
.person--advisor .person__role { color: var(--ink-38); }
.person__bio { color: var(--ink-55); font-size: .95rem; text-wrap: pretty; }
@media (max-width: 860px) {
  .team__head { grid-template-columns: 1fr; }
  .team__head .section-sub { justify-self: start; }
  .team__people { grid-template-columns: 1fr; }
}

/* ---------- Security ---------- */
.security {
  padding-block: var(--section);
  background: var(--white);
  border-top: 1px solid var(--hairline-soft);
}
.security__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.security__head .section-sub { justify-self: end; align-self: end; }
.security__points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem) clamp(2rem, 4vw, 3.5rem);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
}
.sec-point { border-top: 1px solid var(--hairline); padding-top: 1.1rem; display: grid; gap: .45rem; }
.sec-point h3 { font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; }
.sec-point h3::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cobalt);
  flex: none;
}
.sec-point p { color: var(--ink-55); font-size: .98rem; }
@media (max-width: 720px) { .security__points { grid-template-columns: 1fr; } .security__head { grid-template-columns: 1fr; } .security__head .section-sub { justify-self: start; } }

/* ---------- Case study (Results) ---------- */
.case {
  border-top: 1px solid var(--hairline);
  padding-top: 1.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 980px;
}
.case__label {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(251, 250, 246, .55);
  margin-bottom: 1.1rem;
}
.case__story {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: rgba(251, 250, 246, .72);
  max-width: 26em;
  text-wrap: pretty;
}
.case__story strong { font-weight: 600; color: var(--paper); }
.case__evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  border-top: 1px solid rgba(251, 250, 246, .18);
}
.case__stat { padding: 1.1rem 1.2rem 0 0; }
.case__stat + .case__stat { border-left: 1px solid rgba(251, 250, 246, .14); padding-left: 1.2rem; }
.case__stat dt { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; color: var(--paper); }
.case__stat dd { color: rgba(251, 250, 246, .55); font-size: .9rem; margin-top: .3rem; }
.case .nda-note { margin-top: 1.4rem; }
@media (max-width: 720px) {
  .case__evidence { grid-template-columns: 1fr; }
  .case__stat + .case__stat { border-left: 0; border-top: 1px solid var(--hairline-soft); padding-left: 0; padding-top: 1.1rem; margin-top: 1.1rem; }
}

/* finale kicker */
.finale__kicker {
  font-family: var(--font-mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-38);
  margin-bottom: 1.2rem;
}

/* ================================================================
   v15 — live-content parity: hero promise, studio tag, results order
   ================================================================ */
/* hero flyer bullets — one line per product's work, nodes on the brand
   strand ramp (cobalt → mid-strand → coral, same as the flow rails) */
.hero__points {
  display: grid;
  gap: .6rem;
  margin-bottom: clamp(.9rem, 1.8vh, 1.2rem);
}
.hero__points li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 600;
  font-size: clamp(1.06rem, 1.45vw, 1.3rem);
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.hero__points li::before {
  content: '';
  position: absolute; left: 0; top: .48em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cobalt);
}
.hero__points li:nth-child(2)::before { background: #9C8FD0; }
.hero__points li:nth-child(3)::before { background: var(--coral); }

@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(3rem, 12.5vw, 3.45rem);
    line-height: .95;
    letter-spacing: -.055em;
    margin-bottom: clamp(1.5rem, 4vh, 2rem);
  }
  .hero__points {
    gap: .7rem;
    margin-bottom: 1.1rem;
  }
  .hero__points li {
    font-size: clamp(1.05rem, 4.5vw, 1.18rem);
    line-height: 1.35;
  }
  .hero__sub {
    max-width: 34em;
    font-size: clamp(1rem, 4.2vw, 1.08rem);
    line-height: 1.55;
    margin-bottom: clamp(1.6rem, 4vh, 2.2rem);
  }
}

.calm__tag {
  margin-top: .9rem;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--ink-70);
}
.nda-note--tight { margin-top: .9rem; }
.statement__punch-inline { color: var(--cobalt); font-weight: 600; }

/* ================================================================
   v16 — studio steps light up as they cross the reading band
   (dimming only applies once JS arms the triggers: .calm__list.is-lit;
    no-JS and reduced-motion visitors see every step fully lit)
   ================================================================ */
.calm__item h3, .calm__item p { transition: color .45s var(--ease-soft); }
.calm__item::before { transition: transform .45s var(--ease-soft), background .45s var(--ease-soft), box-shadow .45s var(--ease-soft); }

.calm__list.is-lit .calm__item h3 { color: var(--ink-38); }
.calm__list.is-lit .calm__item p { color: rgba(26, 22, 17, .38); }
.calm__list.is-lit .calm__item::before { background: var(--blush); transform: scale(.72); }

.calm__list.is-lit .calm__item.is-active h3 { color: var(--ink); }
.calm__list.is-lit .calm__item.is-active p { color: var(--ink-55); }
.calm__list.is-lit .calm__item.is-active::before {
  background: var(--coral);
  transform: scale(1);
  box-shadow: 0 0 0 4px rgba(212, 105, 74, .14);
}

/* ================================================================
   Legal pages (privacy / terms-of-service) — static, no JS reveals
   ================================================================ */
.legal-hero {
  padding: calc(76px + clamp(2.5rem, 7vh, 4.5rem)) 0 clamp(2rem, 5vh, 3rem);
  border-bottom: 1px solid var(--hairline);
}
.legal-hero__title {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.04;
  margin-top: 1.1rem;
}
.legal-hero__meta {
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-38);
  margin-top: 1.2rem;
}
.legal-body {
  max-width: 72ch;
  padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(4rem, 9vh, 6.5rem);
}
.legal-body h2 {
  font-size: 1.32rem; font-weight: 600; letter-spacing: -0.015em;
  margin: 2.9rem 0 .9rem;
  scroll-margin-top: 90px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-70); line-height: 1.72; margin-bottom: .95rem; }
.legal-body ul { list-style: disc; margin: 0 0 1rem; padding-left: 1.15rem; }
.legal-body li { color: var(--ink-70); line-height: 1.66; margin-bottom: .45rem; }
.legal-body li::marker { color: var(--cobalt); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--cobalt); border-bottom: 1px solid rgba(30, 72, 194, .3); transition: border-color .25s; }
.legal-body a:hover { border-color: var(--cobalt); }
.legal-body .legal-lede { font-size: 1.12rem; color: var(--ink); line-height: 1.65; }
.legal-crosslink {
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--cobalt);
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
}
.legal-crosslink p { margin: 0; font-size: .95rem; }
.legal-body h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  margin: 1.9rem 0 .6rem;
  scroll-margin-top: 90px;
}
.legal-summary { font-style: italic; color: var(--ink-55); }
.legal-table-wrap { overflow-x: auto; margin: 1.2rem 0 1.4rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table th, .legal-table td {
  border: 1px solid var(--hairline);
  padding: .65rem .8rem;
  vertical-align: top;
  text-align: left;
  color: var(--ink-70);
  line-height: 1.55;
}
.legal-table th { color: var(--ink); font-weight: 600; background: rgba(30, 72, 194, .04); }
.legal-table ul { margin: 0; padding-left: 1rem; }
.legal-table li { margin-bottom: .3rem; }

.security__links { display: flex; flex-wrap: wrap; gap: 1.1rem 2.4rem; margin-top: 2.2rem; }
