/* ==========================================================================
   The Limitless CMO — platform design system, v2 "The Cover, Alive"
   Source: brand_context/limitless-design-system.md + the final book cover art.
   Ground near-black · white type · flat red #ED1C24 as punctuation ·
   the brand gradient lives ONLY in the infinity device and arc motifs ·
   Inter (variable, optical sizing) for voice · Oswald as the condensed
   display stand-in (wordmark face licensing is an open item).
   Depth: white-opacity surfaces, hairlines, one living light-ribbon device.
   ========================================================================== */

:root {
  --ground: #070606;
  --ground-deep: #050404;
  --white: #FFFFFF;
  --text-1: rgba(255, 255, 255, 0.92);
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.48);
  --surface: rgba(255, 255, 255, 0.10);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.22);
  --hairline: rgba(255, 255, 255, 0.15);
  --hairline-strong: rgba(255, 255, 255, 0.28);
  --signal: #ED1C24;
  --signal-bright: #FF3B42;
  --crimson: #9C0A0E;
  --oxblood: #580000;
  --grey-line: rgba(255, 255, 255, 0.36);
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-display: "Oswald", "Arial Narrow", sans-serif; /* wordmark-face stand-in */
  --wrap: 1200px;
  --pad: clamp(22px, 4.4vw, 40px);
  --nav-h: 64px;
  --nav-h-scrolled: 54px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--ground);
  color: var(--white);
  font-family: var(--font-ui);
  font-optical-sizing: auto;
  font-size: 17.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--signal); color: var(--white); }

img, svg, canvas, video { max-width: 100%; display: block; }

a { color: var(--white); text-decoration: none; }

button { font-family: var(--font-ui); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Focus visibility: red hairline ring, never removed, never default-blue */
:focus { outline: none; }
:focus-visible { outline: 1.5px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--white); color: var(--ground);
  font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 3px;
  transition: top 200ms var(--ease);
}
.skip-link:focus-visible { top: 12px; }

/* Film grain: one static, nearly invisible print-texture layer.
   Kills flat-digital-black cheapness at ~zero cost. */
.grain {
  position: fixed; inset: -50%; z-index: 200; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028;
  mix-blend-mode: overlay;
}

/* --------------------------------------------------------------------------
   Type voices
   1. Condensed display caps (Oswald stand-in) — brand moments, ghost
      numerals, stage names. Wordmark-adjacent only.
   2. Inter — headlines sentence case, body, UI. Scale + weight = hierarchy.
   3. Tracked light caps — eyebrows, labels, metadata (the BE LIMITLESS
      tagline register).
   -------------------------------------------------------------------------- */

h1, h2, h3 { font-weight: 620; letter-spacing: -0.028em; text-wrap: balance; }

h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: 1.0; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; }
h3 { font-size: 23px; line-height: 1.3; letter-spacing: -0.015em; }

p { color: var(--text-2); max-width: 66ch; }
p.lead { font-size: 19.5px; line-height: 1.6; }
strong { color: var(--white); font-weight: 520; }

.eyebrow {
  font-size: 12px;
  font-weight: 520;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-2);
  display: block;
}
.eyebrow.red { color: var(--signal); }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

/* Section header grammar: red index numeral · tracked label · hairline fill */
.sec-head {
  display: flex; align-items: center; gap: 20px;
}
.sec-head .sn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--signal);
}
.sec-head .sl {
  font-size: 12px; font-weight: 520;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-2); white-space: nowrap;
}
.sec-head::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--hairline);
}

