/* ==========================================================================
   Sonoran Nights
   Tone: Cinematic (light, sky and glow do the work). Motion: full journey.
   Palette roles: night (base) · ember (action, sunset) · moon (highlight) · sand (ink)
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Registered so night switches can animate colour smoothly */
@property --bg  { syntax: "<color>"; inherits: true; initial-value: #2a120e; }
@property --bg2 { syntax: "<color>"; inherits: true; initial-value: #4a1c12; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #ff5a1f; }

:root {
  --night: #0b0a18;
  --night-2: #13122e;
  --indigo: #1c1a45;
  --ember: #ff5a1f;
  --ember-soft: #ff8a4c;
  --moon: #cae7f7;
  --sand: #f4e8da;
  --sand-dim: rgba(244, 232, 218, .74);
  --paper: #f1e4d3;
  --ink: #16122a;

  --display: "Big Shoulders Display", "Bahnschrift", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bar-h: 34px;
  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-motion="off"] { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--night);
  color: var(--sand);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
section[id], main[id] { scroll-margin-top: calc(var(--bar-h) + var(--nav-h) - 1px); }

:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--sand); color: var(--ink); padding: 12px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: calc(var(--bar-h) + 8px); }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-size: 13px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent, var(--ember-soft));
}
.display-h {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(60px, 9.4vw, 156px); line-height: .86; letter-spacing: .004em;
  margin-top: 14px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--sand-dim); max-width: 32ch; }
.sep { opacity: .55; margin: 0 .35em; }

/* Placeholders: quiet, in-context, adapt to any surface */
.ph {
  background: color-mix(in srgb, currentColor 11%, transparent);
  outline: 1px dashed color-mix(in srgb, currentColor 55%, transparent);
  outline-offset: 1px;
  border-radius: .18em;
  padding: 0 .16em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* on big display type the brackets already say "placeholder": keep it to a dashed underline */
.headliner .ph, .support .ph, .stub .stub-name .ph, .stub .stub-price-val .ph {
  background: none; outline: none; padding: 0;
  text-decoration: underline dashed color-mix(in srgb, currentColor 45%, transparent);
  text-decoration-thickness: .035em; text-underline-offset: .12em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--text); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-ember { background: var(--ember); color: #170904; box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
.btn-ember:hover { background: #ff6f3b; box-shadow: 0 10px 34px -8px rgba(255, 90, 31, .65); }
.btn-ghost { border-color: rgba(244, 232, 218, .42); color: var(--sand); background: rgba(11, 10, 24, .18); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--sand); background: rgba(244, 232, 218, .08); }
html[data-motion="on"] .btn:hover { transform: translateY(-2px); }

/* ---------- Draft bar ---------- */
.draft-bar {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--bar-h);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 var(--gutter);
  background: #050409; color: #d8cdbf; font-size: 13px; line-height: 1.2;
  border-bottom: 1px solid rgba(244, 232, 218, .08);
  white-space: nowrap; overflow: hidden;
}
.draft-bar strong { color: var(--sand); font-weight: 650; }
.draft-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); flex: none; }
.draft-short { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: var(--bar-h); z-index: 110; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background-color .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11, 10, 24, .74); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(244, 232, 218, .08); }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--sand); flex: none;
}
.brand-mark { width: 26px; height: 26px; fill: var(--ember); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 550; color: var(--sand-dim); transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--sand); background: rgba(244, 232, 218, .07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(244, 232, 218, .26); background: rgba(11, 10, 24, .25);
  color: var(--sand-dim); font: 550 13px/1 var(--text); cursor: pointer; justify-content: center;
}
.motion-toggle:hover { color: var(--sand); border-color: rgba(244, 232, 218, .5); }
.motion-icon { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.motion-toggle[aria-pressed="true"] .motion-icon { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 90, 31, .25); }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero { position: relative; height: max(100svh, 640px); }
html[data-motion="on"] .hero { height: 340vh; }
.hero-pin {
  /* defaults = blue hour; main.js drives these while scrolling */
  --sky-top: #0c0b25; --sky-mid: #2a1d4f; --sky-hz: #ff6a3d;
  --far: #2c2150; --mid: #171433; --near: #08070f;
  --sun-y: 92%; --glow-o: .55; --stars-o: .9; --moon-y: 24%; --moon-o: 1;
  --tw: 760; --tag-o: 1; --tag-y: 0px; --cue-o: 0; --title-glow: .5;

  position: relative; height: max(100svh, 640px); overflow: hidden; isolation: isolate;
  background: var(--sky-top);
}
html[data-motion="on"] .hero-pin { position: sticky; top: 0; height: 100svh; min-height: 560px; }

.sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 62% at 50% 86%, color-mix(in srgb, var(--sky-hz) calc(var(--glow-o) * 100%), transparent) 0%, transparent 62%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 58%, var(--sky-hz) 88%);
}
/* fine grain for texture */
.hero-pin::after, .finale::after {
  content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero .stars { opacity: var(--stars-o); }

.sun {
  position: absolute; z-index: 2; left: 50%; top: var(--sun-y);
  width: min(30vmin, 290px); aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 42%, #fff1c9 0%, #ffc26b 34%, #ff7a2e 72%, #ff5a1f 100%);
  box-shadow: 0 0 60px 18px rgba(255, 140, 60, .55), 0 0 180px 60px rgba(255, 90, 31, .35);
}
.moon {
  position: absolute; z-index: 2; right: 14%; top: var(--moon-y); opacity: var(--moon-o);
  width: min(9vmin, 84px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset calc(min(9vmin, 84px) * -.22) calc(min(9vmin, 84px) * .1) 0 0 var(--moon);
  filter: drop-shadow(0 0 18px rgba(202, 231, 247, .55));
  transform: rotate(-18deg);
}

.hero-title-wrap {
  position: absolute; z-index: 3; left: 0; right: 0;
  top: calc(var(--bar-h) + var(--nav-h) + clamp(8px, 3vh, 36px));
  text-align: center; padding: 0 var(--gutter);
}
.hero-eyebrow { color: var(--sand); opacity: .86; }
.hero-title {
  margin-top: clamp(6px, 1.4vh, 16px);
  font-family: var(--display); font-weight: var(--tw); text-transform: uppercase;
  font-size: clamp(74px, min(21vw, 27svh), 290px); line-height: .84; letter-spacing: .01em;
  color: var(--sand);
  text-shadow:
    0 2px 30px rgba(20, 8, 30, .35),
    0 0 70px rgba(255, 170, 120, calc(var(--title-glow) * .28));
}
.hero-title span { display: block; }
.hero-tag {
  margin-top: clamp(10px, 2vh, 22px);
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 32px); letter-spacing: .16em; color: var(--moon);
  opacity: var(--tag-o); transform: translateY(var(--tag-y));
}

.ridge { position: absolute; left: 0; width: 100%; bottom: 0; }
.ridge-far  { z-index: 4; height: 38%; fill: var(--far); }
.ridge-mid  { z-index: 5; height: 29%; fill: var(--mid); }
.ridge-near { z-index: 6; height: 19%; fill: var(--near); }
.saguaro { position: absolute; z-index: 6; bottom: 0; fill: none; stroke: var(--near); stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.saguaro path { stroke-width: 20; }
.saguaro-a { left: 7%; height: 50%; bottom: 10%; }
.saguaro-a path { stroke-width: 19; }
.saguaro-b { right: 10%; height: 30%; bottom: 13%; }
.saguaro-b path { stroke-width: 17; }
.saguaro-c { right: 4.5%; height: 22%; bottom: 12%; }
.saguaro-c path { stroke-width: 15; }

.hero-foot {
  position: absolute; z-index: 7; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px;
  padding: 0 var(--gutter) clamp(20px, 3.6vh, 36px);
}
.hero-facts { font-size: 15px; font-weight: 550; color: var(--sand); letter-spacing: .02em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-cue {
  grid-column: 1 / -1; order: -1; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-dim);
  opacity: var(--cue-o);
}
html[data-motion="on"] .hero-pin { --cue-o: 1; }
.scroll-line { width: 34px; height: 1px; background: currentColor; }
html[data-motion="off"] .scroll-cue { display: none; }

/* ==========================================================================
   02 · LINEUP
   ========================================================================== */
.lineup {
  --bg: #2a120e; --bg2: #5a2212; --accent: #ff7a3d; --ink: var(--sand);
  position: relative; overflow: hidden;
  padding: clamp(96px, 12vw, 168px) 0 clamp(170px, 18vw, 250px);
  background:
    radial-gradient(80% 60% at 85% 100%, color-mix(in srgb, var(--bg2) 90%, transparent), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--bg) 26%, var(--bg) 100%);
  transition: --bg .7s var(--ease), --bg2 .7s var(--ease), --accent .7s var(--ease);
}
.lineup[data-night="two"] { --bg: #0f1234; --bg2: #26306e; --accent: var(--moon); }
html[data-motion="off"] .lineup { transition: none; }

.section-head { max-width: 900px; }
.night-tabs {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-bottom: 1px solid rgba(244, 232, 218, .16);
}
.night-tab {
  appearance: none; background: none; border: 0; color: var(--sand); cursor: pointer; text-align: left;
  padding: 10px 0 18px; min-height: 44px; position: relative; font: inherit;
  display: flex; flex-direction: column; gap: 6px; opacity: .46; transition: opacity .3s;
}
.night-tab:hover { opacity: .78; }
.night-tab[aria-selected="true"] { opacity: 1; }
.night-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.night-tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab-label {
  font-family: var(--display); font-weight: 750; text-transform: uppercase; line-height: .9;
  font-size: clamp(40px, 6.4vw, 96px); letter-spacing: .01em;
}
.night-tab[aria-selected="true"] .tab-label { color: var(--accent); }
.tab-date { font-size: 15px; font-weight: 550; color: var(--sand-dim); }

.night-panel { padding-top: clamp(44px, 6vw, 80px); text-align: center; }
.night-panel[hidden] { display: none; }
.poster-meta { font-size: 13px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--sand-dim); }
.poster-meta .ph { letter-spacing: .06em; }
.headliner {
  margin-top: 18px;
  font-family: var(--display); font-weight: 850; text-transform: uppercase; line-height: .9;
  font-size: clamp(52px, 10.5vw, 176px); letter-spacing: .005em; color: var(--sand);
  text-wrap: balance;
}
.support {
  margin-top: clamp(14px, 2vw, 26px);
  font-family: var(--display); font-weight: 650; text-transform: uppercase; line-height: 1.05;
  font-size: clamp(28px, 4.4vw, 66px); color: var(--sand);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .1em .5em;
}
.rest {
  margin: clamp(18px, 2.4vw, 30px) auto 0; max-width: 1000px;
  font-family: var(--display); font-weight: 550; text-transform: uppercase; line-height: 1.5;
  font-size: clamp(18px, 2.1vw, 30px); letter-spacing: .05em; color: var(--sand-dim);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2em .6em;
}
.star-sep { color: var(--accent); font-style: normal; font-size: .6em; }
.poster-note { margin-top: clamp(28px, 3.4vw, 44px); font-size: 15px; color: var(--sand-dim); }

html[data-motion="on"] .night-panel.enter > * { animation: rise .7s var(--ease) both; }
html[data-motion="on"] .night-panel.enter > *:nth-child(2) { animation-delay: .06s; }
html[data-motion="on"] .night-panel.enter > *:nth-child(3) { animation-delay: .12s; }
html[data-motion="on"] .night-panel.enter > *:nth-child(4) { animation-delay: .18s; }
html[data-motion="on"] .night-panel.enter > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* horizon motif anchored to the section's bottom edge: sun for night one, moon for night two */
.lineup-horizon { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 11vw, 150px); pointer-events: none; }
.lineup-horizon::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 14%, transparent));
}
.lineup-horizon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: var(--night); }
.lineup-orb {
  position: absolute; right: 9%; bottom: 36%; width: clamp(120px, 16vw, 230px); aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0; background: var(--accent);
  box-shadow: 0 0 80px 10px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform .8s var(--ease);
}
.lineup[data-night="two"] .lineup-orb { transform: translateY(-38%) scale(.52); border-radius: 50%; aspect-ratio: 1; }

