/* ==========================================================================
   The Intelligence Works — site styles · draft v0.1
   Paper whites and greys, midnight blue, one gradient as the only colour.
   ========================================================================== */

/* Gambarino (display) and Switzer (body), both Indian Type Foundry via Fontshare, self-hosted. */
@font-face { font-family: "Gambarino"; src: url("../fonts/gambarino-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Country flags for Windows, which has none: Twemoji art (CC BY 4.0) via country-flag-emoji-polyfill 0.1.8 (MIT). See fonts/twemoji-flags-LICENSE.md */
@font-face { font-family: "Twemoji Flags"; src: url("../fonts/twemoji-flags.woff2") format("woff2"); unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F; font-display: swap; }

:root {
  --paper: #F7F6F2;
  --mist: #ECEBE6;
  --night: #070B16;
  --night-2: #0B1121;
  --ink-dark: #0A0E19;
  --ink-light: #ECEAE4;

  --serif: "Gambarino", "Times New Roman", Georgia, serif;
  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --gap: clamp(16px, 2vw, 32px);
  --max: 1680px;
  --hdr: 76px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* Palettes. d = on midnight, l = on paper (deeper, so glyphs read on white). */
html[data-palette="dusk"]   { --d1: #FF9A3C; --d2: #FF4F7B; --d3: #7B5CFF; --l1: #D9650F; --l2: #D6265A; --l3: #5636E8; }
html[data-palette="aurora"] { --d1: #7A5CFF; --d2: #3CC8FF; --d3: #5CFFB0; --l1: #5532F0; --l2: #0A8FCC; --l3: #0B9A66; }
html[data-palette="signal"] { --d1: #C6F432; --d2: #22C3A6; --d3: #2F5BFF; --l1: #5E8C00; --l2: #0A927C; --l3: #2244D8; }
:root, html[data-palette="ember"] { --d1: #FFB547; --d2: #FF6B4A; --d3: #C2185B; --l1: #C97700; --l2: #DB4325; --l3: #A30F4B; }

/* Section themes. The ASCII engine reads --ink, --tone and --g1..3 from here. */
[data-theme="light"] {
  --bg: var(--paper);
  --fg: var(--ink-dark);
  --fg-2: rgba(10, 14, 25, .68);
  --fg-3: rgba(10, 14, 25, .46);
  --rule: rgba(10, 14, 25, .13);
  --panel: rgba(10, 14, 25, .035);
  --ink: #0A0E19;
  --tone: light;
  --g1: var(--l1); --g2: var(--l2); --g3: var(--l3);
}
[data-theme="dark"] {
  --bg: var(--night);
  --fg: var(--ink-light);
  --fg-2: rgba(236, 234, 228, .7);
  --fg-3: rgba(236, 234, 228, .46);
  --rule: rgba(236, 234, 228, .14);
  --panel: rgba(236, 234, 228, .04);
  --ink: #E9E6DF;
  --tone: dark;
  --g1: var(--d1); --g2: var(--d2); --g3: var(--d3);
}
.sec--mist { --bg: var(--mist); }
.sec--night2 { --bg: var(--night-2); }

/* Dark mode: the paper sections turn to lighter shades of midnight. */
html[data-mode="dark"] [data-theme="light"] {
  --bg: #0E1528;
  --fg: var(--ink-light);
  --fg-2: rgba(236, 234, 228, .7);
  --fg-3: rgba(236, 234, 228, .46);
  --rule: rgba(236, 234, 228, .14);
  --panel: rgba(236, 234, 228, .04);
  --ink: #E9E6DF;
  --tone: dark;
  --g1: var(--d1); --g2: var(--d2); --g3: var(--d3);
}
html[data-mode="dark"] .sec--mist[data-theme="light"] { --bg: #121B31; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink-light);
  font: 300 16px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--d2); color: #fff; }
:focus-visible { outline: 2px solid var(--g2, #FF4F7B); outline-offset: 4px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 12px 16px; background: var(--paper); color: var(--ink-dark);
  border-radius: 8px; transform: translateY(-160%); transition: transform .3s;
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

.sec {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding: clamp(112px, 13vw, 208px) 0;
  transition: background-color .6s var(--ease-io), color .6s var(--ease-io);
}
.seam {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: 100%; height: 64px;
  pointer-events: none;
}

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.3rem, 9.4vw, 10.6rem);
  line-height: .92;
  letter-spacing: -.028em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 6.1rem);
  line-height: 1.04;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.lead {
  font-weight: 300;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.5;
  color: var(--fg-2);
  text-wrap: pretty;
}
.body { color: var(--fg-2); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.body + .body { margin-top: 1em; }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.grad {
  background: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow b { font-weight: 500; color: var(--fg); }
.eyebrow::after { content: ""; flex: 0 0 56px; height: 1px; background: var(--rule); }

/* headline word reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .06em .26em; margin: -.16em -.06em -.26em; text-indent: 0; }
.w__i { position: relative; display: inline-block; will-change: transform; text-indent: 0; }
html.js [data-split] .w__i {
  transform: translate3d(0, 112%, 0);
  transition: transform 1.25s var(--ease);
  transition-delay: calc(var(--wi, 0) * 60ms + var(--rd, 0s));
}
html.js [data-split].is-in .w__i { transform: none; }
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--rd, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- provenance tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 10px;
  border: 1px solid var(--rule); border-radius: 999px;
  font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-2); white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.tag--bench::before { background: var(--g3); }
.tag--dir::before { background: var(--g1); }
.tag--self::before { border: 1px solid var(--fg-2); }
.tag--target::before { background: var(--g2); }
.legend { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--fg-3); font-size: 13px; }
.legend li { display: flex; gap: 10px; align-items: center; }

/* ---------- buttons & links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  height: 56px; padding: 0 26px 0 28px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -.005em;
  white-space: nowrap;
  transition: color .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .8s var(--ease);
}
.btn--primary:hover { color: #fff; }
.btn--primary:hover::before { transform: scaleX(1); }
.btn--ghost { border: 1px solid var(--rule); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn__arrow { position: relative; width: 1em; height: 1em; overflow: hidden; flex: 0 0 auto; }
.btn__arrow i { position: absolute; inset: 0; font-style: normal; line-height: 1; transition: transform .7s var(--ease); }
.btn__arrow i + i { transform: translateX(-130%); }
.btn:hover .btn__arrow i { transform: translateX(130%); }
.btn:hover .btn__arrow i + i { transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* the constellation: on mouse devices js gives each button a canvas of cubes (.has-swarm) and swaps the fill as they part or form */
.has-swarm { overflow: visible; transition: color .6s var(--ease), border-color .6s var(--ease); }
.has-swarm::before { display: none; }
.swarm { position: absolute; z-index: -1; pointer-events: none; max-width: none; }
.btn--primary.is-swarm, .hdr__cta.is-swarm { background: transparent; }
.btn--primary.has-swarm:hover { color: var(--bg); }
.btn--primary.has-swarm.is-open { color: var(--fg); transition-delay: .22s; }
.btn--ghost.has-swarm.is-open { color: var(--bg); border-color: transparent; transition-delay: .25s; }
.btn--ghost.has-swarm.is-filled { background: var(--fg); border-color: var(--fg); }

.link {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 0 8px;
  font: 500 15px/1.2 var(--sans); color: var(--fg);
}
.link::before, .link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.link::before { background: var(--rule); }
.link::after {
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.link .btn__arrow { width: .9em; height: .9em; }
.link:hover .btn__arrow i { transform: translateX(130%); }
.link:hover .btn__arrow i + i { transform: none; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  color: var(--hfg);
  transition: color .5s var(--ease-io), background-color .5s var(--ease-io), transform .7s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.hdr[data-on="dark"]  { --hfg: #ECEAE4; --hrule: rgba(236, 234, 228, .18); --hbg: rgba(7, 11, 22, .74); }
.hdr[data-on="light"] { --hfg: #0A0E19; --hrule: rgba(10, 14, 25, .14); --hbg: rgba(247, 246, 242, .8); }
html[data-mode="dark"] .hdr[data-on="light"] { --hfg: #ECEAE4; --hrule: rgba(236, 234, 228, .18); --hbg: rgba(14, 21, 40, .78); }
.hdr.is-scrolled {
  background: var(--hbg);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--hrule);
}
.hdr.is-hidden { transform: translateY(-101%); }
.mark { font-family: var(--serif); font-size: 23px; letter-spacing: -.012em; line-height: 1; white-space: nowrap; }
.hdr__nav { display: flex; gap: 34px; }
.hdr__nav a { position: relative; font-size: 14px; padding: 10px 0; }
.hdr__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s var(--ease);
}
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.hdr__tools { display: flex; align-items: center; gap: 10px; }
.hdr__meter { font: 500 11px/1 var(--mono); letter-spacing: .12em; opacity: .55; min-width: 64px; text-align: right; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--hrule, var(--rule));
  transition: border-color .4s, transform .6s var(--ease);
}
.icon-btn:hover { border-color: currentColor; }
.icon-btn svg { width: 16px; height: 16px; }
html[data-mode="dark"] .mode-btn svg { transform: rotate(180deg); }
.mode-btn svg { transition: transform .8s var(--ease); }
.burger { display: none; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--night); color: var(--ink-light);
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .9s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 40px; gap: 6px; }
.menu__inner a { font-family: var(--serif); font-size: clamp(3rem, 14vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }
.menu__inner p { margin-top: 32px; color: rgba(236, 234, 228, .5); }

/* ---------- veil: loader + page transitions ---------- */
.veil { position: fixed; inset: 0; z-index: 100; display: none; pointer-events: none; }
html.veil-on .veil { display: block; pointer-events: auto; background: var(--night); }
html.veil-on .veil.is-clear { background: transparent; }
.veil canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  font: 500 11px/1.7 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: rgba(236, 234, 228, .55);
  transition: opacity .3s;
}
.veil__meta b { color: #ECEAE4; font-weight: 500; }
.veil.is-clear .veil__meta, .veil:not(.is-loading) .veil__meta { opacity: 0; }

/* ---------- draft palette switcher ---------- */
.draft {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 8px 0 16px;
  border-radius: 999px;
  background: rgba(7, 11, 22, .84);
  border: 1px solid rgba(236, 234, 228, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #ECEAE4;
  font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.draft__label span { color: rgba(236, 234, 228, .5); }
.draft__list { display: flex; gap: 6px; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--a), var(--b) 55%, var(--c));
  box-shadow: inset 0 0 0 2px rgba(7, 11, 22, .9);
  border: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: #ECEAE4; }

/* ---------- hero ---------- */
.hero { padding: 0; }
.hero__track { position: relative; height: 190vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: calc(var(--hdr) + 28px); padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); /* clears the Personalise pill */
  pointer-events: none;
}
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__eyebrow { justify-content: space-between; }
.hero__eyebrow::after { display: none; }
.hero__body { margin-top: auto; transform: translate3d(0, calc(var(--hp, 0) * -60px), 0); opacity: calc(1 - var(--hp, 0) * 1.6); }
.hero__scroll { position: absolute; left: 50%; bottom: clamp(20px, 3.4vh, 34px); transform: translateX(-50%); opacity: calc(1 - var(--hp, 0) * 3); }
.hero__title { max-width: 10.5ch; }
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-top: clamp(24px, 4vh, 44px); }
.hero__foot .lead { grid-column: 1 / span 5; color: var(--fg-2); }
.hero__foot .btns { grid-column: 8 / span 5; justify-content: flex-end; }
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 18vh; z-index: 2;
  text-align: center; color: var(--fg-2);
  opacity: calc((var(--hp, 0) - .55) * 3);
  transform: translate3d(0, calc((1 - var(--hp, 0)) * 30px), 0);
  pointer-events: none;
}
.hero__caption .h3 { color: var(--fg); margin-top: 14px; }
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--fg-3); }
.hero__scroll i { position: relative; width: 56px; height: 1px; background: var(--rule); overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--g1), var(--g3));
  animation: scrollcue 2.6s var(--ease-io) infinite;
}
@keyframes scrollcue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
html.is-halted .hero__scroll i::after { animation: none; }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; }
.head > .eyebrow { grid-column: 1 / -1; }
.head > .h2 { grid-column: 1 / span 10; }
.head > .lead { grid-column: 7 / span 5; margin-top: 12px; }
.head--narrow > .h2 { grid-column: 1 / span 8; }

/* ---------- 01 gap ---------- */
.viz { position: relative; margin: clamp(56px, 7vw, 104px) 0; }
.viz canvas { width: 100%; }
.gap__canvas { height: clamp(300px, 40vw, 520px); }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pair { border-top: 1px solid var(--rule); padding-top: 22px; }
.pair__place { display: flex; justify-content: space-between; color: var(--fg-3); }
.pair__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 18px; margin-top: 28px; }
.pair__gap { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 46px; color: var(--fg-3); }
.pair__gap i { display: block; width: clamp(40px, 6vw, 96px); height: 1px; background: repeating-linear-gradient(90deg, var(--fg-3) 0 4px, transparent 4px 8px); }
.stat__n { font-family: var(--serif); font-size: clamp(3.6rem, 8vw, 8.6rem); line-height: .86; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat__u { font-family: var(--serif); font-size: .5em; vertical-align: top; margin-left: .04em; }
.stat p { margin-top: 14px; color: var(--fg-2); font-size: 15px; line-height: 1.5; max-width: 26ch; }
.stat--low .stat__n { color: var(--fg-3); }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(80px, 10vw, 150px); }
.reason { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.reason__n { font-family: var(--serif); font-size: 22px; color: var(--fg-3); }
.reason .tag { align-self: flex-start; margin-top: auto; }

.pull { margin-top: clamp(96px, 12vw, 176px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.pull p {
  grid-column: 2 / span 10;
  font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.018em;
  text-indent: -.42em; text-wrap: balance;
}
.pull cite { grid-column: 2 / span 10; font-style: normal; color: var(--fg-3); margin-top: 18px; }

/* ---------- console panel (canvas in a frame) ---------- */
.panel { border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--panel); }
.panel__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: 44px; padding: 0 18px; border-bottom: 1px solid var(--rule);
  color: var(--fg-3);
}
.panel__bar b { color: var(--fg); font-weight: 500; }
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--fg-3); }
.panel__dots i:first-child { border: 0; background: linear-gradient(135deg, var(--g1), var(--g3)); }
html.is-halted .panel__dots i:first-child { background: none; border: 1px solid var(--fg-3); }

/* ---------- 02 layer ---------- */
.layer__canvas { height: clamp(420px, 46vw, 600px); }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(56px, 6vw, 96px); }
.steps4 li { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.steps4 .mono { color: var(--fg-3); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(72px, 8vw, 120px); }
.fig { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.fig__n { font-family: var(--serif); font-size: clamp(3rem, 5.6vw, 5.8rem); line-height: .9; letter-spacing: -.03em; }
.fig p { color: var(--fg-2); font-size: 15px; max-width: 30ch; }
.fig .tag { align-self: flex-start; }
.fig__src { color: var(--fg-3); font: 400 12px/1.5 var(--mono); letter-spacing: .02em; }

/* ---------- 03 outcomes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) var(--gap); margin-top: clamp(64px, 7vw, 112px); }
.card {
  position: relative; display: flex; flex-direction: column;
  border-top: 1px solid var(--rule); padding-top: 18px;
}
.card::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease);
}
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card__top { display: flex; justify-content: space-between; align-items: center; color: var(--fg-3); }
.card canvas { width: 100%; height: 150px; margin: 18px 0 22px; }
.card__metric { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.card__metric b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 3.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.card__metric span { color: var(--fg-3); font-size: 14px; line-height: 1.3; }
.card .body { margin-top: 12px; font-size: 15px; }

/* ---------- 04 corridors ---------- */
.corr { margin-top: clamp(64px, 7vw, 112px); align-items: start; }
.corr__list { grid-column: 7 / span 6; border-bottom: 1px solid var(--rule); }
.row { border-top: 1px solid var(--rule); }
.row__btn {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 28px; align-items: center; gap: 16px;
  padding: 26px 0;
}
.row__letter { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--fg-3); transition: color .5s; }
.row__name { font-family: var(--serif); font-size: clamp(1.4rem, 2.1vw, 2.1rem); line-height: 1.08; letter-spacing: -.01em; }
.row__geo { display: block; margin-top: 8px; color: var(--fg-3); }
.row__plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.row__plus::before, .row__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.row__plus::after { transform: rotate(90deg); }
.row.is-open .row__plus::after { transform: rotate(0); }
.row.is-open .row__letter, .row__btn:hover .row__letter {
  background: linear-gradient(120deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.row.is-open .row__panel { grid-template-rows: 1fr; }
.row__panel > div { overflow: hidden; }
.row__inner { padding: 0 0 32px 72px; display: flex; flex-direction: column; gap: 18px; }
.row__inner canvas { width: 100%; height: 120px; }
.row__inner .mono { color: var(--fg-3); }
.rule-note { margin-top: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.rule-note p { grid-column: 7 / span 6; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.2; }

/* ---------- 05 evidence ---------- */
.payback__canvas { height: clamp(300px, 34vw, 460px); }
.evid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) var(--gap); }
.evid .fig { grid-column: span 2; margin-top: 0; }
.evid .fig:nth-child(4), .evid .fig:nth-child(5) { grid-column: span 3; }
.evid__foot { margin-top: clamp(56px, 6vw, 88px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; border-top: 1px solid var(--rule); padding-top: 24px; }

/* ---------- 06 pilot ---------- */
.ninety__canvas { height: clamp(260px, 24vw, 340px); }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.phase { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.phase__days { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.02em; }
.phase .mono { color: var(--fg-3); }
.phase ul { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.phase li { position: relative; padding-left: 18px; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.phase li::before { content: "·"; position: absolute; left: 4px; color: var(--g2); font-weight: 700; }
.after-link { margin-top: clamp(48px, 5vw, 72px); }

/* ---------- 07 trust ---------- */
.trust { margin-top: clamp(64px, 7vw, 112px); align-items: start; }
.trust__panel { grid-column: 1 / span 7; }
.audit__canvas { height: clamp(380px, 34vw, 500px); }
.trust__list { grid-column: 9 / span 4; }
.control { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--rule); }
.control:last-child { border-bottom: 1px solid var(--rule); }
.control .mono { color: var(--fg-3); padding-top: 6px; }
.control h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.control p { grid-column: 2; color: var(--fg-2); font-size: 15px; line-height: 1.5; }

.principle {
  margin-top: clamp(80px, 9vw, 140px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
}
.principle .mono { grid-column: 1 / span 3; color: var(--fg-3); padding-top: 12px; }
.principle p { grid-column: 4 / span 8; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 3.4rem); line-height: 1.1; letter-spacing: -.016em; text-wrap: balance; }

/* ---------- CTA ---------- */
.cta { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta .wrap { position: relative; z-index: 2; pointer-events: none; }
.cta .wrap a { pointer-events: auto; }
.cta__title { max-width: 9ch; }
.cta__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.cta__row .lead { grid-column: 1 / span 5; }
.cta__row .btns { grid-column: 8 / span 5; justify-content: flex-end; }

/* ---------- footer ---------- */
.ftr { padding: clamp(80px, 9vw, 140px) 0 120px; }
.ftr__mark { font-family: var(--serif); line-height: .86; letter-spacing: -.035em; white-space: nowrap; font-size: 9vw; }
.ftr__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); margin-top: clamp(56px, 6vw, 96px); padding-top: 28px; border-top: 1px solid var(--rule); }
.ftr__col { grid-column: span 3; display: flex; flex-direction: column; gap: 10px; }
.ftr__col .mono { color: var(--fg-3); margin-bottom: 8px; }
.ftr__col a { color: var(--fg-2); transition: color .3s; width: fit-content; }
.ftr__col a:hover { color: var(--fg); }
.clock { display: flex; justify-content: space-between; gap: 16px; color: var(--fg-2); font-variant-numeric: tabular-nums; max-width: 240px; }
.clock b { font-weight: 400; color: var(--fg); font-family: var(--mono); font-size: 14px; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; color: var(--fg-3); font-size: 13px; }
.ftr__base a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; transition: color .3s; }
.ftr__base a:hover { color: var(--fg); }

/* ---------- page heroes (method / company) ---------- */
.phero { position: relative; min-height: 100vh; min-height: 100svh; padding: 0; display: flex; overflow: hidden; }
.phero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--hdr) + 28px); padding-bottom: clamp(32px, 6vh, 64px); pointer-events: none; }
.phero .wrap a { pointer-events: auto; }
.phero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; margin-top: 36px; }
.phero__foot .lead { grid-column: 1 / span 5; }
.toc { grid-column: 8 / span 5; display: flex; flex-direction: column; }
.toc a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 15px; transition: padding .6s var(--ease); }
.toc a:last-child { border-bottom: 1px solid var(--rule); }
.toc a .mono { color: var(--fg-3); }
.toc a:hover { padding-left: 10px; }

