/* =========================================================================
   THE GROWTH ENGINE
   core.css  ·  design system, layout, components
   Light first. Hairline geometry. No shadows. Typography as architecture.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  /* Surfaces */
  --paper:      #F4F6F8;
  --paper-rgb:  244, 246, 248;
  --paper-lift: #FAFBFC;
  --surface:    #FFFFFF;
  --surface-2:  #E8ECF0;

  /* Ink */
  --ink:        #111820;
  --ink-soft:   #33414F;
  --muted:      #647485;

  /* Lines */
  --border:     rgba(17,24,32,.13);
  --border-2:   rgba(17,24,32,.07);
  --border-3:   rgba(17,24,32,.22);

  /* Accent */
  --accent:        #0E8FC7;
  --accent-2:      rgba(14,143,199,.10);
  --accent-3:      rgba(14,143,199,.22);
  --accent-bright: #45D2F5;

  /* Signal */
  --signal:   #C2410C;
  --signal-2: rgba(194,65,12,.09);

  /* Type */
  --display: "Outfit", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --mono:    "Azeret Mono", "DM Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --gut: clamp(20px, 4.4vw, 56px);
  --max: 1320px;
  --nav-h: 96px;

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

  color-scheme: light only;
}

/* ---------- 2. Reset ----------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16.5px, 1.03vw, 18.5px);
  line-height: 1.62;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.026em;
  margin: 0;
  text-wrap: balance;
}

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font-family: var(--mono); font-size: 12px;
}
.skip:focus { left: 8px; top: 8px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Type scale ------------------------------------------------ */

.d1 { font-size: clamp(44px, 8.2vw, 116px); letter-spacing: -.042em; line-height: .93; }
.d2 { font-size: clamp(34px, 4.9vw, 70px);  letter-spacing: -.036em; line-height: .98; }
.d3 { font-size: clamp(27px, 3.1vw, 46px);  letter-spacing: -.028em; line-height: 1.04; }
.d4 { font-size: clamp(21px, 1.85vw, 28px); letter-spacing: -.02em;  line-height: 1.16; }

.lede {
  font-size: clamp(18px, 1.42vw, 23px);
  line-height: 1.52;
  color: var(--ink-soft);
  max-width: 34ch;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--muted);
  font-weight: 450;
}

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 clamp(22px, 2.4vw, 38px);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.eyebrow b {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
  font-variant-numeric: tabular-nums lining-nums;
}

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.01em;
}

.accent { color: var(--accent); }
.soft   { color: var(--ink-soft); }
.mute   { color: var(--muted); }

em { font-style: italic; }
strong { font-weight: 600; }

/* ---------- 4. Layout ---------------------------------------------------- */

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

section { position: relative; }

.band {
  padding-block: clamp(62px, 7.2vw, 116px);
  border-top: 1px solid var(--border-2);
}
.band--tight { padding-block: clamp(44px, 4.9vw, 78px); }
.band--flush { border-top: 0; }
.band--lift  { background: var(--paper-lift); }
/* A deliberately inverted band. It carries its own literal palette so it
   reads the same way in the light and the dark theme, rather than flipping
   with the tokens and inverting itself into nonsense. */
.band--ink {
  background: #111820;
  color: #F4F6F8;
  --paper:      #111820;
  --paper-rgb:  17, 24, 32;
  --paper-lift: #161F29;
  --surface:    #161F29;
  --surface-2:  #1C2732;
  --ink:        #F4F6F8;
  --ink-soft:   rgba(244,246,248,.82);
  --muted:      rgba(244,246,248,.56);
  --border:     rgba(244,246,248,.17);
  --border-2:   rgba(244,246,248,.09);
  --border-3:   rgba(244,246,248,.32);
  --accent:        #45D2F5;
  --accent-2:      rgba(69,210,245,.12);
  --accent-3:      rgba(69,210,245,.28);
  --signal:   #F08A4B;
  --signal-2: rgba(240,138,75,.14);
}
.band--ink ::selection { background: #45D2F5; color: #111820; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 34px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
  gap: clamp(26px, 4.4vw, 82px);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.stick { position: sticky; top: calc(var(--nav-h) + 34px); }
@media (max-width: 880px) { .stick { position: static; } }

.measure { max-width: 60ch; }
.measure-tight { max-width: 46ch; }

/* ---------- 5. The wordmark (CSS, not an image) -------------------------- */

.logo {
  display: inline-grid;
  gap: .12em;
  text-decoration: none;
  font-family: var(--display);
  color: var(--ink);
  line-height: 1;
  --lw: 1em;
  justify-items: stretch;
}

.logo__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .52em;
  font-size: calc(var(--lw) * .285);
  font-weight: 400;
  letter-spacing: .44em;
  text-indent: .44em;
  color: var(--ink);
}
.logo__row i {
  height: 2px;
  background: var(--accent);
  display: block;
  min-width: 8px;
}
.logo__row--engine { font-size: calc(var(--lw) * .268); letter-spacing: .3em; text-indent: .3em; }

