
:root {
  --bg: #060b14;
  --bg-soft: #0b1322;
  --panel: rgba(10, 18, 34, 0.72);
  --panel-strong: rgba(8, 13, 25, 0.9);
  --text: #eef4ff;
  --muted: #9db0d0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #42a7ff;
  --accent-2: #76d5ff;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #0c1b36 0%, #07101f 30%, #050914 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-bg {
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(66,167,255,0.14), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(118,213,255,0.10), transparent 25%),
    radial-gradient(circle at 50% 100%, rgba(66,167,255,0.08), transparent 30%);
}
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.topbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 120px), 1120px); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(8, 13, 25, 0.55); backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 6px 20px rgba(0,0,0,0.22); }
.brand span { font-weight: 700; letter-spacing: 0.03em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: 0.96rem; }
.nav a:hover, .text-link:hover { color: var(--text); }
.nav-cta {
  padding: 12px 18px; border-radius: 999px; color: var(--text) !important;
  background: linear-gradient(135deg, rgba(66,167,255,0.18), rgba(118,213,255,0.08));
  border: 1px solid rgba(118,213,255,0.25);
}
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; padding: 104px 0 28px;
}
.hero-slides, .hero-slide, .hero-overlay, .hero-grid {
  position: absolute; inset: 0;
}
.hero-slide {
  opacity: 0; transition: opacity 1.2s ease, transform 8s ease;
  background-size: cover; background-position: 4% 44%; transform: scale(1.05);
}
.hero-slide.is-active { opacity: 1; transform: scale(1.0); }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.3), rgba(4, 8, 16, 0.72) 40%, rgba(4,8,16,0.92)),
    linear-gradient(90deg, rgba(2,4,9,0.72), rgba(2,4,9,0.22) 45%, rgba(2,4,9,0.64));
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.04));
}
.hero-content, .hero-bottom-cards { position: relative; z-index: 2; }
.eyebrow, .section-kicker, .panel-eyebrow, .footer-label, .timeline-day {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; color: var(--accent-2);
}
.hero-content { padding-top: 68px; }
.hero h1 {
  margin: 14px 0 16px; max-width: 850px; font-family: 'Oswald', sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: 0.94; text-transform: uppercase;
  letter-spacing: 0.02em; text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.hero-subtitle, .lead, .section-copy, .quote-card p, .footer p { color: var(--muted); }
.hero-subtitle { max-width: 680px; font-size: 1.04rem; line-height: 1.65; }
.hero-meta {
  margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 660px;
}
.hero-meta div, .glass-card, .feature-card, .timeline-card, .route-card, .register-panel-inner, .quote-card {
  background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.hero-meta {
  margin-top: 22px;
  display: flex;          /* 🔥 change from grid → flex */
  gap: 10px;
  flex-wrap: wrap;
}

.hero-meta div {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;

  padding: 10px 14px;     /* ↓ smaller */
  border-radius: 12px;

  width: fit-content;     /* 🔥 THIS fixes the width */
  min-width: 160px;
  max-width: 220px;

  background: var(--panel);
  border: 1px solid rgba(66, 167, 255, 0.35); /* blue pop */
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.hero-meta span { display: block; color: var(--muted); font-size: 0.84rem; margin-bottom: 8px; }
.hero-meta strong { font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px;
  padding: 0 24px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #06111f; background: linear-gradient(135deg, #7edcff, #42a7ff); box-shadow: 0 16px 40px rgba(66,167,255,0.32);
}
.btn-secondary {
  color: var(--text); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06);
}
.hero-bottom-cards {
  margin-top: auto; padding-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
}
.glass-card {
  padding: 18px; border-radius: var(--radius-sm);
}
.glass-card span { color: var(--muted); display: block; margin-bottom: 10px; }
.glass-card strong { font-size: 1.05rem; }
.section { position: relative; padding: 78px 0; }
.section-dark { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }
.split { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 46px; align-items: center; }
.reverse { grid-template-columns: 0.88fr 1.12fr; }
.section h2 {
  margin: 10px 0 14px; font-family: 'Oswald', sans-serif; font-size: clamp(1.8rem, 3.4vw, 3.25rem); line-height: 1; text-transform: uppercase;
}
.lead { font-size: 1rem; line-height: 1.65; max-width: 680px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px;
}
.feature-card, .timeline-card, .route-card, .register-panel-inner, .quote-card {
  border-radius: var(--radius); padding: 20px;
}
.feature-card h3, .route-card h3 { margin: 0 0 10px; font-size: 1.06rem; }
.feature-card p, .route-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.image-stack { position: relative; }
.image-main {
  width: 100%; height: 520px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.image-stack.compact .image-main { height: 460px; }
.floating-panel {
  position: static;
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9,16,30,0.92), rgba(7,12,24,0.88));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.floating-panel span {
  color: var(--accent-2);
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.floating-panel strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.45;
}
.section-heading-row {
  display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px;
}
.section-copy { max-width: 520px; line-height: 1.8; }
.timeline-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.timeline-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.timeline-card li {
  display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08);
}
.timeline-card li:first-child { border-top: none; padding-top: 0; }
.timeline-card strong { font-size: 0.98rem; }
.timeline-card span { color: var(--muted); }

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.route-map-card {
  min-height: 100%;
}
.route-map-wrap {
  position: relative;
  height: 80%;
  min-height: 300px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.route-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.route-map-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(7,12,24,0.78);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.route-stops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.route-card span {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%;
  margin-bottom: 18px; font-weight: 800; background: rgba(66,167,255,0.14); color: var(--accent-2); border: 1px solid rgba(118,213,255,0.2);
}
.register-split { align-items: stretch; }
.register-points { display: grid; gap: 14px; margin-top: 26px; }
.register-point {
  display: grid; gap: 6px; padding: 18px 20px; border-left: 2px solid rgba(118,213,255,0.5); background: rgba(255,255,255,0.03); border-radius: 0 16px 16px 0;
}
.register-point span { color: var(--muted); line-height: 1.7; }
.left-actions { margin-top: 24px; }
.register-panel { display: flex; }
.register-panel-inner { width: 100%; display: flex; flex-direction: column; justify-content: center; }
.register-panel-inner ul { margin: 18px 0 24px; padding-left: 18px; color: var(--text); line-height: 2; }
.panel-divider { height: 1px; background: rgba(255,255,255,0.10); margin: 4px 0 18px; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-grid img:hover { transform: translateY(-4px) scale(1.01); }
.quote-card { margin-top: 22px; }
.quote-card span { color: var(--accent-2); display: block; margin-bottom: 10px; }
.text-link { color: var(--accent-2); font-weight: 600; }
.footer { padding: 38px 0 52px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.15); }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 26px; align-items: start;
}
.footer h3 { margin: 0 0 12px; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 1.8rem; }
.footer-label { display: block; margin-bottom: 14px; }
.footer a { display: block; color: var(--muted); margin-bottom: 8px; }

@media (max-width: 1080px) {
  .split, .reverse, .register-split, .footer-grid, .gallery-grid, .timeline-grid, .feature-grid, .hero-meta, .hero-bottom-cards, .sponsor-grid {
    grid-template-columns: 1fr 1fr;
  }
  .route-layout { grid-template-columns: 1fr; }
  .route-stops-grid { grid-template-columns: 1fr 1fr; }
  .split, .reverse, .register-split { gap: 28px; }
  .section-heading-row { flex-direction: column; align-items: start; }
}
@media (max-width: 820px) {
  .topbar { top: 10px; padding: 12px 14px; border-radius: 24px; }
  .nav { display: none; }
  .brand span { font-size: .96rem; }
  .hero { padding-top: 92px; }
  .hero-content { padding-top: 54px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .hero-subtitle { font-size: 1rem; line-height: 1.7; }
  .split, .reverse, .register-split, .footer-grid, .gallery-grid, .timeline-grid, .feature-grid, .hero-meta, .hero-bottom-cards, .sponsor-grid { grid-template-columns: 1fr; }
  .route-layout, .route-stops-grid { grid-template-columns: 1fr; }
  .route-map-wrap { min-height: 320px; }
  .image-main { height: 360px; }
  .image-stack.compact .image-main { height: 360px; }
  .timeline-card li { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 68px 0; }
}

.register-panel-inner p { color: var(--muted); line-height: 1.7; margin: 14px 0 0; }
.register-panel-inner li { margin-bottom: 8px; }


.sponsor-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 14px;
}
.sponsor-card {
  min-height: 160px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.sponsor-card-large {
  background: linear-gradient(145deg, rgba(66,167,255,0.18), rgba(10,18,34,0.88));
}
.sponsor-card h3 {
  margin: 10px 0 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
}
.sponsor-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}


/* Topbar hide on scroll */
.topbar {
  transition: transform 0.28s ease;
  will-change: transform;
}

.topbar.is-hidden {
  transform: translate(-50%, calc(-100% - 24px));
}


/* Gallery sizing fix */
.gallery-card {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* Route info boxes tune-up */
.route-layout {
  max-width: 1160px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
}

.route-stops-grid {
  align-content: start;
}

.route-card {
  border: 1px solid rgba(66, 167, 255, 0.34);
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.94), rgba(8, 14, 27, 0.92));
}

