/* ── CaughtUp · static guide pages (zero-JS, crawlable) ───────────────
   Design v6 "Spotlight" — tokens mirror css/style.css. Display font
   Bricolage Grotesque (SIL OFL, self-hosted — GDPR), easings Open Props (MIT). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #0d0b12; --surface: #161320; --surface-2: #1e1a2b;
  --text: #f0ecf4; --muted: #9a93a8; --line: #2a2438;
  --accent: #f0a738; --accent-ink: #221503;
  --atmos-1: #3a4a66; --atmos-2: #2a3a55; --atmos-3: #1f2c44;
  --ease-out-4: cubic-bezier(0, 0, 0.1, 1);
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f3ec; --surface: #fffdf8; --surface-2: #efe9dd;
    --text: #201b16; --muted: #6e6557; --line: #ddd4c4;
    --accent: #b3700e; --accent-ink: #fffdf8;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background:
    radial-gradient(60% 38% at 12% 0%, color-mix(in srgb, var(--atmos-1) 26%, transparent), transparent 70%),
    radial-gradient(55% 34% at 95% 4%, color-mix(in srgb, var(--atmos-2) 20%, transparent), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 1.6rem 1.2rem 3rem; }

/* thread underline draw — links feel like web threads being spun */
a {
  color: var(--accent); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
  transition: background-size 0.3s var(--ease-out-4);
}
a:hover { background-size: 100% 1px; }

.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs span { color: var(--muted); }

h1 {
  font-family: var(--font-display); font-size: 1.65rem; font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.22;
}
h2 {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin: 1.8rem 0 0.5rem;
}

.hero { display: flex; gap: 1.1rem; align-items: center; margin-bottom: 1rem; }
.portrait {
  width: 92px; height: auto; border-radius: 14px; flex-shrink: 0;
  background: var(--surface-2);
}
.kicker { color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }

.answer { font-size: 1.02rem; margin-top: 0.8rem; }
.mut, .tie { color: var(--muted); font-size: 0.88rem; }

.cast, .ties, .rel, .series { list-style: none; }
.cast li, .ties li, .rel li, .series li {
  padding: 0.5rem 0.1rem; font-size: 0.95rem;
}
.series li { display: flex; align-items: center; gap: 0.8rem; padding: 0.65rem 0.1rem; }
.series img { width: 44px; height: auto; border-radius: 8px; }

.cta {
  margin-top: 1.6rem; padding: 0.9rem 1rem; font-size: 0.95rem;
  background: var(--surface);
  border-radius: 12px 12px 12px 2px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  border-left: 3px solid var(--accent);
}

.foot {
  margin-top: 3rem;
  font-size: 0.84rem; color: var(--muted);
}
.foot .src { margin-top: 0.5rem; font-size: 0.76rem; }