.logo__word {
  font-size: var(--lw);
  font-weight: 700;
  letter-spacing: -.012em;
  text-align: center;
  white-space: nowrap;
}
.logo__w {
  background: linear-gradient(158deg, #7CE6FF 2%, #45D2F5 34%, #0E8FC7 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo--nav { --lw: 42px; }
@media (max-width: 900px) { .logo--nav { --lw: 34px; } }
@media (max-width: 420px) { .logo--nav { --lw: 29px; } }
.logo--foot { --lw: clamp(64px, 11vw, 132px); }

/* ---------- 6. Navigation ------------------------------------------------ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav[data-scrolled="true"] { border-bottom-color: var(--border); }

.nav__in {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 30px);
}

.nav__link {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.004em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right .42s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  width: 38px; height: 34px;
  background: none; border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease-out), opacity .2s;
}
.nav__burger span:nth-child(1) { top: 12px; }
.nav__burger span:nth-child(2) { bottom: 12px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__right > .btn { display: none; }
}

.drawer__cta { margin-top: 20px; }
.drawer__cta .btn { width: 100%; justify-content: space-between; }

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 18px var(--gut) 34px;
  display: grid;
  gap: 2px;
  transform: translateY(-104%);
  visibility: hidden;
  transition: transform .52s var(--ease-out), visibility .52s;
}
.drawer[data-open="true"] { transform: translateY(0); visibility: visible; }
.drawer a {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.drawer a span { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .12em; }

/* ---------- 7. Buttons --------------------------------------------------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--bg);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .34s var(--ease), border-color .34s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .5s var(--ease-out);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--accent); color: #fff; }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn__arrow { transition: transform .4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--border-3);
}
.btn--ghost:hover { color: #fff; }

.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { border-color: var(--ink); }

.btn--wide { width: 100%; justify-content: space-between; }

.link {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-3);
  transition: border-color .3s var(--ease), color .3s var(--ease), gap .3s var(--ease);
}
.link:hover { border-color: var(--accent); color: var(--accent); gap: 15px; }

/* ---------- 8. Hero ------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(100svh, 1080px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(22px, 3.5vh, 48px));
  /* the lower two thirds are left clear for the field to stand in */
  padding-bottom: clamp(180px, 29vh, 370px);
  overflow: clip;
}

/* The field. Full bleed, sitting behind and under the centred sentence, with
   a horizon that runs the whole width. The mask keeps it faint where the
   words are and lets it build as it drops towards the floor. */
.hero__field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.20) 18%, rgba(0,0,0,.66) 42%, #000 62%, #000 100%),
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.20) 18%, rgba(0,0,0,.66) 42%, #000 62%, #000 100%),
    linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero__field canvas { width: 100%; height: 100%; }

.hero__in { position: relative; z-index: 1; width: 100%; }

/* Centred. One column, one axis, nothing competing for the eye. */
.hero__copy {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
  justify-items: center;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}
.hero__copy .lede { margin-left: auto; margin-right: auto; }

.hero__claim {
  font-family: var(--display);
  font-size: clamp(38px, 5.3vw, 80px);
  font-weight: 700;
  letter-spacing: -.042em;
  line-height: .99;
  max-width: none;
  margin: 0;
}

/* One primary action. The second path is a link, not a competing button. */
.hero__actions {
  display: flex; flex-wrap: wrap;
  gap: clamp(14px, 2vw, 28px);
  align-items: center; justify-content: center;
}

