/* Layout: neon field guide. A dusk-sky hero over an original palm/skyline silhouette,
   the map as the main object, highway-sign display type with a neon script accent
   used only in the wordmark and one hero word. Deliberately single-theme (night). */
:root {
  color-scheme: dark;
  --night: #0d0b1e;      /* page */
  --panel: #161331;      /* raised surfaces */
  --panel-2: #1e1a42;
  --ink: #f3ecff;        /* text */
  --muted: #a99fcb;
  --line: #2f2858;
  --pink: #ff3d8b;       /* neon sign */
  --orange: #ff8a3d;     /* sunset */
  --teal: #2ee6c9;       /* confirmed, water glow */
  --sun: #ffc857;
  --sea: #120f2c;
  --land: #1d1844;
  --swamp: #3fa98a;
  --glow-pink: 0 0 6px rgba(255, 61, 139, 0.85), 0 0 22px rgba(255, 61, 139, 0.45);
  --glow-teal: 0 0 6px rgba(46, 230, 201, 0.7), 0 0 18px rgba(46, 230, 201, 0.35);
  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-neon: "Mr Dafoe", "Brush Script MT", cursive;
  --f-body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.25rem, 5vw, 3.25rem);
  --step-4: clamp(2.75rem, 7.5vw, 5.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
a { color: var(--ink); text-decoration-color: var(--pink); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; text-wrap: balance; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: var(--step-4); font-weight: 900; text-transform: uppercase; }
h2 { font-size: var(--step-2); font-weight: 800; text-transform: uppercase; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.fine { font-size: var(--step--1); color: var(--muted); max-width: 70ch; }
.label, .eyebrow { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--sun); }
.eyebrow a { color: inherit; }

.wrap {
  max-width: 1180px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--panel); padding: 8px 12px; z-index: 20; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--line); background: rgba(13, 11, 30, 0.92); position: relative; z-index: 2; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pinmark { width: 26px; height: 32px; flex: none; filter: drop-shadow(0 0 6px rgba(255, 61, 139, 0.6)); }
.pinmark path:first-child { fill: var(--pink); }
.pinmark circle { fill: var(--sun); }
.pinmark .pinmark-lines { stroke: var(--pink); stroke-width: 2.4; fill: none; }
.wordmark-text { font-family: var(--f-display); font-weight: 900; font-size: 1.55rem; text-transform: uppercase; letter-spacing: 0.04em; display: inline-flex; align-items: baseline; }
.wordmark-text b {
  font-family: var(--f-neon); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: 1.9rem; color: #ffd6e7; margin-left: 6px; text-shadow: var(--glow-pink);
  transform: rotate(-4deg); display: inline-block;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; color: var(--muted); padding-block: 4px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); border-color: var(--pink); }