/* ---------- method: the stack ---------- */
.stack { padding: 0; }
.stack__track { position: relative; height: 420vh; }
.stack__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.stack__grid { width: 100%; align-items: center; }
.stack__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 28px; }
.stack__canvas { grid-column: 6 / span 7; width: 100%; height: min(78vh, 720px); }
.stack__steps { display: flex; flex-direction: column; gap: 4px; }
.stack__step { padding: 16px 0 16px 20px; border-left: 1px solid var(--rule); opacity: .32; transition: opacity .6s var(--ease), border-color .6s; cursor: pointer; }
.stack__step.is-active { opacity: 1; border-image: linear-gradient(180deg, var(--g1), var(--g3)) 1; }
.stack__step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.1; }
.stack__step p { color: var(--fg-2); font-size: 15px; line-height: 1.5; margin-top: 8px; max-width: 44ch; }
.stack__step .mono { color: var(--fg-3); display: block; margin-bottom: 8px; }
.discipline { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.discipline .mono { grid-column: 1 / span 3; color: var(--fg-3); padding-top: 12px; }
.discipline p { grid-column: 4 / span 8; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 3.4rem); line-height: 1.1; letter-spacing: -.016em; text-wrap: balance; }

/* ---------- method: controls ---------- */
.matrix__canvas { height: clamp(320px, 30vw, 420px); }
.ctl { margin-top: clamp(56px, 6vw, 96px); align-items: start; }
.ctl__panel { grid-column: 1 / span 6; position: sticky; top: calc(var(--hdr) + 32px); }
.ctl__list { grid-column: 8 / span 5; }
.sov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(72px, 8vw, 120px); }
.sov li { border-top: 1px solid var(--rule); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.sov .mono { color: var(--fg-3); }
.sov p { color: var(--fg-2); font-size: 15px; line-height: 1.5; }

/* ---------- method: measures ---------- */
.ticker__canvas { height: 64px; margin-top: clamp(48px, 5vw, 72px); }
.mtable { width: 100%; border-collapse: collapse; margin-top: clamp(40px, 4vw, 64px); }
.mtable th { text-align: left; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); padding: 0 16px 16px 0; border-bottom: 1px solid var(--rule); }
.mtable td { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--fg-2); font-size: 15px; line-height: 1.45; }
.mtable td:first-child { font-family: var(--mono); font-size: 12px; color: var(--fg-3); padding-top: 26px; width: 48px; }
.mtable td.v { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.8rem); color: var(--fg); line-height: 1.1; }
.mtable tbody tr { transition: background-color .4s; }
.mtable tbody tr:hover { background: var(--panel); }
.mtable tr.roll td { color: var(--fg); }

