/* ==========================================================================
   PRISM — Editorial design system
   Two registers, one publication, never confused:
   the Method layer (warm paper, serif, hairlines) and the Sucre layer
   (poster menace, rubber stamps, tilted paper — contained in SucreZones).
   ========================================================================== */

:root {
  --paper: #F4EEE1;
  --paper-deep: #EAE0CC;
  --paper-card: #FBF7EC;
  --ink: #1C1712;
  --ink-soft: #4E4538;
  --ink-faint: #8A7E6B;
  --rule: #D9CDB2;
  --stamp: #B3271E;
  --stamp-deep: #7E1B14;
  --ochre: #A87B2A;
  --brick: #9C4630;
  --steel: #5A6157;
  --teal-slate: #3E5A54;
  --umber: #6E5648;
  --thread-green: #3F5A3C;
  --thread-rust: #9C4630;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
  --font-poster: "Anton", "Arial Narrow Bold", Impact, sans-serif;

  --nav-h: 64px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-slam: cubic-bezier(0.2, 1.35, 0.4, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.prism {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

/* Paper grain: CSS-generated noise, no binary asset. */
body.prism::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0.55 0 0 0 0 0.5 0 0 0 0 0.42 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-style: italic; }

::selection { background: var(--ochre); color: var(--paper); }

:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 600;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 0.75rem;
  padding: 8px 14px; transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

body.thud { animation: thud 0.12s ease-out; }
@keyframes thud { 50% { transform: translateY(2px); } }

/* ---------- Shared utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-band {
  max-width: 1360px;
  margin-inline: auto;
  padding: 96px 24px;
}
.band-deep { background: var(--paper-deep); max-width: none; }
.band-deep > * { max-width: 1312px; margin-inline: auto; }
.band-ink {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.band-ink::before {
  content: "";
  position: absolute; inset: 0;
  background: url("/static/assets/poster-wall.svg") center / cover;
  opacity: 0.18;
  pointer-events: none;
}
.band-ink > * { position: relative; }

.sec-head { margin-bottom: 48px; }
.sec-ord { color: var(--ink-soft); }
.sec-rule {
  display: block; height: 1px; background: var(--rule);
  margin-top: 14px; transform-origin: left;
}
html.js [data-reveal] .sec-rule { transform: scaleX(0); transition: transform 0.7s var(--ease-out) 0.15s; }
html.js [data-reveal].in .sec-rule { transform: scaleX(1); }
.sec-sub { color: var(--ink-faint); margin-top: 12px; }
.kicker { color: var(--ink-soft); margin-bottom: 20px; }

.arrow-link {
  display: inline-flex; gap: 8px; align-items: baseline;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: gap 0.25s var(--ease-out), border-color 0.25s;
}
.arrow-link:hover { gap: 14px; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 12px 22px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* Thread movement glyphs */
.tg { font-size: 0.95em; line-height: 1; }
.tg-up { color: var(--thread-green); }
.tg-down { color: var(--thread-rust); }
.tg-reframe { color: var(--ochre); }
.tg-resolved { color: var(--ink); }
.tg-none { color: var(--ink-faint); }

/* Desk hues — thin rails, glyphs, chips only. Never fills. */
.desk-gulf { --desk: var(--ochre); }
.desk-beijing { --desk: var(--brick); }
.desk-moscow { --desk: var(--steel); }
.desk-atlantic { --desk: var(--teal-slate); }
.desk-neglected { --desk: var(--umber); }
.desk-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--desk, var(--ink-faint));
}

/* Chips */
.chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--ink);
  white-space: nowrap; align-self: center;
}
.chip-tri { background: var(--ink); color: var(--paper); }
.chip-single { color: var(--ink-soft); border-color: var(--ink-faint); }
.chip-desk { color: var(--desk, var(--ink-soft)); border-color: var(--desk, var(--ink-faint)); }

/* Evidence typing — line style first, color second */
.etag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; white-space: nowrap;
}
.etag i { display: inline-block; width: 18px; height: 0; }
.etag-obs { background: var(--ink); color: var(--paper); }
.etag-obs i { border-top: 3px solid var(--paper); }
.etag-primary { border: 1px solid var(--ochre); color: var(--ochre); }
.etag-primary i { border-top: 4px double var(--ochre); }
.etag-inference { border: 1px solid var(--ink-soft); color: var(--ink-soft); font-style: italic; }
.etag-inference i { border-top: 3px dotted var(--ink-soft); }
.etag-allegation { border: 1px dashed var(--stamp); color: var(--stamp); }
.etag-allegation i { border-top: 3px dashed var(--stamp); }

/* Accordions (grid-rows trick animates height without JS measurement) */
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.5, 0, 0.2, 1); }
.acc-panel.open { grid-template-rows: 1fr; }
.acc-panel > * { overflow: hidden; min-height: 0; }

