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

:root {
  --black: #05070a;
  --charcoal: #10151b;
  --panel: #151b23;
  --graphite: #36383a;
  --graphite-mid: #25282b;
  --graphite-dark: #111316;
  --blue: #1094e8;
  --blue-dark: #086eaf;
  --white: #f8fbff;
  --muted: #b8c3ce;
  --line: rgba(255, 255, 255, .13);
  font-family: Inter, system-ui, sans-serif;
  color: var(--white);
  background: var(--black);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--black); }
a { color: inherit; }
main { overflow: hidden; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 24px clamp(18px, 4vw, 64px) 70px;
  background:
    repeating-linear-gradient(135deg, transparent 0 28px, rgba(255,255,255,.035) 29px 30px),
    linear-gradient(90deg, rgba(5, 7, 10, .38) 0%, rgba(5, 7, 10, .08) 45%, rgba(5, 7, 10, .34) 100%),
    radial-gradient(ellipse at 46% 30%, var(--graphite) 0%, var(--graphite-mid) 48%, var(--graphite-dark) 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 0 52%, var(--blue) 52% 53.5%, transparent 53.5%); opacity: .75; }
.nav, .hero-grid { position: relative; z-index: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto clamp(34px, 5vw, 56px); max-width: 1180px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: clamp(190px, 24vw, 260px); height: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,.35)); }
.nav-links { display: flex; gap: clamp(14px, 3vw, 32px); font-size: .84rem; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .65fr); gap: clamp(28px, 6vw, 80px); max-width: 1180px; margin: auto; align-items: start; }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.race-chip, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); text-transform: uppercase; letter-spacing: .18em; font-weight: 900; font-size: .8rem; }
.racing-team-badge-floating { display: none; }
h1, h2 { font-family: 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; line-height: .86; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(6rem, 20vw, 15.5rem); margin: 18px 0 0; font-style: italic; text-shadow: 0 14px 34px rgba(0,0,0,.5); }
h1 em { color: var(--blue); font-style: inherit; }
h2 { font-size: clamp(3rem, 7vw, 6.2rem); }
.subtitle { margin: 0 0 18px; font-family: 'Barlow Condensed'; font-size: clamp(2rem, 5vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
.intro, p { color: var(--muted); line-height: 1.75; font-size: 1.05rem; max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.show-graphic + .hero-actions { margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; background: var(--blue); color: white; text-decoration: none; text-transform: uppercase; font-weight: 900; letter-spacing: .08em; border: 0; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #32aefc; }
.button-ghost { background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.button-dark { background: var(--charcoal); }
.hero-side { position: relative; display: grid; justify-items: end; align-self: start; padding-top: 10px; }
.racing-team-badge { position: absolute; top: -70px; right: -66px; z-index: 2; display: block; width: clamp(145px, 16vw, 215px); max-width: 56%; height: auto; filter: drop-shadow(0 22px 28px rgba(0,0,0,.48)); transform: rotate(2deg); pointer-events: none; }
.event-card { position: relative; width: 100%; padding: 34px; background: linear-gradient(155deg, rgba(58,60,62,.96) 0%, rgba(29,32,35,.98) 46%, rgba(11,13,16,.98) 100%); border: 1px solid var(--line); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.event-card-mobile { display: none; }
.speed-lines { height: 10px; width: 58%; background: repeating-linear-gradient(90deg, var(--blue) 0 36px, transparent 36px 48px); margin-bottom: 28px; transform: skewX(-18deg); }
.event-lockup { display: grid; gap: 30px; }
.event-block { padding-top: 24px; border-top: 1px solid var(--line); }
.event-block span { display: block; margin-bottom: 12px; color: var(--blue); font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; line-height: .85; text-transform: uppercase; }
.event-block strong { display: block; color: var(--white); font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(2.3rem, 4.5vw, 3.5rem); font-weight: 900; line-height: .95; text-transform: uppercase; }
.event-block em { display: block; margin-top: 14px; color: var(--blue); font-family: 'Barlow Condensed', Impact, sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-style: normal; font-weight: 900; line-height: 1; text-transform: uppercase; }
.event-block p { margin: 12px 0 0; color: var(--muted); font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
.show-graphic { position: relative; isolation: isolate; display: inline-block; width: auto; max-width: min(100%, 475px); min-height: 0; margin-top: 28px; padding: 22px clamp(22px, 3vw, 30px) 24px; overflow: hidden; color: var(--white); background: linear-gradient(135deg, rgba(16,148,232,.95) 0 8px, rgba(8,11,15,.9) 8px), linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%); box-shadow: 0 18px 44px rgba(0,0,0,.34); }
.show-graphic::before { content: ""; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.05) 19px 20px); opacity: .75; }
.show-graphic::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0; z-index: -1; height: 8px; background: var(--blue); transform: skewX(-18deg); transform-origin: left bottom; }
.show-graphic-copy { position: relative; z-index: 1; width: 395px; max-width: 100%; }
.show-kicker { margin-bottom: 10px; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.show-graphic h2 { max-width: 390px; font-size: clamp(2.15rem, 3.7vw, 3.45rem); line-height: .92; overflow-wrap: anywhere; text-wrap: balance; text-shadow: 0 10px 24px rgba(0,0,0,.4); }
.show-graphic p { max-width: 380px; margin: 12px 0 0; color: rgba(248,251,255,.78); font-size: .98rem; font-weight: 800; line-height: 1.45; }
.ticket-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px) clamp(48px, 6vw, 78px);
  color: #10151b;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 10px solid var(--blue);
}
.ticket-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: clamp(12px, 4vw, 56px);
  background: #55a9e8;
}
.ticket-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 1px;
  background: #dce4ec;
}
.ticket-anchor {
  position: absolute;
  top: 0;
}
.ticket-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(420px, .58fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.ticket-copy {
  min-width: 0;
  padding-top: 8px;
}
.ticket-copy h2 {
  display: grid;
  max-width: 520px;
  margin-top: 12px;
  color: #10151b;
  font-size: clamp(3.2rem, 6.7vw, 5.7rem);
  font-style: italic;
  line-height: .82;
  text-wrap: balance;
}
.ticket-heading-blue {
  margin-left: clamp(34px, 4.4vw, 58px);
  color: var(--blue);
}
.ticket-kicker {
  color: var(--blue-dark);
}
.ticket-lede {
  max-width: 470px;
  margin: 24px 0 0;
  color: #26313c;
  font-size: clamp(1rem, 1.18vw, 1.1rem);
  font-weight: 700;
  line-height: 1.55;
}
.ticket-checkout {
  min-width: 0;
  padding: clamp(10px, 1.4vw, 16px);
  color: #10151b;
  background: #ffffff;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16,21,27,.1);
}
.ticket-widget-frame {
  height: clamp(245px, 29vw, 330px);
  min-height: 245px;
  overflow: auto;
  background: #ffffff;
  border: 0;
  border-radius: 4px;
  scrollbar-color: rgba(16,21,27,.28) transparent;
}
.ticket-widget-frame .tt-widget,
.ticket-widget-frame .tt-widget-wrapper {
  min-height: 100%;
}
.ticket-widget-frame iframe {
  display: block;
  width: 100% !important;
  min-height: 245px;
  border: 0;
}
.ticket-widget-frame .tt-widget-fallback {
  padding: 28px;
  text-align: center;
}
.ticket-widget-frame .tt-widget-fallback p {
  max-width: none;
  margin: 0;
  color: #1d232b;
}
.ticket-widget-frame .tt-widget-fallback a {
  color: var(--blue-dark);
  font-weight: 900;
}
footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(18px, 5vw, 72px); color: var(--muted); background: #05070a; border-top: 1px solid var(--line); }
footer strong { color: white; }

@media (max-width: 820px) {
  .hero { padding: 18px 20px 70px; }
  .nav { align-items: flex-start; margin-bottom: 20px; }
  .nav-links { display: none; }
  .hero-grid, .ticket-wrap { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .hero-side { display: none; }
  .hero-side > .racing-team-badge { display: none; }
  .hero-topline { justify-content: flex-start; min-height: 64px; }
  .racing-team-badge-floating { position: absolute; top: 86px; right: 20px; z-index: 2; display: block; width: min(25vw, 100px); min-width: 84px; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); transform: rotate(2deg); }
  .hero-copy { width: 100%; min-width: 0; }
  .intro, .hero-actions { width: calc(100vw - 40px); max-width: calc(100vw - 40px); }
  .show-graphic { width: auto; max-width: calc(100vw - 40px); }
  .event-card-mobile { display: block; width: calc(100vw - 40px); max-width: calc(100vw - 40px); margin-top: 26px; padding: 20px; }
  .event-card-mobile .speed-lines { width: 52%; margin-bottom: 20px; }
  .event-card-mobile .event-lockup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .event-card-mobile .event-block { min-width: 0; padding-top: 18px; }
  .event-card-mobile .event-block span { margin-bottom: 10px; font-size: clamp(1.9rem, 8.5vw, 2.25rem); }
  .event-card-mobile .event-block strong { font-size: clamp(1.55rem, 7vw, 2rem); overflow-wrap: anywhere; }
  .event-card-mobile .event-block em { margin-top: 10px; font-size: clamp(1.45rem, 6.5vw, 1.8rem); }
  .event-card-mobile .event-block p { font-size: .9rem; line-height: 1.32; }
  .ticket-section { padding: 44px 20px 54px; }
  .ticket-section::before { width: 12px; }
  .ticket-wrap { align-items: start; }
  .ticket-checkout { padding: 14px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  h1 { margin-top: 8px; font-size: clamp(5.2rem, 23vw, 6rem); }
  .intro { font-size: 1rem; line-height: 1.65; }
  .show-graphic { padding: 20px 22px 22px; }
  .show-graphic-copy { width: 305px; max-width: 100%; }
  .show-graphic h2 { max-width: 300px; font-size: clamp(1.85rem, 8vw, 2.25rem); line-height: .95; }
  .show-graphic p { font-size: .92rem; }
  .ticket-copy h2 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .ticket-heading-blue { margin-left: 26px; }
  .ticket-lede { font-size: .98rem; line-height: 1.62; }
  .ticket-checkout { margin-top: 2px; }
  .ticket-widget-frame { height: 310px; }
  .ticket-widget-frame .tt-widget,
  .ticket-widget-frame iframe { min-height: 310px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .event-card, .show-graphic, .ticket-section { animation: rise .7s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
.icon { display: inline-grid; place-items: center; width: var(--size); height: var(--size); font-weight: 900; color: currentColor; line-height: 1; }