.route-card:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease, border-color 0.2s ease;
  border-color: rgba(118, 213, 255, 0.6);
}
@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero {
    min-height: auto;
    padding: 82px 0 18px;
  }

  .hero-content {
    padding-top: 22px;
  }

  .hero h1 {
    margin: 10px 0 12px;
    line-height: 0.95;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    margin-top: 16px;
  }

  .hero-meta div {
    padding: 12px 14px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .btn {
    min-height: 50px;
    width: 100%;
    padding: 0 18px;
  }

  .section {
    padding: 44px 0;
  }

  .section h2 {
    margin: 8px 0 10px;
    line-height: 0.95;
  }

  .lead,
  .section-copy,
  .feature-card p,
  .route-card p,
  .register-point span,
  .register-panel-inner p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .feature-grid,
  .timeline-grid,
  .gallery-grid,
  .route-stops-grid,
  .sponsor-grid,
  .footer-grid,
  .split,
  .reverse,
  .register-split,
  .route-layout,
  .hero-bottom-cards {
    gap: 12px;
  }

  .feature-card,
  .timeline-card,
  .route-card,
  .register-panel-inner,
  .quote-card,
  .sponsor-card,
  .glass-card {
    padding: 16px;
    border-radius: 18px;
  }

  .image-main,
  .image-stack.compact .image-main {
    height: 240px;
    border-radius: 20px;
  }

  .route-map-wrap {
    height: 260px;
    border-radius: 20px;
  }

  .route-map-badge {
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .gallery-grid img {
    border-radius: 16px;
  }

  .sponsor-card {
    min-height: 120px;
  }

  .footer {
    padding: 28px 0 36px;
  }
}
@media (max-width: 1080px) {
  .route-layout {
    max-width: none;
    grid-template-columns: 1fr;
  }
}

/* Mid-screen fit tuning */
@media (max-width: 1366px) {
  .container {
    width: min(calc(100% - 28px), 1180px);
  }

  .topbar {
    width: min(calc(100% - 20px), 1180px);
    padding: 12px 16px;
    gap: 14px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 0.92rem;
  }

  .nav-cta {
    padding: 11px 16px;
  }

  .hero {
    min-height: 92svh;
    padding: 94px 0 22px;
  }

  .hero-content {
    padding-top: 32px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(2.9rem, 6.8vw, 5.2rem);
    margin: 12px 0 14px;
  }

  .hero-subtitle {
    max-width: 620px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-meta {
    max-width: 560px;
    gap: 12px;
    margin-top: 18px;
  }

  .hero-meta div {
    padding: 14px 16px;
  }

  .hero-meta strong {
    font-size: 0.98rem;
  }

  .btn {
    min-height: 52px;
    padding: 0 20px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .split,
  .reverse,
  .register-split {
    gap: 32px;
  }

  .feature-grid,
  .timeline-grid,
  .gallery-grid,
  .route-stops-grid,
  .sponsor-grid,
  .footer-grid,
  .hero-bottom-cards {
    gap: 12px;
  }

  .feature-card,
  .timeline-card,
  .route-card,
  .register-panel-inner,
  .quote-card,
  .sponsor-card,
  .glass-card {
    padding: 18px;
  }

  .image-main {
    height: 460px;
  }

  .image-stack.compact .image-main {
    height: 400px;
  }

  .route-map-wrap {
    min-height: 390px;
  }

  .sponsor-card {
    min-height: 145px;
  }
}

@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 24px), 1100px);
  }

  .topbar {
    width: min(calc(100% - 16px), 1100px);
    padding: 11px 14px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding: 88px 0 20px;
  }

  .hero-content {
    padding-top: 24px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  }

  .hero-subtitle {
    max-width: 560px;
  }

  .hero-meta {
    max-width: 520px;
  }

  .section {
    padding: 56px 0;
  }

  .section h2 {
    font-size: clamp(1.9rem, 3.1vw, 2.9rem);
  }

  .image-main,
  .image-stack.compact .image-main {
    height: 360px;
  }

  .route-map-wrap {
    min-height: 340px;
  }
}

