/* ============================================================
   SNOWREPORT.APP V2 — "The Snow Observatory"
   Field-instrument design system. Static, framework-free.
   Light: SNOWFIELD (cold paper, slate ink, ultramarine probe)
   Dark:  POLAR NIGHT (auto via prefers-color-scheme)
   No webfonts, no CDN, no gradients-as-decoration, no glass.
   ============================================================ */

:root {
  /* field + surfaces */
  --field: #f4f7f9;
  --card: #ffffff;
  --card-2: #eaf1f5;
  --card-3: #dee9ef;

  /* ink */
  --ink: #0e1d28;
  --ink-2: #44606f;
  --ink-3: #587082;

  /* rules */
  --line: #d9e2e8;
  --line-2: #b7c8d1;

  /* probe accent */
  --probe: #1f3fc6;
  --probe-deep: #16309b;
  --probe-ink: #ffffff;
  --probe-soft: #e5eafb;

  /* status: reserved semantics, never decorative */
  --ok: #1b6f42;
  --ok-soft: #e0f0e7;
  --warn: #93610a;
  --warn-soft: #f7edd8;
  --alert: #b13418;
  --alert-soft: #f9e5df;

  /* snowfall sequential ramp (one hue, light to dark) */
  --snow-1: #dcebf5;
  --snow-2: #aecfe6;
  --snow-3: #79add2;
  --snow-4: #4d88bb;
  --snow-5: #2f639c;
  --snow-6: #1c4173;

  /* alpine depth: ridge layers, far to near */
  --ridge-1: #dfe8ee;
  --ridge-2: #c9d8e2;
  --ridge-3: #adc2d1;
  --ridge-4: #8ba7bb;

  --shadow: 0 1px 0 rgba(14, 29, 40, .05), 0 10px 28px -14px rgba(14, 29, 40, .18);
  --shadow-lg: 0 2px 4px rgba(14, 29, 40, .05), 0 24px 56px -24px rgba(14, 29, 40, .28);
  --r: 4px;
  --r-lg: 8px;

  --sans: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --field: #0a1219;
    --card: #101d28;
    --card-2: #16242f;
    --card-3: #1c2e3b;

    --ink: #e8eff5;
    --ink-2: #a5b8c4;
    --ink-3: #7b91a0;

    --line: #21333f;
    --line-2: #354b5d;

    --probe: #94aaff;
    --probe-deep: #b7c6ff;
    --probe-ink: #0a1220;
    --probe-soft: #1a2340;

    --ok: #59b985;
    --ok-soft: #12291d;
    --warn: #d9a33e;
    --warn-soft: #2d2310;
    --alert: #e0704f;
    --alert-soft: #331710;

    --snow-1: #1d3247;
    --snow-2: #2c4c69;
    --snow-3: #3f6b8f;
    --snow-4: #5e8fb5;
    --snow-5: #8ab4d6;
    --snow-6: #bcd9ee;

    --ridge-1: #13202b;
    --ridge-2: #182835;
    --ridge-3: #1f3242;
    --ridge-4: #294253;

    --shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 10px 28px -14px rgba(0, 0, 0, .55);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 56px -24px rgba(0, 0, 0, .65);
    color-scheme: dark;
  }
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--sans);
  background: var(--field);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--probe); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; color: inherit; }
::selection { background: var(--probe); color: var(--probe-ink); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--probe); color: var(--probe-ink); padding: .6rem 1rem; font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- shell ---------- */
.shell { width: min(1140px, 100% - 3rem); margin-inline: auto; }
@media (max-width: 600px) { .shell { width: calc(100% - 2.2rem); } }

main { flex: 1; }

