/* ============================================================================
   How Claude marks AI-generated content — editorial explainer
   Design system: warm paper neutrals, clay/terracotta accents,
   Fraunces (serif display) + Inter (sans body). No external dependencies.
   ========================================================================== */

/* ------------------------------ Fonts ---------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-300-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-300-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7, U+02CE, U+02D7, U+02DD, U+0300-0303, U+0305-0307, U+030A, U+0311, U+0312, U+0314, U+0315, U+031A- U+031C, U+031E, U+0320- U+0323, U+0328, U+032D- U+0330, U+0332- U+0338, U+0340- U+0345;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-300-700-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-300-800-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-300-800-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7, U+02CE, U+02D7, U+02DD, U+0300-0303, U+0305-0307, U+030A, U+0311, U+0312, U+0314, U+0315, U+031A- U+031C, U+031E, U+0320- U+0323, U+0328, U+032D- U+0330, U+0332- U+0338, U+0340- U+0345;
}

/* ------------------------------ Tokens ---------------------------------- */
:root {
  --paper:        #FAF6EE;
  --paper-2:      #F4EEE1;
  --paper-3:      #EFE7D6;
  --card:         #FFFDF8;
  --ink:          #221F1B;
  --ink-soft:     #57524A;
  --ink-faint:    #6B655A;
  --line:         #E3DAC6;
  --line-strong:  #D2C6AC;

  --clay:         #D97757;
  --clay-deep:    #A44A28;
  --clay-ink:     #8C3F27;
  --clay-wash:    rgba(217, 119, 87, 0.14);
  --clay-wash-2:  rgba(217, 119, 87, 0.24);

  --olive:        #6A6A52;
  --olive-deep:   #3F5138;
  --kraft:        #D4A27F;
  --amber:        #E3A857;

  --dark:         #23201A;
  --dark-2:       #2B2720;
  --dark-3:       #343026;
  --dark-ink:     #F3EEE1;
  --dark-soft:    #C9C2B2;
  --dark-line:    #46412F;
  --dark-line-2:  #554E3B;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --shell: 1160px;
  --gutter: clamp(20px, 4vw, 44px);
  --sec-pad: clamp(88px, 11vw, 152px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(34, 31, 27, 0.05), 0 8px 28px -12px rgba(34, 31, 27, 0.14);
  --shadow-2: 0 2px 4px rgba(34, 31, 27, 0.06), 0 18px 48px -16px rgba(34, 31, 27, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --header-h: 68px;
}

/* ------------------------------ Base ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.055'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer, aside { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--clay-wash-2); }

:focus-visible {
  outline: 2.5px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
/* dark surfaces need their own focus indicator to hold >= 3:1 */
.limits :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--amber);
}

