/* ============================================================
   The Odyssey 2026 — Master Working Document v0.5
   Design system stylesheet
   ============================================================ */

/* -------- Reset / base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--paper);
  font-family: "Spectral", Georgia, "Iowan Old Style", serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--torch); border-color: var(--torch); }
hr { border: 0; border-top: 1px solid var(--line-dark); margin: 32px 0; }

/* -------- Tokens --------------------------------------------- */
:root {
  /* Foundation — sea-night palette pulled from the generated plates.
     Hues 195-215 = teal / sea-blue; no warm brown undertones. */
  --ink-deep:    oklch(0.10 0.028 215);   /* near-black, teal undertone */
  --ink:         oklch(0.15 0.032 210);   /* dark sea-night */
  --ink-soft:    oklch(0.22 0.038 205);   /* dark teal card surface */
  --ink-warm:    oklch(0.28 0.045 200);   /* warmer dark teal */
  --paper:       oklch(0.92 0.010 200);   /* cool bone / salt linen */
  --paper-2:     oklch(0.95 0.008 200);   /* lighter bone */
  --linen:       oklch(0.85 0.014 200);   /* salt stone */
  --stone:       oklch(0.60 0.014 200);   /* cool mid gray */
  --shade:       oklch(0.40 0.020 205);   /* muted body, light bg */
  --shade-dim:   oklch(0.72 0.020 200);   /* muted body, dark bg */

  /* Accents — gold and wine stay; sea-greens deepen */
  --torch:       oklch(0.78 0.13 72);
  --torch-deep:  oklch(0.62 0.14 65);
  --wine:        oklch(0.44 0.14 25);
  --wine-bright: oklch(0.58 0.17 28);
  --sea:         oklch(0.48 0.08 200);
  --sea-deep:    oklch(0.32 0.06 205);
  --ember:       oklch(0.66 0.17 45);
  --moss:        oklch(0.48 0.07 160);   /* sage / cliff green */
  /* Eyebrow / label gold — softer & less orange than torch */
  --gold:        oklch(0.84 0.080 90);   /* antique champagne gold, dark bg */
  --gold-deep:   oklch(0.60 0.095 84);   /* deeper gold, light bg */

  /* Lines */
  --line-dark:   oklch(0.32 0.030 205);
  --line-light:  oklch(0.78 0.018 200);

  /* Typography */
  --ff-display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --ff-body:    "Spectral", Georgia, serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-display-xl: clamp(56px, 9vw, 132px);
  --fs-display-l:  clamp(42px, 5.6vw, 84px);
  --fs-display:    clamp(32px, 4vw, 56px);
  --fs-h2:         clamp(26px, 3.3vw, 42px);
  --fs-h3:         clamp(20px, 2.0vw, 26px);
  --fs-h4:         18px;
  --fs-lead:       clamp(18px, 1.35vw, 21px);
  --fs-body:       16.5px;
  --fs-small:      14px;
  --fs-kicker:     11.5px;
  --fs-table:      14px;

  /* Rhythm */
  --pad-x:   clamp(28px, 5vw, 96px);
  --pad-y:   clamp(72px, 9vw, 132px);
  --pad-y-s: clamp(56px, 6vw, 88px);
  --gap:     clamp(20px, 1.6vw, 28px);
  --max:     1340px;
  --max-narrow: 920px;

  --shadow-dark:  0 24px 64px -16px rgba(0,0,0,.65), 0 2px 6px rgba(0,0,0,.35);
  --shadow-light: 0 24px 56px -20px rgba(40,30,18,.18), 0 2px 4px rgba(40,30,18,.06);
}

/* -------- Type utilities ------------------------------------- */
.kicker {
  font-family: var(--ff-display);
  font-size: 16px;
  font-variant: all-small-caps;
  letter-spacing: 0.13em;
  text-transform: none;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 16px;
  display: inline-block;
}
.kicker.bare { color: var(--shade); }
.dark .kicker { color: var(--gold); }
.dark .kicker.bare { color: var(--shade-dim); }
.light .kicker, .light.warm .kicker { color: var(--gold-deep); }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  text-wrap: balance;
  line-height: 1.06;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.18; }