/* Ghost numerals: outlined condensed digits anchoring section corners */
.ghost-num {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(170px, 21vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Links and buttons
   -------------------------------------------------------------------------- */

.tlink {
  display: inline-block;
  font-size: 16.5px;
  font-weight: 520;
  padding-bottom: 4px;
  position: relative;
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 300ms var(--ease);
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 420ms var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left center; }
.tlink .arrow { color: var(--signal); margin-left: 8px; transition: transform 300ms var(--ease); display: inline-block; }
.tlink:hover .arrow { transform: translateX(5px); }
.tlink.red { color: var(--signal); border-color: rgba(237, 28, 36, 0.4); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--white);
  color: #0A0909;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 17px 34px;
  border: 0; border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: transform 300ms var(--ease), background 300ms var(--ease);
}
.btn .barrow { color: var(--signal); transition: transform 300ms var(--ease); }
.btn:hover { transform: translateY(-2px); background: #F2F0F0; }
.btn:hover .barrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent;
  color: var(--white);
  font-size: 16.5px; font-weight: 520;
  padding: 16px 30px;
  border: 1px solid var(--hairline-strong); border-radius: 3px;
  cursor: pointer;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: var(--surface-soft); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: height 400ms var(--ease), background 400ms var(--ease),
              border-color 400ms var(--ease), backdrop-filter 400ms var(--ease);
  border-bottom: 1px solid transparent;
  background: transparent;
}
.nav.scrolled {
  height: var(--nav-h-scrolled);
  background: rgba(10, 8, 8, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--white); white-space: nowrap;
}
.wordmark .mark { width: 30px; height: auto; flex: 0 0 auto; }
.wordmark .mark path { fill: var(--white); }

.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 13.5px; font-weight: 470;
  color: rgba(255, 255, 255, 0.76);
  transition: color 250ms var(--ease);
  position: relative;
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--white); }
.nav-links a[aria-current]::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--signal);
}
.nav-links .mnum { display: none; }
.nav-links a.assess::after {
  content: ""; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--signal); margin-left: 7px;
  vertical-align: middle; transform: translateY(-1px);
}
.nav-cta {
  font-size: 13px; font-weight: 600;
  color: var(--white);
  border: 1px solid var(--hairline-strong);
  border-radius: 3px;
  padding: 9px 18px;
  transition: background 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.nav-cta:hover { background: var(--white); color: #0A0909; border-color: var(--white); }
.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   Thread rail: fixed left index — the red line that reads with you
   -------------------------------------------------------------------------- */

.thread {
  position: fixed; left: 34px; top: 50%;
  transform: translateY(-50%);
  height: 46vh;
  z-index: 90;
  display: none;
}
@media (min-width: 1380px) { .thread { display: block; } }
.thread .t-line {
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 1px; background: var(--hairline);
}
.thread .t-fill {
  position: absolute; left: 8px; top: 0;
  width: 1px; height: 0%;
  background: linear-gradient(to bottom, var(--crimson), var(--signal));
}
.thread .t-dot {
  position: absolute; left: 0; width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%);
  background: none; border: 0; padding: 0; cursor: pointer;
  appearance: none; -webkit-appearance: none;
}
.thread .t-dot::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.thread .t-dot .t-label {
  position: absolute; left: 24px; top: 50%;
  transform: translateY(-50%) translateX(-4px);
  font-size: 10px; font-weight: 520; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 250ms var(--ease), transform 250ms var(--ease), color 250ms var(--ease);
  pointer-events: none;
}
.thread .t-dot:hover .t-label { opacity: 1; transform: translateY(-50%) translateX(0); }
.thread .t-dot.on::before { background: var(--signal); transform: scale(1.35); }
.thread .t-dot.on .t-label { opacity: 1; transform: translateY(-50%) translateX(0); color: var(--text-2); }

/* --------------------------------------------------------------------------
   Sections, rules, surfaces
   -------------------------------------------------------------------------- */

main { position: relative; z-index: 1; }

section { padding: clamp(110px, 13vh, 170px) 0; position: relative; }
section[id], [id] { scroll-margin-top: 84px; }
.rule-top { border-top: 1px solid var(--hairline); }

.panel {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: 4px;
}

/* Apple-grade glass: blur + saturation over the brand's own light,
   top edge caught by a brighter hairline */
.glass {
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.arc-motif { position: absolute; pointer-events: none; z-index: 0; opacity: 0.8; will-change: transform; }
.arc-motif img, .arc-motif svg { width: 100%; height: auto; }

.texture { position: absolute; pointer-events: none; opacity: 0.05; z-index: 0; }

/* --------------------------------------------------------------------------
   Reveal motion. Default: rise + fade. Optional data-delay stagger.
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Hero line masks: each .hl wraps a line, .hli rises out of its clip */
.hl { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hl .hli {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1100ms var(--ease);
}
.go .hl:nth-child(1) .hli { transition-delay: 120ms; }
.go .hl:nth-child(2) .hli { transition-delay: 240ms; }
.go .hl:nth-child(3) .hli { transition-delay: 360ms; }
.go .hl .hli { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hl .hli { transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 30px);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero .eyebrow { margin-bottom: 34px; }
.hero h1 {
  font-size: clamp(52px, 7.9vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.034em;
  font-weight: 640;
  max-width: 12ch;
  margin-bottom: clamp(22px, 3.4vh, 34px);
}
.hero h1 .dot { color: var(--signal); }
.hero .hero-sub {
  max-width: 56ch; font-size: 19px; line-height: 1.62;
  margin-bottom: 44px;
}
.hero .hero-sub strong { font-weight: 520; }
.btn-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.cred-strip {
  margin-top: clamp(56px, 9vh, 104px);
  border-top: 1px solid var(--hairline);
  padding: 20px 0 26px;
}
.cred-strip ul {
  list-style: none;
  display: flex; gap: 14px 0; flex-wrap: wrap;
  font-size: 11.5px; font-weight: 520;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
}
.cred-strip li { display: flex; align-items: center; }
.cred-strip li + li::before {
  content: ""; display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 22px;
}
.cred-strip .hot { color: var(--text-2); }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
  pointer-events: none;
}
.scroll-cue .sc-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--grey-line));
  overflow: hidden; position: relative;
}
.scroll-cue .sc-line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--signal);
  animation: cue-drop 2.6s var(--ease-io) infinite;
}
@keyframes cue-drop {
  0% { top: -40%; } 55% { top: 100%; } 100% { top: 100%; }
}
.scroll-cue .sc-txt {
  font-size: 9.5px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--text-3);
}