/* ---------- method: calculator ---------- */
.calc { margin-top: clamp(56px, 6vw, 96px); align-items: start; }
.calc__in { grid-column: 1 / span 5; }
.calc__out { grid-column: 7 / span 6; position: sticky; top: calc(var(--hdr) + 32px); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule);
  font: 500 13px/1 var(--sans); color: var(--fg-2);
  transition: color .4s, border-color .4s, background-color .4s;
}
.tab:hover { color: var(--fg); border-color: var(--fg-3); }
.tab[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.field { padding: 18px 0 20px; border-top: 1px solid var(--rule); }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.field label { font-size: 15px; color: var(--fg); }
.field output, .field input[type="number"] { font-family: var(--mono); font-size: 14px; color: var(--fg); }
.field input[type="number"] {
  width: 120px; text-align: right; background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 4px 0; -moz-appearance: textfield; appearance: textfield;
}
.field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
.field small { display: block; margin-top: 10px; color: var(--fg-3); font-size: 12.5px; line-height: 1.45; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 10px 0 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--g1), var(--g2) var(--fill, 50%), var(--rule) var(--fill, 50%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--rule); }
input[type="range"]::-moz-range-progress { height: 2px; background: linear-gradient(90deg, var(--g1), var(--g2)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg); transition: transform .4s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg); }
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.2); }
.outs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.out { padding: 20px 0; border-top: 1px solid var(--rule); }
.out .mono { color: var(--fg-3); display: block; }
.out b { display: block; margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.out small { display: block; margin-top: 8px; color: var(--fg-3); font-size: 13px; }
.out--hero { grid-column: 1 / -1; }
.out--hero b { font-size: clamp(3rem, 5.4vw, 5.6rem); }
.calc__canvas { height: 220px; margin: 8px 0 16px; }
.calc__note { color: var(--fg-3); font-size: 13px; line-height: 1.55; margin-top: 16px; }

/* ---------- company ---------- */
.compose__canvas { height: clamp(220px, 22vw, 300px); margin-top: clamp(48px, 5vw, 80px); }
.princ { margin-top: clamp(48px, 5vw, 80px); border-bottom: 1px solid var(--rule); }
.princ li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px var(--gap); padding: 30px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.princ .mono { grid-column: 1 / span 1; color: var(--fg-3); }
.princ h3 { grid-column: 2 / span 6; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.9rem); line-height: 1.06; letter-spacing: -.015em; transition: transform .8s var(--ease); }
.princ p { grid-column: 9 / span 4; color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.princ li:hover h3 { transform: translateX(12px); }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(64px, 7vw, 112px); }
.founder { border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--panel); display: flex; flex-direction: column; }
.founder canvas { width: 100%; height: clamp(220px, 22vw, 300px); border-bottom: 1px solid var(--rule); }
.founder__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; }
.founder__body .mono { color: var(--fg-3); }
.founder__body .tbc { color: var(--g2); }