/* ---------- observatory voice (data only, never above headings) ---------- */
.mono { font-family: var(--mono); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.unit { font-size: .58em; color: var(--ink-3); font-weight: 500; letter-spacing: .04em; margin-left: .1em; }

/* ---------- header ---------- */
.hdr {
  border-bottom: 1px solid var(--line);
  background: var(--field);
  position: relative; z-index: 5;
}
.hdr-in {
  display: flex; align-items: center; gap: 1.4rem;
  padding: .95rem 0;
}

/* the wordmark: one unbreakable, evenly spaced unit */
.brand {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--ink); white-space: nowrap; flex: none;
  font-size: 1.04rem; letter-spacing: -.015em;
}
.brand:hover { text-decoration: none; }
.brand .mark { width: 21px; height: 21px; color: var(--probe); flex: none; }
.brand .wm { font-weight: 800; }
.brand .wm i { font-style: normal; font-weight: 500; color: var(--ink-3); }

.nav { display: flex; gap: .2rem; margin-left: auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  font-size: .86rem; font-weight: 560; color: var(--ink-2);
  padding: .4rem .7rem; border-radius: var(--r);
}
.nav a:hover { color: var(--ink); background: var(--card-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--probe); background: var(--probe-soft); }
@media (max-width: 620px) {
  .hdr-in { flex-wrap: wrap; gap: .5rem .9rem; padding: .8rem 0; }
  .nav { width: 100%; margin-left: 0; justify-content: flex-start; gap: .1rem; }
  .nav a { padding: .34rem .55rem; font-size: .84rem; }
}

/* ---------- hero: the alpine scene ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}
.hero-in { position: relative; z-index: 3; }
.hero h1 {
  font-size: clamp(2.1rem, 5.8vw, 3.6rem);
  line-height: 1.04; letter-spacing: -.032em; font-weight: 830;
  max-width: 20ch; margin: 0 0 .8rem;
}
.hero h1 em { font-style: normal; color: var(--probe); }
.hero .sub { color: var(--ink-2); max-width: 54ch; font-size: 1.06rem; }

/* ridge layers: hand-drawn silhouettes with atmospheric perspective */
.ridges {
  position: relative; z-index: 1; margin-top: clamp(-1rem, -2vw, -2.5rem);
  pointer-events: none; user-select: none;
}
.ridges svg { width: 100%; height: clamp(140px, 22vw, 260px); display: block; }
.ridges .r1 { fill: var(--ridge-1); }
.ridges .r2 { fill: var(--ridge-2); }
.ridges .r3 { fill: var(--ridge-3); }
.ridges .r4 { fill: var(--ridge-4); }

