:root {
  --ff-sans: "Rethink Sans", system-ui, -apple-system, sans-serif;
  --ff-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ff-serif: "STIX Two Text", Georgia, "Times New Roman", serif;

  --c-purple: #875BFF;
  --c-purple-dark: #5F3DD1;
  --c-purple-light: #E2D7FA;
  --c-purple-wash: #F3EEFF;
  --c-off-white: #F0EFEA;
  --c-black: #0A0A0A;
  --c-ink: #141311;
  --c-ink-soft: #2A2824;
  --c-muted: #5B5449;
  --c-muted-soft: #8A857A;
  --c-border: #D9D6CE;
  --c-border-dark: #1F1F1F;
  --c-white: #FFFFFF;

  --fs-hero: clamp(2.5rem, 7.5vw, 6rem);
  --fs-display: clamp(2rem, 5.5vw, 4rem);
  --fs-h1: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h2: clamp(1.25rem, 2.25vw, 1.875rem);
  --fs-h3: clamp(1.25rem, 1.75vw, 1.5rem);
  --fs-quote: clamp(1.625rem, 4.25vw, 3.5rem);
  --fs-metric: clamp(2rem, 4.5vw, 3.5rem);
  --fs-stat: clamp(2.5rem, 5.5vw, 4.75rem);
  --fs-body-lg: clamp(1.0625rem, 1.2vw, 1.25rem);
  --fs-body: clamp(0.9375rem, 1vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;
  --fs-eyebrow: 0.75rem;

  --sp-section-y: clamp(3.5rem, 7vw, 7rem);
  --sp-section-x: clamp(1.25rem, 5vw, 5rem);
  --sp-stack: clamp(0.75rem, 1vw, 1.25rem);

  --w-content: 1280px;
  --w-reading: 820px;
  --w-narrow: 640px;

  --r-card: 16px;
  --r-video: clamp(12px, 1.5vw, 20px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id^="chapter-"] { scroll-margin-top: 1.5rem; }
body {
  background: var(--c-off-white);
  color: var(--c-ink);
  font-family: "Rethink Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--w-content);
  margin: 0 auto;
  padding-inline: var(--sp-section-x);
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-purple);
  line-height: 1.4;
}

.eyebrow--muted { color: var(--c-muted); }
.eyebrow--light { color: var(--c-purple-light); }

.chapter-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 1.25rem;
}

.display-title {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--c-ink);
  margin: 0;
}

.section-title {
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--c-ink);
  margin: 0;
}

.lede {
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--c-ink);
  max-width: var(--w-reading);
}

.body-text {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-ink-soft);
}
.body-text strong { font-weight: 700; color: var(--c-ink); }

.body-text + .body-text { margin-top: 1.25rem; }

.metric-number {
  font-size: var(--fs-metric);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--c-ink);
}

.metric-label {
  font-size: var(--fs-small);
  color: var(--c-muted);
  line-height: 1.5;
}

.accent-purple { color: var(--c-purple); }

.rule {
  height: 1px;
  background: var(--c-border);
  border: 0;
  margin: 0;
}

/* Masthead */
.masthead {
  background: var(--c-black);
  color: var(--c-white);
  border-bottom: 1px solid var(--c-border-dark);
  padding-inline: var(--sp-section-x);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  max-width: var(--w-content);
  margin: 0 auto;
}
.masthead__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.masthead__mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.masthead__wordmark {
  height: 18px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.masthead__section {
  color: rgba(255,255,255,0.55);
  font-size: var(--fs-small);
  letter-spacing: -0.01em;
}
.masthead__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.masthead__nav a {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-small);
  transition: color 0.2s;
}
.masthead__nav a:hover { color: var(--c-white); }
.masthead__nav a.masthead__cta {
  background: var(--c-white);
  color: var(--c-black);
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 500;
  transition: opacity 0.2s;
}
.masthead__nav a.masthead__cta:hover { opacity: 0.88; color: var(--c-black); }

