:root {
  --black: #0b0b0d;
  --black-2: #141416;
  --red: #e8112d;
  --red-dark: #b50e24;
  --grey: #c9cacc;
  --grey-light: #f4f4f5;
  --white: #ffffff;
  --font-display: 'Anton', 'Barlow Condensed', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--grey-light);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; }

p { color: var(--grey); }

a { color: inherit; }

.accent { color: var(--red); }

.eyebrow {
  font-family: var(--font-heading);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.center { text-align: center; }
.eyebrow.center, h2.center { margin-left: auto; margin-right: auto; }
.section-lede.center {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section { padding: 5.5rem 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--grey); color: var(--grey-light); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-nav { padding: 0.55rem 1.2rem; font-size: 0.9rem; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,13,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand { display: flex; align-items: center; height: 100%; }
.brand-logo { height: 68px; width: auto; max-width: 260px; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  color: var(--grey-light);
}
.nav-links a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--grey-light);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%) brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.75) 55%, var(--black) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 6rem 1.5rem; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-sub { max-width: 620px; font-size: 1.1rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-social { display: flex; gap: 1.25rem; }
.hero-social a { color: var(--grey); }
.hero-social a:hover { color: var(--red); }

/* Season */
.season-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.season-photo.photo-slider { border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.9rem; color: var(--red); }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--grey); }

/* Rounds */
.rounds-section { background: var(--black-2); }
.rounds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}
.round-card {
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.round-card:hover { transform: translateY(-6px); border-color: var(--red); }
.round-img {
  height: 190px;
  background-size: cover;
  background-position: center;
}
.round-body { padding: 1.5rem; }
.round-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.round-venue { margin: 0.25rem 0; }
.round-date { color: var(--grey-light); font-weight: 600; margin: 0; }

/* Teams */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--red); }
.team-card img {
  height: 90px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 1rem;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  padding: 0.5rem;
}
.team-card h3 { margin-bottom: 0.25rem; }
.team-card p { font-size: 0.9rem; margin: 0; }

/* Gallery */
.gallery-section { background: var(--black); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.75rem;
  margin-top: 2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: var(--black-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6,6,7,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.gallery-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox-close:hover { color: var(--red); }

/* Format */
.format-section { background: var(--black-2); }
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.format-photo.photo-slider { border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

/* Photo slider */
.photo-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--black-2);
}
.photo-slider .slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.photo-slider .slider-slide {
  flex: 0 0 100%;
  height: 100%;
}
.photo-slider .slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(6,6,7,0.55);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.slider-btn:hover { background: var(--red); }
.slider-btn.prev { left: 0.75rem; }
.slider-btn.next { right: 0.75rem; }
.slider-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.slider-dot.active { background: var(--red); }
.format-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.format-list li {
  padding: 0.9rem 0 0.9rem 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.format-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
}

/* Sponsors */
.sponsors-section { background: var(--black); }
.sponsors-tier-title {
  text-align: center;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
  font-size: 1rem;
  margin: 2.5rem 0 1.25rem;
}
.sponsors-tier-title:first-of-type { margin-top: 2rem; }
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.sponsors-grid-featured { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.25rem;
  height: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sponsor-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.sponsor-card img { max-height: 100%; width: auto; object-fit: contain; }
.sponsor-card.featured { height: 140px; padding: 1.75rem; }

/* Get involved */
.involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}
.involved-card {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.involved-card p { flex-grow: 1; }
.involved-social { display: flex; gap: 1.25rem; }
.involved-social a { font-weight: 700; text-decoration: underline; }

/* Contact */
.contact-section { background: var(--black-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-email { margin-top: 1.5rem; font-weight: 600; }
.contact-email a { color: var(--red); text-decoration: underline; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 2rem;
}
.contact-form label {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--grey-light);
  margin-top: 0.75rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5px;
  color: var(--grey-light);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form button { margin-top: 1.25rem; align-self: flex-start; }
.contact-note { font-size: 0.85rem; margin-top: 0.75rem; min-height: 1.2em; }
.contact-note.is-success { color: #4caf6d; font-weight: 600; }
.contact-note.is-error { color: var(--red); font-weight: 600; }

/* Footer */
.site-footer {
  background: #060607;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo { height: 42px; margin-bottom: 0.75rem; }
.footer-grid h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { text-decoration: none; color: var(--grey); }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--grey);
}

/* Responsive */
@media (max-width: 900px) {
  .season-grid, .format-grid { grid-template-columns: 1fr; }
  .format-photo, .season-photo { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .brand-logo { height: 48px; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; padding: 0.5rem 1.5rem; }
  .nav-links .btn-nav { margin: 0.5rem 1.5rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}