/* The strip under the hero, on clean paper. */
.hero__strip { position: relative; z-index: 2; background: var(--paper); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  padding-bottom: clamp(6px, 1vw, 14px);
}
.hero__fact {
  padding-right: clamp(16px, 2.2vw, 34px);
  margin-right: clamp(16px, 2.2vw, 34px);
  border-right: 1px solid var(--border-2);
}
.hero__fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__fact b {
  display: block;
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: -.028em;
  font-variant-numeric: lining-nums tabular-nums;
}
.hero__fact span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

@media (max-width: 900px) {
  .hero { min-height: min(88svh, 820px); padding-bottom: clamp(130px, 22vh, 240px); }
  .hero__field { inset: 0 -4% 0 -4%; opacity: .95; }
  .hero__copy { max-width: none; }
}

/* The drawing plates, used by the assembly and the dependency figures. */
.schem {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--surface), var(--paper-lift));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}
.schem__bar {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.schem__bar b { color: var(--accent); font-weight: 500; }
.schem__stage { position: relative; aspect-ratio: 1 / 1; min-height: 0; }
.schem__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.schem__prog { height: 2px; background: var(--border-2); position: relative; }
.schem__prog i {
  position: absolute; inset: 0 auto 0 0; width: 16.6%;
  background: var(--accent);
  transition: width .7s var(--ease-out);
}
.schem__foot b { color: var(--accent); font-weight: 500; }
.schem__foot {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 14px;
  border-top: 1px solid var(--border-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
}
.schem__ticks { position: absolute; inset: 40px 0; pointer-events: none; }
.schem__ticks i { position: absolute; width: 9px; height: 9px; border: 1px solid var(--border-3); }
.schem__ticks i:nth-child(1) { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.schem__ticks i:nth-child(2) { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.schem__ticks i:nth-child(3) { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.schem__ticks i:nth-child(4) { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* ---------- 9. Reveal / motion ------------------------------------------- */

[data-rise] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-rise].is-in { opacity: 1; transform: none; }

.lines { display: block; }
/* The mask that makes each line rise has to be taller than the line itself,
   or it shears the descenders off every y, g, p and q. */
.lines .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
  /* a little slack sideways too, so a wide fallback face is never clipped */
  padding-right: .08em;
  margin-right: -.08em;
}
.lines .ln > i {
  display: block;
  font-style: normal;
  transform: translateY(104%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 78ms);
}
.lines.is-in .ln > i { transform: translateY(0); }

.wipe { position: relative; overflow: hidden; display: block; }
.wipe::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--paper);
  transform-origin: right;
  transition: transform 1.1s var(--ease-out);
}
.wipe.is-in::after { transform: scaleX(0); }

.rule-grow {
  height: 1px; background: var(--border-3);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.rule-grow.is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .lines .ln > i { transform: none; transition: none; }
  .wipe::after { display: none; }
  .rule-grow { transform: scaleX(1); transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .01ms !important; }
}

/* ---------- 10. Pillars -------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(24px, 2.6vw, 40px);
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  transition: background .5s var(--ease);
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .62s var(--ease-out);
}
.pillar:hover { background: var(--surface); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__n {
  font-family: var(--mono); font-size: 12px; letter-spacing: .13em;
  color: var(--muted); font-variant-numeric: tabular-nums lining-nums;
}
.pillar h3 { font-size: clamp(19px, 1.5vw, 24px); font-weight: 600; letter-spacing: -.022em; }
.pillar p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.pillar__foot {
  margin-top: auto;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
  padding-top: 16px;
}

/* ---------- 11. Stack scene (dependency order) --------------------------- */

.stackscene {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}
@media (max-width: 940px) {
  .stackscene { grid-template-columns: 1fr; }
  /* The sentence comes first on a phone, the drawing under it. */
  .stackscene__plate { order: 2; margin-top: clamp(20px, 4vw, 32px); }
  .stackscene .schem__stage { aspect-ratio: 16 / 11; max-height: 44svh; }
}
@media (max-width: 560px) {
  .stackscene .schem__foot span:last-child,
  .stackscene .schem__bar span:last-child { display: none; }
}

.stackscene .schem__stage { aspect-ratio: 5 / 4; }

.steps { display: grid; }
.step {
  border-top: 1px solid var(--border);
  padding: clamp(16px, 1.6vw, 24px) 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  cursor: pointer;
  opacity: .42;
  transition: opacity .45s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step[data-active="true"] { opacity: 1; }
.step__k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); padding-top: .38em; font-variant-numeric: tabular-nums lining-nums; }
.step h3 { font-size: clamp(18px, 1.44vw, 23px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.step p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ---------- 12. Modules -------------------------------------------------- */

.mods { border-top: 1px solid var(--border); }

.mod {
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mod__head {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 32px);
  align-items: center;
  padding: clamp(20px, 2.1vw, 32px) 0;
  transition: color .3s var(--ease);
}
@media (max-width: 620px) { .mod__head { grid-template-columns: 46px minmax(0, 1fr) auto; } }
.mod__n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.mod__t {
  font-family: var(--display);
  font-size: clamp(21px, 2.55vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
  transition: transform .5s var(--ease-out);
}
.mod__head:hover .mod__t { transform: translateX(8px); }
.mod__head:hover .mod__n { color: var(--accent); }
.mod__c {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--muted); display: flex; align-items: center; gap: 16px;
  white-space: nowrap;
}
.mod__tog {
  width: 26px; height: 26px; border: 1px solid var(--border-3);
  display: grid; place-items: center; position: relative; flex: none;
}
.mod__tog::before, .mod__tog::after {
  content: ""; position: absolute; background: var(--ink);
}
.mod__tog::before { width: 11px; height: 1px; }
.mod__tog::after { width: 1px; height: 11px; transition: transform .45s var(--ease-out); }
.mod[data-open="true"] .mod__tog::after { transform: scaleY(0); }
.mod[data-open="true"] .mod__n { color: var(--accent); }

.mod__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--ease-out);
}
.mod[data-open="true"] .mod__body { grid-template-rows: 1fr; }
.mod__inner { overflow: hidden; }
.mod__pad {
  padding: 0 0 clamp(26px, 3vw, 44px) 0;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 32px);
}
@media (max-width: 620px) { .mod__pad { grid-template-columns: 1fr; } }
.mod__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 54px);
}
@media (max-width: 820px) { .mod__cols { grid-template-columns: 1fr; } }
.mod__cols p { color: var(--ink-soft); max-width: 48ch; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ticks li {
  font-size: 15px;
  line-height: 1.5;
  padding: 9px 0 9px 26px;
  border-top: 1px solid var(--border-2);
  position: relative;
  color: var(--ink-soft);
}
.ticks li:first-child { border-top: 0; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 1.02em;
  width: 11px; height: 1px; background: var(--accent);
}

/* ---------- 13. Marquee -------------------------------------------------- */

.marq {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  user-select: none;
}
.marq__t {
  display: flex;
  width: max-content;
  animation: marq 42s linear infinite;
  gap: 0;
}
.marq__t span {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 500;
  letter-spacing: -.026em;
  padding-inline: .5em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marq__t span i { color: var(--accent); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq__t { animation: none; } }

/* ---------- 14. Deliverables grid ---------------------------------------- */

.deliv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
@media (max-width: 780px) { .deliv { grid-template-columns: 1fr; } }
.deliv__i {
  padding: clamp(22px, 2.4vw, 36px) clamp(20px, 2.4vw, 40px) clamp(22px, 2.4vw, 36px) 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
}
.deliv__i:nth-child(odd) { border-right: 1px solid var(--border); }
.deliv__i:nth-child(even) { padding-left: clamp(20px, 2.4vw, 40px); }
@media (max-width: 780px) {
  .deliv__i:nth-child(odd) { border-right: 0; }
  .deliv__i:nth-child(even) { padding-left: 0; }
}
.deliv__i span { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .14em; padding-top: .3em; }
.deliv__i h3 { font-size: clamp(17px, 1.34vw, 21px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 7px; }
.deliv__i p { font-size: 15px; line-height: 1.52; color: var(--ink-soft); margin: 0; }

/* ---------- 15. Risk / no guarantee -------------------------------------- */

.risk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 860px) { .risk { grid-template-columns: 1fr; } }
.risk__i {
  background: var(--paper);
  padding: clamp(24px, 2.7vw, 40px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.risk__i h3 { font-size: clamp(19px, 1.6vw, 25px); font-weight: 600; letter-spacing: -.024em; }
.risk__i p { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.risk__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--signal); }

.callout {
  border-left: 2px solid var(--signal);
  background: var(--signal-2);
  padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.4vw, 34px);
}
.callout p { margin: 0; color: var(--ink-soft); }
.callout p + p { margin-top: .8em; }

/* ---------- 16. Price ---------------------------------------------------- */

.price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (max-width: 800px) { .price { grid-template-columns: 1fr; } }
/* One route to enrol, so the card sits on its own centred axis. */
.price--one { grid-template-columns: minmax(0, 1fr); max-width: 40rem; margin-inline: auto; }
.price__c {
  background: var(--surface);
  padding: clamp(26px, 3vw, 46px);
  display: grid;
  gap: 18px;
  align-content: start;
}
.price__c--alt { background: var(--paper); }
.price__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price__v {
  font-family: var(--display);
  font-size: clamp(42px, 5.2vw, 74px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
  font-variant-numeric: lining-nums tabular-nums;
}
.price__v small { font-size: .38em; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.price__note { font-size: 15px; color: var(--ink-soft); margin: 0; }

.inc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.inc li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-2);
  align-items: baseline;
  font-size: 15.5px;
}
.inc li b { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; font-weight: 500; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.inc li span { color: var(--ink-soft); }

/* ---------- 17. FAQ ------------------------------------------------------ */

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(18px, 1.9vw, 26px) 40px clamp(18px, 1.9vw, 26px) 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.42vw, 22px);
  font-weight: 600;
  letter-spacing: -.022em;
  position: relative;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 0 clamp(20px, 2.2vw, 30px); max-width: 66ch; color: var(--ink-soft); }

/* ---------- 18. Footer --------------------------------------------------- */

.foot {
  /* literal, because --ink is redefined below and a var() would resolve to
     the new value and paint the footer light on light */
  background: #111820;
  color: #F4F6F8;
  --ink: #F4F6F8;
  --ink-soft: rgba(244,246,248,.8);
  --muted: rgba(244,246,248,.54);
  --border: rgba(244,246,248,.16);
  --border-2: rgba(244,246,248,.08);
  --accent: #45D2F5;
  padding-block: clamp(52px, 6vw, 96px) clamp(22px, 2.6vw, 34px);
}
.foot ::selection { background: #45D2F5; color: #111820; }

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(34px, 4vw, 58px);
  border-bottom: 1px solid var(--border-2);
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

.foot__brand { display: grid; gap: 18px; align-content: start; }
.foot__brand .logo { --lw: clamp(44px, 5vw, 64px); }
.foot__brand p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0;
}

.foot__col { display: grid; gap: 12px; align-content: start; }
.foot__col h3 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.foot__col a {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -.012em;
  text-decoration: none;
  color: var(--ink-soft);
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.foot__col a:hover { color: #FFFFFF; border-bottom-color: var(--accent); }
.foot__col span { font-size: 15px; color: var(--muted); }

.foot__base {
  padding-top: clamp(18px, 2vw, 26px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 40px);
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot__legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.foot__legal a:hover { color: #FFFFFF; border-bottom-color: var(--border); }

/* ---------- 19. CTA slab ------------------------------------------------- */

.cta {
  display: grid;
  gap: clamp(22px, 2.6vw, 38px);
  justify-items: start;
}
.cta__h {
  font-family: var(--display);
  font-size: clamp(34px, 5.6vw, 84px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .98;
  max-width: 15ch;
}
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* The closing block, on one centred axis. */
.cta--centre {
  justify-items: center;
  text-align: center;
  max-width: 62rem;
  margin-inline: auto;
}
.cta--centre .cta__h { max-width: 18ch; }
.cta--centre .lede { max-width: 52ch; margin-inline: auto; }
.cta--centre .cta__row { justify-content: center; }

/* ---------- 20. Audit ---------------------------------------------------- */

.audit {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
}

.audit__bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.audit__bar-in {
  max-width: var(--max); margin-inline: auto; padding: 12px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.audit__prog { height: 2px; background: var(--border-2); position: relative; }
.audit__prog i {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: var(--accent);
  transition: width .6s var(--ease-out);
}

.qwrap {
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px);
}
.q { display: grid; gap: clamp(22px, 2.6vw, 38px); }
.q__pillar { display: flex; align-items: center; gap: 14px; }
.q__pillar em {
  font-style: normal; font-family: var(--mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.q__pillar i { flex: 1; height: 1px; background: var(--border); }
.q__t {
  font-family: var(--display);
  font-size: clamp(25px, 3.1vw, 46px);
  font-weight: 600;
  letter-spacing: -.032em;
  line-height: 1.04;
  max-width: 20ch;
}
.q__help { font-size: 16px; color: var(--muted); max-width: 52ch; margin: 0; }

.opts { display: grid; gap: 0; border-top: 1px solid var(--border); max-width: 780px; }
.opt {
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
  padding: clamp(15px, 1.5vw, 21px) 18px clamp(15px, 1.5vw, 21px) 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  position: relative;
  transition: padding-left .4s var(--ease-out), color .3s var(--ease);
  border-left: 0; border-right: 0; border-top: 0;
  font-family: var(--body);
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--ink);
  width: 100%;
}
.opt::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .4s var(--ease-out);
}
.opt:hover { padding-left: 14px; }
.opt:hover::before, .opt[aria-pressed="true"]::before { transform: scaleY(1); }
.opt[aria-pressed="true"] { padding-left: 14px; }
.opt__k {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--muted);
  border: 1px solid var(--border-3);
  width: 26px; height: 26px; display: grid; place-items: center;
}
.opt:hover .opt__k, .opt[aria-pressed="true"] .opt__k { border-color: var(--accent); color: var(--accent); }
.opt__s { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }

.audit__nav { display: flex; gap: 12px; align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.audit__back {
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.audit__back:hover { color: var(--ink); border-bottom-color: var(--border-3); }

/* Result */
.result { display: grid; gap: clamp(34px, 4vw, 62px); }
.result__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .result__top { grid-template-columns: 1fr; } }
.score {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .82;
  font-size: clamp(88px, 17vw, 210px);
  font-variant-numeric: lining-nums tabular-nums;
}
.score small { font-size: .26em; letter-spacing: -.02em; color: var(--muted); font-weight: 500; }
.radar { width: 100%; aspect-ratio: 1/1; max-width: 460px; margin-inline: auto; }

.bars { display: grid; gap: 0; border-top: 1px solid var(--border); }
.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(90px, 22vw, 260px) 58px;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-2);
}
.bar__t { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.bar__track { height: 3px; background: var(--surface-2); position: relative; }
.bar__fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: var(--accent);
  transition: width 1.1s var(--ease-out);
}
.bar__fill[data-low="true"] { background: var(--signal); }
.bar__v { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums lining-nums; }

.fixorder { counter-reset: fx; border-top: 1px solid var(--border); }
.fixorder li {
  list-style: none;
  counter-increment: fx;
  border-bottom: 1px solid var(--border);
  padding: clamp(18px, 2vw, 26px) 0 clamp(18px, 2vw, 26px) 62px;
  position: relative;
}
.fixorder li::before {
  content: counter(fx, decimal-leading-zero);
  position: absolute; left: 0; top: clamp(18px, 2vw, 26px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--accent);
}
.fixorder h3 { font-size: clamp(18px, 1.6vw, 25px); font-weight: 600; letter-spacing: -.024em; margin-bottom: 7px; }
.fixorder p { font-size: 15.5px; color: var(--ink-soft); margin: 0; max-width: 62ch; }

.capture {
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 44px);
  display: grid;
  gap: 18px;
  background: var(--surface);
}
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 16.5px;
  color: var(--ink);
  transition: border-color .3s var(--ease);
  width: 100%;
}
.field input:focus { border-color: var(--accent); outline: none; }
.consent { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 12px; align-items: start; font-size: 14px; color: var(--muted); line-height: 1.45; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--accent); }
.formnote { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--muted); }