/* ==========================================================================
   03 · TICKETS (light reading surface)
   ========================================================================== */
.tickets {
  position: relative; background: var(--paper); color: var(--ink);
  padding: clamp(96px, 11vw, 160px) 0 clamp(96px, 11vw, 160px);
  --accent: #a93609;
}
.tickets .display-h { font-size: clamp(76px, 14vw, 230px); color: var(--ink); }
.tickets-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.tickets-intro { padding-bottom: 12px; }
.tickets .lead { color: rgba(22, 18, 42, .74); }
.small-note { margin-top: 10px; font-size: 14px; font-weight: 600; color: rgba(22, 18, 42, .7); }

.stubs { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.stub {
  --side: 104px; --notch: var(--paper);
  position: relative; display: grid; grid-template-columns: 1fr var(--side);
  border-radius: 26px; min-height: 330px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  box-shadow: 0 1px 0 rgba(22, 18, 42, .06), 0 24px 50px -30px rgba(22, 18, 42, .5);
}
.stub-0 { background: var(--ember); color: #1a0a05; }
.stub-1 { background: var(--indigo); color: var(--sand); }
.stub-0 .ph { background: rgba(26, 10, 5, .1); }
html[data-motion="on"] .stub:hover { transform: rotate(-1.4deg) translateY(-6px); box-shadow: 0 30px 60px -28px rgba(22, 18, 42, .6); }
html[data-motion="on"] .stub-1:hover { transform: rotate(1.4deg) translateY(-6px); }
/* tear line notches */
.stub::before, .stub::after {
  content: ""; position: absolute; right: calc(var(--side) - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--notch); z-index: 2;
}
.stub::before { top: -14px; }
.stub::after { bottom: -14px; }
.stub-main { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 10px; }
.stub-kicker { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .78; }
.stub-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .92; }
.stub-covers { font-size: 16px; font-weight: 550; opacity: .86; }
.stub-price { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.stub-price-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.stub-price-val { font-family: var(--display); font-weight: 750; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; }
.stub-buy { margin-top: 16px; align-self: flex-start; }
.stub-0 .btn-stub { background: #1a0a05; color: var(--sand); }
.stub-1 .btn-stub { background: var(--ember); color: #170904; }
.btn-stub.is-ph { background: transparent !important; color: inherit !important; border: 1.5px dashed currentColor; cursor: default; opacity: .9; }
.stub-side {
  border-left: 2px dashed color-mix(in srgb, currentColor 34%, transparent);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 0;
}
.stub-side span {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--display); font-weight: 750; text-transform: uppercase; letter-spacing: .16em; font-size: 17px;
}
.stub-side .stub-no { font-size: 15px; opacity: .72; letter-spacing: .1em; }
.stub-sun { width: 34px; height: 34px; fill: currentColor; opacity: .9; }

/* ==========================================================================
   04 · GETTING THERE
   ========================================================================== */
.travel {
  --accent: var(--moon);
  background: linear-gradient(180deg, #0d0c22 0%, var(--night-2) 100%);
  padding: clamp(96px, 11vw, 160px) 0;
}
.travel-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.travel .lead { margin-top: 22px; }
.travel-list { list-style: none; padding: 0; margin: clamp(36px, 5vw, 56px) 0 0; border-top: 1px solid rgba(244, 232, 218, .14); }
.travel-list li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0;
  border-bottom: 1px solid rgba(244, 232, 218, .14);
}
.travel-list .idx { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--moon); line-height: 1.2; }
.travel-list h3 { font-size: 18px; font-weight: 650; line-height: 1.3; }
.travel-list p { margin-top: 4px; color: var(--sand-dim); font-size: 16px; }

.travel-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--bar-h) + var(--nav-h) + 24px); }
.map-slot {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background: radial-gradient(90% 90% at 64% 56%, #25225a 0%, #17153a 60%, #121030 100%);
  color: rgba(202, 231, 247, .28);
  outline: 1.5px dashed rgba(202, 231, 247, .34); outline-offset: -10px;
}
.topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 64.5%; top: 56%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 6px rgba(255, 90, 31, .22), 0 0 30px 6px rgba(255, 90, 31, .45);
}
html[data-motion="on"] .map-pin::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ember);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.slot-label {
  position: absolute; left: 22px; bottom: 20px; font-size: 13px; font-weight: 650; letter-spacing: .06em;
  color: var(--sand); background: rgba(11, 10, 24, .6); padding: 6px 10px; border-radius: 8px;
}
.basics { border-top: 1px solid rgba(244, 232, 218, .14); padding-top: 22px; }
.basics ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.basics li { font-size: 16px; color: var(--sand-dim); padding-left: 22px; position: relative; }
.basics li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.basics strong { color: var(--sand); font-weight: 650; }

