/* Mountain Towns VT — prototype stylesheet
   Layout idea: a survey sheet. The map is the hero and everything else hangs off it like a quad's collar notes:
   Clarendon headlines (painted general-store signs), a quiet grotesque for reading, mono for anything measured. */
:root {
  --snow: #f1f4f1;        /* page: cold white, biased green */
  --paper: #ffffff;       /* raised surfaces */
  --spruce: #11241d;      /* ink */
  --bark: #4b5b54;        /* secondary text */
  --line: #d3dad5;        /* hairlines */
  --blaze: #d9480f;       /* hunter's blaze orange: live things and the one primary action */
  --blaze-ink: #ffffff;
  --water: #5b8fa8;
  --tint: #e4eae5;        /* soft fills */
  --star: #b7791f;
  --plum: #6b4a9c;
  --night: #0e1c17;       /* dark bands, same in both themes */
  --frost: #eef3f0;
  --display: "Besley", "Clarendon", "Rockwell", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --snow: #0c1814; --paper: #13231d; --spruce: #e7eeea; --bark: #9fb2a9; --line: #24382f;
    --blaze: #ff8a3d; --blaze-ink: #1a0d04; --water: #7fb4cc; --tint: #182b24; --star: #e0b25a; --plum: #b59ae0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --snow: #0c1814; --paper: #13231d; --spruce: #e7eeea; --bark: #9fb2a9; --line: #24382f;
  --blaze: #ff8a3d; --blaze-ink: #1a0d04; --water: #7fb4cc; --tint: #182b24; --star: #e0b25a; --plum: #b59ae0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--snow); color: var(--spruce); font: 400 17px/1.55 var(--body); }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blaze); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--bark); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }

/* ---------- masthead ---------- */
.mast { border-bottom: 1px solid var(--line); background: var(--snow); position: sticky; top: 0; z-index: 20; }
.mast .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.brand b { font: 700 1.3rem/1 var(--display); letter-spacing: -0.015em; }
.brand span { font: 500 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bark); }
.blazemark { width: 7px; height: 21px; background: var(--blaze); border-radius: 1px; align-self: center; flex: none; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; padding: 7px 11px; border-radius: 3px; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blaze); border-radius: 0; }
.base { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--bark); }
.base select { font: 500 0.85rem var(--body); color: var(--spruce); background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 5px 6px; }

/* ---------- shared bits ---------- */
.eyebrow { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--bark); display: flex; gap: 10px; align-items: center; }
.eyebrow.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blaze); flex: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 0.95rem var(--body); padding: 11px 16px; border-radius: 3px; text-decoration: none; border: 1px solid var(--spruce); background: transparent; color: var(--spruce); cursor: pointer; }
.btn.primary { background: var(--blaze); border-color: var(--blaze); color: var(--blaze-ink); }
.btn:hover { filter: brightness(0.94); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 0.82rem var(--body); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--spruce); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--spruce); color: var(--snow); border-color: var(--spruce); }
.sec { padding: clamp(40px, 6vw, 76px) 0; border-top: 1px solid var(--line); }
.sechead { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sechead h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 22ch; }
.sechead p { max-width: 46ch; color: var(--bark); }
.more { font-weight: 600; white-space: nowrap; }

/* ---------- home hero ---------- */
.hero { padding: clamp(22px, 3.4vw, 44px) 0 clamp(30px, 4vw, 56px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(22px, 3.4vw, 52px); align-items: start; }
.hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.7rem); font-weight: 700; letter-spacing: -0.028em; margin: 16px 0 16px; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero .dek { font-size: 1.13rem; max-width: 40ch; color: var(--bark); }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.now { margin-top: 28px; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; }
.now header { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.now .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.now .cell { padding: 12px 14px; border-right: 1px solid var(--line); min-width: 0; }
.now .cell:last-child { border-right: 0; }
.now .cell .k { font: 500 0.68rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark); }
.now .cell .v { font: 600 1.55rem/1.1 var(--display); white-space: nowrap; margin-top: 4px; font-variant-numeric: tabular-nums; }
.now .cell .s { font-size: 0.78rem; color: var(--bark); line-height: 1.3; margin-top: 2px; }
.snowbars { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.snowbars .row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 62px; gap: 10px; align-items: center; font-size: 0.86rem; }
.snowbars .track { height: 10px; background: var(--tint); border-radius: 2px; overflow: hidden; }
.snowbars .fill { height: 100%; background: var(--spruce); border-radius: 2px; min-width: 2px; }
.snowbars .amt { font-family: var(--mono); font-size: 0.8rem; text-align: right; font-variant-numeric: tabular-nums; }
.now footer { padding: 9px 14px; border-top: 1px solid var(--line); font-size: 0.76rem; color: var(--bark); display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; }

