:root {
  --ink: #f8f5ef;
  --muted: #d8d1c5;
  --amber: #f0a536;
  --steel: #8fb2bd;
  --shadow: #09100f;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(20px, 4vw, 56px);
  background-image:
    linear-gradient(90deg, rgba(5, 9, 8, 0.9) 0%, rgba(5, 9, 8, 0.7) 35%, rgba(5, 9, 8, 0.18) 68%),
    linear-gradient(0deg, rgba(5, 9, 8, 0.65) 0%, rgba(5, 9, 8, 0) 44%),
    url("hero-ktm-300-exc-2026.png");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 72% 18%, rgba(240, 165, 54, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(143, 178, 189, 0.12), transparent 38%);
}

.hero::after {
  position: absolute;
  right: clamp(-120px, -9vw, -44px);
  bottom: clamp(22px, 7vw, 86px);
  width: min(48vw, 560px);
  aspect-ratio: 620 / 360;
  pointer-events: none;
  content: "";
  background: url("sevencap-racing-logo-transparent.png") center / contain no-repeat;
  opacity: 0.13;
  transform: rotate(-8deg);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  align-self: start;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(86px, 12vw, 142px);
  min-height: 58px;
  padding: 0;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.36));
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.status {
  max-width: 48vw;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  align-self: center;
  padding-block: clamp(72px, 12vh, 140px);
}

.hero-logo {
  display: block;
  width: min(260px, 58vw);
  margin: 0 0 22px;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: clamp(0.82rem, 1.6vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.lead {
  max-width: 560px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.progress {
  width: min(380px, 100%);
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.2);
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--steel));
  box-shadow: 0 0 24px rgba(240, 165, 54, 0.45);
}

@media (max-width: 720px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(5, 9, 8, 0.72) 0%, rgba(5, 9, 8, 0.84) 62%, rgba(5, 9, 8, 0.92) 100%),
      url("hero-ktm-300-exc-2026.png");
    background-position: 58% center;
  }

  .topbar {
    align-items: flex-start;
  }

  .brand {
    width: 92px;
    min-height: 50px;
  }

  .status {
    max-width: 150px;
    font-size: 0.72rem;
  }

  .content {
    align-self: end;
    padding-block: 96px 24px;
  }

  .hero-logo {
    width: min(220px, 72vw);
    margin-bottom: 18px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 18vw, 5.2rem);
  }
}