/* --------------------------------------------------------------------------
   Pull quote (the paradox)
   -------------------------------------------------------------------------- */

.pullquote {
  font-size: clamp(28px, 4.6vw, 58px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -0.022em;
  color: var(--text-1);
  margin: 0 auto;
  text-align: center;
}
.pullquote em { font-style: normal; color: var(--signal); font-weight: 400; }

/* --------------------------------------------------------------------------
   MAPS: scroll-scrubbed schematic assembly
   -------------------------------------------------------------------------- */

/* The three levers: numbered, hairline-boxed, lever one opens into MAPS */
.levers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  overflow: hidden;
}
.lever {
  background: var(--ground);
  padding: 30px 30px 34px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 300ms var(--ease);
}
.lever:hover { background: rgba(255, 255, 255, 0.025); }
.lever .lv-num {
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px; letter-spacing: 0.14em;
  color: var(--signal);
}
.lever h3 { font-size: 20px; line-height: 1.28; letter-spacing: -0.015em; max-width: 22ch; }
.lever p { font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.lever .lv-more {
  margin-top: auto;
  font-size: 11px; font-weight: 560; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
  transition: color 250ms var(--ease);
}
.lever .lv-more .arrow { color: var(--signal); margin-left: 6px; display: inline-block; transition: transform 250ms var(--ease); }
.lever a.lv-more:hover { color: var(--text-2); }
.lever a.lv-more:hover .arrow { transform: translateY(3px); }

.maps-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 88px); align-items: start; width: 100%; }

