:root {
  --navy: #012169;
  --blue: #0052c2;
  --red: #e5233e;
  --paper: #f6f7f9;
  --muted: #647089;
  --line: #dce1eb;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
h1, p { margin: 0; }
.wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px; background: white; z-index: 20; }
.skip-link:focus { top: 12px; }
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: block; width: 210px; max-width: 100%; }
.wordmark img { display: block; width: 100%; height: auto; }
.race-date { font-size: 9px; font-weight: 750; letter-spacing: 1px; }
.hero { display: grid; gap: 23px; padding-block: 27px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.eyebrow span { color: var(--red); font-size: 18px; letter-spacing: 2px; }
h1 { margin-top: 17px; font-size: clamp(32px, 9.3vw, 54px); font-weight: 850; line-height: 1.1; letter-spacing: -1.9px; }
.accent-word { position: relative; display: inline-block; color: var(--blue); }
.accent-word svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 10px; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.hero-description { margin-top: 25px; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.3px; }
.personal-note { margin-top: 12px; max-width: 480px; font-size: 16px; line-height: 1.6; font-weight: 700; color: var(--navy); }
.countdown { margin-top: 18px; max-width: 420px; padding: 13px 15px; background: #eaf0fa; border-left: 3px solid var(--red); border-radius: 4px; }
.countdown-heading { display: grid; gap: 4px; }
.countdown-heading strong { font-size: clamp(21px, 6vw, 28px); line-height: 1.15; font-weight: 850; letter-spacing: -.7px; color: var(--navy); }
.countdown-heading span { font-size: 10px; line-height: 1.5; font-weight: 600; color: var(--blue); }
.countdown-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 9px; padding: 10px 0; border-block: 1px solid var(--line); }
.countdown-clock > div { display: grid; justify-items: center; gap: 2px; }
.countdown-clock > div + div { border-left: 1px solid var(--line); }
.countdown-clock strong { font-size: 25px; line-height: 1.1; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.countdown-clock span { font-size: 8px; color: var(--muted); }
.countdown-finished { margin-top: 9px; font-size: 15px; font-weight: 750; color: var(--blue); }
[hidden] { display: none !important; }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 56px;
  margin-top: 21px;
  padding: 14px 16px;
  border-radius: 5px;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: background .2s, transform .2s;
}
.button:hover { background: #c71730; transform: translateY(-2px); }
.button-arrow { margin-left: auto; font-size: 24px; font-weight: 400; line-height: 1; }
.icon { width: 21px; height: 21px; flex-shrink: 0; }
.hero-actions { display: grid; gap: 10px; margin-top: 20px; }
.hero-actions .button { width: 100%; min-width: 0; margin-top: 0; padding-inline: 14px; gap: 9px; text-align: left; }
.hero-actions .button > span:first-of-type { flex: 1; }
.hero-actions .button-arrow { margin-left: auto; flex-shrink: 0; }
.music-link { background: #1ed760; color: #121212; }
.music-link:hover { background: #1fdf64; }
.spotify-icon { width: 24px; height: 24px; }
.music-link:hover .spotify-icon path { stroke: #1fdf64; }
.hero-visual { position: relative; overflow: hidden; height: 150px; border-radius: 6px; background: var(--navy); }
.race-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; filter: saturate(.65); }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #012169b8, #01216920); }
.photo-title { position: absolute; left: 20px; bottom: 36px; color: white; font-size: 34px; font-weight: 900; line-height: .95; letter-spacing: -1.2px; }
.photo-title span { display: block; margin-top: 6px; font-size: .55em; color: #a8d8ff; letter-spacing: -.5px; }
.photo-caption { position: absolute; left: 20px; bottom: 16px; font-size: 7px; font-weight: 700; letter-spacing: 1.2px; color: white; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-block: 16px; }
.footer-stars { color: var(--red); font-size: 17px; letter-spacing: 2px; }
.footer p { font-size: 9px; color: var(--muted); }
@media (min-width: 600px) {
  .wrap { width: min(1100px, calc(100% - 64px)); }
  .header { padding-block: 24px; }
  .wordmark { width: 260px; }
  .race-date { font-size: 11px; }
  .hero { padding-block: 36px; }
  .button { width: fit-content; gap: 15px; padding-inline: 23px; }
  .button-arrow { margin-left: 15px; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { height: 210px; }
  .photo-title { font-size: 45px; }
}
@media (min-width: 900px) {
  .header { min-height: 100px; }
  .hero { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; padding-block: 48px; }
  h1 { font-size: 54px; letter-spacing: -2.7px; }
  .hero-description { font-size: 18px; }
  .personal-note { font-size: 17px; }
  .button { margin-top: 25px; font-size: 14px; }
  .hero-visual { height: 375px; }
  .photo-shade { background: linear-gradient(180deg, #01216910 20%, #012169c0); }
  .photo-title { left: 25px; bottom: 52px; font-size: 54px; }
  .photo-caption { left: 25px; bottom: 25px; font-size: 8px; }
  .footer { padding-block: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
