:root {
  --black: #070807;
  --charcoal: #111310;
  --panel: #191c17;
  --white: #f7f7f3;
  --muted: #b7b9b3;
  --lime: #c7e500;
  --lime-dark: #9fb700;
  --line: rgba(255,255,255,.14);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: Inter, Arial, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 1000; background: var(--lime); color: #000; padding: 10px 14px; }
.skip-link:focus { left: 10px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,8,7,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; flex-direction: column; line-height: .9; }
.brand-bum { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; font-size: 34px; letter-spacing: 2px; text-shadow: 2px 2px 0 var(--lime); }
.brand-motorsports { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 4px; font-size: 12px; margin-top: 7px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a:hover { color: var(--lime); }
.nav-cta { border: 1px solid var(--lime); padding: 10px 16px; }
.menu-toggle { display: none; background: none; color: white; border: 1px solid var(--line); padding: 8px 12px; }
.hero { min-height: 720px; position: relative; display: grid; align-items: end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url('assets/bum-motorsports-banner.jpg') center center / cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.74) 39%, rgba(0,0,0,.18) 72%), linear-gradient(0deg, rgba(0,0,0,.95) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 90px; max-width: var(--max); }
.eyebrow, .section-kicker { color: var(--lime); text-transform: uppercase; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-style: italic; letter-spacing: .12em; margin: 0 0 10px; }
h1,h2,h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; line-height: .95; margin-top: 0; }
h1 { font-size: clamp(70px, 11vw, 150px); margin-bottom: 20px; max-width: 760px; }
h1 span { color: var(--lime); }
h2 { font-size: clamp(48px, 7vw, 86px); margin-bottom: 28px; }
h3 { font-size: 27px; letter-spacing: .02em; }
.hero-copy { max-width: 650px; color: #e6e6e0; font-size: 19px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.brand-logo {
  display: block;
  width: 170px;
  max-width: 170px;
  height: auto;
  object-fit: contain;
}
.footer-brand img {
  width: 150px;
  max-width: 150px;
  height: auto;
}
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 18px; border: 2px solid transparent; transition: .2s ease; }
.button-primary { background: var(--lime); color: #080908; }
.button-primary:hover { background: #e5ff1f; transform: translateY(-2px); }
.button-secondary { border-color: white; }
.button-secondary:hover { background: white; color: black; }
.feature-strip { background: var(--lime); color: #080908; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-grid div { padding: 25px 24px; border-right: 1px solid rgba(0,0,0,.22); }
.feature-grid div:last-child { border-right: 0; }
.feature-grid strong, .feature-grid span { display: block; }
.feature-grid strong { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 22px; line-height: 1; }
.feature-grid span { font-size: 13px; margin-top: 7px; }
.section { padding: 110px 0; }
.about-section { background: var(--white); color: #10110f; }
.split-grid { display: grid; grid-template-columns: 1.5fr .8fr; gap: 80px; align-items: start; }
.lead { font-size: 20px; font-weight: 600; line-height: 1.55; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d7d8d2; margin-top: 40px; padding-top: 30px; gap: 20px; }
.stat-number, .stat-label { display: block; }
.stat-number { color: #8da000; font-family: "Barlow Condensed"; font-size: 46px; font-weight: 800; line-height: 1; }
.stat-label { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.driver-card { position: relative; background: #0d0f0c; color: white; padding: 42px; box-shadow: 16px 16px 0 var(--lime); overflow: hidden; }
.card-accent { position: absolute; width: 180px; height: 10px; background: var(--lime); transform: rotate(-45deg); right: -65px; top: 30px; }
.card-label { color: var(--lime); text-transform: uppercase; font-weight: 700; letter-spacing: .1em; font-size: 12px; }
.driver-card h3 { font-size: 42px; margin-bottom: 30px; }
dl { margin: 0 0 28px; }
dl div { border-top: 1px solid var(--line); padding: 14px 0; }
dt { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
dd { margin: 3px 0 0; font-weight: 600; }
.text-link { color: var(--lime); font-weight: 700; text-decoration: none; }
.dark-section { background: linear-gradient(145deg, #11130f, #050605); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.timeline article { background: #0b0c0a; padding: 28px 24px 36px; min-height: 240px; }
.timeline span { color: var(--lime); font-family: "Barlow Condensed"; font-size: 26px; font-weight: 800; }
.timeline h3 { margin: 25px 0 10px; }
.timeline p { color: var(--muted); font-size: 14px; }
.partnership-section { background: #eff0ea; color: #0b0c0a; }
.section-heading-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 55px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { font-size: 18px; }
.sponsor-reach { margin: -20px 0 42px; padding: 22px 26px; border-left: 5px solid var(--lime); background: rgba(11,12,10,.06); font-size: 20px; line-height: 1.55; font-weight: 600; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c8cac1; border-left: 1px solid #c8cac1; }
.benefit-grid article { padding: 35px; border-right: 1px solid #c8cac1; border-bottom: 1px solid #c8cac1; min-height: 260px; }
.benefit-grid span { color: #879900; font-family: "Barlow Condensed"; font-size: 22px; font-weight: 800; }
.benefit-grid h3 { margin: 35px 0 14px; }
.media-section { background: #0a0b09; }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.media-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 35px; }
.media-stats div { padding: 22px 14px; border: 1px solid var(--line); }
.media-stats strong, .media-stats span { display: block; }
.media-stats strong { color: var(--lime); font-family: "Barlow Condensed"; font-size: 38px; line-height: 1; }
.media-stats span { color: var(--muted); font-size: 12px; margin-top: 8px; }
.fine-print { color: #80837c; font-size: 12px; }
.overview-card { display: block; text-decoration: none; border: 1px solid var(--line); background: #141612; padding: 12px; }
.overview-card img { aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.overview-card span { display: block; padding: 18px 8px 8px; color: var(--lime); font-weight: 700; }
.contact-section { background: var(--lime); color: #080908; }
.contact-box { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: center; }
.contact-box h2 { margin-bottom: 22px; }
.contact-box .section-kicker { color: #080908; }
.contact-actions { display: grid; gap: 20px; }
.contact-actions .button-primary { background: #080908; color: white; }
.contact-actions .button-primary:hover { background: #242720; }
.social-links { display: flex; flex-wrap: wrap; gap: 16px; }
.social-links a { color: #080908; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.site-footer { padding: 36px 0; background: #040504; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-row p { color: var(--muted); font-size: 13px; }
.footer-brand .brand-bum { font-size: 26px; }
@media (max-width: 950px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid div:nth-child(2) { border-right: 0; }
  .feature-grid div { border-bottom: 1px solid rgba(0,0,0,.22); }
  .split-grid, .media-grid, .section-heading-row, .contact-box { grid-template-columns: 1fr; gap: 45px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px; background: #090a08; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .hero { min-height: 650px; }
  .hero-image { background-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.97) 0%, rgba(0,0,0,.72) 63%, rgba(0,0,0,.2) 100%); }
  .hero-content { padding-bottom: 55px; }
  .hero-copy { font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid div { border-right: 0; }
  .section { padding: 80px 0; }
  .stat-row, .media-stats { grid-template-columns: 1fr; }
  .timeline, .benefit-grid { grid-template-columns: 1fr; }
  .timeline article { min-height: auto; }
  .benefit-grid article { min-height: auto; }
  .driver-card { box-shadow: 9px 9px 0 var(--lime); padding: 30px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .brand-logo {
    width: 140px;
    max-width: 140px;
  }

  .footer-brand img {
    width: 130px;
    max-width: 130px;
  }
}


/* Footer and legal pages */
.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-meta p { margin: 0; }
.footer-link {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--lime);
}
.footer-link:hover { color: var(--lime); }

.legal-page {
  background: var(--white);
  color: #10110f;
  min-height: 70vh;
}
.legal-hero {
  padding: 82px 0 52px;
  background: linear-gradient(145deg, #11130f, #050605);
  color: var(--white);
  border-bottom: 4px solid var(--lime);
}
.legal-hero h1 {
  font-size: clamp(56px, 8vw, 100px);
  margin-bottom: 12px;
}
.legal-hero p {
  color: var(--muted);
  margin: 0;
}
.legal-content {
  max-width: 850px;
  padding-top: 70px;
  padding-bottom: 90px;
}
.legal-content h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-top: 50px;
  margin-bottom: 16px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: 25px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.legal-content p,
.legal-content li {
  color: #30332d;
}
.legal-content ul {
  padding-left: 22px;
}
.legal-content a {
  color: #657500;
  font-weight: 700;
}
.legal-note {
  padding: 18px 20px;
  background: #e8eadf;
  border-left: 5px solid var(--lime-dark);
}
.legal-updated {
  font-weight: 700;
}
@media (max-width: 700px) {
  .footer-meta {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .legal-hero { padding: 62px 0 40px; }
  .legal-content { padding-top: 55px; padding-bottom: 70px; }
}




.support-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--lime-dark);
  background: #f0f1eb;
}
.support-note strong {
  color: #657500;
}


/* Race schedule */
.schedule-section {
  background: #0a0b09;
  color: var(--white);
  border-top: 1px solid var(--line);
}
.schedule-heading {
  margin-bottom: 42px;
}
.schedule-heading > p {
  color: var(--muted);
}
.schedule-heading a {
  color: var(--lime);
  font-weight: 700;
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.schedule-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 250px;
  border: 1px solid var(--line);
  background: #11130f;
}
.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #080908;
  text-transform: uppercase;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1;
}
.schedule-date strong {
  font-size: 48px;
  font-weight: 800;
  margin: 8px 0;
}
.schedule-date span {
  font-weight: 800;
  letter-spacing: .08em;
}
.schedule-month {
  font-size: 23px;
}
.schedule-details {
  padding: 32px;
}
.schedule-number {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.schedule-details h3 {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.schedule-track {
  color: var(--muted);
  margin-bottom: 26px;
}


/* Mobile layout refinements */
@media (max-width: 700px) {
  body {
    overflow-x: hidden;
  }

  .nav-wrap {
    min-height: 82px;
    gap: 12px;
  }

  .brand-logo {
    width: 125px;
    max-width: 125px;
  }

  .menu-toggle {
    font-size: 15px;
    padding: 10px 14px;
  }

  .site-nav {
    top: 82px;
  }

  .hero {
    min-height: 0;
    display: block;
  }

  .hero-image {
    background-image: url('assets/bum-motorsports-banner-mobile.jpg');
    background-position: center center;
    background-size: cover;
    transform: none;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.88) 43%, rgba(0,0,0,.30) 78%, rgba(0,0,0,.12) 100%);
  }

  .hero-content {
    padding-top: 285px;
    padding-bottom: 48px;
  }

  .eyebrow {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 76px);
    line-height: .82;
    max-width: 100%;
    margin-bottom: 26px;
  }

  h1 span {
    display: block;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .feature-grid strong {
    font-size: 20px;
  }

  .feature-grid div {
    padding: 21px 18px;
  }

  .section-heading-row {
    margin-bottom: 34px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    grid-template-columns: 92px 1fr;
    min-height: 0;
  }

  .schedule-date strong {
    font-size: 34px;
  }

  .schedule-month {
    font-size: 19px;
  }

  .schedule-details {
    padding: 24px 20px;
  }

  .schedule-details h3 {
    font-size: 25px;
  }
}
