/* ============================================================
   Pace · landing styles
   Direction: Evidence / Dossier
   Mobile-first. Breakpoints: 720, 1080.
   ============================================================ */

/* ─── Reset / base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ol, ul, pre, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-red); outline-offset: 3px; border-radius: 2px; }

/* ─── Design tokens ──────────────────────────────────────── */
:root {
  /* Color */
  --bg: #ece4d2;
  --bg-soft: #efe7d5;
  --paper: #fbf5e4;
  --paper-light: #fffaeb;
  --ink: #1a1410;
  --ink-soft: #4a4030;
  --muted: #7a6f5e;
  --faint: #9a8f76;
  --rule: #c9bda4;
  --rule-soft: #d3c6a8;
  --accent-red: #b2382b;
  --accent-red-deep: #8c2c22;
  --gold: #c8a86a;
  --gold-deep: #8a6e1c;

  /* Type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --serif: 'Source Serif 4', 'Songti SC', Georgia, serif;
  --italic-display: 'Instrument Serif', 'Source Serif 4', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing scale (8-base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container-max: 1180px;
  --container-pad-x: 24px;
  --section-pad-y: 64px;

  /* v3.5 · Motion tokens — Stripe-style signature easing + 2 durations
     全站 transition / animation 统一这条 curve 形成视觉预判. */
  --ease-signature: cubic-bezier(0.2, 1, 0.2, 1);
  --dur-signature: 800ms;
  --dur-quick: 220ms;
}

@media (min-width: 720px) {
  :root { --container-pad-x: 48px; --section-pad-y: 96px; }
}
@media (min-width: 1080px) {
  :root { --container-pad-x: 80px; --section-pad-y: 128px; }
}

/* ─── Body / page background ─────────────────────────────── */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse at 12% 6%, rgba(120, 90, 40, 0.06), transparent 40%),
    radial-gradient(ellipse at 88% 94%, rgba(120, 90, 40, 0.05), transparent 40%);
  background-attachment: fixed;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-x);
}

/* ─── Utilities ──────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: 0; left: 0;
  padding: 8px 14px; background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 12px;
  transform: translateY(-200%); transition: transform .15s;
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }

.accent-em {
  font-style: italic;
  font-family: var(--italic-display);
  color: var(--accent-red);
  font-weight: 400;
}
.accent-dot { color: var(--accent-red); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, transform .08s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink); color: var(--bg);
}
.btn-primary:hover { background: var(--accent-red); }
.btn-secondary {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-large {
  padding: 18px 26px; font-size: 14px; gap: var(--s-4);
}
.btn-icon { font-size: 16px; }
.btn-meta {
  margin-left: auto; padding-left: var(--s-4);
  font-size: 11px; letter-spacing: 0.08em; opacity: 0.6;
  text-transform: none;
}

/* ─── Docket / top bar ───────────────────────────────────── */
.docket {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--bg);
  border-bottom: 1px solid var(--ink);
}
.docket-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--s-4) var(--container-pad-x);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.docket-brand {
  display: flex; align-items: center; gap: var(--s-2);
  text-decoration: none; color: inherit;
  letter-spacing: 0.18em; font-weight: 600;
}
.docket-mark {
  width: 9px; height: 9px; border-radius: 99px;
  background: var(--accent-red);
  display: inline-block;
}
.docket-name { font-weight: 700; }
.docket-tag {
  display: none;
  color: var(--faint); opacity: 0.6;
  font-weight: 400; letter-spacing: 0.08em;
}
@media (min-width: 720px) { .docket-tag { display: inline; } }

.docket-nav {
  margin-left: auto;
  display: flex; align-items: center; gap: var(--s-5);
}
.docket-nav a {
  text-decoration: none; color: var(--bg);
  opacity: 0.7;
  transition: opacity .12s;
}
.docket-nav a:hover { opacity: 1; }
.docket-nav a:not(.docket-cta) { display: none; }
@media (min-width: 720px) {
  .docket-nav a:not(.docket-cta) { display: inline; }
}
.docket-cta {
  background: var(--gold); color: var(--ink) !important;
  padding: 7px 14px; opacity: 1 !important;
  letter-spacing: 0.12em;
}
.docket-cta:hover { background: var(--bg); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  padding: var(--s-8) 0 var(--s-9);
}
@media (min-width: 1080px) { .hero { padding-top: var(--s-9); padding-bottom: var(--s-10); } }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}
.stamp {
  display: inline-flex; align-items: center;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  padding: 4px 10px;
  transform: rotate(-2deg);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 11px;
}

.hero-h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 9vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 var(--s-6);
  text-wrap: pretty;
  max-width: 920px;
}

.hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 640px;
  margin: 0 0 var(--s-3);
}
.hero-mono {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.65;
  margin: var(--s-4) 0 var(--s-7);
}

.hero-cta {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: var(--s-4);
}
.hero-cta-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero-trust {
  display: flex; flex-wrap: wrap;
  gap: var(--s-5);
  margin-top: var(--s-7);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: var(--s-2);
}
.hero-trust span {
  font-size: 7px; color: var(--accent-red);
}

/* ─── Section rules / cases ──────────────────────────────── */
.section-rule {
  border: 0; border-top: 1px solid var(--rule);
  margin: 0;
}
.case-rule {
  border: 0; border-top: 1px solid var(--rule);
  margin: var(--s-9) 0;
}

.cases { padding: var(--section-pad-y) 0; }

.case + .case { margin-top: var(--s-9); }

.case-head { margin-bottom: var(--s-7); }

.case-label {
  display: flex; flex-wrap: wrap;
  align-items: baseline; gap: var(--s-4);
  font-family: var(--mono);
  margin-bottom: var(--s-4);
}
.case-num {
  color: var(--accent-red);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 700;
  /* v3.5 P5 · follow-through 余震 — pill 入场 spring overshoot 1.15→0.96→1.02→1.00 */
  display: inline-block;
  transform-origin: left center;
}
.case.case-in .case-num {
  animation: caseNumLand 600ms var(--ease-signature) both;
}
@keyframes caseNumLand {
  0%   { opacity: 0; transform: translateY(-6px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(0)    scale(1.15); }
  78%  {             transform: translateY(0)    scale(0.96); }
  88%  {             transform: translateY(0)    scale(1.02); }
  100% { opacity: 1; transform: translateY(0)    scale(1.00); }
}
.case-slug {
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.12;
  margin: 0 0 var(--s-4);
  text-wrap: pretty;
  color: var(--ink);
}

.case-summary {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0;
  line-height: 1.5;
}

/* ─── Exhibits (3-up card) ───────────────────────────────── */
.exhibits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
@media (min-width: 720px) {
  .exhibits { grid-template-columns: 1fr 1fr 1fr; gap: var(--s-5); }
}

.exhibit {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  box-shadow: 0 1px 0 var(--rule-soft), 2px 4px 0 rgba(120, 90, 40, 0.08);
  padding: 22px 22px 24px;
  position: relative;
}
.exhibit-tag {
  position: absolute;
  top: -10px; left: 16px;
  background: var(--accent-red);
  color: var(--paper);
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.exhibit-tag-static {
  position: static; display: inline-block;
  margin-bottom: var(--s-4);
}
.exhibit-head {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin: var(--s-2) 0 var(--s-3);
}
.exhibit-body {
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper-light);
  padding: 14px 16px;
  border: 1px solid #e3d6b3;
  margin: 0;
  min-height: 168px;
  white-space: pre;
  overflow-x: auto;
}
.exhibit-body-small { min-height: 0; font-size: 13px; }
.exhibit-foot {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  margin-top: var(--s-3);
  letter-spacing: 0.04em;
}

/* ─── Verdict (Pace inference) ───────────────────────────── */
.verdict {
  margin-top: var(--s-6);
  background: var(--ink);
  color: var(--bg);
  padding: var(--s-6) var(--s-6);
}
@media (min-width: 720px) {
  .verdict { padding: var(--s-7) var(--s-7); }
}
.verdict-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
}
.verdict-body {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
  color: #f7eed8;
  max-width: 820px;
  margin: 0;
}
.verdict-sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: #a89b78;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid #2c2418;
  display: flex; flex-wrap: wrap;
  gap: var(--s-4);
}
.verdict-sign-by {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Rehearsal (case 02 layout) ────────────────────────── */
.rehearsal {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-7);
  align-items: flex-start;
}
@media (min-width: 900px) {
  .rehearsal { grid-template-columns: 220px 1fr; gap: var(--s-7); }
}

.rehearsal-subject .exhibit-body { min-height: 0; }

.rehearsal-voices {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px) {
  .rehearsal-voices { grid-template-columns: 1fr 1fr 1fr; }
}

.voice {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  padding: 18px 18px 20px;
}
.voice-name {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.voice-role {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--faint);
  margin-bottom: var(--s-4);
  letter-spacing: 0.04em;
}
.voice-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  text-wrap: pretty;
}
.voice-risk {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--accent-red);
  letter-spacing: 0.14em;
  border-top: 1px solid var(--rule-soft);
  padding-top: var(--s-3);
  text-transform: uppercase;
}

/* ─── Comparison (case 03) ───────────────────────────────── */
.comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-7);
}
@media (min-width: 720px) {
  .comparison { grid-template-columns: 1fr 1fr; }
}