h4 { font-size: var(--fs-h4); line-height: 1.3; margin: 22px 0 8px; font-weight: 600; letter-spacing: 0; }

.display-xl { font-size: var(--fs-display-xl); line-height: 0.95; letter-spacing: -0.015em; }
.display-l  { font-size: var(--fs-display-l);  line-height: 1.0;  letter-spacing: -0.01em;  }
.display    { font-size: var(--fs-display);    line-height: 1.02; }

.italic { font-style: italic; }
em.oracle { font-style: italic; color: var(--torch); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 64ch;
  color: var(--paper);
  text-wrap: pretty;
  margin: 0 0 24px;
}
.dark .lead { color: var(--paper); }
.light .lead { color: var(--ink); }

p { margin: 0 0 16px; text-wrap: pretty; }
strong { font-weight: 600; }

.mono { font-family: var(--ff-mono); font-size: var(--fs-small); letter-spacing: 0.02em; }
.small { font-size: var(--fs-small); color: var(--shade); }
.dark .small { color: var(--shade-dim); }

.meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}
.dark .meta { color: var(--shade-dim); }

/* -------- Section foundations -------------------------------- */
section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
}
section.dark  { background: var(--ink); color: var(--paper); }
section.deep  { background: var(--ink-deep); color: var(--paper); }
section.light { background: var(--paper); color: var(--ink); }
section.light.warm { background: var(--paper-2); }
.dark, .deep { color: var(--paper); }
.light { color: var(--ink); }

.meta-divider {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 86px);
  border-top: 1px solid rgba(216,162,90,.24);
  border-bottom: 1px solid rgba(216,162,90,.16);
}
.meta-divider .lead {
  max-width: 76ch;
  color: var(--shade-dim);
}
.light.meta-divider .lead { color: var(--shade); }

.inner { max-width: var(--max); margin: 0 auto; }
.inner.narrow { max-width: var(--max-narrow); }

/* Section header — kicker + title cluster */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sec-head .sec-meta { padding-top: 6px; }
.sec-head .sec-meta .kicker { margin-bottom: 12px; display: block; }
.sec-head .sec-meta .sec-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--shade-dim);
}
.dark .sec-head .sec-meta .sec-num { color: var(--shade-dim); }
.light .sec-head .sec-meta .sec-num { color: var(--stone); }
.sec-head h2 { margin-bottom: 0; }
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
}