/* Scroll reveal — degrades to fully visible without JS */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Navbar ---------- */
.pnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: transform 0.3s var(--ease-out);
}
.pnav-hidden { transform: translateY(calc(-1 * var(--nav-h))); }
.pnav-brand { display: flex; align-items: center; gap: 10px; }
.pnav-mark { width: 44px; height: auto; display: block; }
.pnav-word {
  font-family: var(--font-display);
  font-weight: 560; font-size: 1.1rem; letter-spacing: 0.02em;
}
.pnav-links { display: flex; gap: 22px; margin-left: 12px; }
.pnav-links a {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 2px;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
  transition: background-size 0.25s var(--ease-out), color 0.25s;
}
.pnav-links a:hover, .pnav-links a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }
.pnav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.pnav-issue { color: var(--ink-faint); }

/* Mode toggle — physical switch */
.mode-toggle {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer; padding: 4px 0;
}
.mode-label { color: var(--ink-faint); opacity: 0.55; transition: opacity 0.25s, color 0.25s; }
.mode-sucre { color: var(--ink); opacity: 1; }
html.facts-only .mode-sucre { color: var(--ink-faint); opacity: 0.55; }
html.facts-only .mode-facts { color: var(--ink); opacity: 1; }
.mode-track {
  width: 52px; height: 26px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--paper-card);
  position: relative; flex: none;
}
.mode-knob {
  position: absolute; top: 2px; left: 27px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink);
  transition: left 0.25s cubic-bezier(0.5, 0, 0.2, 1), background 0.25s;
}
html.facts-only .mode-knob { left: 3px; background: var(--ink-soft); }

/* Burger + overlay (mobile) */
.nav-burger { display: none; background: none; border: none; cursor: pointer; width: 32px; padding: 6px 2px; }
.nav-burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.25s, opacity 0.25s; }
.nav-overlay {
  position: fixed; inset: 0; z-index: 250;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 96px 32px 48px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
html.nav-open .nav-overlay { opacity: 1; visibility: visible; }
html.nav-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
html.nav-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-overlay-links { display: flex; flex-direction: column; gap: 20px; }
.nav-overlay-links a { font-family: var(--font-display); font-weight: 520; font-size: 2.5rem; line-height: 1.05; }
.nav-overlay-note { color: var(--ink-faint); }

/* ---------- Footer ---------- */
.pfoot { background: var(--paper-deep); border-top: 1px solid var(--rule); padding: 72px 24px 32px; }
.pfoot-grid {
  max-width: 1312px; margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px;
}
.pfoot-brand .pnav-mark { margin-bottom: 18px; }
.pfoot-line { margin-bottom: 6px; color: var(--ink-soft); }
.pfoot-line.mono { color: var(--ink-faint); }
.pfoot-nav { display: flex; flex-direction: column; gap: 12px; }
.pfoot-nav a {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
  transition: background-size 0.25s var(--ease-out), color 0.25s;
  width: fit-content; padding-bottom: 2px;
}
.pfoot-nav a:hover { color: var(--ink); background-size: 100% 1px; }
.pfoot-small p { font-style: italic; color: var(--ink-soft); max-width: 34ch; }
.pfoot-colophon {
  max-width: 1312px; margin: 56px auto 0; padding-top: 20px;
  border-top: 1px solid var(--rule); color: var(--ink-faint); text-align: center;
}

/* ---------- Cover (issue hero) ---------- */
.cover {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  max-width: 1360px; margin-inline: auto;
  padding: 28px 24px 120px;
  display: flex; flex-direction: column;
}
.cover-toprule {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--ink-soft);
}
.cover-refraction { margin: 24px 0 8px; }
.cover-svg { width: min(56vw, 780px); height: auto; display: block; overflow: visible; }
.cs-beam-in, .cs-tri, .cs-beam {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: cs-draw 0.9s ease-in-out forwards;
}
.cs-tri { animation-delay: 0.65s; animation-duration: 0.55s; }
.cs-beam { animation-duration: 0.6s; }
.cs-b1 { animation-delay: 1.05s; } .cs-b2 { animation-delay: 1.12s; }
.cs-b3 { animation-delay: 1.19s; } .cs-b4 { animation-delay: 1.26s; }
.cs-b5 { animation-delay: 1.33s; }
@keyframes cs-draw { to { stroke-dashoffset: 0; } }
.cs-label {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  opacity: 0; animation: cs-label-in 0.5s ease forwards;
}
.cs-l1 { animation-delay: 1.45s; } .cs-l2 { animation-delay: 1.52s; }
.cs-l3 { animation-delay: 1.59s; } .cs-l4 { animation-delay: 1.66s; }
.cs-l5 { animation-delay: 1.73s; }
@keyframes cs-label-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cover-headline {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.6rem, 7.2vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
  margin-top: 8px;
}
.cover-headline em { font-weight: 480; }
.cover-standfirst {
  font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft);
  max-width: 56ch; margin-top: 28px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cover-stats {
  margin-top: auto; padding-top: 40px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding-block: 14px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--ink-soft);
}
.cover-stats .stat-faint { color: var(--ink-faint); }
.tri-dot {
  width: 0; height: 0; flex: none;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 8px solid var(--ink-faint);
}
.cover-sucre {
  position: absolute; right: 3%; top: 34%;
  width: min(260px, 30vw);
  pointer-events: none;
}
.cover-sucre .stamp { position: relative; width: 100%; display: block; }
.cover-sucre .stamp-cover-b { width: 88%; margin-left: 12%; margin-top: -18px; }
.cover-sucre-note {
  display: block; margin-top: 14px; color: var(--stamp);
  transform: rotate(-3deg); text-align: center;
}
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-soft);
}
.scroll-cue i {
  width: 1px; height: 44px; background: var(--ink);
  transform-origin: top; animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

/* ---------- 01 — The Frame (intro essay) ---------- */
.frame-grid {
  display: grid; grid-template-columns: minmax(0, 68ch) 1fr; gap: 64px;
}
.essay p { margin-bottom: 1.4em; font-size: 1.1875rem; }
.essay > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 640;
  font-size: 4.8rem; line-height: 0.78;
  float: left; padding: 8px 12px 0 0;
}
.frame-margin { border-left: 1px solid var(--rule); padding-left: 28px; align-self: start; }
.margin-label { color: var(--ink-faint); margin-bottom: 16px; }
.margin-desks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.margin-desks li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); }

