/* TraveloVegas design tokens. Single source of truth. Do not add values elsewhere. */
:root {
  /* Color: desert night + neon, used sparingly */
  --night: #0e0b14;        /* dark immersive sections, hero base */
  --night-2: #1a1424;      /* raised dark surfaces */
  --dusk: #2a1b3d;         /* deep violet accent surface */
  --paper: #f7f2ea;        /* main light background (warm, never pure white) */
  --sand: #ece3d3;         /* alternate light band */
  --ink: #17131c;          /* body text on light */
  --muted: #6c6472;        /* secondary text on light (4.5:1 on --paper) */
  --line: #ddd3c4;         /* hairlines on light */
  --neon: #ff3d8b;         /* primary action / brand accent (pink neon) */
  --neon-2: #e02a74;       /* hover */
  --gold: #f2b544;         /* small highlights: stars, "free" tag, eyebrows on dark */
  --sky: #6fd3ff;          /* rare cool accent (getting-around, info) */
  --ok: #2fb67c;  --warn: #f2a23a;  --bad: #e5484d;

  /* Type */
  --serif: "Fraunces", Georgia, serif;          /* display, weights 300/400, italic for emphasis */
  --sans: "Inter Tight", system-ui, sans-serif; /* UI + body, 400/500/600 */
  --h-hero: clamp(3rem, 7.6vw, 7.2rem);
  --h-1: clamp(2.2rem, 4.6vw, 4rem);
  --h-2: clamp(1.7rem, 3vw, 2.6rem);
  --h-3: clamp(1.2rem, 1.8vw, 1.5rem);
  --body: 1.0625rem;   --small: .875rem;   --eyebrow: .72rem;
  --lh-display: 1.04;  --lh-body: 1.6;
  --track-display: -.02em;  --track-eyebrow: .18em;

  /* Space + layout */
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --max: 1240px;
  --measure: 62ch;
  --header-h: 72px;

  /* Shape */
  --r-section: 34px;   /* top corners of sections that slide over the previous one */
  --r-media: 20px;
  --r-card: 16px;
  --r-pill: 999px;
  --shadow-lift: 0 30px 80px -24px rgba(14,11,20,.45), 0 0 0 1px rgba(14,11,20,.06);
  --shadow-soft: 0 12px 40px -18px rgba(14,11,20,.35);

  /* Motion: one curve for everything */
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: .2s;  --t-ui: .35s;  --t-scene: .9s;
  --reveal-y: 18px;  --stagger: .12s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* One rule per selector. Responsive variants are nested inside their rule; edit in place, never append overrides. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  --focus: var(--ink);
  --soft: var(--muted); /* secondary text; sand sections darken it (--muted on --sand is 4.45:1) */
  /* Hero scrim (home + category): at least 48% night wherever the headline can sit, so --paper text
     stays 3:1+ even over pure white footage (checked at 390/768/1440). */
  --scrim: linear-gradient(to top,
    color-mix(in srgb, var(--night) 90%, transparent),
    color-mix(in srgb, var(--night) 72%, transparent) 40%,
    color-mix(in srgb, var(--night) 70%, transparent) 70%,
    color-mix(in srgb, var(--night) 25%, transparent) 88%,
    color-mix(in srgb, var(--night) 10%, transparent));
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--body)/var(--lh-body) var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: var(--lh-display);
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; font-weight: 300; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ph { display: block; background: var(--dusk); }
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  font: 500 var(--small)/1 var(--sans);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.eyebrow {
  font: 500 var(--eyebrow)/1.2 var(--sans);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
.section-title { font-size: var(--h-1); }
.lede { margin-top: 14px; max-width: var(--measure); color: var(--soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: 600 var(--small)/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: var(--body); }
.btn-neon { background: var(--neon); color: var(--night); }
.btn-neon:hover { background: var(--neon-2); }
.btn-ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ---------- 1. Header: clear -> frosted -> solid ---------- */
.site-header {
  --focus: var(--gold);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--paper);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--night) 12%, transparent);
  backdrop-filter: blur(10px);
  transition: opacity var(--t-fast) var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}