/* Stronger mid-screen fit tuning */
@media (max-width: 1366px) {
  .hero {
    min-height: 86svh;
    padding: 88px 0 16px;
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin: 10px 0 12px;
  }

  .hero-subtitle {
    max-width: 560px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .hero-meta {
    max-width: 500px;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-meta div {
    padding: 12px 14px;
  }

  .hero-meta strong {
    font-size: 0.94rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 14px;
  }

  .btn {
    min-height: 50px;
    padding: 0 18px;
  }

  .section {
    padding: 52px 0;
  }

  .section h2 {
    font-size: clamp(1.75rem, 2.8vw, 2.7rem);
    margin: 8px 0 10px;
  }

  .lead,
  .section-copy,
  .feature-card p,
  .route-card p,
  .register-point span,
  .register-panel-inner p,
  .footer p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .split,
  .reverse,
  .register-split {
    gap: 24px;
  }

  .feature-grid,
  .timeline-grid,
  .gallery-grid,
  .route-stops-grid,
  .sponsor-grid,
  .footer-grid,
  .hero-bottom-cards {
    gap: 10px;
  }

  .feature-card,
  .timeline-card,
  .route-card,
  .register-panel-inner,
  .quote-card,
  .sponsor-card,
  .glass-card {
    padding: 16px;
    border-radius: 20px;
  }

  .image-main {
    height: 400px;
  }

  .image-stack.compact .image-main {
    height: 340px;
  }

  .route-map-wrap {
    min-height: 320px;
  }

  .sponsor-card {
    min-height: 135px;
  }
}

@media (max-width: 1180px) {
  .hero {
    padding: 82px 0 14px;
  }

  .hero-content {
    padding-top: 14px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(2.35rem, 5.6vw, 4rem);
  }

  .hero-subtitle {
    max-width: 510px;
    font-size: 0.9rem;
  }

  .hero-meta {
    max-width: 470px;
  }

  .section {
    padding: 48px 0;
  }

  .image-main,
  .image-stack.compact .image-main {
    height: 320px;
  }

  .route-map-wrap {
    min-height: 300px;
  }
}

/* Even stronger mid-screen fit tuning */
@media (max-width: 1366px) {
  .container {
    width: min(calc(100% - 24px), 1140px);
  }

  .topbar {
    width: min(calc(100% - 16px), 1140px);
    padding: 10px 14px;
    gap: 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .nav-cta {
    padding: 10px 15px;
  }

  .hero {
    min-height: 82svh;
    padding: 84px 0 12px;
  }

  .hero-content {
    padding-top: 12px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(2.2rem, 5.4vw, 3.8rem);
    margin: 8px 0 10px;
  }

  .hero-subtitle {
    max-width: 500px;
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .hero-meta {
    max-width: 450px;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-meta div {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .hero-meta span {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }

  .hero-meta strong {
    font-size: 0.9rem;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .btn {
    min-height: 46px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .section {
    padding: 42px 0;
  }

  .section h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.45rem);
    margin: 6px 0 8px;
  }

  .eyebrow,
  .section-kicker,
  .panel-eyebrow,
  .footer-label,
  .timeline-day {
    font-size: 0.72rem;
  }

  .lead,
  .section-copy,
  .feature-card p,
  .route-card p,
  .register-point span,
  .register-panel-inner p,
  .footer p,
  .timeline-card span,
  .sponsor-card p {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .split,
  .reverse,
  .register-split {
    gap: 20px;
  }

  .feature-grid,
  .timeline-grid,
  .gallery-grid,
  .route-stops-grid,
  .sponsor-grid,
  .footer-grid,
  .hero-bottom-cards {
    gap: 8px;
  }

  .feature-card,
  .timeline-card,
  .route-card,
  .register-panel-inner,
  .quote-card,
  .sponsor-card,
  .glass-card {
    padding: 14px;
    border-radius: 18px;
  }

  .feature-card h3,
  .route-card h3,
  .timeline-card strong,
  .sponsor-card h3 {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }

  .image-main {
    height: 340px;
    border-radius: 24px;
  }

  .image-stack.compact .image-main {
    height: 300px;
  }

  .route-map-wrap {
    min-height: 280px;
    border-radius: 24px;
  }

  .route-map-badge {
    top: 16px;
    left: 16px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .gallery-grid img {
    border-radius: 18px;
  }

  .sponsor-card {
    min-height: 120px;
  }

  .footer {
    padding: 30px 0 38px;
  }
}

@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 20px), 1080px);
  }

  .topbar {
    width: min(calc(100% - 12px), 1080px);
    padding: 9px 12px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 78svh;
    padding: 78px 0 10px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(2.05rem, 5vw, 3.55rem);
  }

  .hero-subtitle {
    max-width: 470px;
    font-size: 0.85rem;
  }

  .hero-meta {
    max-width: 420px;
  }

  .section {
    padding: 38px 0;
  }

  .image-main,
  .image-stack.compact .image-main {
    height: 280px;
  }

  .route-map-wrap {
    min-height: 250px;
  }
}

/* Fix large gap under route section */
.route-layout {
  align-items: start;
}

.route-map-card {
  min-height: unset;
}

.route-map-wrap {
  min-height: 0;
}


/* Navbar hide/show */
.topbar {
  transition: transform 0.25s ease;
}

.topbar.hide {
  transform: translate(-50%, -120%);
}


/* Fix weekend image crop on smaller laptop screens */
@media (max-width: 1366px) {
  .image-main {
    object-position: 70% center;
  }
}


.venue-section {
  padding-top: 84px;
}
.venue-split {
  align-items: start;
}
.venue-media {
  display: grid;
  gap: 16px;
}
.venue-support-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.venue-main-image {
  height: 440px;
}
.venue-media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.venue-band-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.venue-band-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 19, 34, 0.94), rgba(8, 14, 27, 0.96));
  border: 1px solid rgba(66, 167, 255, 0.26);
  box-shadow: var(--shadow);
}
.venue-band-copy {
  padding: 18px 20px 20px;
}
.venue-band-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.45;
}
.venue-band-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 820px) {
  .venue-section {
    padding-top: 44px;
  }
  .venue-main-image {
    height: 240px;
  }
  .venue-media-row {
    grid-template-columns: 1fr;
  }
  .venue-thumb,
  .venue-band-card img {
    min-height: 220px;
  }
}