/* ---------- 02 — Story index ---------- */
.srows { border-bottom: 1px solid var(--rule); }
.srow {
  display: grid; grid-template-columns: 56px 1fr auto 40px;
  align-items: center; gap: 24px;
  padding: 30px 12px;
  border-top: 1px solid var(--rule);
  transition: background 0.25s;
}
a.srow:hover { background: var(--paper-card); }
.srow-num { color: var(--ink-faint); }
.srow-main { min-width: 0; }
.srow-title {
  display: block;
  font-family: var(--font-display); font-weight: 520;
  font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.01em;
  transition: transform 0.3s var(--ease-out);
}
a.srow:hover .srow-title { transform: translateX(10px); }
.srow-preview {
  display: block; color: var(--ink-soft); font-size: 1rem; line-height: 1.5;
  max-width: 72ch;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease-out), opacity 0.35s, margin 0.35s;
  white-space: nowrap; text-overflow: ellipsis;
}
a.srow:hover .srow-preview, a.srow:focus-visible .srow-preview { max-height: 2.5em; opacity: 1; margin-top: 8px; }
.srow-arrow { font-size: 1.3rem; justify-self: end; transition: transform 0.3s var(--ease-out); }
a.srow:hover .srow-arrow { transform: translateX(6px); }
.srow-single { display: block; padding: 0; }
.srow-btn {
  display: grid; grid-template-columns: 56px 1fr auto 40px;
  align-items: center; gap: 24px;
  width: 100%; padding: 30px 12px;
  background: none; border: none; cursor: pointer; text-align: left;
}
.srow-btn:hover { background: var(--paper-card); }
.srow-plus { font-size: 1.4rem; justify-self: end; transition: transform 0.25s; font-family: var(--font-mono); }
.srow-btn[aria-expanded="true"] .srow-plus { transform: rotate(45deg); }
.srow-single .acc-inner {
  padding: 0 12px 0 92px;
  border-left: 3px solid var(--ink-faint); margin-left: 12px;
}
.srow-single .acc-inner p { max-width: 62ch; color: var(--ink-soft); padding-bottom: 8px; }
.srow-single .acc-inner .tag-why { color: var(--ink-faint); padding-top: 4px; padding-bottom: 10px; }