/* Hero: dusk sky */
.hero { position: relative; overflow: hidden; padding-block: clamp(28px, 5vw, 56px) clamp(120px, 17vw, 230px); isolation: isolate; }
.sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #0d0b1e 0%, #191138 42%, #3b1657 64%, #9a2a6c 80%, #ff5f6d 92%, #ffa94d 100%);
}
.sun {
  position: absolute; left: 50%; bottom: clamp(-150px, -9vw, -50px); width: clamp(200px, 30vw, 380px); aspect-ratio: 1; max-width: 100%;
  transform: translateX(-50%); border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a 0%, #ff9a52 45%, #ff3d8b 100%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px);
          mask: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px);
  opacity: 0.9;
}
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(90px, 15vw, 220px); }
.skyline .bldg { fill: #0a0817; }
.skyline .palm path { fill: #0a0817; stroke: #0a0817; stroke-width: 5; stroke-linecap: round; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero h1 { text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4); }
.neon {
  font-family: var(--f-neon); font-weight: 400; text-transform: none; color: #ffe1ee;
  text-shadow: var(--glow-pink); font-size: 1.12em; letter-spacing: 0; padding-inline: 0.05em;
  display: inline-block; transform: rotate(-3deg);
  animation: flicker 2.6s ease-out 1;
}
@keyframes flicker {
  0%, 18%, 22%, 26% { opacity: 1; }
  20%, 24% { opacity: 0.35; }
  100% { opacity: 1; }
}
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.hero-map { margin: 0; min-width: 0; background: rgba(13, 11, 30, 0.72); border: 1px solid var(--line); padding: 10px; border-radius: 6px; }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }

.countdown { border: 1.5px solid var(--pink); box-shadow: 0 0 0 1px rgba(255, 61, 139, 0.15), 0 0 24px rgba(255, 61, 139, 0.18); background: rgba(13, 11, 30, 0.94); padding: 14px 16px; display: grid; gap: 10px; max-width: 520px; border-radius: 6px; }
.odo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.compact .odo { grid-template-columns: repeat(3, 1fr); }
.odo div { background: #08061a; border: 1px solid var(--line); text-align: center; padding: 8px 4px 6px; border-radius: 4px; }
.odo span { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--teal); text-shadow: var(--glow-teal); }
.odo small { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--ink); text-decoration: none; border-radius: 4px;
  font-family: var(--f-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(13, 11, 30, 0.6); color: var(--ink);
}
.btn:hover { background: var(--ink); color: var(--night); }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 0 18px rgba(255, 61, 139, 0.45); }
.btn-primary:hover { background: #ff5c9e; border-color: #ff5c9e; color: #fff; }

/* Map */
.map { width: 100%; height: auto; display: block; max-width: 100%; }
.map .sea { fill: var(--sea); }
.map .land { fill: var(--land); stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(46, 230, 201, 0.55)); }
.map .lake { fill: var(--sea); stroke: var(--teal); stroke-width: 1.2; opacity: 0.9; }
.map .swamp { stroke: none; }
.map .swamp-mark { stroke: var(--swamp); stroke-width: 1.2; fill: none; stroke-linecap: round; }
.map .peaks path { fill: #6c62a3; }
.map .city-blocks rect { fill: var(--sun); opacity: 0.75; }
.map .bridge { fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 3 3; opacity: 0.7; }
.map .border { stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 8 4 2 4; fill: none; }
.map .grid line { stroke: var(--line); stroke-width: 1; }
.map .grid text { fill: var(--muted); font-family: var(--f-mono); font-size: 12px; }
.map .pin-dot { fill: var(--pink); stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(255, 61, 139, 0.9)); transition: r 0.15s; }
.map .pin-label { fill: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 19px; text-transform: uppercase; paint-order: stroke; stroke: var(--night); stroke-width: 5px; stroke-linejoin: round; }
.map .region-pin:hover .pin-dot, .map .region-pin:focus .pin-dot { r: 13; }
.map .region-pin:hover .pin-label { fill: var(--pink); }
.map .region-pin.is-active .pin-dot { fill: var(--teal); r: 15; filter: drop-shadow(0 0 8px rgba(46, 230, 201, 0.9)); }
.map-compact .region-pin:not(.is-active) .pin-dot { fill: #5d548f; filter: none; stroke: var(--land); }
.map .poi { fill: var(--teal); stroke: var(--night); stroke-width: 1.5; }
.map-frame { margin: 0; min-width: 0; }
.map-frame.small { max-width: 320px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-block: 8px 24px; }

/* Bands & sections */
.band { padding-block: 36px; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head a { font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.page-head {
  padding-block: 36px 28px; display: grid; gap: 12px;
}
.page-head h1 { font-size: var(--step-3); }
main > .page-head:first-child { position: relative; }
main > .page-head:first-child::after {
  content: ""; position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); bottom: 8px; width: 96px; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--sun)); border-radius: 2px;
}
.h-small { font-size: var(--step-1); margin-block: 28px 12px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 32px; }
.side { display: grid; gap: 18px; min-width: 0; }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 16px; display: grid; gap: 10px; border-radius: 6px; }

/* Region list */
.mile-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mile-list li { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.mile-list li:hover { border-color: var(--pink); box-shadow: 0 0 16px rgba(255, 61, 139, 0.2); }
.mile-list a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 14px; padding: 16px 14px; text-decoration: none; height: 100%; }
.grid-tag { grid-row: span 2; align-self: center; font-family: var(--f-mono); font-weight: 600; font-size: 0.85rem; color: var(--teal); border: 1.5px solid var(--teal); padding: 5px 7px; border-radius: 3px; text-shadow: var(--glow-teal); }
.mile-name { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; }
.mile-kind { color: var(--muted); font-size: var(--step--1); }

/* Status pills */
.pill { display: inline-block; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 7px; border: 1.5px solid currentColor; border-radius: 3px; vertical-align: 2px; white-space: nowrap; }
.pill-confirmed { color: var(--teal); }
.pill-reported { color: var(--orange); }