.zones { margin-top: clamp(56px, 6vw, 96px); }
.zones__canvas { height: clamp(260px, 26vw, 360px); }
.cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.city { border-top: 1px solid var(--rule); padding-top: 18px; }
.city__time { font-family: var(--serif); font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 10px; }
.city .mono { color: var(--fg-3); }
.city p { color: var(--fg-2); font-size: 15px; margin-top: 10px; }

.partner { margin-top: clamp(56px, 6vw, 96px); align-items: center; }
.partner__canvas { grid-column: 1 / span 6; width: 100%; height: clamp(320px, 32vw, 460px); }
.partner__list { grid-column: 8 / span 5; }

.contact { margin-top: clamp(56px, 6vw, 96px); align-items: start; }
.form { grid-column: 1 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.form .f { grid-column: span 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 1px solid var(--rule); }
.form .f--wide { grid-column: 1 / -1; }
.form label { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.form input, .form select, .form textarea {
  width: 100%; background: transparent; border: 0; color: var(--fg);
  font: 400 18px/1.4 var(--sans); padding: 6px 0;
  border-radius: 0;
}
.form select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { color: #0A0E19; }
.form textarea { min-height: 120px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--fg-3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; }
.form .f:focus-within { border-top-color: var(--g2); }
.form__send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; border-top: 1px solid var(--rule); }
.form__send p { color: var(--fg-3); font-size: 13px; max-width: 36ch; }
.form__status { grid-column: 1 / -1; color: var(--fg-2); font-size: 15px; min-height: 1.5em; margin-top: 16px; }
.ticket { grid-column: 8 / span 5; position: sticky; top: calc(var(--hdr) + 32px); }
.ticket__canvas { height: clamp(320px, 30vw, 420px); }
.direct { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-top: 1px solid var(--rule); }
.direct .mono { color: var(--fg-3); }

/* ---------- first visit: the loader is the hero ---------- */
.intro {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 48px); z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 var(--gutter);
  font: 500 11px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
  opacity: 0; transition: opacity .8s var(--ease); pointer-events: none;
}
.intro b { color: var(--fg); font-weight: 500; }
.intro__count { font: 400 clamp(2.4rem, 4vw, 3.6rem)/1 var(--serif); letter-spacing: -.02em; color: var(--fg); text-transform: none; font-variant-numeric: tabular-nums; }
html.is-intro .intro { opacity: 1; }
html.is-intro .hdr, html.is-intro .hero__inner, html.is-intro .draft { opacity: 0; pointer-events: none; }
html.is-intro, html.is-intro body { overflow: hidden; }
.hdr { transition: color .5s var(--ease-io), background-color .5s var(--ease-io), transform .7s var(--ease), border-color .5s, opacity 1.4s var(--ease); }
.hero__inner, .draft { transition: opacity 1.4s var(--ease); }

/* ---------- the gap, in one pair of numbers ---------- */
.gapnums { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; }
.gapnums .pair { grid-column: 1 / span 7; }
.gapnums__note { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.gapnums__note p:first-child { font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1.15; letter-spacing: -.01em; }
.src { color: var(--fg-3); font: 400 12px/1.5 var(--mono); letter-spacing: .02em; }

/* ---------- your day, before and after ---------- */
.day__canvas { height: clamp(320px, 27vw, 380px); }
.day__note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--fg-3); padding: 14px 18px; border-top: 1px solid var(--rule); }