.maps-diagram { position: relative; padding: 26px 26px 26px 34px; }
.maps-glow {
  position: absolute; inset: -12% -20%;
  pointer-events: none; z-index: 0;
  opacity: 0.26;
  filter: blur(2px);
  -webkit-mask-image: radial-gradient(85% 75% at 55% 48%, #000 30%, transparent 78%);
  mask-image: radial-gradient(85% 75% at 55% 48%, #000 30%, transparent 78%);
}
.maps-glow img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.maps-diagram > .maps-layer, .maps-diagram > .maps-spine,
.maps-diagram > .maps-wrapper-frame, .maps-diagram > .maps-wrapper-tag { position: relative; z-index: 1; }
.maps-diagram > .maps-spine { position: absolute; }
.maps-diagram > .maps-wrapper-frame { position: absolute; }
.maps-diagram > .maps-wrapper-tag { position: absolute; }
.maps-spine {
  position: absolute; left: 0; top: 26px; bottom: 26px; width: 1px;
  background: var(--hairline);
}
.maps-spine .ms-fill {
  position: absolute; left: 0; top: 0; width: 1px; height: 0%;
  background: linear-gradient(to bottom, var(--oxblood), var(--signal));
  transition: height 200ms linear;
}
.maps-wrapper-frame {
  position: absolute; inset: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.maps-diagram.wrapped .maps-wrapper-frame { opacity: 1; }
.maps-wrapper-tag {
  position: absolute; top: -9px; left: 26px;
  background: var(--ground);
  padding: 0 12px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-2);
  opacity: 0;
  transition: opacity 500ms var(--ease) 150ms;
}
.maps-diagram.wrapped .maps-wrapper-tag { opacity: 1; }

.maps-layer {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 10px;
  padding: 19px 22px;
  margin-bottom: 10px;
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease),
              border-color 300ms var(--ease), background 300ms var(--ease);
}
.maps-layer:last-child { margin-bottom: 0; }
.maps-layer.built { opacity: 1; transform: none; }

.maps-layer .lnum {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--text-3);
  flex: 0 0 26px;
  transition: color 300ms var(--ease);
}
.maps-layer .lname {
  font-size: 12.5px; font-weight: 560;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--white);
  flex: 1 1 auto;
}
.maps-layer .lmetric {
  font-size: 13.5px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
  text-align: right; white-space: nowrap;
}
.maps-layer.hot {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.maps-layer.hot .lnum { color: var(--signal); }

.maps-side .eyebrow { margin-bottom: 18px; }
.maps-side h2 { margin-bottom: 18px; max-width: 14ch; }
.maps-side .maps-copy { font-size: 16px; margin-bottom: 30px; }

.maps-explainer { list-style: none; border-top: 1px solid var(--hairline); }
.maps-explainer li {
  padding: 15px 0 15px 0;
  border-bottom: 1px solid var(--hairline);
  transition: opacity 350ms var(--ease);
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline;
}
.maps-explainer .xnum {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500; color: var(--text-3);
  transition: color 300ms var(--ease);
}
.maps-explainer .xname { display: block; font-size: 15.5px; font-weight: 560; margin-bottom: 3px; letter-spacing: -0.01em; }
.maps-explainer .xjob { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.maps-explainer li.dim { opacity: 0.32; }
.maps-explainer li.lit .xnum { color: var(--signal); }

/* --------------------------------------------------------------------------
   Framework index rows
   -------------------------------------------------------------------------- */

.fw-rows { border-top: 1px solid var(--hairline); }
.fw-row {
  display: grid;
  grid-template-columns: 70px 1fr 150px 130px;
  gap: 28px;
  align-items: center;
  padding: 30px 18px 30px 10px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  color: inherit;
  transition: padding 350ms var(--ease);
}
.fw-row::before {
  content: ""; position: absolute; inset: 0;
  background: var(--surface-soft);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 450ms var(--ease);
  pointer-events: none;
}
a.fw-row:hover::before, .fw-row.live:hover::before { transform: scaleX(1); }
a.fw-row:hover { padding-left: 22px; padding-right: 6px; }
.fw-row > * { position: relative; }
.fw-row .fnum {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500; letter-spacing: 0.10em;
  color: var(--text-3);
  transition: color 250ms var(--ease);
}
a.fw-row:hover .fnum, .fw-row.live:hover .fnum { color: var(--signal); }
.fw-row .fname { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 5px; display: inline-block; }
.fw-row .fdesc { font-size: 14.5px; color: var(--text-2); max-width: 52ch; display: block; line-height: 1.55; }
.fw-row .ftag {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
  text-align: right; white-space: nowrap;
}
.fw-row .thumb {
  width: 120px; justify-self: end;
  opacity: 0.34;
  filter: grayscale(1);
  transition: opacity 350ms var(--ease), filter 350ms var(--ease), transform 350ms var(--ease);
}
a.fw-row:hover .thumb { opacity: 1; filter: none; transform: scale(1.05); }
.fw-more { padding: 28px 0; }

.linework { stroke: var(--white); fill: none; stroke-width: 1.5; }
.linework-grey { stroke: var(--grey-line); fill: none; stroke-width: 1.5; }
.linework-red { stroke: var(--signal); fill: none; stroke-width: 1.5; }

/* --------------------------------------------------------------------------
   Maturity staircase
   -------------------------------------------------------------------------- */

.stair { display: flex; align-items: flex-end; gap: 7px; }
.stair .step {
  flex: 1; position: relative;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
  opacity: 0; transform: translateY(10px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.stair.built .step { opacity: 1; transform: none; }
.stair.built .step:nth-child(1) { transition-delay: 0ms; }
.stair.built .step:nth-child(2) { transition-delay: 140ms; }
.stair.built .step:nth-child(3) { transition-delay: 280ms; }
.stair.built .step:nth-child(4) { transition-delay: 420ms; }
.stair.built .step:nth-child(5) { transition-delay: 560ms; }
.stair .step span {
  position: absolute; bottom: -32px; left: 0; right: 0;
  text-align: center;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-2);
}
.stair .step:last-child span { color: var(--white); }
.stair .step .marker {
  position: absolute; top: -24px; left: 50%;
  transform: translateX(-50%) scale(0);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal);
  transition: transform 400ms var(--ease) 900ms;
}
.stair.built .step .marker { transform: translateX(-50%) scale(1); }
.stair .step .marker::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px solid rgba(237, 28, 36, 0.5); border-radius: 50%;
  opacity: 0;
  animation: marker-ring 2.8s var(--ease) 1.4s 2;
}
@keyframes marker-ring {
  0% { transform: scale(0.4); opacity: 0.9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* --------------------------------------------------------------------------
   The book: real cover, dimensional object
   -------------------------------------------------------------------------- */

.book-scene {
  perspective: 1600px;
  display: flex; justify-content: center;
  padding: 20px 0 0;
}
.book3d {
  position: relative;
  width: min(320px, 72vw);
  transform-style: preserve-3d;
  transform: rotateY(-17deg) rotateX(2deg);
  transition: transform 900ms var(--ease);
}
.book-scene:hover .book3d { transform: rotateY(-7deg) rotateX(1deg); }
.book3d .cover {
  width: 100%; height: auto;
  border-radius: 2px 5px 5px 2px;
  outline: 1px solid rgba(255, 255, 255, 0.09);
  outline-offset: -1px;
  box-shadow:
    -50px 60px 110px rgba(0, 0, 0, 0.72),
    -16px 22px 44px rgba(0, 0, 0, 0.55);
}
.book3d::before { /* page block, right edge */
  content: "";
  position: absolute; top: 1.2%; bottom: 1.6%; right: -14px;
  width: 14px;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.16) 0 2px, rgba(0,0,0,0) 2px 4px),
    linear-gradient(to right, #B9B5AE, #DedAd2 40%, #C9C5BE);
  transform: rotateY(56deg);
  transform-origin: left center;
  border-radius: 0 2px 2px 0;
}
.book3d::after { /* soft light sweep on the cover */
  content: "";
  position: absolute; inset: 0;
  border-radius: 2px 5px 5px 2px;
  background: linear-gradient(112deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 26%, rgba(255,255,255,0) 48%, rgba(0,0,0,0.14) 100%);
  pointer-events: none;
}
.book-reflection {
  position: absolute; top: 100%; left: 0; right: 0;
  transform: scaleY(-1) translateY(-6px);
  opacity: 0.09;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 64%, rgba(0,0,0,0.9) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0) 64%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
}
.book-reflection img { border-radius: 2px 5px 5px 2px; }

/* The book as photographed object (book page hero) */
.book-photo {
  width: min(460px, 82vw);
  height: auto;
  margin: 0 auto;
  display: block;
  -webkit-mask-image: radial-gradient(120% 120% at 50% 44%, #000 55%, transparent 92%);
  mask-image: radial-gradient(120% 120% at 50% 44%, #000 55%, transparent 92%);
}

/* legacy CSS book stand-in (kept for compatibility) */
.book-object {
  width: 280px; aspect-ratio: 5 / 7.6;
  background: linear-gradient(160deg, #191616 0%, #0f0d0d 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 6px solid #1d1919;
  border-radius: 2px 8px 8px 2px;
  position: relative; padding: 30px 24px;
  display: flex; flex-direction: column;
  box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.8);
}
.book-object .b-infinity { width: 84px; opacity: 0.95; margin-bottom: auto; }
.book-object .b-title { font-family: var(--font-display); font-size: 34px; line-height: 1.02; letter-spacing: 0.04em; text-transform: uppercase; }
.book-object .b-title .lim { color: var(--signal); }
.book-object .b-author { margin-top: 16px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-2); }

/* reader profiles ruled row */
.profiles { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.profiles > div { padding: 30px 30px 30px 0; }
.profiles > div + div { border-left: 1px solid var(--hairline); padding-left: 30px; }
.profiles .eyebrow { margin-bottom: 12px; }
.profiles p { font-size: 15px; }

/* book fact list (real jacket copy, ruled) */
.fact-list { list-style: none; border-top: 1px solid var(--hairline); max-width: 60ch; }
.fact-list li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px; color: var(--text-2); line-height: 1.55;
  position: relative;
}
.fact-list li::before {
  content: ""; position: absolute; left: 4px; top: 24px;
  width: 12px; height: 1px; background: var(--signal);
}

/* --------------------------------------------------------------------------
   Perspective (journal list)
   -------------------------------------------------------------------------- */

.essay-list { list-style: none; border-top: 1px solid var(--hairline); }
.essay-list li { border-bottom: 1px solid var(--hairline); }
.essay-list a {
  display: grid;
  grid-template-columns: 150px 1fr 40px;
  gap: 28px;
  padding: 32px 0;
  align-items: baseline;
  transition: padding 350ms var(--ease);
}
.essay-list a:hover { padding-left: 12px; }
.essay-list .edate {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.essay-list .etitle { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 7px; display: inline-block; transition: color 250ms var(--ease); }
.essay-list .estand { font-size: 15px; color: var(--text-2); max-width: 58ch; display: block; line-height: 1.55; }
.essay-list .go-arrow {
  color: var(--text-3);
  font-size: 18px;
  transform: translateX(-6px); opacity: 0;
  transition: transform 350ms var(--ease), opacity 350ms var(--ease), color 250ms var(--ease);
}
.essay-list a:hover .go-arrow { transform: translateX(0); opacity: 1; color: var(--signal); }

/* --------------------------------------------------------------------------
   BE LIMITLESS closing band + 2X endorser
   -------------------------------------------------------------------------- */

.close-band {
  text-align: center;
  padding: clamp(130px, 18vh, 210px) 0;
  overflow: hidden;
}
.close-band .cb-mark { width: clamp(88px, 10vw, 128px); margin: 0 auto 40px; }
.close-band .cb-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 9vw, 118px);
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* optically re-center tracked caps */
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}
.close-band .cb-tagline .be { font-weight: 600; }
.close-band .cb-sub { margin: 34px auto 0; max-width: 44ch; font-size: 16.5px; }
.close-band .btn-row { justify-content: center; margin-top: 44px; }

.endorser-mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-3);
}
.endorser-mark .mk {
  border: 1px solid var(--border); border-radius: 2px;
  padding: 6px 10px;
  font-weight: 600; font-size: 13px; letter-spacing: 0.04em;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--hairline);
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
  background: var(--ground-deep);
}
.foot-grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; align-items: flex-start; position: relative; z-index: 1; }
.foot-links { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; color: var(--text-2); transition: color 250ms var(--ease); }
.foot-links a:hover { color: var(--white); }
.newsletter { display: flex; gap: 0; margin-top: 16px; max-width: 400px; }
.newsletter input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border); border-right: none;
  border-radius: 3px 0 0 3px;
  color: var(--white);
  font-family: var(--font-ui); font-size: 14px;
  padding: 12px 16px;
  transition: border-color 250ms var(--ease), background 250ms var(--ease);
}
.newsletter input::placeholder { color: var(--text-3); }
.newsletter input:focus-visible { outline: none; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.newsletter button {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0 3px 3px 0;
  color: var(--white);
  font-family: var(--font-ui); font-size: 14px; font-weight: 520;
  padding: 12px 18px;
  cursor: pointer;
  transition: border-color 250ms var(--ease), color 250ms var(--ease), background 250ms var(--ease);
}
.newsletter button:hover { border-color: var(--signal); color: var(--signal); }
.colophon {
  margin-top: 60px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3);
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.foot-texture {
  position: absolute; bottom: -46%; right: -8%;
  width: 640px; opacity: 0.05;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Detail-page utilities (shared by subpages)
   -------------------------------------------------------------------------- */

.crumb { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); }
.crumb a { color: var(--text-2); }
.crumb a:hover { color: var(--white); }

.meta-block {
  border: 1px solid var(--hairline);
  background: var(--surface-soft);
  border-radius: 4px;
  padding: 26px 30px;
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--text-2);
}
.meta-block .eyebrow { margin-bottom: 12px; }
.meta-block code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px; color: var(--white);
  word-break: break-all;
}