/* -------- Cover ---------------------------------------------- */
.cover {
  position: relative;
  min-height: 100vh;
  padding: clamp(40px, 6vw, 80px) var(--pad-x);
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--paper);
  background:
    linear-gradient(180deg,
      rgba(8,10,12,.62) 0%,
      rgba(8,10,12,.35) 35%,
      rgba(8,10,12,.55) 70%,
      rgba(8,10,12,.92) 100%),
    url("assets/source/generated/odyssey-visual-direction/06-dawn-cove-ship-arrival.png") center 42% / cover no-repeat;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 30% 50%, transparent 0%, rgba(8,10,12,.4) 100%);
}
.cover > * { position: relative; z-index: 1; }
.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.cover-top .mark {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cover-top .meta { color: rgba(245,235,215,.7); }
.cover-mid {
  align-self: end;
  max-width: 22ch;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.cover-mid .pre {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--gold);
  margin: 0 0 24px;
  max-width: 24ch;
}
.cover-mid h1 {
  font-size: var(--fs-display-xl);
  line-height: 0.92;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
}
.cover-mid h1 .sub {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(20px, 2.0vw, 30px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 28px;
  font-family: var(--ff-mono);
}
.cover-bot {
  border-top: 1px solid rgba(245,235,215,.18);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}
.cover-bot dt {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.cover-bot dd {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 19px;
  line-height: 1.25;
  color: var(--paper);
}
@media (max-width: 800px) {
  .cover-bot { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* -------- Cards ---------------------------------------------- */
.card {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  padding: clamp(20px, 1.6vw, 28px);
  border-radius: 2px;
}
.card.flat { background: transparent; box-shadow: none; }
.light .card { background: var(--paper-2); border-color: var(--line-light); box-shadow: var(--shadow-light); }
.light .card.flat { background: transparent; border-color: var(--line-light); box-shadow: none; }
.card h3 { margin-bottom: 12px; }
.card h4 { margin-top: 0; color: var(--torch); }
.light .card h4 { color: var(--wine); }

/* Callouts */
.callout {
  background: linear-gradient(180deg, rgba(216,162,90,.06), transparent);
  border-left: 3px solid var(--torch);
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 17px;
  line-height: 1.55;
}
.callout strong { color: var(--torch); font-weight: 600; letter-spacing: 0.01em; }
.light .callout { background: linear-gradient(180deg, rgba(216,162,90,.12), transparent); }
.light .callout strong { color: var(--wine); }

.callout.wine { border-left-color: var(--wine-bright); background: linear-gradient(180deg, rgba(160,52,52,.10), transparent); }
.callout.wine strong { color: var(--wine-bright); }
.light .callout.wine { background: linear-gradient(180deg, rgba(160,52,52,.08), transparent); }
.light .callout.wine strong { color: var(--wine); }

.callout.sea { border-left-color: var(--sea); }
.light .callout.sea { background: linear-gradient(180deg, rgba(60,110,130,.10), transparent); }

.note {
  background: rgba(245,235,215,.04);
  border-left: 2px solid var(--stone);
  padding: 16px 22px;
  margin: 22px 0;
  font-size: 15px;
  color: var(--paper);
}
.light .note { background: rgba(40,30,18,.04); color: var(--shade); border-left-color: var(--stone); }

.oracle-line {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.18;
  color: var(--torch);
  max-width: 28ch;
  margin: 0;
  letter-spacing: -0.005em;
}

/* -------- Grids ---------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-7-5 { grid-template-columns: 7fr 5fr; }
.grid-5-7 { grid-template-columns: 5fr 7fr; }
.grid-3-9 { grid-template-columns: 3fr 9fr; }
@media (max-width: 1000px) {
  .grid-3, .grid-4, .grid-7-5, .grid-5-7, .grid-3-9 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* -------- Tables --------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-table);
  margin: 18px 0 0;
  font-family: var(--ff-body);
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-dark);
}
th {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--torch);
  border-bottom: 1px solid var(--torch-deep);
  padding-top: 0;
}
.light table th { color: var(--wine); border-bottom-color: var(--wine); }
.light table td { border-bottom-color: var(--line-light); color: var(--ink); }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--paper); }
.light td strong { color: var(--ink); }

table.tight th, table.tight td { padding: 10px 12px; font-size: 13.5px; }

.table-wrap {
  margin: 28px 0;
  overflow-x: auto;
}
.table-wrap.framed {
  border: 1px solid var(--line-dark);
  padding: 24px 28px 12px;
  background: rgba(245,235,215,.02);
}
.light .table-wrap.framed { border-color: var(--line-light); background: rgba(40,30,18,.02); }

/* score chips */
.score { font-family: var(--ff-mono); font-weight: 500; letter-spacing: 0.02em; font-size: 12px; padding: 3px 8px; border-radius: 2px; display: inline-block; }
.score.high { background: rgba(216,162,90,.18); color: var(--torch); }
.score.risk { background: rgba(160,52,52,.20); color: var(--wine-bright); }
.score.mid  { background: rgba(120,120,110,.16); color: var(--stone); }
.light .score.high { background: rgba(180,120,40,.16); color: var(--wine); }
.light .score.risk { background: rgba(160,52,52,.12); color: var(--wine); }

/* -------- Image breaks --------------------------------------- */
.image-break {
  position: relative;
  min-height: clamp(440px, 60vw, 720px);
  display: grid;
  align-items: end;
  padding: 0;
  color: var(--paper);
  overflow: hidden;
}
.image-break .ib-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.image-break::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8,10,12,.20) 0%,
    rgba(8,10,12,.10) 35%,
    rgba(8,10,12,.55) 75%,
    rgba(8,10,12,.92) 100%);
  z-index: 1;
}
.image-break .ib-inner {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 96px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.image-break .ib-inner h2 {
  font-size: var(--fs-display-l);
  line-height: 0.98;
  font-style: italic;
  font-weight: 400;
  max-width: 18ch;
  margin-bottom: 18px;
}
.image-break .ib-inner .lead { color: rgba(240,225,200,.92); max-width: 56ch; }
.image-break .credit {
  position: absolute;
  bottom: 18px;
  right: var(--pad-x);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,225,200,.55);
  z-index: 2;
}

/* -------- Visual cards & figures ----------------------------- */
.fig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.vcard {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.light .vcard { background: var(--paper-2); border-color: var(--line-light); }
.vcard img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.vcard .v-body { padding: 18px 20px 20px; }
.vcard .v-tag {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--torch);
  margin: 0 0 10px;
}
.vcard h4 { margin: 0 0 8px; color: var(--paper); font-family: var(--ff-display); font-weight: 500; font-size: 19px; }
.light .vcard h4 { color: var(--ink); }
.vcard p { font-size: 13.5px; line-height: 1.55; margin: 0; color: var(--shade-dim); }
.light .vcard p { color: var(--shade); }

.fig-pair {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: stretch;
  margin: 32px 0;
}
@media (max-width: 1000px) { .fig-pair { grid-template-columns: 1fr; } }
.fig-pair figure { margin: 0; height: 100%; min-height: 380px; }
.fig-pair figure img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }

/* -------- Sticky nav ----------------------------------------- */
.snav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  background: rgba(14,16,18,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245,235,215,.10);
  border-radius: 2px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.snav .nav-group {
  display: block;
  margin: 16px 0 5px;
  font-family: var(--ff-mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216,162,90,.70);
}
.snav .nav-group:first-child { margin-top: 0; }
.snav a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,235,215,.55);
  border: 0;
  padding: 4px 6px;
  transition: color 120ms;
}
.snav a:hover { color: var(--torch); }
.snav a .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245,235,215,.20);
  flex: 0 0 6px;
  transition: background 200ms, transform 200ms;
}
.snav a.active { color: var(--torch); }
.snav a.active .dot { background: var(--torch); transform: scale(1.6); }
.snav a .num {
  font-size: 9.5px;
  opacity: 0.5;
  letter-spacing: 0.1em;
  min-width: 16px;
}
@media (max-width: 1100px) { .snav { display: none; } }
/* Reserve a left gutter for the fixed nav so it never sits over text.
   Full-bleed photo backgrounds (.image-break .ib-bg, .cover) stay edge-to-edge;
   only the readable columns are pushed clear of the rail. */
