:root {
  --bg: #fbf7ee;
  --surface: #fffdf9;
  --paper-2: #f6f0e5;
  --ink: #172033;
  --navy: #1A365D;
  --navy-2: #10243f;
  --muted: #556171;
  --faint: #7b8490;
  --rule: #e5ded1;
  --rule-strong: #c9c0ae;
  --accent: #741B47;
  --amber: #b7772d;
  --gold: #c58c35;
  --sage: #4f7b64;
  --header-height: 76px;
  --page: min(1480px, calc(100vw - 104px));
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: auto;
  scroll-padding-top: var(--header-height);
  scroll-snap-type: y proximity;
}
body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(26,54,93,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,54,93,0.009) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  padding-inline: max(52px, calc((100vw - 1480px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255,253,249,.985);
  border-bottom: 1px solid rgba(201,192,174,.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  width: auto;
}
.brand-wordmark,
.closing-wordmark {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .9;
}
.brand-wordmark { font-size: 29px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}
.site-nav a:hover {
  color: var(--navy);
  border-color: var(--rule);
  background: rgba(255,253,249,.86);
}
.site-nav .nav-cta {
  padding: 8px 13px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--surface);
  font-weight: 800;
}
.site-nav .nav-cta:hover { background: var(--navy-2); color: var(--surface); }

.landing-slides { position: relative; z-index: 2; }
.page-section {
  width: var(--page);
  min-height: 100svh;
  margin-inline: auto;
  position: relative;
  scroll-snap-align: start;
  padding: 116px 0 72px;
}

/* Thesis continuity spine: one visible track from the first thesis point to the last. */
.continuity-spine {
  position: relative;
}
.continuity-spine .page-section {
  z-index: 1;
}
.continuity-track {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.continuity-track-segment {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.5px rgba(197,140,53,.32));
}
.continuity-track-segment.segment-0 { stroke-dasharray: 5 15; opacity: .68; }
.continuity-track-segment.segment-1 { stroke-dasharray: 9 12; opacity: .76; }
.continuity-track-segment.segment-2 { stroke-dasharray: 14 8; opacity: .84; }
.continuity-track-segment.segment-3 { stroke-dasharray: 23 5; opacity: .92; }
.continuity-track-segment.segment-4 { opacity: 1; }
.continuity-spine .hero h1,
.continuity-spine .stories-statement,
.continuity-spine .memory h2,
.continuity-spine .why h2,
.continuity-spine .continuity h2,
.continuity-spine .closing h2 {
  position: relative;
}
.continuity-point {
  position: absolute;
  z-index: 3;
  top: .48em;
  left: -34px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--navy-2);
  border-radius: 50%;
  background: var(--navy);
  box-shadow:
    0 0 0 3px rgba(251,247,238,.98),
    0 0 7px rgba(197,140,53,.22);
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.continuity-point-4,
.continuity-point-5 {
  box-shadow:
    0 0 0 3px rgba(251,247,238,.98),
    0 0 9px rgba(197,140,53,.34);
}
.section-kicker,
.micro-label {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1,
.stories-statement,
.loss h2,
.why h2,
.continuity h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -.065em;
  line-height: .95;
}
.text-link,
.closing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 174px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 120ms ease, color 120ms ease;
}
.text-link:hover,
.closing-cta:hover { border-color: var(--navy); color: var(--navy-2); }

/* 01 — Thesis. No decorative system: typography must carry the opening on its own. */
.hero {
  display: flex;
  align-items: center;
}
.hero-copy { width: min(1010px, 74vw); }
.hero h1 { color: var(--navy); font-size: clamp(72px, 7vw, 116px); }
.hero h1 span { display: block; white-space: nowrap; }
.hero-copy > p {
  margin: 34px 0 0;
  max-width: 460px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 500;
  line-height: 1.45;
}
.hero-copy > p strong { color: var(--ink); font-weight: 800; }
.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-cta {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 1px solid var(--navy);
  font-size: 14px;
  font-weight: 800;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, box-shadow 120ms ease;
}
.hero-cta-primary {
  background: var(--navy);
  color: var(--surface);
  box-shadow: 4px 4px 0 rgba(116,27,71,.18);
}
.hero-cta-secondary {
  background: rgba(255,253,249,.88);
  color: var(--navy);
}
.hero-cta:hover { transform: translate(-2px,-2px); }
.hero-cta-primary:hover { background: var(--navy-2); box-shadow: 6px 6px 0 rgba(116,27,71,.21); }
.hero-cta-secondary:hover { background: var(--surface); box-shadow: 4px 4px 0 rgba(26,54,93,.07); }