@media (max-width: 720px) {
  .masthead__nav a:not(.masthead__cta) { display: none; }
  .masthead__section { display: none; }
}

/* Hero */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 4vw, 4rem);
  padding-inline: var(--sp-section-x);
}
.hero__inner { max-width: var(--w-content); margin: 0 auto; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.hero__meta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hero__meta-dot {
  width: 4px;
  height: 4px;
  background: var(--c-muted);
  border-radius: 50%;
  opacity: 0.5;
}
.hero__meta-group .accent { color: var(--c-purple); }
.hero__headline {
  font-size: clamp(1.625rem, 3.4vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--c-ink);
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem);
  max-width: none;
}
.hero__sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.5rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--c-muted);
  max-width: 56ch;
  margin: 0;
}

/* Video hero */
.video-hero {
  padding-inline: var(--sp-section-x);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-image {
  max-width: var(--w-content);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  padding-inline: var(--sp-section-x);
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hero-image__caption {
  margin-top: 0.875rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.video-hero__frame {
  max-width: var(--w-content);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-video);
  background: var(--c-black);
  position: relative;
  overflow: hidden;
}
.video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-off-white);
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}
.video-hero__tag {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.video-hero__dot {
  width: 8px;
  height: 8px;
  background: #FF6B35;
  border-radius: 50%;
}
.video-hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  text-align: center;
  padding: 1rem;
}
.video-hero__play {
  width: clamp(64px, 7vw, 96px);
  height: clamp(64px, 7vw, 96px);
  border-radius: 50%;
  background: var(--c-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.video-hero__play:hover { transform: scale(1.05); }
.video-hero__play svg { width: 30%; height: auto; }
.video-hero__quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--c-white);
  max-width: 28ch;
  margin: 0;
}
.video-hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--c-off-white);
  gap: 1rem;
  flex-wrap: wrap;
}
.video-hero__speaker-name {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-white);
}
.video-hero__speaker-role {
  font-size: var(--fs-micro);
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.video-hero__cta {
  font-size: var(--fs-small);
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
}

/* Stat band */
.stat-band {
  background: var(--c-black);
  color: var(--c-white);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  padding-inline: var(--sp-section-x);
}
.stat-band__grid {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.stat-band__item { display: flex; flex-direction: column; gap: 0.625rem; }
.stat-band__label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.stat-band__value {
  font-size: var(--fs-stat);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.stat-band__sub {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}
@media (max-width: 860px) {
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 460px) {
  .stat-band__grid { grid-template-columns: 1fr; }
}

/* Section layout (sidebar + content) */
.section {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
}
.section__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 7rem);
  align-items: start;
}
.section--reverse .section__inner {
  grid-template-columns: minmax(0, 1fr);
}
.section__aside {
  position: sticky;
  top: 2rem;
}
.section__aside .rule { display: none; }
.section__body { min-width: 0; }
@media (max-width: 880px) {
  .section__inner { grid-template-columns: 1fr; gap: 2rem; }
  .section__aside { position: static; }
}

/* Intro */
.intro { background: var(--c-off-white); }
.intro__body .lede {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 500;
  color: var(--c-ink);
  max-width: 58ch;
  margin-bottom: 2rem;
}
.intro__highlight {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-body-lg);
  font-weight: 500;
  color: var(--c-purple);
  max-width: 58ch;
}

/* Chapter section */
.chapter-title {
  font-family: var(--ff-sans);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 0.875rem;
}

.numbered-force {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--c-border);
}
.numbered-force__num {
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--c-purple);
  font-variant-numeric: tabular-nums;
  padding-top: 0.25rem;
}
.numbered-force__body h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 0.75rem;
}

