/* Trace — V2 · Light Table
   One white panel stays; the world behind it changes. The table is lit: busy chapters wash their photograph to
   near-white while the panel is open, and every photograph gets a sharp beat (people visible) while the panel is
   a compact title bar.
   Base (no media query) = shared type, nav, buttons, kit restyle, tail.
   STACKED (phones, tablets, short screens, reduced motion) = sticky photo band + copy-first chapters.
   PINNED (≥1024 × 620, motion allowed) = the light table. The two queries are exact complements (same as v2.js). */

:root {
  --font-sans: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Sentient', Georgia, 'Times New Roman', serif;
  --font-mono: 'Host Grotesk', system-ui, sans-serif; /* two families only; Host Grotesk digits are tabular */
  --g: clamp(20px, 5.4vw, 80px);
  --rail-w: 100px;
  --nav-h: 80px;
  --head: 46px;
  --ink-2: #3A3936;
  --tr-accent: var(--sky);
  --tr-accent-ink: var(--sky-ink);
  --tr-highlight: color-mix(in srgb, var(--butter) 62%, transparent);
  --tr-dot: #F0CB45;
  --tr-chain-bg: #fff;
  --map-idea: var(--sky);
  --tr-kind-4: #D9B532;
  --tr-map-dim: .45;
  color-scheme: light;
}

