/* =====================================================
   MALABAR FARM STATE PARK — Main Stylesheet
   Palette: earthy greens, warm amber, barn red, sky blue
   Fonts: Zodiak (display) + Work Sans (body)
   ===================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Fonts */
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Malabar color palette — earthy / pastoral */
  --color-bg: #f6f3ee;
  --color-surface: #faf8f4;
  --color-surface-2: #fdfcf9;
  --color-surface-offset: #ede8e0;
  --color-surface-offset-2: #e5dfd5;
  --color-surface-dynamic: #d9d2c5;
  --color-divider: #cec8bc;
  --color-border: #c4bfb2;

  /* Text */
  --color-text: #2a2418;
  --color-text-muted: #6e6859;
  --color-text-faint: #b0aa9d;
  --color-text-inverse: #f8f5f0;

  /* Primary — forest green */
  --color-primary: #2d6b3e;
  --color-primary-hover: #1f5030;
  --color-primary-active: #153720;
  --color-primary-highlight: #c8ddd0;

  /* Accent — warm amber/harvest gold */
  --color-accent: #b8740a;
  --color-accent-hover: #8f5906;
  --color-accent-highlight: #f0dfc2;

  /* Barn red */
  --color-barn-accent: #8b2d2d;
  --color-barn-highlight: #e8d0d0;

  /* Sky blue */
  --color-sky: #2b6f9e;
  --color-sky-highlight: #c6dded;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(42, 36, 24, 0.06);
  --shadow-md: 0 4px 12px rgba(42, 36, 24, 0.09);
  --shadow-lg: 0 12px 32px rgba(42, 36, 24, 0.13);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Illustration palette */
  --color-field-light: #c8d98a;
  --color-field-mid: #a8c06a;
  --color-field-dark: #7a9e4a;
  --color-barn: #8b3a3a;
  --color-barn-roof: #6b2a2a;
  --color-barn-door: #4a1e1e;
  --color-barn-window: #d4a77a;
  --color-silo: #c8b89a;
  --color-silo-top: #a89878;
  --color-tree: #3a6e38;
  --color-tree-2: #2e5830;
  --color-trunk: #6a4a2a;
  --color-fence: #9a8060;
  --color-horse: #5a3e28;
  --color-sun: #f0c040;
  --color-bird: #2a2418;
}

[data-theme='dark'] {
  --color-bg: #181510;
  --color-surface: #1e1a14;
  --color-surface-2: #231f18;
  --color-surface-offset: #1b1710;
  --color-surface-offset-2: #201c15;
  --color-surface-dynamic: #2c2720;
  --color-divider: #2e291f;
  --color-border: #3d3828;
  --color-text: #e0d9cc;
  --color-text-muted: #8a8374;
  --color-text-faint: #5a5446;
  --color-text-inverse: #1e1a14;
  --color-primary: #5ca370;
  --color-primary-hover: #48915d;
  --color-primary-active: #347a49;
  --color-primary-highlight: #283c2d;
  --color-accent: #e8a040;
  --color-accent-hover: #d08830;
  --color-accent-highlight: #3c3020;
  --color-barn-accent: #c46060;
  --color-barn-highlight: #3c2020;
  --color-sky: #5599cc;
  --color-sky-highlight: #203040;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.45);
  --color-field-light: #4a5c30;
  --color-field-mid: #3e4e28;
  --color-field-dark: #2e3c1e;
  --color-barn: #6a2c2c;
  --color-barn-roof: #4e2020;
  --color-barn-door: #2c1414;
  --color-barn-window: #8a6040;
  --color-silo: #5c4e38;
  --color-silo-top: #4a3c2c;
  --color-tree: #2a4a28;
  --color-tree-2: #1e3820;
  --color-trunk: #4a3018;
  --color-fence: #6a5840;
  --color-horse: #3a2818;
  --color-sun: #c0900a;
  --color-bird: #e0d9cc;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #181510;
    --color-surface: #1e1a14;
    --color-surface-2: #231f18;
    --color-surface-offset: #1b1710;
    --color-surface-offset-2: #201c15;
    --color-surface-dynamic: #2c2720;
    --color-divider: #2e291f;
    --color-border: #3d3828;
    --color-text: #e0d9cc;
    --color-text-muted: #8a8374;
    --color-text-faint: #5a5446;
    --color-text-inverse: #1e1a14;
    --color-primary: #5ca370;
    --color-primary-hover: #48915d;
    --color-primary-active: #347a49;
    --color-primary-highlight: #283c2d;
    --color-accent: #e8a040;
    --color-accent-hover: #d08830;
    --color-accent-highlight: #3c3020;
    --color-barn-accent: #c46060;
    --color-barn-highlight: #3c2020;
    --color-sky: #5599cc;
    --color-sky-highlight: #203040;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.45);
    --color-field-light: #4a5c30;
    --color-field-mid: #3e4e28;
    --color-field-dark: #2e3c1e;
    --color-barn: #6a2c2c;
    --color-barn-roof: #4e2020;
    --color-barn-door: #2c1414;
    --color-barn-window: #8a6040;
    --color-silo: #5c4e38;
    --color-silo-top: #4a3c2c;
    --color-tree: #2a4a28;
    --color-tree-2: #1e3820;
    --color-trunk: #4a3018;
    --color-fence: #6a5840;
    --color-horse: #3a2818;
    --color-sun: #c0900a;
    --color-bird: #e0d9cc;
  }
}