/* final tweak - slightly taller nerds panel */
.venue-band-card img,
.venue-card img {
  height: 310px !important;
  min-height: 310px !important;
  object-fit: cover !important;
}

/* keep spacing under info boxes clean */
.venue-support-image,
.venue-left img:last-child {
  margin-top: 48px !important;
}



/* center friday schedule vertically */
.schedule-friday,
.schedule-card:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* ===== consolidated cleanup overrides ===== */

/* Slight overall scale/tighter spacing */
html {
  font-size: 95%;
}

body {
  zoom: 0.97;
}

section {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

/* Route map alignment */
.route-map-card {
  display: flex;
  height: 100%;
}

.route-map-wrap {
  height: 100%;
  min-height: unset;
  flex: 1 1 auto;
}

.route-stops-grid {
  height: 100%;
  align-content: stretch;
}

/* Supporting sponsors spacing */
.section-secondary-sponsors {
  padding-top: 20px !important;
}

.sponsor-grid-secondary {
  margin-top: 8px;
}

/* Shared sponsor logo card styling */
.supporting-logo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px dashed rgba(122, 190, 255, 0.2);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 14px;
}

.supporting-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.supporting-name {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f2f7ff;
}

.supporting-level {
  margin-top: auto;
}

/* Top platinum sponsor row */
.sponsor-grid-platinum {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.sponsor-grid-platinum .sponsor-card {
  min-height: 190px;
  height: auto;
  overflow: hidden;
}

.sponsor-grid-platinum .sponsor-card-large {
  grid-column: span 1;
}

.sponsor-grid-platinum .sponsor-card-logo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.sponsor-grid-platinum .supporting-logo {
  padding: 8px;
  margin-bottom: 14px;
}

.sponsor-grid-platinum .supporting-name {
  margin: 0;
  font-size: 1.05rem;
}

.sponsor-grid-platinum .supporting-level {
  margin-top: 6px;
}

/* Supporting sponsors grid */
.sponsor-grid-supporting {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-card-supporting {
  min-height: 210px;
  justify-content: space-between;
  align-items: flex-start;
}

/* Responsive sponsor layouts */
@media (max-width: 1200px) {
  .sponsor-grid-platinum {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .sponsor-grid-supporting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .sponsor-grid-platinum {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .sponsor-grid-supporting {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sponsor-grid-platinum {
    grid-template-columns: 1fr;
  }
}

/* Final hero positioning currently in use */
.hero-slide {
  background-position: 4% 44%;
}


/* ===== mobile cleanup + swipe rows ===== */
@media (max-width: 768px) {
  section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .section + .section {
    margin-top: 0 !important;
  }

  .split,
  .reverse,
  .register-split,
  .route-layout,
  .venue-layout {
    gap: 20px !important;
  }

  .mobile-swipe-row {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 8px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-swipe-row::-webkit-scrollbar {
    height: 8px;
  }

  .mobile-swipe-row > * {
    flex: 0 0 84% !important;
    min-width: 84% !important;
    scroll-snap-align: start;
  }

  .mobile-swipe-gallery {
    display: flex !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 8px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-swipe-gallery::-webkit-scrollbar {
    height: 8px;
  }

  .mobile-swipe-gallery > * {
    flex: 0 0 88% !important;
    min-width: 88% !important;
    scroll-snap-align: start;
  }

  .mobile-swipe-gallery img,
  .mobile-swipe-gallery .gallery-card,
  .mobile-swipe-gallery .gallery-item {
    height: auto !important;
  }

  .sponsor-grid-platinum .sponsor-card,
  .sponsor-card-supporting {
    min-height: unset !important;
  }

  .sponsor-grid-platinum .supporting-logo,
  .sponsor-grid-supporting .supporting-logo {
    aspect-ratio: 16 / 9 !important;
  }

  .gallery-section,
  #gallery,
  #sponsors,
  #supporting-sponsors {
    padding-bottom: 48px !important;
  }

  .schedule-grid,
  .info-grid,
  .venue-info-grid,
  .route-stops-grid {
    gap: 14px !important;
  }
}


/* ===== v42 mobile-only swipe hints + hero framing ===== */
.mobile-only-swipe-hint {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(122, 190, 255, 0.18);
    background: rgba(7, 19, 39, 0.68);
    color: #8fd4ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
  }

  .mobile-only-swipe-hint span {
    font-size: 0.95rem;
    line-height: 1;
    animation: swipeNudge 1.25s ease-in-out infinite;
  }

  @keyframes swipeNudge {
    0%, 100% { transform: translateX(0); opacity: 0.8; }
    50% { transform: translateX(4px); opacity: 1; }
  }

  /* mobile-only hero framing: keep logo around center-left, bring boats more into view */
  .hero-slide {
    background-position: 22% 46% !important;
  }
}


/* ===== v43 mobile hero / venue / nav ===== */
.venue-mobile-feature {
  display: none;
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* move background image way farther for boats in frame */
  .hero-slide {
    background-position: 36% 46% !important;
  }

  /* venue image inserted under text, above info cards */
  .venue-mobile-feature {
    display: block;
    margin: 0 0 18px;
  }

  .venue-mobile-feature img {
    width: 100%;
    display: block;
    border-radius: 22px;
    border: 1px solid rgba(122, 190, 255, 0.18);
    box-shadow: 0 16px 48px rgba(0,0,0,0.26);
  }

  /* cleaner mobile nav */
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(122, 190, 255, 0.18);
    background: rgba(7, 19, 39, 0.72);
    color: #eaf5ff;
    font-size: 1.3rem;
    line-height: 1;
    flex: 0 0 auto;
    margin-left: auto;
    backdrop-filter: blur(12px);
  }

  .site-nav,
  nav {
    gap: 12px;
  }

  #site-nav-links {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(122, 190, 255, 0.14);
    background: rgba(7, 19, 39, 0.92);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
    z-index: 40;
  }

  #site-nav-links.is-open {
    display: grid !important;
    gap: 8px;
  }

  #site-nav-links a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
  }

  /* hide desktop nav spacing so brand + menu look intentional */
  .nav-links,
  nav ul.nav-links {
    display: none;
  }

  .nav-shell,
  .navbar,
  nav {
    position: relative;
  }

  /* tighten hero heading stack */
  .hero-copy,
  .hero-content {
    padding-top: 8px;
  }
}


/* ===== v44 mobile fixes ===== */
@media (max-width: 768px){

  /* venue image placement */
  .venue-mobile-feature{
    display:block;
    margin: 16px 0 18px;
  }

  .venue-mobile-feature img{
    width:100%;
    border-radius:20px;
  }

  /* FIX NAV BAR */
  .mobile-menu-toggle{
    display:flex !important;
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:999px;
    background:rgba(10,20,40,0.8);
    border:1px solid rgba(120,180,255,0.2);
    align-items:center;
    justify-content:center;
    font-size:18px;
    z-index:100;
  }

  nav{
    position:relative;
    padding-right:60px; /* space for button */
  }

  #site-nav-links{
    display:none !important;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#071327;
    padding:10px;
    border-radius:16px;
  }

  #site-nav-links.is-open{
    display:block !important;
  }

  #site-nav-links a{
    display:block;
    padding:10px;
  }

  /* spacing under nav */
  .hero{
    margin-top:10px;
  }

}


