/* V.F.D. — Victorian-Gothic Design System
   System-font-only for portability. Strict CSP compatible.
*/

:root {
  --ink: #f3e8d2;
  --ink-dim: #c8b998;
  --ink-mute: #8a7f6a;
  --paper: #14100c;
  --paper-2: #1a1410;
  --paper-3: #221a13;
  --rule: #3b2f23;
  --rule-2: #5a4830;
  --amber: #d4a15a;
  --amber-hot: #f3c987;
  --ember: #b2532b;
  --blood: #7a1f1f;
  --volunteer: #6fb8a8;
  --villain: #b2532b;
  --ambig: #c9a24a;
  --civilian: #7a8fa6;

  --serif: "Fraunces", "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --w-max: 1200px;
  --w-read: 72ch;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 40px -10px rgba(0,0,0,.6), 0 2px 0 rgba(255,220,160,.04) inset;
  --shadow-hi: 0 20px 60px -15px rgba(0,0,0,.8), 0 2px 0 rgba(255,220,160,.08) inset;

  --step-00: clamp(.78rem, .74rem + .15vw, .85rem);
  --step-0:  clamp(.92rem, .88rem + .2vw, 1rem);
  --step-1:  clamp(1.05rem, 1rem + .3vw, 1.15rem);
  --step-2:  clamp(1.2rem, 1.1rem + .6vw, 1.5rem);
  --step-3:  clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  --step-4:  clamp(2rem, 1.4rem + 2.8vw, 3.3rem);
  --step-5:  clamp(2.6rem, 1.8rem + 4vw, 4.8rem);
}

html[data-theme="light"] {
  --ink: #241a12;
  --ink-dim: #5a4a34;
  --ink-mute: #7a6a52;
  --paper: #f6ecd7;
  --paper-2: #efe2c3;
  --paper-3: #e6d4ac;
  --rule: #c7b48b;
  --rule-2: #a38f66;
  --amber: #7a4f1a;
  --amber-hot: #a06b24;
  --shadow: 0 10px 30px -12px rgba(80,50,20,.25);
  --shadow-hi: 0 20px 50px -18px rgba(80,50,20,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark light; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-hot); }
:focus-visible {
  outline: 2px solid var(--amber-hot);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Accessibility: skip link */
.skip {
  position: absolute; left: -9999px;
  background: var(--paper-2); color: var(--ink);
  padding: .6rem 1rem; border: 1px solid var(--rule);
}
.skip:focus { left: 1rem; top: 1rem; z-index: 100; }

.wrap { max-width: var(--w-max); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }

/* Header */
.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem clamp(1rem, 3vw, 2rem);
  max-width: var(--w-max); margin: 0 auto;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--serif);
  font-weight: 600; letter-spacing: .02em;
}
.mark { width: 30px; height: 30px; color: var(--amber); }
.wordmark { font-size: 1.15rem; letter-spacing: .25em; }
nav[aria-label="Primary"] { margin-left: auto; }
.links {
  list-style: none; display: flex; gap: clamp(.6rem, 1.5vw, 1.3rem);
  margin: 0; padding: 0; flex-wrap: wrap;
}
.links a {
  color: var(--ink-dim); text-decoration: none;
  font-size: var(--step-00); letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.links a:hover { color: var(--amber); border-color: var(--amber); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink-dim);
  border: 1px solid var(--rule); cursor: pointer;
  transition: color .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover { color: var(--amber); border-color: var(--amber); transform: rotate(-15deg); }

@media (max-width: 820px) {
  nav[aria-label="Primary"] { order: 3; width: 100%; margin-top: .4rem; }
  .links { gap: .9rem; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 10vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  background:
    radial-gradient(ellipse 900px 500px at 50% 0%, rgba(212,161,90,.12), transparent 70%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(178,83,43,.08), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--rule);
}
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.eyebrow {
  font-family: var(--serif); font-style: italic;
  color: var(--amber); letter-spacing: .24em; text-transform: uppercase;
  font-size: var(--step-00); margin: 0 0 1rem;
}
.display {
  font-family: var(--serif);
  font-size: var(--step-5);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 1.2rem;
  text-wrap: balance;
}
.lede {
  max-width: 68ch; margin: 0 auto 2rem;
  font-size: var(--step-1); color: var(--ink-dim);
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.2rem; border-radius: var(--radius);
  background: var(--amber); color: #1a1410; font-weight: 600;
  text-decoration: none; letter-spacing: .04em;
  border: 1px solid var(--amber);
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--amber-hot); color:#1a1410; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.ghost:hover { border-color: var(--amber); color: var(--amber); background: transparent; }
.warn {
  margin-top: 2.5rem;
  font-family: var(--serif); font-style: italic; color: var(--ink-mute);
  font-size: var(--step-0);
}
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.83 0 0 0 0 0.63 0 0 0 0 0.35 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: overlay;
}

/* Sections */
.section { padding: clamp(3rem, 8vh, 6rem) 0; border-bottom: 1px solid var(--rule); }
.section.alt { background: var(--paper-2); }
.sec-head { max-width: 68ch; margin: 0 0 2rem; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-4); letter-spacing: -.01em;
  margin: 0 0 .5rem; line-height: 1.05;
}
.sec-head p { color: var(--ink-dim); margin: 0; font-size: var(--step-1); }