.giants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-block: 2.5rem;
}
@media (max-width: 640px) {
  .giants-grid { grid-template-columns: 1fr; }
}
.giant-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.giant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(0,0,0,0.18);
  border-color: rgba(135,91,255,0.4);
}
.giant-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.giant-card__name { font-weight: 600; font-size: var(--fs-h3); }
.giant-card__mcap {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  color: var(--c-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.giant-card__metric {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.giant-card__desc { color: var(--c-muted); font-size: var(--fs-small); line-height: 1.5; }

.closer-callout {
  position: relative;
  margin: 2.5rem 0;
  padding: 1.25rem 0 1.25rem 4rem;
  font-family: var(--ff-serif);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.closer-callout::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.4em;
  font-family: var(--ff-serif);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-purple);
}

.capital-efficiency {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.capital-efficiency h3 {
  font-size: var(--fs-h2);
  margin: 0 0 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Pullquote */
.pullquote {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  padding-inline: var(--sp-section-x);
}
.pullquote__photo {
  max-width: var(--w-content);
  margin: 0 auto 1.25rem;
  border-radius: var(--r-card);
  overflow: hidden;
}
.pullquote__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.pullquote__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.pullquote__eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-purple);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.pullquote__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.pullquote__text {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-weight: 500;
  color: var(--c-ink);
  flex: 1 1 320px;
  margin: 0;
  max-width: none;
}
.pullquote__attribution {
  text-align: right;
  flex-shrink: 0;
}
.pullquote__name { font-size: var(--fs-small); font-weight: 500; color: var(--c-ink); }
.pullquote__role { font-size: var(--fs-micro); color: var(--c-muted); margin-top: 2px; }

/* Stat row for section II */
.severity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-block: 2.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
@media (max-width: 640px) { .severity-stats { grid-template-columns: 1fr; } }
.severity-stats__item { }
.severity-stats__value {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-ink);
  margin-bottom: 0.5rem;
}
.severity-stats__label { font-size: var(--fs-small); color: var(--c-muted); line-height: 1.5; }

.forces-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-block: 2.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--c-border);
}
@media (max-width: 640px) { .forces-grid { grid-template-columns: 1fr; } }
.force { }
.force__label {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.force__num { font-family: var(--ff-mono); font-size: var(--fs-micro); color: var(--c-muted); font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }
.force__name { font-size: var(--fs-body); font-weight: 700; color: var(--c-ink); }
.force__desc { font-size: var(--fs-small); color: var(--c-muted); line-height: 1.55; }

/* Section III — AI-native OS hero */
.os-hero {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
}
.os-hero__inner { max-width: var(--w-content); margin: 0 auto; }
.os-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--c-ink);
  max-width: none;
  margin: 1rem 0 0.75rem;
}
.os-hero__sub {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--c-muted);
  margin: 0 0 2.5rem;
}
.os-hero__body {
  display: block;
}
.os-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
@media (max-width: 880px) {
  .os-hero__metrics { grid-template-columns: 1fr; gap: 1.5rem; }
}
.os-hero__metric { padding-top: 0; }
.os-hero__metric-num {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.os-hero__metric-label {
  font-size: var(--fs-small);
  color: var(--c-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Three systems */
.three-systems {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
}
.three-systems__inner { max-width: var(--w-content); margin: 0 auto; }
.three-systems__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.three-systems__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.three-systems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .three-systems__grid { grid-template-columns: 1fr; } }
.sys-card {
  padding: 2rem;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 280px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.sys-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.35);
}
.sys-card--white:hover { box-shadow: 0 14px 30px -20px rgba(0,0,0,0.2); }
.sys-card--white,
.sys-card--black,
.sys-card--purple {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
}
.sys-card__head { display: flex; align-items: center; gap: 0.75rem; }
.sys-card__num {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.sys-card__num { background: var(--c-ink); color: var(--c-white); }
.sys-card__path {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.7;
}
.sys-card--purple .sys-card__path { opacity: 1; }
.sys-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}
.sys-card__desc {
  font-size: var(--fs-small);
  line-height: 1.55;
  opacity: 0.85;
}
.three-systems__note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-body-lg);
  color: var(--c-muted);
  max-width: 56ch;
}