.compare {
  padding: var(--s-6) var(--s-6) var(--s-7);
  position: relative;
}
.compare-not {
  background: var(--paper);
  border: 1px solid var(--rule-soft);
}
.compare-is {
  background: var(--ink); color: var(--bg);
}
.compare-tag-muted {
  background: var(--muted); color: var(--paper);
}
.compare-tag-gold {
  background: var(--gold); color: var(--ink);
}
.compare-mode {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-4);
}
.compare-not .compare-mode { color: var(--muted); }
.compare-is  .compare-mode { color: var(--gold); }

.compare-line {
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}
.compare-is .compare-line { color: #f7eed8; }
.compare-line-strike {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.compare-em {
  color: var(--gold);
  font-style: italic;
  font-family: var(--italic-display);
}
.compare-note {
  font-family: var(--mono);
  font-size: 11px;
  margin-top: var(--s-5);
  line-height: 1.6;
}
.compare-not .compare-note { color: var(--faint); }
.compare-is  .compare-note { color: #a89b78; }

/* ─── Promises (5 sworn) ─────────────────────────────────── */
.promises {
  background: var(--bg-soft);
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.promise-list {
  margin-top: var(--s-7);
  border-top: 2px solid var(--ink);
}
.promise {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
@media (min-width: 900px) {
  .promise {
    grid-template-columns: 80px 1fr 380px;
    gap: var(--s-7);
    padding: var(--s-6) 0;
  }
}
.promise:last-child { border-bottom: 2px solid var(--ink); }
.promise-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.promise-h {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}
.promise-p {
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-style: italic;
  margin: var(--s-3) 0 0;
  grid-column: 2;
}
@media (min-width: 900px) {
  .promise-p { grid-column: 3; margin-top: 0; }
}

/* ─── Affirmation (4 lines) ──────────────────────────────── */
.affirmation {
  padding: var(--section-pad-y) 0;
}
.affirmation-inner { text-align: center; }
.affirmation-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--s-6);
}
.affirmation-body {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.32;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
  font-weight: 500;
}

/* ─── Download ───────────────────────────────────────────── */
.download {
  background: var(--ink);
  color: var(--bg);
  padding: var(--section-pad-y) 0;
}
.download-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: end;
}
@media (min-width: 900px) {
  .download-inner { grid-template-columns: 1fr 480px; gap: var(--s-8); }
}
.download-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.download-h {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper-light);
  font-weight: 500;
}
.download-p {
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 17px);
  color: #c8baa1;
  margin: var(--s-5) 0 0;
  max-width: 420px;
  line-height: 1.55;
}
.download-actions { display: flex; flex-direction: column; gap: var(--s-4); }
.download-actions .btn-primary {
  background: var(--bg); color: var(--ink);
  width: 100%; justify-content: flex-start;
}
.download-actions .btn-primary:hover { background: var(--gold); }
.download-actions .btn-secondary {
  border-color: #3a2f24; color: var(--bg);
  background: transparent;
}
.download-actions .btn-secondary:hover {
  background: var(--bg); color: var(--ink); border-color: var(--bg);
}
.download-cli {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-3);
  background: #2a2218;
  border: 1px solid #3a2f24;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
}
.download-cli code { flex: 1; font-family: inherit; }
.copy-btn {
  background: transparent;
  border: 1px solid #4a3f30;
  color: #c8baa1;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
  text-transform: uppercase;
}
.copy-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.copy-btn[data-copied="true"] { color: var(--gold); border-color: var(--gold); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  color: var(--muted);
  padding: var(--s-6) 0 var(--s-7);
  border-top: 1px solid var(--rule);
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  gap: var(--s-5);
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-brand {
  display: flex; align-items: center; gap: var(--s-2);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.16em;
}
.footer-version { color: var(--faint); font-weight: 400; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-nav a { text-decoration: none; color: var(--muted); transition: color .12s; }
.footer-nav a:hover { color: var(--ink); }
.footer-promises {
  margin-left: auto;
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  color: var(--faint);
}

/* ─── Smooth scroll (only when user is OK with motion) ───── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* v3.5 P1 · Lenis 推荐样式 — Lenis 接管时禁用原生 smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }


/* ============================================================
   ENHANCEMENTS · on-theme motion
   Paper grain, docket progress, hero stamp, dog-ear hover,
   verdict stamps + counters, stagger reveal, marker scribble.
   ============================================================ */

/* ─── Paper grain overlay (fixed, no reflow) ─────────────── */
/* A · grain breathes — sub-pixel drift on a long cycle. transform-only,
   GPU-cheap, no layout. Capped at ~0.6px / 36s; doesn't catch the eye. */
.paper-grain {
  position: fixed;
  /* slightly oversize so drift never reveals an edge */
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.55;
  will-change: transform;
  animation: grainDrift 36s ease-in-out infinite;
}
@keyframes grainDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%      { transform: translate3d(0.5px, -0.5px, 0); }
  50%      { transform: translate3d(-0.5px, 0.6px, 0); }
  75%      { transform: translate3d(0.3px, 0.4px, 0); }
}

/* C · case-file binding strap — left-edge red rule, length tracks scroll.
   2px wide, 80% opacity, fixed, scaleY driven from JS via --scroll-pct.
   Sits between docket (z:60) and main (z:3) so it can show on top of
   paper but never on top of the docket. */
.dossier-strap {
  position: fixed;
  top: 0;
  left: 0;
  width: 2px;
  height: 100vh;
  background: var(--accent-red);
  opacity: 0.8;
  z-index: 4;
  pointer-events: none;
  transform-origin: top center;
  transform: scaleY(var(--scroll-pct, 0));
  transition: transform 0.12s linear;
  will-change: transform;
}

/* Make sure content stays above grain (grain is fixed at z 2).
   IMPORTANT: do not collapse .docket's z-index here — keep it on its own line
   above content. Otherwise .case-stamp / verdict (z-index:3 inside main) tie
   with docket and render OVER it during scroll — visible as a misalignment
   at the top of the viewport when a verdict crosses the docket strip. */
main, .footer { position: relative; z-index: 3; }
.docket { position: sticky; top: 0; z-index: 60; }

/* ─── Docket scroll-progress bar ─────────────────────────── */
.docket-progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent-red);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .12s linear;
  will-change: transform;
}
.docket.is-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.15), 0 8px 24px rgba(20, 14, 10, 0.18);
}

/* ─── Hero H1 sequenced entry ────────────────────────────── */
.hero-h1 .frag {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  animation: heroFragIn 0.85s var(--ease-signature) var(--d, 0s) forwards;
}
@keyframes heroFragIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* The accent fragment slams down like a rubber stamp */
.hero-h1 .frag-stamp {
  transform-origin: center 60%;
  animation: heroStampIn 0.7s cubic-bezier(0.28, 1.7, 0.32, 1) var(--d, 0s) forwards;
}
@keyframes heroStampIn {
  0%   { opacity: 0; transform: translateY(-22px) rotate(-4deg) scale(0.88); }
  55%  { opacity: 1; transform: translateY(0)     rotate(0.8deg) scale(1.06); }
  80%  {             transform: translateY(0)     rotate(-0.4deg) scale(0.985); }
  100% { opacity: 1; transform: translateY(0)     rotate(0)       scale(1); }
}

/* Marker scribble under "它问你一句话" */
.accent-em-wrap {
  position: relative;
  display: inline-block;
  padding: 0 4px;
}
.accent-marker {
  position: absolute;
  left: 2px; right: 2px;
  bottom: 4px;
  height: 0.18em;
  background: var(--accent-red);
  border-radius: 99px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: -1;
  filter: blur(0.4px);
  animation:
    markerDraw 0.7s cubic-bezier(0.3, 0.9, 0.3, 1) 1.35s forwards,
    markerSettle 1.6s ease-in-out 2.1s forwards;
  pointer-events: none;
}
@keyframes markerDraw {
  0%   { opacity: 0; transform: scaleX(0); }
  20%  { opacity: 0.95; }
  100% { opacity: 0.85; transform: scaleX(1); }
}
@keyframes markerSettle {
  0%   { opacity: 0.85; }
  100% { opacity: 0.32; }
}

/* ─── Live readout strip ─────────────────────────────────── */
.readout {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
  padding: 10px 16px 10px 14px;
  background: var(--ink);
  color: #d8d2c4;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  max-width: 100%;
  border: 1px solid #2c2418;
  opacity: 0;
  transform: translateY(8px);
  animation: heroFragIn 0.8s var(--ease-signature) 1.4s forwards;
}
.readout-dot {
  width: 7px; height: 7px;
  background: #5cd58a;
  border-radius: 99px;
  box-shadow: 0 0 0 0 rgba(92, 213, 138, 0.55);
  animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(92, 213, 138, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(92, 213, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 213, 138, 0); }
}
.readout-label {
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10.5px;
  padding-right: 4px;
  border-right: 1px solid #3a2f24;
  padding-right: 12px;
}
.readout-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.readout-caret {
  display: inline-block;
  width: 0.55em;
  color: var(--gold);
  font-weight: 700;
  animation: caretBlink 0.95s steps(2) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}