.dl-links { display: flex; gap: 28px; flex-wrap: wrap; }

.tag-red, .tag-grey {
  display: inline-block;
  font-size: 10.5px; letter-spacing: 0.20em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 2px; border: 1px solid;
}
.tag-red { color: var(--signal); border-color: rgba(237, 28, 36, 0.45); }
.tag-grey { color: var(--text-2); border-color: var(--border); }

.cites-skips { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--hairline); }
.cites-skips > div { padding: 20px 28px 24px 0; }
.cites-skips > div + div { border-left: 1px solid var(--hairline); padding-left: 28px; }
.cites-skips ul { list-style: none; font-size: 15px; margin-top: 10px; }
.cites-skips li { padding: 5px 0; color: var(--text-2); }
.cites-skips li::before { content: "·"; margin-right: 10px; }
.cites-skips .cites li::before { color: var(--signal); }
.cites-skips .skips li::before { color: var(--text-3); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  background: transparent;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--text-2);
  font-family: var(--font-ui); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 250ms var(--ease), border-color 250ms var(--ease), background 250ms var(--ease);
}
.chip:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.chip.on { color: var(--white); border-color: rgba(255, 255, 255, 0.7); background: var(--surface-soft); }

.stacks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.stack-card {
  border: 1px solid var(--hairline);
  background: var(--surface-soft);
  border-radius: 4px;
  padding: 26px 28px;
  transition: border-color 300ms var(--ease), transform 300ms var(--ease);
}
.stack-card:hover { border-color: var(--hairline-strong); transform: translateY(-3px); }
.stack-card .eyebrow { margin-bottom: 12px; }
.stack-card .chain { font-size: 15px; color: var(--text-2); line-height: 1.8; }
.stack-card .chain b { color: var(--white); font-weight: 520; }
.stack-card .chain .sep { color: var(--signal); padding: 0 6px; }