/* ==========================================================================
   05 · FINALE (footer as a final scene)
   ========================================================================== */
.finale {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(100svh, 720px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.finale-sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(110% 50% at 30% 92%, rgba(255, 106, 61, .5) 0%, transparent 60%),
    linear-gradient(180deg, var(--night-2) 0%, #070616 40%, #1d1847 78%, #6b2a3c 100%);
}
.finale .stars { z-index: 1; }
.finale-moon {
  position: absolute; z-index: 2; right: 12%; top: 16%; width: min(14vmin, 128px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #f3fbff 0%, var(--moon) 60%, #9ec4dc 100%);
  box-shadow: 0 0 60px 14px rgba(202, 231, 247, .28);
}
.finale-content {
  position: relative; z-index: 4; padding-top: calc(var(--bar-h) + var(--nav-h) + clamp(28px, 7vh, 88px));
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
.finale-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .86;
  font-size: clamp(64px, 11.5vw, 196px); letter-spacing: .005em;
  text-shadow: 0 0 60px rgba(202, 231, 247, .18);
}
.wish-hint { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgba(202, 231, 247, .72); }

.finale-land { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 3; pointer-events: none; }
.f-far  { height: 74%; fill: #221c47; }
.f-near { height: 44%; fill: #07060e; }
.finale-land .saguaro { stroke: #07060e; }
.f-sag-a { left: 58%; height: 78%; bottom: 22%; }
.f-sag-a path { stroke-width: 18; }
.f-sag-b { left: 70%; height: 44%; bottom: 26%; }
.f-sag-b path { stroke-width: 16; }
html[data-motion="on"] .finale-land > * { transition: transform 1.2s var(--ease); }
html[data-motion="on"] .finale:not(.is-in) .f-far { transform: translateY(18%); }
html[data-motion="on"] .finale:not(.is-in) .f-near,
html[data-motion="on"] .finale:not(.is-in) .saguaro { transform: translateY(26%); }

.finale-links {
  position: relative; z-index: 5; margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 160px; padding-bottom: clamp(18px, 3vh, 30px);
}
.finale-links nav { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; }
.finale-links nav a, .finale-links nav > span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 15px; font-weight: 550;
  color: var(--sand-dim); text-decoration: none;
}
.finale-links nav a:hover { color: var(--sand); text-decoration: underline; text-underline-offset: 4px; }
.fine { font-size: 13px; color: rgba(244, 232, 218, .6); }
.brand-foot { font-size: 19px; }

/* ---------- Reveal (only when JS is ready and motion is on) ---------- */
html.reveal-ready[data-motion="on"] .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.reveal-ready[data-motion="on"] .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .travel-grid { grid-template-columns: 1fr; }
  .travel-side { position: static; }
  .tickets-head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 62px; }
  .draft-long { display: none; }
  .draft-short { display: inline; }
  .motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .motion-toggle { padding: 0; width: 44px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 22px; height: 22px; }
  .nav .btn { padding: 0 16px; }

  .hero-foot { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .btn-lg { min-height: 50px; padding: 0 22px; }
  .saguaro-a { left: -3%; height: 40%; bottom: 12%; }
  .saguaro-b { right: 3%; height: 24%; }
  .saguaro-c { display: none; }
  .ridge-far { height: 34%; }
  .ridge-mid { height: 27%; }
  .ridge-near { height: 24%; }

  .night-tabs { grid-template-columns: 1fr 1fr; }
  .stub { --side: 72px; min-height: 300px; }
  .stub-side span { font-size: 14px; }
  .travel-list li { grid-template-columns: 40px 1fr; }

  .f-sag-a { left: 60%; height: 60%; }
  .f-sag-b { left: 80%; }
  .finale-links { flex-direction: column; align-items: flex-start; }
  .finale-links nav { margin-left: -10px; }
}
@media (max-width: 380px) {
  .nav .btn span[aria-hidden] { display: none; }
}