/* ─── Exhibit hover · dog-ear corner ─────────────────────── */
.exhibit {
  transition:
    transform 0.4s var(--ease-signature),
    box-shadow 0.4s var(--ease-signature);
}
.exhibit:hover {
  transform: translateY(-3px) rotate(-0.35deg);
  box-shadow:
    0 1px 0 var(--rule-soft),
    4px 8px 0 rgba(120, 90, 40, 0.14),
    0 18px 38px rgba(70, 50, 24, 0.18);
}
.exhibit::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 0 0;
  border-color: transparent var(--bg-soft) transparent transparent;
  filter: drop-shadow(-1px 1px 1px rgba(120, 90, 40, 0.18));
  transition: border-width 0.35s var(--ease-signature);
  pointer-events: none;
}
.exhibit:hover::after {
  border-width: 0 26px 26px 0;
}

/* ─── Verdict · "已立案" stamp (real DOM element for reliable paint) ──── */
.verdict {
  position: relative;
  overflow: visible;
}
.case-stamp {
  position: absolute;
  top: -22px;
  right: clamp(20px, 5vw, 72px);
  background: transparent;
  color: var(--accent-red);
  border: 3px solid var(--accent-red);
  padding: 9px 24px;
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: 0.24em;
  text-shadow: 0.5px 0.5px 0 rgba(178, 56, 43, 0.25);
  background-image: radial-gradient(rgba(178,56,43,0.06) 1px, transparent 1.5px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transform: rotate(-9deg) translateY(-46px) scale(2.6);
  transform-origin: 70% 50%;
  filter: blur(2px);
}
.verdict.is-in .case-stamp {
  animation: stampThud 1.05s cubic-bezier(0.34, 1.65, 0.36, 1) 0.25s forwards;
}
@keyframes stampThud {
  0%   { opacity: 0;    transform: rotate(-9deg) translateY(-46px) scale(2.6); filter: blur(2px); }
  38%  { opacity: 1;    transform: rotate(-9deg) translateY(0)     scale(1.18); filter: blur(0); }
  52%  { opacity: 1;    transform: rotate(-9deg) translateY(-7px)  scale(1.03); filter: blur(0); }
  68%  { opacity: 1;    transform: rotate(-9deg) translateY(0)     scale(1.07); filter: blur(0); }
  82%  { opacity: 0.96; transform: rotate(-9deg) translateY(-2px)  scale(0.99); filter: blur(0); }
  100% { opacity: 0.94; transform: rotate(-9deg) translateY(0)     scale(1);    filter: blur(0); }
}

/* Verdict tag now flexes (with meta on right) */
.verdict-tag {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: baseline;
}
.verdict-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
  opacity: 0.7;
  text-transform: none;
}

/* ─── Reveal-on-scroll (stagger-friendly) ────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease-signature),
    transform 0.9s var(--ease-signature);
  transition-delay: var(--reveal-d, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Verdict reveal — slightly different feel: rises with a tiny rotate */
.verdict[data-reveal] {
  transform: translateY(28px) rotate(-0.3deg);
}
.verdict[data-reveal].is-in {
  transform: translateY(0) rotate(0);
}

/* ─── CTA · button shimmer on hover ──────────────────────── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 245, 220, 0.18) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease-signature);
  pointer-events: none;
}
.btn-primary:hover::before { left: 120%; }

/* Affirmation body — each line eases in with stagger */
.affirmation-body br + ,
.affirmation-body { /* no-op */ }

/* ─── Mobile guards ──────────────────────────────────────── */
@media (max-width: 720px) {
  .case-stamp  { top: -12px; right: 16px; padding: 4px 10px; font-size: 10.5px; }
  .verdict-meta  { margin-left: 0; }
  .readout       { padding: 8px 12px; font-size: 11.5px; gap: var(--s-2); }
  .readout-label { padding-right: 8px; }
  .paper-grain   { opacity: 0.4; }
  .exhibit:hover { transform: none; }
  .exhibit:hover::after { border-width: 0; }
}