/* 02 — Scientific evidence. Pigment is reserved for scientific material. */
.stories {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 112px;
}
.stories-kicker {
  margin-bottom: clamp(38px, 5vh, 54px);
  color: var(--accent);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(40px, 4vw, 70px);
}
.story { min-width: 0; }
.story h2 {
  margin: 0;
  min-height: 20px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.story-year {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.story-art {
  height: clamp(196px, 17vw, 248px);
  margin: clamp(18px, 2.5vh, 26px) 0 clamp(20px, 2.8vh, 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.story-art img { width: 100%; height: 100%; object-fit: contain; transform-origin: center; }
@media (min-width: 1101px) {
  .story:nth-child(1) .story-art img { transform: scale(1.08); }
  .story:nth-child(2) .story-art img { transform: scale(1.03); }
  .story:nth-child(3) .story-art img { transform: scale(1.05); }
  .story:nth-child(4) .story-art img { transform: scale(1.12); }
}
.story-line {
  max-width: 270px;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.48;
}
.story-outcome {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}
.story-outcome strong {
  color: var(--navy);
  font: inherit;
}
.story-cites {
  display: inline-flex;
  gap: 4px;
  margin-left: 6px;
  position: relative;
  top: -.28em;
  color: var(--accent);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .04em;
  vertical-align: baseline;
}
.story-cites a { border-bottom: 1px solid transparent; transition: color 120ms ease, border-color 120ms ease; }
.story-cites a:hover { color: var(--navy); border-color: var(--rule-strong); }
.stories-conclusion {
  margin-top: clamp(64px, 7.5vh, 80px);
  padding-bottom: 0;
}
.stories-statement {
  max-width: 690px;
  color: var(--navy);
  font-size: clamp(50px, 4.3vw, 68px);
}

/* 03 — Scientific memory: one claim, one warning, three loss mechanisms. */
.memory {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(24px, 3vh, 36px);
  align-content: center;
}
.memory-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  gap: clamp(64px, 8vw, 132px);
  align-items: end;
}
.memory-copy { max-width: 860px; }
.memory .section-kicker { color: var(--accent); }
.memory h2 {
  margin: 22px 0 0;
  max-width: 860px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(50px, 4.25vw, 69px);
  font-weight: 550;
  letter-spacing: -.06em;
  line-height: .96;
}
.memory-survey {
  align-self: end;
  max-width: 420px;
  padding-left: 28px;
  border-left: 1px solid var(--rule-strong);
}
.memory-survey .micro-label { color: var(--muted); }
.memory-survey strong {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(62px, 5vw, 82px);
  font-weight: 550;
  letter-spacing: -.06em;
  line-height: .9;
}
.memory-survey p {
  margin: 10px 0 0;
  max-width: 340px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.memory-survey sup { margin-left: 4px; font-size: 9px; }
.memory-survey sup a { color: var(--accent); }
.memory-schematic {
  margin: 0;
  padding: 8px 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.memory-schematic img {
  display: block;
  width: 100%;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
}
.claim-sources {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 10px;
}
.claim-sources a { display: inline-flex; gap: 8px; align-items: center; }
.claim-sources a span { color: var(--accent); }
.claim-sources a:hover { color: var(--navy); }
.memory-sources {
  margin: 0;
  gap: 8px 18px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.memory-sources a span { color: var(--accent); }

/* 05 — Why the continuity problem is newly tractable. */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  gap: 26px 52px;
  align-items: center;
}
.why-heading { grid-column: 1 / -1; }
.why-kicker { color: var(--accent); }
.why h2 {
  margin-top: 20px;
  color: var(--navy);
  max-width: 940px;
  font-size: clamp(54px, 5vw, 80px);
}
.why-schematic {
  grid-column: 1 / -1;
  width: min(1380px, 92vw);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.why-schematic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.why-sources {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
  justify-content: flex-start;
}

/* 06 — Brand reveal plus one restrained gateway to the current product. */
.continuity {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: center;
}
.continuity-copy { max-width: 960px; }
.continuity h2 { color: var(--navy); font-size: clamp(82px, 8.5vw, 136px); }
.continuity-subtitle {
  margin: 16px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 48px);
  font-weight: 550;
  letter-spacing: -.045em;
}
.continuity-line {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}
.continuity-product {
  max-width: 380px;
  padding-left: 30px;
  border-left: 1px solid var(--rule-strong);
}
.continuity-product .section-kicker { color: var(--accent); }
.continuity-product h3 {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 2.2vw, 35px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.continuity-product p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}
.continuity-product .text-link { margin-top: 34px; }

/* 07 — Close with the proposition, not another feature section. */
.closing {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.closing h2 { max-width: 1120px; color: var(--navy); font-size: clamp(62px, 6.4vw, 102px); }
.closing-support {
  margin: 34px 0 0;
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.5;
}
.closing-support strong { color: var(--ink); font-weight: 800; }
.closing-actions {
  margin: 62px 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}
.closing-wordmark {
  display: inline-block;
  font-size: 40px;
  width: auto;
}
.closing-cta { min-width: 148px; }
.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  min-height: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-strong);
  display: flex;
  justify-content: space-between;
  gap: 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.sources summary {
  cursor: pointer;
  list-style: none;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.sources summary::-webkit-details-marker { display: none; }
.sources[open] { z-index: 20; }
.sources ol {
  position: absolute;
  left: 0;
  bottom: 44px;
  width: min(640px, 78vw);
  max-height: 52vh;
  overflow: auto;
  margin: 0;
  padding: 20px 22px 20px 40px;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  box-shadow: 0 14px 34px rgba(26,54,93,.07);
  line-height: 1.85;
}
.sources a:hover,
.site-footer > a:hover { color: var(--navy); }

@media (max-width: 1100px) {
  :root { --page: min(100% - 54px, 980px); }
  .site-header { padding-inline: max(27px, calc((100vw - 980px) / 2)); }
  .continuity-point { left: -22px; }
  .hero-copy { width: 90%; }
  .hero h1 span { white-space: normal; }

  .stories { min-height: auto; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 46px; }
  .story-art { height: 220px; }
  .story-line { max-width: 390px; }
  .stories-conclusion { margin-top: 72px; }

  .memory-head { grid-template-columns: 1fr; gap: 34px; }
  .memory-copy { max-width: 760px; }
  .memory-survey { max-width: 520px; }
  .memory-schematic img { max-height: none; }

  .why { grid-template-columns: 1fr; }
  .why-heading,
  .why-sources { grid-column: 1; }
  .why-sources { justify-self: start; justify-content: flex-start; }

  .continuity { grid-template-columns: 1fr; gap: 64px; }
  .continuity-product { max-width: 520px; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--rule-strong); }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; --page: calc(100% - 32px); }
  html { scroll-snap-type: none; }
  .site-header { padding-inline: 16px; gap: 14px; }
  .brand-wordmark { font-size: 25px; }
  .site-nav { gap: 4px; }
  .site-nav a { min-height: 32px; padding: 5px 8px; font-size: 12px; }
  .site-nav .nav-cta { padding: 7px 10px; font-size: 11px; }
  .page-section { min-height: 100svh; padding: 92px 0 54px; scroll-snap-align: none; }
  .continuity-track-segment { stroke-width: 3; }
  .continuity-point { left: -10px; width: 12px; height: 12px; border-width: 2px; box-shadow: 0 0 0 2.5px rgba(251,247,238,.98), 0 0 6px rgba(197,140,53,.22); }
  .continuity-point-4,
  .continuity-point-5 { box-shadow: 0 0 0 2.5px rgba(251,247,238,.98), 0 0 8px rgba(197,140,53,.30); }
  .hero h1 { font-size: clamp(58px, 15.5vw, 80px); }
  .hero-copy { width: 100%; }
  .hero-actions { gap: 10px; }
  .hero-cta { min-width: 148px; }

  .stories { min-height: auto; padding-bottom: 86px; }
  .stories-kicker { margin-bottom: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 70px; }
  .story h2 { min-height: auto; }
  .story-art { height: 210px; margin: 24px 0 28px; justify-content: flex-start; }
  .story-art img { width: min(390px, 100%); }
  .story-line { max-width: 430px; }
  .stories-conclusion { margin-top: 84px; }
  .stories-statement { font-size: clamp(43px, 12vw, 60px); }

  .memory h2,
  .why h2 { font-size: clamp(46px, 12.5vw, 67px); }
  .memory-survey { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--rule-strong); }
  .memory-survey strong { font-size: 68px; }
  .memory-schematic {
    width: calc(100% + 16px);
    margin-right: -16px;
    padding: 20px 0 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .memory-schematic img { width: 820px; max-width: none; max-height: none; }

  .why { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 28px; }
  .why-schematic {
    width: calc(100% + 16px);
    margin: 4px -16px 0 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .why-schematic img { width: 900px; max-width: none; max-height: none; }
  .why-schematic figcaption { text-align: left; }
  .why-sources { width: 100%; justify-content: flex-start; gap: 9px 16px; }

  .continuity { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 54px; }
  .continuity h2 { font-size: clamp(80px, 21vw, 112px); }
  .continuity-subtitle { font-size: 31px; }
  .continuity-line { margin-top: 28px; }
  .continuity-product { max-width: none; }

  .closing h2 { font-size: clamp(52px, 14vw, 76px); }
  .closing-support { margin-top: 28px; max-width: 560px; font-size: 17px; }
  .closing-actions { margin: 52px 0 0; align-items: flex-start; }
  .closing-wordmark { font-size: 34px; }
  .claim-sources { font-size: 10px; line-height: 1.45; }
  .site-footer { bottom: 14px; }
}

@media (max-width: 420px) {
  .site-header { gap: 10px; }
  .brand-wordmark { font-size: 23px; }
  .site-nav a { padding-inline: 6px; }
  .site-nav .nav-cta { padding-inline: 8px; }
  .hero-actions { align-items: stretch; }
  .hero-cta { width: 100%; min-width: 0; justify-content: space-between; }
  .memory-schematic img { width: 780px; }
  .why-schematic img { width: 860px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: y proximity; }
  .site-nav a,
  .text-link,
  .closing-cta,
  .story-cites a { transition: none !important; }
}
