/* ========================================
   The World of Harthron — Bold Redesign
   ======================================== */

/* --- Custom Properties --- */
:root {
  --bg-deep: #08090c;
  --bg-main: #0e1015;
  --bg-raised: #14171e;
  --bg-card: #181c26;
  --bg-card-hover: #1e2330;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text: #c8cdd8;
  --text-muted: #7a8299;
  --text-dim: #4a5068;
  --text-bright: #eef0f6;
  --accent: #d4a24e;
  --accent-bright: #f0c060;
  --accent-dim: #8a6830;
  --accent-glow: rgba(212, 162, 78, 0.08);
  --red: #c44040;
  --red-soft: #d46060;
  --green: #4a9a6a;
  --blue: #5a8ab4;
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', 'Palatino Linotype', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --max-w: 1100px;
  --max-w-narrow: 760px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  font-size: 16px;
}

::selection {
  background: var(--accent);
  color: var(--bg-deep);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-bright);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; }

p { margin-bottom: 1.1em; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
a:hover { color: var(--accent-bright); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

strong { color: var(--text-bright); font-weight: 600; }

blockquote {
  border-left: 4px solid var(--accent);
  padding: 1.25em 1.75em;
  margin: 2em 0;
  background: var(--bg-raised);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
}

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* --- Layout --- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.wrap--narrow { max-width: var(--max-w-narrow); }

@media (max-width: 600px) {
  .wrap { padding: 0 1.25rem; }
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo:hover { color: var(--accent-bright); }
.fancy { font-family: var(--font-display); }

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

.nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: all 0.15s var(--ease);
  letter-spacing: 0.01em;
}
.nav a:hover { color: var(--text-bright); background: rgba(255,255,255,0.04); }
.nav a.active { color: var(--accent); }

/* Dropdowns */
.drop { position: relative; }
.drop > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 3.5px solid currentColor;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.5;
}
.drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 0.4rem;
  min-width: 170px;
  box-shadow: var(--shadow);
}
.drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Mobile */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.55rem 1rem; width: 100%; }
  .drop-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: transparent;
  }
  .drop:hover .drop-menu,
  .drop .drop-menu { display: block; }
}

/* --- Hero --- */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212,162,78,0.06) 0%, transparent 60%);
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--accent);
  margin-bottom: 1.5rem;
  line-height: 1.05;
  text-shadow: 0 0 80px rgba(212,162,78,0.15);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.btn-gold {
  background: var(--accent);
  color: var(--bg-deep);
}
.btn-gold:hover {
  background: var(--accent-bright);
  color: var(--bg-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,162,78,0.25);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  background: rgba(212,162,78,0.04);
}

/* --- Lore Block --- */
.lore {
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
}
.lore h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.lore p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.85;
}
.lore p + p { margin-top: 1rem; }

/* --- Section Label --- */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin: 4rem 0 2rem;
  font-weight: 700;
}