/* ---------- who it's for: the sector pictogram ---------- */
.corr__art { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr) + 4vh); }
.corr__art canvas { width: 100%; max-width: 100%; aspect-ratio: 1 / 1; height: auto; }
.corr__art .mono { color: var(--fg-3); margin-top: 12px; text-align: center; }

/* ---------- calculator: currency ---------- */
.calc__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.calc__top .tabs { margin-bottom: 0; }
.cur { display: inline-flex; align-items: center; gap: 10px; color: var(--fg-3); }
.cur select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  height: 40px; padding: 0 36px 0 16px; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; color: var(--fg); font: 500 13px/1 var(--sans);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 19px) 52%, calc(100% - 14px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.cur select option { color: #0A0E19; }

/* ==========================================================================
   v0.3 — menu, loader, personal dialog and the new illustrations
   ========================================================================== */
.display { line-height: .98; }
.hdr__nav, .mode-btn, .burger, .hdr__meter { display: none !important; }
.hdr__cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  font: 500 14px/1 var(--sans); background: var(--hfg); color: var(--hbtn);
  transition: color .5s var(--ease);
}
.hdr[data-on="dark"] { --hbtn: #0A0E19; }
.hdr[data-on="light"] { --hbtn: #F7F6F2; }
.hdr__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--d1), var(--d2), var(--d3)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.hdr__cta:hover { color: #fff; }
.hdr__cta:hover::before { transform: scaleX(1); }
.hdr__cta.has-swarm { overflow: visible; }
.hdr__cta.has-swarm::before { display: none; }
.hdr__cta.has-swarm:hover { color: var(--hbtn); }
.hdr__cta.has-swarm.is-open { color: var(--hfg); transition-delay: .12s; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px 0 18px;
  border: 1px solid var(--hrule); border-radius: 999px; font: 500 14px/1 var(--sans);
  transition: border-color .4s;
}
.menu-btn:hover { border-color: currentColor; }
.menu-btn i { position: relative; width: 16px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-btn:hover i::before { transform: translateX(3px); } .menu-btn:hover i::after { transform: translateX(-3px); }

/* the menu: a midnight curtain with a dithered edge, then the pages rise in */
.nav { position: fixed; inset: 0; z-index: 90; display: none; color: #ECEAE4; }
.nav.is-on { display: block; }
.nav__panel { position: absolute; inset: 0; background: var(--night); clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); }
.nav.is-open .nav__panel { clip-path: inset(0 0 0 0); }
.nav__edge { position: absolute; left: 0; right: 0; top: 0; height: 64px; transform: translateY(0); transition: transform 1s var(--ease); pointer-events: none; }
.nav.is-open .nav__edge { transform: translateY(100vh); }
.nav__inner {
  position: relative; z-index: 2; height: 100%;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gap);
  padding-bottom: 28px;
}
.nav__top { grid-column: 1 / -1; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; }
.nav__close {
  display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px 0 18px;
  border: 1px solid rgba(236, 234, 228, .22); border-radius: 999px; font: 500 14px/1 var(--sans); transition: border-color .4s;
}
.nav__close:hover { border-color: #ECEAE4; }
.nav__close i { position: relative; width: 12px; height: 12px; }
.nav__close i::before, .nav__close i::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.nav__close i::before { transform: rotate(45deg); } .nav__close i::after { transform: rotate(-45deg); }
.nav__close:hover i::before { transform: rotate(135deg); } .nav__close:hover i::after { transform: rotate(45deg); }
.nav__links { grid-column: 1 / span 7; align-self: center; }
.nav__links li { opacity: 0; transform: translateY(46px); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.nav.is-open .nav__links li { opacity: 1; transform: none; transition-delay: calc(.38s + var(--i) * .07s); }
.nav__links a { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; column-gap: 12px; padding: 14px 0 16px; border-top: 1px solid rgba(236, 234, 228, .1); }
.nav__n { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: rgba(236, 234, 228, .45); }
.nav__t { display: inline-block; font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.04; letter-spacing: -.025em; transition: transform .8s var(--ease), opacity .4s; }
.nav__d { grid-column: 2; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 234, 228, .45); margin-top: 8px; }
.nav__links:hover a:not(:hover) .nav__t { opacity: .3; }
.nav__links a:hover .nav__t, .nav__links a:focus-visible .nav__t {
  transform: translateX(16px);
  background: linear-gradient(100deg, var(--d1), var(--d2) 55%, var(--d3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav__links a[aria-current="page"] .nav__n { color: var(--d2); }
.nav__preview { grid-column: 8 / span 5; align-self: center; position: relative; aspect-ratio: 1 / 1; border: 1px solid rgba(236, 234, 228, .12); border-radius: 18px; overflow: hidden; opacity: 0; transition: opacity .8s var(--ease) .5s; }
.nav.is-open .nav__preview { opacity: 1; }
.nav__preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nav__preview p { position: absolute; left: 18px; bottom: 16px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(236, 234, 228, .55); }
.nav__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 500 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 234, 228, .45); opacity: 0; transition: opacity .8s .6s; }
.nav.is-open .nav__foot { opacity: 1; }
.nav__foot a:hover { color: #ECEAE4; }
html.nav-open, html.nav-open body, html.is-loading, html.is-loading body { overflow: hidden; }

/* loader: the wordmark sets itself, letter by letter, above a landscape of characters */
.loader { position: fixed; inset: 0; z-index: 120; background: var(--night); color: #ECEAE4; transition: opacity 1s var(--ease) .15s; }
.loader.is-out { opacity: 0; pointer-events: none; }
.loader__field { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__logo {
  position: absolute; left: 0; right: 0; top: 27%; transform: translateY(-50%); text-align: center; pointer-events: none;
  font-family: var(--serif); font-size: clamp(1.75rem, 7.6vw, 6.4rem); line-height: 1.1; letter-spacing: -.025em; white-space: nowrap;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease);
}
.loader__logo span {
  display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(12px);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: calc(250ms + var(--i) * 55ms);
}
.loader.is-in .loader__logo span { opacity: 1; transform: none; filter: blur(0); }
.loader.is-out .loader__logo { transform: translateY(calc(-50% - 28px)); opacity: 0; }
/* the personal dialog */
.me {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: min(360px, calc(100vw - 32px)); padding: 20px 20px 18px;
  background: rgba(247, 246, 242, .94); color: var(--fg); border: 1px solid var(--rule); border-radius: 20px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(7, 11, 22, .2);
  transform: translateY(calc(100% + 40px)); opacity: 0; transition: transform 1s var(--ease), opacity .6s; pointer-events: none;
}
.me.is-in { transform: none; opacity: 1; pointer-events: auto; }
.me__x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--fg-3); transition: background-color .3s, color .3s; }
.me__x:hover { background: var(--panel); color: var(--fg); }
.me__x::before, .me__x::after { content: ""; position: absolute; width: 12px; height: 1px; background: currentColor; transform: rotate(45deg); }
.me__x::after { transform: rotate(-45deg); }
.me__k { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.me h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; margin-top: 10px; padding-right: 28px; }
.me form { display: grid; gap: 10px; margin-top: 14px; }
.me .pair2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.me input[type="text"], .me input[type="email"], .me select {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 10px;
  background: rgba(255, 255, 255, .7); color: var(--fg); font: 300 15px/1 var(--sans);
}
.me select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.me input:focus, .me select:focus { outline: none; border-color: var(--g2); }
.me .check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--fg-2); }
.me .check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--g2); }
.me .btn { height: 46px; justify-content: center; width: 100%; }
.me__fine { font-size: 11.5px; line-height: 1.45; color: var(--fg-3); }
.me__done { margin-top: 12px; font-size: 14px; color: var(--fg-2); }
.me__done b { font-weight: 500; color: var(--fg); }
.me__record { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--panel); font: 400 11.5px/1.5 var(--mono); color: var(--fg-2); }
.me__chip { display: inline-flex; align-items: center; gap: 8px; }
.me__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--d1), var(--d3)); }
.me--pill { width: auto; padding: 0; border-radius: 999px; }
.me--pill > *:not(.me__open) { display: none; }
.me__open { display: none; height: 44px; padding: 0 18px; font: 500 14px/1 var(--sans); align-items: center; gap: 10px; }
.me--pill .me__open { display: inline-flex; }