/* ---------- 03 — Red thread teaser ---------- */
.thread-intro { max-width: 60ch; color: var(--ink-soft); margin-bottom: 40px; }
.thread-wrap { position: relative; }
.thread-rows { list-style: none; border-bottom: 1px solid var(--rule); }
.thread-row {
  display: grid; grid-template-columns: 40px 1fr auto;
  gap: 20px; align-items: baseline;
  padding: 18px 4px;
  border-top: 1px solid var(--rule);
}
.thread-row .tg { font-size: 1.1rem; }
.thread-text {
  font-size: 1.05rem; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.thread-tag { color: var(--ink-faint); white-space: nowrap; }
.selfcheck { text-align: center; padding: 56px 0 24px; }
.stamp-selfcheck { --tilt: -2deg; width: min(420px, 84%); display: inline-block; }
.selfcheck-caption { color: var(--ochre); margin-top: 18px; }
.selfcheck-line { color: var(--ink-soft); margin-top: 8px; }
.thread-cta { margin-top: 40px; }

/* ---------- Stamps (Sucre layer + ochre self-check) ---------- */
.stamp {
  --tilt: -8deg;
  transform: rotate(var(--tilt));
  user-select: none;
  filter: drop-shadow(1px 2px 0 rgba(28, 23, 18, 0.15));
}
html.js [data-reveal] .stamp { opacity: 0; }
html.js [data-reveal].in .stamp { animation: stamp-slam 0.42s var(--ease-slam) forwards; }
html.js [data-reveal].in .stamp:nth-of-type(2) { animation-delay: 0.12s; }
@keyframes stamp-slam {
  0% { opacity: 0; transform: rotate(calc(var(--tilt) - 4deg)) scale(1.65); }
  55% { opacity: 1; }
  80% { transform: rotate(var(--tilt)) scale(0.97); }
  100% { opacity: 1; transform: rotate(var(--tilt)) scale(1); }
}
/* Cover stamps are not inside [data-reveal]; slam them on load instead. */
.cover-sucre .stamp { animation: stamp-slam 0.42s var(--ease-slam) 1.9s backwards; }
.cover-sucre .stamp-cover-b { animation-delay: 2.05s; }

/* ---------- 04 — Sucre afterword (SucreZone) ---------- */
.sucre-collapse { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s ease-in-out; }
.sucre-collapse-inner { overflow: hidden; min-height: 0; }
html.facts-only .sucre-collapse { grid-template-rows: 0fr; }

.sucre-item { transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
html.facts-only .sucre-item {
  opacity: 0; transform: rotate(8deg) translateY(-12px);
  visibility: hidden; pointer-events: none;
}
/* Inline Sucre stats collapse fully so no gap remains in the strip. */
html.facts-only .sucre-stat { display: none; }

.afterword { padding: 96px 24px 120px; }
.afterword > * { max-width: 1312px; margin-inline: auto; }
.sec-head-sucre .sec-ord { color: var(--stamp); }
.sec-head-sucre .sec-rule { background: var(--stamp); }
.afterword-grid {
  display: grid; grid-template-columns: minmax(240px, 4fr) 8fr;
  gap: 72px; align-items: start;
}
.sucre-photo {
  position: relative;
  background: var(--paper-card);
  padding: 12px 12px 14px;
  transform: rotate(-2.5deg);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.4);
  color: var(--ink);
}
.tilt-photo { max-width: 340px; }
.tape {
  position: absolute; top: -14px; left: 50%;
  width: 96px; height: 28px;
  background: rgba(234, 224, 204, 0.72);
  border-left: 1px dashed rgba(138, 126, 107, 0.6);
  border-right: 1px dashed rgba(138, 126, 107, 0.6);
  transform: translateX(-50%) rotate(-4deg);
  z-index: 2;
}
.portrait-fallback {
  position: absolute; top: 12px; left: 12px; right: 12px;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-deep);
}
.portrait-initials {
  width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: var(--stamp); color: var(--paper);
  font-family: var(--font-poster); font-size: 3.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-6deg);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}
.sucre-photo img, .specimen-box > img:not(.stamp) {
  position: relative; z-index: 1;
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
}
.sucre-photo img.is-missing, .specimen-box img.is-missing { opacity: 0; }
.sucre-photo figcaption, .specimen-box figcaption { margin-top: 12px; color: var(--ink-soft); line-height: 1.7; }

.sucre-card {
  position: relative;
  background: var(--paper-card); color: var(--ink);
  padding: 56px 56px 48px;
  transform: rotate(-1.7deg);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.35);
}
.sucre-card::before { /* torn top edge */
  content: ""; position: absolute; top: -9px; left: 0; right: 0; height: 10px;
  background: var(--paper-card);
  clip-path: polygon(0 100%, 3% 25%, 7% 85%, 12% 15%, 18% 90%, 24% 30%, 31% 80%, 38% 12%, 45% 75%, 52% 22%, 60% 88%, 67% 18%, 74% 70%, 81% 10%, 88% 82%, 94% 28%, 100% 75%, 100% 100%);
}
.sucre-title {
  font-family: var(--font-poster);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 0.92; letter-spacing: 0.005em; text-transform: uppercase;
}
.sucre-byline { color: var(--ink-faint); margin: 18px 0 28px; }
.sucre-body p { font-size: 1.15rem; margin-bottom: 1.3em; max-width: 62ch; }
.sucre-prediction {
  margin-top: 32px; padding: 20px 24px;
  border: 2px dashed var(--stamp);
  transform: rotate(0.6deg);
}
.sucre-prediction .mono { color: var(--stamp); margin-bottom: 8px; }
.stamp-card-a { position: absolute; top: -34px; right: -20px; width: 210px; --tilt: -9deg; z-index: 3; }
.stamp-card-b { position: absolute; bottom: 6%; right: -34px; width: 230px; --tilt: -12deg; z-index: 3; }
.sucre-kicker { color: rgba(244, 238, 225, 0.6); text-align: center; margin-top: 72px; }

.end-line {
  text-align: center; color: var(--ink-faint);
  padding: 48px 24px; border-top: 1px solid var(--rule);
  max-width: 1360px; margin-inline: auto;
}