/* Why Hard aside */
.why-hard {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
}

/* Autonomous */
.autonomous {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
  background: var(--c-off-white);
}
.autonomous__inner { max-width: var(--w-content); margin: 0 auto; }
.autonomous__head {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  grid-template-areas:
    "label label"
    "title sub";
  column-gap: clamp(2rem, 5vw, 7rem);
  row-gap: 0.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.autonomous__head .chapter-label { grid-area: label; }
.autonomous__title { grid-area: title; }
.autonomous__sub { grid-area: sub; }
@media (max-width: 880px) {
  .autonomous__head {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "title" "sub";
    gap: 1rem;
  }
}
.autonomous__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: none;
  margin: 0;
}
.autonomous__sub {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 40ch;
  margin: 0;
}
.autonomous__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) { .autonomous__grid { grid-template-columns: 1fr; } }
.agent-card {
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,0.2);
}
.agent-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-purple);
  font-weight: 400;
}
.agent-card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--c-ink);
  margin: 0;
}
.agent-card__desc {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--c-muted);
}
.autonomous__foot {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-body-lg);
  color: var(--c-ink);
  max-width: 68ch;
}

/* Network + Hardware */
.network-hardware {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
}
.network-hardware__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0.75rem clamp(2rem, 5vw, 5rem);
}
.nh-col {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0.5rem;
}
@media (max-width: 880px) {
  .network-hardware__inner { grid-template-columns: 1fr; grid-template-rows: none; gap: 3rem; }
  .nh-col { grid-row: auto; grid-template-rows: none; }
}
.nh-col h3 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.02em; margin: 0.5rem 0 1rem; }
.nh-col__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--c-white);
  border-radius: var(--r-card);
  margin-bottom: 1rem;
}
.nh-col__image--dark {
  object-fit: cover;
  background: var(--c-black);
  padding: 0;
}
.nh-col__lede { font-weight: 500; font-size: var(--fs-body-lg); margin-bottom: 1rem; color: var(--c-ink); }
.nh-col__body { color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; }

/* Chapter 4 head */
.chapter-head {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
  background: var(--c-off-white);
}
.chapter-head__inner { max-width: var(--w-content); margin: 0 auto; }
.chapter-head__quote {
  font-family: var(--ff-sans);
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--c-ink);
  max-width: 28ch;
  margin: 1rem 0 1.5rem;
}
.chapter-head__quote .accent-purple { color: var(--c-purple); }
.chapter-head__body {
  font-size: var(--fs-body-lg);
  color: var(--c-muted);
  max-width: 56ch;
  line-height: 1.6;
}