/* type and match: business and country boxes, with quick picks and flags */
.combo { position: relative; }
.me .combo input { padding-right: 104px; }
.combo.has-flag input { padding-left: 42px; }
.combo__tag { position: absolute; right: 12px; top: 21px; transform: translateY(-50%); font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--g2); pointer-events: none; white-space: nowrap; }
.combo__flag { position: absolute; left: 12px; top: 21px; transform: translateY(-50%); display: flex; pointer-events: none; }
.combo__list { list-style: none; margin: 6px 0 0; padding: 4px; display: grid; gap: 2px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); box-shadow: 0 12px 30px rgba(7, 11, 22, .08); }
.combo__list[hidden] { display: none; }
.combo__list li { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1.25; color: var(--fg-2); }
.combo__list li[aria-selected="true"] { background: var(--panel); color: var(--fg); }
.combo__list li b { font-weight: 500; color: var(--fg); }
.combo__list small { margin-left: auto; padding-left: 10px; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.form .combo input { padding-right: 120px; }
.form .combo__tag, .form .combo__flag { top: 56px; left: auto; }
.form .combo__flag { left: 0; }
.form .combo.has-flag input { padding-left: 34px; }
.flag { font-size: 1.15em; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; letter-spacing: 0; }
.flagfont .flag { font-family: "Twemoji Flags", "Segoe UI Emoji", sans-serif; }
.me__picks { display: flex; flex-wrap: wrap; gap: 6px; }
.me__picks button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12.5px; color: var(--fg-2); transition: border-color .3s, color .3s, background-color .3s; }
.me__picks button:hover { color: var(--fg); }
.me__picks button[aria-pressed="true"] { border-color: var(--g2); color: var(--fg); background: rgba(255, 255, 255, .85); }
.sweep { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; z-index: 65; pointer-events: none; background: transparent; }