/* ---------- Empty state (behind the glass) ---------- */
.empty-cover { justify-content: center; }
.empty-inner { max-width: 900px; }
.empty-inner .cover-headline { margin: 12px 0 28px; }
.empty-process {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin: 48px 0 40px;
  border-top: 1px solid var(--rule); padding-top: 32px;
}
.empty-process li { display: flex; flex-direction: column; gap: 6px; }
.empty-process .mono { color: var(--ink-faint); }
.empty-process strong { font-family: var(--font-display); font-weight: 520; font-size: 1.15rem; }
.empty-process small { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Story deep-view ---------- */
.breadcrumb a { color: var(--ink-faint); border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.breadcrumb a:hover { color: var(--ink); border-color: var(--ink); }
.story-head { padding-top: 72px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 28px 0 32px; }
.story-title {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  line-height: 1.02; letter-spacing: -0.02em;
  max-width: 18ch;
}
.story-head .sec-rule { margin: 36px 0; }
.story-lede {
  font-size: 1.25rem; line-height: 1.6; max-width: 72ch;
}
.story-lede::first-letter {
  font-family: var(--font-display); font-weight: 640;
  font-size: 4rem; line-height: 0.78; float: left; padding: 7px 10px 0 0;
}

/* Label footnotes — the honesty mechanism, one tap from the label */
.label-note { color: var(--ink-faint); margin-top: 14px; }
.label-note a { color: var(--ink-soft); border-bottom: 1px solid var(--rule); transition: border-color 0.25s, color 0.25s; }
.label-note a:hover { color: var(--ink); border-color: var(--ink); }

/* In plain words — the optional plain-language strip (plain_take) */
.plainband { max-width: 1360px; margin-inline: auto; padding: 0 24px 72px; }
.plain-take {
  display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  padding: 32px 0;
}
.plain-take-mark {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ochre); border-radius: 50%;
  color: var(--ochre);
  font-family: var(--font-display); font-size: 1.75rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-6deg);
}
.plain-take-label { color: var(--ochre); margin-bottom: 10px; }
.plain-take-text {
  font-size: 1.3125rem; line-height: 1.5; font-style: italic;
  max-width: 56ch;
}

/* Method — reader's key cards */
.label-card + .label-card { margin-top: 16px; }
.label-card .chip { display: inline-block; margin-bottom: 12px; }
.label-def { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.desk-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.desk-card {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  padding: 32px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.desk-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(28, 23, 18, 0.08); }
.desk-rail {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--desk, var(--ink-faint));
  transition: height 0.2s;
}
.desk-card:hover .desk-rail { height: 6px; }
.desk-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.desk-tri { width: 16px; height: 14px; }
.desk-card h2 { font-family: var(--font-display); font-weight: 520; font-size: 1.4rem; }
.desk-fields { display: flex; flex-direction: column; gap: 16px; }
.desk-fields dt { color: var(--ink-faint); margin-bottom: 4px; }
.desk-fields dd { font-size: 1.05rem; line-height: 1.55; color: var(--ink-soft); }

