/* ============================================================
   CloudSprint · aesthetic-loom
   Concept A, "The Loom and the Woven Country" (11-immersive-concept.md §2),
   chapter 01 only. Porcelain-led: 11 §6.8 rules out a dark void as the
   default, so the page is light and the scene is a lit, day-time world.
   ============================================================ */

:root {
  --ink:        #0D2A34;
  --ink-lift:   #143842;
  --porcelain:  #F1F5F5;
  --paper:      #FBFDFD;
  --amber:      #EC9A2E;
  --aqua:       #9EC7CB;
  --slate:      #27373C;
  --slate-soft: #566269;
  --hair:       #D7E0E1;
  --ramp-2:     #4F6F77;
  --ramp-3:     #8FA9AD;
  --ramp-4:     #C9D7D8;
  --dawn:       #F3E6D3;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:  "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 64px;
  --stage-h: calc(100vh - var(--nav-h));
  --pad-x: clamp(20px, 5vw, 56px);
}

@supports (height: 100svh) { :root { --stage-h: calc(100svh - var(--nav-h)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--porcelain); color: var(--slate);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2, .promise { font-family: var(--serif); font-weight: 400; color: var(--ink);
  letter-spacing: -.015em; line-height: 1.04; text-wrap: balance; font-optical-sizing: auto; margin: 0; }
code { font-family: var(--mono); font-size: .9em; background: rgba(13,42,52,.06); padding: 1px 6px; border-radius: 4px; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-soft); margin: 0 0 20px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff;
  padding: 10px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.skip:focus { left: 8px; top: 8px; }

/* ---- Header ---- */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(241,245,245,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,42,52,.08); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-inline: var(--pad-x); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lockup { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { width: 32px; height: 32px; flex: none; background: var(--ink); border-radius: 7px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 0 0 8px; }
.mark i { display: block; height: 3px; border-radius: 2px; background: var(--amber); }
.mark i:nth-child(1) { width: 55%; opacity: .55; }
.mark i:nth-child(2) { width: 78%; opacity: .78; }
.mark i:nth-child(3) { width: 100%; }
.wm { font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.wm .l { font-weight: 400; } .wm .b { font-weight: 700; }

.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans);
  padding: 15px 22px; border-radius: 10px; border: 1px solid transparent; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-lift); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(13,42,52,.25); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { padding: 11px 16px; font-size: 14px; }
.btn__arrow { font-weight: 700; }

.motion-toggle { font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--slate-soft); white-space: nowrap;
  background: transparent; border: 1px solid rgba(13,42,52,.2); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.motion-toggle:hover { color: var(--ink); border-color: var(--ink); }

/* ---- The world: one pinned stage, segments stacked over it ----
   Every segment overlaps the one before by a stage height, so a segment owns the
   scroll range [its top, its top + its height - stage height] and copy never sits
   in a range that belongs to the next one (timeline.js relies on this). */
.world { position: relative; }
.seg { position: relative; z-index: 2; margin-top: calc(-1 * var(--stage-h)); pointer-events: none; }
.seg--hero { height: 260vh; height: 260svh; }
.seg--wipe { height: calc(80vh + var(--stage-h)); height: calc(80svh + var(--stage-h)); }
.seg__lead, .seg__tail { height: var(--stage-h); }

.stage {
  position: sticky; top: var(--nav-h);
  height: var(--stage-h);
  overflow: hidden;
  /* Static poster (CSS only): dawn sky over a woven field. Shown until the live
     scene is ready, and permanently for reduced motion / no WebGL2. */
  background:
    radial-gradient(ellipse 46% 34% at 78% 26%, rgba(243,230,211,.95), transparent 70%),
    linear-gradient(180deg, #B9CDD0 0%, #EDECE6 40%, var(--ramp-3) 41%, var(--ramp-4) 66%, var(--ramp-2) 100%);
}
.stage::before { /* the weave, hinted */
  content: ""; position: absolute; inset: 41% 0 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(13,42,52,.16) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(0deg, rgba(241,245,245,.22) 0 2px, transparent 2px 9px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
}
#loom-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity .6s ease; }
#loom-canvas.is-ready { opacity: 1; }
html.motion-off #loom-canvas { opacity: 0; }

.hero-copy {
  position: relative;
  height: var(--stage-h);
  width: min(100%, 62%);
  display: flex; align-items: center;
  /* Text never sits directly on the render: a porcelain panel that fades out at its right edge (12 §1, ch. 01). */
  background: linear-gradient(90deg, var(--porcelain) 0%, var(--porcelain) 56%, rgba(241,245,245,.88) 68%,
    rgba(241,245,245,.55) 80%, rgba(241,245,245,.2) 92%, rgba(241,245,245,0) 100%);
  pointer-events: none;
}
.hero-copy__inner { padding: 0 clamp(20px, 6vw, 96px) 0 var(--pad-x); max-width: 40rem; pointer-events: auto; }
.promise { font-size: clamp(42px, 5.6vw, 84px); }
.hero-copy__sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--slate); margin: 26px 0 32px; max-width: 34rem; }
.hero-copy__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy__micro { font-size: 14px; color: var(--slate-soft); margin: 18px 0 0; }

.scroll-hint { position: absolute; left: var(--pad-x); bottom: 28px; margin: 0;
  font: 400 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--slate-soft); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 34px; margin: 10px 0 0 4px;
  background: linear-gradient(180deg, var(--ink), transparent); animation: hint 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint::after { animation: none; } }

/* ---- End-of-slice note ---- */
.slice-end { background: var(--paper); border-top: 1px solid var(--hair); padding: clamp(72px, 12vw, 140px) var(--pad-x); }
.slice-end__inner { max-width: 40rem; margin: 0 auto; }
.slice-end h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.slice-end p { margin: 0 0 16px; }

/* ---- Stacked layout: scene on top, copy panel scrolls up over the lower half and away ---- */
@media (max-width: 900px) {
  .nav__actions .btn { display: none; }
  .motion-toggle { font-size: 11px; padding: 8px 12px; letter-spacing: 0; }
  .hero-copy { width: 100%; align-items: flex-end; background: none; }
  .hero-copy__inner { max-width: none; width: 100%; margin-top: 42svh; padding: 28px var(--pad-x) 72px;
    background: rgba(241,245,245,.94); border-radius: 18px 18px 0 0; }
  .promise { font-size: clamp(36px, 10vw, 52px); }
  .scroll-hint { display: none; }
}

/* ============================================================
   Chapter 02 · The shift
   ============================================================ */

/* Labels pinned to points in the scene: an overlay the size of the stage, sticky so
   it stays with the canvas. The scene positions each [data-anchor] every frame. */
.hud { position: sticky; top: var(--nav-h); height: var(--stage-h); margin-bottom: calc(-1 * var(--stage-h));
  z-index: 0; pointer-events: none; overflow: hidden; }
.anchor { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity;
  font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; }
.anchor--counter { margin: -74px 0 0 -46px; padding: 6px 10px; background: rgba(251,253,253,.9); border-radius: 6px; }
.anchor--marker { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: -70px 0 0 -22px; color: var(--ramp-2); }
.anchor--marker i { display: block; width: 1px; height: 54px; background: linear-gradient(180deg, transparent, var(--ramp-2)); }

.beat { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding-inline: var(--pad-x); }
.beat--right { justify-content: flex-end; }
.beat--left { justify-content: flex-start; }
.beat--center { justify-content: center; align-items: flex-end; padding-bottom: 9svh; }
.beat--short { min-height: 60vh; min-height: 60svh; }

.panel { pointer-events: auto; width: min(34rem, 100%);
  background: rgba(251,253,253,.94); border: 1px solid rgba(13,42,52,.07); border-radius: 14px;
  padding: clamp(22px, 2.6vw, 38px); box-shadow: 0 30px 60px -36px rgba(13,42,52,.4); }
.panel--wide { width: min(46rem, 100%); }
.panel h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.panel h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 12px; line-height: 1.15; }
.panel p { margin: 0 0 14px; }
.panel p:last-child { margin-bottom: 0; }
.panel .eyebrow { margin-bottom: 14px; }

