/* styles.css */
/* Color system */
:root{
  --red-900:#780000;
  --red-700:#B90E22;
  --red-500:#D90429;
  --red-300:#F15A6A;
  --blush-50:#FFF1F3;
  --white:#FFFFFF;
  --off-white:#FFF7F8;
  --charcoal:#121212;
  --ui-gray:#E6E6E6;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: "Oswald", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
  font-size: 1.4rem;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 100%); margin: 0 auto; padding-inline: 20px; }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 20px; top: 20px; width: auto; height: auto; background: var(--white);
  color: var(--charcoal); padding: 10px 14px; border: 1px solid var(--ui-gray); border-radius: 6px; z-index: 1000;
}
:focus-visible { outline: 3px solid var(--red-300); outline-offset: 2px; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--ui-gray);
  backdrop-filter: saturate(120%) blur(4px);
}
.nav {
  display: flex; align-items: center; gap: 26px;
  height: 76px;
  font-size: 1.2rem;
}
.brand {
  font-weight: 700; font-size: 1.6rem; letter-spacing: 0.2px;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.brand a { color: var(--red-900); }
.primary-nav {
  margin-left: 16px;
  display: flex; align-items: center;
}
.primary-nav ul {
  display: flex; gap: 18px; list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  color: var(--charcoal);
  padding: 8px 6px; border-radius: 6px;
}
.primary-nav a:hover { background: var(--blush-50); }
.spacer { flex: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, transform .06s ease;
  cursor: pointer;
}

.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--red-500); color: var(--white); }
.btn.primary:hover { background: var(--red-700); }
.btn.ghost { background: transparent; border-color: var(--ui-gray); }
.btn.ghost:hover { border-color: var(--red-300); }
.btn.watch { background: var(--red-900); color: var(--white); }
.btn.watch:hover { background: var(--red-700); }
.label-mobile { display: none; }
.label-desktop { display: inline; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-900) 100%);
  color: var(--white);
  padding: 72px 0 56px;
}
.hero-inner {
  display: grid; gap: 20px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}
.hero-title { grid-column: 1 / -1; }
.hero-copy { display: grid; gap: 20px; }
.hero-mark { justify-self: end; align-self: start; width: 400px; height: 400px; }
.hero h1 {
  margin: 0 0 8px;
  line-height: 1;
  font-size: 110px;
  text-transform: uppercase;
  text-align: left;
  max-width: 18ch;
}
.hero p { margin: 0; max-width: 75ch; }
.hero .cta-row { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 36px 0; }
h2 {
  margin: 0 0 9px;
  font-size: clamp(1.3rem, 1.1vw + 1rem, 1.8rem);
  color: var(--red-900);
}

/* Center headings by default */
h1, h2 { text-align: center; }

.hero h2 { color: var(--white); text-align: left; }

.subtle { color: #555; }

/* Info section */
.info { background: #003049; color: var(--white); }
.info h2 { color: var(--white); }
.info a:not(.btn) { color: var(--white); text-decoration: underline; }
.info ul { margin: 0 0 16px 22px; padding: 0; list-style: disc; }
.info li { margin-bottom: 6px; }

/* Info red section */
.info-red { background: #780000; color: var(--white); text-align: center; }
.info-red h2 { color: var(--white); }
.info-red a:not(.btn) { color: var(--white); text-decoration: underline; }
.info-red ul { margin: 0 0 16px 0; padding: 0; list-style: disc inside; }
.info-red li { margin-bottom: 6px; }
.info-red .cta-row { margin-top: 18px; }
.info-red .btn { padding: 10px 16px; }

/* Countdown: use h2 styles for size, center is inherited */
.countdown {
  display: grid; grid-auto-flow: column; gap: 48px; justify-content: center; align-items: end;
  color: var(--white);
}
.countdown .value { font-size: 110px; line-height: 0.9; letter-spacing: 8px; font-weight: 800; position: relative; display: inline-block; }
.countdown .label { text-align: center; font-size: 16px; margin-top: 8px; text-transform: uppercase; letter-spacing: 1.2px; opacity: 0.9; }
.info-red .countdown { margin: 40px 0 56px; }
.countdown .unit:not(:last-child) .value::after { content: ":"; position: absolute; left: 100%; margin-left: 6px; top: 50%; transform: translateY(-50%); color: currentColor; font-weight: inherit; letter-spacing: 0; }

/* Schedule cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--ui-gray);
  border-radius: 12px;
  padding: 18px;
  display: grid; gap: 8px;
  transition: box-shadow .15s ease, transform .06s ease, border-color .15s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); border-color: #ddd; transform: translateY(-1px); }
.card h3 { margin: 0; font-size: 1.05rem; color: var(--charcoal); }
.chip {
  display: inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--blush-50); color: var(--red-700); border: 1px solid #FFE2E7;
}
.muted { color: #666; font-size: 0.95rem; }

/* Time grid under info section */
.time-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 10px auto 0;
  max-width: 900px;
}
.time-item { 
  padding: 8px 10px; 
}
@media (max-width: 700px) {
  .time-grid { grid-template-columns: 1fr; }
}

.bold { font-weight: 600; }

/* Sponsors */
.sponsors { background: var(--white); }
.sponsor-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
}
.sponsor {
  padding: 10px 12px;
  border: 1px solid #E6E6E6; border-radius: 10px;
  background: var(--white);
  text-align: center; font-weight: 600; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
}

.sponsor img { height: 120px; width: auto; max-width: 100%; object-fit: contain; display: block; }

/* Social */
.social { background: var(--blush-50); }
.social-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--ui-gray); color: var(--red-700);
  transition: transform .06s ease, border-color .15s ease, background .15s ease;
}
.social a:hover { transform: translateY(-1px); border-color: var(--red-300); background: #fff; }
.social svg { width: 22px; height: 22px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--ui-gray); padding: 20px 0; color: #555; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 1024px) {
  .sponsor-grid { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
}
@media (max-width: 900px) {
  .primary-nav { display: none; } /* simple no-JS mobile: hide links; watch remains */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-grid { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
  /* Center section contents earlier */
  .schedule .container, .sponsors .container, .social .container { text-align: center; }
  .cards { justify-items: center; }
  .card { width: min(560px, 100%); text-align: center; }
  /* Stack hero and prevent cut off */
  .hero { padding-top: 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero-title"
      "hero-mark"
      "hero-copy";
  }
  .hero-title { grid-area: hero-title; }
  .hero-copy { grid-area: hero-copy; }
  .hero-mark {
    grid-area: hero-mark;
    justify-self: center;
    align-self: start;
    width: clamp(220px, 40vw, 360px);
    height: auto;
  }
  .hero h1 { font-size: 56px; line-height: 1.12; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  /* Compact header: hide brand, center Watch button */
  .brand { display: none; }
  .spacer { display: none; }
  .nav { justify-content: center; }
  .label-mobile { display: inline; }
  .label-desktop { display: none; }
  /* Center hero title and copy */
  .hero h1 { text-align: center; }
  .hero h2 { text-align: center; }
  .hero-copy { text-align: center; }
  .hero .cta-row { justify-content: center; }
  /* Smaller countdown on mobile */
  .countdown { gap: 18px; }
  .countdown .value { font-size: 48px; letter-spacing: 4px; }
  .countdown .label { font-size: 12px; margin-top: 6px; }
  .countdown .unit:not(:last-child) .value::after { margin-left: 4px; }
  /* Mobile h2 sizing */
  h2 { font-size: 1.8rem; }
}