/* Pod Stays Directory — original styles. No third-party CSS. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Inter, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --sky-1: #8fb3e3;
  --sky-2: #c9d9ee;
  --sky-3: #eef2f8;
  --night-1: #0a1020;
  --night-2: #18233f;
  --cool: #3d6fe0;
  --warm: #e0763d;

  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef0f4;
  --ink: #0b0d12;
  --ink-2: #3f4656;
  --line: #d9dde5;
  /* Two-tone focus indicator: a dark ring plus a light halo, so one of the two always
     reaches 3:1 against whatever sits next to it (light sky, frosted header, dark bands). */
  --focus: #0b2a7a;
  --focus-halo: #ffffff;

  --ok-ink: #0b6b52;   --ok-bg: #e2f3ec;
  --claim-ink: #7a4f00; --claim-bg: #fbf0d6;
  --lead-ink: #4b5160; --lead-bg: #eceef2;
  --warn-ink: #7c2d12; --warn-bg: #fdeee6; --warn-line: #f2c3aa;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(11 13 18 / .05), 0 8px 24px -12px rgb(11 13 18 / .18);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f1a;
    --surface: #121829;
    --surface-2: #19203a;
    --ink: #eef1f7;
    --ink-2: #b4bccc;
    --line: #2a3350;
    --focus: #cfe0ff;
    --focus-halo: #0b0f1a;
    --ok-ink: #8fe3c4;   --ok-bg: #0f2e27;
    --claim-ink: #f3cf85; --claim-bg: #33270d;
    --lead-ink: #c6cbd6;  --lead-bg: #222a40;
    --warn-ink: #ffc4a6; --warn-bg: #351a10; --warn-line: #6b3520;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 10px 30px -14px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-halo); }
/* Focus tokens follow the surface, not the colour scheme: the day sky and the frosted header are
   light in both schemes, the dusk sky and night header are dark. */