.list-plain { list-style: none; margin: 0 0 14px; padding: 0; }
.list-plain li { position: relative; padding: 0 0 8px 20px; }
.list-plain li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--ramp-2); }
.confirm { background: rgba(236,154,46,.28); border-radius: 3px; padding: 0 3px; font-family: var(--mono); font-size: .86em; }
.text-link { color: var(--ink); font-weight: 600; text-decoration-color: rgba(13,42,52,.35); text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* Thesis objects: a status tag, a title and a teaser; the reveal opens beneath. */
.thesis { margin-top: 18px; border: 1px solid var(--hair); border-radius: 12px; background: #fff; }
.thesis__toggle { display: grid; gap: 6px; width: 100%; text-align: left; padding: 16px 18px; background: none; border: 0; cursor: pointer;
  font: inherit; color: inherit; border-radius: 12px; position: relative; padding-right: 76px; }
.thesis__toggle:hover { background: rgba(13,42,52,.03); }
.thesis__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.thesis__label { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.thesis__teaser { color: var(--slate); font-size: 16px; }
.thesis__hint { position: absolute; right: 18px; top: 18px; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate-soft); }
.thesis__toggle[aria-expanded="true"] .thesis__hint::after { content: none; }
.thesis__panel { padding: 0 18px 18px; }
.thesis__panel p { font-size: 16px; }
.tag { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid currentColor; cursor: help; }
.tag--hypothesis { color: #8a5a0e; background: rgba(236,154,46,.12); }
.tag--belief { color: var(--ramp-2); background: rgba(79,111,119,.1); }
.tag--how { color: var(--ink); background: rgba(158,199,203,.25); }
.tag--practice { color: var(--ink-lift); background: rgba(13,42,52,.07); }

/* With animation off there is nothing to open onto: show every reveal in full. */
html.motion-off .thesis__panel { display: block !important; content-visibility: visible !important; }
html.motion-off .thesis__hint { display: none; }
html.motion-off .anchor, html.motion-off .hud { display: none; }

@media (max-width: 900px) {
  .beat { align-items: flex-end; justify-content: stretch; padding: 0 0 5svh; }
  .beat--tall { min-height: 120svh; }
  .panel, .panel--wide { width: 100%; border-radius: 18px 18px 0 0; margin-inline: calc(-1 * var(--pad-x)); width: calc(100% + 2 * var(--pad-x)); padding-inline: var(--pad-x); }
  .beat { padding-inline: var(--pad-x); }
  .anchor--counter { display: none; }
}

/* ============================================================
   Chapter 03 · What we believe
   ============================================================ */
.rail-step { min-height: 58vh; min-height: 58svh; position: relative; }
.panel__instruction { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-soft); }
.idea__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.idea__home { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate-soft); }
.idea__title { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--ink); }
.idea__teaser { font-size: 15px; color: var(--slate); line-height: 1.45; }
.idea__hint { font: 400 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-soft); }
.idea__label { display: grid; gap: 7px; }
.idea__reveal { margin: 0 0 14px; font-size: 16px; }