h2 { font-family: var(--serif); font-weight: 500; font-size: var(--step-3); margin: 0 0 1rem; line-height: 1.1; }
h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); margin: 0 0 .5rem; }
p { margin: 0 0 1rem; max-width: var(--w-read); }

.grid-2 {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 820px){ .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2vw, 2rem);
  box-shadow: var(--shadow);
}
.motto { position: relative; }
.motto::before {
  content: "\201C"; position: absolute; top: -.1em; left: .4rem;
  font-family: var(--serif); font-size: 6rem; color: var(--amber);
  opacity: .35; line-height: 1;
}
.motto-text {
  font-family: var(--serif); font-style: italic; font-size: var(--step-2);
  color: var(--ink); margin: 0 0 .75rem;
}
.motto-attr { color: var(--ink-mute); font-size: var(--step-00); margin: 0; letter-spacing: .06em; }

/* Filters */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0 0 2rem;
}
.chip {
  font-family: var(--sans); font-size: var(--step-00);
  letter-spacing: .06em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 999px;
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--rule-2); cursor: pointer;
  transition: all .18s;
}
.chip:hover { color: var(--ink); border-color: var(--amber); }
.chip.active {
  background: var(--amber); color: #1a1410;
  border-color: var(--amber); font-weight: 600;
}

/* Timeline */
.timeline {
  list-style: none; padding: 0; margin: 0;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute;
  top: 0; bottom: 0; left: 14px;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--rule-2) 8%, var(--rule-2) 92%, transparent 100%);
}
@media (min-width: 820px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
}

.tl-item {
  position: relative;
  padding: 0 0 2rem 3rem;
}
@media (min-width: 820px) {
  .tl-item { width: 50%; padding: 0 3rem 2.5rem 0; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.5rem 3rem; }
}
.tl-dot {
  position: absolute; left: 4px; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.tl-dot::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 12px var(--amber);
}
@media (min-width: 820px) {
  .tl-dot { left: auto; right: -11px; top: 4px; }
  .tl-item:nth-child(even) .tl-dot { left: -11px; right: auto; }
}

.tl-card {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.tl-card:hover, .tl-card:focus-visible {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hi);
}
.tl-era {
  display: inline-block; font-size: var(--step-00);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: .4rem;
}
.tl-title {
  font-family: var(--serif); font-weight: 500; font-size: var(--step-2);
  margin: 0 0 .4rem; line-height: 1.2;
}
.tl-date {
  font-size: var(--step-00); color: var(--ink-mute);
  font-style: italic; margin-bottom: .6rem;
}
.tl-summary { color: var(--ink-dim); margin: 0 0 .75rem; font-size: var(--step-0); }
.tl-quote {
  font-family: var(--serif); font-style: italic;
  color: var(--ink); border-left: 2px solid var(--amber);
  padding: .3rem 0 .3rem .8rem; margin: .6rem 0 0;
  font-size: var(--step-0);
}
.tl-hidden { display: none; }

