:root {
  --ink: #17201d;
  --muted: #5d6965;
  --paper: #f7f4ee;
  --white: #ffffff;
  --forest: #164238;
  --forest-2: #245f4d;
  --snow: #e6edf1;
  --gold: #d18f31;
  --berry: #8d2f48;
  --line: rgba(23, 32, 29, 0.16);
  --shadow: 0 18px 45px rgba(16, 34, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 22, 20, 0.72), rgba(10, 22, 20, 0));
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 32px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 104px clamp(20px, 5vw, 72px) 72px;
  color: var(--white);
  background: #10221e;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 18, 16, 0.82) 0%, rgba(7, 18, 16, 0.46) 42%, rgba(7, 18, 16, 0.12) 76%),
    linear-gradient(0deg, rgba(7, 18, 16, 0.58) 0%, rgba(7, 18, 16, 0) 38%);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.25rem, 14vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2.4vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band,
.season-band,
.map-section,
.faq-band {
  padding: clamp(56px, 8vw, 92px) 0;
}

.intro-band {
  background: var(--white);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(36px, 6vw, 72px) 0;
}

.benefit-card,
.season-grid article,
.planning-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-card {
  min-height: 220px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
  font-weight: 900;
}

.benefit-card p,
.season-grid p,
.planning-list p,
.map-copy p,
.two-column > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.benefit-card p,
.season-grid p,
.planning-list p {
  margin-top: 12px;
}

.season-band {
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(22, 66, 56, 0.97), rgba(36, 95, 77, 0.94)),
    radial-gradient(circle at 82% 20%, rgba(209, 143, 49, 0.26), rgba(209, 143, 49, 0) 34%);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.season-grid article {
  padding: 24px;
  color: var(--ink);
}

.biking {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 64px);
  padding: clamp(56px, 8vw, 92px) 0;
  align-items: start;
}

.biking-copy p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.04rem;
}

.biking-points {
  display: grid;
  gap: 14px;
}

.biking-points article {
  padding: 22px;
  border-left: 5px solid var(--forest-2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 34, 30, 0.09);
}

.biking-points article:nth-child(2) {
  border-left-color: var(--gold);
}

.biking-points article:nth-child(3) {
  border-left-color: var(--berry);
}

.biking-points p {
  margin-top: 10px;
  color: var(--muted);
}

.map-section {
  background: var(--snow);
}

.map-layout {
  display: grid;
  gap: 24px;
}

.map-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
}

.map-copy p {
  margin-top: 20px;
}

.map-controls {
  display: grid;
  gap: 16px;
}

.layer-toggles,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.layer-toggles label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.layer-toggles input {
  width: 16px;
  height: 16px;
  accent-color: var(--forest);
}

.layer-key {
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background: var(--forest);
}

.layer-key.ski {
  background: #2f80ed;
}

.layer-key.lifts {
  background: repeating-linear-gradient(90deg, #17201d 0 7px, transparent 7px 12px);
}

.layer-key.bike {
  background: #10a56f;
}

.filter-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.filter-button.active {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.map-stats div {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.map-stats dd {
  margin: 4px 0 0;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.map-panel {
  min-width: 0;
}

/* Local fallback for Leaflet's structural CSS if the CDN stylesheet is blocked. */
.leaflet-container {
  overflow: hidden;
  position: relative;
  outline-offset: 1px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-tile {
  border: 0;
  filter: inherit;
  visibility: hidden;
}

.leaflet-tile-loaded {
  visibility: inherit;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control-zoom {
  border: 1px solid rgba(23, 32, 29, 0.22);
  border-radius: 6px;
  overflow: hidden;
}

.leaflet-control-zoom a {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--ink);
  background: var(--white);
  line-height: 30px;
  text-align: center;
  text-decoration: none;
}

.leaflet-map-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-interactive {
  pointer-events: auto;
}

.leaflet-marker-icon {
  cursor: pointer;
}

.leaflet-popup {
  position: absolute;
  margin-bottom: 20px;
  text-align: center;
}

.leaflet-popup-content-wrapper {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(16, 34, 30, 0.22);
}

.leaflet-popup-content {
  min-width: 160px;
  margin: 0;
  text-align: left;
}

.leaflet-popup-tip-container {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 12px;
  margin-left: -12px;
  overflow: hidden;
  pointer-events: none;
}

.leaflet-popup-tip {
  width: 16px;
  height: 16px;
  margin: -8px auto 0;
  transform: rotate(45deg);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(16, 34, 30, 0.18);
}

.leaflet-popup-close-button {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 22px;
  height: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
}

.leaflet-popup-close-button:hover,
.leaflet-popup-close-button:focus {
  color: var(--ink);
}

#map {
  width: 100%;
  height: clamp(460px, 58vh, 680px);
  min-height: 460px;
  border: 1px solid rgba(23, 32, 29, 0.18);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 34, 30, 0.14);
  background: #d9e2df;
}

.map-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.place-popup h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.place-popup p {
  margin: 0;
  color: #43504c;
}

.venue-marker {
  background: transparent;
  border: 0;
}

.venue-marker span {
  display: block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.planning {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(56px, 8vw, 92px) 0;
}

.planning-list {
  display: grid;
  gap: 14px;
}

.planning-list article {
  padding: 22px;
}

.faq-band {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  padding: 22px;
  border-top: 1px solid var(--line);
}

.faq-list h3 {
  font-size: 1rem;
}

.faq-list p {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p:first-child {
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 126px;
  }

  .two-column,
  .map-layout,
  .planning,
  .biking,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .map-copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filters,
  .layer-toggles {
    justify-content: flex-start;
  }

  .benefits,
  .season-grid {
    grid-template-columns: 1fr;
  }

  #map {
    height: 520px;
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: block;
    min-height: auto;
  }

  .nav-links {
    justify-content: flex-start;
    margin-top: 10px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 92vh;
    padding-bottom: 52px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .map-stats {
    grid-template-columns: 1fr;
  }

  #map {
    height: 420px;
    min-height: 420px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