/* ---------- 21. Curriculum spine (CSS 3D) -------------------------------- */

.spine {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  height: clamp(290px, 34vw, 430px);
  transform-style: preserve-3d;
  overflow: hidden;
}
.spine__stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(var(--spin, 0deg));
  transition: transform .2s linear;
}
.spine__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--r); height: var(--r);
  margin: calc(var(--r) / -2) 0 0 calc(var(--r) / -2);
  border: 1px solid var(--border);
  border-radius: 50%;
  transform: translateZ(var(--z));
}
.spine__ring[data-hot="true"] { border-color: var(--accent); }
.spine__node {
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  background: var(--accent);
  transform: translate3d(var(--x), var(--y), var(--z));
}

/* ---------- 22. Misc ----------------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-3);
  background: var(--accent-2);
  padding: 7px 12px;
}
.tag--signal { color: var(--signal); border-color: var(--signal); background: var(--signal-2); }

.kv { display: grid; border-top: 1px solid var(--border); }
.kv div {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 15.5px;
  align-items: baseline;
}
.kv dt { font-family: var(--mono); font-size: 12px; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin: 0; }
.kv dd { margin: 0; color: var(--ink-soft); }
.kv dd b { color: var(--ink); font-weight: 600; }

.grain {
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lessonlist { border-top: 1px solid var(--border); }
.lessonlist > div {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) auto;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
  align-items: baseline;
  font-size: 15.5px;
}
.lessonlist span:first-child { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.lessonlist span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.player {
  border: 1px solid var(--border);
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.player__ph { display: grid; gap: 12px; justify-items: center; }
.player__play {
  width: 64px; height: 64px;
  border: 1px solid var(--border-3);
  border-radius: 50%;
  display: grid; place-items: center;
}
.player__play::after {
  content: "";
  width: 0; height: 0;
  border-left: 13px solid var(--ink);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 4px;
}

.two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(20px, 3vw, 54px); }
@media (max-width: 780px) { .two { grid-template-columns: 1fr; } }

.audience { border-top: 1px solid var(--border); }
.audience > div {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: clamp(14px, 2vw, 30px);
  padding: clamp(18px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
@media (max-width: 680px) { .audience > div { grid-template-columns: 1fr; gap: 8px; } }
.audience h3 { font-size: clamp(18px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.024em; }
.audience p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15.5px; max-width: 56ch; }
.audience span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.audience .tag { align-self: start; }

/* =========================================================================
   23. Photography
   Images are treated rather than dropped in: hairline frame, no shadow, full
   colour at all times, with a slow settle out of a very slight zoom on hover.
   If a file is missing the frame still holds its shape, so the grid never
   collapses.
   ========================================================================= */

