/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --surface-2: #222;
  --orange: #ff5500;
  --orange-dim: #cc4400;
  --text: #f0ede8;
  --text-dim: #888;
  --text-mid: #bbb;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Typography --- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-label--light { color: rgba(255, 85, 0, 0.7); }

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  overflow: hidden;
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.75) contrast(1.1);
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.88;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.hero__sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero__stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

.stat {}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--orange);
}

.stat__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
  display: block;
}

/* --- Standings --- */
.standings {
  padding: 100px 64px;
  background: var(--bg);
}

.standings__header {
  margin-bottom: 0;
}

.standings__header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 20px;
  margin-top: 40px;
}

.standings__header h2:first-child { margin-top: 0; }

.standings__header--sub { margin-top: 48px; }

.standings__table {
  border-top: 2px solid var(--orange);
}

.standings__table--small .rider-row { padding: 14px 0; }

.rider-row {
  display: grid;
  grid-template-columns: 32px 1fr auto 64px auto;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}

.rider-row:hover { background: rgba(255, 85, 0, 0.04); }

.rider-row__pos {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-dim);
  line-height: 1;
}

.rider-row--1 .rider-row__pos { color: var(--orange); }
.rider-row--2 .rider-row__pos { color: #aaa; }
.rider-row--3 .rider-row__pos { color: #7a5a2a; }

.rider-row__name {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.rider-row__bike {
  font-size: 13px;
  color: var(--text-dim);
}

.rider-row__pts {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-mid);
  text-align: right;
}

.rider-row__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange);
  background: rgba(255, 85, 0, 0.12);
  padding: 4px 8px;
  border-radius: 2px;
}

.standings__note {
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
}

/* --- Features --- */
.features {
  padding: 100px 64px;
  background: var(--surface);
}

.features .section-label { margin-bottom: 48px; }

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feature {
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  border-right: none;
  position: relative;
}

.feature:nth-child(odd) { border-left: none; }
.feature:nth-child(even) { border-right: none; }
.feature:nth-last-child(-n+2) { border-bottom: none; }

.feature__num {
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(255, 85, 0, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 380px;
}

/* --- Fantasy --- */
.fantasy {
  background: var(--orange);
  padding: 0;
}

.fantasy__inner {
  padding: 100px 64px;
  background: #0f0f0f;
  border-left: 6px solid var(--orange);
}

.fantasy__inner .section-label { color: rgba(255, 85, 0, 0.6); }

.fantasy__headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  color: var(--text);
  margin: 16px 0 32px;
  letter-spacing: -0.01em;
}

.fantasy__body {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.fantasy__mechanics {
  display: flex;
  gap: 48px;
}

.mechanic__value {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
}

.mechanic__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}

/* --- Riders --- */
.riders {
  padding: 100px 64px;
  background: var(--bg);
}

.riders .section-label { margin-bottom: 48px; }

.riders__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.rider-card {
  background: var(--surface);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.rider-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.rider-card__num {
  font-family: var(--font-display);
  font-size: 72px;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 24px;
}

.rider-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 8px;
}

.rider-card__team {
  font-size: 13px;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 16px;
}

.rider-card__meta {
  font-size: 12px;
  color: var(--text-dim);
}

/* --- Closing --- */
.closing {
  padding: 120px 64px;
  background: var(--surface);
}

.closing__inner {
  max-width: 800px;
}

.closing__statement {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* --- Footer --- */
.footer {
  padding: 48px 64px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.15em;
  color: var(--text);
  display: block;
}

.footer__tagline {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  display: block;
}

.footer__meta {
  text-align: right;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__image { height: 50vh; }
  .hero__image::after { background: linear-gradient(to top, var(--bg) 40%, transparent 100%); }
  .hero__content { padding: 48px 32px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-left: none; }
  .feature:nth-last-child(-n+2) { border-bottom: none; }
  .riders__grid { grid-template-columns: 1fr 1fr; }
  .standings { padding: 80px 32px; }
  .features { padding: 80px 32px; }
  .fantasy__inner { padding: 80px 32px; }
  .riders { padding: 80px 32px; }
  .closing { padding: 80px 32px; }
  .footer { padding: 32px; }
  .footer__inner { flex-direction: column; gap: 16px; }
  .footer__meta { text-align: left; }
}

@media (max-width: 600px) {
  .hero__stats { flex-direction: column; gap: 20px; }
  .rider-row { grid-template-columns: 28px 1fr auto; gap: 12px; }
  .rider-row__bike { display: none; }
  .rider-row__badge { display: none; }
  .riders__grid { grid-template-columns: 1fr 1fr; }
  .fantasy__mechanics { flex-direction: column; gap: 24px; }
  .standings__header h2 { font-size: 28px; }
}