:root {
  --si-navy: #0f2747;
  --si-blue: #1e5aa8;
  --si-green: #2f6b3a;
  --si-snow: #f4f7fb;
  --si-ink: #1b2430;
  --si-muted: #5b6675;
  --radius: 10px;
}
body { color: var(--si-ink); background: #ffffff; }
.container { max-width: 1180px; }
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero .eyebrow { letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; opacity: .9; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .4rem 0 1rem; color: #fff; }
.hero-lead { font-size: 1.15rem; max-width: 62ch; }
.hero-search { display: flex; gap: .5rem; margin: 1.5rem 0; }
.hero-search input { flex: 1; padding: .85rem 1rem; border: 0; border-radius: var(--radius); font-size: 1rem; }
.hero-search button { padding: .85rem 1.4rem; border: 0; border-radius: var(--radius); background: var(--si-blue); color: #fff; font-weight: 600; cursor: pointer; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-chips a { background: rgba(255,255,255,.15); color: #fff; padding: .4rem .8rem; border-radius: 999px; text-decoration: none; font-size: .9rem; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--si-snow); }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 { color: var(--si-navy); }
.section-cta { margin-top: 1.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.dest-card { display: block; background: #fff; border: 1px solid #e3e8ef; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.dest-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,39,71,.08); }
.dest-card.compact .dest-card-body { padding: 1rem; }
.dest-card-media { aspect-ratio: 16/10; background: #dde3ec; }
.dest-card-media img { width: 100%; height: 100%; object-fit: cover; }
.dest-card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #cfe0f5, #e8f0fa); }
.dest-card-body { padding: 1rem; }
.dest-card-body h3 { margin: .3rem 0; color: var(--si-navy); font-size: 1.05rem; }
.dest-card-body p { margin: .2rem 0; color: var(--si-muted); font-size: .9rem; }
.badge { display: inline-block; font-size: .75rem; background: #e8f0fa; color: var(--si-blue); padding: .15rem .5rem; border-radius: 999px; }
.status { font-size: .8rem; font-weight: 600; }
.status-operating { color: #166534; }
.status-seasonal { color: #92400e; }
.status-temporarily-closed { color: #b45309; }
.status-permanently-closed { color: #991b1b; }
.status-historical { color: #6b7280; }
.status-unverified { color: #6b7280; font-style: italic; }
.status-pill { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: #eef2f7; }
.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.region-card { background: #fff; border: 1px solid #e3e8ef; border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: inherit; }
.region-card h3 { color: var(--si-navy); }
.map-container { height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid #e3e8ef; background: #eef2f7; }
.map-container.small { height: 300px; }
.map-container .leaflet-container { height: 100%; }
.map-legend { margin-top: .75rem; font-size: .9rem; color: var(--si-muted); }
.marker-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .25rem; vertical-align: middle; }
.marker-downhill { background: #1e3a8a; }
.marker-xc { background: #166534; }
.marker-trail { background: #0f766e; }
.ski-marker span { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.dest-list { display: flex; flex-direction: column; gap: .6rem; }
.dest-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1px solid #e3e8ef; border-radius: var(--radius); text-decoration: none; color: inherit; background: #fff; }
.dest-row:hover { border-color: var(--si-blue); }
.dest-row-main h3 { margin: 0; font-size: 1.05rem; color: var(--si-navy); }
.dest-row-main p { margin: .2rem 0 0; color: var(--si-muted); font-size: .9rem; }
.dest-row-side { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.filter-bar input, .filter-bar select { padding: .6rem .8rem; border: 1px solid #cbd5e1; border-radius: var(--radius); }
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } .hero { min-height: 60vh; } }
.prose { line-height: 1.7; }
.prose h2 { color: var(--si-navy); margin-top: 1.5rem; }
.dest-header { background: var(--si-snow); padding: 2.5rem 0; }
.dest-meta { color: var(--si-muted); }
.detail-list { display: grid; grid-template-columns: 180px 1fr; gap: .5rem 1rem; }
.detail-list dt { font-weight: 600; color: var(--si-navy); }
.detail-list dd { margin: 0; }
.dest-figure img { width: 100%; border-radius: var(--radius); }
.dest-figure figcaption { color: var(--si-muted); font-size: .85rem; margin-top: .4rem; }
.article-card { border-bottom: 1px solid #e3e8ef; padding: 1.2rem 0; }
.article-card h2 { margin: 0 0 .3rem; }
.article-card .meta { color: var(--si-muted); font-size: .85rem; }
.guide-list { padding-left: 1.2rem; }
.guide-list li { margin: .4rem 0; }
.narrow { max-width: 760px; margin: 0 auto; }
.page-header { margin-bottom: 1.5rem; }
.article-header .meta { color: var(--si-muted); }
.no-results { color: var(--si-muted); font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
/* logo wordmark */
.navbar-brand { font-weight: 800; color: var(--si-navy); text-decoration: none; font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.navbar-brand::before { content: "▲"; color: var(--si-blue); font-size: 1.1rem; }
footer#footer { background: #0f2747 !important; color: #dbeafe !important; padding: 2rem 0; }
footer#footer a { color: #93c5fd !important; }

.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}.footer-grid h4{color:#fff;margin-bottom:.6rem}.footer-grid ul{list-style:none;padding:0}.footer-grid li{margin:.3rem 0}.footer-brand{font-weight:800;font-size:1.2rem;color:#fff}.footer-bottom{margin-top:1.5rem;border-top:1px solid rgba(255,255,255,.15);padding-top:1rem;font-size:.85rem} @media(max-width:760px){.footer-grid{grid-template-columns:1fr}}

.hero-media{background:transparent;}
header#header{background:rgba(255,255,255,.92) !important;backdrop-filter:blur(8px);box-shadow:0 1px 12px rgba(15,39,71,.08);position:sticky;top:0;z-index:50;padding:.6rem 0}
header#header .navbar{display:flex;align-items:center;justify-content:space-between;gap:1rem}
header#header .navigation{display:flex;gap:.2rem;list-style:none;padding:0;margin:0;flex-wrap:wrap}
header#header .navigation li a:not(.active){color:var(--si-navy);text-decoration:none;padding:.5rem .75rem;border-radius:8px;font-weight:500;transition:background .15s,color .15s}
header#header .navigation li a:hover{background:#e8f0fa;color:var(--si-blue)}
.logo-text{font-size:1.35rem;font-weight:800;color:var(--si-navy);letter-spacing:-.02em}
.logo-text span{color:var(--si-blue)}
.logo-mark{color:var(--si-blue);font-size:1.1rem}
@media(max-width:760px){header#header .desktop-menu{display:none}}
html[data-theme='dark'] body{background:#0f172a;color:#e2e8f0}
html[data-theme='dark'] .section-alt{background:#1e293b}
html[data-theme='dark'] .dest-card,html[data-theme='dark'] .dest-row,html[data-theme='dark'] .region-card{background:#1e293b;border-color:#334155;color:#e2e8f0}
html[data-theme='dark'] .dest-card-body h3,html[data-theme='dark'] .dest-row-main h3,html[data-theme='dark'] .region-card h3,html[data-theme='dark'] .section-head h2{color:#f1f5f9}
html[data-theme='dark'] .dest-card-body p,html[data-theme='dark'] .dest-row-main p,html[data-theme='dark'] .dest-meta,html[data-theme='dark'] .map-legend{color:#94a3b8}
html[data-theme='dark'] .filter-bar input,html[data-theme='dark'] .filter-bar select{background:#0f172a;color:#e2e8f0;border-color:#334155}
html[data-theme='dark'] header#header{background:rgba(15,23,42,.92) !important}
html[data-theme='dark'] header#header .navigation li a:not(.active){color:#e2e8f0}
html[data-theme='dark'] header#header .navigation li a:hover{background:#1e3a8a;color:#fff}
html[data-theme='dark'] .logo-text{color:#f1f5f9}
html[data-theme='dark'] .badge{background:#1e3a8a;color:#bfdbfe}
html[data-theme='dark'] .status-pill{background:#1e293b;color:#e2e8f0}
html[data-theme='dark'] .detail-list dt{color:#93c5fd}
html[data-theme='dark'] footer#footer{background:#020617}
header#header{z-index:2000 !important}
.map-container{position:relative;z-index:1}
.leaflet-container{z-index:1}

header#header, html[data-theme='light'] header#header{background:#ffffff !important;color:var(--si-navy) !important}
html[data-theme='dark'] header#header{background:#0f172a !important;color:#e2e8f0 !important}
header#header .navbar-brand, header#header .theme-toggle, header#header .login-status-wrapper{color:inherit !important}
html[data-theme='light'] header#header .navbar-brand, html[data-theme='light'] header#header .navigation li a:not(.active), html[data-theme='light'] header#header .theme-toggle{color:var(--si-navy) !important}
html[data-theme='dark'] header#header .navbar-brand, html[data-theme='dark'] header#header .navigation li a:not(.active), html[data-theme='dark'] header#header .theme-toggle{color:#e2e8f0 !important}
html[data-theme='dark'] body, html[data-theme='dark'] main, html[data-theme='dark'] section, html[data-theme='dark'] article, html[data-theme='dark'] aside, html[data-theme='dark'] .container, html[data-theme='dark'] #page-wrapper{background-color:#0f172a !important;color:#e2e8f0 !important}
html[data-theme='dark'] h1, html[data-theme='dark'] h2, html[data-theme='dark'] h3, html[data-theme='dark'] h4, html[data-theme='dark'] p, html[data-theme='dark'] li, html[data-theme='dark'] span, html[data-theme='dark'] a{color:#e2e8f0 !important}
html[data-theme='dark'] a{color:#93c5fd !important}

html[data-theme='dark'] .dropmenu a.active, html[data-theme='dark'] .dropmenu a.active:hover{color:#111111 !important;background:#f2f2f3 !important}
html[data-theme='light'] .dropmenu a.active, html[data-theme='light'] .dropmenu a.active:hover{color:#ffffff !important;background:#242424 !important}
.dest-header{position:relative;padding:3rem 0;background:var(--si-snow);background-size:cover;background-position:center}
.dest-header--photo{color:#fff}
.dest-header--photo .dest-header-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,25,50,.15),rgba(10,25,50,.55))}
.dest-header--photo .container{position:relative;z-index:2}
.dest-header--photo .eyebrow,.dest-header--photo h1,.dest-header--photo .dest-meta{color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.dest-header--photo .status-pill{background:rgba(255,255,255,.2);color:#fff}
.dest-header .container, html[data-theme='dark'] .dest-header .container, html[data-theme='light'] .dest-header .container{background:transparent !important}
.mobile-menu{z-index:2100 !important}
header#header{z-index:100 !important}

.footer-bottom, .footer-bottom p, .footer-bottom *{color:#dbeafe !important}

.hero h1,.hero-lead,.hero .eyebrow{ text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero, html[data-theme='dark'] .hero, html[data-theme='light'] .hero{background:transparent !important;background-color:transparent !important}