/* highlighted words: drawn in moving characters */
.gw { position: absolute; left: -.08em; top: -.1em; width: calc(100% + .16em); height: calc(100% + .2em); pointer-events: none; max-width: none; }
/* the highlighted word is drawn by its characters; the type stays underneath as a faint guide */
.w__i.grad.has-gw { background-image: linear-gradient(100deg, color-mix(in srgb, var(--g1) 24%, transparent), color-mix(in srgb, var(--g2) 24%, transparent) 55%, color-mix(in srgb, var(--g3) 24%, transparent)); }

/* outcome cards, centred */
.card { align-items: center; text-align: center; }
.card__top { justify-content: center; }
.card__metric { flex-direction: column; align-items: center; gap: 8px; }
.card__metric span { max-width: 24ch; }

/* how it fits: one stage, four steps */
.fit { margin-top: clamp(48px, 5vw, 80px); }
.fit__canvas { height: clamp(340px, 34vw, 460px); }
.fit__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fit__step { position: relative; text-align: left; padding: 22px 18px 24px 0; border-top: 1px solid var(--rule); opacity: .42; transition: opacity .5s var(--ease); }
.fit__step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--g1), var(--g3)); transform: scaleX(0); transform-origin: 0 50%; }
.fit__step.is-on { opacity: 1; }
.fit__step.is-on::before { animation: fill 5.2s linear forwards; }
.fit.is-held .fit__step.is-on::before { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.fit__step .mono { color: var(--fg-3); }
.fit__step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.1; margin-top: 10px; }
.fit__step p { color: var(--fg-2); font-size: 14px; line-height: 1.5; margin-top: 6px; max-width: 30ch; }

/* your day: a dial and a switch */
.dial { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: center; margin-top: clamp(48px, 5vw, 80px); }
.dial__art { grid-column: 1 / span 7; position: relative; }
.dial__art canvas { width: 100%; max-width: 100%; aspect-ratio: 1.2 / 1; height: auto; }
.dial__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.dial__center b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dial__center span { display: block; margin-top: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.dial__side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 28px; }
.seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; }
.seg button { height: 40px; padding: 0 18px; border-radius: 999px; font: 500 14px/1 var(--sans); color: var(--fg-2); transition: background-color .4s, color .4s; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.dial__stats { display: grid; gap: 0; }
.dial__stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.dial__stats dt { color: var(--fg-2); font-size: 15px; }
.dial__stats dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.dial__key { display: flex; gap: 18px; color: var(--fg-3); }
.dial__key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.dial__key .k-you { background: linear-gradient(135deg, var(--g1), var(--g3)); }
.dial__key .k-admin { background: var(--fg-3); opacity: .5; }

/* industries: a value illustration per business */
.ind { margin-top: clamp(48px, 5vw, 80px); align-items: start; }
.ind__stage { grid-column: 1 / span 6; position: sticky; top: calc(var(--hdr) + 4vh); }
.ind__stage canvas { width: 100%; max-width: 100%; aspect-ratio: 1.15 / 1; height: auto; border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); }
.ind__value { margin-top: 18px; font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.3rem); line-height: 1.1; letter-spacing: -.01em; min-height: 2.3em; }
.ind__list { grid-column: 8 / span 5; border-bottom: 1px solid var(--rule); }
.ind__list .row__btn { grid-template-columns: minmax(0, 1fr) 28px; }