/* Case studies */
.cases {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  background: var(--c-off-white);
}
.cases__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .cases__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cases__inner { grid-template-columns: 1fr; } }
.case-card {
  background: var(--c-white);
  border-radius: var(--r-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -16px rgba(0,0,0,0.18);
}
.case-card > .placeholder,
.case-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
}
.case-card__metrics { padding-top: 1rem; gap: 1rem; }
.case-card__metric-num { margin-bottom: 0.25rem; }
.case-card__label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-purple);
  font-weight: 400;
}
.case-card__name {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0.375rem 0 0;
}
.case-card__switch {
  font-size: var(--fs-small);
  color: var(--c-muted);
  line-height: 1.5;
}
.case-card__metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
}
.case-card__metrics--row {
  flex-direction: row;
  gap: 1.5rem;
}
.case-card__metric { flex: 1; }
.case-card__metric-num {
  font-size: clamp(1.75rem, 2.75vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.case-card__metric-label { font-size: var(--fs-small); color: var(--c-muted); line-height: 1.5; }
.case-card__quote {
  padding: 1.25rem;
  background: var(--c-off-white);
  border-radius: 10px;
  font-family: var(--ff-serif);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-ink);
}
.case-card__quote-att {
  font-size: var(--fs-micro);
  color: var(--c-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}
.case-card__cta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: var(--c-purple);
  font-weight: 500;
}

/* Aggregate results */
.aggregate {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
}
.aggregate__inner { max-width: var(--w-content); margin: 0 auto; }
.aggregate__head {
  margin-bottom: 2rem;
}
.aggregate__hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: 2rem;
  border-top: 1px solid var(--c-border);
}
@media (max-width: 880px) {
  .aggregate__hero { grid-template-columns: 1fr; gap: 2.5rem; }
}
.aggregate__hero-num {
  font-size: clamp(6rem, 13vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--c-purple);
}
.aggregate__hero-label {
  margin: 1.25rem 0 2rem;
  font-size: var(--fs-body-lg);
  color: var(--c-ink);
  max-width: 40ch;
  line-height: 1.5;
}
.aggregate__hero-subs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.75rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.25rem;
}
.aggregate__hero-subs > div { display: flex; flex-direction: column; gap: 0.25rem; }
.aggregate__sub-num {
  font-size: clamp(1.5rem, 2.25vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--c-ink);
}
.aggregate__sub-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.aggregate__chart {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aggregate__chart svg { width: 100%; height: auto; display: block; }
.aggregate__caption {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-align: center;
}
.aggregate__note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-body-lg);
  color: var(--c-muted);
  max-width: 68ch;
}

/* Economics */
.economics {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
}
.economics h3 {
  font-size: var(--fs-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.traction-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--c-border);
  margin: 2rem 0;
}
@media (max-width: 640px) {
  .traction-grid { grid-template-columns: 1fr; gap: 0.25rem 0; }
  .traction-grid > * + * + *::before { content: ""; display: block; height: 0.5rem; }
}
.traction-grid dt {
  font-weight: 500;
  color: var(--c-ink);
  padding: 0.75rem 0;
  border-top: 1px solid var(--c-border);
}
.traction-grid dt:first-child { border-top: 0; padding-top: 0; }
.traction-grid dd {
  margin: 0;
  color: var(--c-muted);
  padding: 0.75rem 0;
  border-top: 1px solid var(--c-border);
}
.traction-grid dd:nth-of-type(1) { border-top: 0; padding-top: 0; }

/* Competitive table */
.competitive {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  background: var(--c-black);
  color: var(--c-white);
}
.competitive__inner { max-width: var(--w-content); margin: 0 auto; }
.competitive__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) { .competitive__head { grid-template-columns: 1fr; } }
.competitive__title {
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
}
.competitive__body {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.comp-table {
  width: 100%;
  overflow-x: auto;
}
.comp-table__inner {
  min-width: 720px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.comp-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 2fr 2fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.comp-row--head { font-family: var(--ff-mono); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); }
.comp-row--vori { background: linear-gradient(90deg, rgba(135,91,255,0.12) 0%, rgba(135,91,255,0) 100%); }
.comp-row__name { font-weight: 500; }
.comp-row--vori .comp-row__name { color: var(--c-purple-light); }
.comp-row__cell { color: rgba(255,255,255,0.75); font-size: var(--fs-small); line-height: 1.4; }
.comp-row__cell--vori {
  font-weight: 600;
  color: var(--c-white);
  font-size: var(--fs-body-lg);
}
.comp-row__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--c-purple);
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Graveyard */
.graveyard {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  background: var(--c-black);
  color: var(--c-white);
}
.graveyard .chapter-label { color: var(--c-purple-light); }
.graveyard .section-title { color: var(--c-white); }
.graveyard .body-text { color: rgba(255,255,255,0.78); }
.graveyard .closer-callout {
  background: transparent;
  color: var(--c-white);
}