/* ─── Reduced motion — keep visuals, drop motion only ────── */
@media (prefers-reduced-motion: reduce) {
  /* Hero pieces — show finals, no entry anim */
  .hero-h1 .frag,
  .hero-h1 .frag-stamp,
  .accent-em .char {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .accent-marker {
    animation: none !important;
    opacity: 0.32 !important;
    transform: scaleX(1) !important;
  }
  .readout { animation: none !important; opacity: 1 !important; transform: none !important; }
  .readout-line { animation: none !important; opacity: 1 !important; transform: none !important; }
  .readout-dot, .readout-msg-caret { animation: none !important; }

  /* Reveals — final state instantly */
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

  /* Redactions — peel off instantly (skip animation) */
  .redact::before { animation: none !important; transform: scaleX(0) !important; }
  .redact { animation: none !important; color: inherit !important; }

  /* Case watermark — keep visible, no slide */
  .case-watermark { transition: none !important; opacity: 0.16; transform: translateX(0) rotate(-3deg); }

  /* Verdict stamp — show final state, no thud */
  .case-stamp {
    animation: none !important;
    opacity: 0.94;
    transform: rotate(-9deg) scale(1) translateY(0);
    filter: none;
  }
  /* v3.5 P5 · case-num pill follow-through off (展示终态) */
  .case.case-in .case-num {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .verdict.is-in::before { animation: none !important; opacity: 1; }

  /* Promise hover — disable scale, keep red color cue */
  .promise:hover .promise-num { font-size: inherit; color: var(--accent-red); transform: none; }
  .promise:hover .promise-h { transform: none; }

  /* Approval frame — keep visible on hover, no scale */
  .btn-primary::after { transition: none; }

  /* Strikethrough — show final */
  .compare-line-strike::after { transition: none; transform: scaleX(1); }

  /* Docket progress still works since it's a transform, but no need to hide */
  .docket-progress { display: none; }

  /* A · paper grain stops breathing */
  .paper-grain { animation: none !important; }
  /* C · binding strap shows static at full length so the page still has the
     side rule, but no live-update with scroll. */
  .dossier-strap { transform: scaleY(1) !important; transition: none !important; opacity: 0.35; }
}


/* ============================================================
   EXAGGERATED · dramatic motion round
   Redaction reveal, per-char drop, multi-line console,
   case watermark, stamp thud, promise hover, dashed approval.
   ============================================================ */

/* ─── Per-character drop on accent-em ────────────────────── */
.hero-h1 .frag {
  white-space: nowrap;
}
.accent-em .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(-22px) scale(0.6) rotate(-12deg);
  transform-origin: 50% 70%;
  animation: charThud 0.62s cubic-bezier(0.34, 1.7, 0.4, 1) calc(0.85s + var(--c, 0s)) forwards;
}
@keyframes charThud {
  0%   { opacity: 0; transform: translateY(-26px) scale(0.55) rotate(-14deg); }
  55%  { opacity: 1; transform: translateY(4px)   scale(1.12) rotate(3deg);   }
  78%  {             transform: translateY(-2px)  scale(0.96) rotate(-1deg);  }
  100% { opacity: 1; transform: translateY(0)     scale(1)    rotate(0);      }
}
/* The wrapping frag-stamp keyframes already animated the whole block;
   characters now drive the show — soften the wrapper's contribution. */
.hero-h1 .frag-stamp {
  animation-duration: 0.4s;
  animation-delay: var(--d, 0s);
}

/* Marker scribble — fire AFTER characters land */
.accent-marker {
  animation:
    markerDraw 0.7s cubic-bezier(0.3, 0.9, 0.3, 1) 1.7s forwards,
    markerSettle 1.8s ease-in-out 2.45s forwards !important;
}

/* ─── Hero lede · redaction peel-off ─────────────────────── */
.redact {
  position: relative;
  display: inline-block;
  color: inherit;
  isolation: isolate;
}
.redact::before {
  content: '';
  position: absolute;
  inset: 0.05em -0.18em;
  background: var(--ink);
  z-index: 2;
  transform-origin: right center;
  animation: redactPeel 0.85s cubic-bezier(0.55, 0, 0.2, 1) var(--rd, 1.4s) forwards;
  pointer-events: none;
  /* Tiny offset highlight to suggest paper underneath */
  box-shadow: 0 0 0 0.04em rgba(0, 0, 0, 0.18);
}
@keyframes redactPeel {
  0%   { transform: scaleX(1);   transform-origin: right center; }
  100% { transform: scaleX(0);   transform-origin: right center; }
}
/* When the bar peels off, briefly flash the underlying text red */
.redact { animation: redactFlash 1s ease-out calc(var(--rd, 1.4s) + 0.5s) forwards; }
@keyframes redactFlash {
  0%   { color: var(--accent-red); }
  100% { color: inherit; }
}

/* ─── Multi-line streaming readout console ───────────────── */
/* Override the inline-flex from the earlier single-line version */
.readout {
  display: block;
  margin-top: var(--s-6);
  padding: 0;
  background: linear-gradient(180deg, #15110d 0%, #0e0a07 100%);
  color: #d8d2c4;
  font-family: var(--mono);
  font-size: 12.5px;
  max-width: 640px;
  border: 1px solid #2c2418;
  box-shadow: 0 18px 40px -20px rgba(20, 10, 4, 0.55);
  opacity: 0;
  transform: translateY(10px);
  animation: heroFragIn 0.8s var(--ease-signature) 1.5s forwards;
  overflow: hidden;
}
.readout-bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 9px 14px;
  border-bottom: 1px solid #2c2418;
  background: #0c0805;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.readout-bar .readout-dot {
  width: 7px; height: 7px;
  background: #5cd58a;
  border-radius: 99px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(92, 213, 138, 0.55);
  animation: dotPulse 2.4s ease-out infinite;
}
.readout-title { color: var(--gold); flex: 1; }
.readout-time {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: var(--mono);
}

.readout-stream {
  position: relative;
  height: 84px;     /* 3 lines at ~28px */
  padding: 8px 14px;
  overflow: hidden;
}
.readout-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  height: 24px;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  animation: lineIn 0.4s var(--ease-signature) forwards;
}
.readout-line[data-fading]  { animation: lineOut 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes lineIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);  }
}
@keyframes lineOut {
  from { opacity: 1; transform: translateY(0);    }
  to   { opacity: 0; transform: translateY(-22px); }
}
.readout-ts {
  color: var(--muted);
  font-size: 11px;
  flex: 0 0 auto;
}
.readout-tag {
  color: var(--gold);
  flex: 0 0 auto;
  width: 8em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.readout-msg {
  color: #d8d2c4;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.readout-msg-caret {
  display: inline-block;
  margin-left: 4px;
  color: var(--gold);
  animation: caretBlink 0.95s steps(2) infinite;
}

/* ─── Giant CASE watermark · real DOM element ────────────── */
.case {
  position: relative;
}
.case-watermark {
  position: absolute;
  top: -0.04em;
  left: -0.03em;
  font-family: var(--italic-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(140px, 18vw, 280px);
  line-height: 0.82;
  color: var(--accent-red);
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transform: translateX(-30vw) rotate(-3deg);
  mix-blend-mode: multiply;
  transition: opacity 0.9s var(--ease-signature), transform 1.1s var(--ease-signature);
  user-select: none;
}
.case.case-in .case-watermark {
  opacity: 0.16;
  transform: translateX(0) rotate(-3deg);
}
/* Make sure case content paints above the watermark */
.case > *:not(.case-watermark) { position: relative; z-index: 1; }

/* Mobile: shrink the watermark — full size off-screen at small widths */
@media (max-width: 720px) {
  .case-watermark { font-size: clamp(80px, 28vw, 140px); top: -0.4em; }
}

/* ─── Bigger 已立案 stamp · ink splatter twin ────────────── */
/* Ink splatter — pseudo-twin underneath the stamp */
.verdict.is-in::before {
  content: '';
  position: absolute;
  top: -10px; right: clamp(30px, 6vw, 92px);
  width: 80px; height: 32px;
  background:
    radial-gradient(circle at 18% 60%, rgba(178,56,43,0.32) 0 1.5px, transparent 2px),
    radial-gradient(circle at 78% 30%, rgba(178,56,43,0.24) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 52% 80%, rgba(178,56,43,0.2)  0 1px,   transparent 1.6px),
    radial-gradient(circle at 30% 25%, rgba(178,56,43,0.16) 0 0.8px, transparent 1.4px);
  pointer-events: none;
  opacity: 0;
  animation: splatter 0.5s ease-out 0.5s forwards;
  z-index: 0;
}
@keyframes splatter {
  0%   { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── Promise rows · number scales HUGE on hover ─────────── */
.promise {
  cursor: default;
  transition: padding 0.45s var(--ease-signature), background 0.35s;
  border-radius: 2px;
}
.promise:hover {
  background: var(--paper);
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}
.promise-num {
  display: inline-block;
  transition:
    font-size 0.45s var(--ease-signature),
    color 0.3s,
    letter-spacing 0.4s,
    transform 0.45s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.promise:hover .promise-num {
  font-size: clamp(38px, 5vw, 64px);
  color: var(--accent-red);
  letter-spacing: -0.02em;
  transform: translateY(-4px) rotate(-2deg);
}
.promise-h {
  transition: transform 0.4s var(--ease-signature);
}
.promise:hover .promise-h {
  transform: translateX(10px);
}
.promise-p {
  transition: color 0.3s;
}
.promise:hover .promise-p {
  color: var(--ink);
}

/* ─── CTA · dashed approval frame ────────────────────────── */
.btn-primary {
  isolation: isolate;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -10px;
  border: 2px dashed var(--accent-red);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.82) rotate(-3deg);
  transition:
    opacity 0.35s,
    transform 0.55s cubic-bezier(0.3, 1.6, 0.3, 1);
  z-index: -1;
}
.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  opacity: 1;
  transform: scale(1) rotate(-1.5deg);
}
/* Dark download button gets a gold dashed frame instead */
.download-actions .btn-primary::after {
  border-color: var(--gold);
}

/* ─── Comparison cards · strike draws in on reveal ───────── */
.compare-line-strike {
  position: relative;
  text-decoration: none;
  color: var(--muted);
}
.compare-line-strike::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  top: 52%;
  height: 2px;
  background: var(--accent-red);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-signature) 0.35s;
}
.compare-not.is-in .compare-line-strike::after {
  transform: scaleX(1);
}


/* ============================================================
   v3.2 · Theatre section (video case file)
   Dossier-style video frame with red/gold rule, REC indicator,
   metadata strip. Inspired by zerou theatre but using Pace's
   case-file aesthetic.
   ============================================================ */

.theatre { padding: var(--section-pad-y) 0; }

.theatre-frame {
  position: relative;
  margin: var(--s-7) auto 0;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  box-shadow:
    0 1px 0 var(--rule-soft),
    3px 6px 0 rgba(120, 90, 40, 0.10),
    0 28px 60px -30px rgba(70, 50, 24, 0.45);
  transform: rotate(-0.5deg);
  max-width: 980px;
  isolation: isolate;
}
.theatre-frame::before {
  /* inner gold rule, like an evidence mounting card */
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.theatre-frame::after {
  /* tape-like accent strip top-left corner */
  content: '';
  position: absolute;
  top: -10px; left: 36px;
  width: 86px; height: 18px;
  background: rgba(178, 56, 43, 0.18);
  border: 1px solid rgba(178, 56, 43, 0.30);
  transform: rotate(-3.5deg);
  z-index: 3;
  pointer-events: none;
}

.theatre-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0c0805;
  position: relative;
  z-index: 2;
}

/* 4 corner case-file folds (SVG-less, pure CSS triangles) */
.theatre-corner {
  position: absolute;
  width: 18px; height: 18px;
  z-index: 4;
  pointer-events: none;
}
.theatre-corner-tl { top: 6px;    left: 6px;    border-top: 2px solid var(--accent-red); border-left: 2px solid var(--accent-red); }
.theatre-corner-tr { top: 6px;    right: 6px;   border-top: 2px solid var(--accent-red); border-right: 2px solid var(--accent-red); }
.theatre-corner-bl { bottom: 6px; left: 6px;    border-bottom: 2px solid var(--accent-red); border-left: 2px solid var(--accent-red); }
.theatre-corner-br { bottom: 6px; right: 6px;   border-bottom: 2px solid var(--accent-red); border-right: 2px solid var(--accent-red); }

/* I · REC indicator — small red dot + REC mono label bottom-left */
.theatre-rec {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 8px;
  background: rgba(12, 8, 5, 0.78);
  border: 1px solid rgba(178, 56, 43, 0.55);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #e6dccb;
  pointer-events: none;
  opacity: 0;
  animation: recAppear 0.6s ease-out 0.4s forwards;
}
.theatre-rec-dot {
  width: 7px; height: 7px;
  background: var(--accent-red);
  border-radius: 99px;
  animation: recBlink 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(178, 56, 43, 0.65);
}
.theatre-rec-label { line-height: 1; }
@keyframes recAppear { to { opacity: 1; } }
@keyframes recBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(178, 56, 43, 0.65); }
  50%      { opacity: 0.35; box-shadow: 0 0 2px rgba(178, 56, 43, 0.20); }
}

/* Glow — radial red breathing behind the frame */
.theatre-glow {
  position: absolute;
  inset: -36px;
  background: radial-gradient(ellipse at center, rgba(178, 56, 43, 0.18) 0%, rgba(178, 56, 43, 0.06) 38%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: theatreGlow 4s ease-in-out infinite;
  will-change: opacity, transform;
}
@keyframes theatreGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.95; transform: scale(1.04); }
}