.ph {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.ph--wide  { aspect-ratio: 16 / 9; }
.ph--tall  { aspect-ratio: 4 / 5; }
.ph--sq    { aspect-ratio: 1 / 1; }
.ph--strip { aspect-ratio: 21 / 9; }

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.02);
  transition: filter 1s var(--ease), transform 1.4s var(--ease-out), opacity .7s var(--ease);
  opacity: 0;
}
.ph img.is-loaded { opacity: 1; }
/* A hairline inner edge only. No colour cast over the photograph. */
.ph::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(17,24,32,.05);
  pointer-events: none;
}

a:hover .ph img, .ph:hover img, .pillar:hover .ph img, .mrow:hover .ph img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1);
}

.ph[data-failed="true"] { background:
  linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%); }
.ph[data-failed="true"]::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; padding: 16px;
}

.cap { display: none; }

/* A full width editorial band */
.plate { display: grid; gap: clamp(20px, 2.4vw, 34px); }
.plate--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
}
@media (max-width: 880px) { .plate--split { grid-template-columns: 1fr; } }

/* Pillar cards, now with a photograph */
.pillar .ph { aspect-ratio: 16 / 10; margin: 0 0 18px; width: 100%; border-width: 0 0 1px 0; }
.pillar { padding: 0; }
.pillar__in { padding: 0 clamp(20px, 2.2vw, 34px) clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 12px; flex: 1; }

