:root {
  --bg: #080807;
  --ink: #f8f5e8;
  --muted: #b6b0a1;
  --line: rgba(255, 194, 56, .22);
  --card: #11110f;
  --accent: #ffc238;
  --accent-strong: #d89113;
  --green: #3ee02e;
  --green-dark: #136f27;
  --black: #020202;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 194, 56, .16), transparent 34rem),
    radial-gradient(circle at 10% 10%, rgba(62, 224, 46, .12), transparent 28rem),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(3, 3, 3, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: auto; height: 58px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 800; color: #f5f1df; }
.nav a:hover { color: var(--green); }
.socials { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.socials--nav { gap: 8px; }
.socials--hero { margin-top: 22px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 194, 56, .42);
  background: rgba(0, 0, 0, .42);
  color: #fff4ce;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-link--icon {
  width: 38px;
  padding: 0;
}
.social-link:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(62, 224, 46, .1);
}
.social-link--wide {
  min-width: 0;
  height: 42px;
  padding: 0 16px;
  border-radius: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
}
.btn--primary { background: var(--green); color: #061006; box-shadow: 0 0 0 1px rgba(0,0,0,.35) inset; }
.btn--primary:hover { background: #6cff5d; color: #061006; }
.btn--light { background: var(--accent); color: #130d02; border-color: rgba(255,255,255,.14); }
.btn--outline { border-color: rgba(255, 194, 56, .55); color: #fff4ce; background: rgba(0,0,0,.2); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }
.hero {
  min-height: min(calc(100svh - 76px), 900px);
  aspect-ratio: 16 / 9;
  display: grid;
  align-items: center;
  padding: clamp(48px, 6vw, 86px) 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.96), rgba(0,0,0,.84) 46%, rgba(0,0,0,.52)),
    radial-gradient(circle at 78% 46%, rgba(255, 194, 56, .28), transparent 18rem),
    url('/assets/img/hero.png'),
    #030303;
  background-repeat: no-repeat;
  background-position: center, center, center center, center;
  background-size: auto, auto, cover, auto;
  color: var(--ink);
}
.hero .container { display: grid; grid-template-columns: minmax(0, 760px); gap: 56px; align-items: center; }
.hero__content { max-width: none; }
.hero__content > div:first-child { max-width: 680px; }
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
  color: var(--green);
}
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 9vw, 104px);
  line-height: .9;
  letter-spacing: 0;
}
.hero p { color: rgba(248,245,232,.82); font-size: 20px; line-height: 1.6; max-width: 590px; }
.section { padding: 86px 0; }
.section--dark { background: #030303; color: var(--ink); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 36px; }
.section__head h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; margin: 0 0 16px; }
.section__head p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.section--dark .section__head p { color: rgba(248,245,232,.68); }
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.section--dark .card { background: rgba(255,255,255,.045); border-color: rgba(255, 194, 56, .18); }
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.section--dark .card p { color: rgba(248,245,232,.68); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat strong { font-size: 42px; line-height: 1; color: var(--green); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.about-media {
  margin: 0;
  display: grid;
  place-items: center;
}
.about-media img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, .48)) drop-shadow(0 0 28px rgba(255, 194, 56, .14));
}
.about-media--logo {
  min-height: 420px;
  animation: floatLogo 5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.cup-section {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 194, 56, .18), transparent 26rem),
    radial-gradient(circle at 10% 72%, rgba(62,224,46,.10), transparent 30rem),
    #080807;
  border-top: 1px solid var(--line);
}
.cup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
  margin-bottom: 34px;
}
.cup-hero h2 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: .95;
}
.cup-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.yellow-jersey {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.yellow-jersey img {
  width: min(420px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,.48)) drop-shadow(0 0 26px rgba(255,194,56,.18));
}
.race-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.race-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(255, 194, 56, .22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.045);
}
.race-card--featured {
  border-color: rgba(62,224,46,.58);
  box-shadow: 0 0 0 1px rgba(62,224,46,.12), 0 18px 40px rgba(0,0,0,.24);
}
.race-card__date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, rgba(255,194,56,.22), rgba(62,224,46,.08));
}
.race-card__date span {
  font-size: 42px;
  font-weight: 900;
  line-height: .9;
  color: var(--accent);
}
.race-card__date small {
  font-size: 13px;
  font-weight: 900;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.race-card__body {
  padding: 20px 18px 22px;
}
.race-card__stage {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.race-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.1;
}
.race-card__body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.route-down,
.route-up {
  display: inline;
  font-weight: 900;
  white-space: nowrap;
}
.route-down { color: #8fd7ff; }
.route-up { color: var(--green); }
.cup-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(62,224,46,.08);
  border: 1px solid rgba(62,224,46,.22);
  color: #d8ffd2;
}
.cup-callout strong { color: var(--green); }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 24px;
  color: var(--green);
  font-weight: 900;
}
.cta { background: linear-gradient(135deg, #050505, #132f16); color: white; border-top: 1px solid var(--line); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta__actions { display: grid; gap: 14px; justify-items: end; }
.cta h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1; }
.cta p { color: rgba(255,255,255,.75); max-width: 560px; line-height: 1.6; }
.footer { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

@media (max-width: 820px) {
  .header__inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav { flex-wrap: wrap; gap: 12px 18px; }
  .grid--3, .grid--2, .split { grid-template-columns: 1fr; }
  .hero { min-height: 620px; aspect-ratio: auto; padding: 72px 0; }
  .hero {
    background-position: center, center, center center, center;
    background-size: auto, auto, cover, auto;
  }
  .hero .container { grid-template-columns: 1fr; }
  .cup-hero { grid-template-columns: 1fr; }
  .yellow-jersey { min-height: auto; max-width: 360px; }
  .race-timeline { grid-template-columns: 1fr; }
  .cup-callout { align-items: flex-start; flex-direction: column; }
  .cta__inner { align-items: flex-start; flex-direction: column; }
  .cta__actions { justify-items: start; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
}