/* ---------- BASE ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color 250ms ease, color 250ms ease;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; }

button { cursor: pointer; background: none; border: none; }

a, button, [role='button'] {
  transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ---------- SITE HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}

.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.logo svg { color: var(--color-primary); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; }
.logo-sub { font-size: var(--text-xs); color: var(--color-text-muted); }

.main-nav {
  display: flex;
  gap: var(--space-2);
  margin-left: auto;
}
.main-nav a {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.main-nav a:hover { color: var(--color-primary); background: var(--color-primary-highlight); }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--color-primary); background: var(--color-surface-offset); }

@media (max-width: 700px) {
  .main-nav { display: none; }
  .header-inner { gap: var(--space-4); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-surface-offset) 100%);
  border-bottom: 1px solid var(--color-divider);
}

.hero-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.05;
}
.hero-title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-bottom: var(--space-8);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}
.fact { display: flex; flex-direction: column; gap: var(--space-1); }
.fact-num { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-accent); }
.fact-label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.fact-div { width: 1px; height: 32px; background: var(--color-divider); }

.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.55;
}
.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-art { opacity: 0.2; width: 100%; }
}

/* ---------- SPOTLIGHT ---------- */
.spotlight {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  background: linear-gradient(135deg, var(--color-barn-highlight) 0%, var(--color-accent-highlight) 100%);
  border-bottom: 1px solid var(--color-divider);
}

.spotlight-inner {
  text-align: center;
}

.spotlight-badge {
  display: inline-block;
  background: var(--color-barn-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.spotlight-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.plowing-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

.plowing-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  min-width: 200px;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.plowing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plowing-card.upcoming { border-color: var(--color-primary); }

.plowing-year {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.plowing-date-range {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.plowing-time {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.plowing-status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}
.past-label { background: var(--color-surface-offset-2); color: var(--color-text-muted); }
.upcoming-label { background: var(--color-primary-highlight); color: var(--color-primary); }

.contests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.contest-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.contest-icon { font-size: 1.25rem; flex-shrink: 0; }

.spotlight-tip {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  padding: var(--space-4) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent);
  max-width: 56ch;
  margin-inline: auto;
}

/* ---------- SECTION HEADERS ---------- */
.section-header { margin-bottom: var(--space-10); }
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.section-sub { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- EVENTS ---------- */
.section-events {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  border-bottom: 1px solid var(--color-divider);
}

.year-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid var(--color-divider);
  padding-bottom: var(--space-2);
}

.year-tab {
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}
.year-tab.active {
  color: var(--color-primary);
  background: var(--color-primary-highlight);
}
.year-tab:hover:not(.active) {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.events-list { display: grid; gap: var(--space-4); }

.event-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: start;
  gap: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-2);
  flex-shrink: 0;
}
.event-month { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }
.event-day { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--color-text); line-height: 1; }
.event-day-end { font-size: var(--text-xs); color: var(--color-text-muted); }

.event-body { min-width: 0; }
.event-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
}
.tag-plowing { background: var(--color-barn-highlight); color: var(--color-barn-accent); }
.tag-seasonal { background: var(--color-accent-highlight); color: var(--color-accent); }
.tag-tour { background: var(--color-primary-highlight); color: var(--color-primary); }
.tag-festival { background: var(--color-sky-highlight); color: var(--color-sky); }
.tag-farm { background: var(--color-surface-offset-2); color: var(--color-text-muted); }

.event-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text); margin-bottom: var(--space-1); }
.event-desc { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 60ch; }
.event-time { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); }

.event-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
  flex-shrink: 0;
}
.event-free {
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
}
.event-featured-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-barn-accent);
  color: #fff;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
}

@media (max-width: 640px) {
  .event-card {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }
  .event-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
  }
}

/* ---------- WEATHER ---------- */
.section-weather {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.weather-loading {
  grid-column: 1 / -1;
  padding: var(--space-8);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.weather-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.weather-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.weather-day-label { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-2); }
.weather-icon { font-size: 2rem; margin-bottom: var(--space-2); }
.weather-high { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text); }
.weather-low { font-size: var(--text-xs); color: var(--color-text-muted); }
.weather-desc { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-2); line-height: 1.3; }
.weather-precip { font-size: var(--text-xs); color: var(--color-sky); margin-top: var(--space-1); }

.weather-note { font-size: var(--text-xs); color: var(--color-text-faint); text-align: center; }
.weather-note a { color: var(--color-text-muted); }
.weather-note a:hover { color: var(--color-primary); }

/* ---------- DIRECTIONS ---------- */
.section-directions {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  border-bottom: 1px solid var(--color-divider);
}

.directions-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.dir-tab {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  background: transparent;
  cursor: pointer;
}
.dir-tab.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}
.dir-tab:hover:not(.active) {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.directions-panel {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}

.dir-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.dir-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.dir-stat-label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-text-muted); }
.dir-stat-val { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text); }
.dir-stat-sub { font-size: var(--text-xs); color: var(--color-text-muted); }

.dir-steps { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.dir-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.dir-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.maps-link { margin-top: var(--space-2); }

/* ---------- VISITOR INFO ---------- */
.section-visitor {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
}

.visitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.what-to-bring-card {
  grid-column: 1 / -1;
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.info-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.info-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
  max-width: none;
}
.info-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.info-list li strong { color: var(--color-text); font-weight: 600; }

/* What to Bring */
.bring-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-8);
}

.bring-cat-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1.5px solid var(--color-accent-highlight);
}

.bring-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.bring-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
  max-width: none;
}
.bring-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-xs);
  top: 2px;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-brand svg { color: var(--color-primary); opacity: 0.7; }

.footer-links {
  display: flex;
  gap: var(--space-5);
  margin-left: auto;
}
.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--color-primary); }

.footer-address {
  width: 100%;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

@media (max-width: 640px) {
  .footer-links { margin-left: 0; }
}