/* Metadata strip — 4 mono cells */
.theatre-strip {
  margin: var(--s-7) auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  font-family: var(--mono);
}
@media (min-width: 720px) {
  .theatre-strip { grid-template-columns: repeat(4, 1fr); }
}
.strip-cell {
  background: var(--paper);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strip-label {
  color: var(--accent-red);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.strip-val {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* Mobile guards */
@media (max-width: 720px) {
  .theatre-frame { transform: rotate(-0.25deg); padding: 10px; }
  .theatre-frame::after { left: 18px; width: 64px; }
  .theatre-rec { left: 14px; bottom: 14px; padding: 4px 7px; font-size: 9.5px; }
  .theatre-glow { inset: -18px; }
}


/* ============================================================
   v3.2 · G · drifting watermark stamps
   3 huge faint round stamps that float around the background.
   ============================================================ */
.watermark-stamps {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* below grain (z:2), below main content (z:3) */
  overflow: hidden;
}
.wm-stamp {
  position: absolute;
  width: 30vw;
  min-width: 280px;
  max-width: 560px;
  height: auto;
  color: var(--accent-red);
  opacity: 0.035;
  will-change: transform;
  filter: blur(0.3px);
}
.wm-stamp-1 {
  top: 18%; left: -6vw;
  transform: rotate(-12deg);
  animation: wmDrift1 52s ease-in-out infinite;
}
.wm-stamp-2 {
  top: 48%; right: -8vw;
  transform: rotate(8deg);
  animation: wmDrift2 64s ease-in-out infinite;
  color: var(--gold-deep);
  opacity: 0.04;
}
.wm-stamp-3 {
  bottom: 6%; left: 35%;
  transform: rotate(-5deg);
  animation: wmDrift3 58s ease-in-out infinite;
  opacity: 0.03;
}
@keyframes wmDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-12deg); }
  50%      { transform: translate3d(40px, -28px, 0) rotate(-9deg); }
}
@keyframes wmDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
  50%      { transform: translate3d(-36px, 30px, 0) rotate(11deg); }
}
@keyframes wmDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50%      { transform: translate3d(28px, -22px, 0) rotate(-2deg); }
}

@media (max-width: 720px) {
  .wm-stamp { min-width: 200px; max-width: 320px; }
  .wm-stamp-1 { top: 12%; left: -10vw; }
  .wm-stamp-3 { bottom: 10%; left: 22%; }
}


/* ============================================================
   v3.2 · F · section-stamp ("已读" / "归档" / "复核")
   Small SVG-style stamp pasted into top-left of each major section
   when it enters the viewport. CSS-drawn for speed.
   ============================================================ */
.section-stamp {
  position: absolute;
  top: 18px;
  left: clamp(8px, 2vw, 36px);
  width: 64px; height: 64px;
  border: 2.5px solid var(--accent-red);
  border-radius: 50%;
  color: var(--accent-red);
  font-family: var(--italic-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: rotate(-12deg) scale(0.6);
  transform-origin: center;
  /* faint dotted inner ring for stamp texture */
  background:
    radial-gradient(circle at 30% 40%, rgba(178,56,43,0.05) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(178,56,43,0.04) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 50% 80%, rgba(178,56,43,0.05) 0 0.6px, transparent 1px);
  text-shadow: 0.4px 0.4px 0 rgba(178, 56, 43, 0.28);
  /* faint paper-like background so the stamp looks set into the page */
  box-shadow: inset 0 0 0 2px rgba(178, 56, 43, 0.22);
}
.section-stamp.is-stamped {
  animation: sectionStampThud 0.6s cubic-bezier(0.34, 1.6, 0.45, 1) forwards;
}
/* v3.5 P5 · follow-through 余震 (overshoot 1.15 → settle 1.0 + 反弹 0.96→1.02→1.00)
   旧 keyframes 已含 spring overshoot, 这里强化尾巴 + 拉长到 600ms 匹配 plan §P5. */
@keyframes sectionStampThud {
  0%   { opacity: 0;    transform: rotate(-22deg) scale(0.4)  translateY(-12px); }
  60%  { opacity: 1;    transform: rotate(-3deg)  scale(1.15) translateY(0); }
  78%  {                transform: rotate(-3deg)  scale(0.96) translateY(0); }
  88%  {                transform: rotate(-3deg)  scale(1.02) translateY(0); }
  100% { opacity: 0.88; transform: rotate(-3deg)  scale(1.00) translateY(0); }
}

/* v3.5 P3 · scroll-timeline 章戳 scroll-tied reveal
   @supports 包裹: Chrome 115+ / Safari 18 / Firefox flag-on 走 scroll-tied,
   老浏览器走上面的 IO + .is-stamped 旧路 (script.js stampIO). */
@supports (animation-timeline: view()) {
  .section-stamp:not(.is-stamped) {
    /* When scroll-timeline available, drive the reveal by scroll progress.
       Fires on entry — user 滚多快章戳多快出现. */
    animation: sectionStampReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    /* keep opacity:0 / transform initial visible until timeline drives it */
    opacity: 0;
  }
  @keyframes sectionStampReveal {
    0%   { opacity: 0;    transform: rotate(-22deg) scale(0.4)  translateY(-12px); }
    60%  { opacity: 1;    transform: rotate(-3deg)  scale(1.15) translateY(0); }
    78%  {                transform: rotate(-3deg)  scale(0.96) translateY(0); }
    88%  {                transform: rotate(-3deg)  scale(1.02) translateY(0); }
    100% { opacity: 0.88; transform: rotate(-3deg)  scale(1.00) translateY(0); }
  }
}
.cases, .theatre, .promises, .exhibits-live { position: relative; }
.cases .section-stamp { top: 32px; }
.theatre .section-stamp { top: 32px; }
.exhibits-live .section-stamp { top: 32px; }
.promises .section-stamp { top: 32px; }

@media (max-width: 720px) {
  .section-stamp { width: 48px; height: 48px; font-size: 9px; top: 14px; }
}


/* ============================================================
   v3.2 · Reduced motion overrides
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Theatre glow / REC blink off, autoplay browser-level still applies */
  .theatre-glow { animation: none !important; opacity: 0.55 !important; transform: none !important; }
  .theatre-rec  { animation: none !important; opacity: 1 !important; }
  .theatre-rec-dot { animation: none !important; }
  .theatre-frame { transform: none !important; }

  /* G · watermark stamps stop drifting (still visible static) */
  .wm-stamp,
  .wm-stamp-1,
  .wm-stamp-2,
  .wm-stamp-3 {
    animation: none !important;
  }

  /* F · section stamps appear instantly at final state */
  .section-stamp.is-stamped {
    animation: none !important;
    opacity: 0.88;
    transform: rotate(-3deg) scale(1);
  }
}


/* ============================================================
   v3.3 · Exhibits-live (Now + Team tab mock, dossier-skinned)
   Live UI tour. Two tabs, hover-revealed mentor lines,
   stagger-in commit rows + observation cards + member cards.
   All motion ≤ 60fps via transform/opacity. Reduced-motion safe.
   ============================================================ */

.exhibits-live {
  padding: var(--section-pad-y) 0;
  position: relative;
  background:
    linear-gradient(180deg, transparent 0%, rgba(120, 90, 40, 0.025) 100%);
}
.exhibits-live .case-title em { font-style: italic; }

/* ─── Tab switcher ───────────────────────────────────────── */
.exhibit-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1px;
  margin-top: var(--s-7);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
}
.exhibit-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 14px 22px;
  background: var(--paper);
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--ink-soft);
  transition:
    background 0.32s var(--ease-signature),
    color 0.22s,
    transform 0.18s cubic-bezier(0.3, 1.4, 0.4, 1),
    box-shadow 0.32s;
  min-width: 0;
}
.exhibit-tab:hover {
  background: var(--paper-light);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -8px rgba(70, 50, 24, 0.32);
}
.exhibit-tab.is-active {
  background: var(--ink);
  color: var(--paper-light);
  transform: translateY(0);
  box-shadow: inset 0 -3px 0 var(--accent-red);
}
.exhibit-tab.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px;
  bottom: -7px;
  height: 6px;
  background:
    radial-gradient(circle at 50% 100%, rgba(178, 56, 43, 0.6), transparent 70%);
  pointer-events: none;
}
.tab-num {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent-red);
  opacity: 0.7;
}
.exhibit-tab.is-active .tab-num { color: var(--gold); opacity: 1; }
.tab-label {
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.tab-meta {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.exhibit-tab.is-active .tab-meta { color: #a89b78; }
.exhibits-tabs-meta,
.exhibit-tabs-meta {
  margin-left: auto;
  display: none;
  align-self: center;
  padding: 0 18px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--mono);
  background: var(--paper);
}
@media (min-width: 900px) {
  .exhibit-tabs-meta { display: inline-flex; }
}

/* ─── Stage / panel transitions ───────────────────────── */
.exhibit-stage {
  position: relative;
  margin-top: var(--s-5);
  padding: clamp(20px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  box-shadow:
    0 1px 0 var(--rule-soft),
    3px 6px 0 rgba(120, 90, 40, 0.10),
    0 22px 50px -28px rgba(70, 50, 24, 0.32);
  min-height: 520px;
  isolation: isolate;
}
/* Decorative corners on the stage */
.exhibit-stage::before,
.exhibit-stage::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
  z-index: 1;
}
.exhibit-stage::before {
  top: 8px; left: 8px;
  border-top: 2px solid var(--accent-red);
  border-left: 2px solid var(--accent-red);
}
.exhibit-stage::after {
  bottom: 8px; right: 8px;
  border-bottom: 2px solid var(--accent-red);
  border-right: 2px solid var(--accent-red);
}

.exhibit-panel {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.28s var(--ease-signature),
    transform 0.28s var(--ease-signature);
}
.exhibit-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}
.exhibit-panel[hidden] { display: none; }

/* ─── Now · Commit pane ───────────────────────────────── */
.now-commits {
  background: var(--paper-light);
  border: 1px solid #e3d6b3;
  padding: 18px 20px 16px;
  position: relative;
}
.now-commits-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
  font-family: var(--mono);
}
.now-commits-title {
  color: var(--accent-red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.now-commits-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.commit-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-soft);
}
.commit-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: var(--s-4);
  align-items: baseline;
  padding: 10px 6px;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  transition: background 0.2s, transform 0.22s cubic-bezier(0.3, 1.4, 0.4, 1);
  cursor: default;
}
.commit-row:hover {
  background: rgba(200, 168, 106, 0.10);
  transform: translateX(2px);
}
.commit-row:hover .pmp-chip {
  transform: rotate(-3deg) scale(1.05);
  box-shadow: 1px 2px 0 rgba(120, 90, 40, 0.18);
}
.commit-hash {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  min-width: 6.5em;
}
.commit-time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  min-width: 3.5em;
}
.commit-subj {
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.4;
  min-width: 0;
  text-wrap: pretty;
}
.pmp-chip {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  transition: transform 0.22s cubic-bezier(0.3, 1.4, 0.4, 1), box-shadow 0.22s;
  transform-origin: center;
}
.pmp-chip-red { color: var(--accent-red); background: rgba(178, 56, 43, 0.04); }
.pmp-chip-gold { color: var(--gold-deep); background: rgba(200, 168, 106, 0.12); }