/* Characters */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.char {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--rule-2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  position: relative;
  cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.char:hover { transform: translateY(-2px); border-left-color: var(--amber); }
.char.vol { border-left-color: var(--volunteer); }
.char.vil { border-left-color: var(--villain); }
.char.amb { border-left-color: var(--ambig); }
.char.civ { border-left-color: var(--civilian); }
.char h4 { font-family: var(--serif); font-weight: 500; font-size: var(--step-1); margin: 0 0 .25rem; }
.char .role { font-size: var(--step-00); color: var(--ink-mute); margin: 0 0 .5rem; line-height: 1.4; }
.char .fate { font-size: var(--step-00); color: var(--ink-dim); font-style: italic; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 .25rem; vertical-align: middle; }
.dot.vol { background: var(--volunteer); }
.dot.vil { background: var(--villain); }
.dot.amb { background: var(--ambig); }
.dot.civ { background: var(--civilian); }

/* Books */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
details.book {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}
details.book[open] { border-color: var(--amber); }
details.book > summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  display: flex; align-items: baseline; gap: .8rem;
  font-family: var(--serif);
}
details.book > summary::-webkit-details-marker { display: none; }
.book-num { color: var(--amber); font-weight: 600; font-size: var(--step-00); letter-spacing: .1em; flex-shrink: 0; }
.book-title { font-size: var(--step-1); color: var(--ink); font-weight: 500; line-height: 1.2; }
.book-body { padding: 0 1.2rem 1.2rem; border-top: 1px dashed var(--rule); margin-top: .2rem; }
.book-body p { margin: .8rem 0 0; color: var(--ink-dim); }
.book-body .theme-key {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  color: var(--amber); margin-top: .8rem; font-size: var(--step-00);
  letter-spacing: .06em; text-transform: uppercase;
}

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.quote {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--serif); font-size: 5rem;
  color: var(--amber); opacity: .3;
  position: absolute; top: -.2em; left: .5rem; line-height: 1;
}
.quote p {
  font-family: var(--serif); font-style: italic;
  font-size: var(--step-1); color: var(--ink);
  margin: 0 0 .8rem; position: relative; z-index: 1;
  text-wrap: pretty;
}
.quote cite {
  font-style: normal; color: var(--amber);
  font-size: var(--step-00); letter-spacing: .08em;
  text-transform: uppercase;
}

/* Parallels */
.parallels { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.parallel {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ember);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.parallel h4 { font-family: var(--serif); font-size: var(--step-1); margin: 0 0 .4rem; }
.parallel .era-tag { font-size: var(--step-00); color: var(--amber); letter-spacing: .1em; text-transform: uppercase; }
.parallel p { color: var(--ink-dim); font-size: var(--step-0); margin: .5rem 0 .6rem; }
.parallel .echo { color: var(--ink-mute); font-style: italic; font-size: var(--step-00); border-top: 1px dashed var(--rule); padding-top: .6rem; margin: 0; }

/* Takeaways */
.takeaways { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
.creative-aside {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--rule-2);
}
.creative-aside h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: var(--step-3); margin: 0 0 .5rem;
  color: var(--ink);
}
.creative-aside .aside-note {
  color: var(--ink-mute); font-style: italic; font-size: var(--step-0);
  margin: 0 0 1.5rem; max-width: 68ch;
}