.shell {
  width: min(var(--shell), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* --------------------------- Scroll progress --------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 120;
  background: transparent;
}
.scroll-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--kraft), var(--clay));
  transform-origin: left;
}

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: var(--header-h);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 246, 238, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand__mark { width: 26px; height: 26px; color: var(--clay); display: block; }
.brand__text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand__text em {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.6);
}
.nav-link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--ink); background: var(--paper-3); }
.nav-link[aria-current="true"] { color: var(--clay-ink); background: var(--clay-wash); font-weight: 600; }
.nav-link--strong { color: var(--clay-ink); font-weight: 600; }
.nav-link--strong:hover { background: var(--clay-wash); color: var(--clay-ink); }
.nav-link--strong[aria-current="true"] { background: var(--clay-wash-2); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font: 600 14px var(--sans);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__box {
  width: 18px; height: 14px;
  position: relative;
  display: block;
}
.nav-toggle__bar {
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 3px; }
.nav-toggle__bar:nth-child(2) { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 6px; transform: rotate(-45deg); }

/* ------------------------------ Type ------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-ink);
}
.eyebrow__num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--clay-ink);
  letter-spacing: 0;
}
.eyebrow__rule {
  width: 44px; height: 1.5px;
  background: var(--clay);
  display: inline-block;
}
.eyebrow--hero { color: var(--ink-soft); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.015em; margin: 0; }

.section { padding-block: var(--sec-pad); position: relative; }
.section__head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 76px); }
.section__title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.section__title em { font-style: italic; color: var(--clay-deep); }
.section__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.19rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}
.section__lede strong { color: var(--ink); font-weight: 600; }

.inline-link {
  color: var(--clay-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--clay-wash-2);
  transition: border-color 0.2s var(--ease);
}
.inline-link:hover { border-color: var(--clay-ink); }
.inline-link--dark { color: var(--amber); border-bottom-color: rgba(227, 168, 87, 0.4); }
.inline-link--dark:hover { border-bottom-color: var(--amber); }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font: 600 15.5px var(--sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn--primary {
  background: var(--clay-deep);
  color: #FFF9F2;
}
.btn--primary:hover { background: #8C3F27; transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--card); }
.btn--outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--clay); color: var(--clay-ink); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn--primary:hover .btn__arrow { transform: translateY(2px); }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 128px);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.9rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 6px 0 26px;
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--clay-deep); }
.hero__lede {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 34px;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0; padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chip__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.chip__dot--clay { background: var(--clay); }
.chip__dot--olive { background: var(--olive); }
.chip__dot--ink { background: var(--ink-soft); }

/* hero specimen card */
.hero__specimen { position: relative; }
.specimen {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 26px 28px 22px;
  position: relative;
  transform: rotate(0.6deg);
}
.specimen__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-strong);
}
.specimen__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.specimen__signal { display: inline-flex; gap: 5px; }
.specimen__signal i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  animation: sigpulse 2.6s infinite var(--ease);
}
.specimen__signal i:nth-child(3n)   { animation-delay: 0.2s; }
.specimen__signal i:nth-child(3n+1) { animation-delay: 0.6s; }
.specimen__signal i:nth-child(4n)   { animation-delay: 1.1s; }
.specimen__signal i:nth-child(5n)   { animation-delay: 1.5s; }
@keyframes sigpulse {
  0%, 100% { background: var(--line-strong); transform: scale(1); }
  50% { background: var(--clay); transform: scale(1.25); }
}
.specimen__text {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 20px;
}
.specimen__text .w { border-radius: 3px; padding: 0 1px; margin: 0 -1px; }
.specimen.scan-on .w.sig, .specimen.scan-static .w.sig {
  background: var(--clay-wash-2);
  box-shadow: inset 0 -2px 0 rgba(217, 119, 87, 0.55);
}
.specimen.scan-on .w.sig { transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.specimen__caption {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin: 0;
}
.specimen__scan {
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--clay);
  position: relative;
}
.specimen__scan::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--clay-wash-2);
  animation: scanping 2.2s infinite var(--ease);
}
@keyframes scanping {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hero__stamp {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px dashed var(--line-strong);
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}
.hero__stamp-mark { width: 40px; height: 40px; color: var(--clay); opacity: 0.85; }
.hero__edge {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

/* ------------------------------ Factline -------------------------------- */
.factline {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
}
.factline__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fact { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.fact__k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kraft);
}
.fact__v { font-family: var(--serif); font-size: 16.5px; font-weight: 500; color: var(--dark-ink); }

/* ---------------------------- Commitments ------------------------------- */
.commitments { background: var(--paper); }
.commit-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  counter-reset: commit;
}
.commit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.commit:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.commit__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.commit__num {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: var(--clay-ink);
}
.commit__icon { width: 30px; height: 30px; fill: none; stroke: var(--olive); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.commit__title { font-size: 1.42rem; margin-bottom: 12px; line-height: 1.25; }
.commit__body { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.68; }
.commit__body strong { color: var(--ink); font-weight: 600; }

/* ------------------------------ Milestone ------------------------------- */
.milestone {
  margin-top: clamp(64px, 8vw, 104px);
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 84px);
}
.milestone__head { margin-bottom: 34px; }
.milestone__head .eyebrow { margin-bottom: 12px; }
.milestone__title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.milestone__live {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 30px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 34px;
  margin-bottom: clamp(44px, 6vw, 64px);
  box-shadow: var(--shadow-1);
}
.milestone__count {
  display: flex;
  align-items: baseline;
  gap: 8px;
  grid-row: span 2;
}
.milestone__big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 1;
  color: var(--clay-deep);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
}
.milestone__unit {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.milestone__label { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 560; }
.milestone__sub { margin: 0; font-size: 14.5px; color: var(--ink-soft); max-width: 56ch; }

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 7px; left: 0; right: 0;
  height: 2px;
  background: var(--line-strong);
}
.timeline__node { position: relative; padding-top: 30px; }
.timeline__dot {
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2.5px solid var(--line-strong);
}
.timeline__node--key .timeline__dot {
  border-color: #C4593A;
  background: #C4593A;
  box-shadow: 0 0 0 5px var(--clay-wash);
}
.timeline__dot--pulse { border-color: #C4593A; }
.timeline__dot--pulse::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid var(--clay-wash-2);
  animation: scanping 2s infinite var(--ease);
}
.timeline__dot--hollow { border-style: dashed; }
.timeline__when {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay-ink);
}
.timeline__what { font-size: 1.18rem; margin: 0 0 8px; }
.timeline__note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ------------------------------ Coverage -------------------------------- */
.coverage-wrap { margin-top: clamp(56px, 7vw, 88px); }
.coverage {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.coverage__heading {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}
.coverage__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.tag:hover { border-color: var(--clay); transform: translateX(2px); }
.tag__note {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-ink);
  background: var(--clay-wash);
  padding: 3px 8px;
  border-radius: 999px;
}
.tag--cloud { border-style: dashed; font-family: var(--serif); font-style: italic; font-weight: 500; }
.coverage__hub { text-align: center; }
.coverage__core {
  background: var(--ink);
  color: var(--dark-ink);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-2);
  position: relative;
}
.coverage__mark { width: 40px; height: 40px; color: var(--clay); margin: 0 auto 14px; }
.coverage__core-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 560; margin: 0 0 10px; }
.coverage__core-note { font-size: 13.5px; line-height: 1.6; color: var(--dark-soft); margin: 0 auto; max-width: 34ch; }
.coverage__worldwide {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--olive-deep);
}
.coverage__globe { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.coverage__fine {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  text-align: center;
}

/* --------------------------- Techniques intro ---------------------------- */
.techniques-intro { background: var(--paper); }
.chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.chapter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.chapter::after {
  content: '';
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 70%;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.16;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.chapter--a::after { background: var(--clay); }
.chapter--b::after { background: var(--olive); }
.chapter:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.chapter:hover::after { opacity: 0.3; }
.chapter__tag {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.chapter--a .chapter__tag { color: var(--clay-ink); }
.chapter--b .chapter__tag { color: var(--olive-deep); }
.chapter__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.chapter__in { color: var(--ink-faint); font-style: italic; font-weight: 400; }
.chapter__body { margin: 0; color: var(--ink-soft); line-height: 1.66; flex-grow: 1; }
.chapter__go { font-weight: 700; font-size: 14.5px; }
.chapter--a .chapter__go { color: var(--clay-ink); }
.chapter--b .chapter__go { color: var(--olive-deep); }
.chapter__go [aria-hidden] { display: inline-block; transition: transform 0.25s var(--ease); }
.chapter:hover .chapter__go [aria-hidden] { transform: translateX(4px); }

/* ------------------------------ Technique A ------------------------------ */
.technique--watermark { background: var(--paper-2); border-block: 1px solid var(--line); }
.facet-row {
  list-style: none;
  margin: 0 0 clamp(44px, 6vw, 64px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.facet {
  background: var(--card);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.facet b { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.facet span { font-size: 12.5px; color: var(--ink-faint); line-height: 1.45; }
.facet-row--b .facet b { color: var(--olive-deep); }

/* demo shell */
.demo {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(22px, 3vw, 36px);
  margin-bottom: 34px;
}
.demo + .demo { margin-top: 0; }
.demo__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.demo__label { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.demo__chip {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-ink);
  background: var(--clay-wash);
  border-radius: 999px;
  padding: 5px 11px;
}
.demo__chip--b { color: var(--olive-deep); background: rgba(106, 106, 82, 0.14); }
.demo__scenario { font-size: 13px; font-weight: 600; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.demo__intro { margin: 0 0 22px; color: var(--ink-soft); max-width: 70ch; font-size: 15px; }
.demo__note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-faint);
}
.demo__note--shared { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); padding: 18px 22px; margin: 0; }

/* watermark stage */
.wm-stage { display: grid; gap: 14px; }
.wm-paper {
  background: #FFFDF8;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
.wm-paper::before {
  content: 'CLAUDE — GENERATED TEXT';
  position: absolute;
  top: 12px; right: 16px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--line-strong);
}
.wm-text {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  line-height: 1.85;
  margin: 0;
  max-width: 68ch;
}
.wm-text .w { border-radius: 3px; padding: 0 1px; margin: 0 -1px; transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.wm-paper[data-live="true"] .w.sig {
  background: var(--clay-wash-2);
  box-shadow: inset 0 -2px 0 rgba(217, 119, 87, 0.55);
}
.wm-legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-faint); }
.wm-legend__key { display: inline-flex; align-items: center; gap: 8px; }
.wm-legend__swatch {
  width: 26px; height: 13px;
  border-radius: 3px;
  background: var(--clay-wash-2);
  box-shadow: inset 0 -2px 0 rgba(217, 119, 87, 0.55);
  display: inline-block;
}
.wm-legend__swatch--plain { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }

/* switch */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 6px 4px;
  font: 600 14.5px var(--sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
}
.switch__track {
  width: 46px; height: 26px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  transition: background 0.25s var(--ease);
  flex: 0 0 auto;
}
.switch__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.25s var(--ease);
}
.switch[aria-checked="true"] .switch__track { background: var(--clay); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(20px); }
.switch:hover .switch__track { background: var(--line-strong); }
.switch[aria-checked="true"]:hover .switch__track { background: var(--clay-deep); }
.switch__hint { font-size: 12px; color: var(--ink-faint); width: 100%; margin-top: 2px; }

/* detector */
.detector {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.detector__in { display: flex; flex-direction: column; gap: 12px; }
.detector__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.detector__area {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #FFFDF8;
  padding: 16px 18px;
  font: 400 14.5px/1.7 var(--sans);
  color: var(--ink);
}
.detector__area:focus { outline: 2.5px solid var(--clay-deep); outline-offset: 2px; border-color: var(--clay-deep); }
.detector__presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.detector__presets-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-right: 2px; }
.pill {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 14px;
  font: 600 13px var(--sans);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pill:hover { border-color: var(--clay); color: var(--clay-ink); background: var(--clay-wash); }
.pill[aria-pressed="true"] { background: var(--clay-deep); border-color: var(--clay-deep); color: #FFF9F2; }

.detector__out {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 20px 22px;
  overflow: hidden;
}
.detector__scanline {
  position: absolute;
  left: 0; right: 0; top: -4px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
  opacity: 0;
}
.detector__out.is-scanning .detector__scanline {
  opacity: 1;
  animation: scan-sweep 0.9s linear infinite;
}
@keyframes scan-sweep {
  0% { top: -4px; }
  100% { top: 100%; }
}
.detector__readout { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.detector__verdict-line { display: flex; align-items: center; min-height: 34px; }
.verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.verdict::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict--idle { background: var(--paper-3); color: var(--ink-faint); }
.verdict--marked { background: #E4EBDD; color: #2F4A2B; }
.verdict--likely { background: #F6E8CE; color: #7A5410; }
.verdict--unmarked { background: #E9E2D6; color: #57524A; }
.verdict--insufficient { background: #EDE4D2; color: #6E5A2E; border: 1px dashed var(--kraft); }

.meter { position: relative; height: 10px; background: var(--paper-3); border-radius: 999px; overflow: visible; }
.meter__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kraft), var(--clay));
  transition: width 0.9s var(--ease);
}
.meter__scale {
  position: absolute;
  inset: 14px 0 auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.detector__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 8px 0 0;
}
.detector__stats div { border-left: 2px solid var(--line-strong); padding-left: 12px; }
.detector__stats dt { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.detector__stats dd { margin: 3px 0 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.detector__explain { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ------------------------------ Technique B ------------------------------ */
.technique--provenance { background: var(--paper); }
.pv-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.pv-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pv-card[data-state="clean"] { border-color: var(--line-strong); }
.pv-card[data-state="tampered"] { border-color: #B3402A; box-shadow: 0 2px 4px rgba(179, 64, 42, 0.08), 0 18px 48px -16px rgba(179, 64, 42, 0.3); }
.pv-card[data-state="stripped"] { border-style: dashed; }
.pv-card__media { position: relative; }
.pv-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.4s var(--ease);
}
.pv-card[data-state="tampered"] .pv-card__media img { filter: saturate(1.15) contrast(1.02); }
.pv-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(34, 31, 27, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #F3EEE1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
}
.pv-card__badge svg { width: 14px; height: 14px; fill: currentColor; }
.pv-card[data-state="stripped"] .pv-card__badge { background: rgba(64, 60, 53, 0.92); color: #F3EEE1; text-decoration: line-through; }
.pv-card__tamperflag {
  position: absolute;
  bottom: 14px; left: 14px;
  background: #B3402A;
  color: #FFF3EC;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
}
.pv-card[data-state="tampered"] .pv-card__tamperflag { opacity: 1; transform: none; }
.pv-card__meta { padding: 20px 24px 6px; }
.pv-card__name { font-size: 1.3rem; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.pv-card__spec { margin: 0 0 8px; font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.pv-card__status { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--olive-deep); }
.pv-card[data-state="tampered"] .pv-card__status { color: #B3402A; }
.pv-card[data-state="stripped"] .pv-card__status { color: var(--ink-faint); }
.pv-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 18px 24px 24px;
}

/* manifest */
.pv-manifest { min-height: 100%; }
.pv-manifest__inner {
  background: var(--ink);
  color: var(--dark-ink);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-2);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.pv-manifest__head {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dark-line);
}
.pv-manifest__std { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kraft); }
.pv-manifest__rows { margin: 0; display: flex; flex-direction: column; }
.pv-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--dark-line);
}
.pv-row dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-soft); padding-top: 2px; }
.pv-row dd { margin: 0; font-size: 13.5px; color: var(--dark-ink); overflow-wrap: anywhere; }
.pv-row code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: var(--dark-3);
  padding: 2px 7px;
  border-radius: 6px;
}
.pv-hash { letter-spacing: 0.02em; }
.pv-hash--computed { color: var(--kraft); }
.pv-sig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--dark-3);
  color: var(--dark-soft);
  transition: all 0.3s var(--ease);
}
.pv-sig--valid { background: #33472C; color: #CDE3B8; }
.pv-sig--invalid { background: #5A2A20; color: #F5C9BC; }
.pv-manifest__note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--dark-soft); }

/* ------------------------------ Detecting ------------------------------- */
.detecting { background: var(--paper-2); border-block: 1px solid var(--line); }
.readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.readout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.readout:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.readout__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--clay-wash);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.readout__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--clay-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.readout__title { font-size: 1.35rem; margin-bottom: 10px; }
.readout__body { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.68; }
.readout__body em { font-style: normal; font-weight: 600; color: var(--ink); }
.readout__meta { margin: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-ink); }
.detecting__segue {
  margin: clamp(36px, 5vw, 52px) 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ------------------------------ Limitations ----------------------------- */
.limits {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(217, 119, 87, 0.08), transparent 60%),
    var(--dark);
  color: var(--dark-ink);
}
.section__head--dark .eyebrow, .limits .eyebrow { color: var(--kraft); }
.limits .eyebrow__num { color: var(--kraft); }
.limits .section__title em { color: var(--kraft); }
.limits .section__lede { color: var(--dark-soft); }
.limits .section__lede strong { color: var(--dark-ink); }
.limits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.limit-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
}
.limit-card--a { border-top: 3px solid var(--clay); }
.limit-card--b { border-top: 3px solid var(--amber); }
.limit-card__tag {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-soft);
}
.limit-card__tag b { color: var(--dark-ink); }
.limit-card--a .limit-card__tag b { color: #E89A7E; }
.limit-card--b .limit-card__tag b { color: var(--amber); }
.limit-card__title { font-size: 1.6rem; margin-bottom: 12px; }
.limit-card__body { margin: 0 0 20px; color: var(--dark-soft); font-size: 15px; line-height: 1.66; }
.limit-card__body em { font-style: normal; color: var(--dark-ink); font-weight: 600; }
.limit-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.limit-card__list li { padding-left: 26px; position: relative; }
.limit-card__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--clay);
}
.limit-card--a .limit-card__list b { display: block; color: var(--dark-ink); font-family: var(--serif); font-size: 1.06rem; margin-bottom: 4px; }
.limit-card--a .limit-card__list span { color: var(--dark-soft); font-size: 14.5px; line-height: 1.62; display: block; }