/* ---------- the map ---------- */
.mapcard { background: var(--paper); border: 1px solid var(--spruce); border-radius: 2px; padding: 10px; position: relative; }
.collar { display: flex; justify-content: space-between; gap: 10px; font: 500 0.66rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark); padding: 2px 2px 8px; flex-wrap: wrap; }
.collar.bottom { padding: 8px 2px 2px; }
.mapframe { position: relative; border: 1px solid var(--spruce); overflow: hidden; background: var(--tint); }
.mapframe canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.mapframe svg { position: relative; width: 100%; height: auto; }
.map .contour { fill: none; stroke: var(--spruce); stroke-opacity: 0.2; stroke-width: 0.8; }
.map .contour.idx { stroke-opacity: 0.3; stroke-width: 0.9; }
.map .road { fill: none; stroke: var(--paper); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map .road.in { stroke: var(--spruce); stroke-width: 2.2; }
.map .road.minor.in { stroke-width: 1.1; stroke-opacity: 0.55; }
.map .road.minor { stroke-width: 3; }
.map .river { fill: none; stroke: var(--water); stroke-width: 1.1; stroke-opacity: 0.85; }
.map .lake { fill: var(--water); fill-opacity: 0.8; stroke: none; }
.map .lt { fill: none; stroke: var(--blaze); stroke-width: 2.4; stroke-dasharray: 8 5; }
.map text { font-family: var(--body); fill: var(--spruce); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.map .town { font: 700 25px var(--display); font-size: var(--big-fs, 25px); letter-spacing: 0.005em; stroke-width: var(--big-sw, 5px); }
.map .edge { font: 500 16px var(--body); fill: var(--bark); }
.map .peak { font: 500 15px var(--mono); }
.map .rd { font: 500 13px var(--mono); fill: var(--bark); stroke-width: 4px; }
.map .ltlabel { font: 500 13px var(--mono); fill: var(--blaze); letter-spacing: 0.08em; }
.map .tri { fill: var(--spruce); }
.map .dot { fill: var(--paper); stroke: var(--spruce); stroke-width: 1.6; }
.pin { cursor: pointer; }
.pin circle { stroke: var(--paper); stroke-width: 1.5; transition: r 0.15s; }
.pin.t-trail circle { fill: var(--blaze); }
.pin.t-do circle { fill: var(--plum); }
.pin.t-eat circle { fill: var(--star); }
.pin.t-stay circle { fill: var(--water); }
.pin:hover circle, .pin:focus circle, .pin.on circle { r: 12; stroke: var(--spruce); }
.pin.off { display: none; }
.maptools { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 10px; flex-wrap: wrap; }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; color: var(--bark); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.mapinfo { position: absolute; left: 20px; bottom: 20px; max-width: min(300px, calc(100% - 40px)); background: var(--paper); border: 1px solid var(--spruce); border-radius: 3px; padding: 11px 13px; font-size: 0.86rem; line-height: 1.4; box-shadow: 0 6px 18px rgb(0 0 0 / 0.14); }
.mapinfo b { font: 600 1rem var(--display); display: block; }
.mapinfo .mono { color: var(--bark); display: block; margin: 2px 0 4px; }

/* ---------- photo band ---------- */
.band { position: relative; }
.band img { width: 100%; height: clamp(260px, 44vw, 560px); object-fit: cover; }
.band figcaption { position: absolute; left: var(--gut); bottom: 16px; background: var(--paper); color: var(--spruce); padding: 7px 11px; font-size: 0.8rem; border-radius: 2px; max-width: calc(100% - 2 * var(--gut)); }
figure { margin: 0; }

/* ---------- story list ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); }
.leadstory { text-decoration: none; display: block; }
.leadstory img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; border-radius: 2px; }
.leadstory h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); margin: 14px 0 8px; }
.leadstory:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.queue { display: grid; align-content: start; }
.queue .item { padding: 15px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; }
.queue .item:first-of-type { border-top: 2px solid var(--spruce); }
.queue .when { font: 500 0.74rem/1.35 var(--mono); color: var(--bark); text-transform: uppercase; letter-spacing: 0.06em; }
.queue h4 { font: 600 1.08rem/1.25 var(--display); margin: 0 0 3px; }
.queue p { font-size: 0.9rem; color: var(--bark); }

/* ---------- compare table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; }
table { border-collapse: collapse; width: 100%; font-size: 0.94rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child > * { border-bottom: 0; }
thead th { font: 600 1.15rem var(--display); border-bottom: 2px solid var(--spruce); white-space: nowrap; }
tbody th { font: 500 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark); white-space: nowrap; width: 1%; }
td.num { font-family: var(--mono); font-size: 0.88rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- towns ---------- */
.towns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--spruce); }
.towns article { padding: 18px 16px 6px 0; border-right: 1px solid var(--line); margin-right: 16px; }
.towns article:last-child { border-right: 0; margin-right: 0; }
.towns h3 { font-size: 1.45rem; }
.towns .mono { color: var(--bark); display: block; margin: 6px 0 10px; }
.towns p { font-size: 0.93rem; }

/* ---------- picks (home strips) ---------- */
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); }
.picks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--spruce); }
.picks li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.picks .n { font: 600 1.05rem/1.25 var(--display); }
.picks .t { font-size: 0.84rem; color: var(--bark); }
.rate { font-family: var(--mono); font-size: 0.8rem; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.rate b { font-weight: 500; color: var(--star); }
.colhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.colhead h2 { font-size: 1.6rem; }

/* ---------- trail cards ---------- */
.trailgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 15px; text-decoration: none; display: grid; gap: 8px; align-content: start; }
.tcard:hover { border-color: var(--spruce); }
.tcard h3 { font-size: 1.15rem; line-height: 1.2; }
.tcard .stats { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.78rem; color: var(--bark); }
.tcard p { font-size: 0.88rem; color: var(--bark); }
.diff { font: 500 0.66rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; border: 1px solid currentColor; justify-self: start; }
.diff.easy { color: #2f7a55; } .diff.moderate { color: #96650f; } .diff.hard { color: #b3401a; }
:root[data-theme="dark"] .diff.easy { color: #7fd0a4; } :root[data-theme="dark"] .diff.moderate { color: #e0b25a; } :root[data-theme="dark"] .diff.hard { color: #ff9a6b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .diff.easy { color: #7fd0a4; } :root:not([data-theme="light"]) .diff.moderate { color: #e0b25a; } :root:not([data-theme="light"]) .diff.hard { color: #ff9a6b; } }

/* ---------- feeds ---------- */
.feeds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feed { border: 1px solid var(--line); background: var(--paper); border-radius: 3px; padding: 14px; display: grid; gap: 6px; text-decoration: none; }
.feed:hover { border-color: var(--spruce); }
.feed b { font: 600 1.02rem var(--display); }
.feed .h { font-family: var(--mono); font-size: 0.8rem; color: var(--bark); overflow-wrap: anywhere; }
.feed .links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; }

/* ---------- almanac signup ---------- */
.almanac { background: var(--spruce); color: var(--snow); }
.almanac .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 30px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.almanac h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.almanac p { opacity: 0.82; margin-top: 10px; max-width: 46ch; }
.almanac form { display: flex; gap: 8px; flex-wrap: wrap; }
.almanac input { flex: 1 1 220px; min-width: 0; font: 400 1rem var(--body); padding: 12px 13px; border-radius: 3px; border: 1px solid transparent; background: var(--snow); color: var(--spruce); }
.almanac .note { font-size: 0.8rem; opacity: 0.7; margin-top: 10px; }

/* ---------- footer ---------- */
.foot { padding: 34px 0 46px; font-size: 0.86rem; color: var(--bark); border-top: 1px solid var(--line); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; }
.foot .pub { color: var(--spruce); font-size: 0.95rem; max-width: 44ch; }
.foot p + p { margin-top: 8px; }

/* ---------- inner page header ---------- */
.phead { padding-top: clamp(30px, 5vw, 60px); padding-bottom: 26px; }
.phead h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.022em; max-width: 20ch; margin: 14px 0 14px; }
.phead .dek { font-size: 1.13rem; color: var(--bark); max-width: 62ch; }
.byline { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 18px; font-size: 0.86rem; color: var(--bark); }
.disclose { border-left: 3px solid var(--blaze); background: var(--paper); padding: 11px 14px; font-size: 0.88rem; max-width: 74ch; margin-top: 20px; }