/* ===== v45 mobile fixes ===== */
.mobile-menu-toggle,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 768px) {
  /* kill weird top seam */
  body {
    overflow-x: hidden;
  }

  .topbar,
  .nav,
  .hero,
  .hero-slide,
  .hero-overlay {
    border-top: none !important;
    box-shadow: none !important;
  }

  /* cleaner mobile topbar */
  .topbar {
    position: sticky;
    top: 8px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 12px;
  }

  .topbar .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .topbar .nav a {
    display: none !important;
  }

  .topbar .nav {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: visible !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(122, 190, 255, 0.18);
    background: rgba(7, 19, 39, 0.78);
    color: #f2f7ff;
    font-size: 1.2rem;
    line-height: 1;
    backdrop-filter: blur(12px);
    flex: 0 0 auto;
  }

  .mobile-menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 220;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(122, 190, 255, 0.16);
    background: rgba(7, 19, 39, 0.94);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(14px);
  }

  .mobile-menu-panel.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-menu-panel a {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    color: #eaf5ff;
    text-decoration: none;
    font-weight: 600;
  }

  /* more breathing room below topbar */
  .hero-content {
    padding-top: 30px !important;
  }

  /* mobile hero framing stays where user liked it */
  .hero-slide {
    background-position: 36% 46% !important;
  }

  /* venue image above info boxes */
  .venue-mobile-feature {
    display: block !important;
    margin: 16px 0 18px !important;
  }

  .venue-mobile-feature img {
    width: 100%;
    display: block;
    border-radius: 22px;
    border: 1px solid rgba(122, 190, 255, 0.18);
    box-shadow: 0 16px 48px rgba(0,0,0,0.26);
  }

  /* hide the lower duplicate venue support image on mobile */
  .venue-support-image {
    display: none !important;
  }
}