/* The record — six movements */
.legend { margin-bottom: 64px; }
.legend-label { color: var(--ink-faint); margin-bottom: 14px; }
.legend-tags { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; }
.record-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 72px; }
.record-rail { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.record-rail ol { list-style: none; display: flex; flex-direction: column; gap: 22px; position: relative; padding-left: 4px; }
.rail-line { position: absolute; left: 10px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.record-rail a { display: flex; align-items: center; gap: 14px; color: var(--ink-faint); transition: color 0.25s; position: relative; }
.record-rail a:hover { color: var(--ink); }
.rail-label { font-size: 0.625rem; }
.mglyph { width: 22px; height: 22px; flex: none; }
.movement { scroll-margin-top: calc(var(--nav-h) + 24px); }
.movement + .movement { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--rule); }
.movement-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.movement-ord { color: var(--ink-soft); }
.movement-text { max-width: 68ch; }
.movement-text p { margin-bottom: 1.3em; font-size: 1.1875rem; }
/* Convergence: desk rails join into a single ink rule above the paragraph */
.conv-rails { display: flex; margin-bottom: 0; }
.conv-rail { height: 4px; flex: 1; background: var(--desk, var(--ink-faint)); }
.movement-convergence .movement-text { border-top: 2px solid var(--ink); padding-top: 24px; margin-top: 6px; }
/* Internal collision: the desk argues with itself inside a broken ring */
.self-argue {
  padding: 36px 44px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 46% / 18%;
  position: relative;
}
.self-argue::before, .self-argue::after {
  content: ""; position: absolute; top: 50%; width: 3px; height: 26px;
  background: var(--paper-deep); transform: translateY(-50%);
}
.self-argue::before { left: -2px; }
.self-argue::after { right: -2px; }
/* Candor gap: tall brackets with a visible break */
.gap-brackets {
  padding: 12px 40px;
  background:
    linear-gradient(var(--ochre), var(--ochre)) left top / 1px 42% no-repeat,
    linear-gradient(var(--ochre), var(--ochre)) left bottom / 1px 42% no-repeat,
    linear-gradient(var(--ochre), var(--ochre)) right top / 1px 42% no-repeat,
    linear-gradient(var(--ochre), var(--ochre)) right bottom / 1px 42% no-repeat;
}
/* So what: the only filled panel — it is the point of the exercise */
.movement-panel {
  background: var(--paper-card);
  border: 1px solid var(--rule);
  padding: 48px;
}
.movement-panel .mglyph { width: 48px; height: 48px; }
.sowhat-sub { color: var(--ochre); margin-bottom: 18px; }

/* Thesis card */
.thesis-card {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--rule);
  padding: 48px 48px 40px 56px;
  max-width: 880px;
}
.thesis-rail { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--thread-green); }
.thesis-label { color: var(--ink-faint); margin-bottom: 18px; }
.thesis-claim {
  font-family: var(--font-display); font-weight: 480;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.3;
  max-width: 40ch; margin-bottom: 24px;
}
.thesis-status { display: flex; align-items: baseline; gap: 10px; margin-bottom: 32px; }
.thesis-status .tg { font-size: 1.4rem; }
.thesis-status .mono { color: var(--ink-soft); }
.thesis-block {
  border-left: 2px solid var(--rule);
  padding-left: 18px; margin-bottom: 24px;
}
.thesis-block .mono { color: var(--ink-faint); margin-bottom: 6px; }
.thesis-block p:last-child { color: var(--ink-soft); max-width: 60ch; }
.thesis-break { border-left-color: var(--ochre); }
.thread-strip { display: flex; gap: 18px; margin: 36px 0 28px; }
.tdot { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tdot i {
  width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid var(--ink-faint); background: transparent;
}
.tdot .mono { color: var(--ink-faint); font-size: 0.5625rem; }
.tdot-live i { background: var(--thread-green); border-color: var(--thread-green); }
.tdot-live .mono { color: var(--thread-green); }

/* Story closing */
.story-close { padding-top: 0; }
.story-close .sec-rule { margin-bottom: 40px; }
.close-note { color: var(--ink-faint); text-align: center; margin-bottom: 48px; }
.next-card {
  display: block;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: 36px 40px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.next-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(28, 23, 18, 0.09); }
.next-card .mono { color: var(--ink-faint); }
.next-title {
  display: block;
  font-family: var(--font-display); font-weight: 520; font-size: 2rem; line-height: 1.15;
  margin-top: 10px;
  transition: transform 0.3s var(--ease-out);
}
.next-card:hover .next-title { transform: translateX(8px); }
.close-links { margin-top: 28px; }

/* ---------- Ledger page ---------- */
.ledger-head { padding-top: 72px; padding-bottom: 56px; }
.page-title {
  font-family: var(--font-display); font-weight: 560;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.02; letter-spacing: -0.02em;
  max-width: 20ch; margin: 14px 0 28px;
}
.standfirst { font-size: 1.25rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.move-legend { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 36px; color: var(--ink-soft); }
.move-legend .tg { margin-right: 6px; }

.selfcheck-banner {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  outline: 1px solid var(--rule); outline-offset: 4px;
  margin-block: 8px;
  padding: 48px 24px;
  display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap;
}
.selfcheck-banner .stamp-selfcheck { width: min(300px, 70%); flex: none; }
.selfcheck-copy { max-width: 46ch; }
.selfcheck-copy .mono { color: var(--ochre); }
.selfcheck-count { margin: 8px 0 14px; }
.selfcheck-copy em { color: var(--ink-soft); }

.filter-bar { display: flex; gap: 8px; margin-bottom: 32px; }
.filter-bar button {
  background: none; border: 1px solid var(--ink-faint); color: var(--ink-soft);
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; cursor: pointer; min-width: 40px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-bar button:hover { border-color: var(--ink); color: var(--ink); }
.filter-bar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ledger-empty {
  border: 1px solid var(--rule); padding: 40px; text-align: center; color: var(--ink-faint);
  margin-bottom: 32px;
}
.ledger-rows { list-style: none; border-bottom: 1px solid var(--rule); }
.ledger-row.filtered-out { display: none; }
.lrow-btn {
  display: grid; grid-template-columns: 44px 1fr 200px 130px 32px;
  gap: 20px; align-items: center;
  width: 100%; padding: 26px 8px;
  background: none; border: none; border-top: 1px solid var(--rule);
  cursor: pointer; text-align: left;
  transition: background 0.25s;
}
.lrow-btn:hover { background: var(--paper-card); }
.lrow-glyph .tg { font-size: 1.25rem; display: inline-block; transition: transform 0.25s; }
.lrow-btn:hover .lrow-glyph .tg { transform: scale(1.15); }
.lrow-text {
  font-size: 1.05rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lrow-status { color: var(--ink-faint); }
.lrow-thread { display: flex; gap: 7px; }
.tdot-mini { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-faint); }
.tdot-mini.tdot-live { background: var(--thread-green); border-color: var(--thread-green); }
.lrow-plus { font-family: var(--font-mono); font-size: 1.3rem; justify-self: end; transition: transform 0.25s; }
.lrow-btn[aria-expanded="true"] .lrow-plus { transform: rotate(45deg); }
.ledger-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  background: var(--paper-card); border: 1px solid var(--rule);
  margin: 0 8px 24px; padding: 28px 32px;
}
.ld-block .mono { color: var(--ink-faint); margin-bottom: 8px; }
.ld-block p:last-child { color: var(--ink-soft); font-size: 1rem; }
.ledger-row-empty { padding: 48px 8px; border-top: 1px solid var(--rule); color: var(--ink-soft); }

/* Thread timeline */
.timeline-wrap { overflow-x: auto; padding: 24px 0; }
.timeline-svg { width: 100%; min-width: 560px; height: auto; display: block; }
.tl-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js [data-reveal] .tl-line { stroke-dashoffset: 1; }
html.js [data-reveal].in .tl-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out); }
.tl-flag-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; }
html.js [data-reveal] .tl-flag { opacity: 0; }
html.js [data-reveal].in .tl-flag { opacity: 1; transition: opacity 0.5s ease 1.2s; }
.timeline-note { text-align: center; color: var(--ink-soft); margin-top: 24px; }
.cross-links {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  padding: 48px 24px 72px;
}