@media (min-width: 1101px) {
  section:not(.image-break) > .inner { padding-left: 236px; }
  .image-break .ib-inner { padding-left: 236px; }
}
@media (min-width: 1101px) and (max-width: 1320px) {
  section:not(.image-break) > .inner { padding-left: 224px; }
  .image-break .ib-inner { padding-left: 224px; }
}

/* -------- Route detail / map -------------------------------- */
.route-detail {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  margin: 28px 0;
  overflow: hidden;
}
.light .route-detail { background: var(--paper-2); border-color: var(--line-light); }
.route-detail .rd-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-dark);
}
.light .route-detail .rd-head { border-bottom-color: var(--line-light); }
.route-detail .rd-head h3 { margin-bottom: 6px; font-size: 24px; }
.route-detail .rd-judgement {
  font-family: var(--ff-body);
  font-style: italic;
  color: var(--torch);
  font-size: 15px;
  margin: 0;
}
.light .route-detail .rd-judgement { color: var(--wine); }
.route-detail .rd-map { height: 360px; background: var(--ink-deep); }
.route-detail .rd-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.4) brightness(0.85) contrast(1.05); }
.route-detail .rd-body { padding: 24px 28px; }
.route-detail .rd-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.route-detail .rd-cols p { margin: 0; font-size: 15px; line-height: 1.55; }
.route-detail .rd-cols strong { color: var(--torch); font-weight: 600; }
.light .route-detail .rd-cols strong { color: var(--wine); }
@media (max-width: 720px) { .route-detail .rd-cols { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--torch);
  border: 1px solid var(--torch-deep);
  border-bottom: 1px solid var(--torch-deep);
  border-radius: 2px;
  cursor: pointer;
  transition: background 120ms, color 120ms;
}
.btn:hover { background: var(--torch); color: var(--ink-deep); border-color: var(--torch); }
.light .btn { color: var(--wine); border-color: var(--wine); }
.light .btn:hover { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.btn .arrow { font-size: 14px; }

/* -------- Route comparison toggle ---------------------------- */
.route-toggle {
  display: inline-flex;
  border: 1px solid var(--line-dark);
  padding: 4px;
  background: var(--ink-soft);
  border-radius: 2px;
  margin-bottom: 28px;
}
.light .route-toggle { background: var(--paper-2); border-color: var(--line-light); }
.route-toggle button {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  border: 0;
  color: var(--shade-dim);
  cursor: pointer;
  border-radius: 1px;
  transition: background 160ms, color 160ms;
}
.light .route-toggle button { color: var(--shade); }
.route-toggle button.active { background: var(--torch); color: var(--ink-deep); }
.light .route-toggle button.active { background: var(--wine); color: var(--paper); }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  padding: 28px 32px;
  transition: opacity 240ms, transform 240ms;
}
.light .compare-col { background: var(--paper-2); border-color: var(--line-light); }
.compare-col.dimmed { opacity: 0.45; }
.compare-col.dimmed .compare-stat { color: var(--stone); }
.compare-col h3 {
  font-size: 28px;
  margin-bottom: 4px;
}
.compare-col .compare-tag {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--torch);
}
.light .compare-col .compare-tag { color: var(--wine); }
.compare-col .compare-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  border-top: 1px solid var(--line-dark);
  padding-top: 18px;
  margin-top: 18px;
}
.light .compare-col .compare-stats { border-top-color: var(--line-light); }
.compare-col .compare-stats > div .label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shade-dim);
  margin-bottom: 4px;
}
.light .compare-col .compare-stats > div .label { color: var(--shade); }
.compare-col .compare-stats > div .val {
  font-family: var(--ff-display);
  font-size: 17px;
  color: var(--paper);
  letter-spacing: -0.005em;
}
.light .compare-col .compare-stats > div .val { color: var(--ink); }