.faces, .subs { margin: 0 0 6px; padding: 0; list-style: none; }
.faces li { padding: 10px 0; border-top: 1px solid var(--hair); }
.face__name { font-weight: 600; color: var(--ink); }
.face__text { display: block; margin-top: 4px; font-size: 15px; }
.subs { counter-reset: n; }
ol.subs li { counter-increment: n; }
ol.subs li::before { content: counter(n, decimal-leading-zero); font: 400 11px/1 var(--mono); color: var(--slate-soft); margin-right: 10px; }
.subs li { padding: 7px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.badge { font: 400 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 3px 7px; margin-left: 8px; color: var(--ramp-2); }
.sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sheet h4 { margin: 0 0 8px; font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-soft); }
.sheet ul { margin: 0; padding: 0; list-style: none; }
.sheet li { padding: 7px 0; border-bottom: 1px dashed var(--ramp-3); font-size: 15px; }

/* With no scene: each idea is a plain block, everything open. */
html.motion-off .rail-step { min-height: 0; padding: 0 var(--pad-x) 18px; }
html.motion-off .idea { max-width: 46rem; margin: 0 auto; padding: 22px 24px; background: rgba(251,253,253,.94); border: 1px solid var(--hair); border-radius: 14px; pointer-events: auto; }
html.motion-off .idea__hint { display: none; }
html.motion-off .idea__full { margin-top: 12px; }