#hero-snow {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
#crystal3d {
  position: absolute; z-index: 2; pointer-events: none;
  width: min(34vw, 380px); height: min(34vw, 380px);
  right: clamp(-2rem, 2vw, 4rem); top: clamp(-1rem, 1vw, 2rem);
  opacity: .9;
}
@media (max-width: 860px) { #crystal3d { display: none; } }

/* the station card floats over the ridge line: instrument in the landscape */
.station {
  position: relative; z-index: 4;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 1.15rem;
  max-width: 680px; margin-top: 2rem;
}
.station .row { display: flex; gap: .65rem; }
.station input[type="search"] {
  flex: 1; min-width: 0; font: inherit; font-size: 1.02rem;
  padding: .8rem .95rem; border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--field); color: var(--ink);
}
.station input[type="search"]::placeholder { color: var(--ink-3); }
.station input[type="search"]:focus { outline: 2px solid var(--probe); outline-offset: -1px; }
.station .aux {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .75rem; flex-wrap: wrap;
}
.geo-note { font-size: .78rem; color: var(--ink-3); margin-top: .6rem; }
@media (max-width: 560px) {
  .station .row { flex-direction: column; }
  .station .row .btn { width: 100%; }
  .station .aux { justify-content: flex-start; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .78rem 1.25rem; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 680; font-size: .94rem; white-space: nowrap;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-probe { background: var(--probe); color: var(--probe-ink); }
.btn-probe:hover { text-decoration: none; background: var(--probe-deep); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) {
  .btn-probe { background: #2b4ade; color: #fff; }
  .btn-probe:hover { background: #3a58e8; }
}
.btn-quiet { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-quiet:hover { color: var(--ink); background: var(--card-2); text-decoration: none; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn svg { width: 15px; height: 15px; flex: none; }

/* suggestions dropdown */
.suggest { position: relative; flex: 1; min-width: 0; }
.suggest input { width: 100%; }
.suggest-list {
  position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 30;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow-lg); max-height: 300px; overflow: auto;
}
.suggest-list:empty { display: none; }
.suggest-list button {
  display: flex; width: 100%; text-align: left; gap: .6rem; align-items: baseline;
  padding: .65rem .85rem; background: none; border: 0; border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.suggest-list button:last-child { border-bottom: 0; }
.suggest-list button:hover, .suggest-list button[aria-selected="true"] { background: var(--card-2); }
.suggest-list .meta { color: var(--ink-3); font-size: .78rem; margin-left: auto; white-space: nowrap; }
.suggest-list .elev { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); }

/* unit toggles */
.units { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.units button {
  border: 0; background: none; padding: .34rem .66rem; font-family: var(--mono);
  font-size: .76rem; color: var(--ink-3);
}
.units button + button { border-left: 1px solid var(--line-2); }
.units button[aria-pressed="true"] { background: var(--ink); color: var(--field); }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .06em;
  padding: .2rem .52rem; border-radius: 3px; border: 1px solid var(--line-2);
  color: var(--ink-2); text-transform: uppercase; white-space: nowrap;
}
.chip-conf-high { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.chip-conf-med { border-color: var(--warn); color: var(--warn); background: var(--warn-soft); }
.chip-conf-low { border-color: var(--line-2); color: var(--ink-3); background: var(--card-2); }
.chip-live { border-color: var(--probe); color: var(--probe); background: var(--probe-soft); }
.chip-stale { border-color: var(--warn); color: var(--warn); background: var(--warn-soft); }

.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- section headings (no tiny text above, ever) ---------- */
.sec-h { font-size: clamp(1.25rem, 2.6vw, 1.55rem); font-weight: 780; letter-spacing: -.022em; line-height: 1.15; }
.sec-note { font-size: .86rem; color: var(--ink-3); margin-top: .3rem; }
.sec-head { margin-bottom: 1.1rem; }

/* ---------- report ---------- */
.report { padding: 0 0 2.5rem; }
.report-head {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem 0 .5rem; border-bottom: 2px solid var(--ink);
}
.report-head h2 { font-size: 1.35rem; letter-spacing: -.02em; font-weight: 780; }
.report-head .coords { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }
.report-head .tools { margin-left: auto; display: flex; gap: .5rem; align-items: center; }

.iconbtn {
  display: inline-flex; align-items: center; gap: .4rem; background: none;
  border: 1px solid var(--line-2); border-radius: var(--r); padding: .38rem .65rem;
  font-size: .8rem; font-weight: 560; color: var(--ink-2);
}
.iconbtn:hover { color: var(--ink); background: var(--card-2); }
.iconbtn svg { width: 14px; height: 14px; }
.iconbtn[aria-pressed="true"] { color: var(--probe); border-color: var(--probe); background: var(--probe-soft); }

/* verdict */
.verdict { padding: 2rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.verdict .v-main {
  font-size: clamp(1.8rem, 4.8vw, 2.9rem); font-weight: 830; letter-spacing: -.03em;
  line-height: 1.08; max-width: 26ch;
}
.verdict .v-main .hl-now { color: var(--probe); }
.verdict .v-sub { margin-top: .6rem; color: var(--ink-2); font-size: 1.02rem; max-width: 62ch; }
.verdict .v-badges { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }

/* freshness strip */
.fresh {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: .72rem; color: var(--ink-3);
  padding: .6rem 0; border-bottom: 1px solid var(--line);
}
.fresh b { color: var(--ink-2); font-weight: 600; }

/* dials */
.dials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; margin-top: 1.5rem;
}
.dial { background: var(--card); padding: 1rem 1.05rem .9rem; }
.dial .k {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-3);
}
.dial .v { font-size: 1.55rem; font-weight: 770; letter-spacing: -.02em; margin-top: .28rem; }
.dial .w { font-size: .75rem; color: var(--ink-3); margin-top: .22rem; line-height: 1.35; }
@media (max-width: 560px) {
  .dials { grid-template-columns: repeat(2, 1fr); }
  .dial { padding: .85rem .9rem .75rem; }
  .dial .v { font-size: 1.3rem; }
}

.rsec { margin-top: 2.4rem; }

/* stake chart */
.stake-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.15rem 1.15rem .85rem; box-shadow: var(--shadow);
}
.stake-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: .5rem; }
.stake-head .total { font-size: 1.45rem; font-weight: 820; letter-spacing: -.02em; }
.stake-head .lbl { font-size: .82rem; color: var(--ink-2); }
.stake-head .rng { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); margin-left: auto; }
.stake-svg { width: 100%; height: auto; }
.stake-note { font-size: .75rem; color: var(--ink-3); margin-top: .55rem; }

/* windows table */
.wtab { width: 100%; border-collapse: collapse; font-size: .9rem; }
.wtab th {
  text-align: left; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 500;
  padding: .55rem .65rem; border-bottom: 2px solid var(--ink);
}
.wtab td { padding: .65rem .65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.wtab tr:last-child td { border-bottom: 0; }
.wtab .num { font-size: .88rem; }
.wtab-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* travel flags */
.flags { display: grid; gap: .6rem; }
.flag {
  display: flex; gap: .8rem; padding: .85rem 1rem; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--card); align-items: flex-start;
}
.flag svg { width: 17px; height: 17px; flex: none; margin-top: .12rem; }
.flag b { font-size: .9rem; }
.flag p { font-size: .83rem; color: var(--ink-2); margin-top: .12rem; }
.flag-ok { border-left: 3px solid var(--ok); }
.flag-ok svg { color: var(--ok); }
.flag-warn { border-left: 3px solid var(--warn); }
.flag-warn svg { color: var(--warn); }
.flag-alert { border-left: 3px solid var(--alert); }
.flag-alert svg { color: var(--alert); }

/* watchlist */
.watch { display: grid; gap: .55rem; }
.watch-row {
  display: flex; align-items: center; gap: .85rem; padding: .75rem .95rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  flex-wrap: wrap;
}
.watch-row .name { font-weight: 680; font-size: .93rem; }
.watch-row .meta { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.watch-row .delta { margin-left: auto; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); white-space: nowrap; }
.watch-row .delta.up { color: var(--probe); font-weight: 700; }
.watch-row button.go { background: none; border: 0; color: var(--probe); font-weight: 680; font-size: .85rem; }
.watch-row button.rm { background: none; border: 0; color: var(--ink-3); font-size: .95rem; line-height: 1; padding: .2rem; }
.watch-row button.rm:hover { color: var(--alert); }

/* ---------- states ---------- */
.state {
  border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 1.7rem 1.3rem;
  text-align: center; color: var(--ink-2); background: var(--card);
}
.state b { color: var(--ink); }
.state .mono { font-size: .74rem; color: var(--ink-3); display: block; margin-top: .4rem; }
.state-err { border-color: var(--alert); }
.state-err b { color: var(--alert); }

.measuring { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .8rem; color: var(--ink-2); }
.measuring .crystal { width: 18px; height: 18px; color: var(--probe); animation: grow 1.4s ease-in-out infinite; }
@keyframes grow { 0%, 100% { transform: scale(.72) rotate(0deg); opacity: .5; } 50% { transform: scale(1) rotate(30deg); opacity: 1; } }

/* ---------- snow-now board ---------- */
.board-controls { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.3rem 0; align-items: center; }
.fchip {
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2);
  font-size: .82rem; font-weight: 560; padding: .38rem .8rem; border-radius: 999px;
}
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--field); border-color: var(--ink); }