.accordion { display: flex; flex-direction: column; }
.acc { border-bottom: 1px solid var(--dark-line); }
.acc:first-child { border-top: 1px solid var(--dark-line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 4px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 560;
  color: var(--dark-ink);
  transition: color 0.2s var(--ease);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--kraft); }
.acc__n {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--dark-line-2);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}
.acc__chev {
  margin-left: auto;
  width: 9px; height: 9px;
  border-right: 2px solid var(--dark-soft);
  border-bottom: 2px solid var(--dark-soft);
  transform: rotate(-45deg);
  transition: transform 0.25s var(--ease);
  flex: 0 0 auto;
}
.acc[open] .acc__chev { transform: rotate(45deg); }
.acc[open] summary { color: var(--kraft); }
.acc__body { padding: 2px 4px 18px 40px; }
.acc__body p { margin: 0; color: var(--dark-soft); font-size: 14.5px; line-height: 1.65; }

.spectrum { max-width: 780px; margin: 0 auto; text-align: center; }
.spectrum__bar {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6A6A52, #E3A857, #D97757);
  position: relative;
  margin-bottom: 22px;
}
.spectrum__cursor {
  position: absolute;
  top: -7px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 3px solid var(--dark);
  box-shadow: inset 0 0 0 2.5px var(--dark-ink);
  background: transparent;
}
.spectrum__cursor--l { left: 4%; background: #6A6A52; }
.spectrum__cursor--r { right: 4%; background: #D97757; }
.spectrum__ends {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: start;
  text-align: left;
}
.spectrum__end { margin: 0; }
.spectrum__end b { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--dark-ink); }
.spectrum__end span { font-size: 13.5px; color: var(--dark-soft); }
.spectrum__end--r { text-align: right; }
.spectrum__mid {
  align-self: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 2px;
}

/* ------------------------------- Builders ------------------------------- */
.builders { background: var(--paper); }
.builders__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.builders__lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--ink-soft); margin: 0 0 26px; max-width: 58ch; }
.builders__lede strong { color: var(--ink); }
.builders__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.builders__list li { padding-left: 34px; position: relative; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.builders__list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 23px; height: 23px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--olive-deep);
  background: rgba(106, 106, 82, 0.14);
  border-radius: 50%;
}
.builders__list b { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }

.doc-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 34px 34px 30px;
  position: relative;
  transform: rotate(-0.5deg);
}
.doc-card__tab {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.doc-card__kicker { margin: 0 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-ink); }
.doc-card__title { font-size: 1.5rem; line-height: 1.2; margin-bottom: 12px; }
.doc-card__body { margin: 0 0 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.66; }
.doc-card__meta { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 10px; }
.doc-card__meta li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.doc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: 0 0 auto; }

/* ------------------------------- Footer --------------------------------- */
.site-footer { background: var(--ink); color: var(--dark-soft); padding: clamp(56px, 7vw, 84px) 0 40px; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dark-line);
  flex-wrap: wrap;
}
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__mark { width: 34px; height: 34px; color: var(--clay); flex: 0 0 auto; margin-top: 4px; }
.footer__title { font-family: var(--serif); font-size: 1.35rem; color: var(--dark-ink); margin: 0 0 4px; }
.footer__sub { margin: 0; font-size: 13.5px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: 420px; }
.footer__nav a {
  color: var(--dark-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover { color: var(--kraft); }
.footer__base {
  padding-top: 30px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 40px;
  align-items: start;
}
.footer__lockup { width: 180px; height: auto; opacity: 0.92; }
.footer__legal { margin: 0; font-size: 12.5px; line-height: 1.7; color: #9B947F; max-width: 78ch; }
.footer__legal a { color: var(--kraft); }

/* -------------------------------- Toast --------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-2);
  z-index: 150;
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
  max-width: min(88vw, 480px);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ------------------------------ Reveal ----------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.09s; }
[data-delay="2"] { transition-delay: 0.18s; }
[data-delay="3"] { transition-delay: 0.27s; }
[data-delay="4"] { transition-delay: 0.36s; }

/* --------------------------- Section anchors ----------------------------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 1060px) {
  .facet-row { grid-template-columns: repeat(3, 1fr); }
  .facet-row--b { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
  .coverage { grid-template-columns: 1fr; }
  .coverage__hub { order: -1; }
}

@media (max-width: 880px) {
  :root { --header-h: 62px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__specimen { max-width: 620px; }
  .commit-grid { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .detector { grid-template-columns: 1fr; }
  .pv-layout { grid-template-columns: 1fr; }
  .pv-manifest__inner { position: static; }
  .readouts { grid-template-columns: 1fr; }
  .limits__grid { grid-template-columns: 1fr; }
  .builders__grid { grid-template-columns: 1fr; }
  .factline__row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .milestone__live { grid-template-columns: 1fr; text-align: left; }
  .milestone__count { grid-row: auto; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 10px 14px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-2);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }
  body.nav-open .nav-menu { transform: none; opacity: 1; visibility: visible; }
  .nav-link { display: block; padding: 13px 18px; border-radius: var(--radius-sm); font-size: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .facet-row, .facet-row--b { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .factline__row { grid-template-columns: 1fr 1fr; }
  .footer__base { grid-template-columns: 1fr; }
  .hero__stamp { display: none; }
  .spectrum__ends { grid-template-columns: 1fr; text-align: center; }
  .spectrum__end--r { text-align: center; }
  .spectrum__mid { padding: 0; }
  .detector__stats div:nth-child(3) { border-left: none; padding-left: 0; }
  .demo__bar { flex-direction: column; align-items: flex-start; }
}

/* -------------------------- Reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .specimen__signal i { background: var(--clay); opacity: 0.5; }
  .specimen__scan::after { display: none; }
  .timeline__dot--pulse::after { display: none; }
}