/* -------- Tentpole cards ------------------------------------ */
.tent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin: 32px 0 12px;
}
.tent-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.dark .tent-card { background: var(--ink-soft); border-color: var(--line-dark); }
.tent-card .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--torch-deep);
  margin: 0;
}
.dark .tent-card .num { color: var(--torch); }
.tent-card h4 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  margin: 4px 0 6px;
  color: var(--ink);
  line-height: 1.05;
}
.dark .tent-card h4 { color: var(--paper); }
.tent-card .row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  margin: 4px 0;
}
.tent-card .row .lbl {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  padding-top: 3px;
}
.dark .tent-card .row .lbl { color: var(--torch); }
.tent-card .row .val { color: var(--ink); }
.dark .tent-card .row .val { color: var(--paper); }

/* -------- Lists --------------------------------------------- */
ul.clean { list-style: none; padding: 0; margin: 14px 0; }
ul.clean li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
  line-height: 1.55;
}
.light ul.clean li { border-bottom-color: var(--line-light); }
ul.clean li:last-child { border-bottom: 0; }
ul.clean li::before { content: "—"; color: var(--torch); margin-right: 10px; }
.light ul.clean li::before { color: var(--wine); }

/* -------- Footer -------------------------------------------- */
footer {
  background: var(--ink-deep);
  color: var(--shade-dim);
  padding: 80px var(--pad-x) 60px;
  border-top: 1px solid var(--line-dark);
}
footer .foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { footer .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
footer .imprint {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--paper);
  font-style: italic;
}
footer .meta-block { font-size: 13px; line-height: 1.7; }
footer a { color: var(--torch); border-color: rgba(216,162,90,.3); }

