/* website/static/css/style.css */

/* ── Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Plus+Jakarta+Sans:wght@400;600;700&family=Space+Grotesk:wght@300;400;500&family=Special+Elite&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* ── Variables ──────────────────────────────────── */
:root {
  --cream:   #f5f0e4;
  --brown:   #3d2b1f;
  --ochre:   #d4762a;
  --sage:    #8fbc5a;
  --gold:    #e8c84a;
  --light:   #ece7d8;
  --dark:    #2a1d13;
  --font-head: 'Special Elite', 'Courier New', monospace;
  --font-body: 'Lora', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --radius-sm: 0.75rem;
  --radius-md: 1.5rem;
  --radius-lg: 2.5rem;
  --radius-xl: 3rem;
  --shadow-card: 0 4px 24px rgba(61,43,31,0.10), 0 1px 4px rgba(61,43,31,0.06);
  --shadow-card-hover: 0 12px 40px rgba(61,43,31,0.18), 0 2px 8px rgba(61,43,31,0.10);
  --shadow-nav: 0 2px 24px rgba(61,43,31,0.15);
  --glass-bg: rgba(245,240,228,0.75);
  --glass-border: rgba(245,240,228,0.35);
  --glass-blur: blur(18px);
  --panel-dark: #2a1d13;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  padding-top: 5rem;
}
body.has-hero { padding-top: 0; }

/* ── Typography ─────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0;
}
h2, h3, h4, .label {
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
}
p { margin-bottom: 1rem; }
a { color: var(--ochre); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 900px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 1px solid transparent;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.site-nav.nav-scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-nav);
}
/* Interior pages: nav always in scrolled (visible) state */
body:not(.has-hero) .site-nav {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-nav);
}
body:not(.has-hero) .site-nav .wordmark,
body:not(.has-hero) .site-nav .nav-links a,
body:not(.has-hero) .site-nav .nav-toggle {
  color: var(--brown);
}
.site-nav .wordmark {
  font-family: var(--font-head);
  color: var(--cream);
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 1rem 0;
  white-space: nowrap;
  transition: color 0.35s;
}
.site-nav.nav-scrolled .wordmark { color: var(--brown); }
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.35s;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }
.site-nav.nav-scrolled .nav-links a { color: var(--brown); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem 0;
  transition: color 0.35s;
}
.site-nav.nav-scrolled .nav-toggle { color: var(--brown); }

/* ── Page wrapper ───────────────────────────────── */
.page { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.page-wide { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

/* ── Divider ────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--brown);
  opacity: 0.15;
  margin: 2.5rem 0;
}
.divider-camp {
  text-align: center;
  color: var(--ochre);
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  margin: 2.5rem 0;
  opacity: 0.6;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: var(--brown);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero.hero-full {
  min-height: 100vh;
}
/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
/* Dark gradient overlay -- sits between photo and content */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(42,29,19,0.75) 0%, rgba(42,29,19,0.2) 50%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 4;
  padding: 2.5rem;
  color: var(--cream);
  width: 100%;
}
.hero-content .label { color: var(--gold); margin-bottom: 0.5rem; }
.hero-content h1 { color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.hero-content .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ── Camp badge ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ochre);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  line-height: 1.4;
}

/* ── Cards / Quick-links ─────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.card {
  background: var(--light);
  border: 1px solid rgba(61,43,31,0.10);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
/* Subtle ochre-to-gold top bar */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ochre), var(--gold));
}
.card h3 { margin-bottom: 0.3rem; }
.card p { font-size: 0.9rem; margin: 0; opacity: 0.8; }
.card a { display: block; }
.card a:hover { text-decoration: none; }
/* Hover lift -- applied to .card when its parent <a> is hovered */
a:hover > .card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ── Photo gallery ──────────────────────────────── */
.photo-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  padding-bottom: 0.5rem;
}
.photo-strip img, .photo-strip .photo-placeholder {
  height: 220px;
  width: 320px;
  min-width: 320px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  opacity: 0.5;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* ── Timeline ────────────────────────────────────── */
.timeline { list-style: none; padding: 0; }
.timeline-day {
  margin-bottom: 2.5rem;
}
.timeline-day .day-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  border-bottom: 1px solid var(--ochre);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}
.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}
.timeline-time {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--ochre);
  min-width: 80px;
  padding-top: 0.15rem;
}
.timeline-desc { font-size: 0.95rem; }
.timeline-desc strong { display: block; font-style: normal; }
.timeline-desc em { font-size: 0.85rem; opacity: 0.7; }

/* ── Forms ──────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(61,43,31,0.3);
  background: white;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brown);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ochre);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-note { font-size: 0.82rem; opacity: 0.7; margin-top: 0.3rem; }
.radio-group { display: flex; gap: 1.5rem; margin-top: 0.4rem; }
.radio-group label {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(to top, #c06520 50%, var(--ochre) 50%);
  background-size: 100% 200%;
  background-position: top;
  color: white;
  transition: background-position 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.1s;
}
.btn-primary:hover { background-position: bottom; }
.btn-secondary {
  background: transparent;
  color: var(--ochre);
  border: 1px solid var(--ochre);
}

/* ── Scroll reveal ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ── Alerts ─────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-left: 3px solid;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.alert-error { border-color: #c0392b; background: #fdf0ee; color: #c0392b; }
.alert-success { border-color: var(--sage); background: #f0f7ea; color: #4a7a2a; }

/* ── Whatsapp promo ─────────────────────────────── */
.whatsapp-promo {
  background: var(--brown);
  color: var(--cream);
  padding: 1.5rem 2rem;
  border-radius: 2px;
  margin: 2rem 0;
}
.whatsapp-promo .label { color: var(--gold); }
.whatsapp-promo p { margin: 0.5rem 0 0; font-size: 0.95rem; opacity: 0.9; }
.whatsapp-promo a { color: var(--gold); }