/* With the scene: the head hovers over its card (the scene sets its position), the
   full text lives in the panel. */
html.scene-active:not(.motion-off) .idea__head {
  position: fixed; left: 0; top: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; visibility: hidden; pointer-events: auto; cursor: pointer; border-radius: 6px; will-change: transform;
  transition: outline-color .15s ease; outline: 2px solid transparent; outline-offset: 4px;
}
html.scene-active:not(.motion-off) .idea__head:hover, html.scene-active:not(.motion-off) .idea__head:focus-visible { outline-color: var(--ink); }
html.scene-active:not(.motion-off) .idea__label { background: rgba(251,253,253,.94); padding: 12px 14px; border-radius: 10px; box-shadow: 0 20px 40px -28px rgba(13,42,52,.5); }
html.scene-active:not(.motion-off) .idea__full { display: none; }
html.scene-active:not(.motion-off) .reveal .idea__full { display: block; }
html.scene-active:not(.motion-off) .rail-step { pointer-events: none; }
html.motion-off .reveal { display: none; }

.reveal { position: fixed; z-index: 5; top: calc(var(--nav-h) + 20px); right: var(--pad-x); width: min(430px, 36vw);
  max-height: calc(var(--stage-h) - 40px); display: flex; flex-direction: column; pointer-events: auto;
  background: rgba(251,253,253,.95); border: 1px solid rgba(13,42,52,.08); border-radius: 16px; padding: 18px 22px 16px;
  box-shadow: 0 40px 80px -40px rgba(13,42,52,.55); opacity: 0; transform: translateX(14px); transition: opacity .3s ease, transform .3s ease; }