/* Roadmap */
.roadmap {
  padding-block: var(--sp-section-y) clamp(2rem, 4vw, 4rem);
  padding-inline: var(--sp-section-x);
}
.roadmap__head-inner { max-width: var(--w-content); margin: 0 auto; }
.roadmap__intro {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--c-ink);
  max-width: 56ch;
  margin: 1rem 0 3rem;
}
.roadmap__timeline {
  max-width: var(--w-content);
  margin: 0 auto;
}
.roadmap__track {
  position: relative;
  height: 24px;
  margin-bottom: 1.5rem;
}
.roadmap__line {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--c-border);
  transform: translateY(-50%);
  overflow: hidden;
}
.roadmap__line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--progress, 0%);
  background: var(--c-purple);
  transition: width 0.2s linear;
}
.roadmap__dots {
  position: absolute;
  inset: 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.roadmap__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-off-white);
  border: 2px solid var(--c-off-white);
  box-shadow: 0 0 0 1px var(--c-border);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.roadmap__dot.is-active {
  background: var(--c-purple);
  box-shadow: 0 0 0 1px var(--c-purple);
}
.roadmap__dot--live {
  width: 16px;
  height: 16px;
}
.roadmap__dot--live.is-active {
  background: var(--c-purple);
  box-shadow: 0 0 0 4px rgba(135,91,255,0.18);
}
.roadmap__stops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .roadmap__stops { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .roadmap__stops { grid-template-columns: 1fr; }
  .roadmap__track { display: none; }
}
.stop {
  padding-right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.stop__when {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.stop--live .stop__when { color: var(--c-purple); }
.stop--horizon .stop__when { color: var(--c-ink); }
.stop__title {
  font-size: var(--fs-h3);
  letter-spacing: -0.015em;
  line-height: 1.15;
  font-weight: 500;
  margin: 0;
  color: var(--c-ink);
}
.stop__body {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--c-muted);
}

/* Founders note */
.founders-note {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  background: var(--c-off-white);
  border-top: 1px solid var(--c-border);
}
.founders-note__archival {
  margin: 0 0 2rem;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-off-white);
}
.founders-note__archival img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.founders-note__archival figcaption {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 0.75rem 0 0;
}
.founders-note__portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-card);
  margin: 1rem 0 1.5rem;
}
.founders-note__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.25rem;
}
.founders-note__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}
.founders-note__author-info { line-height: 1.25; }
.founders-note__author-name { font-size: var(--fs-small); font-weight: 500; }
.founders-note__author-role { font-size: var(--fs-micro); color: var(--c-muted); }
.founders-note__body p {
  font-family: var(--ff-serif);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--c-ink);
  max-width: 62ch;
}
.founders-note__body p + p { margin-top: 1.5rem; }
.founders-note__body strong { font-weight: 700; color: var(--c-ink); }
.founders-note__body p:first-child {
  font-family: var(--ff-serif);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  margin-bottom: 0.5rem;
}
.founders-note__callout {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--c-purple);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-ink);
  max-width: 60ch;
}
.founders-note__signature {
  margin-top: 2rem;
  font-size: var(--fs-small);
  color: var(--c-muted);
}

/* Hiring */
.hiring {
  padding-block: var(--sp-section-y);
  padding-inline: var(--sp-section-x);
  background: var(--c-black);
  color: var(--c-white);
}
.hiring__inner { max-width: var(--w-content); margin: 0 auto; }
.hiring__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hiring__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--c-white);
  max-width: 18ch;
  margin: 0 0 2.5rem;
}
.hiring__photo {
  position: relative;
  margin: 0 0 2.5rem;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 16 / 9;
  background: #0A0A0A;
}
.hiring__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hiring__photo-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(10,10,10,0.55);
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}
@media (max-width: 720px) {
  .hiring__photo { aspect-ratio: 4 / 3; }
}
.hiring__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
@media (max-width: 720px) { .hiring__body { grid-template-columns: 1fr; } }
.hiring__body p {
  font-size: var(--fs-body-lg);
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  max-width: 56ch;
}
.hiring__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--c-purple);
  color: var(--c-white);
  border-radius: 999px;
  font-weight: 500;
  font-size: var(--fs-body);
  white-space: nowrap;
  transition: background 0.2s;
}
.hiring__cta:hover { background: var(--c-purple-dark); }