/* ── FAQ ────────────────────────────────────────── */
.faq-item { margin-bottom: 1.75rem; }
.faq-item h3 { margin-bottom: 0.3rem; color: var(--ochre); }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--panel-dark);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: var(--cream);
  opacity: 0.75;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4rem;
}

/* ── Gate page ──────────────────────────────────── */
.gate-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1008 0%, #3d2b1f 50%, #2a1d13 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
/* Noise overlay on gate */
.gate-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.gate-box {
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
  z-index: 4;
}
.gate-box .names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.gate-box .date {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.gate-box .venue {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--cream);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.gate-box input {
  width: 100%;
  padding: 0.9rem;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.15em;
  border: 1px solid rgba(245,240,228,0.3);
  background: rgba(245,240,228,0.1);
  color: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.gate-box input::placeholder { color: rgba(245,240,228,0.4); letter-spacing: 0.1em; }
.gate-box input:focus { outline: none; border-color: var(--gold); }
.gate-box .btn { width: 100%; }
.gate-error {
  margin-top: 1rem;
  color: #f0a080;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.gate-divider {
  border: none;
  border-top: 1px solid rgba(245,240,228,0.15);
  margin: 2rem 0;
}

/* ── Admin ──────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.photo-slot {
  border: 2px dashed rgba(61,43,31,0.2);
  border-radius: 2px;
  padding: 0.75rem;
  text-align: center;
}
.photo-slot img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 1px;
  margin-bottom: 0.5rem;
}
.photo-slot .slot-name {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}

/* ── Compact itinerary (overnight) ──────────────── */
.itinerary-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}
.itinerary-day {
  border-top: 2px solid rgba(61,43,31,0.12);
  padding-top: 1rem;
}
.itinerary-day--saturday { border-top-color: var(--ochre); }
.itinerary-day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}
.itinerary-day-name {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}
.itinerary-day--saturday .itinerary-day-name { color: var(--ochre); }
.itinerary-day-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--brown);
  opacity: 0.45;
}
.itinerary-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(61,43,31,0.06);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--brown);
  line-height: 1.4;
}
.itinerary-item span:first-child {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
  opacity: 0.8;
}
.itinerary-item em { font-style: italic; opacity: 0.6; }
@media (max-width: 640px) {
  .itinerary-compact { grid-template-columns: 1fr; }
}

/* ── Scroll-driven full-viewport map schedule ────── */
.map-story {
  position: relative;
}

/* Sticky panel: fills viewport below nav */
.map-story-sticky {
  position: sticky;
  top: 5rem;
  height: calc(100vh - 5rem);
  overflow: hidden;
}

/* Map fills the entire sticky panel */
.map-story-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: object-position 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark gradient so text is always readable */
.map-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42,29,19,0.88) 0%,
    rgba(42,29,19,0.35) 45%,
    rgba(42,29,19,0.1) 100%
  );
}

/* White pulsing dot */
.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}
/* Pulse ring */
.map-dot::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  animation: dot-pulse 2s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(2.8); opacity: 0;   }
  100% { transform: scale(2.8); opacity: 0;   }
}
/* Spring pop-in when activated */
.map-dot.dot-active {
  opacity: 1;
  animation: dot-enter 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes dot-enter {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Dot positions */
.map-dot[data-dot="entrance"]   { left: 8%;  top: 63%; }
.map-dot[data-dot="checkin"]    { left: 55%; top: 42%; }
.map-dot[data-dot="campfire"]   { left: 10%; top: 83%; }
.map-dot[data-dot="arbor"]      { left: 36%; top: 50%; }
.map-dot[data-dot="patio"]      { left: 29%; top: 55%; }
.map-dot[data-dot="townsquare"] { left: 43%; top: 40%; }
.map-dot[data-dot="lodge"]      { left: 21%; top: 62%; }

/* Callout: line + label extending right from dot */
.map-dot-callout {
  position: absolute;
  left: 100%;
  top: 50%;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}
.map-dot.dot-active .map-dot-callout {
  animation: callout-enter 0.4s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes callout-enter {
  0%   { opacity: 0; transform: translateY(-50%) translateX(-8px); }
  100% { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.map-dot-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.map-dot-label {
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(42,29,19,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 10px;
  white-space: nowrap;
}
.map-dot-time {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.map-dot-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream);
  line-height: 1.1;
}

/* Date stamp bottom-left */
.map-story-date {
  position: absolute;
  bottom: 1.75rem;
  left: 2rem;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,228,0.45);
  z-index: 10;
}

/* Map flash on transition */
.map-story-sticky.map-transitioning .map-story-overlay {
  background: linear-gradient(
    to top,
    rgba(42,29,19,0.95) 0%,
    rgba(42,29,19,0.55) 45%,
    rgba(42,29,19,0.25) 100%
  );
  transition: background 0.15s ease;
}

/* Invisible scroll triggers */
.map-story-triggers { position: relative; z-index: 1; }
.map-trigger { height: 100vh; }

@media (max-width: 640px) {
  .map-dot-line { width: 28px; }
  .map-dot-label { padding: 4px 7px; }
  .map-dot-time { font-size: 0.55rem; }
  .map-dot-name { font-size: 0.85rem; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .nav-links.open {
    display: flex;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-links a { padding: 0.6rem 1.5rem; color: var(--brown); }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; flex-wrap: wrap; }
  .card-grid { grid-template-columns: 1fr; }
}