.site-header.solid { --focus: var(--ink); color: var(--ink); }
.site-header.solid::before { opacity: 0; }
.site-header.solid::after { opacity: 1; }
.site-header.over-dark { --focus: var(--gold); color: var(--paper); }
.site-header.over-dark::after { background: var(--night); opacity: 1; }
.site-header.menu-open { --focus: var(--gold); color: var(--paper); }

.header-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(var(--max), 100% - 2 * var(--gutter));
  height: 100%;
  margin-inline: auto;
  @media (min-width: 900px) { grid-template-columns: 1fr auto 1fr; }
}
.wordmark {
  position: relative;
  z-index: 2;
  justify-self: start;
  font: 400 1.35rem/1 var(--serif);
  letter-spacing: var(--track-display);
  text-decoration: none;
}
.menu-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font: 500 var(--small)/1 var(--sans);
  cursor: pointer;
  @media (min-width: 900px) { display: none; }
}
.menu-icon { position: relative; display: block; width: 18px; height: 1.5px; background: currentColor; transform: translateY(-3px); transition: transform var(--t-ui) var(--ease); }
.menu-icon::before { content: ""; position: absolute; top: 6px; display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform var(--t-ui) var(--ease); }
.menu-btn[aria-expanded="true"] .menu-icon { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(-6px) rotate(-90deg); }

/* Mobile: full-height sheet. Desktop: its children join the header grid. */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--night);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), visibility 0s linear var(--t-ui);
  @media (min-width: 900px) { display: contents; visibility: visible; }
}
.menu-open .nav-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav ul {
  display: grid;
  gap: 6px;
  @media (min-width: 900px) { display: flex; gap: 30px; }
}
.nav a {
  display: block;
  padding: 4px 0;
  font: 300 var(--h-2)/1.15 var(--serif);
  text-decoration: none;
  @media (min-width: 900px) { padding: 8px 0; font: 500 var(--small)/1 var(--sans); }
}
.nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-panel > .btn { align-self: start; @media (min-width: 900px) { align-self: center; justify-self: end; } }

/* ---------- 2. Cinematic hero ---------- */
.hero {
  --focus: var(--gold);
  --toggle-bottom: calc(36px + 16px); /* clear the slide-over section's overlap */
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 22px;
  padding: calc(var(--header-h) + 40px) 0 calc(36px + var(--gutter) * 1.4);
}
.hero-line { animation: rise var(--t-scene) var(--ease) var(--d, 0s) both; }
.hero .eyebrow { color: var(--paper); } /* paper, not gold: clears 4.5:1 on every frame of the montage */
.hero-title { font-size: var(--h-hero); }
.hero-title em { display: block; }
.hero-lede { max-width: 46ch; color: color-mix(in srgb, var(--paper) 86%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

@keyframes rise { from { opacity: 0; transform: translateY(var(--reveal-y)); } }
@keyframes settle { from { transform: scale(1.06); } }

/* ---------- 3 + 5. Category bands, sliding over the hero ---------- */
.bands {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding-block: var(--section);
  border-radius: var(--r-section) var(--r-section) 0 0;
  background: var(--paper);
  box-shadow: 0 -24px 50px -20px color-mix(in srgb, var(--night) 35%, transparent);
}
/* 12 tiles: 2 across on phones, 4 from 640px. */
.band-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
  @media (min-width: 640px) { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.tile {
  --focus: var(--ink);
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--night); /* shows while a lazy tile image is still loading */
  color: var(--paper);
  text-decoration: none;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--night) 85%, transparent), transparent 55%);
}
.tile-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-scene) var(--ease); }
.tile-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font: 400 var(--h-3)/1.1 var(--serif);
  transition: transform var(--t-ui) var(--ease);
  @media (min-width: 640px) { left: 20px; right: 20px; bottom: 18px; }
}
.tile:hover .tile-media,
.tile:focus-visible .tile-media { transform: scale(1.04); }
.tile:hover .tile-label,
.tile:focus-visible .tile-label { transform: translateY(-4px); }

/* ---------- 6. "On this week" rail ---------- */
.week { --soft: color-mix(in srgb, var(--muted) 70%, var(--ink)); padding-block: var(--section); background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.rail-nav { display: none; gap: 10px; @media (min-width: 900px) { display: flex; } }
.rail-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.rail-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 22vw);
  gap: 18px;
  margin: 40px calc(-1 * var(--gutter)) 0;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