/* ---------- Method page (The Contract) ---------- */
.pledge { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
.pledge-title { max-width: 14ch; }
.pledge-title em { font-weight: 480; }
.pledge .scroll-cue { bottom: 40px; }

.cpoint {
  display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(260px, 340px);
  gap: 56px; align-items: start;
  padding: 112px 24px;
}
.cpoint.band-deep { max-width: none; }
.cpoint.band-deep > * { max-width: none; }
.cpoint-num {
  font-family: var(--font-display); font-weight: 300; font-size: 7rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-faint);
}
.cpoint-num-paper { -webkit-text-stroke-color: rgba(244, 238, 225, 0.45); }
.cpoint-body .sec-ord { color: var(--ink-faint); margin-bottom: 16px; }
.sec-ord-sucre { color: var(--stamp) !important; }
.cpoint-statement {
  font-family: var(--font-display); font-weight: 480;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -0.01em;
  max-width: 30ch;
}
.cpoint-gloss { color: var(--ink-soft); margin-top: 20px; max-width: 60ch; }
.cpoint-gloss-paper { color: rgba(244, 238, 225, 0.7); }
.cpoint-exhibit { align-self: center; }
.cpoint-exhibit-wide { grid-column: 2 / -1; }

.mini-card {
  background: var(--paper-card); border: 1px solid var(--rule);
  padding: 28px; position: relative;
}
.mini-card .mono { color: var(--ink-faint); }
.mini-card-q { font-family: var(--font-display); font-weight: 480; font-size: 1.2rem; line-height: 1.35; margin: 12px 0 16px; }
.mini-moved { display: flex; gap: 8px; align-items: baseline; color: var(--ink-soft); }
.thesis-mini { padding-left: 40px; }
.thesis-mini .thesis-block { margin-top: 20px; }
.thesis-mini .arrow-link { margin-top: 8px; }

.weight-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.weight-chips li {
  border: 1px solid var(--ink-soft); color: var(--ink-soft);
  padding: 8px 14px;
  transform: rotate(-1deg);
}
.weight-chips li:nth-child(2n) { transform: rotate(1.2deg); }
.weight-chips .weight-neglect {
  color: var(--ochre); border-color: var(--ochre);
  font-size: 0.8125rem; transform: rotate(-2.5deg);
}

.refraction-mini { width: 100%; max-width: 320px; height: auto; display: block; }
.rm-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; }

.specimen { display: flex; flex-direction: column; gap: 20px; }
.spec-line { padding-left: 18px; max-width: 40ch; font-size: 1.05rem; color: var(--ink-soft); }
.spec-line .etag { display: inline-flex; margin-bottom: 8px; }
.spec-primary { border-left: 4px double var(--ochre); }
.spec-inference { border-left: 3px dotted var(--ink-soft); }

.pipeline { list-style: none; display: flex; flex-wrap: wrap; }
.pipeline li {
  position: relative;
  border: 1px solid var(--ink); color: var(--ink);
  padding: 10px 30px 10px 14px;
  margin: -1px 0 0 -1px;
  background: var(--paper-card);
}
.pipeline li:not(:last-child)::after {
  content: "→"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  color: var(--ink-faint);
}

