
:root {
  color-scheme: light;
  --ink: #1b1f23;
  --muted: #5f6b71;
  --paper: #fbfaf6;
  --warm: #f3e7d7;
  --green: #1f6f5b;
  --blue: #1e5b84;
  --red: #a34132;
  --line: rgba(27, 31, 35, .14);
  --shadow: 0 18px 50px rgba(27, 31, 35, .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;
  background: var(--paper);
  color: var(--ink);
}
a { color: inherit; }
button { font: inherit; }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1b1f23 center / cover no-repeat;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 17, 18, .22), rgba(12, 17, 18, .75));
}
.topbar {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(16, 19, 20, .28);
  backdrop-filter: blur(16px);
}
.topbar a {
  text-decoration: none;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 12vh;
  color: #fff;
}
.eyebrow, .section-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 760;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(52px, 11vw, 132px);
  line-height: .92;
  letter-spacing: 0;
}
.lede {
  max-width: 680px;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.18;
  color: rgba(255,255,255,.9);
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.stat {
  min-width: 130px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.stat strong {
  display: block;
  font-size: 22px;
}
.stat span {
  color: rgba(255,255,255,.8);
  font-size: 13px;
}

main { overflow: hidden; }
section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}
.intro {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 44px;
}
h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.section-kicker { color: var(--red); }
.day-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.day-button {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  min-height: 130px;
  cursor: pointer;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.day-button:hover, .day-button.is-active {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 111, 91, .35);
}
.day-button strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}
.day-button span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.map-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 0;
  padding: 0;
  background: #eaf0ea;
}
.map-copy {
  padding: 72px max(32px, calc((100vw - 1160px) / 2)) 72px 32px;
  align-self: center;
}
.map-copy p:last-child {
  color: var(--muted);
  line-height: 1.6;
}
.trip-map {
  min-height: 620px;
  width: 100%;
}
.leaflet-popup-content {
  margin: 10px;
  min-width: 160px;
}
.popup-thumb {
  width: 180px;
  height: 118px;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}

.album-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
}
.filter.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.gallery {
  columns: 4 220px;
  column-gap: 14px;
}
.media-card {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(27,31,35,.08);
}
.media-card img {
  width: 100%;
  display: block;
  background: #e8e1d7;
}
.media-card__meta {
  padding: 11px 12px 13px;
}
.media-card__meta strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.media-card__meta span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
}
.video-pill {
  position: absolute;
  margin: 10px;
  background: rgba(0,0,0,.68);
  color: #fff;
  padding: 6px 9px;
  font-size: 12px;
}
.thumb-wrap { position: relative; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  grid-template-rows: 1fr auto;
  background: rgba(12, 14, 15, .92);
  color: #fff;
  padding: 26px;
}
.lightbox.is-open { display: grid; }
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
.lightbox__media {
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__media img,
.lightbox__media video {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #111;
}
.lightbox__caption {
  width: min(100%, 900px);
  margin: 16px auto 0;
  color: rgba(255,255,255,.86);
  text-align: center;
}

@media (max-width: 820px) {
  .hero { min-height: 86vh; }
  .topbar { top: 24px; width: calc(100% - 24px); justify-content: center; }
  .topbar a { padding: 9px 10px; }
  .hero__content { width: min(100% - 28px, 1120px); padding: 88px 0 8vh; }
  section { width: min(100% - 28px, 1160px); padding: 52px 0; }
  .intro, .map-section { grid-template-columns: 1fr; }
  .map-section { width: 100%; }
  .map-copy { padding: 52px 20px 24px; }
  .trip-map { min-height: 420px; }
  .album-head { align-items: start; flex-direction: column; }
  .filter-row { justify-content: flex-start; }
  .gallery { columns: 2 150px; column-gap: 10px; }
  .media-card { margin-bottom: 10px; }
  .lightbox { padding: 16px; }
}