.reveal[hidden] { display: none; }
.reveal.is-open { opacity: 1; transform: none; }
.reveal__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.reveal h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: 28px; line-height: 1.1; margin: 0 0 12px; outline: none; }
.reveal__body { overflow: auto; flex: 1; min-height: 0; padding-right: 4px; }
.reveal__nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); }
.reveal button { font: 600 14px/1 var(--sans); color: var(--ink); background: none; border: 1px solid rgba(13,42,52,.25); border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.reveal button:hover { border-color: var(--ink); }
.reveal .face__name { cursor: pointer; display: inline-block; padding: 2px 0; border-bottom: 2px solid transparent; }
.reveal .face__name:hover, .reveal .is-picked .face__name { border-bottom-color: var(--ink); }
.reveal .faces .face__text { display: none; }
.reveal .faces .is-picked .face__text { display: block; }
.reveal .subs li { cursor: default; }
.reveal .subs li:hover { background: rgba(158,199,203,.18); }

@media (max-width: 900px) {
  .rail-step { min-height: 64svh; }
  .reveal { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 56svh; border-radius: 18px 18px 0 0; transform: translateY(14px); padding-inline: var(--pad-x); }
  .sheet { grid-template-columns: 1fr; }
}

/* ---- Read without animation / no WebGL2: an ordinary page ----
   No pinned stage, no dead scroll: the poster becomes a band above the hero copy and
   every chapter is plain blocks of text on porcelain. */
html.motion-off .world { display: flex; flex-direction: column; }
html.motion-off .stage { position: relative; top: auto; height: 38vh; height: 38svh; }
html.motion-off .seg { margin-top: 0; height: auto; pointer-events: auto; }
html.motion-off .seg--wipe, html.motion-off .seg__lead, html.motion-off .seg__tail, html.motion-off .hud, html.motion-off .scroll-hint { display: none; }
html.motion-off .hero-copy { height: auto; width: 100%; background: none; padding-block: 44px 56px; }
html.motion-off .beat, html.motion-off .beat--short, html.motion-off .beat--tall { min-height: 0; padding-block: 18px; justify-content: center; align-items: stretch; }
html.motion-off .panel, html.motion-off .panel--wide { width: min(46rem, 100%); margin-inline: auto; }
html.motion-off .seg--chapter { padding-block: 28px; background: var(--porcelain); }
html.motion-off .panel__instruction { display: none; }

/* ---- Chapter 04: five offers ---- */
.seg--move { height: calc(70vh + var(--stage-h)); height: calc(70svh + var(--stage-h)); }
.beat--offers { min-height: calc(var(--stage-h) + 6svh); align-items: flex-end; padding-bottom: 4svh; }
.offers { pointer-events: auto; width: 100%; max-width: 76rem; margin-inline: auto; background: rgba(251,253,253,.95);
  border: 1px solid rgba(13,42,52,.07); border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -36px rgba(13,42,52,.4); }
.offers__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.offer { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; background: #fff;
  border: 1px solid var(--hair); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.offer:nth-child(-n+2) { grid-column: span 3; }
.offer:hover, .offer:focus-within { border-color: var(--ink); box-shadow: 0 12px 26px -20px rgba(13,42,52,.6); }
.offer__id { font: 400 11px/1 var(--mono); letter-spacing: .16em; color: var(--slate-soft); }
.offer__name { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; margin: 0; color: var(--ink); }
.offer__line { margin: 0; font-size: 14px; color: var(--slate); }
.offer__price { margin: 0; font-size: 14px; color: var(--ink); font-weight: 600; }
.offer__btn { align-self: flex-start; margin-top: auto; background: var(--ink); color: #fff; }
.offer__btn:hover { background: var(--ink-lift); }
.offer--ink { background: var(--ink); border-color: var(--ink); }
.offer--ink .offer__id, .offer--ink .offer__line { color: var(--ramp-4, #c9d7d8); }
.offer--ink .offer__name, .offer--ink .offer__price { color: #fff; }
.offer--ink .offer__btn { background: var(--porcelain); color: var(--ink); }
.offer--ink .confirm { color: var(--ink); }
@media (max-width: 900px) {
  .seg--move { height: calc(50svh + var(--stage-h)); }
  .beat--offers { min-height: 0; padding-inline: var(--pad-x); padding-bottom: 5svh; }
  .offers__grid { grid-template-columns: 1fr; }
  .offer, .offer:nth-child(-n+2) { grid-column: auto; }
}
html.motion-off .seg--move { display: none; }
html.motion-off .beat--offers { min-height: 0; padding-block: 18px; }
html.motion-off .offers { box-shadow: none; }

/* ---- Chapter 05: the lane ---- */
.anchor--lane { width: 124px; margin: -68px 0 0 -62px; padding: 6px 8px; text-align: center; line-height: 1.25;
  background: rgba(251,253,253,.88); border-radius: 6px; }
.anchor--lane b { display: block; font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--ramp-2); margin-top: 3px; }

.lane-track { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); padding-inline: var(--pad-x); }
.lane-wrap, .lane-marks { grid-area: 1 / 1; }
.lane-marks { pointer-events: none; }
.lane-mark { height: 62vh; height: 62svh; }
.lane-wrap { align-self: start; position: sticky; top: calc(var(--nav-h) + 10svh); width: min(30rem, 100%); pointer-events: auto;
  background: rgba(251,253,253,.94); border: 1px solid rgba(13,42,52,.07); border-radius: 14px; padding: 8px 22px;
  box-shadow: 0 30px 60px -36px rgba(13,42,52,.4); height: fit-content; }
.lane { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.lane::before { content: ""; position: absolute; left: 9px; top: 26px; bottom: 26px; width: 2px;
  background: linear-gradient(180deg, var(--aqua), var(--ramp-4)); }
.lane__step { counter-increment: step; position: relative; padding: 12px 0 12px 40px; display: grid;
  grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; border-radius: 8px; }
.lane__step + .lane__step { border-top: 1px solid var(--hair); }
.lane__step::before { content: ""; position: absolute; left: 1px; top: 20px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ramp-3); transition: background .25s, border-color .25s; }
.lane__step.is-past::before { background: var(--aqua); border-color: var(--aqua); }
.lane__step.is-active::before { background: var(--ink); border-color: var(--ink); }
.lane__time { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); }
.lane__verb { font: 400 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--slate-soft); }
.lane__body { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
/* Live: only the step on stage keeps its text open. */
html:not(.motion-off) .lane.is-live .lane__body { display: grid; grid-template-rows: 1fr; transition: opacity .25s; }
html:not(.motion-off) .lane.is-live .lane__step:not(.is-active) .lane__body { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.lane__step:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lane__step:hover .lane__time, .lane__step:focus-visible .lane__time { text-decoration: underline; text-decoration-color: var(--aqua); text-underline-offset: 5px; text-decoration-thickness: 2px; }

.panel .thesis:first-child { margin-top: 0; }
.principles { columns: 2; column-gap: 32px; }
.principles li { break-inside: avoid; padding-bottom: 14px; }
.sheet li { font-size: 14px; }

@media (max-width: 900px) {
  .lane-wrap { align-self: end; top: auto; bottom: 10px; width: 100%; padding: 4px 16px; border-radius: 16px; }
  .lane__step { padding-block: 9px; }
  .lane__step::before { top: 15px; }
  .lane::before { top: 22px; bottom: 22px; }
  .lane__time { font-size: 18px; }
  .lane-mark { height: 46svh; }
  .principles { columns: 1; }
}
html.motion-off .lane-track { display: block; padding-block: 18px; }
html.motion-off .lane-wrap { position: static; width: min(46rem, 100%); margin-inline: auto; }
html.motion-off .lane-marks { display: none; }
html.motion-off .principles { columns: 1; }

/* ---- Chapter 06: safe by design ---- */
.illus { font: 400 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--slate-soft); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.role { font: 600 14px/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; color: var(--ink);
  background: #fff; border: 1px solid rgba(13,42,52,.25); transition: background .2s, color .2s, border-color .2s; }
.role:hover { border-color: var(--ink); }
.role[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tally { list-style: none; margin: 14px 0 8px; padding: 0; }
.tally li { padding: 9px 0; border-top: 1px dashed var(--ramp-3); font-size: 14px; line-height: 1.5; }
.tally li:last-child { border-bottom: 1px dashed var(--ramp-3); }
.tally span { font: 400 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-soft); margin-left: 6px; }
.tally span:first-child { margin-left: 0; }
.approve { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.approve .illus { margin: 0; }
.approve [hidden] { display: none; }
.beat--band { padding-inline: 0; min-height: 70vh; min-height: 70svh; }
.band { pointer-events: auto; width: 100%; background: var(--ink); color: #fff; padding: clamp(36px, 7vw, 84px) var(--pad-x); }
.band__inner { max-width: 44rem; margin-inline: auto; }
.band h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin: 0 0 18px; color: #fff; }
.band li { padding: 10px 0 10px 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--ramp-4, #c9d7d8); }
.band li::before { top: 1.3em; background: var(--aqua); }
.band .confirm { color: var(--ink); }
html.motion-off .beat--band { min-height: 0; padding-inline: 0; }
html.motion-off .band { width: min(46rem, 100%); margin-inline: auto; border-radius: 14px; padding: 26px 28px; }

/* ---- Chapter 07: we run on it ---- */
.anchor--prac { width: 26px; height: 26px; margin: -44px 0 0 -13px; border-radius: 50%; text-align: center; font: 400 12px/22px var(--mono); letter-spacing: 0;
  background: rgba(251,253,253,.92); border: 2px solid var(--ink); color: var(--ink); }
@media (max-width: 900px) { .anchor--prac { display: none; } }
.practice { list-style: none; margin: 0; padding: 0; counter-reset: practice; }
.practice__item { counter-increment: practice; position: relative; padding: 12px 0 12px 40px; font-size: 16px; line-height: 1.5; border-radius: 6px; }
.practice__item + .practice__item { border-top: 1px solid var(--hair); }
.practice__item::before { content: counter(practice); position: absolute; left: 0; top: 13px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--ramp-3); font: 400 12px/22px var(--mono); text-align: center; color: var(--ramp-2); transition: background .25s, border-color .25s, color .25s; }
.practice__item.is-lit::before { background: var(--aqua); border-color: var(--ink); color: var(--ink); }
.practice__item:hover, .practice__item:focus-visible { background: rgba(158,199,203,.14); outline: none; }
.practice__item:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
.limit { font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--ink); margin: 0 0 6px; padding-left: 16px; border-left: 3px solid var(--aqua); }

/* ---- Chapter 08: who we are ---- */
.anchor--zone { flex-direction: column-reverse; margin: -76px 0 0 -46px; }
.anchor--zone b { font-weight: 400; padding: 5px 9px; background: rgba(251,253,253,.9); border-radius: 6px; }
.anchor--zone i { background: linear-gradient(0deg, transparent, var(--ramp-2)); }
@media (max-width: 900px) { .anchor--zone { display: none; } }
.founders { display: grid; gap: 26px; }
.founder { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.monogram { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--aqua);
  font: 400 16px/1 var(--mono); letter-spacing: .08em; }
.founder h3 { margin: 0 0 4px; font-size: 24px; }
.founder__role { font: 400 11px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-soft); margin: 0 0 10px; }
.founder__tags { font-size: 13px; color: var(--slate-soft); margin: 10px 0 0; }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.location-card { border: 1px solid var(--hair); border-radius: 12px; background: #fff; padding: 16px 18px; }
.location-card h3 { font-size: 20px; margin: 0 0 8px; }
.location-card p { margin: 0; font-size: 16px; }
@media (max-width: 900px) { .locations { grid-template-columns: 1fr; } .founder { grid-template-columns: 1fr; } }

/* ---- Chapter 09: start a conversation, and the end of the page ---- */
.panel--contact { width: min(40rem, 100%); }
.panel--contact .btn { font-size: 17px; padding: 16px 24px; }
.micro { font-size: 14px; color: var(--slate-soft); }
.seg__tail--fade { background: linear-gradient(180deg, rgba(241,245,245,0), var(--porcelain) 88%); }
.site-footer { background: var(--ink); color: var(--ramp-4); padding: clamp(48px, 7vw, 88px) var(--pad-x) 40px; position: relative; z-index: 2; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; }
.site-footer__tagline { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; color: #fff; max-width: 30ch; margin: 0 0 40px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; font-size: 14.5px; line-height: 1.65; }
.site-footer h4 { font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ramp-3); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { margin: 0 0 12px; }
.site-footer strong { color: #fff; font-weight: 600; }
.site-footer a { color: var(--aqua); text-underline-offset: 3px; }
.site-footer a:hover { color: #fff; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
html.motion-off .beat--center { align-items: stretch; padding-bottom: 18px; }
@media (max-width: 900px) { .panel--contact { width: calc(100% + 2 * var(--pad-x)); } .beat--center { padding-bottom: 0; } }
html.motion-off .panel--contact { width: min(46rem, 100%); }