/* Compact module rows */
.mrow {
  display: grid;
  grid-template-columns: 96px 60px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.mrow:first-child { border-top: 1px solid var(--border); }
.mrow .ph { aspect-ratio: 16 / 10; }
.mrow__n { font-family: var(--mono); font-size: 12px; letter-spacing: .11em; color: var(--muted); }
.mrow__t {
  font-family: var(--display);
  font-size: clamp(17px, 1.75vw, 27px);
  font-weight: 600; letter-spacing: -.026em; line-height: 1.1;
  transition: transform .5s var(--ease-out), color .3s var(--ease);
}
.mrow:hover .mrow__t { transform: translateX(6px); color: var(--accent); }
.mrow__c { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) {
  .mrow { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .mrow__n { display: none; }
}

/* ---------- 24. The dependency plate ------------------------------------ */

.stackscene__plate { align-self: start; }
.stackscene .schem__stage { aspect-ratio: 5 / 4; }

/* =========================================================================
   25. The assembly
   Six pillar blocks scroll past a drawing that builds itself, one pillar per
   block. The plate stays put while the reading moves.
   ========================================================================= */

.asm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(26px, 4.4vw, 76px);
  align-items: start;
}
@media (max-width: 940px) { .asm { grid-template-columns: 1fr; } }

.asm__plate { position: sticky; top: calc(var(--nav-h) + 26px); }
/* On a phone the plate still follows the reading, but it has to be opaque and
   sit above the list, or the copy runs through it. It is also kept short, so
   there is always more screen for the words than for the drawing. */
@media (max-width: 940px) {
  .asm__plate {
    position: sticky;
    top: calc(var(--nav-h) + 6px);
    z-index: 5;
    margin-bottom: 22px;
    background: var(--paper-lift);
    box-shadow: 0 14px 22px -18px rgba(17,24,32,.55);
  }
  .asm .schem__stage { aspect-ratio: 16 / 10; max-height: 30svh; }
  .asm__list { position: relative; z-index: 1; }
}
@media (max-width: 560px) {
  .asm .schem__stage { aspect-ratio: 16 / 11; max-height: 26svh; }
  .asm__plate .schem__bar span:last-child,
  .asm__plate .schem__foot span:last-child { display: none; }
}

.asm__list { display: grid; }

.asm__item {
  border-top: 1px solid var(--border);
  padding-block: clamp(26px, 3.2vw, 46px);
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: start;
  opacity: .4;
  transition: opacity .55s var(--ease);
}
.asm__item:last-child { border-bottom: 1px solid var(--border); }
.asm__item[data-on="true"] { opacity: 1; }
@media (max-width: 600px) { .asm__item { grid-template-columns: 1fr; } }

.asm__item .ph { aspect-ratio: 1 / 1; }
.asm__k {
  font-family: var(--mono); font-size: 12px; letter-spacing: .13em;
  color: var(--accent); display: block; margin-bottom: 9px;
}
.asm__item h3 {
  font-size: clamp(20px, 1.9vw, 29px);
  font-weight: 600; letter-spacing: -.024em; margin-bottom: 9px;
}
.asm__item p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.asm__item p.asm__out {
  margin-top: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted);
  padding-top: 12px; border-top: 1px solid var(--border-2);
}
.asm__item p.asm__out b { color: var(--ink); font-weight: 500; }