.commit-digest {
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: baseline;
}
.commit-digest em {
  font-style: italic;
  font-family: var(--italic-display);
  color: var(--accent-red);
  font-weight: 400;
  font-size: 14px;
}

/* ─── Now · Observation cards ─────────────────────────── */
.now-cards {
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px)  { .now-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .now-cards { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }

.obs-card {
  position: relative;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--accent-red);
  padding: 16px 18px 14px;
  transform: rotate(calc(var(--rot, 0) * 1deg));
  transition:
    transform 0.32s cubic-bezier(0.3, 1.4, 0.4, 1),
    border-color 0.32s,
    box-shadow 0.32s,
    background 0.32s;
  box-shadow: 0 1px 0 var(--rule-soft), 2px 3px 0 rgba(120, 90, 40, 0.08);
}
/* --rot is set via JS from data-rotate; fallback 0 */
.obs-card-warn { border-left-color: var(--accent-red); }
.obs-card-info { border-left-color: var(--gold); }
.obs-card-good { border-left-color: #6b8f4a; }
.obs-card:hover {
  border-color: var(--gold);
  border-left-color: var(--gold);
  transform: translateX(2px) rotate(0);
  background: var(--paper);
  box-shadow:
    0 1px 0 var(--rule-soft),
    4px 6px 0 rgba(120, 90, 40, 0.12),
    0 14px 26px -16px rgba(70, 50, 24, 0.30);
}
.obs-card-icon {
  display: inline-block;
  font-size: 16px;
  margin-bottom: 4px;
  filter: saturate(0.85);
}
.obs-card-h {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  line-height: 1.32;
  text-wrap: pretty;
}
.obs-card-p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 var(--s-3);
}

/* "想看建议 →" link button */
.obs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.22s;
  border-bottom: 1px solid transparent;
}
.obs-card-link:hover,
.obs-card-link[aria-expanded="true"] {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}
.obs-card-link-arrow {
  transition: transform 0.24s cubic-bezier(0.3, 1.4, 0.4, 1);
  display: inline-block;
}
.obs-card-link:hover .obs-card-link-arrow {
  transform: translateX(4px);
}
.obs-card-link[aria-expanded="true"] .obs-card-link-arrow {
  transform: rotate(90deg) translateX(2px);
}

/* Mentor inline answer (collapsed → expanded)
   NOTE: [hidden] attribute alone is overridden by our display:grid, so we
   use `.obs-mentor:not([data-open])` collapse + JS removes [hidden] on open. */
.obs-mentor {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  margin-top: 0;
  transition:
    grid-template-rows 0.42s var(--ease-signature),
    margin-top 0.42s var(--ease-signature);
}
.obs-mentor[hidden] {
  /* explicitly keep collapsed-and-invisible while [hidden] is present;
     JS removes it on first open. */
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  visibility: hidden;
}
.obs-card .obs-mentor[data-open],
.member-card .obs-mentor[data-open] {
  grid-template-rows: 1fr;
  margin-top: var(--s-3);
  visibility: visible;
}
.obs-mentor > * { min-height: 0; }
.obs-mentor-body {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--paper-light);
  background: var(--ink);
  padding: 12px 14px;
  margin: 6px 0 0;
  border-left: 3px solid var(--gold);
  text-wrap: pretty;
}
.obs-mentor-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 8px;
}

/* ─── Team · header + grid ────────────────────────────── */
.team-mock-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  font-family: var(--mono);
}
.team-mock-title {
  color: var(--accent-red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.team-mock-meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}

.team-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 720px)  { .team-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .team-cards { grid-template-columns: 1fr 1fr 1fr; } }

/* Member card · dossier-style employee file */
.member-card {
  position: relative;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  padding: 18px 18px 16px;
  transform: rotate(calc(var(--rot, 0) * 1deg));
  transition:
    transform 0.34s cubic-bezier(0.3, 1.4, 0.4, 1),
    border-color 0.32s,
    box-shadow 0.32s,
    background 0.32s;
  box-shadow:
    0 1px 0 var(--rule-soft),
    2px 4px 0 rgba(120, 90, 40, 0.10);
}
.member-card::after {
  /* tape-style top-right corner accent */
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 56px;
  height: 14px;
  background: rgba(200, 168, 106, 0.22);
  border: 1px solid rgba(200, 168, 106, 0.38);
  transform: rotate(2deg);
  pointer-events: none;
}
.member-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px) rotate(0);
  background: var(--paper);
  box-shadow:
    0 1px 0 var(--rule-soft),
    4px 8px 0 rgba(120, 90, 40, 0.16),
    0 22px 38px -22px rgba(70, 50, 24, 0.30);
}

.member-card-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.member-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  flex: 0 0 auto;
  transition:
    transform 0.32s cubic-bezier(0.3, 1.4, 0.4, 1),
    box-shadow 0.32s;
  position: relative;
}
.member-avatar-gold {
  background: var(--gold);
  border: 2px solid var(--gold-deep);
  box-shadow:
    inset 0 0 0 2px rgba(255, 245, 220, 0.4),
    0 1px 0 var(--rule-soft);
}
.member-card:hover .member-avatar-gold {
  transform: scale(0.95);
  box-shadow:
    inset 0 0 0 2px rgba(255, 245, 220, 0.6),
    0 0 0 4px rgba(178, 56, 43, 0.18),
    0 0 14px rgba(178, 56, 43, 0.30);
}
.member-id { flex: 1; min-width: 0; }
.member-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.member-role {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.member-raci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  border: 2.5px solid currentColor;
  flex: 0 0 auto;
  transform: rotate(-9deg);
  /* paper-stamp texture */
  background-image: radial-gradient(rgba(178,56,43,0.06) 1px, transparent 1.5px);
  background-size: 4px 4px;
  text-shadow: 0.4px 0.4px 0 currentColor;
  transition: transform 0.22s cubic-bezier(0.3, 1.4, 0.4, 1);
}
.raci-A { color: var(--accent-red); }
.raci-R { color: #3a5d8e; }
.raci-C { color: var(--gold-deep); }
.raci-I { color: var(--muted); }
.member-card:hover .member-raci {
  transform: rotate(-12deg) scale(1.08);
}

.member-meta {
  margin: 0 0 var(--s-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px var(--s-3);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
}
.member-meta-row {
  display: contents;
}
.member-meta dt {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-top: 2px;
}
.member-meta dd {
  margin: 0;
  color: var(--ink-soft);
  min-width: 0;
}
.member-meta dd code {
  font-family: var(--mono);
  font-size: 10.5px;
  background: rgba(200, 168, 106, 0.18);
  padding: 1px 5px;
  color: var(--ink);
  border: 1px solid rgba(200, 168, 106, 0.32);
}
.member-raci-label {
  font-style: italic;
  font-family: var(--italic-display);
  color: var(--accent-red);
  font-weight: 400;
  font-size: 13px;
  margin-right: 6px;
}

.member-pulse {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 99px;
  background: #5cd58a;
  margin-right: 4px;
  vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(92, 213, 138, 0.4);
  animation: memberPulse 2.6s ease-out infinite;
}
.member-pulse-warn {
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 168, 106, 0.45);
  animation-name: memberPulseGold;
}
@keyframes memberPulse {
  0%   { box-shadow: 0 0 0 0 rgba(92, 213, 138, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(92, 213, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 213, 138, 0); }
}
@keyframes memberPulseGold {
  0%   { box-shadow: 0 0 0 0 rgba(200, 168, 106, 0.50); }
  70%  { box-shadow: 0 0 0 7px rgba(200, 168, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 168, 106, 0); }
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule-soft);
}
.member-ping, .member-as {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: transparent;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.3, 1.4, 0.4, 1),
    background 0.22s,
    border-color 0.22s,
    color 0.22s,
    box-shadow 0.22s;
}
.member-ping:hover {
  transform: translateY(-2px);
  background: var(--gold);
  border-color: var(--gold-deep);
  color: var(--ink);
  box-shadow: 0 4px 10px -4px rgba(200, 168, 106, 0.55);
}
.member-ping[aria-expanded="true"] {
  background: var(--accent-red);
  color: var(--paper-light);
  border-color: var(--accent-red-deep);
}
.member-as:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 0 4px 10px -4px rgba(70, 50, 24, 0.30);
}