/* ---------- directory ---------- */
.dir { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-bottom: 60px; }
.dir .side { position: sticky; top: 76px; }
.tools { display: flex; gap: 12px 18px; flex-wrap: wrap; align-items: center; padding: 12px 0; border-top: 2px solid var(--spruce); border-bottom: 1px solid var(--line); }
.tools label { font-size: 0.82rem; color: var(--bark); display: flex; align-items: center; gap: 6px; }
.tools select { font: 500 0.88rem var(--body); padding: 6px 7px; border-radius: 3px; border: 1px solid var(--line); background: var(--paper); color: var(--spruce); }
.count { margin-left: auto; font-family: var(--mono); font-size: 0.78rem; color: var(--bark); }
.vlist { list-style: none; margin: 0; padding: 0; }
.v { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.v.on { background: var(--paper); box-shadow: -12px 0 0 var(--paper), 12px 0 0 var(--paper); }
.v .idx { font: 500 0.78rem var(--mono); color: var(--bark); padding-top: 5px; }
.v h3 { font-size: 1.28rem; line-height: 1.2; }
.v h3 a { text-decoration: none; }
.v h3 a:hover { text-decoration: underline; }
.v .meta { font-size: 0.82rem; color: var(--bark); margin: 3px 0 7px; display: flex; gap: 4px 12px; flex-wrap: wrap; }
.v .desc { font-size: 0.95rem; max-width: 60ch; }
.v .links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; margin-top: 9px; }
.v .pubtag { font: 500 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blaze); border: 1px solid currentColor; padding: 2px 6px; border-radius: 2px; }
.scores { display: grid; gap: 6px; justify-items: end; align-content: start; min-width: 132px; }
.score { display: grid; grid-template-columns: auto auto; gap: 0 8px; align-items: baseline; text-decoration: none; text-align: right; }
.score .src { font: 500 0.64rem var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--bark); grid-column: 1 / -1; }
.score .val { font: 600 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; }
.score .cnt { font-family: var(--mono); font-size: 0.74rem; color: var(--bark); }
.score.none .val { font: 400 0.8rem var(--body); color: var(--bark); }
.stars { display: inline-block; width: 62px; height: 5px; background: var(--tint); border-radius: 3px; overflow: hidden; grid-column: 1 / -1; justify-self: end; margin-top: 4px; }
.stars i { display: block; height: 100%; background: var(--star); }
.asof { font-size: 0.8rem; color: var(--bark); padding: 14px 0; max-width: 70ch; }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: 60px; }
.prose { max-width: 68ch; }
.prose > p { margin: 0 0 1.05em; font-size: 1.08rem; line-height: 1.62; }
.prose > p.first::first-letter { font: 700 3.6em/0.82 var(--display); float: left; padding: 6px 9px 0 0; }
.prose h2 { font-size: 1.85rem; margin: 1.7em 0 0.55em; }
.prose figure { margin: 26px 0; }
.prose figure img { width: 100%; border-radius: 2px; }
.prose figcaption { font-size: 0.8rem; color: var(--bark); margin-top: 7px; }
.aside { position: sticky; top: 76px; display: grid; gap: 16px; }
.box { border: 1px solid var(--line); background: var(--paper); border-radius: 3px; padding: 15px; font-size: 0.9rem; }
.box h3 { font-size: 1.05rem; margin-bottom: 8px; }
.box ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.chartbox { border: 1px solid var(--line); background: var(--paper); border-radius: 3px; padding: 14px 14px 8px; margin: 22px 0 8px; }
.chartbox h3 { font-size: 1.1rem; }
.chartbox p { font-size: 0.85rem; color: var(--bark); margin: 3px 0 8px; }
.chart text { font-family: var(--mono); font-size: 10.5px; fill: var(--bark); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .pt { stroke: var(--paper); stroke-width: 1.5; cursor: pointer; }
.chart .pt.easy { fill: #2f7a55; } .chart .pt.moderate { fill: #c98a1a; } .chart .pt.hard { fill: #c2481c; }
.chart .lbl { font-family: var(--body); font-size: 11px; fill: var(--spruce); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; }
.trail { border-top: 2px solid var(--spruce); padding: 20px 0 26px; scroll-margin-top: 80px; }
.trail.dim { opacity: 0.32; }
.trail header { display: flex; gap: 10px 14px; align-items: baseline; flex-wrap: wrap; }
.trail h3 { font-size: 1.5rem; }
.trail .no { font: 500 0.8rem var(--mono); color: var(--bark); }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; margin: 12px 0; }
.spec div { padding: 9px 11px; border-right: 1px solid var(--line); }
.spec dt { font: 500 0.62rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark); }
.spec dd { margin: 2px 0 0; font: 500 0.95rem var(--mono); font-variant-numeric: tabular-nums; }
.trail p { font-size: 1.02rem; margin-bottom: 0.7em; max-width: 66ch; }
.trail .winter { font-size: 0.92rem; border-left: 3px solid var(--water); padding: 3px 0 3px 12px; color: var(--bark); }
.trail .links { display: flex; gap: 8px 16px; flex-wrap: wrap; font-size: 0.87rem; font-weight: 600; margin-top: 10px; }
.trail .after { font-size: 0.88rem; color: var(--bark); margin-top: 8px; }
.verify { font: 500 0.66rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; background: #fff3c4; color: #5c4400; padding: 2px 6px; border-radius: 2px; }

/* ---------- plan page ---------- */
.plan { max-width: 900px; padding-bottom: 70px; }
.plan h2 { font-size: 1.7rem; margin: 2em 0 0.5em; padding-top: 0.7em; border-top: 2px solid var(--spruce); }
.plan h3 { font-size: 1.15rem; margin: 1.4em 0 0.4em; }
.plan p, .plan li { font-size: 1rem; line-height: 1.58; }
.plan p { margin-bottom: 0.8em; max-width: 74ch; }
.plan ul, .plan ol { padding-left: 22px; margin: 0 0 1em; max-width: 74ch; display: grid; gap: 6px; }
.plan .tablewrap { margin: 10px 0 18px; }
.plan thead th { font: 600 0.92rem var(--body); white-space: normal; }
.plan td, .plan th { font-size: 0.9rem; }
.internal { background: #fff3c4; color: #4a3800; font-size: 0.85rem; padding: 9px 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; margin: 12px 0 20px; }
.kpis div { padding: 14px; border-right: 1px solid var(--line); }
.kpis div:last-child { border-right: 0; }
.kpis b { font: 600 1.6rem/1 var(--display); display: block; }
.kpis span { font-size: 0.82rem; color: var(--bark); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .lead, .almanac .wrap, .foot .wrap, .dir, .article { grid-template-columns: minmax(0, 1fr); }
  .dir .side, .aside { position: static; }
  .trailgrid, .feeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .towns article { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 12px; }
  .dir .side { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .mast { position: static; }
  .brand span, .base span { display: none; }
  .nav a { padding: 6px 8px; font-size: 0.9rem; }
  .now .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .now .cell:nth-child(2) { border-right: 0; }
  .now .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cols2, .trailgrid, .feeds, .towns, .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpis div { border-right: 0; border-bottom: 1px solid var(--line); }
  .v { grid-template-columns: minmax(0, 1fr); }
  .v .idx { display: none; }
  .scores { grid-auto-flow: column; justify-items: start; justify-content: start; gap: 18px; margin-top: 8px; }
  .score { text-align: left; }
  .stars { justify-self: start; }
  .mapinfo { position: static; max-width: none; margin-top: 8px; box-shadow: none; }
  .queue .item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* ================= second pass ================= */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--bark); text-decoration: underline; cursor: pointer; }
.photocredit { font-size: 0.74rem; color: var(--bark); margin-top: 8px; }
details.editor { display: none; margin-top: 10px; font-size: 0.82rem; background: #fff3c4; color: #4a3800; padding: 8px 10px; border-radius: 3px; }
details.editor summary { cursor: pointer; font: 500 0.7rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
details.editor ul { margin: 8px 0 0; padding-left: 18px; }
body.editing details.editor { display: block; }

/* hero: the photograph carries it */
.hero { position: relative; padding: 0; background: var(--night); color: #fff; isolation: isolate; }
.hero .heroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 20 16 / 0.86) 0%, rgb(8 20 16 / 0.62) 42%, rgb(8 20 16 / 0.08) 78%), linear-gradient(0deg, rgb(8 20 16 / 0.5), transparent 40%); }
.hero .wrap { display: block; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(44px, 6vw, 84px); }
.hero .eyebrow { color: rgb(255 255 255 / 0.82); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 17ch; color: #fff; margin: 18px 0 20px; letter-spacing: -0.03em; }
.hero .dek { color: rgb(255 255 255 / 0.9); max-width: 46ch; font-size: 1.16rem; }
.hero .photocredit { color: rgb(255 255 255 / 0.7); margin-top: 26px; }
.btn.ghost { border-color: rgb(255 255 255 / 0.7); color: #fff; }

.nowbar { background: var(--night); color: var(--frost); border-top: 1px solid rgb(255 255 255 / 0.14); }
.nowbar .wrap { padding-top: 16px; padding-bottom: 20px; }
.nowhead { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.nowbar .eyebrow, .nowbar .mono { color: rgb(238 243 240 / 0.72); }
.nowbar .cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 0; }
.nowbar .cell { padding: 4px 20px 4px 0; margin-right: 20px; border-right: 1px solid rgb(255 255 255 / 0.14); min-width: 0; }
.nowbar .cell:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.nowbar .k { font: 500 0.66rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgb(238 243 240 / 0.66); }
.nowbar .v { font: 600 2rem/1.1 var(--display); margin: 4px 0 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nowbar .s { font-size: 0.8rem; line-height: 1.35; color: rgb(238 243 240 / 0.78); }
.nowbar .snowbars { padding: 8px 0 0; border: 0; gap: 6px; }
.nowbar .snowbars .track { background: rgb(255 255 255 / 0.14); }
.nowbar .snowbars .fill { background: #fff; display: block; }
.nowbar .snowbars .row { grid-template-columns: 66px minmax(0, 1fr) 52px; font-size: 0.84rem; }

/* map section */
.mapsec { border-top: 0; }
.mapsec .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(22px, 3.4vw, 52px); align-items: start; }
.maplead h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 12px 0 14px; }
.maplead > p { color: var(--bark); max-width: 46ch; }
.mapinfo { position: static; max-width: none; box-shadow: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 2px 6px; display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; background: none; }
.mapinfo b { font: 600 1rem var(--display); display: inline; }
.mapinfo .mono { display: inline; margin: 0 8px; }
.mapcard > .chips { padding: 2px 2px 6px; }
.legend i.ltkey { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed var(--blaze); vertical-align: middle; }
.legend i.snowkey { width: 16px; height: 3px; border-radius: 0; background: #9fd0ea; vertical-align: middle; }
.map .snowline { fill: none; stroke: #bfe3f5; stroke-width: 5; stroke-linejoin: round; stroke-opacity: 0.95; }
.map .skimark circle { fill: var(--spruce); stroke: var(--paper); stroke-width: 2.5; }
.map .skimark path { fill: var(--paper); }
.map .skiname { font: 700 22px var(--display); font-size: var(--ski-fs, 22px); stroke-width: var(--big-sw, 5px); }
.map .peak, .map .rd, .map .edge, .map .ltlabel { opacity: var(--minor, 1); }
.map .town, .map .dot { opacity: var(--towns, 1); }
.map .peak { font: 500 15px var(--mono); stroke-width: 4px; }
.map .route, .route { fill: none; stroke: var(--spruce); stroke-width: 4; stroke-dasharray: 2 9; stroke-linecap: round; }
.pin circle { stroke-width: 2; }
.mapcard.mini { --minor: 0; --big-fs: 40px; --ski-fs: 34px; --big-sw: 8px; }
.mapcard.mini .pin circle { r: 12; }
.mapcard.mini .mapinfo { font-size: 0.82rem; }
.mapcard.mini .mapinfo b { font-size: 0.92rem; }

.planner { margin-top: 24px; border: 1px solid var(--spruce); background: var(--paper); border-radius: 3px; padding: 16px 18px; }
.planner h3 { font-size: 1.25rem; margin-bottom: 10px; }
.planner .row { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.planner label { width: 84px; font-size: 0.9rem; color: var(--bark); }
.planner select { flex: 1; min-width: 0; font: 500 0.95rem var(--body); padding: 8px; border-radius: 3px; border: 1px solid var(--line); background: var(--snow); color: var(--spruce); }
.steps { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: st; border-top: 2px solid var(--spruce); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.steps li::before { content: counter(st); font: 700 1.3rem/1 var(--display); color: var(--blaze); }
.steps b { font: 600 1.02rem var(--display); display: block; }
.steps span { color: var(--bark); }
.planner .fine { font-size: 0.76rem; color: var(--bark); margin-top: 10px; }

/* dark band and mountain cards */
.sec.dark { background: var(--night); color: var(--frost); border-top: 0; }
.sec.dark .sechead p { color: rgb(238 243 240 / 0.75); }
.mtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mtn { background: #16291f; border-radius: 3px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.mtn figure { position: relative; }
.mtn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mtn figcaption { position: absolute; right: 6px; bottom: 6px; font-size: 0.62rem; background: rgb(0 0 0 / 0.55); color: #fff; padding: 2px 6px; border-radius: 2px; }
.mtn .body { padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.mtn .eyebrow { color: rgb(238 243 240 / 0.66); }
.mtn h3 { font-size: 2rem; color: #fff; }
.mtn .blurb { font-size: 0.98rem; color: rgb(238 243 240 / 0.9); }
.mtn .status { font-size: 0.86rem; display: flex; gap: 8px; align-items: baseline; color: #ffd9a8; }
.mtn .status i { width: 8px; height: 8px; border-radius: 50%; background: #ffab4d; flex: none; }
.mtn .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; border-top: 1px solid rgb(255 255 255 / 0.16); }
.mtn .stats div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); font-size: 0.86rem; }
.mtn .stats dt { color: rgb(238 243 240 / 0.66); }
.mtn .stats dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.mtn .links { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 0.86rem; font-weight: 600; }
.mtn .links [data-dist] { font-weight: 400; color: rgb(238 243 240 / 0.7); width: 100%; }

/* trail cards with thumbs */
.thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--tint); display: block; }
svg.thumb { border: 1px solid var(--line); }
.thumb.none { display: none; }
.thumb .here { stroke: var(--paper); stroke-width: 3; }
.thumb .here.t-trail { fill: var(--blaze); } .thumb .here.t-eat { fill: var(--star); } .thumb .here.t-stay { fill: var(--water); } .thumb .here.t-do { fill: var(--plum); }
svg.thumb { --minor: 0; --big-fs: 17px; --ski-fs: 15px; --big-sw: 4px; }
.tcard { padding: 0 0 16px; overflow: hidden; }
.tcard > :not(.thumb) { margin: 0 15px; }
.tcard .thumb { border-radius: 0; border: 0; aspect-ratio: 16 / 10; }
.tcard .stats { font-family: var(--body); font-size: 0.84rem; }

/* band caption */
.band figcaption { font-size: 0.88rem; padding: 10px 14px; }
.band figcaption b { font: 600 1.05rem var(--display); margin-right: 6px; }

/* picks with rank */
.picks li { grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; }
.picks .rank { font: 700 1.5rem/1.1 var(--display); color: var(--blaze); }
.rate { font-family: var(--body); font-size: 0.8rem; color: var(--bark); }
.rate b { font: 600 1.35rem/1 var(--display); color: var(--spruce); }

/* towns with photographs */
.towns { border-top: 0; gap: 16px; }
.towns article { padding: 0; border: 0; margin: 0; position: relative; }
.towns figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.towns .numeral { position: absolute; top: 8px; left: 10px; font: 700 2.6rem/1 var(--display); color: #fff; text-shadow: 0 1px 10px rgb(0 0 0 / 0.55); }
.towns h3 { margin-top: 12px; }

/* directory rows */
.v { grid-template-columns: 132px minmax(0, 1fr) auto; gap: 4px 18px; align-items: start; }
.v .thumb { aspect-ratio: 4 / 3; }
.v .hours { font-size: 0.86rem; color: var(--bark); margin-top: 6px; }
.v .tel { font-weight: 400; color: var(--bark); }
.scores { min-width: 120px; text-align: right; display: grid; gap: 2px; justify-items: end; }
.scores .val { font: 700 2.1rem/1 var(--display); font-variant-numeric: tabular-nums; }
.scores .cnt { font-size: 0.8rem; color: var(--bark); }
.scores .by { font-size: 0.76rem; color: var(--bark); max-width: 150px; }

/* article header */
.ahead { position: relative; color: #fff; background: var(--night); isolation: isolate; }
.ahead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; z-index: -2; }
.ahead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(8 20 16 / 0.9) 8%, rgb(8 20 16 / 0.45) 60%, rgb(8 20 16 / 0.2)); }
.ahead .wrap { padding-top: clamp(120px, 20vw, 280px); padding-bottom: 34px; }
.ahead h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.025em; max-width: 16ch; margin: 12px 0; color: #fff; }
.ahead .dek { font-size: 1.15rem; max-width: 60ch; color: rgb(255 255 255 / 0.9); }
.ahead .eyebrow, .ahead .byline { color: rgb(255 255 255 / 0.78); }
.article { padding-top: 40px; }
.tools.sticky { position: sticky; top: 60px; background: var(--snow); z-index: 5; margin-top: 22px; }
.tbody { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 12px; }
.tbody .spec { margin-top: 0; }
.spec dd { font: 600 0.98rem var(--body); }
.chartbox .legend { padding: 6px 0 4px; }
.legend i.k-easy { background: #2f7a55; } .legend i.k-moderate { background: #c98a1a; } .legend i.k-hard { background: #c2481c; }
.chart text { font-size: 12px; }
.chart .lbl { font-size: 13px; font-weight: 600; }

@media (max-width: 1020px) {
  .mapsec .wrap { grid-template-columns: minmax(0, 1fr); }
  .nowbar .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .nowbar .cell.wide { grid-column: 1 / -1; border-right: 0; }
  .nowbar .cell:nth-child(2n) { border-right: 0; margin-right: 0; }
  .mtns { grid-template-columns: minmax(0, 1fr); }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .towns article { border-bottom: 0; }
  .towns figure img { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
  .mast .wrap { flex-wrap: nowrap; gap: 10px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .base select { max-width: 104px; }
  .hero::after { background: linear-gradient(0deg, rgb(8 20 16 / 0.9) 20%, rgb(8 20 16 / 0.5) 70%, rgb(8 20 16 / 0.25)); }
  .towns { grid-template-columns: minmax(0, 1fr); }
  .v { grid-template-columns: 92px minmax(0, 1fr); }
  .v .scores { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; justify-items: start; align-items: baseline; gap: 10px; text-align: left; margin-top: 4px; }
  .scores .val { font-size: 1.5rem; }
  .scores .by { max-width: none; }
  .tbody { grid-template-columns: minmax(0, 1fr); }
  .tbody .thumb { aspect-ratio: 16 / 9; }
  .tools.sticky { top: 0; }
  .chart text { font-size: 15px; } .chart .lbl { font-size: 16px; }
  .mapcard:not(.mini) { --minor: 0; --big-fs: 38px; --ski-fs: 32px; --big-sw: 8px; }
  .mapcard:not(.mini) .pin circle { r: 12; }
  .picks li { grid-template-columns: 26px minmax(0, 1fr) auto; }
}

.tbody.nothumb { grid-template-columns: minmax(0, 1fr); }
.trail .spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trail .spec div { border-bottom: 1px solid var(--line); }
.band img[src*="aurora"] { object-position: 50% 78%; height: clamp(300px, 52vw, 680px); }
.ahead img { object-position: 78% 36%; }
.ahead::after { background: linear-gradient(90deg, rgb(8 20 16 / 0.92) 0%, rgb(8 20 16 / 0.7) 46%, rgb(8 20 16 / 0.05) 80%); }
.ahead .wrap { padding-top: clamp(70px, 10vw, 150px); padding-bottom: clamp(40px, 6vw, 80px); }
.ahead h1, .ahead .dek { max-width: min(16ch, 56%); } .ahead .dek { max-width: min(48ch, 56%); }
@media (max-width: 640px) { .ahead h1, .ahead .dek { max-width: none; } .ahead::after { background: linear-gradient(0deg, rgb(8 20 16 / 0.92) 25%, rgb(8 20 16 / 0.45)); } .ahead img { object-position: 50% 30%; } .ahead .wrap { padding-top: 150px; } .trail .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scores .by { max-width: none; } .scores .by a { display: block; white-space: nowrap; }
@media (max-width: 640px) { .scores .by a { display: inline; margin-right: 8px; } }

/* ================= third pass ================= */
.hero::after { background: linear-gradient(90deg, rgb(8 20 16 / 0.82) 0%, rgb(8 20 16 / 0.5) 40%, rgb(8 20 16 / 0) 68%), linear-gradient(0deg, rgb(8 20 16 / 0.35), transparent 30%); }
.hero .heroimg { filter: brightness(1.12) saturate(1.05); }
.herocredit { position: absolute; right: var(--gut); bottom: 12px; margin: 0; color: rgb(255 255 255 / 0.8); }
.v { grid-template-columns: minmax(0, 1fr) auto; }
.vphoto { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 2px; margin-bottom: 12px; }
.scores .by a { display: inline; } .scores .by { white-space: nowrap; } .scores .by i { font-style: normal; }
.method { font-size: 0.84rem; color: var(--bark); padding: 10px 0 0; }
.tbody { display: block; }
.tbody figure { margin: 0 0 12px; position: relative; }
.tphoto { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 2px; }
.tbody figcaption { font-size: 0.7rem; color: var(--bark); margin-top: 4px; }
.trail .spec { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.trail .spec div { border-bottom: 0; }
.towns figure img { aspect-ratio: 4 / 5; }
details.credits { font-size: 0.82rem; margin-top: 8px; } details.credits summary { cursor: pointer; } details.credits p { margin-top: 6px; }
.dir { align-items: start; } .dir .side { align-self: start; }
@media (max-width: 640px) {
  .mast .wrap { flex-wrap: wrap; gap: 6px 10px; }
  .brand { flex: 1 1 auto; }
  .nav { order: 3; flex: 0 0 100%; overflow-x: auto; flex-wrap: nowrap; gap: 2px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .nav a { padding: 6px 9px; font-size: 0.92rem; }
  .base span { display: inline; font-size: 0.74rem; }
  .v { grid-template-columns: minmax(0, 1fr); }
  .herocredit { position: static; padding: 0 var(--gut) 12px; }
}
@media (max-width: 640px) { .hero::after { background: linear-gradient(0deg, rgb(8 20 16 / 0.92) 15%, rgb(8 20 16 / 0.62) 65%, rgb(8 20 16 / 0.35)); } .hero .heroimg { filter: none; } }
.vphoto { max-width: 420px; aspect-ratio: 16 / 9; }
.vphoto { margin: 4px 0 10px; }
.trail .spec div:last-child { grid-column: auto / -1; }
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(0deg, rgb(8 20 16 / 0.88) 10%, rgb(8 20 16 / 0.5) 60%, rgb(8 20 16 / 0.2)); }
  .hero .heroimg { object-position: 78% 50%; filter: brightness(1.1); }
  .band img[src*="aurora"] { object-position: 22% 80%; height: 380px; }
}

/* ================= fourth pass: region, categories, hours, winter, events ================= */
.prefs { display: flex; gap: 6px 16px; align-items: center; flex-wrap: wrap; }
.near { font-size: 0.8rem; color: var(--bark); display: flex; gap: 6px; align-items: center; cursor: pointer; }
.near input { accent-color: var(--blaze); width: 16px; height: 16px; }
body:not(.nearby) .pin.ext, body:not(.nearby) [data-region="extended"] { display: none !important; }
.neartag { font: 500 0.62rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bark); border: 1px solid var(--line); padding: 2px 6px; border-radius: 2px; vertical-align: middle; white-space: nowrap; }
.map .neartown { font: 600 19px var(--body); font-size: var(--near-fs, 19px); letter-spacing: 0.06em; text-transform: uppercase; fill: var(--bark); stroke-width: var(--big-sw, 5px); }
.mapcard.mini { --near-fs: 30px; }
.mtns.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mtns.n4 .mtn h3 { font-size: 1.7rem; }
.mtns.n4 .mtn .stats { grid-template-columns: minmax(0, 1fr); }
.mtn .status.open { color: #b9f0c8; } .mtn .status.open i { background: #4ecb7a; }
.kindchips { padding-bottom: 12px; }
.scores { min-width: 150px; gap: 8px; }
.rline { display: grid; grid-template-columns: auto auto; gap: 0 8px; justify-content: end; align-items: baseline; text-decoration: none; text-align: right; }
.rline .src { grid-column: 1 / -1; font: 500 0.62rem var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--bark); }
.rline b { font: 700 1.5rem/1 var(--display); }
.rline .cnt { font-size: 0.76rem; color: var(--bark); }
.rline.none { font-size: 0.8rem; color: var(--bark); display: block; }
.price { font-weight: 600; color: var(--spruce); }
.hoursrow { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-top: 8px; font-size: 0.86rem; }
.week { display: inline-flex; gap: 3px; }
.week i { font: 500 0.66rem var(--mono); font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 2px; border: 1px solid var(--line); color: var(--bark); }
.week i.on { background: var(--spruce); color: var(--snow); border-color: var(--spruce); }
.week i.off { text-decoration: line-through; opacity: 0.55; }
.week i.unk { border-style: dashed; }
.hoursrow summary { cursor: pointer; font-weight: 600; }
.hrs { width: auto; font-size: 0.84rem; margin: 6px 0; } .hrs th, .hrs td { padding: 3px 14px 3px 0; border: 0; font: inherit; text-transform: none; letter-spacing: 0; color: inherit; }
.hrs th { color: var(--bark); font-weight: 400; }
.special { margin-top: 8px; font-size: 0.9rem; border-left: 3px solid var(--blaze); padding-left: 10px; }
.fix { font-weight: 400; color: var(--bark); }
.evlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--spruce); }
.ev { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev.cathide { display: none; }
.evwhen { font: 500 0.82rem var(--mono); }
.ev b { font: 600 1.05rem var(--display); } .ev b a { text-decoration: none; } .ev b a:hover { text-decoration: underline; }
.ev p { font-size: 0.9rem; margin-top: 3px; max-width: 70ch; } .ev .muted { font-size: 0.84rem; }
.tbd { font: 500 0.66rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; background: var(--tint); padding: 2px 6px; border-radius: 2px; }
.evpage { padding-bottom: 60px; } .evpage .chips { padding-bottom: 8px; }
.month h2 { font-size: 1.7rem; margin: 34px 0 12px; }
.pastev { margin-top: 40px; } .pastev summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.jumpchips { padding: 18px 0 0; }
.wcols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(22px, 4vw, 56px); align-items: start; }
.wgroup { margin-bottom: 30px; } .wgroup h3, .subh { font-size: 1.4rem; margin: 0 0 10px; } .subh { margin-top: 28px; }
.wlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--spruce); }
.wlist li { padding: 11px 0; border-bottom: 1px solid var(--line); } .wlist b { font: 600 1.03rem var(--display); } .wlist p { font-size: 0.92rem; margin-top: 3px; color: var(--bark); }
.wlist.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.wfig { margin: 0 0 20px; } .wfig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; } .wfig figcaption { font-size: 0.74rem; color: var(--bark); margin-top: 5px; }
.cform { display: grid; gap: 16px; max-width: 640px; }
.frow label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 5px; } .frow.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform input[type=text], .cform input[type=email], .cform select, .cform textarea { width: 100%; font: 400 1rem var(--body); padding: 10px 11px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--spruce); }
.cform .check { font-weight: 400; display: flex; gap: 8px; align-items: center; } .fine { font-size: 0.8rem; color: var(--bark); margin-top: 6px; }
.prosemd h2 { font-size: 1.7rem; } .prosemd h3 { font-size: 1.15rem; }
.queue h4 a { text-decoration-thickness: 1px; }
@media (max-width: 1100px) { .mtns.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1020px) { .wcols, .wlist.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .mtns.n4 { grid-template-columns: minmax(0, 1fr); } .ev { grid-template-columns: minmax(0, 1fr); } .prefs { width: 100%; order: 2; } .near span { font-size: 0.74rem; } .frow.two { grid-template-columns: 1fr; } .rline { justify-content: start; text-align: left; } .scores { justify-items: start; } }
.snowline { fill: none; stroke: #8fd0f2; stroke-width: 3.5; stroke-linecap: round; stroke-opacity: 0.95; }
.kidtag { font: 500 0.62rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #1f6b46; border: 1px solid currentColor; padding: 2px 6px; border-radius: 2px; vertical-align: middle; white-space: nowrap; }
.kidtag.no { color: var(--bark); }
body.kidsonly [data-kid]:not([data-kid="yes"]) { display: none !important; }
.wlist .fix { font-size: 0.8rem; }
.wlist li.cathide { display: none; }
.visit { display: block; font-size: 0.84rem; margin-top: 2px; color: var(--spruce); }
@media (max-width: 640px) { .brand b { font-size: 1.05rem; } }
@media (max-width: 1180px) and (min-width: 641px) { .brand span { display: none; } }
.ratingof { font-size: 0.74rem; color: var(--bark); max-width: 170px; text-align: right; line-height: 1.3; }
@media (max-width: 640px) { .ratingof { text-align: left; max-width: none; } }

.direct { font-size: 1.12rem; max-width: 52ch; margin: 0 0 16px; }

.fixline { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gut); font-size: 0.85rem; text-align: right; color: var(--bark); }
.fixline.bottom { padding: 18px var(--gut) 26px; text-align: left; font-size: 0.95rem; }

/* towns control: two presets and a tick-list */
.toff { display: none !important; }
.townsf { display: inline-flex; align-items: center; gap: 0; flex-wrap: wrap; position: relative; font-size: 0.82rem; }
.townsf .tl { color: var(--bark); margin-right: 8px; }
.townsf button, .townsf summary { font: 500 0.82rem var(--body); color: var(--spruce); background: var(--paper); border: 1px solid var(--line); padding: 6px 10px; cursor: pointer; margin-left: -1px; list-style: none; }
.townsf summary::-webkit-details-marker { display: none; }
.townsf summary::after { content: " \25BE"; }
.townsf button[aria-pressed="true"], .townsf.custom summary { background: var(--spruce); color: var(--snow); border-color: var(--spruce); position: relative; }
.townsf details { position: relative; }
.townsf .tpick { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; background: var(--paper); border: 1px solid var(--spruce); padding: 12px 14px; display: grid; grid-template-columns: repeat(2, max-content); gap: 5px 22px; min-width: 260px; }
.townsf .tpick b { grid-column: 1 / -1; font: 600 0.7rem var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bark); margin-top: 4px; }
.townsf .tpick label { display: flex; gap: 7px; align-items: center; white-space: nowrap; cursor: pointer; }
@media (max-width: 640px) { .townsf .tpick { grid-template-columns: 1fr 1fr; left: auto; right: auto; max-width: calc(100vw - 40px); } .townsf button, .townsf summary { padding: 7px 8px; } }

.kidnote { margin: 0; padding: 10px var(--gut); background: #ffe14d; color: #111; font-size: 0.95rem; font-weight: 500; }
.kidnote button { font: inherit; font-weight: 600; text-decoration: underline; background: none; border: 0; padding: 0 0 0 8px; cursor: pointer; color: inherit; }

/* specials, the Open filter, town pages */
.specials { list-style: none; margin: 8px 0 0; padding: 0; }
.specials li { background: #fff6c9; color: #111; padding: 7px 10px; margin: 0 0 4px; font-size: 0.92rem; border: 0; }
.specials li a { font-weight: 600; margin-left: 4px; }
.openat { display: inline-flex; align-items: center; gap: 6px; }
.openat .chip i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c8102e; margin-right: 6px; vertical-align: 1px; }
.openat select { font: 500 0.85rem var(--body); padding: 5px 6px; border: 1px solid var(--line); background: var(--paper); color: var(--spruce); }
.v.hit { outline: 3px solid #ffd400; outline-offset: 6px; }
.dir .side .mapbox { position: sticky; top: 96px; }
.dir .side .mapbox.big { position: fixed; top: 0; }
.dir .side .mapbox > svg { display: block; width: 100%; height: auto; }
.townnav { margin-top: 14px; font-size: 0.92rem; line-height: 1.9; }
.townnav b { font-weight: 700; }
.townpage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px clamp(24px, 4vw, 56px); align-items: start; padding-bottom: 40px; }
.townpage .wgroup h3 .muted { font-weight: 400; font-size: 0.85em; margin-left: 6px; }
.townpage .links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.86rem; margin-top: 4px; }
.townpage .tmore { margin: 10px 0 26px; font-weight: 600; }
.ftowns { line-height: 1.9; }
@media (max-width: 820px) { .townpage { grid-template-columns: minmax(0, 1fr); } .dir .side .mapbox { position: relative; top: 0; } }

/* lift tickets on the mountain cards; the Independent mark on shops, schools and guides */
.tix { font-size: 0.9rem; margin: 2px 0 4px; }
.tix .tixsum { margin: 0 0 4px; }
.tix details summary { cursor: pointer; font-weight: 600; }
.tix table { width: 100%; margin: 6px 0; } .tix th { text-align: left; font-weight: 500; padding-right: 10px; vertical-align: top; white-space: nowrap; } .tix td { padding: 3px 0; }
.tix .links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.indtag { font: 600 0.62rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; background: var(--spruce); color: var(--snow); padding: 3px 6px 2px; vertical-align: middle; margin-right: 4px; }

.spmore summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; margin: 4px 0; }

.v .addr { font-size: 0.82rem; color: var(--bark); margin-top: 4px; }

.skipromo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 22px; align-items: center; margin-top: 26px; padding: 18px 20px; border: 1px solid currentColor; text-decoration: none; color: inherit; border-top: 8px solid #1b3bff; }
.skipromo .sk1 { font: 600 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; grid-row: 1 / 3; }
.skipromo b { font: 600 1.5rem/1.15 var(--display); }
.skipromo .sk2 { grid-column: 2; font-size: 0.95rem; }
.skipromo .sk3 { grid-row: 1 / 3; grid-column: 3; font-weight: 700; white-space: nowrap; }
.skipromo:hover { background: #1b3bff; color: #fff; }
@media (max-width: 640px) { .skipromo { grid-template-columns: 1fr; } .skipromo .sk1, .skipromo .sk3 { grid-row: auto; grid-column: 1; } }

.beta { font: 600 0.62rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; background: #ffe14d; color: #111; padding: 3px 6px 2px; margin-left: 8px; text-decoration: none; align-self: center; }
.prosemd h2 { margin-top: 1.6em; }

.tour { margin-bottom: 2.4em; padding-bottom: 1.4em; border-bottom: 1px solid var(--line); }
.tour table td:first-child { font-weight: 700; width: 2em; }
.tourmap { margin: 18px 0; max-width: 640px; }
.tourmap svg { width: 100%; height: auto; border: 1px solid var(--spruce); background: var(--paper); }
.tourmap circle.d1 { fill: #0b0b0b; } .tourmap circle.d2 { fill: #fff; stroke: #0b0b0b; stroke-width: 2; } .tourmap circle.pub { stroke: #ffc400; stroke-width: 4; }
.tourmap text { font: 600 11px sans-serif; } .tourmap text.d1 { fill: #fff; } .tourmap text.d2 { fill: #0b0b0b; }
.tourmap figcaption { font-size: 0.82rem; color: var(--bark); margin-top: 6px; }
.tourmap text.lb { font: 500 11px sans-serif; fill: #0b0b0b; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