/* --------------------------------------------------------------------------
   Screenshot/debug flattening (?shot=flat): deterministic full-page captures
   -------------------------------------------------------------------------- */

html.shot-flat .hero { min-height: 0; padding: 150px 0 90px; }
html.shot-flat .scroll-cue { display: none; }
html.shot-flat [data-reveal] { opacity: 1; transform: none; transition: none; }
html.shot-flat .hl .hli { transform: none; transition: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .maps-grid { grid-template-columns: 1fr; gap: 44px; }
  .levers { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .pullquote br { display: none; }
  .pullquote { text-wrap: balance; }
  .maps-wrapper-tag .tag-ext { display: none; }
  .maps-layer { flex-wrap: wrap; row-gap: 3px; }
  .maps-layer .lmetric { flex-basis: 100%; text-align: left; white-space: normal; padding-left: 44px; font-size: 12px; color: var(--text-3); }
  .ghost-num { display: none; }
  .stair .step span { font-size: 9px; letter-spacing: 0.10em; }
  .close-band .cb-tagline { font-size: clamp(30px, 10.5vw, 46px); letter-spacing: 0.18em; text-indent: 0.18em; }
}

@media (max-width: 560px) {
  .cred-strip li { width: 100%; }
  .cred-strip li + li::before { display: none; }
}

@media (max-width: 920px) {
  section { padding: 92px 0; }
  .profiles { grid-template-columns: 1fr; }
  .profiles > div + div { border-left: none; border-top: 1px solid var(--hairline); padding-left: 0; padding-top: 28px; }
  .fw-row { grid-template-columns: 44px 1fr; row-gap: 10px; padding: 26px 8px 26px 4px; }
  .fw-row .ftag { grid-column: 2; text-align: left; }
  .fw-row .thumb { display: none; }
  .cites-skips { grid-template-columns: 1fr; }
  .cites-skips > div + div { border-left: none; border-top: 1px solid var(--hairline); padding-left: 0; }
  [data-cols], .assess-grid, .book-grid { grid-template-columns: 1fr !important; }
  .essay-list a { grid-template-columns: 1fr; gap: 8px; }
  .essay-list .go-arrow { display: none; }
  .close-band .cb-tagline { letter-spacing: 0.22em; text-indent: 0.22em; }

  body { font-size: 17px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 6, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: 0 var(--pad);
    z-index: 90;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 32px; font-weight: 600; padding: 12px 0; letter-spacing: -0.02em; }
  .nav-links.open .mnum {
    font-family: var(--font-display);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--signal);
    display: block; margin-bottom: 2px;
  }
  .nav-links a[aria-current]::before { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: block;
    background: none; border: 1px solid var(--hairline-strong); border-radius: 3px;
    color: var(--white);
    font-family: var(--font-ui); font-size: 12.5px; font-weight: 520;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    cursor: pointer;
    position: relative; z-index: 95;
  }
  .hero h1 { font-size: clamp(40px, 11.8vw, 64px); }
  .ghost-num { font-size: 130px; opacity: 0.7; }
}

@media (max-width: 560px) {
  .btn, .btn-ghost { width: 100%; justify-content: center; }
  .cred-strip li + li::before { margin: 0 12px; }
  .book3d { width: min(250px, 78vw); }
}

@media print {
  .nav, .thread, .grain, .scroll-cue, .hero-canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
