/* THE ASCENT, the 3D site (index and method). Near-black, cold steel blue, slate, white. Brushed silver is the one accent
   and the main button owns it. The plain page is the default; html.x3d (set by js/mode.js) turns on the climb over the scene.
   privacy, terms and 404 keep css/site.css untouched. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: block; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: block; src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --black: #05070a;
  --panel: #0b0f14;
  --panel-2: #10151b;
  --line: #222a33;
  --line-2: #323c48;
  --slate: #8d99a6;
  --steel: #a9b9c8;
  --ink: #e8edf1;
  --white: #f6f8fa;
  --silver: #e7ebef;
  --silver-hi: #ffffff;
  --gut: clamp(16px, 5vw, 88px);
  --bar-h: 74px;
  --head-h: 68px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); background: var(--black); }
html.reduce { scroll-behavior: auto; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.62; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
::selection { background: #c9d3dc; color: #05070a; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.keep { white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--silver); color: #05070a; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.skip-b:focus { top: 68px; }

/* ---------- the world ---------- */
.world { position: absolute; inset: 0 0 auto 0; height: 100vh; height: 100svh; z-index: 0; overflow: hidden; background: var(--black); }
.world canvas { display: none; width: 100%; height: 100%; }
.world-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.world-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,7,10,0.94) 0%, rgba(5,7,10,0.74) 24%, rgba(5,7,10,0.20) 44%, rgba(5,7,10,0) 56%), linear-gradient(180deg, rgba(5,7,10,0.55) 0%, rgba(5,7,10,0) 16%, rgba(5,7,10,0) 78%, rgba(5,7,10,0.85) 100%); }
.x3d .world { position: fixed; inset: 0; height: auto; }
.x3d .world canvas { display: block; opacity: 0; transition: opacity 1.1s ease; touch-action: pan-y; cursor: grab; }
.x3d .world canvas.grabbing { cursor: grabbing; }
.x3d.world-ready .world canvas { opacity: 1; }
.x3d .world canvas { position: absolute; inset: 0; }
.x3d.world-shown .world-still { visibility: hidden; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--head-h); transition: background-color 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
.site-head.scrolled, .site-head.menu-open { background: #06080b; border-bottom-color: var(--line); }
.site-head .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 clamp(16px, 2.6vw, 40px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand .mark { width: 26px; height: auto; }
.wordmark { font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { font-size: 15px; text-decoration: none; color: #d5dce3; white-space: nowrap; padding: 8px 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--white); } }
.nav a[aria-current="page"] { color: var(--white); box-shadow: 0 1px 0 var(--steel); }
.nav a.act { background: var(--silver); color: #07090c; font-weight: 600; padding: 10px 20px; border-radius: 999px; margin-left: 6px; }
@media (hover: hover) and (pointer: fine) { .nav a.act:hover { background: var(--silver-hi); color: #000; } }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-2); color: var(--white); font: inherit; font-size: 15px; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.menu-btn .lines { display: inline-grid; gap: 5px; }
.menu-btn .lines i { display: block; width: 18px; height: 1.5px; background: currentColor; }
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: #06080b; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s ease; }
  .nav a { font-size: 22px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav a.act { margin: 22px 0 0; text-align: center; border-bottom: 0; font-size: 18px; padding: 16px 20px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- buttons and links ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 28px; border-radius: 999px; background: var(--silver); color: #07090c; font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; border: 1px solid var(--silver); transition: background-color 0.2s ease, transform 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--silver-hi); } }
.btn:active { transform: translateY(1px); }
.btn.quiet { background: #0b0f14; color: var(--white); border-color: #56626f; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .btn.quiet:hover { border-color: var(--white); background: #121820; } }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: #5d6a77; text-underline-offset: 5px; font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--white); color: var(--white); } }

/* ---------- type ---------- */
.display-xl { font-size: clamp(54px, 6.5vw, 124px); line-height: 0.98; font-weight: 300; letter-spacing: -0.025em; color: var(--white); }
.display-xl .vs { font-weight: 300; }
.display { font-size: clamp(30px, 3.1vw, 48px); line-height: 1.1; font-weight: 400; letter-spacing: -0.015em; color: var(--white); text-wrap: balance; }
.hero-pillars, .pillars-line { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: #cfd7df; }
.statement { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.55; color: #d3dbe2; }
.ref { color: var(--steel); font-size: 16px; letter-spacing: 0.02em; }

/* ---------- hero ---------- */
main { position: relative; z-index: 1; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; }
.hero-copy { width: 100%; padding: calc(var(--head-h) + 6vh) var(--gut) 8vh; display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.hero-top { display: grid; gap: 20px; max-width: 760px; }
.hero .lede { font-size: clamp(19px, 1.5vw, 23px); color: #dbe2e8; max-width: 30em; }
.hero-bottom { display: grid; gap: 22px; justify-items: start; }
.simple-line { font-size: 14px; color: var(--slate); }
.simple-line a { color: #c2ccd6; text-underline-offset: 4px; }
.fogctl { display: none; }

/* ---------- chapters, columns, cards ---------- */
.chapter { position: relative; padding: 9vh 0 9vh; }
.stage-tag { margin: 0 var(--gut) 22px; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); display: flex; align-items: center; gap: 14px; }
.stage-tag .n { color: var(--steel); }
.stage-tag::after { content: ""; flex: 0 0 64px; height: 1px; background: #55616e; }
.col { margin: 0 var(--gut); max-width: 640px; display: grid; gap: 16px; }
.col.wide { max-width: 900px; }
.stack { display: grid; gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 2.4vw, 34px); font-size: clamp(18px, 1.3vw, 20px); line-height: 1.62; color: #dde3e9; }
.card.lead { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.5; color: var(--white); }
.card.head { display: grid; gap: 18px; padding-block: clamp(26px, 3vw, 44px); border-top: 2px solid #aab6c2; border-radius: 4px 4px 14px 14px; }
.card.ref { padding-block: 16px; font-size: 16px; background: var(--panel-2); }
.card.creed { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.4; color: var(--white); background: var(--panel-2); border-color: var(--line-2); }
.card h3 { font-size: clamp(22px, 1.7vw, 26px); line-height: 1.2; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.card > p + p { margin-top: 14px; }
.ledger { display: grid; gap: 16px; }
.pillar-head { display: grid; gap: 6px; border-left: 2px solid #aab6c2; border-radius: 4px 14px 14px 4px; }
.pillar-head .q { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); }
.pillar-head h3 { font-size: clamp(40px, 4vw, 64px); font-weight: 300; letter-spacing: -0.02em; margin: 0; }
.lines { display: grid; }
.lines li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.5vw, 22px); color: var(--white); }
.lines li:first-child { padding-top: 0; }
.note { margin-top: 18px; color: var(--steel); }
.connect .big, .card.big { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.25; color: var(--white); font-weight: 400; }
.connect .link { display: inline-block; margin-top: 18px; }
.inner .tag { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel); line-height: 1.7; }
.offer { display: grid; gap: 16px; }
.offer-part ul { display: grid; gap: 14px; }
.offer-part li b, .exp b { color: var(--white); font-weight: 600; }
.close-card { display: grid; gap: 20px; background: var(--panel-2); }
.united { font-size: clamp(20px, 1.6vw, 24px); color: var(--white); }
.classroom { border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); padding: 10px; }
.classroom img { width: 100%; border-radius: 8px; }

.exp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.exp li { font-size: 17px; line-height: 1.55; }
.exp b { display: block; font-size: 19px; margin-bottom: 8px; }

/* the offer, in one block */
.sprint-block { border: 1px solid #7c8996; background: #0d1217; display: grid; gap: 22px; padding: clamp(24px, 3vw, 44px); }
.sprint-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.sprint-block h3, .sprint-block .sprint-name { font-size: clamp(30px, 3vw, 46px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; margin: 0 0 8px; color: var(--white); }
.sprint-sub { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); }
.sprint-price { font-size: clamp(54px, 5.4vw, 84px); line-height: 0.9; font-weight: 300; letter-spacing: -0.03em; color: var(--white); }
.sprint-block h4 { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin-bottom: -8px; }
.sprint-incl { display: grid; gap: 0; }
.sprint-incl li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); color: var(--white); }
.sprint-incl li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 12px; height: 1.5px; background: #c2ccd6; }
.sprint-note, .mx-note { font-size: 16px; color: var(--steel); }
.sprint-toward { color: #d3dbe2; }

/* founder */
.founder { padding-top: 12vh; display: grid; gap: 16px; }
.founder-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.founder-photo { padding: 10px; position: sticky; top: calc(var(--head-h) + 20px); }
.founder-photo img { width: 100%; border-radius: 8px; filter: saturate(0.5) contrast(1.04) brightness(0.96); }
.photo-cap { display: flex; justify-content: space-between; gap: 12px; padding: 12px 6px 4px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.caveat { color: #cdd6de; background: var(--panel-2); }

/* the last call */
.summit { padding: 16vh var(--gut) 14vh; }
.summit-inner { max-width: 640px; display: grid; gap: 26px; justify-items: start; }
.summit .logo { width: min(240px, 50vw); }
.pillars-line { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.summit .close { color: var(--white); }

/* ---------- footer ---------- */
.site-foot { position: relative; z-index: 2; background: #06080b; border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 16px; color: #c5ced7; }
.x3d .site-foot { padding-bottom: calc(var(--bar-h) + 40px); }
.site-foot .wrap { margin: 0 var(--gut); }
.foot-mark { width: 54px; margin-bottom: 16px; }
.site-foot .name { font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); margin-bottom: 26px; }
.foot-pillars { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-bottom: 44px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.foot-pillars li { display: flex; gap: 10px; align-items: baseline; font-size: 20px; color: var(--white); }
.foot-pillars .n { font-size: 13px; color: var(--steel); letter-spacing: 0.1em; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-foot h2 { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin-bottom: 14px; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; } }
.site-foot .lead { font-size: 19px; color: var(--white); max-width: 18em; }
.site-foot .cols p + p { margin-top: 10px; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--slate); }
.legal a { margin-left: 22px; color: #c5ced7; }
.legal span:last-child a:first-child { margin-left: 0; }
.mode-line { margin-top: 18px; font-size: 14px; }
.mode-line a { color: #c5ced7; text-decoration: underline; text-underline-offset: 4px; }
.mode-line .to-simple, .mode-line .to-full { display: none; }
.x3d .mode-line .to-simple { display: inline; }
.simple .mode-line .to-full { display: inline; }
.simple .simple-line, html:not(.x3d) .simple-line { display: none; }

/* ---------- the chapter bar ---------- */
.chapters { display: none; }
.x3d .chapters { display: block; position: fixed; inset: auto 0 0 0; z-index: 20; height: var(--bar-h); background: #06080b; border-top: 1px solid var(--line); transition: transform 0.35s ease; }
/* past the hero the hint row slides away, so the bar covers less of the page; it comes back for keyboard focus */
.x3d.past-hero .chapters:not(.slim):not(:focus-within) { transform: translateY(26px); }
html.x3d { scroll-padding-bottom: calc(var(--bar-h) + 16px); }
.chapters ol { display: grid; grid-template-columns: repeat(6, 1fr); height: 46px; margin: 0 clamp(8px, 1.6vw, 24px); }
.chapters li a { height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 10px; text-decoration: none; font-size: 14px; color: #7f8b98; white-space: nowrap; transition: color 0.3s ease; }
.chapters li a .n { font-size: 12px; letter-spacing: 0.08em; }
.chapters li a.done { color: #c2ccd6; }
@media (hover: hover) and (pointer: fine) { .chapters li a:hover { color: #c2ccd6; } }
.chapters li a.cur { color: var(--white); }
.chapters li a.cur .t { box-shadow: 0 1px 0 var(--white); }
.chapters-line { position: absolute; inset: -1px 0 auto 0; height: 2px; }
.chapters-line i { display: block; height: 100%; background: var(--silver); transform-origin: 0 50%; transform: scaleX(0); }
.chapters-foot { height: 26px; display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 12px; color: #7f8b98; letter-spacing: 0.04em; border-top: 1px solid #12171d; }
.chapters-foot a { color: #b9c3cd; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chapters-foot a:hover { color: var(--white); } }

/* ---------- the climb (html.x3d): the words ride over the scene on solid cards ---------- */
.x3d body { background: var(--black); }
.x3d main { pointer-events: none; }
.x3d main :is(.card, .actions, .fogctl, .classroom, .link, .simple-line, .stage-tag) { pointer-events: auto; }
.x3d .hero-copy { justify-content: center; padding-bottom: calc(var(--bar-h) + 6vh); }
.x3d .chapter { padding: 16vh 0 30vh; }
.x3d .chapter.mission { padding-top: 26vh; }
.x3d .col { width: min(600px, 46vw); max-width: none; }
.x3d .col.wide { width: min(860px, 58vw); }
.x3d .founder { padding-top: 26vh; }
.x3d .summit { padding: 6vh var(--gut) calc(var(--bar-h) + 22vh); }
.x3d .stage-tag { text-shadow: 0 1px 14px #000; }
/* Clear the fog: a slim instrument, not a button. A fine line, a small steel handle, a quiet label. */
.x3d .fogctl { display: block; position: absolute; right: clamp(20px, 6vw, 110px); bottom: calc(var(--bar-h) + 30px); width: 250px; height: 50px; --v: 0; }
.fogctl:focus-within .fogctl-knob { box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--white); }
.fogctl-label { position: absolute; left: 0; top: 2px; font-size: 12px; line-height: 1; letter-spacing: 0.32em; text-transform: uppercase; color: #dfe5ea; pointer-events: none; text-shadow: 0 1px 10px rgba(0,0,0,0.9); }
.fogctl-track { position: absolute; left: 0; right: 0; bottom: 14px; height: 1px; background: rgba(214, 223, 231, 0.55); }
.fogctl-fill { position: absolute; left: 0; top: -0.5px; width: 100%; height: 2px; background: var(--silver); transform-origin: 0 50%; transform: scaleX(var(--v)); }
.fogctl-knob { position: absolute; top: 50%; left: calc(var(--v) * (100% - 16px)); width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--silver); box-shadow: 0 0 0 4px rgba(5, 7, 10, 0.6), 0 0 0 5px rgba(214, 223, 231, 0.45); transition: transform 0.2s ease; }
@media (hover: hover) and (pointer: fine) { .fogctl:hover .fogctl-knob { transform: scale(1.15); } }
.fogctl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; touch-action: pan-y; }
.reveal :is(.card, .stage-tag, .summit-inner > *) { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal :is(.card, .stage-tag, .summit-inner > *).seen { opacity: 1; transform: none; }

/* ---------- the plain page: html.simple, or no script ---------- */
html:not(.x3d) .world-shade { background: linear-gradient(90deg, rgba(5,7,10,0.94) 0%, rgba(5,7,10,0.78) 30%, rgba(5,7,10,0.2) 60%, rgba(5,7,10,0) 75%), linear-gradient(180deg, rgba(5,7,10,0.5) 0%, rgba(5,7,10,0) 20%, rgba(5,7,10,0) 70%, #05070a 100%); }
html:not(.x3d) .col { margin-inline: auto; padding-inline: 16px; max-width: 760px; }
html:not(.x3d) .col.wide { max-width: 940px; }
html:not(.x3d) .stage-tag { max-width: 760px; margin-inline: auto; padding-inline: 16px; }
html:not(.x3d) .summit-inner { margin-inline: auto; }
html:not(.x3d) .site-foot .wrap { max-width: 1100px; margin-inline: auto; padding-inline: 16px; }

/* ---------- phones and narrow screens ---------- */
@media (max-width: 900px) {
  :root { --bar-h: 66px; --head-h: 60px; }
  body { font-size: 18px; }
  .world-shade { background: linear-gradient(180deg, rgba(5,7,10,0.86) 0%, rgba(5,7,10,0.5) 24%, rgba(5,7,10,0) 44%, rgba(5,7,10,0) 62%, rgba(5,7,10,0.8) 100%); }
  html:not(.x3d) .world-shade { background: linear-gradient(180deg, rgba(5,7,10,0.86) 0%, rgba(5,7,10,0.5) 26%, rgba(5,7,10,0.1) 50%, #05070a 100%); }
  .world-still { object-position: 78% 50%; }
  .display-xl { font-size: clamp(52px, 15.5vw, 92px); }
  .hero-copy { justify-content: space-between; padding: calc(var(--head-h) + 5vh) 16px 5vh; }
  .x3d .hero-copy { padding-bottom: calc(var(--bar-h) + 16px); justify-content: space-between; }
  .x3d .hero .simple-line { display: none; }
  .hero .lede { font-size: 18px; }
  .hero-top { gap: 12px; }
  .hero-bottom { gap: 14px; width: 100%; }
  .hero .actions { width: 100%; gap: 10px 12px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero .actions .link { padding: 6px 2px; }
  .x3d .fogctl { position: relative; right: auto; bottom: auto; width: 100%; height: 46px; }
  .x3d .col, .x3d .col.wide { width: auto; margin: 0 16px; }
  .col, .col.wide { margin: 0 16px; }
  .stage-tag { margin-inline: 16px; }
  .x3d .chapter { padding: 12vh 0 46vh; }
  .x3d .chapter.mission { padding-top: 34vh; }
  .card { border-radius: 12px; }
  .exp { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { position: static; max-width: 420px; }
  .x3d .founder { padding-top: 40vh; }
  .x3d .summit { padding: 10vh 16px calc(var(--bar-h) + 40vh); }
  .summit { padding-inline: 16px; }
  .site-foot .wrap { margin: 0 16px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  /* the bar shows where you are; the six stages become six marks */
  .chapters ol { height: 40px; margin: 0 10px; gap: 4px; align-items: end; position: relative; padding-bottom: 6px; }
  .chapters li a { display: block; height: 34px; padding: 0; border-bottom: 2px solid #2a333d; }
  .chapters li a.done { border-bottom-color: #7f8b98; }
  .chapters li a.cur { border-bottom-color: var(--silver); }
  .chapters li a .n, .chapters li a .t { display: none; }
  .chapters li a.cur .n, .chapters li a.cur .t { display: block; position: absolute; left: 2px; bottom: 16px; font-size: 13px; line-height: 1; color: var(--white); }
  .chapters li a.cur .n { color: var(--steel); }
  .chapters li a.cur .n + .t { left: 30px; }
  .chapters li a.cur .t { box-shadow: none; }
  .chapters-line { display: none; }
  .chapters-foot { justify-content: space-between; padding: 0 12px; gap: 10px; }
}
@media (max-width: 560px) {
  .site-foot .cols { grid-template-columns: 1fr; }
  .sprint-top { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- the Method page ---------- */
[data-page="method"] { --bar-h: 30px; }
.chapters.slim { height: var(--bar-h); }
.chapters.slim .chapters-foot { height: 100%; border-top: 0; }
.method-hero .display-xl { font-size: clamp(44px, 5.4vw, 100px); }
.method-hero .display-xl span { display: block; }
.method-hero .display-xl .l2 { color: var(--steel); }
.method-hero .hero-top { max-width: 820px; }
.method-hero .lede { max-width: 34em; }
.x3d .method-hero .hero-top { max-width: min(760px, 54vw); }
.x3d .chapter.first { padding-top: 4vh; }
.mx-vs em { font-style: normal; color: var(--steel); }
.mx-vs-line { white-space: nowrap; }
.mx-wk { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.mx-weeks h3 { margin-bottom: 10px; }
.mx-plate .photo-cap { display: block; letter-spacing: 0.06em; text-transform: none; font-size: 14px; }
.mx-price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; width: 100%; }
.mx-price .sprint-name { margin: 0; flex: 1 1 auto; }
.mx-price .sprint-sub { flex: 1 0 100%; order: 3; }
.mx-incl { display: grid; gap: 14px; }
.sprint-block .mx-incl-head { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin: 0; }
.sprint-begin { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.sprint-begin h2 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 400; line-height: 1.15; color: var(--white); letter-spacing: -0.01em; }
@media (max-width: 900px) {
  .x3d .method-hero .hero-top { max-width: none; }
  .method-hero .hero-copy, .x3d .method-hero .hero-copy { justify-content: flex-start; gap: 20px; }
  .method-hero .lede { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
  .x3d .chapter.first { padding-top: 0; }
}

.x3d .summit .totop { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; text-decoration: none; }

/* ---------- final pass, 1 Dec: the offer made plain ---------- */
.hero-what { margin-top: 12px; font-size: 15px; letter-spacing: 0.03em; color: #b9c5d0; }
.who .link { display: inline-block; margin-top: 18px; }
.btn[aria-disabled="true"] { display: none; }   /* the pay button only appears once a payment link is set in config.js */

.sprint-weeks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sprint-weeks li { padding: 20px 26px 18px 0; }
.sprint-weeks li:nth-child(even) { padding-left: 26px; padding-right: 0; border-left: 1px solid var(--line); }
.sprint-weeks li:nth-child(n+3) { border-top: 1px solid var(--line); }
.sprint-weeks .wk { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.sprint-weeks b { display: block; font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 10px; letter-spacing: -0.005em; }
.sprint-weeks li > p:last-child { font-size: 16px; line-height: 1.6; color: #cfd8e0; }

.sprint-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sprint-out li { padding: 18px 20px; border: 1px solid var(--line-2); border-top: 2px solid var(--silver); border-radius: 4px 4px 10px 10px; background: #0a0e12; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.35; color: var(--white); }

.sprint-steps { display: grid; counter-reset: step; border-top: 1px solid var(--line); }
.sprint-steps li { counter-increment: step; position: relative; padding: 14px 0 14px 46px; border-bottom: 1px solid var(--line); color: var(--white); }
.sprint-steps li::before { content: counter(step); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; border: 1px solid #7c8996; border-radius: 50%; font-size: 14px; line-height: 26px; text-align: center; color: #dfe5ea; }
.sprint-block .actions { align-items: center; }
.mx-incl { display: grid; gap: 16px; }
.mx-incl .mx-incl-head:not(:first-child) { margin-top: 12px; }

@media (max-width: 700px) {
  .hero-what { font-size: 14px; margin-top: 8px; }
  .sprint-weeks, .sprint-out { grid-template-columns: 1fr; }
  .sprint-weeks li, .sprint-weeks li:nth-child(even) { padding: 18px 0 16px; border-left: 0; }
  .sprint-weeks li + li { border-top: 1px solid var(--line); }
  .sprint-out { gap: 10px; }
}

/* ---------- the plain pages: privacy, terms, not found ---------- */
.page-hero { position: relative; padding: calc(var(--head-h) + 11vh) 0 7vh; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.86) 62%, #05070a 100%), url(/assets/world/still-wide.jpg) 70% 38% / cover no-repeat #05070a; }
.page-hero .wrap, .section > .wrap { max-width: 860px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.page-hero .display { color: var(--white); }
.lede-stack p { margin-top: 20px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: #dbe2e8; max-width: 36em; }
[data-page="404"] .page-hero, .page-hero:only-child { min-height: 72vh; display: grid; align-content: center; border-bottom: 0; }
.section { padding: 5vh 0 11vh; background: var(--black); }
.prose { font-size: 17px; line-height: 1.72; color: #cdd6de; }
.prose h2 { margin: 46px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); font-size: clamp(22px, 1.9vw, 27px); font-weight: 500; line-height: 1.25; color: var(--white); letter-spacing: -0.005em; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 600; color: var(--white); }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 9px; }
.prose li::marker { color: var(--steel); }
.prose strong { color: var(--white); font-weight: 600; }
.prose .note { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--steel); }
.inline-link { color: var(--white); text-decoration: underline; text-decoration-color: #7c8996; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .inline-link:hover { text-decoration-color: var(--white); } }

/* ---------- sales pass, 1 Dec: his offer copy, and the long teaching folded away ---------- */
.more { padding: 0; }
.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px clamp(22px, 2.4vw, 34px); font-size: 17px; color: var(--white); letter-spacing: 0.01em; border-radius: 14px; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 1.5px solid #c2ccd6; border-bottom: 1.5px solid #c2ccd6; transform: translateY(-3px) rotate(45deg); transition: transform 0.25s ease; }
.more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
@media (hover: hover) and (pointer: fine) { .more > summary:hover { background: #0e1319; } }
.more > summary:focus-visible { outline: 2px solid var(--silver); outline-offset: -2px; }
.more[open] > summary { border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
.more > :not(summary) { margin: 18px clamp(22px, 2.4vw, 34px) 0; }
.more > :last-child:not(summary) { margin-bottom: clamp(22px, 2.4vw, 30px); }
.more .ledger { gap: 0; }
.more .row { padding: 18px 0; border-top: 1px solid var(--line); }
.more .row:first-child { padding-top: 4px; border-top: 0; }
.more .row:last-child { padding-bottom: 0; }

.sprint-weeks .tagline, .mx-weeks .tagline { font-size: 17px; color: var(--white); font-style: normal; margin: -4px 0 10px; }
.mx-weeks .tagline { margin-top: -2px; }
.sprint-weeks li > p.tagline:last-child { color: var(--white); }
.sprint-recv { color: #cfd8e0; margin-bottom: -10px; }
.sprint-pitch { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; color: var(--white); }
.sprint-block .sprint-ready { font-size: clamp(26px, 2.4vw, 36px); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; text-transform: none; color: var(--white); margin: 0; }
.sprint-begin .actions { margin-top: 6px; }

/* ---------- phones: the small things that make it feel native ---------- */
html { -webkit-tap-highlight-color: transparent; }   /* no grey flash on tap; every control has its own pressed state below */
a, button, summary, .btn, label[for] { touch-action: manipulation; }   /* no wait for a double tap */
.btn, .menu-btn, .more > summary, .chapters a, .nav a, .fogctl-label { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.btn { transition: transform 0.12s ease-out, background-color 0.2s ease, border-color 0.2s ease; }
.btn:active { transform: scale(0.975); background: var(--silver-hi); }
.btn.quiet:active { background: #161d26; border-color: var(--white); }
.link:active, .nav a:active, .site-foot a:active, .inline-link:active, .chapters a:active { opacity: 0.7; }
.more > summary:active { background: #10161d; }
/* edge to edge: keep the bars clear of the notch and the home indicator */
.site-head .bar { padding-left: max(clamp(16px, 2.6vw, 40px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 2.6vw, 40px), env(safe-area-inset-right, 0px)); }
.x3d .chapters { box-sizing: content-box; padding-bottom: env(safe-area-inset-bottom, 0px); }
.x3d .chapters ol, .x3d .chapters-foot { margin-left: max(10px, env(safe-area-inset-left, 0px)); margin-right: max(10px, env(safe-area-inset-right, 0px)); }
@media (orientation: landscape) and (max-height: 500px) {
  .x3d main, .site-foot .wrap { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
}

/* ---------- the offer: who you work with ---------- */
.sprint-guide { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: #0a0e12; }
.sprint-guide img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 1px solid var(--line-2); }
.sprint-guide .wk { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.sprint-guide p { color: var(--white); line-height: 1.45; }
.sprint-guide .link { display: inline-block; margin-top: 6px; font-size: 16px; }
@media (pointer: coarse) {
  main .link, .sprint-guide .link { display: inline-block; padding-block: 10px; }   /* text links get a finger-sized tap area */
  .sprint-guide .link { margin-top: 0; }
  .site-head .brand { min-height: 44px; display: inline-flex; align-items: center; }
}