/* ─── Stagger-in (run when section is in view) ───────── */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
}
.exhibits-live.is-in [data-stagger] > * {
  animation: liveTourIn 0.62s var(--ease-signature) forwards;
  animation-delay: calc(var(--row-i, 0) * 70ms + var(--stagger-base, 0ms));
}
.commit-rows.is-in .commit-row {
  animation: liveTourIn 0.55s var(--ease-signature) calc(var(--row-i, 0) * 60ms) forwards;
}
.now-cards.is-in > * {
  --row-i: 0;
}
.now-cards.is-in > *:nth-child(1) { --row-i: 0; }
.now-cards.is-in > *:nth-child(2) { --row-i: 1; }
.now-cards.is-in > *:nth-child(3) { --row-i: 2; }
.now-cards.is-in > *:nth-child(4) { --row-i: 3; }
.team-cards.is-in > *:nth-child(1) { --row-i: 0; }
.team-cards.is-in > *:nth-child(2) { --row-i: 1; }
.team-cards.is-in > *:nth-child(3) { --row-i: 2; }

/* v3.5 P6 · Vercel blur 入场 — 从「模糊档案」变「清晰证据」隐喻 + 眼睛对清晰度更敏感.
   filter blur 8px → 0 同步 opacity / translateY (800ms 与 signature dur 一致). */
@keyframes liveTourIn {
  0%   { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  60%  { opacity: 1;                              filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Initial pre-enter state for staggered children — show blur before animation kicks in */
[data-stagger] > * {
  filter: blur(8px);
  will-change: filter, opacity, transform;
}

/* Tab switch re-stagger — when a tab is freshly activated */
.exhibit-panel.is-active .commit-rows .commit-row {
  animation: liveTourIn 0.5s var(--ease-signature) calc(var(--row-i, 0) * 55ms) forwards;
}
.exhibit-panel.is-active .now-cards > *,
.exhibit-panel.is-active .team-cards > * {
  animation: liveTourIn 0.55s var(--ease-signature) calc(var(--row-i, 0) * 75ms + 60ms) forwards;
}

/* ─── Foot caption ─────────────────────────────────────── */
.exhibits-live-foot {
  margin-top: var(--s-6);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.elf-mark {
  color: var(--accent-red);
  font-size: 7px;
}

/* ─── Mobile guards ───────────────────────────────────── */
@media (max-width: 720px) {
  .exhibit-tab { padding: 12px 14px; }
  .exhibits-live .exhibit-stage { padding: 16px; min-height: 0; }
  .commit-row {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      'hash time chip'
      'subj subj subj';
    gap: 6px var(--s-3);
  }
  .commit-row .commit-hash { grid-area: hash; }
  .commit-row .commit-time { grid-area: time; }
  .commit-row .pmp-chip { grid-area: chip; justify-self: end; }
  .commit-row .commit-subj { grid-area: subj; font-size: 13px; }
  .member-card { padding: 14px 14px 12px; }
  .obs-card { padding: 14px 14px 12px; }
  .obs-card:hover, .member-card:hover { transform: none; }
}

/* ─── Reduced motion overrides ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* All stagger / enter / hover animations static */
  [data-stagger] > *,
  .exhibits-live [data-stagger] > *,
  .exhibits-live.is-in [data-stagger] > *,
  .commit-rows.is-in .commit-row,
  .exhibit-panel.is-active .commit-rows .commit-row,
  .exhibit-panel.is-active .now-cards > *,
  .exhibit-panel.is-active .team-cards > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    /* v3.5 P6 · 关 filter blur reduced-motion */
    filter: none !important;
  }
  .exhibit-panel {
    transition: none !important;
  }
  .obs-card, .member-card { transform: none !important; }
  .obs-card:hover, .member-card:hover { transform: none !important; }
  .obs-mentor { transition: none !important; }
  .member-pulse, .member-pulse-warn { animation: none !important; box-shadow: none !important; }
  .commit-row:hover .pmp-chip,
  .member-card:hover .member-avatar-gold,
  .member-card:hover .member-raci,
  .obs-card-link-arrow,
  .exhibit-tab:hover { transform: none !important; }
}

/* ============================================================
   v3.4 + v3.4.1 · Dossier switch FX
   v3.4.1 drawer (replaces A1 fold — user 没感知 rotateY fold, 抽屉感更强)
     · Trigger A: section enter → whole stage slides in from right (60% → 0)
     · Trigger B: tab switch → outgoing slides left (-60%), incoming slides in from right (+60%)
   A2 · red 章戳 indicator slides between tabs + pulse + red-glow halo on land
   A4 · 案卷夹合上打开 — twin flaps cinch over stage between tabs (缩短到 0.28s)
   B3 · section-title red-line wipe (scroll-trigger scaleX 0→1)
   All transform/opacity — GPU composited. Reduced-motion fallback at end.
   ============================================================ */

/* ─── v3.4.1 · Stage drawer slide-in (Trigger A) + dossier edge ───── */
.exhibit-stage {
  overflow: hidden; /* clip the panel + edges cleanly */
  /* Drawer initial state: pushed to the right, transparent. */
  transform: translateX(60%);
  opacity: 0;
  /* 2px red + 1px gold hard edge on the LEFT — case-file binding */
  box-shadow:
    inset 2px 0 0 var(--accent-red),
    inset 3px 0 0 var(--gold),
    /* original lift */
    0 1px 0 var(--rule-soft),
    3px 6px 0 rgba(120, 90, 40, 0.10),
    0 22px 50px -28px rgba(70, 50, 24, 0.32),
    /* dossier shadow as it slides out from binder */
    -20px 0 60px -20px rgba(0, 0, 0, 0.2);
  will-change: transform, opacity;
}
/* v3.5.1 · 延长抽屉滑入 0.82s → 1.2s 并改用 signature easing,
   关键: 前 35% 抽屉走 35% 距离 (用户能看见过程),
   不再像 ease-out 那样开头就甩到 90% 然后慢慢收尾 */
.exhibit-stage.is-drawer-in {
  animation: stageDrawerIn 1.2s var(--ease-signature, cubic-bezier(0.2, 1, 0.2, 1)) forwards;
}
@keyframes stageDrawerIn {
  0%   { transform: translateX(60%); opacity: 0; }
  15%  { opacity: 0.4; }
  40%  { transform: translateX(36%); opacity: 0.8; }
  70%  { transform: translateX(8%); opacity: 1; }
  100% { transform: translateX(0);   opacity: 1; }
}

.exhibit-panel {
  /* No more 3D rotation — pure translateX drawer slide */
  will-change: transform, opacity;
}

/* Tab switch · drawer slide
   Outgoing: 0 → -60% + opacity 1 → 0  (450ms, eased out)
   Incoming: starts after 200ms via JS, 60% → 0 + opacity 0 → 1 (450ms) */
.exhibit-panel.is-folding-out {
  animation: panelDrawerOut 0.45s cubic-bezier(0.55, 0, 0.45, 1) forwards;
  pointer-events: none;
}
.exhibit-panel.is-folding-in {
  animation: panelDrawerIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes panelDrawerOut {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-60%); }
}
@keyframes panelDrawerIn {
  0%   { opacity: 0; transform: translateX(60%); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}

/* Drawer pull label · briefly flashes in bottom-left when抽屉 pulls
   e.g. "[ 拉档 · 现在 ]" / "[ 拉档 · 团队 ]" */
.exhibit-drawer-pull {
  position: absolute;
  left: 12px;
  bottom: 8px;
  z-index: 7;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent-red);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  text-transform: uppercase;
}
.exhibit-drawer-pull.is-pulling {
  animation: drawerPullFlash 0.6s ease-out forwards;
}
@keyframes drawerPullFlash {
  0%   { opacity: 0; transform: translateX(-4px); }
  20%  { opacity: 0.95; transform: translateX(0); }
  60%  { opacity: 0.95; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}

/* ─── A2 · Red 章戳 sliding indicator (under active tab) ──── */
.exhibit-tabs {
  position: relative; /* anchor for the seal */
  z-index: 10; /* sit above the stage so the seal drop-shadow + 章戳 isn't covered */
}
.exhibit-tab-seal {
  position: absolute;
  left: 0; bottom: 0;
  /* Sit half-overlapping the bottom edge of the tab strip for "stamped" feel */
  transform: translate(calc(var(--seal-x, 0px) - 50%), calc(50% - 2px)) rotate(-8deg);
  width: 56px; height: 56px;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.42s cubic-bezier(0.7, -0.05, 0.25, 1.05);
  display: flex; align-items: center; justify-content: center;
  /* Faint paper texture under the seal so it reads "pressed in" */
  filter: drop-shadow(0 2px 3px rgba(140, 44, 34, 0.35));
  /* v3.5 P2 · View Transitions API — 浏览器自动 FLIP morph this seal */
  view-transition-name: seal;
}
.exhibit-tab-seal .seal-ring {
  position: absolute; inset: 0;
  border: 2.5px solid var(--accent-red);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, rgba(178, 56, 43, 0.10) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 65%, rgba(178, 56, 43, 0.08) 0 0.8px, transparent 1.3px),
    radial-gradient(circle at 50% 80%, rgba(178, 56, 43, 0.08) 0 0.6px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 244, 220, 0.55), rgba(252, 240, 210, 0.35));
  box-shadow:
    inset 0 0 0 2.5px rgba(178, 56, 43, 0.28),
    inset 0 0 8px rgba(178, 56, 43, 0.15);
}
.exhibit-tab-seal .seal-text {
  position: relative;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-red);
  text-shadow: 0.4px 0.4px 0 rgba(178, 56, 43, 0.32);
  line-height: 1;
}
.exhibit-tab-seal .seal-sub {
  position: absolute;
  bottom: 9px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.18em;
  color: var(--accent-red);
  opacity: 0;
  white-space: nowrap;
}
.exhibit-tab-seal.is-pulsing {
  animation:
    sealLand 0.36s cubic-bezier(0.34, 1.56, 0.45, 1) forwards,
    sealHalo 0.7s ease-out forwards;
}
.exhibit-tab-seal.is-pulsing .seal-sub {
  animation: sealSubFlash 0.7s ease-out forwards;
  animation-delay: 0.32s;
}
@keyframes sealLand {
  0%   { transform: translate(calc(var(--seal-x, 0px) - 50%), calc(50% - 2px)) rotate(-8deg) scale(1); }
  40%  { transform: translate(calc(var(--seal-x, 0px) - 50%), calc(50% - 6px)) rotate(-12deg) scale(1.18); }
  70%  { transform: translate(calc(var(--seal-x, 0px) - 50%), calc(50% - 1px)) rotate(-6deg) scale(0.94); }
  100% { transform: translate(calc(var(--seal-x, 0px) - 50%), calc(50% - 2px)) rotate(-8deg) scale(1); }
}
/* v3.4.1 · 章戳到位时的红光晕脉冲 (drop-shadow 形式, 与 transform 解耦, 不打架) */
@keyframes sealHalo {
  0%   { filter: drop-shadow(0 2px 3px rgba(140, 44, 34, 0.35)); }
  40%  {
    filter:
      drop-shadow(0 2px 3px rgba(140, 44, 34, 0.35))
      drop-shadow(0 0 24px rgba(178, 56, 43, 0.55));
  }
  100% { filter: drop-shadow(0 2px 3px rgba(140, 44, 34, 0.35)); }
}
@keyframes sealSubFlash {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  20%  { opacity: 1; transform: translate(-50%, -1px); }
  70%  { opacity: 1; transform: translate(-50%, -1px); }
  100% { opacity: 0; transform: translate(-50%, -3px); }
}