/* =========================================================================
   26. Conversion furniture
   A single primary action per screen, a quiet second path, one repeated
   invitation at the point of most conviction, and a slim bar on phones once
   the hero has gone. Nothing that nags.
   ========================================================================= */

.cta-inline {
  margin-top: clamp(30px, 3.6vw, 52px);
  border-top: 1px solid var(--border);
  padding-top: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.4vw, 34px);
}
.cta-inline p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 22px);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.02em;
  max-width: 34ch;
}
.cta-inline div { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 24px); align-items: center; }

.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 9px var(--gut) calc(9px + env(safe-area-inset-bottom, 0px));
  flex-wrap: nowrap;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(105%);
  transition: transform .45s var(--ease-out);
}
.stickybar[data-show="true"] { transform: translateY(0); }
.stickybar span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.stickybar .btn { padding: 12px 18px; white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 760px) {
  .stickybar { display: flex; }
  /* Leave room for it, so it never sits permanently over the last lines. */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 430px) {
  .stickybar span { display: none; }
  .stickybar { justify-content: center; }
  .stickybar .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }

@media (max-width: 640px) {
  .hero__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-top: 0;
  }
  .hero__fact {
    border-right: 0;
    margin-right: 0;
    padding: 14px 0 14px 0;
    border-top: 1px solid var(--border-2);
  }
  .hero__fact:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--border-2); }
  .hero__fact:nth-child(even) { padding-left: 16px; }
}