/* does it pay */
.race__canvas { height: clamp(240px, 21vw, 300px); }
.figs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); text-align: center; margin-top: clamp(40px, 4vw, 64px); }
.figs3 .fig { align-items: center; }
.figs3 .fig p { max-width: 24ch; }
.worth { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; margin-top: clamp(72px, 8vw, 120px); padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--rule); }
.worth__q { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 30px; }
.worth__q h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -.02em; }
.q { display: flex; flex-direction: column; gap: 12px; }
.q__l { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; }
.q__l output { font-family: var(--serif); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; font: 400 14px/1 var(--sans); color: var(--fg-2); transition: background-color .3s, color .3s, border-color .3s; }
.chips button:hover { border-color: var(--fg-3); color: var(--fg); }
.chips button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.stepper { display: inline-flex; align-items: center; align-self: flex-start; height: 52px; border: 1px solid var(--rule); border-radius: 999px; }
.stepper button { width: 52px; height: 52px; border-radius: 50%; font: 300 24px/1 var(--sans); color: var(--fg); transition: background-color .3s; }
.stepper button:hover { background: var(--panel); }
.stepper output { min-width: 64px; text-align: center; font-family: var(--serif); font-size: 28px; font-variant-numeric: tabular-nums; }
.money { display: flex; align-items: center; gap: 10px; }
.money input { width: 140px; height: 52px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--fg); font: 400 22px/1 var(--serif); -moz-appearance: textfield; appearance: textfield; }
.money input::-webkit-inner-spin-button { -webkit-appearance: none; }
.money select { height: 52px; }
.worth__a { grid-column: 8 / span 5; position: sticky; top: calc(var(--hdr) + 32px); display: flex; flex-direction: column; gap: 4px; }
.worth__a .out b { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
.worth__note { color: var(--fg-3); font-size: 12.5px; line-height: 1.5; margin-top: 12px; }

/* ninety days in five steps */
.phases--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.phases--5 .phase__days { font-size: clamp(1.8rem, 2.6vw, 2.6rem); }

/* scorecard */
.score { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 5vw, 80px); }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 20px 24px; border: 1px solid var(--rule); border-radius: 18px; background: var(--panel); transition: transform .7s var(--ease), border-color .4s; }
.tile:hover, .tile:focus-within { transform: translateY(-4px); border-color: var(--fg-3); }
.tile canvas { width: 100%; height: 150px; }
.tile .mono { color: var(--fg-3); }
.tile b { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.tile p { margin-top: 8px; color: var(--fg-2); font-size: 14px; line-height: 1.45; max-width: 24ch; }

/* principles: all six at once */
.belief__canvas { width: 100%; height: 92px; margin: 4px 0 18px; }
.princ--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); border-bottom: 0; }
.princ--grid li { display: flex; flex-direction: column; gap: 6px; padding: 22px 0 26px; border-top: 1px solid var(--rule); cursor: default; }
.princ--grid h3, .princ--grid p, .princ--grid .mono { grid-column: auto; }
.princ--grid h3 { font-size: clamp(1.5rem, 2vw, 2rem); transition: color .4s; }
.princ--grid li:hover h3 { transform: none; background: linear-gradient(100deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* about hero: the loom keeps to its side */
.phero--split .phero__canvas {
  left: auto; right: 0; width: 54%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, #000 48%, transparent 72%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, #000 48%, transparent 72%);
  mask-composite: intersect;
}
.phero .wrap { justify-content: flex-end; }
.phero__foot .lead { grid-column: 1 / span 5; }

@media (max-width: 1100px) {
  .fit__steps { grid-template-columns: 1fr 1fr; }
  .dial__art, .dial__side, .ind__stage, .ind__list, .worth__q, .worth__a { grid-column: 1 / -1; position: static; }
  .phases--5 { grid-template-columns: 1fr 1fr; }
  .score { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { grid-column: 1 / -1; }
  .nav__preview { display: none; }
  .hdr__cta { display: none; }
  .princ--grid { grid-template-columns: 1fr 1fr; }
  .figs3 { grid-template-columns: 1fr; row-gap: 32px; }
  .phero--split .phero__canvas { width: 100%; height: 50%; top: 0; bottom: auto; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .ind__stage { max-width: 520px; margin: 0 auto 28px; width: 100%; }
}
@media (max-width: 600px) {
  .fit__steps, .phases--5, .score, .princ--grid { grid-template-columns: 1fr; }
  .fit__step { padding-right: 0; }
  .nav__t { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .me .pair2 { grid-template-columns: 1fr; }
  .matrix__canvas { height: 290px; }
  .tile canvas { height: 130px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hdr__meter { display: none; }
  .head > .h2 { grid-column: 1 / -1; }
  .head > .lead { grid-column: 4 / -1; }
  .trust__panel, .trust__list, .ctl__panel, .ctl__list, .calc__in, .calc__out, .form, .ticket,
  .partner__canvas, .partner__list { grid-column: 1 / -1; position: static; }
  .trust__list, .ctl__list, .calc__out, .ticket, .partner__list { margin-top: 48px; }
  .steps4, .sov { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .phases { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .hdr__nav, .hdr__tools .kill__label { display: none; }
  .hdr__tools .kill { padding: 0 12px; }
  .burger { display: inline-grid; }
  .mark { font-size: 19px; }
  .head > .lead { grid-column: 1 / -1; }
  .hero__track { height: 170vh; }
  .hero__foot .lead, .hero__foot .btns, .cta__row .lead, .cta__row .btns, .phero__foot .lead, .toc { grid-column: 1 / -1; justify-content: flex-start; }
  .hero__foot .btns, .cta__row .btns { margin-top: 24px; }
  .toc { margin-top: 32px; }
  .pairs, .reasons, .figs, .cards, .founders, .cities { grid-template-columns: 1fr; row-gap: 48px; }
  .evid { grid-template-columns: 1fr; }
  .evid .fig, .evid .fig:nth-child(4), .evid .fig:nth-child(5) { grid-column: auto; }
  .corr__art, .corr__list { grid-column: 1 / -1; position: static; }
  .corr__art { max-width: 380px; margin: 0 auto 32px; width: 100%; }
  .gapnums .pair, .gapnums__note { grid-column: 1 / -1; }
  .row__inner { padding-left: 0; }
  .rule-note p, .pull p, .pull cite, .principle .mono, .principle p, .discipline .mono, .discipline p { grid-column: 1 / -1; }
  .stack__copy { grid-column: 1 / -1; order: 2; gap: 12px; }
  .stack__canvas { grid-column: 1 / -1; height: 46vh; order: 1; }
  .stack__step { display: none; opacity: 1; padding: 8px 0 8px 16px; }
  .stack__step.is-active { display: block; }
  .stack__copy .eyebrow, .stack__copy .h2 { display: none; }
  .princ h3, .princ p { grid-column: 2 / -1; }
  .mtable thead { display: none; }
  .mtable, .mtable tbody, .mtable tr, .mtable td { display: block; width: 100%; }
  .mtable tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .mtable td { border: 0; padding: 4px 0; }
  .mtable td:first-child { padding-top: 0; }
  .draft { left: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); height: 40px; padding: 0 6px 0 12px; }
  .draft__label span { display: none; }
  .swatch { width: 24px; height: 24px; }
}
@media (max-width: 600px) {
  .steps4, .sov, .phases, .outs, .form { grid-template-columns: 1fr; }
  .form .f { grid-column: 1 / -1; }
  .pair__row { grid-template-columns: 1fr; }
  .pair__gap { flex-direction: row; padding: 0; justify-content: flex-start; }
  .row__btn { grid-template-columns: 36px minmax(0, 1fr) 20px; }
  .row__btn .tag { display: none; }
  .row__letter { font-size: 26px; }
  .killbox { flex-direction: column; align-items: flex-start; }
  .ftr__col { grid-column: 1 / -1; }
  .btn { height: 52px; padding: 0 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-split] .w__i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .kill__dot::after, .hero__scroll i::after { animation: none; }
  .menu { transition: none; }
}
@media print {
  .hdr, .draft, .veil, canvas { display: none !important; }
  .sec { padding: 40px 0; }
}
