:root {
  --ink: #101214;
  --ink-soft: #191c1f;
  --paper: #eee8dc;
  --paper-bright: #f8f4eb;
  --paper-muted: #c9c0b1;
  --vermillion: #d74a34;
  --vermillion-dark: #9d2f22;
  --gold: #c9a96e;
  --teal: #74b9b1;
  --line: rgba(238, 232, 220, 0.14);
  --line-dark: rgba(16, 18, 20, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 1.25rem;
  --max: 1200px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(215, 74, 52, 0.08), transparent 25rem),
    radial-gradient(circle at 85% 45%, rgba(116, 185, 177, 0.05), transparent 28rem),
    var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.35;
  pointer-events: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

::selection {
  background: var(--vermillion);
  color: #fff;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--paper-bright);
  color: var(--ink);
  padding: 0.65rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 800px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(16, 18, 20, 0.92), rgba(16, 18, 20, 0));
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(16, 18, 20, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  aspect-ratio: 1;
  place-items: center;
  transform: rotate(-5deg);
  border: 2px solid #ef7a62;
  border-radius: 48% 42% 46% 44%;
  background: var(--vermillion-dark);
  box-shadow: inset 0 0 0 3px rgba(16, 18, 20, 0.3);
  color: #fff4e3;
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.brand-text small {
  display: block;
  margin-top: 0.3rem;
  color: var(--paper-muted);
  font-size: 0.52rem;
  font-weight: 650;
  letter-spacing: 0.17em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  position: relative;
  border-radius: 999px;
  color: var(--paper-muted);
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.site-nav a::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.42rem;
  left: 0.8rem;
  height: 2px;
  transform: scaleX(0);
  background: var(--vermillion);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--paper-bright);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button span {
  margin-block: 0.25rem;
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.display {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8.8vw, 8.3rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.display em {
  display: block;
  color: var(--vermillion);
  font-weight: inherit;
}

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 42%;
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero-art::before {
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(16, 18, 20, 0.62) 24%, transparent 62%),
    linear-gradient(0deg, var(--ink) 0%, transparent 40%);
}

.hero-art::after {
  background: radial-gradient(circle at 70% 35%, transparent 0, rgba(16, 18, 20, 0.1) 44%, rgba(16, 18, 20, 0.6) 100%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(0.72) contrast(1.06);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 850px;
  align-items: center;
  padding-top: 7rem;
}

.hero-copy {
  width: min(650px, 64%);
  padding-block: 4rem 8rem;
}

.hero-kicker {
  margin: 1.65rem 0 0;
  color: var(--paper-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--vermillion);
  box-shadow: 0 12px 34px rgba(215, 74, 52, 0.2);
  color: #fff;
}

.button-primary:hover {
  background: #e45c45;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: rgba(238, 232, 220, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button .arrow {
  font-size: 1.15em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 2.5rem;
  color: var(--paper-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta span::before {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 2.5rem;
  left: max(1rem, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper-muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-cue::before {
  width: 2.5rem;
  height: 1px;
  background: var(--paper-muted);
  content: "";
}

.section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-paper .eyebrow {
  color: var(--vermillion-dark);
}

.section-paper .muted {
  color: #68625b;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.3vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-lead {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.section-paper .section-lead {
  color: #625d56;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.feature-visual {
  position: relative;
}

.feature-visual::before {
  position: absolute;
  z-index: 0;
  inset: -1.1rem 1.1rem 1.1rem -1.1rem;
  border: 1px solid rgba(215, 74, 52, 0.35);
  content: "";
}

.feature-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-copy h2,
.feature-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.feature-copy p {
  color: #5c5750;
  font-size: 1.04rem;
}

.quote {
  margin: 2rem 0;
  border-left: 3px solid var(--vermillion);
  padding-left: 1.25rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.4;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--line-dark);
}

.stat {
  background: var(--paper);
  padding: 1.25rem 1rem;
}

.stat strong {
  display: block;
  color: var(--vermillion-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: #6c655d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ink-card {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
  padding: 1.5rem;
}

.ink-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  transform: rotate(20deg);
  border: 1px solid rgba(215, 74, 52, 0.22);
  border-radius: 47%;
  content: "";
}

.ink-card .number {
  color: var(--vermillion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.ink-card h3 {
  margin: 4rem 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
}

.ink-card p {
  margin: 0;
  color: var(--paper-muted);
}

.platform-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding-block: 1.1rem;
  color: rgba(238, 232, 220, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.marquee span::after {
  margin-left: 2.5rem;
  color: var(--vermillion);
  content: "✦";
  font-size: 0.7em;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 600px;
  align-items: end;
  overflow: hidden;
  padding: 9rem 0 5rem;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.98), rgba(16, 18, 20, 0.66) 58%, rgba(16, 18, 20, 0.25)),
    linear-gradient(0deg, var(--ink), transparent 55%);
  content: "";
}

.page-hero-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.08);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--paper-muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.crumbs a:hover {
  color: var(--paper);
}

.crumbs span::before {
  margin-right: 0.45rem;
  content: "/";
  opacity: 0.45;
}

.chapter-list {
  border-top: 1px solid var(--line-dark);
}

.chapter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  padding-block: 1.35rem;
}

.chapter-live {
  margin-inline: -0.75rem;
  border-radius: 0.8rem;
  padding-inline: 0.75rem;
  transition: background 180ms ease, transform 180ms ease;
}

.chapter-live:hover {
  transform: translateX(0.35rem);
  background: rgba(215, 74, 52, 0.07);
}

.chapter-live .status {
  border-color: var(--vermillion-dark);
  background: var(--vermillion-dark);
  color: #fff;
}

.chapter-number {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--vermillion-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.chapter h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.chapter p {
  margin: 0.2rem 0 0;
  color: #6f685f;
  font-size: 0.84rem;
}

.status {
  border: 1px solid rgba(157, 47, 34, 0.25);
  border-radius: 999px;
  background: rgba(215, 74, 52, 0.08);
  color: var(--vermillion-dark);
  padding: 0.4rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 500ms cubic-bezier(.2,.8,.2,1), filter 300ms ease;
}

.portrait-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(16, 18, 20, 0.96));
  content: "";
}

.portrait-card:hover img {
  transform: scale(1.035);
  filter: saturate(1);
}

.portrait-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
}

.portrait-copy small {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portrait-copy h3 {
  margin: 0.2rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.portrait-copy p {
  margin: 0.4rem 0 0;
  color: var(--paper-muted);
  font-size: 0.86rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--paper-muted);
  padding: 0.65rem 1rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  border-color: var(--vermillion);
  background: var(--vermillion);
  color: #fff;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.character-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--ink-soft);
  transition: transform 220ms ease, border-color 220ms ease;
}

.character-card[hidden] {
  display: none;
}

.character-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 74, 52, 0.58);
}

.character-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.76);
  transition: filter 180ms ease, transform 300ms ease;
}

.character-card:hover img {
  transform: scale(1.02);
  filter: saturate(1);
}

.character-card-body {
  padding: 1.05rem;
}

.character-card small {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.character-card h2 {
  margin: 0.25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.character-card p {
  min-height: 3.5em;
  margin: 0.45rem 0 1rem;
  color: var(--paper-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  padding: 0;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
}

.text-button::after {
  content: "→";
}

.text-button:hover {
  color: var(--vermillion);
}

.character-dialog {
  width: min(calc(100% - 2rem), 720px);
  max-height: min(88vh, 800px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
  color: var(--paper);
  padding: 0;
}

.character-dialog::backdrop {
  background: rgba(6, 7, 8, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
}

.dialog-image {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.dialog-copy {
  position: relative;
  padding: 2.2rem;
}

.dialog-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
  cursor: pointer;
}

.dialog-copy h2 {
  margin: 0.25rem 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 500;
}

.dialog-copy p {
  color: var(--paper-muted);
}

.dialog-facts {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.dialog-facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.dialog-facts dt {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dialog-facts dd {
  margin: 0.15rem 0 0;
}

.world-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.world-map img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.7) contrast(1.08);
}

.world-map figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 18, 20, 0.75);
  backdrop-filter: blur(8px);
  color: var(--paper-muted);
  padding: 0.45rem 0.75rem;
  font-size: 0.68rem;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.state-card {
  min-height: 19rem;
  border-top: 4px solid var(--state-color, var(--gold));
  background: var(--paper-bright);
  padding: 1.2rem;
}

.state-card small {
  color: #756e64;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.state-card h3 {
  margin: 1.8rem 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.state-card p {
  margin: 0;
  color: #625d56;
  font-size: 0.86rem;
}

.state-card strong {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.72rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7.25rem;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2.5rem;
  padding-block: 1.5rem;
}

.timeline-year {
  color: var(--vermillion);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: right;
}

.timeline-copy {
  position: relative;
}

.timeline-copy::before {
  position: absolute;
  top: 0.55rem;
  left: -2.84rem;
  width: 0.68rem;
  height: 0.68rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
  content: "";
}

.timeline-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.timeline-copy p {
  margin: 0.4rem 0 0;
  color: var(--paper-muted);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
}

.term {
  background: var(--paper);
  padding: 1.25rem;
}

.term dt {
  color: var(--vermillion-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.term dd {
  margin: 0.35rem 0 0;
  color: #625d56;
  font-size: 0.9rem;
}

.prose {
  color: var(--paper-muted);
  font-size: 1.03rem;
}

.prose h2,
.prose h3 {
  margin: 2.5rem 0 0.75rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
}

.prose h2 { font-size: 2.2rem; }
.prose h3 { font-size: 1.45rem; }

.prose a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--vermillion);
  text-underline-offset: 0.2em;
}

.prose ul {
  padding-left: 1.25rem;
}

.notice {
  margin-block: 2rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--vermillion);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 20%, rgba(215, 74, 52, 0.22), transparent 22rem),
    var(--ink-soft);
  padding: clamp(2rem, 5vw, 4.5rem);
}

.cta-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.cta-panel p {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--paper-muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

.footer-about {
  max-width: 400px;
  margin-top: 1rem;
  color: var(--paper-muted);
  font-size: 0.86rem;
}

.footer-heading {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--paper-muted);
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  color: #77746e;
  font-size: 0.72rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-art { left: 30%; }
  .hero-copy { width: min(650px, 78%); }
  .character-grid { grid-template-columns: repeat(3, 1fr); }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .state-card:last-child { grid-column: span 2; }
}

@media (max-width: 800px) {
  .menu-button { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 18, 20, 0.97);
    opacity: 0;
    padding-inline: 1rem;
    transition: max-height 240ms ease, opacity 160ms ease, padding 240ms ease;
  }
  .site-nav.is-open {
    max-height: 28rem;
    opacity: 1;
    padding-block: 0.8rem 1rem;
  }
  .site-nav a { padding: 0.85rem 0.5rem; }
  .site-nav a::after { right: auto; left: 0.5rem; width: 2rem; }
  .hero { min-height: 780px; }
  .hero-inner { min-height: 780px; }
  .hero-art { inset: 0; opacity: 0.72; }
  .hero-art::before {
    background:
      linear-gradient(90deg, rgba(16, 18, 20, 0.94), rgba(16, 18, 20, 0.4)),
      linear-gradient(0deg, var(--ink) 0%, transparent 60%);
  }
  .hero-copy { width: min(620px, 92%); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }
  .card-grid,
  .trio-grid { grid-template-columns: 1fr; }
  .portrait-card,
  .portrait-card img { min-height: 27rem; }
  .portrait-card img { object-position: center 25%; }
  .character-grid { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}

@media (max-width: 560px) {
  .container,
  .narrow { width: min(calc(100% - 1.25rem), var(--max)); }
  .nav-wrap { min-height: 4.7rem; }
  .brand-mark { width: 2.35rem; }
  .brand-text { font-size: 0.84rem; }
  .hero,
  .hero-inner { min-height: 720px; }
  .hero-inner { padding-top: 5rem; }
  .hero-copy { width: 100%; padding-bottom: 7rem; }
  .display { font-size: clamp(3.25rem, 17vw, 5.3rem); }
  .hero-kicker { font-size: 1.05rem; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 0.45rem 0.8rem; }
  .scroll-cue { bottom: 1.5rem; }
  .section-head { display: block; }
  .section { padding-block: 4.5rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 0.75rem; }
  .stat span { margin-top: 0; }
  .page-hero { min-height: 520px; padding-bottom: 3rem; }
  .page-hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .chapter { grid-template-columns: auto 1fr; }
  .chapter .status { grid-column: 2; justify-self: start; }
  .character-grid { grid-template-columns: 1fr; }
  .character-card { display: grid; grid-template-columns: 8.5rem 1fr; }
  .character-card img { height: 100%; aspect-ratio: auto; }
  .character-card p { min-height: 0; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-image { height: 240px; min-height: 0; object-position: center 22%; }
  .dialog-copy { padding: 1.5rem; }
  .states-grid { grid-template-columns: 1fr; }
  .state-card:last-child { grid-column: auto; }
  .timeline::before { left: 4.75rem; }
  .timeline-item { grid-template-columns: 3.7rem 1fr; gap: 2rem; }
  .timeline-copy::before { left: -2.34rem; }
  .glossary-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