/* ===== v47 mobile topbar/menu/venue cleanup ===== */
@media (max-width: 768px) {
  /* real mobile topbar layout */
  .topbar {
    position: fixed !important;
    top: 12px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    z-index: 500 !important;
  }

  .topbar .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 56px) !important;
  }

  .topbar .brand img {
    width: 40px !important;
    height: 40px !important;
  }

  .topbar .brand span {
    font-size: 1rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar .nav {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(122, 190, 255, 0.2) !important;
    background: rgba(7, 19, 39, 0.82) !important;
    color: #f2f7ff !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
    z-index: 520 !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.24) !important;
    backdrop-filter: blur(12px) !important;
  }

  .mobile-menu-panel {
    display: none;
    position: fixed !important;
    top: 62px !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 510 !important;
    padding: 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(122, 190, 255, 0.16) !important;
    background: rgba(7, 19, 39, 0.90) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45) !important;
    backdrop-filter: blur(16px) !important;
  }

  .mobile-menu-panel.is-open {
    display: grid !important;
    gap: 8px !important;
  }

  .mobile-menu-panel a {
    display: block !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.03) !important;
    color: #eaf5ff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
  }

  /* spacing under fixed topbar */
  .hero {
    padding-top: 110px !important;
  }

  .hero-content {
    padding-top: 18px !important;
  }

  /* remove the seam line */
  /* mobile-only venue image placement */
  .venue-mobile-feature {
    display: block !important;
    margin: 16px 0 18px !important;
  }

  .venue-mobile-feature img {
    width: 100% !important;
    display: block !important;
    border-radius: 22px !important;
    border: 1px solid rgba(122, 190, 255, 0.18) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.26) !important;
  }

  .venue-support-image {
    display: none !important;
  }
}


