/* =========================================================
   Skyridge Junior Devo — style.css
   Mobile-first, no frameworks, no build step
   ========================================================= */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* ----- Custom Properties ----- */
:root {
  /* --- Skyridge Brand Colors (Style Guide) --- */
  --orange: #E74302;           /* SKYRIDGE (Burnt) Orange — primary */
  --orange-secondary: #f68026; /* Orange — secondary brand */
  --orange-dark: #c43202;      /* Darker orange for hover/active states */
  --steel-grey: #606972;       /* Steel Grey */
  --graphite-grey: #344d5a;    /* Graphite Grey */
  --gray: #cdd4d8;             /* Gray */

  /* --- UI / Layout Colors --- */
  --dark: #1a1a1a;
  --dark-2: #242424;
  --dark-3: #2e2e2e;
  --mid: #606972;              /* mapped to Steel Grey */
  --light-border: #cdd4d8;     /* mapped to brand Gray */
  --text-dark: #1a1a1a;
  --text-muted: #606972;       /* mapped to Steel Grey */
  --text-light: #ffffff;
  --white: #ffffff;
  --gray-section: #eef0f2;     /* light tint of brand Gray */
  --nav-height: 64px;
  --max-width: 1100px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ----- Layout Utilities ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 60px 0;
}
.section--dark {
  background: var(--dark);
  color: var(--text-light);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--gray {
  background: var(--gray-section);
}
.section-title {
  margin-bottom: 36px;
}
.section-title h2 { margin-bottom: 8px; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; }
.section--dark .section-title p { color: #aaa; }

/* ----- NAV ----- */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.nav-logo span em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: none;
  gap: 4px;
}
.nav-links a {
  color: #999;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(231,67,2,0.12);
}
.nav-links a.active {
  color: var(--white);
  font-weight: 700;
  background: transparent;
}
.nav-links a.nav-cta {
  background: var(--orange);
  color: #ffffff;
  font-weight: 600;
}
.nav-links a.nav-cta:hover {
  background: var(--orange-dark);
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  padding: 12px 20px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: #ccc;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--dark-3);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--orange); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .nav-logo {
    padding-right: 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
    margin-right: 8px;
  }
}