/* -------- Misc ---------------------------------------------- */
.divider {
  border: 0;
  border-top: 1px solid var(--line-dark);
  margin: 56px 0;
}
.light .divider { border-top-color: var(--line-light); }

.tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  color: var(--torch);
}
.light .tag { color: var(--wine); }

/* For decorative cap on Ithaca section, etc. */
.dropcap::first-letter {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  font-size: 4.4em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--torch);
}
.light .dropcap::first-letter { color: var(--wine); }

/* Skip selection style */
::selection { background: var(--torch); color: var(--ink-deep); }

/* -------- Route map wrapper --------------------------------- */
.route-map-wrap {
  margin: 28px 0 36px;
  background: var(--ink-deep);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.light .route-map-wrap { border-color: var(--line-light); }
.route-map { width: 100%; height: auto; display: block; }
.route-map text { font-family: var(--ff-mono); }

/* -------- Day storyboard ------------------------------------ */
.day-storyboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 32px 0 12px;
}
.day-card {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.light .day-card { background: var(--paper-2); border-color: var(--line-light); }
.day-card .day-tag {
  background: var(--ink-warm);
  padding: 11px 14px 10px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--torch);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.light .day-card .day-tag {
  background: var(--linen);
  color: var(--wine);
  border-bottom-color: var(--line-light);
}
.day-card .day-tag .nm { color: var(--shade-dim); font-size: 9.5px; letter-spacing: 0.14em; }
.light .day-card .day-tag .nm { color: var(--shade); }
.day-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.day-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.day-card .day-placeholder {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg,
      oklch(0.22 0.038 205) 0 8px,
      oklch(0.18 0.032 205) 8px 16px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shade-dim);
  text-align: center;
  padding: 12px;
  line-height: 1.4;
}
.light .day-card .day-placeholder {
  background: repeating-linear-gradient(45deg,
    oklch(0.85 0.014 200) 0 8px,
    oklch(0.92 0.010 200) 8px 16px);
  color: var(--shade);
}
.day-card .day-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.day-card .day-place {
  font-family: var(--ff-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--paper);
}
.light .day-card .day-place { color: var(--ink); }
.day-card .day-act {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--torch);
  margin: 0;
}
.light .day-card .day-act { color: var(--wine); }
.day-card .day-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--shade-dim);
  margin: 4px 0 0;
}
.light .day-card .day-note { color: var(--shade); }

/* -------- Saga hero ----------------------------------------- */
.saga-hero {
  margin: 32px 0 48px;
}
.saga-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.saga-hero .hero-caption {
  margin: 10px 0 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--torch);
}
/* Production spine figure — full image, caption below, no crop */
.spine-figure { margin: 28px 0 0; }
.spine-figure img { width: 100%; height: auto; display: block; border-radius: 4px; }
.spine-figure figcaption { margin-top: 10px; color: var(--shade-dim); max-width: 80ch; }
.light .spine-figure figcaption { color: var(--shade); }

/* -------- Year arc table (saga) ----------------------------- */
.year-arc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0;
}
@media (max-width: 900px) { .year-arc { grid-template-columns: 1fr; } }
.year-arc .year {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  padding: 26px 28px;
  position: relative;
}
.year-arc .year .y-tag {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--torch);
  margin: 0 0 14px;
}
.year-arc .year h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  margin: 0 0 10px;
  line-height: 1.05;
}
.year-arc .year p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.year-arc .year .y-route {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--shade-dim);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
}

/* Print niceties */
@media print {
  .snav { display: none; }
  .cover, section { break-inside: avoid; }
  body { background: white; color: black; }
}
