:root {
  --color-background: #ffffff;
  --color-text: #111111;
  --color-red: #da121a;
  --color-yellow: #fcdd09;
  --color-border: rgba(17, 17, 17, 0.14);
  --shadow-soft: 0 24px 70px rgba(17, 17, 17, 0.08);
  --page-padding: clamp(1.5rem, 4vw, 3rem);
  --intro-rise-duration: 980ms;
  --intro-fade-duration: 760ms;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-background);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(218, 18, 26, 0.05), transparent 30%),
    radial-gradient(circle at bottom right, rgba(252, 221, 9, 0.07), transparent 28%),
    var(--color-background);
  color: var(--color-text);
  font-family: 'Space Grotesk', sans-serif;
}

body.is-locked {
  overflow: hidden;
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: var(--page-padding);
}

.page::before {
  content: '';
  position: absolute;
  inset: var(--page-padding);
  border: 1px solid var(--color-border);
  pointer-events: none;
  z-index: 1;
}

.route-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.route-fill {
  fill: rgba(17, 17, 17, 0.025);
}

.route-line {
  fill: none;
  stroke: rgba(17, 17, 17, 0.12);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-peak-halo {
  fill: rgba(218, 18, 26, 0.1);
}

.route-peak-bg {
  fill: white;
}

.route-peak {
  fill: var(--color-red);
}

.hero {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 0.4rem;
  width: 100%;
}

.hero__eyebrow,
.footer__label,
.footer__value {
  margin: 0;
}

.hero__eyebrow,
.footer__label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: rgba(17, 17, 17, 0.6);
}

.hero__title {
  margin: 0;
  max-width: 42rem;
  color: var(--color-red);
  font-size: clamp(3.8rem, 11vw, 8.8rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero__claim {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.45;
}

.hero__line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.hero__line--top {
  margin: 0;
}

.hero__line--bottom {
  margin: 0;
}

.footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-self: end;
  padding-top: 2rem;
}

.footer__block {
  display: grid;
  gap: 0.4rem;
}

.footer__block--right {
  justify-items: end;
  text-align: right;
}

.footer__value {
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.footer__link {
  color: inherit;
  text-decoration: none;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--color-red);
}

.intro {
  display: none;
}

html[data-js='true'] .intro {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: var(--color-background);
  overflow: hidden;
  pointer-events: none;
}

.intro__stripes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}

.intro__stripe {
  transform: translateY(101%);
  animation: stripe-rise var(--intro-rise-duration) cubic-bezier(0.2, 0.78, 0.12, 1) forwards;
}

.intro__stripe--yellow {
  background: var(--color-yellow);
}

.intro__stripe--red {
  background: var(--color-red);
}

.intro__stripe:nth-child(1) {
  animation-delay: 0ms;
}

.intro__stripe:nth-child(2) {
  animation-delay: 60ms;
}

.intro__stripe:nth-child(3) {
  animation-delay: 120ms;
}

.intro__stripe:nth-child(4) {
  animation-delay: 180ms;
}

.intro__stripe:nth-child(5) {
  animation-delay: 240ms;
}

.intro__stripe:nth-child(6) {
  animation-delay: 300ms;
}

.intro__stripe:nth-child(7) {
  animation-delay: 360ms;
}

.intro__stripe:nth-child(8) {
  animation-delay: 420ms;
}

.intro__stripe:nth-child(9) {
  animation-delay: 480ms;
}

.intro__brand {
  position: relative;
  z-index: 1;
  padding: 0.2em 0.28em;
  color: #111111;
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.intro.is-fading {
  animation: intro-fade var(--intro-fade-duration) ease forwards;
}

@keyframes stripe-rise {
  from {
    transform: translateY(101%);
  }

  to {
    transform: translateY(0%);
  }
}

@keyframes intro-fade {
  from {
    opacity: 1;
    visibility: visible;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 720px) {
  .page::before {
    inset: 1rem;
  }

  .hero {
    align-self: start;
    padding-top: 14vh;
  }

  .hero__title {
    font-size: clamp(3rem, 18vw, 5.4rem);
  }

  .footer {
    grid-template-columns: 1fr;
    padding-bottom: 0.5rem;
  }

  .footer__block--right {
    justify-items: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro,
  .intro__stripe,
  .intro.is-fading {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
  }

  html[data-js='true'] .intro {
    opacity: 0;
    visibility: hidden;
  }

  body.is-locked {
    overflow: auto;
  }
}