/* ─── A4 · 案卷夹合上打开 (twin-flap close/open over stage) ── */
.exhibit-folder-flap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  display: none; /* only painted while flapping */
}
.exhibit-folder-flap.is-flapping {
  display: block;
  opacity: 1;
}
.exhibit-folder-flap .flap-top,
.exhibit-folder-flap .flap-bot {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  /* Paper-tone gradient so flaps look like the case-file cover, not solid red */
  background:
    linear-gradient(180deg,
      rgba(252, 240, 210, 0.98) 0%,
      rgba(245, 232, 200, 0.96) 60%,
      rgba(228, 212, 178, 0.94) 100%);
  /* Faint paper grain — same family as page bg */
  box-shadow:
    inset 0 0 0 1px rgba(178, 56, 43, 0.22),
    0 6px 16px -8px rgba(70, 50, 24, 0.45);
  will-change: transform;
}
.exhibit-folder-flap .flap-top {
  top: 0;
  transform: translateY(-100%);
  border-bottom: 1.5px solid var(--accent-red);
}
.exhibit-folder-flap .flap-bot {
  bottom: 0;
  transform: translateY(100%);
  border-top: 1.5px solid var(--accent-red);
}
.exhibit-folder-flap .flap-rule {
  /* Hairline accent ribbon that lands at the seam mid-frame */
  position: absolute;
  left: 0; right: 0; top: calc(50% - 1px);
  height: 2px;
  background: var(--accent-red);
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
}
/* v3.4.1 · 缩短到 0.28s — 不要太喧宾夺主, 让抽屉滑动是主角 */
.exhibit-folder-flap.is-flapping .flap-top {
  animation: flapTop 0.28s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.exhibit-folder-flap.is-flapping .flap-bot {
  animation: flapBot 0.28s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.exhibit-folder-flap.is-flapping .flap-rule {
  animation: flapRule 0.28s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes flapTop {
  0%   { transform: translateY(-100%); }
  45%  { transform: translateY(0%); }
  55%  { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}
@keyframes flapBot {
  0%   { transform: translateY(100%); }
  45%  { transform: translateY(0%); }
  55%  { transform: translateY(0%); }
  100% { transform: translateY(100%); }
}
@keyframes flapRule {
  0%   { opacity: 0; transform: scaleX(0.2); }
  45%  { opacity: 1; transform: scaleX(1); }
  55%  { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0.2); }
}

/* ─── v3.5 P4 · SVG stroke-dashoffset red-line (替换 v3.4 B3 scaleX) ──
   红→金 linearGradient · path Q-curve · dasharray=220 → dashoffset 220→0.
   IO 触发 .is-underlined → keyframes 跑 drawLine. */
.has-underline-fx {
  position: relative;
}
.has-underline-fx svg.title-underline-fx {
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 6px;
  width: clamp(48px, 22%, 220px);
  opacity: 0.92;
  pointer-events: none;
  overflow: visible;
}
.has-underline-fx svg.title-underline-fx path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}
.has-underline-fx.is-underlined svg.title-underline-fx path {
  animation: drawTitleLine var(--dur-signature, 800ms) var(--ease-signature) forwards;
  animation-delay: 0.12s;
}
@keyframes drawTitleLine {
  0%   { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: 0; }
}
/* The download-h is narrower; size the line for it */
.download-h.has-underline-fx svg.title-underline-fx {
  width: clamp(36px, 35%, 180px);
}
/* Affirmation is large display type — center the underline */
.affirmation-body.has-underline-fx svg.title-underline-fx {
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  bottom: -18px;
}

/* ─── v3.4 + v3.4.1 · Reduced-motion fallback (full bypass) ── */
@media (prefers-reduced-motion: reduce) {
  /* v3.4.1 · stage drawer — no slide-in, just appear */
  .exhibit-stage {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
  .exhibit-stage.is-drawer-in {
    animation: none !important;
  }
  /* v3.4.1 · panel drawer — 200ms short fade, no translateX */
  .exhibit-panel.is-folding-out {
    animation: panelReducedFade 0.2s linear forwards !important;
    transform: none !important;
  }
  .exhibit-panel.is-folding-in {
    animation: panelReducedFadeIn 0.2s linear forwards !important;
    transform: none !important;
  }
  /* v3.4.1 · drawer pull label — never flash */
  .exhibit-drawer-pull,
  .exhibit-drawer-pull.is-pulling {
    animation: none !important;
    opacity: 0 !important;
  }
  /* A2 · seal — static at final position, no pulse + no halo */
  .exhibit-tab-seal {
    transition: none !important;
  }
  .exhibit-tab-seal.is-pulsing,
  .exhibit-tab-seal.is-pulsing .seal-sub {
    animation: none !important;
  }
  .exhibit-tab-seal .seal-sub { opacity: 0 !important; }
  /* A4 · folder flaps — never paint */
  .exhibit-folder-flap,
  .exhibit-folder-flap.is-flapping,
  .exhibit-folder-flap .flap-top,
  .exhibit-folder-flap .flap-bot,
  .exhibit-folder-flap .flap-rule {
    animation: none !important;
    display: none !important;
    opacity: 0 !important;
  }
  /* v3.5 P4 · SVG underline — dasharray=0 静显, no draw-in */
  .has-underline-fx svg.title-underline-fx path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
  .affirmation-body.has-underline-fx svg.title-underline-fx {
    transform: translateX(-50%) !important;
  }
}
@keyframes panelReducedFade {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes panelReducedFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* ============================================================
   v3.5 · P2 · View Transitions API (tab switch)
   document.startViewTransition() wrap → 浏览器自动 FLIP morph
   the named `seal` element + soft x-fade的 root snapshot.
   Fallback (老 browser / reduced-motion): v3.4.1 drawer slide.
   ============================================================ */

/* Root tab-switch cross-dissolve (no big translateX so it doesn't fight Lenis) */
::view-transition-old(root) {
  animation: vt-out 380ms var(--ease-signature) both;
}
::view-transition-new(root) {
  animation: vt-in 460ms var(--ease-signature) both;
}
@keyframes vt-out {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-12%); }
}
@keyframes vt-in {
  0%   { opacity: 0; transform: translateX(12%); }
  100% { opacity: 1; transform: translateX(0); }
}

/* 红章戳 seal — 浏览器 measures start/end position 自动 morph */
::view-transition-group(seal) {
  animation-duration: 520ms;
  animation-timing-function: var(--ease-signature);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(seal) {
    animation: none !important;
  }
}