/* FINAL seam fix */
/* FINAL NAVBAR LINE FIX */
.topbar {
  border: none !important;
  border-top: none !important;
  outline: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.topbar::before,
.topbar::after {
  display: none !important;
}


/* v50: actual navbar line removal */
.topbar {
  border: none !important;
  background: rgba(8, 13, 25, 0.72) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22) !important;
}

@media (max-width: 768px) {
  .topbar {
    border: none !important;
    background: rgba(8, 13, 25, 0.82) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,0.22) !important;
  }
}


/* v51 final top-line cleanup */
html, body {
  margin: 0;
  background: #04111f;
}

.topbar {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22) !important;
  background: rgba(8, 13, 25, 0.72) !important;
  background-image: none !important;
}

.topbar::before,
.topbar::after,
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

.hero,
.hero-slides,
.hero-slide,
.hero-overlay,
.hero-grid {
  top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .topbar {
    background: rgba(8, 13, 25, 0.82) !important;
    border: 0 !important;
    outline: 0 !important;
  }
}


/* v52 mobile top-edge fix */
@media (max-width: 768px) {
  html, body {
    background: #04111f !important;
  }

  /* remove the visible strip above the mobile header */
  .topbar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 0 24px 24px !important;
  }

  /* keep hero content from feeling jammed */
  .hero {
    padding-top: 96px !important;
  }
}