/* --- Cards --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s var(--ease);
  display: block;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card h3 {
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.card .meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.card .card-excerpt {
  margin-top: 0.85rem;
  line-height: 1.7;
}
.card-link { color: inherit; }
.card-link:hover { color: inherit; }
.card-link:focus-visible,
.region-card:focus-visible {
  color: inherit;
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

/* --- Region Cards --- */
.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s var(--ease);
  position: relative;
}
.region-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.region-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.region-card:hover::after { opacity: 1; }
.region-card h3 { color: var(--accent); margin-bottom: 0.5rem; }
.region-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* --- Page Header --- */
.page-head {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.page-head .crumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.page-head .crumb a { color: var(--text-muted); }
.page-head h1 { color: var(--accent); margin-bottom: 0.5rem; }
.page-head .lead { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* --- Page Content --- */
.content { padding-bottom: 4rem; }

.content h2 {
  color: var(--accent);
  margin: 3rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.content h3 { margin: 2rem 0 0.75rem; }

.content ul, .content ol {
  margin: 0.75em 0;
  padding-left: 1.5em;
}
.content li { margin-bottom: 0.35em; }

.map-figure {
  margin: 2.25rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-figure a {
  display: block;
}

.map-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-raised);
}

.map-caption {
  padding: 1rem 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.journal-post { padding-bottom: 4rem; }

.journal-kicker {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.post-meta span + span::before {
  content: '\2022';
  color: var(--accent-dim);
  margin-right: 0.75rem;
}

.content--article {
  font-size: 1.02rem;
}

.content--article p {
  color: var(--text);
}

.content--article a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.content--article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.content--article figure {
  margin: 2rem 0;
}

.content--article sup {
  font-size: 0.72em;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.post-nav-link {
  color: inherit;
}

.post-nav-link:hover,
.post-nav-link:focus-visible {
  color: inherit;
}

.post-nav-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

thead { background: var(--bg-raised); }

th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
td strong { color: var(--text-bright); }

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.015); }

/* Alignment colors */
.al-lg, .al-ng, .al-cg { color: var(--green); font-weight: 600; }
.al-ln, .al-n, .al-cn { color: var(--blue); font-weight: 600; }
.al-le, .al-ne, .al-ce { color: var(--red-soft); font-weight: 600; }

/* --- Character Cards --- */
.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
  transition: border-color 0.15s var(--ease);
}
.char-card:hover { border-color: var(--border-hover); }
.char-card h3 { color: var(--accent); margin-bottom: 0.3rem; }
.char-card .tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  background: rgba(212,162,78,0.08);
  border: 1px solid rgba(212,162,78,0.15);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.char-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.char-card p a {
  color: var(--accent);
  text-decoration: none;
}

.char-card p a:hover {
  color: var(--accent-bright);
}

/* --- Rule Blocks --- */
.rule {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent);
}
.rule h3 {
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

/* --- Calendar Months --- */
.month {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.month:last-child { border-bottom: none; }
.month-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}
.month-desc { color: var(--text-muted); font-size: 0.9rem; }
.month-season {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  white-space: nowrap;
}

.months-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .month {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding: 1rem 1.25rem;
  }
}

/* --- Moons Block --- */
.moons {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}
.moons::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.moons h2 { border: none; margin-top: 0; }
.moons p {
  max-width: 550px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* --- In Memoriam --- */
.memorial {
  padding: 6rem 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.memorial h1 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}
.memorial .years {
  font-family: var(--font-heading);
  color: var(--text-dim);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}
.memorial .tribute {
  max-width: 550px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.9;
}
.memorial .tribute p + p { margin-top: 1.25rem; }
.memorial .ornament {
  color: var(--accent-dim);
  font-size: 1.5rem;
  margin: 2.5rem 0;
  letter-spacing: 0.5em;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-copy a {
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer-copy a:hover { color: var(--accent); }
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { font-size: 0.8rem; color: var(--text-muted); }

/* --- Utilities --- */
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

/* --- Animation --- */
.fade-in { animation: fadeUp 0.35s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* --- Annotated Chronicle (Campaign Log) --- */
.wrap--wide { max-width: 1100px; }

.chronicle-intro {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.chronicle-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
}
.chronicle-toc h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.chronicle-toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}
.chronicle-toc li {
  counter-increment: toc;
  margin-bottom: 0.4rem;
}
.chronicle-toc li::before {
  content: counter(toc, upper-roman) '. ';
  color: var(--accent-dim);
  font-family: var(--font-heading);
  font-size: 0.85rem;
}
.chronicle-toc a {
  font-size: 0.95rem;
}

/* Annotated two-column layout */
.annotated-section {
  position: relative;
  margin-bottom: 4rem;
}

.annotated-section > h2 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-align: center;
  margin-bottom: 0.5rem;
  border: none;
  padding-bottom: 0;
}

.chapter-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
}

.annotated-body {
  display: grid;
  grid-template-columns: 1fr clamp(160px, 22vw, 280px);
  gap: clamp(1rem, 2.5vw, 3rem);
  align-items: start;
}

.annotated-body > * { min-width: 0; }

/* Story prose column — serif, literary */
.story-prose {
  font-family: 'Palatino Linotype', 'Palatino', 'Georgia', serif;
  font-size: 1.08rem;
  line-height: 2;
  color: var(--text);
}

.story-prose p {
  margin-bottom: 1.4em;
  text-indent: 1.5em;
}

.story-prose p:first-child,
.story-prose h3 + p {
  text-indent: 0;
}

.story-prose p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.8;
  margin: 0.05em 0.12em 0 0;
  color: var(--accent);
}

.story-prose h3 {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.15rem;
  margin: 2.5rem 0 1rem;
  font-style: italic;
}

/* Annotations column — marginal notes */
.annotations {
  position: sticky;
  top: 80px;
}

.annotation {
  background: var(--bg-card);
  border-left: 2px solid var(--accent-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.annotation-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--accent-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.annotation em {
  color: var(--text);
  font-style: normal;
}

/* Inline annotation markers in story text */
.story-prose .note-ref {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--accent-dim);
  vertical-align: super;
  margin-left: 2px;
  font-style: normal;
  font-weight: 600;
}

/* Chapter dividers */
.chapter-divider {
  text-align: center;
  margin: 3.5rem 0;
  color: var(--accent-dim);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
}

/* Responsive: stack on mobile */
@media (max-width: 550px) {
  .annotated-body {
    grid-template-columns: 1fr;
  }
  .annotations {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
  }
}

/* --- Atlas Page --- */
.atlas-map {
  margin: 0 0 3rem;
}

.atlas-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* --- Campaign Log Landing --- */
.campaign-arc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.2s var(--ease);
}
.campaign-arc:hover { border-color: var(--border-hover); }

.campaign-arc h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.campaign-arc .arc-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.campaign-arc .arc-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  font-family: 'Palatino Linotype', 'Palatino', 'Georgia', serif;
  font-style: italic;
}

.campaign-arc .btn {
  margin-top: 1.5rem;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .menu-btn, .annotations { display: none; }
  body { background: #fff; color: #222; }
  .annotated-body { grid-template-columns: 1fr; }
  .story-prose { font-size: 11pt; }
}