/* §7 — Sucre specimen zone (contained register break) */
.cpoint-sucre { color: var(--paper); }
.cpoint-sucre .cpoint-statement { color: var(--paper); }
.specimen-box {
  position: relative;
  background: var(--paper-card); color: var(--ink);
  border: 1px solid var(--paper);
  padding: 12px 12px 14px;
  max-width: 240px;
  transform: rotate(-2deg);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.4);
}
.stamp-specimen { position: absolute; top: -26px; right: -34px; width: 150px; --tilt: -8deg; z-index: 3; }
.sucre-flow {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px; align-items: center;
}
.sucre-flow li {
  border: 1px solid rgba(244, 238, 225, 0.5);
  padding: 8px 12px; color: var(--paper);
}
.sucre-flow .flow-valve { border-style: dashed; color: rgba(244, 238, 225, 0.7); }
.facts-only-note {
  display: none;
  text-align: center; color: var(--ink-faint);
  padding: 28px 24px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
html.facts-only .facts-only-note { display: block; }

/* Signature finale */
.signature { text-align: center; padding: 160px 24px; }
.signature-line {
  font-family: var(--font-display); font-weight: 440;
  font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.3;
  max-width: 26ch; margin-inline: auto;
}
.signature-block { max-width: 560px; margin: 64px auto 48px; }
.signature-block .sec-rule { margin-bottom: 24px; }
.signature-block .mono { color: var(--ink-faint); }
.signature-name { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-top: 14px; }
.signature-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pnav-links { display: none; }
  .nav-burger { display: block; }
  .record-grid { grid-template-columns: 1fr; gap: 40px; }
  .record-rail {
    position: sticky; top: var(--nav-h); z-index: 50;
    background: var(--paper-deep); margin: 0 -24px; padding: 10px 24px;
    border-bottom: 1px solid var(--rule);
  }
  .record-rail ol { flex-direction: row; gap: 18px; overflow-x: auto; }
  .rail-line, .rail-label { display: none; }
  .frame-grid { grid-template-columns: 1fr; gap: 40px; }
  .frame-margin { border-left: none; border-top: 1px solid var(--rule); padding: 24px 0 0; }
  .margin-desks { flex-direction: row; flex-wrap: wrap; }
  .cpoint { grid-template-columns: 120px 1fr; }
  .cpoint-exhibit { grid-column: 2; }
  .cpoint-exhibit-wide { grid-column: 2; }
  .cpoint-num { font-size: 4.5rem; }
  .cover-sucre { width: 180px; top: auto; bottom: 22%; right: 2%; }
  .afterword-grid { grid-template-columns: 1fr; gap: 56px; }
  .tilt-photo { max-width: 280px; }
}

@media (max-width: 768px) {
  body.prism { font-size: 1rem; }
  .page-band { padding: 72px 20px; }
  .pnav-issue { display: none; }
  .mode-label { display: none; }
  .cover { padding: 20px 20px 96px; }
  .cover-svg { width: 100%; }
  .cover-headline { font-size: clamp(2.2rem, 9.5vw, 3.4rem); }
  .cover-sucre { position: static; width: 150px; margin: 32px 0 0 auto; }
  .cover-stats { gap: 10px; }
  .srow, .srow-btn { grid-template-columns: 36px 1fr auto; gap: 14px; padding: 22px 4px; }
  .srow-arrow, .srow-plus { display: none; }
  .srow-single .acc-inner { padding-left: 20px; margin-left: 4px; }
  .srow-preview { white-space: normal; }
  .thread-row { grid-template-columns: 28px 1fr; }
  .thread-tag { grid-column: 2; }
  .desk-cards { grid-template-columns: 1fr; }
  .movement-panel { padding: 28px 22px; }
  .plain-take { grid-template-columns: 1fr; gap: 16px; }
  .plain-take-text { font-size: 1.15rem; }
  .thesis-card { padding: 32px 24px 28px 32px; }
  .lrow-btn { grid-template-columns: 32px 1fr 28px; gap: 12px; padding: 20px 4px; }
  .lrow-status, .lrow-thread { display: none; }
  .ledger-detail { grid-template-columns: 1fr; margin: 0 4px 20px; padding: 22px; }
  .selfcheck-banner { gap: 28px; }
  .cpoint { grid-template-columns: 1fr; gap: 28px; padding: 80px 20px; }
  .cpoint-exhibit, .cpoint-exhibit-wide { grid-column: 1; }
  .cpoint-num { font-size: 3.5rem; }
  .pipeline { flex-direction: column; }
  .pipeline li:not(:last-child)::after { content: "↓"; right: 12px; }
  .sucre-card { padding: 40px 26px 36px; transform: rotate(-1.2deg); }
  .stamp-card-a { width: 140px; top: -24px; right: -8px; }
  .stamp-card-b { width: 150px; right: -10px; }
  .empty-process { grid-template-columns: 1fr; }
  .pfoot-grid { grid-template-columns: 1fr; gap: 32px; }
  .signature { padding: 112px 20px; }
}

/* ---------- Reduced motion: everything lands instantly ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js [data-reveal] .sec-rule { transform: scaleX(1); }
  html.js [data-reveal] .stamp { opacity: 1; }
  html.js [data-reveal] .tl-line { stroke-dashoffset: 0; }
  html.js [data-reveal] .tl-flag { opacity: 1; }
  .cs-beam-in, .cs-tri, .cs-beam { stroke-dashoffset: 0; }
  .cs-label { opacity: 1; }
  .scroll-cue i { animation: none; }
}