/* Cards are text-first; .card-media only renders when a listing has an image. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--paper);
  scroll-snap-align: start;
}
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.card-cat { color: var(--muted); font: 500 var(--eyebrow)/1.2 var(--sans); letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.card-name { font-size: var(--h-3); font-weight: 400; }
.card-venue,
.card-price { color: var(--muted); font-size: var(--small); }
.card-alert { margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--warn); font-size: var(--small); font-weight: 500; }
.card-when { color: var(--ink); font-size: var(--small); font-weight: 600; }
.card-ages { color: var(--muted); font-size: var(--small); }
.card-checked { margin-top: auto; padding-top: 12px; color: var(--muted); font-size: var(--eyebrow); letter-spacing: .02em; }
.card-book { align-self: start; margin-top: 14px; }
.card-check { margin-top: 12px; font-size: var(--small); font-weight: 600; }
.disclosure { margin-top: 16px; color: var(--soft); font-size: var(--small); }

/* ---------- 10. Status pills ---------- */
.pill {
  flex: none;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  color: var(--ink);
  font: 600 var(--eyebrow)/1 var(--sans);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
.pill-seasonal { background: var(--gold); }
.pill-closed { background: var(--warn); }
.pill-muted { background: var(--sand); color: var(--ink); }

/* ---------- AI media caption (rule 5) ---------- */
.illus {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--night) 60%, transparent);
  color: var(--paper);
  font: 500 var(--eyebrow)/1 var(--sans);
  letter-spacing: .04em;
}
.hero > .illus { top: auto; right: calc(var(--gutter) + 52px); bottom: calc(36px + 22px); }
.cat-hero > .illus { top: calc(var(--header-h) + 12px); right: var(--gutter); }

/* Pause/play for background video (WCAG 2.2.2). aria-pressed="true" means paused. */
.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: var(--toggle-bottom, 16px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--night) 60%, transparent);
  color: var(--paper);
  cursor: pointer;
}
.video-toggle svg { fill: currentColor; }
.video-toggle .icon-play,
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }

/* ---------- 8. "Plan my night" picker: idle -> selecting -> results -> (edit) ---------- */
/* Short bottom padding until results show, so no empty band sits under the picker. */
.plan { padding-block: var(--section) calc(var(--section) * .4); scroll-margin-top: var(--header-h); }
.plan[data-state="results"] { padding-bottom: var(--section); }
.plan[data-state="results"] .picker,
.plan:not([data-state="results"]) .plan-summary,
.plan:not([data-state="results"]) .plan-rail,
.plan:not([data-state="results"]) .rail-nav { display: none; }
.picker {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  @media (min-width: 900px) { grid-template-columns: 2fr 1.5fr 1.5fr; column-gap: 48px; }
}
.chip-group .eyebrow { margin-bottom: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: 500 var(--small)/1 var(--sans);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.picker-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  @media (min-width: 900px) { grid-column: 1 / -1; }
}
.picker-actions .btn:disabled { opacity: .4; transform: none; cursor: default; }
.picker-hint { color: var(--muted); font-size: var(--small); }
.plan-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.plan-picked { font: 300 var(--h-3)/1.3 var(--serif); }
.plan-status { margin-top: 12px; color: var(--muted); font-size: var(--small); }
.plan-rail { margin-top: 24px; }
.plan-rail .card { border: 1px solid var(--line); }

/* ---------- Category pages ---------- */
.cat-hero {
  --focus: var(--gold);
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(340px, 52vh, 520px);
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
}
.cat-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
.cat-hero.is-short { min-height: clamp(300px, 40vh, 400px); }
.cat-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: calc(var(--header-h) + 48px) 0 clamp(32px, 5vw, 56px);
}
.cat-hero .eyebrow { color: var(--gold); }
.cat-title { font-size: var(--h-1); }
.cat-answer { max-width: 56ch; color: color-mix(in srgb, var(--paper) 86%, transparent); font-size: var(--body); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: var(--small); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.cat-body { padding-block: clamp(40px, 6vw, 72px) var(--section); }
.list-title { margin-bottom: 16px; font-size: var(--h-2); }
.cat-empty { max-width: var(--measure); margin-top: 20px; }
.jump ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; font-size: var(--small); }
.jump a { text-underline-offset: .25em; }
.group { margin-top: 48px; }
.group-title { font-size: var(--h-3); font-weight: 400; scroll-margin-top: calc(var(--header-h) + 16px); }
.group-count { color: var(--muted); font: 500 var(--small)/1 var(--sans); }
.show-all { margin-top: 18px; }
.filter-chips { margin-bottom: 20px; }
.cat-count { color: var(--muted); font-size: var(--small); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin-top: 20px;
}
.cat-grid .card { border: 1px solid var(--line); }