.skip, .topbar, .hero__stage { --focus: #0b2a7a; --focus-halo: #ffffff; }
.topbar.is-night, .hero__stage.is-dusk { --focus: #cfe0ff; --focus-halo: #0b0f1a; }
@media (prefers-color-scheme: dark) {
  .topbar.is-solid { --focus: #cfe0ff; --focus-halo: #0b0f1a; }
}
button, select, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
p { margin: 0; }
.wrap { width: min(100% - max(var(--gutter), env(safe-area-inset-left, 0px)) - max(var(--gutter), env(safe-area-inset-right, 0px)), var(--max)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip {
  position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 100;
  transform: translateY(-160%);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; transition: transform .2s var(--ease-out);
}
.skip:focus-visible { transform: none; }

/* ---------- Header ---------- */
.topbar {
  position: fixed; z-index: 50;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  left: max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--max); margin-inline: auto;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / .55);
  border: 1px solid rgb(255 255 255 / .6);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: #0b0d12;
  /* No colour transition: light/dark header states swap instantly, because a crossfade passes
     through a mid-tone where neither the old nor the new text colour reaches 4.5:1. */
}
.topbar.is-night { background: rgb(12 18 34 / .55); border-color: rgb(255 255 255 / .12); color: #eef1f7; }
.topbar.is-solid { background: rgb(255 255 255 / .86); border-color: var(--line); color: #0b0d12; }
@media (prefers-color-scheme: dark) {
  .topbar.is-solid { background: rgb(18 24 41 / .82); border-color: var(--line); color: var(--ink); }
  .topbar.is-solid .cta { background: #fff; color: #0b0d12 !important; }
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; border-radius: 7px; }
.brand small { font-weight: 500; opacity: .7; font-size: .78rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 12px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center;
}
.nav a:hover { background: rgb(127 140 170 / .16); }
.nav .back { opacity: .72; font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: .85rem; }
.nav .back:hover { opacity: 1; }
/* Tablet: keep each nav label on one line (observed wrapping at 768px). */
.nav a { white-space: nowrap; }
@media (max-width: 1024px) {
  .brand small { display: none; }
  .nav a { padding-inline: 9px; letter-spacing: .06em; }
}
@media (max-width: 720px) {
  .nav a:not(.back):not(.cta) { display: none; }
  .brand small { display: none; }
}
.cta {
  background: #0b0d12; color: #fff !important; padding-inline: 16px !important;
}
.topbar.is-night .cta { background: #fff; color: #0b0d12 !important; }
.cta:hover { background: #262b36 !important; }
.topbar.is-night .cta:hover { background: #dfe6f3 !important; }

/* ---------- Hero (scroll-driven) ---------- */
.hero { position: relative; height: 165svh; background: var(--night-1); }
.hero__stage {
  position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden;
  display: grid; place-items: center; isolation: isolate;
  --p: 0;
}
.hero__sky, .hero__night, .hero__stars { position: absolute; inset: 0; z-index: -1; }
.hero__sky { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%); }
.hero__night {
  background: linear-gradient(180deg, var(--night-1) 0%, var(--night-2) 70%, #2a3558 100%);
  /* Day: only a faint tint follows scroll. Dusk is an instant state change (see .is-dusk), with no
     transition: any fade crosses a band where neither dark nor light text reaches 4.5:1. */
  opacity: calc(var(--p) * .3);
}
.hero__stage.is-dusk .hero__night { opacity: .96; }
.hero__stars {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 52% 52%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 64%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 70%, #fff 50%, transparent 51%);
  opacity: calc((var(--p) - .35) * 1.6);
  transform: translateY(calc(var(--p) * -24px));
}
.hero__inner {
  text-align: center; max-width: 980px;
  padding: calc(120px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(64px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  transform: translateY(calc(var(--p) * -10vh));
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgb(255 255 255 / .6); color: #1b2440;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(90deg, var(--cool), var(--warm)); }
.hero__title {
  margin-top: 20px;
  font-size: clamp(3.4rem, 15vw, 10.5rem);
  font-weight: 560; letter-spacing: -0.045em; line-height: .92;
  color: #12224a;
  background: linear-gradient(180deg, #0e1c40 15%, #2c4a86 70%, #3a5a9a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: scale(calc(1 - var(--p) * .12));
  transform-origin: 50% 80%;
}
.hero__lede {
  margin: 22px auto 0; max-width: 40ch;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.4; font-weight: 450;
  color: #0f1730;
}
.hero__stage.is-dusk .hero__lede { color: #e6ecf8; }
.hero__stage.is-dusk .hero__title { background-image: linear-gradient(180deg, #ffffff 10%, #dfe9f8 55%, #a9c2e8 100%); }
.hero__stage.is-dusk .eyebrow { background: rgb(255 255 255 / .12); color: #e6ecf8; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s;
}
/* Hero buttons swap light/dark at dusk: switch colours instantly (see .hero__night). */
.hero__stage .btn { transition: transform .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--solid { background: #0b0d12; color: #fff; }
.btn--solid:hover { background: #262b36; }
.btn--ghost { background: rgb(255 255 255 / .5); border-color: rgb(11 13 18 / .14); color: #0b0d12; }
.btn--ghost:hover { background: rgb(255 255 255 / .8); }
.hero__stage.is-dusk .btn--solid { background: #fff; color: #0b0d12; }
.hero__stage.is-dusk .btn--ghost { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .28); color: #fff; }

.thermal {
  position: absolute; left: 0; right: 0; bottom: 9svh; height: 60px; z-index: -1; opacity: .9;
}
.thermal path {
  fill: none; stroke: url(#thermalGrad); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p) * 1.4);
}
.hero__facts {
  position: absolute; left: 50%; bottom: 3svh; transform: translateX(-50%);
  width: min(100% - 2 * var(--gutter), 760px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border-radius: 14px; overflow: hidden;
  background: rgb(255 255 255 / .25);
  transition: opacity .3s var(--ease-out), visibility 0s linear 0s;
}
/* State change, not a scroll-linked fade, so the facts never rest at low contrast.
   Their content is repeated in the notice band and directory count. */
.hero__stage.is-moving .hero__facts { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s linear .3s; }
.hero__facts div { background: rgb(255 255 255 / .45); padding: 10px 14px; text-align: left; }
.hero__facts dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; color: #2b3552; }
.hero__facts dd { margin: 2px 0 0; font-weight: 600; color: #0b0d12; font-size: .95rem; }
@media (max-width: 560px) {
  .hero { height: 135svh; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts div:last-child { grid-column: span 2; }
  .thermal { bottom: 18svh; }
}
@media (max-height: 700px) and (max-width: 560px) { .hero__facts { display: none; } }

/* ---------- Independence band ---------- */
.notice {
  background: var(--night-2); color: #e6ecf8;
  padding: clamp(28px, 5vw, 44px) 0;
}
.notice .wrap { display: grid; gap: 16px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .notice .wrap { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.notice h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.notice p { color: #c9d3e8; max-width: 62ch; }
.notice p + p { margin-top: 10px; }
.notice strong { color: #fff; font-weight: 600; }
.notice ul { margin: 10px 0 0; padding-left: 1.1em; display: grid; gap: 6px; color: #c9d3e8; max-width: 62ch; }
.notice .vendor-head { margin-top: 16px; color: #fff; font-weight: 600; }

/* ---------- Directory ---------- */
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.035em; }
.section__head p { color: var(--ink-2); max-width: 54ch; }
.kicker { font-size: .75rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }

.filters {
  display: flex; flex-wrap: wrap; align-items: end; gap: 12px 14px;
  padding: 12px; margin-bottom: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 4px; min-width: 0; flex: 1 1 180px; }
@media (max-width: 560px) { .field { flex-basis: 130px; } #f-kind { min-width: 0; } .filters .field:nth-child(3) { flex-basis: 100%; } }
.field > label, .field > legend { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 44px; padding: 0 38px 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
  cursor: pointer;
}
fieldset.field { border: 0; margin: 0; padding: 0; flex: 3 1 420px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: .9rem; font-weight: 550; user-select: none; white-space: nowrap; transition: background-color .2s, border-color .2s;
}
.chip span::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .55;
}
.chip input:checked + span { background: var(--surface-2); border-color: var(--ink-2); }
.chip input:checked + span::before {
  opacity: 1; background: currentColor;
  box-shadow: inset 0 0 0 2px var(--surface-2);
}
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-halo); }
.reset {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-weight: 600; flex: 0 0 auto;
}
.reset:hover { background: var(--surface-2); }
.count { font-size: .95rem; color: var(--ink-2); margin: 0 0 16px; min-height: 1.5em; }
.count strong { color: var(--ink); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.empty {
  display: none; padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--ink-2);
}
.empty.is-shown { display: block; }

.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  view-transition-class: card;
}
.card[hidden] { display: none; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 650; letter-spacing: .01em;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--room-documented { color: var(--ok-ink); background: var(--ok-bg); }
.badge--listing-claim { color: var(--claim-ink); background: var(--claim-bg); }
.badge--unconfirmed-lead { color: var(--lead-ink); background: var(--lead-bg); }
.badge--unconfirmed-lead::before { background: transparent; border: 1.5px dashed currentColor; }
.verified { font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card h3 { font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.2; }
.place { color: var(--ink-2); font-size: .95rem; margin-top: 4px; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; }
.facts dt { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; font-size: .97rem; }
.unknown { color: var(--ink-2); font-style: italic; }
.warn {
  display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line);
  font-size: .93rem;
}
.warn p { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.warn p::before { content: "!"; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--warn-ink); color: var(--warn-bg); font-weight: 800; font-size: .72rem; }
.todo { border-top: 1px solid var(--line); padding-top: 12px; }
.todo summary {
  cursor: pointer; font-weight: 600; font-size: .95rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px;
}
.todo summary::-webkit-details-marker { display: none; }
.todo summary::after { content: "+"; font-size: 1.2rem; line-height: 1; transition: transform .25s var(--ease-out); }
.todo[open] summary::after { transform: rotate(45deg); }
.todo ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: .93rem; display: grid; gap: 4px; }
.todo a { font-size: .93rem; }
.links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 600;
}
.links a:hover { background: var(--surface-2); }
.links a .tag { font-weight: 500; color: var(--ink-2); }
.links a.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.links a.primary .tag { color: inherit; opacity: .75; }
.links a.primary:hover { opacity: .9; }

/* Reveal: progressive enhancement only; cards are visible without JS. */
.js .card.pre { opacity: 0; transform: translateY(18px); }
.js .card.in { opacity: 1; transform: none; transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: var(--d, 0ms); }

/* ---------- Before you book ---------- */
.checklist { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: c; }
.checklist li {
  counter-increment: c; position: relative;
  padding: 22px 22px 22px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.checklist li::before {
  content: counter(c, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .8rem; color: var(--ink-2); margin-bottom: 10px;
}
.checklist h3 { font-size: 1.12rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.checklist p { color: var(--ink-2); font-size: .97rem; }
.alt { background: var(--surface-2); }

/* ---------- Method ---------- */
.legend { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin-bottom: 36px; }
.legend > div { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.legend p { color: var(--ink-2); margin-top: 10px; font-size: .97rem; }
.prose { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.prose h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 max(56px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.footer .wrap { display: grid; gap: 14px; }
.footer .row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer .row a { display: inline-block; padding: 8px 2px; }

/* ---------- Intro (skippable, never blocks content) ---------- */
.intro { display: none; }
html.has-intro .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 90;
  background: radial-gradient(120% 80% at 50% 110%, #2a3558 0%, var(--night-1) 60%);
  color: #e6ecf8;
  animation: introOut .7s var(--ease-out) 1.35s forwards;
}
html.has-intro .intro__line {
  font-size: clamp(1.4rem, 4.5vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; text-align: center; padding: 0 var(--gutter);
  opacity: 0; transform: translateY(10px); filter: blur(6px);
  animation: introIn .8s var(--ease-out) .1s forwards;
}
html.has-intro .intro__line span { background: linear-gradient(90deg, #a9c2e8, #fff 50%, #f2b48f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__skip {
  position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .06); color: #fff; cursor: pointer; font-weight: 600;
}
.intro__skip:hover { background: rgb(255 255 255 / .16); }
html.intro-done .intro { display: none !important; }
@keyframes introIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } }

/* View transitions for filtering */
::view-transition-group(*) { animation-duration: .35s; animation-timing-function: var(--ease-out); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.has-intro .intro { display: none; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: 100svh; --p: 0 !important; }
  .hero__inner { padding-bottom: 180px; }
  .js .card.pre { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
  .topbar, .intro, .filters, .skip, .hero__facts, .thermal { display: none !important; }
  .hero { height: auto; } .hero__stage { position: static; height: auto; min-height: 0; }
  .js .card.pre { opacity: 1; transform: none; }
  .todo:not([open]) ul { display: block; }
}

@media (forced-colors: active) {
  .hero__title, html.has-intro .intro__line span { color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; }
  .badge, .chip span, .card, .links a { border: 1px solid CanvasText; }
}