.board { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.brow {
  display: grid; grid-template-columns: minmax(170px, 1.5fr) auto 1fr;
  gap: .4rem .9rem; align-items: center; background: var(--card); padding: .8rem 1.05rem;
  font-size: .9rem; text-align: left; border: 0; width: 100%;
}
.brow:hover { background: var(--card-2); }
.brow .place { font-weight: 680; }
.brow .place small { display: block; font-weight: 450; color: var(--ink-3); font-size: .74rem; }
.bstatus { justify-self: start; }
.bstats { display: flex; gap: 1.1rem; justify-content: flex-end; flex-wrap: wrap; }
.bstats .stat { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.bstats .stat b { color: var(--ink); }
@media (max-width: 720px) {
  .brow { grid-template-columns: 1fr auto; padding: .75rem .9rem; }
  .bstats { grid-column: 1 / -1; justify-content: flex-start; gap: .9rem; border-top: 1px dashed var(--line); padding-top: .45rem; margin-top: .1rem; }
}
.board-sec {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3); background: var(--card-2); padding: .55rem 1.05rem;
}
details.board-quiet summary::-webkit-details-marker { display: none; }

/* ---------- ski meter ---------- */
.score-face {
  display: flex; gap: 1.8rem; align-items: center; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.score-num { font-size: 3.6rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.score-num .of { font-size: 1rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.score-word { font-size: 1.08rem; font-weight: 720; }
.score-cap { font-size: .84rem; color: var(--ink-2); max-width: 46ch; }

.score-scale { height: 8px; border-radius: 4px; background: var(--card-3); position: relative; margin-top: .65rem; }
.score-scale .fill { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--probe); }
.score-scale .pin { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--ink); }

.break { width: 100%; border-collapse: collapse; font-size: .88rem; }
.break td { padding: .65rem .55rem; border-bottom: 1px solid var(--line); }
.break tr:last-child td { border-bottom: 0; }
.break .comp { font-weight: 620; }
.break .why { color: var(--ink-3); font-size: .78rem; display: block; }
.break .pts { font-family: var(--mono); text-align: right; white-space: nowrap; }
.break .bar { height: 6px; background: var(--card-3); border-radius: 3px; min-width: 90px; position: relative; }
.break .bar i { position: absolute; inset: 0 auto 0 0; background: var(--probe); border-radius: 3px; }

/* ---------- elevation profile instrument ---------- */
.profile-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.15rem; box-shadow: var(--shadow); overflow: hidden;
}
.profile-wrap svg { width: 100%; height: auto; }
.profile-note { font-size: .75rem; color: var(--ink-3); margin-top: .5rem; }

/* ---------- destinations ---------- */
.region-band { margin: 2.2rem 0 1rem; }
.region-band img {
  width: 100%; height: clamp(110px, 16vw, 190px); object-fit: cover;
  border-radius: var(--r-lg); border: 1px solid var(--line); display: block;
}
.region-band .region-cap {
  display: flex; align-items: baseline; gap: .8rem; margin-top: .7rem; flex-wrap: wrap;
}
.region-band .region-cap .sec-h { margin: 0; }
.region-band .region-cap .count { font-family: var(--mono); font-size: .74rem; color: var(--ink-3); }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: .85rem; margin-top: .9rem; }
.dest-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.05rem; display: flex; flex-direction: column; gap: .32rem;
}
.dest-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-1px); transition: transform .12s ease, box-shadow .15s ease; }
.dest-card b { color: var(--ink); font-size: 1rem; }
.dest-card .geo { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }
.dest-card .blurb { font-size: .81rem; color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fact { background: var(--card); padding: .85rem .95rem; }
.fact .k { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.fact .v { font-weight: 720; margin-top: .18rem; font-size: .95rem; }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* partner links */
.partners {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .8rem; margin-top: 1rem;
}
.partner {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1rem 2.3rem 1rem 1rem;
  display: flex; flex-direction: column; gap: .4rem; color: var(--ink);
}
.partner:hover { border-color: var(--line-2); box-shadow: var(--shadow); text-decoration: none; }
.partner .chip { align-self: flex-start; }
.partner b { font-size: .98rem; }
.partner .p-blurb { font-size: .8rem; color: var(--ink-2); }
.partner .p-arrow { position: absolute; top: .85rem; right: .9rem; font-size: .92rem; color: var(--ink-3); }
.partner:hover .p-arrow { color: var(--probe); }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h1 { font-size: clamp(1.8rem, 4.6vw, 2.5rem); letter-spacing: -.028em; line-height: 1.1; margin: 0 0 1rem; }
.prose h2 { font-size: 1.22rem; letter-spacing: -.012em; margin: 2.1rem 0 .6rem; }
.prose h3 { font-size: 1rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { color: var(--ink-2); font-size: .97rem; }
.prose p { margin: 0 0 .95rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 .95rem; }
.prose li { margin: .32rem 0; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 1.1rem; color: var(--ink-2); }
.prose code { font-family: var(--mono); font-size: .85em; background: var(--card-2); padding: .1em .35em; border-radius: 3px; }

details.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item summary {
  cursor: pointer; padding: 1.05rem 0; font-weight: 660; font-size: 1.02rem; color: var(--ink);
  list-style: none; display: flex; gap: .8rem; align-items: baseline;
}
details.faq-item summary::before { content: "+"; font-family: var(--mono); color: var(--probe); flex: none; }
details.faq-item[open] summary::before { content: "\2212"; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item .a { padding: 0 0 1.15rem 1.5rem; }
details.faq-item .a p { margin-bottom: .6rem; }

/* ---------- page head ---------- */
.page-head { padding: clamp(2.6rem, 6vw, 4rem) 0 1.8rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.9rem, 4.8vw, 2.8rem); letter-spacing: -.03em; line-height: 1.06; max-width: 24ch; font-weight: 820; }
.page-head .sub { color: var(--ink-2); margin-top: .7rem; max-width: 58ch; font-size: 1.03rem; }
.page-head .kicker { font-size: .86rem; color: var(--ink-3); margin-top: .6rem; }

.section { padding: 2.2rem 0; }
.section + .section { border-top: 1px solid var(--line); }

/* cross-link band */
.xband {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.2rem 1.3rem; flex-wrap: wrap; margin: 1.5rem 0;
}
.xband b { font-size: 1.02rem; }
.xband p { color: var(--ink-2); font-size: .85rem; }

/* attribution */
.attrib { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); margin-top: .9rem; }
.attrib a { color: var(--ink-2); }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); margin-top: 3.2rem; background: var(--card); }
.ftr-in { padding: 2rem 0 2.3rem; display: grid; gap: 1.5rem; grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 720px) { .ftr-in { grid-template-columns: 1fr; } }
.ftr .fb { display: flex; flex-direction: column; gap: .55rem; }
.ftr .fb .brand { font-size: .98rem; }
.ftr .fb p { font-size: .81rem; color: var(--ink-3); max-width: 40ch; }
.ftr h4 { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: .6rem; }
.ftr ul { list-style: none; }
.ftr li { margin: .32rem 0; }
.ftr a { color: var(--ink-2); font-size: .87rem; }
.ftr a:hover { color: var(--ink); }
.ftr-base {
  border-top: 1px solid var(--line); padding: .95rem 0; display: flex; gap: 1rem;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
  font-size: .74rem; color: var(--ink-3);
}
.ftr-base .mono { font-size: .68rem; }

/* ---------- live snow canvas (condition-driven overlay) ---------- */
#snowfall-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* ---------- print ---------- */
@media print {
  .hdr, .ftr, .station, .nav, .tools, #snowfall-canvas, .ridges, #hero-snow, #crystal3d { display: none !important; }
  body { background: #fff; color: #000; }
}