/* Trust pages (About, Privacy, Disclosure) */
.prose { display: grid; gap: 16px; max-width: var(--measure); }
.prose h2 { margin-top: 24px; font-size: var(--h-2); }
.prose ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.prose a { text-underline-offset: .25em; }
.content-date { color: var(--muted); font-size: var(--small); }

/* 21+ page: cannabis rules + age gate */
.rules { margin-bottom: 40px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); background: var(--sand); }
.rules-title { margin-bottom: 14px; font-size: var(--h-2); }
.rules ul { display: grid; gap: 8px; max-width: var(--measure); padding-left: 1.2em; list-style: disc; }
.rules-source { margin-top: 14px; font-size: var(--small); }
/* In the page flow by default (no-JS visitors get the gate + rules). The inline script in gate.html sets
   html.js-gate (modal overlay) or html.is-21 (already confirmed) before first paint. */
.gate {
  --focus: var(--gold);
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 48px) var(--gutter) 56px;
  background: var(--night);
  color: var(--paper);
}
.js-gate .gate { position: fixed; inset: 0; z-index: 60; padding: var(--gutter); }
.is-21 .gate { display: none; }
.is-21 [data-gated] { display: block !important; }
.gate-noscript { color: var(--gold); }
.gate-box { display: grid; gap: 16px; max-width: 520px; }
.gate .eyebrow { color: var(--gold); }
.gate-title { font-size: var(--h-1); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- 9. Strip map ---------- */
.map {
  --rail: color-mix(in srgb, var(--sky) 60%, var(--ink)); /* 3.59:1 on paper; plain --sky is 1.52:1 */
  padding-block: var(--section);
  scroll-margin-top: var(--header-h);
}
.map-inner {
  display: grid;
  gap: 40px;
  @media (min-width: 900px) { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
}
.map-side {
  display: grid;
  gap: 18px;
  align-content: start;
  @media (min-width: 900px) { position: sticky; top: calc(var(--header-h) + 24px); }
}
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: var(--small); }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; }
.key-pin { width: 12px; height: 12px; border-radius: var(--r-pill); background: var(--neon); }
.key-rail { width: 22px; border-top: 2px dashed var(--rail); }
.map-hint { color: var(--muted); font-size: var(--small); }
.map-cards { display: grid; gap: 12px; }
.map-cards .card { border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.map-frame { justify-self: center; width: 100%; max-width: 520px; }
.strip-svg { display: block; width: 100%; height: auto; overflow: visible; font: 500 14px var(--sans); }
.strip-line { stroke: var(--ink); stroke-width: 3; fill: none; }
.strip-arrow { stroke: var(--ink); stroke-width: 2; fill: none; }
.strip-north { fill: var(--muted); font-size: 13px; }
.rail-line { stroke: var(--rail); stroke-width: 2.5; stroke-dasharray: 6 5; fill: none; }
.rail-title { fill: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.station circle { fill: var(--paper); stroke: var(--rail); stroke-width: 2.5; }
.station text { fill: var(--muted); font-size: 12px; }
.spot circle { fill: var(--ink); }
.spot text { fill: var(--ink); }
.spot-c circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }
.pin { cursor: pointer; outline: none; }
.pin-dot { fill: var(--neon); stroke: var(--paper); stroke-width: 2.5; }
.pin-halo { fill: color-mix(in srgb, var(--neon) 22%, transparent); transform-box: fill-box; transform-origin: center; transition: transform var(--t-ui) var(--ease); }
.pin:hover .pin-halo,
.pin.is-active .pin-halo { transform: scale(1.35); }
.pin:focus-visible .pin-dot { stroke: var(--ink); stroke-width: 3; }

/* ---------- 7. "One perfect night" sticky story ---------- */
.story { padding-block: var(--section); scroll-margin-top: var(--header-h); }
.story-grid {
  margin-top: 40px;
  @media (min-width: 900px) { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
}
/* Desktop: one sticky frame that crossfades between the six pictures. */
.story-frame {
  display: none;
  @media (min-width: 900px) {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--r-media);
    background: var(--night);
  }
}
.story-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.story-shot.is-active { opacity: 1; transform: none; }
.story-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-steps { display: grid; gap: 48px; @media (min-width: 900px) { gap: 0; } }
.story-step { @media (min-width: 900px) { padding: 18vh 0 22vh; } }
/* Mobile: no sticky frame; each step carries its own picture. */
.story-step-media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--night);
  @media (min-width: 900px) { display: none; }
}
.story-time { color: var(--muted); font: 500 var(--eyebrow)/1.2 var(--sans); letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.story-name { margin-top: 8px; font-size: var(--h-2); }
/* Details open via grid rows (switched, not animated: rule 6); only their opacity fades. */
.story-detail { display: grid; grid-template-rows: 1fr; }
.story-detail > div { display: grid; gap: 12px; min-height: 0; max-width: 46ch; padding-top: 12px; overflow: hidden; transition: opacity var(--t-ui) var(--ease); }
.story.is-live .story-step:not(.is-active) .story-detail { @media (min-width: 900px) { grid-template-rows: 0fr; } }
.story.is-live .story-step:not(.is-active) .story-detail > div { @media (min-width: 900px) { opacity: 0; } }
.story-link { justify-self: start; font-weight: 600; text-underline-offset: .25em; }

/* ---------- 11. FAQ ---------- */
.faq { padding-block: var(--section); background: var(--sand); scroll-margin-top: var(--header-h); }
.faq-inner {
  display: grid;
  gap: 40px;
  @media (min-width: 900px) { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}
.faq-head { @media (min-width: 900px) { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-head .lede { color: var(--ink); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: var(--h-3); font-weight: 400; }
.faq-icon { position: relative; flex: none; width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease); }
.faq-icon::before { content: ""; position: absolute; top: 7.25px; left: 0; width: 16px; height: 1.5px; background: currentColor; }
.faq-icon::after { content: ""; position: absolute; top: 7.25px; left: 0; width: 16px; height: 1.5px; background: currentColor; transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { display: grid; gap: 10px; max-width: var(--measure); padding-bottom: 24px; }
.faq-link { font-weight: 600; text-underline-offset: .25em; }

/* ---------- Mobile bottom bar (after the hero) ---------- */
.bottom-bar {
  --focus: var(--gold);
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: var(--night);
  color: var(--paper);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 12px));
  transition: opacity var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), visibility 0s linear var(--t-ui);
  @media (min-width: 900px) { display: none; }
}
.bottom-bar.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* ---------- 12. Footer ---------- */
.site-footer {
  --focus: var(--gold);
  padding: var(--section) 0 calc(var(--gutter) + 88px);
  background: var(--night);
  color: var(--paper);
  @media (min-width: 900px) { padding-bottom: 48px; }
}
.footer-grid {
  display: grid;
  gap: 48px;
  @media (min-width: 900px) { grid-template-columns: 1.4fr 1fr; column-gap: 64px; }
}
.footer-mark { font: 300 var(--h-hero)/var(--lh-display) var(--serif); letter-spacing: var(--track-display); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 32px;
  @media (min-width: 900px) { align-self: end; }
}
.footer-links .eyebrow { margin-bottom: 14px; color: var(--gold); }
.footer-links li + li { margin-top: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer-legal {
  display: grid;
  gap: 10px;
  max-width: var(--measure);
  padding-top: 28px;
  border-top: 1px solid color-mix(in srgb, var(--paper) 16%, transparent);
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: var(--small);
  @media (min-width: 900px) { grid-column: 1 / -1; max-width: none; }
}
.footer-legal strong { color: var(--paper); font-weight: 600; }
.footer-credits { font-size: var(--eyebrow); letter-spacing: .02em; }
