:root {
  --dark-900: #16160f;
  --dark-700: #292a1e;
  --dark-600: #3c3d2c;
  --gold-100: #fdf1c9;
  --gold-500: #fbdb30;
  --gold-700: #a9840f;
  --cream: #faf7f0;
  --cream-dark: #f1ead9;
  --ink: #22271f;
  --ink-soft: #4c554a;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(22, 22, 15, 0.08);
  --shadow-md: 0 12px 32px rgba(22, 22, 15, 0.16);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--dark-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

p { margin: 0 0 1em; }

a { color: var(--gold-700); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold-700);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-lg { padding: 0.9em 2em; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark-900);
  font-weight: 700;
  margin-right: auto;
}
.brand-logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
  display: block;
}

.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-scroll-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: hero-scroll 90s linear infinite;
}
.hero-scroll-track img {
  height: 100%;
  width: clamp(220px, 26vw, 380px);
  flex: 0 0 auto;
  object-fit: cover;
  display: block;
}
@keyframes hero-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-track { animation: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 22, 15, 0.55) 0%, rgba(22, 22, 15, 0.65) 45%, rgba(22, 22, 15, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-100);
  margin-bottom: 0.75em;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  max-width: 14ch;
}
.hero-lede {
  max-width: 52ch;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 1.5em;
}

/* Sections */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--cream-dark);
}
.section-lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}

.video-embed {
  max-width: 320px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 0;
}
.photo-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.photo-thumb:hover img,
.photo-thumb:focus-visible img {
  transform: scale(1.06);
}
.photo-thumb:focus-visible {
  outline: 3px solid var(--gold-700);
  outline-offset: 2px;
}

/* Lightbox */
.photo-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
}
.photo-lightbox::backdrop {
  background: rgba(15, 15, 10, 0.88);
}
.photo-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
}
.photo-lightbox button {
  position: fixed;
  background: rgba(22, 22, 15, 0.55);
  color: var(--white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.photo-lightbox button:hover,
.photo-lightbox button:focus-visible {
  background: rgba(22, 22, 15, 0.85);
}
.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 900px) {
  .video-gallery-grid { grid-template-columns: 1fr; gap: 40px; }
  .video-embed { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.about-facts {
  display: grid;
  gap: 16px;
}
.fact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 4px solid var(--gold-700);
}
.fact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-700);
  font-weight: 700;
}
.fact-value {
  font-weight: 600;
  color: var(--dark-900);
}

/* Routes */
.route-tabs {
  display: flex;
  gap: 12px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}
.route-tab {
  padding: 0.7em 1.8em;
  border-radius: 999px;
  border: 2px solid var(--dark-700);
  background: transparent;
  color: var(--dark-700);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.route-tab:hover { background: var(--gold-100); }
.route-tab.is-active {
  background: var(--dark-700);
  color: var(--white);
}

.route-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.route-map {
  height: 460px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--white);
}
.route-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-value {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--gold-700);
  display: block;
}
.stat-card .stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.stat-note p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.course-grid .fact-label {
  display: block;
  margin-top: 4px;
}

/* Day / list */
.day-grid { max-width: 780px; }
.day-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.day-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.day-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 500;
}
.day-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Sponsors */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.sponsor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-700);
}
.sponsor-card-main {
  border-color: var(--gold-700);
}
.sponsor-logo {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sponsor-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-700);
  font-weight: 700;
}
.sponsor-name {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--dark-900);
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.location-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.location-map {
  height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* CTA banner */
.cta-banner {
  background: var(--dark-900);
  color: var(--white);
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h2 { color: var(--white); margin: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 32px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.footer-inner a {
  color: var(--white);
  font-weight: 700;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Leaflet popup theming */
.leaflet-popup-content-wrapper {
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .route-panel { grid-template-columns: 1fr; }
  .route-map { height: 360px; }
}

@media (max-width: 720px) {
  .brand-logo { height: 44px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow-md);
  }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}