/* ----- HERO ----- */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(231,67,2,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-content { flex: 1; min-width: 0; }
.hero-logo-box {
  display: none;
  flex-shrink: 0;
  width: 480px;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--orange);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  padding: 40px 36px 28px;
}
.hero-logo-box img { width: 100%; height: auto; display: block; }
.hero-chant {
  margin-top: 20px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.hero-chant p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 4px;
}
.hero-chant p span {
  color: #fff;
}
.hero-chant-finale {
  font-size: 1.35rem !important;
  color: var(--orange) !important;
  letter-spacing: 0.12em;
  margin-top: 8px !important;
}
@media (min-width: 900px) {
  .hero-logo-box { display: block; }
}
@media (min-width: 1100px) {
  .hero-logo-box { width: 560px; }
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ccc;
  max-width: 620px;
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}
.btn-outline-dark {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-dark:hover {
  background: var(--orange);
  color: #ffffff;
  text-decoration: none;
}

/* ----- CARDS ----- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card--dark {
  background: var(--dark-2);
  border-color: var(--dark-3);
  color: var(--text-light);
}
.card--dark h3 { color: var(--white); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card--dark p { color: #aaa; }

/* Sponsor tier cards */
.tier-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 2px solid var(--light-border);
}
.tier-card.large-corporate {
  border-color: #c9a227;
  background: #fffcf2;
}
.tier-card.corporate {
  border-color: #8a8a8a;
  background: #f9f9f9;
}
.tier-card.platinum {
  border-color: #9b9b9b;
  background: #f4f4f4;
}
.tier-card.orange-tier {
  border-color: var(--orange);
  background: rgba(231,67,2,0.06);
}
.tier-card.grey-tier {
  border-color: #bbb;
  background: #f7f7f7;
}
.tier-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tier-label.large-corporate { color: #c9a227; }
.tier-label.corporate { color: #666; }
.tier-label.platinum { color: #777; }
.tier-label.orange-tier { color: var(--orange); }
.tier-label.grey-tier { color: #888; }
.tier-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 16px;
}
.tier-card ul {
  list-style: disc;
  padding-left: 20px;
}
.tier-card li { margin-bottom: 6px; font-size: 0.95rem; }

/* Coach cards */
.coach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) { .coach-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .coach-grid { grid-template-columns: repeat(3, 1fr); } }
.coach-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.coach-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.coach-role {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 12px;
}
.coach-contact { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.coach-contact a { color: var(--orange); }

/* Certification level cards */
.cert-card {
  border-left: 4px solid var(--orange);
  background: rgba(231,67,2,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 24px 24px 20px;
}
.cert-level {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.cert-card h3 { margin-bottom: 10px; }
.cert-card ul { list-style: disc; padding-left: 20px; margin-top: 10px; }
.cert-card li { font-size: 0.95rem; margin-bottom: 4px; color: var(--text-muted); }

/* ----- SEASON DATA ----- */
.season-snapshot {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
@media (min-width: 600px) {
  .season-snapshot { grid-template-columns: repeat(2, 1fr); }
}
.snapshot-card {
  background: rgba(231,67,2,0.07);
  border: 1px solid rgba(231,67,2,0.25);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.snapshot-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

/* Race schedule table */
.race-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.race-schedule-table th {
  text-align: left;
  padding: 10px 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--dark-3);
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
}
.race-schedule-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--dark-3);
  color: var(--text-light);
}
.race-schedule-table tr:last-child td { border-bottom: none; }
.race-schedule-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Light mode table (About, Registration pages) */
.table-wrap .race-schedule-table th {
  background: var(--dark);
  color: var(--orange);
}
.table-wrap .race-schedule-table td { color: var(--text-dark); }
.table-wrap .race-schedule-table td,
.table-wrap .race-schedule-table th { border-color: var(--light-border); }
.table-wrap .race-schedule-table tr:hover td { background: #fafafa; }

/* Key dates grid — pill cards matching snapshot-card style */
.key-dates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
@media (min-width: 600px) {
  .key-dates-grid { grid-template-columns: repeat(2, 1fr); }
}
.key-date-card {
  background: rgba(231,67,2,0.07);
  border: 1px solid rgba(231,67,2,0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  line-height: 1.5;
  color: var(--text-light);
}
.key-date-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.key-date-date {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.key-date-detail { color: #aaa; font-size: 0.9rem; }

/* Practice time note */
.practice-time { color: var(--text-light); font-size: 0.95rem; }

/* Practice location note */
.practice-location { color: #aaa; font-size: 0.9rem; }

/* ----- FEES TABLE ----- */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.fees-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--dark);
  color: var(--orange);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fees-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--light-border);
}
.fees-table tr:last-child td {
  border-bottom: none;
  font-weight: 600;
}
.fees-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow);
}

/* ----- FORM ----- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full-width { grid-column: 1 / -1; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-group.checkbox-group input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}
.form-group.checkbox-group label { font-size: 0.95rem; font-weight: 400; }
.form-required { color: var(--orange); }
.form-submit-wrap { margin-top: 8px; }

/* Netlify success message */
.form-success {
  background: #edfaed;
  border: 1px solid #72c772;
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #1e6e1e;
  display: none;
}

/* ----- STEPS ----- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: steps;
}
.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
.step-content h4 { margin-bottom: 4px; }
.step-content p, .step-content ul { font-size: 0.95rem; color: var(--text-muted); }
.step-content ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.step-content li { margin-bottom: 4px; }

/* ----- FAQ ----- */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--light-border);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--light-border); }
.faq-q {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.faq-a { font-size: 0.95rem; color: var(--text-muted); }

/* ----- MOTTO CALLOUT ----- */
.motto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .motto-grid { grid-template-columns: repeat(3, 1fr); }
}
.motto-block {
  padding: 28px;
  border-top: 4px solid var(--orange);
  background: var(--dark-2);
  border-radius: 0 0 var(--radius) var(--radius);
}
.motto-word {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 12px;
}
.motto-block p { color: #bbb; font-size: 0.95rem; }

/* ----- RATIO CALLOUT ----- */
.ratio-callout {
  background: rgba(231,67,2,0.08);
  border: 2px solid rgba(231,67,2,0.3);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
}
.ratio-callout .ratio-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.ratio-callout p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* ----- NICA LINKS ----- */
.nica-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.nica-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.nica-link-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-decoration: none;
}

/* ----- GENERAL CONTACT BOX ----- */
.contact-box {
  background: var(--dark);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-box h3 { color: var(--white); margin-bottom: 16px; }
.contact-box p { color: #ccc; font-size: 0.95rem; margin-bottom: 8px; }
.contact-box a:not(.btn) { color: var(--orange); }

/* ----- HIGHLIGHT BOX ----- */
.highlight-box {
  background: rgba(231,67,2,0.08);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 16px 0;
}
.highlight-box strong { color: var(--text-dark); }

/* ----- QR CODES ----- */
.qr-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-card img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--light-border);
  background: #fff;
  padding: 6px;
}
.qr-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ----- SPONSOR GRID ----- */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: center;
}
@media (min-width: 560px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .sponsor-grid { grid-template-columns: repeat(4, 1fr); } }
.sponsor-slot {
  aspect-ratio: 3 / 2;
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sponsor-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.sponsor-featured-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
.sponsor-slot--hero {
  width: min(320px, 100%);
  aspect-ratio: 3 / 2;
  background: #ffffff;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
}
.sponsor-slot--hero img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.sponsor-featured-wrap .sponsor-slot {
  width: min(220px, 100%);
}
.sponsor-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  text-align: center;
  margin-bottom: 16px;
}