/* v53 mobile hero info boxes hug content more like desktop */
@media (max-width: 768px) {
  .hero-meta {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    max-width: 100% !important;
  }

  .hero-meta div {
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    justify-self: start !important;
  }
}


/* v54 mobile hero image reposition (more right + up) */
@media (max-width: 768px) {
  .hero-slide {
    background-position: 55% 35% !important;
  }
}


/* ===== board + route cleanup ===== */
.split > *,
.reverse > *,
.route-layout > *,
.board-section > * {
  min-width: 0;
}

.board-section {
  align-items: start;
}

.board-copy h2,
.board-copy .lead {
  overflow-wrap: anywhere;
}

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

.board-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.board-card span {
  display: block;
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.board-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.board-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1080px) {
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .board-main-image {
    height: 280px !important;
    object-position: center 20%;
  }

  .board-mobile-hint,
  .route-mobile-hint {
    display: inline-flex;
    width: fit-content !important;
    max-width: 100%;
    margin: 14px 0 10px !important;
  }

  .board-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 2px !important;
    margin-top: 0 !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .board-grid::-webkit-scrollbar,
  .route-mobile-swipe-row::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .board-card {
    flex: 0 0 72% !important;
    min-width: 72% !important;
    width: auto !important;
    scroll-snap-align: start;
  }

  .route-mobile-swipe-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 2px !important;
    margin-top: 0 !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .route-mobile-swipe-row > * {
    flex: 0 0 68% !important;
    min-width: 68% !important;
    scroll-snap-align: start;
  }

  /* keep the rest of mobile sections normal */
  body {
    overflow-x: hidden;
  }
}


/* weekend atmosphere article link */
.floating-panel-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--accent-2);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}

.floating-panel-link:hover {
  text-decoration: underline;
}




/* sam zirilli inline note fix */
.sam-inline-name {
  display: flex !important;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}



.sam-inline-name .inline-note {
  color: rgba(255, 255, 255, 0.42) !important;
  font-weight: 500 !important;
  font-size: 0.68em !important;
  letter-spacing: 0.02em !important;
  text-transform: lowercase !important;
  white-space: nowrap !important;
}

/* community impact section */


/* Premium Community Impact Section */
.community-impact-section {
  margin-top: -40px;
  padding-top: 40px;
  position: relative;
}

.community-impact-section .container {
  max-width: 900px;
}

.community-impact-section .lead {
  margin-top: 10px;
  line-height: 1.6;
}

.community-impact-section .lead + .lead {
  margin-top: 8px;
}

.community-impact-section .section-kicker {
  margin-bottom: 6px;
  letter-spacing: 0.12em;
  opacity: 0.8;
}


/* soften community impact glow so no hard seam shows above */
.community-impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 22%,
    rgba(0, 153, 255, 0.055) 0%,
    rgba(0, 153, 255, 0.028) 18%,
    rgba(0, 153, 255, 0.0) 58%
  );
  pointer-events: none;
}

.sponsor-packages-btn{margin-top:10px;padding:10px 16px;border-radius:999px;border:1px solid rgba(126,220,255,.3);background:rgba(7,19,39,.7);color:#7edcff;cursor:pointer}
.sponsor-modal{position:fixed;inset:0;display:none;z-index:999}
.sponsor-modal.open{display:block}
.backdrop{position:absolute;inset:0;background:rgba(0,0,0,.8)}
.content{position:relative;margin:5vh auto;width:90%;max-width:900px}
.content img{width:100%;border-radius:12px}
.close{position:absolute;top:10px;right:10px;background:#000;color:#fff;border:none;font-size:24px}


/* sponsor popup viewport fit fix */
.sponsor-modal {
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.content {
  position: relative;
  margin: 0 auto;
  width: min(92vw, 980px);
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.content img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0,0,0,.88);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sponsor-modal {
    padding: 12px;
  }

  .content {
    width: 100%;
    min-height: calc(100vh - 24px);
  }

  .content img {
    max-height: calc(100vh - 48px);
    border-radius: 10px;
  }

  .close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}