/* Mobile refinements */
@media (max-width: 640px) {
  .display { font-size: clamp(2.2rem, 10vw, 3.2rem); letter-spacing: -.015em; }
  .lede { font-size: var(--step-0); }
  .sec-head h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section { padding: 2.25rem 0; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .wrap { padding: 0 1rem; }
  .nav { padding: .7rem 1rem; flex-wrap: wrap; row-gap: .4rem; }
  .brand .wordmark { font-size: 1rem; letter-spacing: .2em; }
  .theme-toggle { width: 32px; height: 32px; }
  .links { gap: .7rem; font-size: .72rem; }
  .links a { padding: .25rem 0; }
  .tl-card { padding: 1rem 1.1rem; }
  .tl-title { font-size: 1.15rem; }
  .char-grid { grid-template-columns: 1fr; }
  .quotes, .parallels, .takeaways, .books { grid-template-columns: 1fr; }
  details.book > summary { padding: .85rem 1rem; }
  .book-body { padding: 0 1rem 1rem; }
  .quote { padding: 1.2rem 1.2rem; }
  .take { padding-left: 2.6rem; }
  .take::before { left: .9rem; top: 1rem; font-size: 1.8rem; }
  dialog#modal article { border-radius: var(--radius); }
  dialog#modal header { padding: .9rem 1rem; }
  dialog#modal #modal-body { padding: 1rem 1.1rem; }
  .motto::before { font-size: 4rem; }
  .motto-text { font-size: 1.15rem; }
}

/* Tap targets */
@media (hover: none) and (pointer: coarse) {
  .chip { padding: .6rem 1rem; }
  .tl-card, .char { min-height: 44px; }
  .btn { padding: .85rem 1.3rem; }
}
.take {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  position: relative;
  padding-left: 3.2rem;
}
.take::before {
  content: attr(data-n);
  position: absolute; left: 1.2rem; top: 1.3rem;
  font-family: var(--serif); font-style: italic;
  font-size: var(--step-3); color: var(--amber);
  line-height: 1;
}
.take h4 { font-family: var(--serif); font-size: var(--step-1); margin: 0 0 .5rem; }
.take p { color: var(--ink-dim); margin: 0; font-size: var(--step-0); }

/* Footer */
.site-foot {
  padding: 2.5rem 0 3rem;
  background: var(--paper-2);
  color: var(--ink-mute);
}
.site-foot p { margin: 0 0 .5rem; font-size: var(--step-00); max-width: 80ch; }
.site-foot .tiny { color: var(--ink-mute); letter-spacing: .08em; }
.sep { color: var(--amber); padding: 0 .4rem; }

.sig {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.25rem; padding: .5rem .85rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper-3);
  font-family: var(--serif); font-style: italic;
  color: var(--ink-dim); font-size: var(--step-00);
}
.sig-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  overflow: hidden; border: 1px solid var(--rule-2);
  background: #0b0b14;
  transition: transform .25s ease, border-color .2s;
  flex-shrink: 0;
}
.sig-mark:hover { transform: rotate(-6deg) scale(1.05); border-color: var(--amber); }
.sig-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sig-dot { color: var(--rule-2); }
.sig-glyph { display: inline-flex; align-items: center; font-style: normal; line-height: 1; }
.sig-glyph.moon svg { filter: drop-shadow(0 0 6px rgba(212,161,90,.35)); }
.sig-glyph.hamsa { font-size: 1.15rem; color: var(--amber); }
.sig-wink { color: var(--ink); letter-spacing: .02em; }
.sig-wink a { color: var(--amber); text-decoration: none; font-style: normal; font-weight: 600; }
.sig-wink a:hover { color: var(--amber-hot); text-decoration: underline; }

@media (max-width: 480px) {
  .sig { flex-wrap: wrap; row-gap: .35rem; padding: .5rem .7rem; }
}

/* Modal */
dialog#modal {
  border: none; padding: 0; background: transparent;
  max-width: min(640px, 92vw); width: 100%;
  color: var(--ink);
}
dialog#modal::backdrop {
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
dialog#modal article {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hi);
  overflow: hidden;
}
dialog#modal header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-3);
}
dialog#modal header h3 { margin: 0; font-family: var(--serif); font-size: var(--step-2); }
dialog#modal .close {
  background: transparent; border: 1px solid var(--rule-2);
  color: var(--ink-dim); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 1.2rem; line-height: 1;
}
dialog#modal .close:hover { color: var(--amber); border-color: var(--amber); }
dialog#modal #modal-body { padding: 1.3rem 1.5rem; }
dialog#modal #modal-body p { color: var(--ink-dim); }
dialog#modal #modal-body .meta {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin: 0 0 1rem; padding: 0; list-style: none;
}
dialog#modal #modal-body .meta li {
  font-size: var(--step-00); letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .6rem; border: 1px solid var(--rule-2); border-radius: 999px;
  color: var(--ink-dim);
}
dialog#modal #modal-body blockquote {
  font-family: var(--serif); font-style: italic; font-size: var(--step-1);
  border-left: 2px solid var(--amber); padding-left: 1rem; margin: 0 0 .5rem;
  color: var(--ink);
}
dialog#modal #modal-body cite { color: var(--amber); font-style: normal; font-size: var(--step-00); letter-spacing: .08em; text-transform: uppercase; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .tl-card, .char, .quote, .parallel, .take { opacity: 0; transform: translateY(12px); animation: rise .6s cubic-bezier(.2,.8,.2,1) forwards; }
  .tl-card:nth-child(1) { animation-delay: .05s; }
  .tl-card:nth-child(2) { animation-delay: .1s; }
  .tl-card:nth-child(3) { animation-delay: .15s; }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Print */
@media print {
  .site, .theme-toggle, .filters, .hero-cta, dialog { display: none !important; }
  body { background: #fff; color: #111; }
  .section { border-color: #ccc; padding: 1.5rem 0; }
  .tl-card, .card, .quote, .parallel, .take, .char, details.book { background: #fff; border-color: #ccc; box-shadow: none; }
}
