/* GoingOut website: the app's black and red as a neon sign on a dark brick wall. The headline is a lit sign (a
   glowing tube border, "tonight." as a red tube that flickers on and buzzes now and then), Miami's campus card is
   lit like an OPEN sign and the coming-soon campuses are unlit tubes. Content sits on dark cards so it always reads
   cleanly. Phones first; wider screens add columns. Motion stops for people who prefer reduced motion. Also used by
   the legal pages and the account (/auth) page. */

@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/PlusJakartaSans_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/PlusJakartaSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/PlusJakartaSans_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #060607;
  --surface: #111113;
  --card: rgba(14, 14, 16, 0.86);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a6aab1;
  --faint: #6f737a;
  --red: #c8102e;
  --red-hot: #ff2d46;
  --r-sm: 12px;
  --r-lg: 24px;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --glow: 0 30px 80px -30px rgba(255, 45, 70, 0.55);
  --nav: 64px;
  --max: 1120px;
  --gutter: 20px;
  --tube: #ffc4cb;
  --neon: 0 0 2px #fff, 0 0 6px #ff2d46, 0 0 14px #ff2d46, 0 0 32px rgba(200, 16, 46, 0.9), 0 0 64px rgba(200, 16, 46, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Jakarta', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

/* ---------- the wall ---------- */
/* Dark brick, darker at the edges, with red light spilling down from the sign at the top. */
.wall {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(200, 16, 46, 0.2), transparent 70%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.75) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48'%3E%3Cpath d='M0 .5h96M0 24.5h96M.5 0v24M48.5 24v24' stroke='%23fff' stroke-opacity='.045' fill='none'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #0d0b0c, #070607);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 28px; width: auto; }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 800 16px/1 'Jakarta', system-ui, sans-serif; text-decoration: none; color: #fff;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-red { background: var(--red); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 12px 32px -10px rgba(255, 45, 70, 0.8); }
.btn-red:hover { background: #d81434; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 44px -10px rgba(255, 45, 70, 0.95); }
.btn-red:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-white { background: #fff; color: #0b0b0d; }
.btn-white:hover { transform: translateY(-2px); }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; background: #fff; color: #0b0b0d; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - var(--nav)); max-width: 900px; margin: 0 auto; padding: 7svh var(--gutter) 64px; justify-content: center;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* A small neon sign above the headline. */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  border: 2px solid var(--tube); box-shadow: 0 0 6px #ff2d46, 0 0 18px rgba(255, 45, 70, 0.6), inset 0 0 8px rgba(255, 45, 70, 0.5);
  color: var(--tube); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  text-shadow: 0 0 4px #ff2d46, 0 0 12px #ff2d46;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px #fff, 0 0 10px #ff2d46, 0 0 18px #ff2d46; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { background: #5a1a22; box-shadow: none; } }

/* The sign: a neon tube around the headline. */
.sign {
  position: relative; margin-top: 28px; padding: 22px 26px 26px; border-radius: 28px;
  border: 3px solid var(--tube);
  box-shadow: 0 0 4px #fff, 0 0 10px #ff2d46, 0 0 26px #ff2d46, 0 0 60px rgba(200, 16, 46, 0.55), inset 0 0 12px #ff2d46, inset 0 0 40px rgba(200, 16, 46, 0.35);
  animation: power-on 1.6s linear both;
}
/* The red light the sign throws on the wall. */
.sign::before { content: ''; position: absolute; inset: -35% 0; z-index: -1; background: radial-gradient(closest-side, rgba(255, 45, 70, 0.22), transparent); }
.headline { font-size: clamp(44px, 11vw, 92px); line-height: 1; letter-spacing: -0.04em; color: #fff; text-shadow: 0 0 2px #fff, 0 0 18px rgba(255, 210, 215, 0.35); }
/* "tonight." as a hollow red tube: a pale core with a red glow. */
.neon {
  display: inline-block; color: transparent; font-weight: 500; -webkit-text-stroke: 2px #ff8794; letter-spacing: -0.01em;
  filter: drop-shadow(0 0 1px #ff2d46) drop-shadow(0 0 6px #ff2d46) drop-shadow(0 0 16px #c8102e) drop-shadow(0 0 34px rgba(200, 16, 46, 0.8));
  animation: power-on 1.6s linear 0.3s both, buzz 9s linear 3s infinite;
}
/* Flickers on like a sign being switched on, then buzzes off for a blink every few seconds. */
@keyframes power-on {
  0%, 9%, 13%, 22%, 28% { opacity: 0.08; }
  10%, 12%, 23%, 27%, 30%, 100% { opacity: 1; }
}
@keyframes buzz {
  0%, 92%, 94%, 96.5%, 100% { opacity: 1; }
  93%, 96% { opacity: 0.2; }
}
.sub { margin-top: 28px; max-width: 460px; color: #d4d6da; font-size: clamp(17px, 2vw, 20px); text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- tour ---------- */
.tour { position: relative; height: 400svh; }
.stage {
  --ph: min(540px, calc(100svh - var(--nav) - 230px));
  position: sticky; top: 0; height: 100svh; padding: calc(var(--nav) + 16px) var(--gutter) 24px;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 16px;
}
.tour-copy { order: 2; width: 100%; max-width: 440px; text-align: center; }
.tour-copy .label { display: none; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; min-height: 116px; }
.step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s; pointer-events: none; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step h3 { font-size: 22px; }
.step p { margin-top: 6px; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); transition: width 0.3s, background 0.3s; }
.dot.is-on::before { width: 24px; background: var(--red-hot); }

/* The phone: a titanium-edged frame with side buttons, a red underglow and its reflection on the grid. */
.device { position: relative; order: 1; }
.device::after {
  content: ''; position: absolute; inset: 8% -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 45, 70, 0.3), transparent);
}
.phone {
  --pad: calc(var(--ph) * 0.016); --bar: calc(var(--ph) * 0.054);
  position: relative; height: var(--ph); aspect-ratio: 390 / 891;
  padding: calc(var(--ph) * 0.016); border-radius: calc(var(--ph) * 0.075);
  background: linear-gradient(145deg, #4a4b51, #17181b 30%, #0c0c0e 60%, #3a3b40);
  box-shadow: 0 0 0 1px #000, 0 0 0 2px #2b2c30, 0 0 0 3px rgba(255, 90, 105, 0.55), 0 0 22px rgba(255, 45, 70, 0.55), 0 40px 80px -24px rgba(0, 0, 0, 0.9);
}
/* Volume buttons (left) and side button (right). */
.phone::before, .phone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #3c3d42, #1b1c1f); }
.phone::before { left: -3px; top: 20%; height: 6%; box-shadow: 0 calc(var(--ph) * 0.085) 0 #2a2b2f; }
.phone::after { right: -3px; top: 26%; height: 10%; }
.screens {
  position: absolute; inset: calc(var(--pad) + var(--bar)) var(--pad) var(--pad); overflow: hidden; isolation: isolate;
  border-radius: 0 0 calc(var(--ph) * 0.06) calc(var(--ph) * 0.06); background: #000;
}
.statusbar {
  position: absolute; z-index: 2; top: var(--pad); left: var(--pad); right: var(--pad); height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--ph) * 0.05) 0 calc(var(--ph) * 0.055);
  border-radius: calc(var(--ph) * 0.06) calc(var(--ph) * 0.06) 0 0; background: #000;
  font-size: calc(var(--ph) * 0.021); font-weight: 700; letter-spacing: 0;
}
.statusbar i { display: block; width: calc(var(--ph) * 0.04); height: calc(var(--ph) * 0.018); border-radius: 3px; border: 1.5px solid rgba(255, 255, 255, 0.85); position: relative; }
.statusbar i::after { content: ''; position: absolute; inset: 1.5px; right: 30%; border-radius: 1px; background: #fff; }
.screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: translateX(100%); transition: transform 0.65s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.screen.is-past { transform: translateX(-100%); }
.screen.is-shown { transform: none; }
.island { position: absolute; z-index: 3; top: calc(var(--pad) + var(--bar) * 0.2); left: 50%; width: 30%; height: calc(var(--bar) * 0.62); transform: translateX(-50%); border-radius: 99px; background: #000; box-shadow: 0 0 0 1px #111; }
.glare {
  position: absolute; z-index: 4; inset: var(--pad); border-radius: calc(var(--ph) * 0.06); pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 28%, transparent 40%);
}

/* ---------- sections ---------- */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter); }
.label { margin-bottom: 12px; color: var(--tube); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; text-shadow: 0 0 4px #ff2d46, 0 0 12px #ff2d46; }
.title { font-size: clamp(32px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.04em; max-width: 760px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7); }
.lead { margin-top: 14px; color: var(--muted); max-width: 460px; }

/* Feature cards: dark glass over the grid, a red edge lights up on hover. */
.section-tight { padding-block: 48px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.card {
  position: relative; padding: 16px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--tube); box-shadow: var(--shadow), 0 0 8px #ff2d46, 0 0 24px rgba(255, 45, 70, 0.5), inset 0 0 12px rgba(255, 45, 70, 0.3); }
.card-icon {
  width: 36px; height: 36px; margin-bottom: 12px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red-hot), var(--red)); box-shadow: 0 10px 24px -8px rgba(255, 45, 70, 0.7);
}
.card-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 16px; line-height: 1.25; letter-spacing: -0.02em; }
.card p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }

/* Organizations: one red-lit panel. */
.orgs-panel {
  position: relative; overflow: hidden; padding: 32px 24px; border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 100% 0%, rgba(200, 16, 46, 0.5), transparent 55%), var(--card);
  border: 1px solid rgba(255, 45, 70, 0.3); box-shadow: var(--shadow), var(--glow);
}
.orgs-panel .label { color: #ff8a95; }
.benefits { list-style: none; counter-reset: b; margin: 28px 0 32px; padding: 0; display: grid; gap: 20px; }
.benefits li { counter-increment: b; position: relative; padding-left: 52px; }
.benefits li::before {
  content: counter(b); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  background: rgba(255, 45, 70, 0.16); color: #ff8a95; border: 1px solid rgba(255, 45, 70, 0.4);
}
.benefits h3 { font-size: 19px; }
.benefits p { margin-top: 4px; color: var(--muted); }

/* Campuses: Miami lit up, the rest waiting their turn. */
.campuses { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.campus {
  display: flex; flex-direction: column; gap: 4px; min-height: 148px; padding: 18px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.campus strong { margin-top: auto; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.campus > span:last-child, .campus a > span:last-child { color: var(--faint); font-size: 13px; line-height: 1.35; }
/* Status signs: unlit tubes for coming soon, a lit one for Miami. */
.status {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 10px; border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.32); white-space: nowrap;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.campus.is-open {
  grid-column: 1 / -1; min-height: 168px;
  background: radial-gradient(100% 120% at 0% 0%, rgba(200, 16, 46, 0.35), transparent 60%), var(--card);
  border-color: rgba(255, 45, 70, 0.45); box-shadow: var(--shadow), var(--glow);
}
.campus.is-open strong { font-size: 40px; }
.campus.is-open .status {
  padding: 8px 14px; border: 2px solid var(--tube); color: var(--tube); font-size: 13px;
  box-shadow: 0 0 4px #fff, 0 0 10px #ff2d46, 0 0 24px rgba(255, 45, 70, 0.7), inset 0 0 8px rgba(255, 45, 70, 0.6);
  text-shadow: var(--neon);
  animation: buzz 7s linear 2s infinite;
}
.campus.is-open > span:last-child { color: #d4d6da; }
.campus-yours .status { border-style: dashed; }
.campus-yours { grid-column: 1 / -1; min-height: 0; padding: 0; background: transparent; border: 1px dashed rgba(255, 255, 255, 0.22); box-shadow: none; }
.campus-yours strong { margin-top: 8px; }
.campus-yours a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; text-decoration: none; border-radius: inherit; transition: background 0.2s; }
.campus-yours a:hover { background: rgba(255, 255, 255, 0.04); }

/* ---------- waitlist ---------- */
.waitlist-card {
  max-width: 600px; margin: 0 auto; padding: 32px 22px; border-radius: var(--r-lg); text-align: center;
  background: var(--card); border: 2px solid rgba(255, 196, 203, 0.75);
  box-shadow: var(--shadow), 0 0 8px #ff2d46, 0 0 30px rgba(255, 45, 70, 0.4), inset 0 0 14px rgba(255, 45, 70, 0.25);
}
.waitlist .title { font-size: clamp(28px, 5vw, 44px); margin-inline: auto; }
.waitlist .lead { margin-inline: auto; }
form { display: grid; gap: 14px; margin-top: 28px; text-align: left; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); }
.role {
  height: 44px; border-radius: 999px; border: 0; cursor: pointer; background: transparent; color: var(--muted);
  font: 800 15px/1 'Jakarta', system-ui, sans-serif; transition: background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.role.is-on { background: #fff; color: #0b0b0d; }
.field { display: grid; gap: 6px; }
.field[hidden] { display: none; }
.field span { font-size: 14px; font-weight: 700; color: var(--muted); }
.field input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45); color: #fff; font: 500 16px 'Jakarta', system-ui, sans-serif; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #5f636a; }
.field input:focus { border-color: rgba(255, 45, 70, 0.75); box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.2); }
.field input::-webkit-calendar-picker-indicator { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { min-height: 1.4em; color: #ff8a95; font-weight: 700; text-align: center; }
.fine { color: var(--faint); font-size: 13px; text-align: center; }
.fine a { color: var(--muted); }
.success { padding: 28px 0 8px; }
.success h3 { font-size: 30px; }
.success p { margin-top: 8px; color: var(--muted); }
.check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: 30px; font-weight: 800; box-shadow: 0 14px 40px -10px rgba(255, 45, 70, 0.8); animation: pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

/* ---------- footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); color: var(--faint); font-size: 14px;
}
.footer img { height: 22px; width: auto; opacity: 0.85; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero { padding-top: 9svh; }
  .sign { padding: 28px 48px 34px; border-radius: 36px; }
  .neon { -webkit-text-stroke-width: 2.5px; }
  .nav-links { display: flex; }
  .section { padding-block: 112px; }
  .section-tight { padding-block: 72px; }
  .cards { gap: 14px; }
  .card { padding: 20px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 15px; }
  .orgs-panel { padding: 56px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .benefits li { padding: 52px 0 0; }
  .campuses { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .campus { padding: 22px; min-height: 168px; }
  .campus-yours { padding: 0; }
  .campus-yours a { padding: 22px; }
  .campus.is-open { grid-column: span 2; }
  .campus.is-open strong { font-size: 52px; }
  .waitlist-card { padding: 48px; }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .stage {
    --ph: min(660px, calc(100svh - var(--nav) - 112px));
    grid-template-rows: none; grid-template-columns: 1fr auto; column-gap: 80px; justify-items: start; padding-bottom: 32px;
  }
  .tour-copy { order: 0; text-align: left; max-width: 460px; }
  .tour-copy .label { display: block; }
  .steps { min-height: 0; display: grid; gap: 4px; }
  .step { position: relative; inset: auto; opacity: 0.35; transform: none; pointer-events: auto; padding: 16px 0 16px 22px; border-left: 2px solid rgba(255, 255, 255, 0.12); transition: opacity 0.4s, border-color 0.4s; }
  .step.is-active { border-left-color: var(--red-hot); }
  .step h3 { font-size: 26px; }
  .dots { justify-content: flex-start; margin: 20px 0 0 14px; }
  .device { order: 0; }
}

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

/* Section links land below the sticky top bar. */
section[id] { scroll-margin-top: var(--nav); }
.tour { scroll-margin-top: 0; }