@property --corner { syntax: '<number>'; inherits: true; initial-value: 0; }
html { scroll-behavior: auto; }
body { font-family: var(--font-sans); font-size: 17px; line-height: 1.5; font-weight: 400; color: var(--ink); background: var(--white); }
.serif { font-family: var(--font-serif); font-weight: 300; letter-spacing: -.012em; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 14px; font-weight: 500; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

/* ---------------------------------- buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 15.5px/1 var(--font-sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn .arr { display: inline-block; transition: transform var(--t) var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }
.btn--glass { background: rgb(255 255 255 / .82); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(17 17 17 / .1), 0 1px 2px rgb(17 17 17 / .06); }
.btn--glass:hover { background: #fff; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--sm { height: 36px; padding: 0 15px; font-size: 14.5px; }

/* ---------------------------------- nav ---------------------------------- */
.nav { position: fixed; z-index: 60; top: 14px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; padding: 0 12px; }
.nav__bar {
  position: relative; pointer-events: auto; display: flex; align-items: center; gap: 4px;
  height: 50px; padding: 0 7px 0 18px; border-radius: 999px; background: rgb(255 255 255 / .96);
  box-shadow: 0 0 0 .5px rgb(17 17 17 / .12), 0 1px 2px rgb(17 17 17 / .05), 0 10px 30px -14px rgb(17 17 17 / .28);
}
.nav__brand { display: flex; align-items: center; height: 40px; margin-right: 14px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__links a, .nav__signin {
  display: flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 999px; border: 0; background: none;
  font: 400 14.5px/1 var(--font-sans); color: var(--ink-2); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav__links a:hover, .nav__signin:hover { background: rgb(17 17 17 / .06); color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: 4px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
.nav__menu { display: none; }

/* ---------------------------------- type ---------------------------------- */
.h-hero { font-size: clamp(42px, 5vw, 76px); font-weight: 400; line-height: .98; letter-spacing: -.042em; }
.h-hero .serif { letter-spacing: -.03em; }
.h-hero .ln { display: inline-block; }
.h-base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.h2 { font-size: clamp(34px, 3.1vw, 46px); font-weight: 400; line-height: 1.04; letter-spacing: -.034em; text-wrap: balance; }
.h-statement { font-size: clamp(52px, 7.2vw, 112px); font-weight: 400; line-height: .96; letter-spacing: -.045em; }
.h-statement .serif { letter-spacing: -.03em; }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .15em; line-height: 1.3; }
.lede { margin-top: 22px; max-width: 32em; font-size: 19px; line-height: 1.5; letter-spacing: -.006em; text-wrap: pretty; }
.body { margin-top: 20px; max-width: 26em; font-size: 18px; line-height: 1.5; letter-spacing: -.005em; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.premise__lead { margin-top: 22px; font-family: var(--font-serif); font-weight: 300; font-size: 22px; line-height: 1.32; letter-spacing: -.01em; max-width: 18em; text-wrap: pretty; }

/* ---------------------------------- product surfaces (kit restyle) ---------------------------------- */
/* the light table's frame is the surface; kit surfaces inside a panel go transparent */
.ch__panel .tr-ask__panel--plain, .ch__panel .tr-sv__claim, .ch__panel .tr-sv__doc, .ch__panel .tr-conn--plain { background: transparent; box-shadow: none; }
.ch__panel { --tr-surface-2: rgb(17 17 17 / .045); }
.lt-head__dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgb(17 17 17 / .08); flex: none; }
.lt-head__sep { color: #A9A7A1; }
.tr-ask__answer .tr-cite:focus-visible { opacity: 1; filter: none; }
/* the workspace crumb in the kit's knowledge header reads "Larkfield · EU Launch" here */
.tr-kn__sep { font-size: 0; }
.tr-kn__sep::after { content: "·"; font-size: 14px; color: #A9A7A1; }

/* wide Ask (main demo): answer + sources left, the dated thought process right */
tr-ask.ask-wide { container-type: inline-size; }
@container (min-width: 900px) {
  .ask-wide .tr-ask__inner {
    display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); column-gap: 52px;
    grid-template-areas: "status trail" "answer trail" "sources trail"; align-content: start;
  }
  .ask-wide .tr-ask__status { grid-area: status; }
  .ask-wide .tr-ask__answer { grid-area: answer; }
  .ask-wide .tr-ask__sources { grid-area: sources; padding-bottom: calc(var(--tr-u) * 5); }
  .ask-wide .tr-ask__trail { grid-area: trail; align-self: stretch; margin-top: calc(var(--tr-u) * 4); padding: 2px 0 calc(var(--tr-u) * 5) 40px; border-left: 1px solid rgb(17 17 17 / .08); }
}

/* hero: after the answer lands, the source rows fold into the dated trail */
.hero-ask .tr-ask__sources { max-height: 340px; overflow: hidden; transition: max-height 640ms var(--ease-out), opacity 300ms var(--ease-out), margin 640ms var(--ease-out); }
.is-traced .hero-ask .tr-ask__sources { max-height: 0; opacity: 0; margin-top: 0; visibility: hidden; transition: max-height 640ms var(--ease-out), opacity 300ms var(--ease-out), margin 640ms var(--ease-out), visibility 0s linear 300ms; }
.hero-trail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 640ms var(--ease-out); }
.is-traced .hero-trail { grid-template-rows: 1fr; }
.ch__panel:not(.is-traced) .hero-trail { visibility: hidden; }
.ht { position: relative; min-height: 0; overflow: hidden; margin: 0; padding: 0 20px; list-style: none; }
.ht__in { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 18px 0 16px; list-style: none; border-top: 1px solid rgb(17 17 17 / .08); }
.ht__stop { position: relative; z-index: 1; }
.ht__line { position: absolute; left: 4px; right: calc(25% - 9px); top: 50px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-reveal) 120ms; }
.is-traced .ht__line { transform: none; }
.ht__btn {
  position: relative; display: flex; flex-direction: column; gap: 0; width: 100%; padding: 0 10px 0 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: inherit; color: inherit; border-radius: 6px; clip-path: inset(0 100% 0 0); transform: translateY(4px);
  transition: clip-path 520ms var(--ease-out) calc(220ms + var(--i) * 120ms), transform 420ms var(--ease-out) calc(220ms + var(--i) * 120ms);
}
.is-traced .ht__btn { clip-path: inset(0 -4px 0 0); transform: none; }
.ht__date { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.2; }
.ht__dot { width: 9px; height: 9px; margin: 9px 0 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.ht__stop:nth-last-child(2) .ht__dot { background: var(--ink); }
.ht__name { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.ht__btn:hover .ht__dot, .ht__btn:focus-visible .ht__dot { background: var(--butter); }
.ht__meta { grid-column: 1 / -1; margin-top: 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* problem: the four premise lines sit on the chain as captions */
.chain-wrap { position: relative; }
.chain-notes { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.chain-note {
  position: absolute; max-width: 15em; font-family: var(--font-serif); font-weight: 300; font-style: italic; font-size: 14px; line-height: 1.3;
  color: var(--ink-2); opacity: 0; text-wrap: balance;
}
.pane-foot { padding: 12px 22px 16px; border-top: 1px solid rgb(17 17 17 / .07); font-size: 13.5px; font-weight: 500; }
.map-more { display: none; }

.mark-trace { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.mark-trace__p { fill: none; stroke: var(--butter); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

/* photographs (both layouts) */
.lt__photos { position: relative; }
.ph { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.ph__in { position: absolute; inset: 0; transform-origin: 50% 50%; }
.ph__img, .ph__soft { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph__soft { opacity: 0; filter: blur(24px) brightness(1.35) saturate(.8); transform: scale(1.08); }
.ph__veil { position: absolute; inset: 0; background: #fff; opacity: 0; }
.ph[data-ph="meeting"] .ph__img { object-position: 50% 40%; }
.ph[data-ph="cards"] .ph__img { object-position: 60% 50%; }
.ph[data-ph="finger"] .ph__img { object-position: 60% 50%; }
.ph[data-ph="reading"] .ph__img { object-position: 30% 50%; }
.lt__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .06; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/><feComponentTransfer><feFuncR type='linear' slope='1.9' intercept='-.45'/><feFuncG type='linear' slope='1.9' intercept='-.45'/><feFuncB type='linear' slope='1.9' intercept='-.45'/></feComponentTransfer></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
.lt-frame, .lt-head, .lt-rail { display: none; }

/* ---------------------------------- STACKED: sticky photo band + copy-first chapters ---------------------------------- */
@media (max-width: 1023px), (max-height: 619px), (prefers-reduced-motion: reduce) {
  .lt__photos { position: sticky; top: 0; z-index: 3; height: clamp(210px, 33vh, 330px); overflow: hidden; background: var(--paper); }
  .ph { opacity: 0; transition: opacity 700ms var(--ease-swap); }
  .ph.is-on { opacity: 1; }
  .ph__soft, .ph__veil, .lt__grain { display: none; }
  .band__head {
    position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px;
    height: 40px; padding: 0 14px; border-radius: 12px; background: rgb(255 255 255 / .97);
    box-shadow: 0 0 0 .5px rgb(17 17 17 / .1), 0 8px 24px -12px rgb(17 17 17 / .35);
    font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden;
  }
  .band__head b { font-weight: 500; color: var(--ink); }
  .band__meta { margin-left: auto; font-variant-numeric: tabular-nums; transition: opacity 300ms var(--ease-out); }
  .ch { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 40px 0 64px; }
  .ch__copy { padding: 0 20px 26px; }
  .ch__slot { padding: 0 12px; }
  .ch__panel { position: relative; background: var(--white); border-radius: 20px; box-shadow: 0 0 0 1px rgb(17 17 17 / .07), 0 1px 2px rgb(17 17 17 / .04), 0 18px 40px -20px rgb(17 17 17 / .22); }
  .ch--hero { padding-top: 34px; }
  .ch--texture .ch__slot { display: none; }
  .ch--texture { padding-bottom: 40px; }
  .ch__panel tr-chain { margin: 8px 14px 6px; height: 560px; }
  .ch__panel tr-fragments { margin: 18px 14px 18px; }
  .chain-notes { position: static; padding: 0 18px 10px; display: grid; gap: 6px; }
  .chain-note { position: static; opacity: 1 !important; max-width: none; transform: none !important; padding-left: 14px; border-left: 1px solid var(--line); }
  .ch--evidence .ch__panel { padding: 10px 0 0; }
  .ch--evidence .tr-sv__doc { border-top: 1px solid var(--line); border-radius: 0 0 20px 20px; }
  .ch--connection .ch__panel { max-width: 460px; }
  .hero-ask .tr-ask__panel { border-radius: 20px; }
  .ht { padding: 0 16px; }
  .ht__in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .ht__line { display: none; }
  .ht__btn { flex-direction: row; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .ht__dot { margin: 0; flex: none; }
  .ht__name { flex-basis: 100%; }
  /* map: decisions first; the other kinds behind one toggle */
  .ch--map tr-map.is-list .tr-mapl__group:not(:first-child) { display: none; }
  .ch--map tr-map.is-list.show-all .tr-mapl__group { display: block; }
  .ch--map tr-map.is-list + .map-more { display: flex; align-items: center; justify-content: center; width: calc(100% - 28px); height: 46px; margin: 6px 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 500 14.5px/1 var(--font-sans); color: var(--ink); cursor: pointer; }
  .ch--map tr-map.is-list { padding: 18px 16px 4px; }
  .fin__sheet { display: none; }
}
@media (min-width: 640px) and (max-width: 1023px), (min-width: 640px) and (prefers-reduced-motion: reduce), (min-width: 640px) and (max-height: 619px) {
  .ch { width: min(920px, 100%); margin-inline: auto; }
  .ch__panel tr-chain { height: 400px; }
  .ch__copy { padding-inline: 32px; }
  .ch__slot { padding-inline: 24px; }
}

/* ---------------------------------- PINNED: the light table (desktop) ---------------------------------- */
@media (min-width: 1024px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  /* layers: photos 0 · grain 1 · chapter copy 2 (on the table) · glass frame 3 · panel content 4 · frame header 5 · rail 6 */
  .lt { height: var(--stage-h, 760vh); }
  .lt__sticky { position: sticky; top: 0; height: 100vh; overflow: clip; background: #F4F4F2; }
  .lt__photos { position: absolute; inset: 0; z-index: 0; }
  .ph { opacity: 0; visibility: hidden; }
  .ph[data-ph="hero"] { opacity: 1; visibility: visible; }
  .ph__in { will-change: transform; }
  .band__head { display: none; }
  .ch { position: absolute; inset: 0; display: block; padding: 0; }

  .lt-frame {
    display: block; position: absolute; left: 0; top: 0; z-index: 3; width: 10px; height: 10px; opacity: 0;
    --ring: 1; --r: 22px;
    border-radius: var(--r);
    /* two layers make the white: clear glass (.45) + an opaque overlay (::before). In the hero the overlay has a soft-edged
       hole along the sheet's top-left strip (--corner), so the lower third of "know." shows, softened, under the glass */
    background: rgb(255 255 255 / .45);
    -webkit-backdrop-filter: blur(calc(20px - 13px * var(--corner))) brightness(1.15) saturate(1.2); backdrop-filter: blur(calc(20px - 13px * var(--corner))) brightness(1.15) saturate(1.2);
    box-shadow:
      inset 0 0 0 1px rgb(255 255 255 / .8),
      0 0 0 8px rgb(255 255 255 / calc(.32 * var(--ring))),
      0 0 0 8.5px rgb(17 17 17 / calc(.035 * var(--ring))),
      0 1px 2px rgb(17 17 17 / calc(.05 * var(--ring))),
      0 20px 44px -20px rgb(17 17 17 / calc(.24 * var(--ring))),
      0 56px 110px -44px rgb(17 17 17 / calc(.2 * var(--ring)));
    contain: layout size style; will-change: transform; pointer-events: none;
  }
  .lt-frame::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(255 255 255 / .936);
    --hw: calc(var(--hole-w, 0px) * var(--corner)); --hh: calc(var(--hole-h, 0px) * var(--corner));
    -webkit-mask-image: linear-gradient(to right, transparent var(--hw), #000 calc(var(--hw) + 22px)), linear-gradient(to bottom, transparent var(--hh), #000 calc(var(--hh) + 16px));
    mask-image: linear-gradient(to right, transparent var(--hw), #000 calc(var(--hw) + 22px)), linear-gradient(to bottom, transparent var(--hh), #000 calc(var(--hh) + 16px));
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .lt-head { display: block; position: absolute; inset: 0; z-index: 5; pointer-events: none; }
  .lt-head__l, .lt-head__m { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; height: 16px; font-size: 13px; line-height: 16px; color: var(--muted); white-space: nowrap; will-change: transform, opacity; }
  .lt-head__l b { font-weight: 500; color: var(--ink); }
  .lt-head__m { font-variant-numeric: tabular-nums; opacity: 0; }
  .lt-head__rule { position: absolute; left: 0; top: 0; width: 1px; height: 1px; background: rgb(17 17 17 / .08); transform-origin: 0 0; opacity: 0; }

  /* chapter copy lies on the table, under the glass */
  .ch__copy { position: absolute; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0; pointer-events: none; }
  .ch__copy-in { position: relative; opacity: 0; pointer-events: auto; will-change: transform, opacity; }
  .ch--hero .ch__copy-in { opacity: 1; }
  .ch[data-tone="light"] .ch__copy-in { color: var(--white); }
  .ch[data-tone="light"] .ch__copy-in::before { content: ""; position: absolute; z-index: -1; inset: -34% -30% -34% -36%; pointer-events: none; background: radial-gradient(closest-side, rgb(8 10 14 / .3), rgb(8 10 14 / .12) 55%, transparent); }
  .body, .lede { color: var(--ink-2); }
  .ch[data-tone="light"] .body { color: rgb(255 255 255 / .92); }

  /* panel slots: content sits in the frame, below the frame header */
  .ch__slot { position: absolute; z-index: 4; display: flex; margin: 0; padding: 0; pointer-events: none; }
  .ch__panel { position: relative; flex: none; opacity: 0; padding-top: var(--head); pointer-events: auto; will-change: transform, opacity, clip-path; }
  .ch--hero .ch__panel { opacity: 1; }
  .ch:not(.is-active) :is(.ch__copy-in, .ch__panel) { pointer-events: none; }
  .tr-ask__scope { visibility: hidden; }
  .ch__panel tr-chain { margin: 0 14px; height: 400px; }
  .ch__panel tr-fragments { margin: 0 8px 4px; height: 520px; }
  .ch__panel tr-map { margin: 2px 6px 0; }

  /* 00 hero: glass over the world — a very large headline on the plate; the sheet slides over the end of "know." */
  .ch--hero .ch__copy { left: var(--g); right: var(--rail-w); top: calc(var(--nav-h) + 1.4vh); bottom: 52px; justify-content: stretch; }
  .ch--hero .ch__copy-in { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
  .ch--hero .h-hero { font-size: min(9.4vw, 15.5vh); line-height: .94; letter-spacing: -.05em; }
  .ch--hero .h-hero .serif { letter-spacing: -.035em; }
  .ch--hero .hero-foot { display: flex; align-items: flex-end; gap: 28px 44px; }
  .ch--hero .lede { margin-top: 0; max-width: 27em; font-size: 18.5px; }
  .ch--hero .ctas { margin-top: 0; flex: none; }
  .ch--hero .hero-ask .tr-ask__sources { display: none; } /* the answer folds straight into the dated trail; the sheet stays above the CTAs */
  .ch--hero .ch__slot { left: var(--hero-x, 46vw); right: calc(var(--rail-w) + 6px); top: var(--hero-y, 36vh); justify-content: flex-start; align-items: flex-start; }
  .ch--hero .ch__panel { width: 100%; --tr-scale: .96; }
  .ph[data-ph="hero"] .ph__in { transform-origin: 64% 62%; }
  .ph[data-ph="hero"] .ph__veil { opacity: .12; }

  /* 01 problem: the panel on the left, copy right */
  .ch--problem { --cw: clamp(320px, calc(100vw - 1000px), 440px); }
  .ch--problem .ch__copy { right: calc(var(--rail-w) + 4px); top: var(--nav-h); bottom: 40px; width: var(--cw); }
  .ch--problem .ch__slot { left: var(--g); right: calc(var(--rail-w) + var(--cw) + 52px); top: var(--nav-h); bottom: 36px; justify-content: flex-start; align-items: center; }
  .ch--problem .ch__panel { width: min(860px, 100%); }
  .chain-note--branch { left: 26%; top: 29%; max-width: 13em; }
  .chain-note--loop { left: 59%; top: 87%; max-width: 13em; }
  .chain-note--late { left: 3%; top: 93%; max-width: 30em; }
  .chain-note--doc { right: 0; top: 75%; max-width: 13em; text-align: right; }

  /* 02 fragments: panel right, copy left */
  .ch--fragments { --cw: clamp(300px, calc(100vw - 1010px), 400px); }
  .ch--fragments .ch__copy { left: var(--g); top: var(--nav-h); bottom: 40px; width: var(--cw); }
  .ch--fragments .ch__slot { left: calc(var(--g) + var(--cw) + 52px); right: var(--rail-w); top: var(--nav-h); bottom: 32px; justify-content: flex-end; align-items: center; }
  .ch--fragments .ch__panel { width: min(880px, 100%); }

  /* 03 demo: copy on top, the widest panel below */
  .ch--demo .ch__copy { left: var(--g); top: calc(var(--nav-h) + 16px); width: 72vw; justify-content: flex-start; }
  .ch--demo .ch__slot { left: var(--g); right: var(--rail-w); top: calc(var(--nav-h) + 168px); bottom: 20px; justify-content: flex-start; align-items: flex-start; }
  .ch--demo .ch__panel { width: min(1180px, 100%); --tr-scale: 1.02; }

  /* 04 texture: the statement on the sky; the panel is the tip of the marker */
  .ch--texture .ch__copy { left: var(--g); top: calc(var(--nav-h) + 5vh); width: min(820px, 58vw); justify-content: flex-start; }
  .ch--texture .ch__slot { display: none; }

  /* 05 map: copy left, the map grows in from the right */
  .ch--map { --cw: clamp(320px, calc(100vw - 1000px), 460px); }
  .ch--map .ch__copy { left: var(--g); top: var(--nav-h); bottom: 40px; width: var(--cw); }
  .ch--map .ch__slot { left: calc(var(--g) + var(--cw) + 40px); right: var(--rail-w); top: var(--nav-h); bottom: 28px; justify-content: flex-end; align-items: center; }
  .ch--map .ch__panel { width: min(860px, 100%); }

  /* 06 evidence: copy top-left; the panel splits into statement + transcript */
  .ch--evidence .ch__copy { left: var(--g); top: calc(var(--nav-h) + 20px); width: min(440px, 33vw); justify-content: flex-start; }
  .ch--evidence .ch__slot { left: var(--g); right: var(--rail-w); top: var(--nav-h); bottom: 24px; align-items: center; }
  .ch--evidence .ch__panel { width: 100%; padding-top: 0; }
  .ch--evidence tr-source-view.is-split .tr-sv__grid { grid-template-columns: min(400px, 31vw) minmax(0, 1fr); column-gap: clamp(88px, 8vw, 132px); align-items: end; }
  .ch--evidence .tr-sv__claim { padding: calc(var(--head) + 16px) 28px 24px; }
  .ch--evidence .tr-sv__head { border-bottom-color: rgb(17 17 17 / .08); }
  .ch--evidence .tr-sv__line { filter: drop-shadow(0 0 1.2px rgb(255 255 255 / .95)) drop-shadow(0 0 3px rgb(255 255 255 / .6)); }

  /* 07 connection: the reader on the left; headline over the window light, the card below it */
  .ch--connection .ch__copy { left: 59%; top: calc(var(--nav-h) + 6vh); width: min(540px, 35vw); justify-content: flex-start; }
  .ch--connection .ch__copy-in::before { content: ""; position: absolute; z-index: -1; inset: -40% -24% -50% -30%; pointer-events: none; background: radial-gradient(closest-side, rgb(255 255 255 / .55), rgb(255 255 255 / .22) 60%, transparent); }
  .ch--connection .ch__slot { left: 59%; top: max(40vh, calc(var(--nav-h) + 210px)); width: 460px; justify-content: flex-start; align-items: flex-start; }
  .ch--connection .ch__panel { width: 440px; }

  /* rail */
  .lt-rail { display: block; position: absolute; z-index: 6; right: 30px; top: 50%; transform: translateY(-50%); }
  .lt-rail__list { position: relative; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 8px 0; list-style: none; border-radius: 999px; background: rgb(255 255 255 / .94); box-shadow: 0 0 0 .5px rgb(17 17 17 / .12), 0 8px 24px -12px rgb(17 17 17 / .3); }
  .lt-rail__btn { position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px; }
  .lt-rail__btn::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #B9B7B1; transition: transform var(--t) var(--ease-out), background-color var(--t); }
  .lt-rail__btn:hover::before { background: var(--ink); transform: scale(1.3); }
  .lt-rail__btn[aria-current="step"]::before { width: 9px; height: 9px; background: var(--butter); box-shadow: 0 0 0 1px var(--ink); }
  .lt-rail__btn:focus-visible { outline-offset: 0; }
  .lt-rail__tip {
    position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; display: flex; gap: 7px; align-items: baseline;
    padding: 6px 11px 7px; border-radius: 999px; white-space: nowrap; pointer-events: none;
    background: rgb(255 255 255 / .97); color: var(--ink); box-shadow: 0 0 0 .5px rgb(17 17 17 / .12), 0 6px 18px -8px rgb(17 17 17 / .3);
    font-size: 12.5px; line-height: 1; font-weight: 500; opacity: 0; transform: translateX(4px); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
  }
  .lt-rail__tip span { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
  .lt-rail__btn:hover .lt-rail__tip, .lt-rail__btn:focus-visible .lt-rail__tip, .lt-rail.is-announce .lt-rail__btn[aria-current="step"] .lt-rail__tip { opacity: 1; transform: none; }
  .lt-rail:hover .lt-rail__btn[aria-current="step"]:not(:hover) .lt-rail__tip { opacity: 0; }
}

/* narrower desktops: problem stacks copy over the panel so the chain keeps its horizontal form */
@media (min-width: 1024px) and (max-width: 1359px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .ch--problem .ch__copy { left: var(--g); right: auto; top: calc(var(--nav-h) + 12px); bottom: auto; width: min(900px, 80vw); }
  .ch--problem .premise__lead { margin-top: 12px; max-width: none; }
  .ch--problem .h2 br { display: none; }
  .ch--problem .ch__slot { left: var(--g); right: var(--rail-w); top: calc(var(--nav-h) + 168px); bottom: 20px; align-items: flex-start; justify-content: flex-start; }
  .ch--problem .ch__panel tr-chain { height: 340px; }
  .ch--fragments { --cw: clamp(320px, calc(100vw - 960px), 400px); }
  .ch--fragments .h2 { font-size: min(3.1vw, 37px); }
}
/* short screens (≤ 820 px tall): tighter stage so every panel fits */
@media (min-width: 1024px) and (min-height: 620px) and (max-height: 820px) and (prefers-reduced-motion: no-preference) {
  :root { --nav-h: 72px; }
  .h2 { font-size: clamp(32px, 2.8vw, 40px); }
  .eyebrow { margin-bottom: 14px; }
  .ch--hero .lede { margin-top: 16px; font-size: 17.5px; }
  .ch--hero .ctas { margin-top: 22px; }
  .h-hero { font-size: clamp(40px, 4.4vw, 64px); }
  .hero-ask .tr-ask__sources { display: none; } /* short screens: the answer folds straight into the dated trail */
  .ch--demo .ch__slot { top: calc(var(--nav-h) + 138px); }
  .ch--demo .ch__panel { --tr-scale: .92; }
  .ask-wide .tr-tl__step { padding-bottom: 9px; }
  .ch__panel tr-chain { height: 330px; }
  .ch__panel tr-fragments { height: 450px; }
  .ch--map .ch__panel { width: min(780px, 100%); }
  .ch--problem .ch__slot { top: calc(var(--nav-h) + 140px); }
  .ch--connection .ch__slot { top: max(36vh, calc(var(--nav-h) + 180px)); }
}
@media (min-width: 1024px) and (min-height: 620px) and (max-height: 740px) and (prefers-reduced-motion: no-preference) {
  .ch--demo .ch__slot { top: calc(var(--nav-h) + 128px); }
  .ch--demo .ch__panel { --tr-scale: .86; }
  .ask-wide .tr-tl__step { padding-bottom: 6px; }
}
/* large screens: the product grows with the canvas */
@media (min-width: 1680px) and (min-height: 960px) and (prefers-reduced-motion: no-preference) {
  .ch__panel { --tr-scale: 1.12; }
  .ch--problem .ch__panel { width: min(1000px, 100%); }
  .ch__panel tr-chain { height: 460px; }
  .ch--fragments .ch__panel { width: min(1000px, 100%); }
  .ch__panel tr-fragments { height: 600px; }
  .ch--demo .ch__panel { width: min(1320px, 100%); --tr-scale: 1.14; }
  .ch--demo .ch__slot { top: calc(var(--nav-h) + 200px); }
  .ch--map .ch__panel { width: min(1000px, 100%); }
  .ch--evidence tr-source-view.is-split .tr-sv__grid { grid-template-columns: min(460px, 30vw) minmax(0, 1fr); }
  .ch--evidence .ch__panel { width: min(1500px, 100%); }
  .ch--connection .ch__slot { width: 540px; }
  .ch--connection .ch__panel { width: 500px; }
}

/* ---------------------------------- white tail ---------------------------------- */
.wrap { width: min(1296px, calc(100% - 2 * var(--g))); margin-inline: auto; }

.caps { padding: 56px 0 16px; }
.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; padding: 40px 0 48px; border-top: 1px solid var(--line); }
.cap__text { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; padding-bottom: 6px; }
.cap__label { display: flex; align-items: baseline; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.cap__n { font-family: var(--font-serif); font-weight: 300; font-size: 64px; letter-spacing: -.04em; line-height: .8; }
.cap__line { margin-top: 30px; max-width: 14em; font-size: clamp(30px, 2.9vw, 44px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.cap__crop { position: relative; height: 400px; border-radius: 22px; overflow: hidden; background: var(--paper); isolation: isolate; }
.cap__crop::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(17 17 17 / .05); pointer-events: none; }
.crop__inner { position: absolute; left: 44px; top: 44px; width: 640px; }
/* recall: two full columns, the third card bleeds out under a soft fade (a crop, not an overflow) */
.cap__crop--recall .crop__inner { width: 880px; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 92%); mask-image: linear-gradient(90deg, #000 72%, transparent 92%); }
.cap__crop--recall .tr-sources__cards { grid-template-columns: repeat(3, 268px); gap: 14px 16px; }
.cap__crop--recall .tr-doc { padding: 18px 20px 18px; box-shadow: 0 0 0 1px rgb(17 17 17 / .06), 0 12px 30px -18px rgb(17 17 17 / .25); }
.cap__crop--recall .tr-doc:nth-child(2) { transform: translateY(28px); }
.cap__crop--recall .tr-doc:nth-child(5) { transform: translateY(28px); }
.cap__crop--connect .crop__inner { width: 460px; left: 50%; translate: -50% 0; top: 40px; }
.cap__crop--connect .tr-conn--plain { box-shadow: 0 0 0 1px rgb(17 17 17 / .06), 0 18px 44px -24px rgb(17 17 17 / .3); }
.cap__crop--reason .crop__inner { width: 680px; left: 44px; top: 40px; }

.int { padding: 88px 0 112px; }
.int__wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 64px; align-items: start; padding-top: 56px; border-top: 1px solid var(--line); }
.int__h { max-width: 9em; }
.int__diagram { --tr-scale: 1.04; min-height: 360px; }

.fin { position: relative; background: var(--ink); color: var(--white); }
.fin__stage { position: relative; }
.fin__sticky { position: relative; padding: 120px 0 0; }
.fin__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.fin__h { font-size: clamp(42px, 5.6vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -.042em; }
.fin__h .serif { letter-spacing: -.03em; }
.fin__top .btn { margin-bottom: 8px; }
.fin__mark { margin-top: clamp(56px, 8vw, 104px); color: var(--white); --wordmark-solid: var(--white); font-family: var(--font-sans); font-weight: 500; }
.fin__sheet { display: none; }
.foot { border-top: 1px solid rgb(255 255 255 / .14); margin-top: clamp(40px, 5vw, 72px); }
.foot__wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; padding: 32px 0 40px; }
.foot__brand { display: flex; align-items: center; gap: 18px; }
.foot__tag { font-size: 17px; color: var(--muted-dark); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.foot__links a { font-size: 14px; color: var(--muted-dark); text-decoration: none; }
.foot__links a:hover { color: var(--white); }
.foot__legal { font-size: 13px; color: var(--muted-dark); }

/* finale on the pinned desktop: the panel comes back once and shrinks to the dot of the wordmark */
@media (min-width: 1024px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
  .fin__stage { height: 145vh; }
  .fin__sticky { position: sticky; top: 0; height: 100vh; padding: 140px 0 0; overflow: clip; display: flex; flex-direction: column; justify-content: center; }
  .fin__wrap { position: relative; z-index: 1; }
  .fin__top, .fin__mark { will-change: opacity; }
  .fin__sheet {
    display: block; position: absolute; left: 0; top: 0; z-index: 2; width: 10px; height: 10px; overflow: hidden; border-radius: var(--r, 22px);
    background: #fff; contain: layout size style; will-change: transform; pointer-events: none;
    box-shadow: 0 0 0 8px rgb(255 255 255 / calc(.12 * var(--ring, 1)));
  }
  .fin__sheet-in { position: absolute; left: 0; top: 0; width: var(--sw, 800px); color: var(--ink); }
  .fin__sheet-head { display: flex; align-items: center; gap: 7px; height: var(--head); padding: 0 22px; border-bottom: 1px solid rgb(17 17 17 / .08); font-size: 13px; color: var(--muted); }
  .fin__sheet-head b { font-weight: 500; color: var(--ink); }
  .fin__sheet-meta { margin-left: auto; font-variant-numeric: tabular-nums; }
  .fin__dates { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 44px 34px 0; list-style: none; }
  .fin__dates::before { content: ""; position: absolute; left: 38px; right: 38px; top: 75px; height: 1px; background: var(--ink); }
  .fin__dates li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .fin__dates li::after { content: ""; order: 2; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
  .fin__dates li:last-child::after { background: var(--ink); }
  .fin__dates li:last-child { color: var(--ink); font-weight: 500; }
  .fin .foot { margin-top: 0; }
}

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: 72px; translate: -50% 0; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; line-height: 1.3;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }

/* ---------------------------------- responsive (shared) ---------------------------------- */
@media (max-width: 1023px) {
  .ch__copy .h2 br, .h-hero br { display: none; }
  .h-hero .ln { display: inline; }
  .cap { grid-template-columns: minmax(0, 1fr); padding: 44px 0 52px; }
  .cap__line { margin-top: 20px; }
  .int__wrap { grid-template-columns: minmax(0, 1fr); }
  .foot__wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .foot__links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .nav { top: 10px; }
  .nav__bar { width: 100%; max-width: 520px; padding: 0 6px 0 16px; }
  .nav__brand { margin-right: auto; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px; border-radius: 22px; background: rgb(255 255 255 / .98); box-shadow: 0 0 0 .5px rgb(17 17 17 / .12), 0 18px 40px -16px rgb(17 17 17 / .3);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out), visibility 0s linear var(--t);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links a { height: 48px; padding: 0 14px; font-size: 16px; border-radius: 14px; }
  .nav__end { margin-left: 0; padding-left: 0; border-left: 0; }
  .nav__signin { display: none; }
  .nav__menu { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px; margin-left: 2px; border: 0; border-radius: 999px; background: rgb(17 17 17 / .06); font: 500 14.5px/1 var(--font-sans); color: var(--ink); cursor: pointer; }
  .nav__menu i { position: relative; width: 14px; height: 8px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform var(--t) var(--ease-out); }
  .nav.is-open .nav__menu i { transform: scaleY(.25); }
  .nav__end .btn--sm { height: 40px; }
  .h-hero { font-size: 44px; line-height: 1; }
  .lede { font-size: 17.5px; margin-top: 18px; }
  .h2 { font-size: 34px; }
  .h-statement { font-size: 56px; }
  .ctas .btn { flex: 1 1 auto; }
  .cap__n { font-size: 52px; }
  .cap__crop { height: auto; border-radius: 18px; padding: 18px 16px 20px; }
  .crop__inner, .cap__crop--recall .crop__inner, .cap__crop--connect .crop__inner, .cap__crop--reason .crop__inner { position: relative; left: auto; top: auto; translate: none; width: auto; -webkit-mask-image: none; mask-image: none; }
  .cap__crop--recall .tr-sources__cards { grid-template-columns: minmax(0, 1fr); }
  .cap__crop--recall .tr-doc:nth-child(n+3) { display: none; }
  .cap__crop--recall .tr-doc { transform: none !important; }
  .cap__crop--reason { max-height: 520px; }
  .int { padding: 64px 0 88px; }
  .int__wrap { padding-top: 40px; }
  .fin__sticky { padding-top: 88px; }
  .fin__top .btn { width: 100%; }
}

/* ---------------------------------- first paint (skipped under ?shot / reduced motion) ---------------------------------- */
.intro .ch--hero .lede, .intro .ch--hero .ctas { animation: v2-rise 1s var(--ease-reveal) both; }
.intro .ch--hero .h-hero .ln { animation: v2-fade 1s var(--ease-reveal) both; }
@keyframes v2-fade { from { opacity: 0; } }
.intro .ch--hero .h-hero .ln + br + .ln { animation-delay: .07s; }
.intro .ch--hero .lede { animation-delay: .14s; }
.intro .ch--hero .ctas { animation-delay: .2s; }
@keyframes v2-rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arr, .toast, .nav__links, .ph, .ht__btn, .ht__line, .hero-trail, .hero-ask .tr-ask__sources { transition: none !important; }
}

/* gate fix 2026-10-02: the source view's tool label ('Meetings') collided with the panel header's date during the evidence morph */
.ch__panel .tr-sv__tool { display: none; }