/* Footer */
/* Footer CTA band */
.footer-cta {
  background: var(--c-black);
  color: var(--c-white);
  padding-inline: var(--sp-section-x);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.footer-cta__inner {
  max-width: var(--w-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}
.footer-cta__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--c-white);
  margin: 0;
  max-width: 18ch;
  grid-column: 1;
}
.footer-cta__sub {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.7);
  margin: 1rem 0 0;
  grid-column: 1;
}
.footer-cta__btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  background: var(--c-purple);
  color: var(--c-white);
  font-weight: 500;
  font-size: var(--fs-small);
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.footer-cta__btn:hover { background: var(--c-purple-dark); }
@media (max-width: 720px) {
  .footer-cta__inner { grid-template-columns: 1fr; }
  .footer-cta__btn { grid-column: 1; grid-row: auto; align-self: start; justify-self: start; }
}

/* Footer */
.footer {
  background: var(--c-black);
  color: var(--c-white);
  padding-inline: var(--sp-section-x);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__inner { max-width: var(--w-content); margin: 0 auto; }
.footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1fr;
  gap: clamp(2rem, 3vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
}
@media (max-width: 960px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__brand-lockup { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; }
.footer__brand-mark { width: 32px; height: 32px; }
.footer__brand-wordmark { height: 20px; width: auto; filter: brightness(0) invert(1); }
.footer__brand-line { font-size: var(--fs-small); color: rgba(255,255,255,0.6); max-width: 28ch; line-height: 1.5; margin: 0; }
.footer__col h4 {
  font-family: var(--ff-serif);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--c-white);
  margin: 0 0 1rem;
}
.footer__col-sub { margin-top: 1.75rem !important; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.footer__col a {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--c-white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__legal { display: flex; gap: 1.75rem; }
.footer__legal a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--c-white); }

/* Table of Contents */
.toc {
  padding-block: clamp(2.5rem, 4vw, 4rem);
  padding-inline: var(--sp-section-x);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-off-white);
}
.toc__inner { max-width: var(--w-content); margin: 0 auto; }
.toc__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--c-border);
}
.toc__row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
  cursor: pointer;
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.toc__row:hover { background: rgba(135,91,255,0.05); padding-left: 0.5rem; }
.toc__row:hover .toc__title { color: var(--c-purple); }
.toc__num {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-purple);
}
.toc__num::before { content: "Chapter "; color: var(--c-muted); }
.toc__title {
  font-size: var(--fs-body-lg);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.toc__time {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
@media (max-width: 560px) {
  .toc__row { grid-template-columns: 56px 1fr auto; gap: 1rem; }
  .toc__num::before { content: "Ch "; }
}

/* Placeholder image frames */
.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(135,91,255,0.04) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, #EDEAE2 0%, #E4E0D7 100%);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-card);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  color: var(--c-muted);
}
.placeholder__tag {
  font-family: var(--ff-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.placeholder--wide {
  aspect-ratio: 16 / 9;
  margin: 1rem 0 1.5rem;
}
.placeholder--card {
  aspect-ratio: 4 / 3;
  margin-bottom: 0.5rem;
}
.placeholder--portrait {
  aspect-ratio: 3 / 4;
  margin: 1rem 0;
  max-width: 260px;
}
.placeholder--archival {
  aspect-ratio: 3 / 2;
  margin: 0 0 2rem;
  filter: sepia(0.2);
}
.placeholder--team {
  aspect-ratio: 21 / 9;
  margin: 2rem 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 10px, transparent 10px 20px),
    linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
}