/* Facts / timeline */
.facts { list-style: none; margin: 0; padding: 0; display: grid; }
.fact { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.fact time, .timeline time { font-family: var(--f-mono); font-size: 0.8rem; color: var(--sun); padding-top: 3px; }
.fact-body { display: grid; gap: 4px; min-width: 0; }
.fact-src { font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); overflow-wrap: anywhere; }
.fact-src a { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 18px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 13px; height: 13px; background: var(--night); border: 2.5px solid var(--teal); border-radius: 50%; }
.timeline li.upcoming::before { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 10px rgba(255, 61, 139, 0.8); }
.timeline li.upcoming time { color: var(--pink); font-weight: 600; }

/* Key/value */
.kv { margin: 0; display: grid; }
.kv div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 10px; padding-block: 7px; border-bottom: 1px dashed var(--line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: var(--step--1); }
.kv dd { margin: 0; font-weight: 600; }
.kv.wide div { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); }
.kv.wide dt { color: var(--ink); font-weight: 700; font-size: var(--step-0); }
.kv.wide dd { font-weight: 400; }

/* Prose */
.prose { display: grid; gap: 16px; max-width: 68ch; min-width: 0; }
.prose h2 { font-size: var(--step-1); margin-top: 12px; color: var(--sun); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.chips { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.chips a { display: inline-block; border: 1.5px solid var(--pink); padding: 4px 10px; text-decoration: none; font-weight: 600; border-radius: 999px; }
.chips a:hover { background: var(--pink); color: #fff; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sources { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.sources ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: var(--step--1); }
.sources .dom { font-family: var(--f-mono); color: var(--muted); font-size: 0.72rem; }

/* Cast */
.cast { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.cast-card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--line); padding: 16px; display: grid; gap: 8px; align-content: start; border-radius: 6px; }
.cast-card.lead { border-top-color: var(--pink); background: linear-gradient(180deg, rgba(255, 61, 139, 0.10), transparent 60%), var(--panel); }
.cast-card h2 { font-size: 1.7rem; }
.cast-card h2 a { text-decoration: none; }

/* Editions */
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.edition { border: 1px solid var(--line); background: var(--panel); padding: 18px; display: grid; gap: 10px; align-content: start; border-radius: 6px; }
.edition:last-child { border-color: var(--pink); box-shadow: 0 0 24px rgba(255, 61, 139, 0.16); }
.price { font-family: var(--f-display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--sun); }
.edition ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th { text-align: left; font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border-bottom: 1.5px solid var(--pink); padding: 8px 10px 8px 0; }
.table td { border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; vertical-align: top; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--f-mono); }
.buy { margin-block: 24px; }
.buy-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Tracker */
.tracker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; padding-bottom: 24px; }
.track-cat { display: grid; gap: 8px; align-content: start; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.track-head h2 { font-size: var(--step-1); }
.track-count { font-size: 0.78rem; color: var(--teal); }
.empty { border: 1.5px dashed var(--line); padding: 14px; font-size: 0.92rem; border-radius: 4px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.checklist label { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist input { accent-color: var(--teal); }
.checklist input:checked + span { text-decoration: line-through; color: var(--muted); }

/* FAQ */
.faq { padding-block: 28px; display: grid; gap: 14px; }
.faq dl { margin: 0; display: grid; }
.faq-row { padding-block: 12px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; max-width: 75ch; }
.faq dt { font-weight: 700; }
.faq dd { margin: 0; color: var(--muted); }

/* Ads */
.ad { margin-block: 24px; min-height: 90px; }
.ad-placeholder { display: grid; place-items: center; border: 1.5px dashed var(--line); color: var(--muted); font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 4px; }

/* Footer */
.footer { border-top: 1px solid var(--line); margin-top: 24px; background: linear-gradient(180deg, var(--night), #140d2a); position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--sun), var(--teal)); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px 32px; padding-block: 28px; }
.footer-name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; }
.footer-links { display: grid; gap: 6px; align-content: start; }
.stamp { grid-column: 1 / -1; font-family: var(--f-mono); }

@media (max-width: 860px) {
  .hero-grid, .two-col, .map-layout, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .mile-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tracker, .editions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .mile-list { grid-template-columns: minmax(0, 1fr); }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv.wide div { grid-template-columns: minmax(0, 1fr); }
  .odo span { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