/* Title sponsor grid — 3 equal columns, collapses to 1 on mobile */
.sponsor-grid--title {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
}
@media (max-width: 559px) { .sponsor-grid--title { grid-template-columns: 1fr; } }
.sponsor-grid--title .sponsor-slot--hero {
  width: 100%;
}

/* Bike Peddler slot: logo left, QR codes stacked right */
.sponsor-slot--with-qr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}
.sponsor-slot--with-qr .sponsor-logo {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.sponsor-divider {
  width: 1px;
  background: var(--light-border);
  align-self: stretch;
  flex-shrink: 0;
}
.qr-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.qr-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: 3px;
  padding: 2px;
}
.qr-item span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Support our sponsors CTA */
.sponsor-cta {
  border-left: 3px solid var(--orange);
  background: var(--dark-2);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.sponsor-cta__heading {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-light);
}
.sponsor-cta__body {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Hero "Presented by" sponsor line */
.hero__presented-by {
  font-size: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ----- FOOTER ----- */
#site-footer {
  background: var(--dark);
  color: #888;
  padding: 40px 0 28px;
  border-top: 3px solid var(--dark-3);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-3);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-brand .footer-logo img { height: 36px; width: auto; }
.footer-brand .footer-logo span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-brand p { font-size: 0.85rem; color: #666; max-width: 280px; }
.footer-nav-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 12px;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-nav-col a {
  font-size: 0.9rem;
  color: #888;
  text-decoration: none;
}
.footer-nav-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: var(--orange); }

/* ----- MISC UTILITIES ----- */
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* Page hero variant (inner pages — smaller than home) */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 52px 0 48px;
  border-bottom: 3px solid var(--orange);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: #aaa; font-size: 1.05rem; max-width: 640px; }

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.wide-left { grid-template-columns: 2fr 1fr; }
}

/* Overflow-x scroll for tables on small screens */
.table-scroll { overflow-x: auto; }

/* Big stat / callout number */
.big-stat {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
}

/* Inline icon list */
.icon-list { display: flex; flex-direction: column; gap: 10px; }
.icon-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.icon-list li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Divider */
.divider { border: none; border-top: 1px solid var(--light-border); margin: 40px 0; }
.divider--dark { border-top-color: var(--dark-3); }

/* Responsive video embed */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
