/* Pro Path Performance — coming soon */

:root {
  --red: #c8102e;
  --red-hover: #e01434;
  --red-press: #a00d25;
  --bg: #000000;
  --text: #ffffff;
  --muted: #c8c8c8;
  --dim: #8f8f8f;
  --line: rgba(255, 255, 255, 0.12);
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 40rem;
  --features: 56rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-800-italic.woff") format("woff");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  min-height: 100dvh;
}

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

a {
  color: var(--text);
  text-decoration-color: var(--red);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff;
  text-decoration-color: var(--red-hover);
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

/* ----- Hero ----- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

@media (min-width: 900px) and (min-height: 760px) {
  .hero {
    min-height: 100svh;
  }
}

.hero-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vh, 4rem) var(--pad) 1.5rem;
}

.logo {
  width: min(22rem, 82vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--red);
}

.tagline {
  margin: 0 0 1.5rem;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.28rem, 5.2vw + 0.15rem, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  text-wrap: nowrap;
}

.tagline .dot {
  color: var(--red);
  font-style: italic;
}

.lede {
  margin: 0 auto 1.85rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.125rem);
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.6rem;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: var(--red-hover);
  color: #fff;
  transform: translateY(-1px);
}

.cta:active {
  background: var(--red-press);
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ----- Athletes band ----- */

.athletes {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  line-height: 0;
  background: #000;
}

.athletes img {
  width: 100%;
  height: auto;
}

.athletes::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18%;
  background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

@media (min-width: 700px) {
  .athletes::before {
    height: 28%;
  }
}

/* ----- Features / contact / footer ----- */

.main {
  padding: clamp(2rem, 5.5vw, 3.75rem) var(--pad) 2.5rem;
}

.features {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--features);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 0.85rem;
}

.features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.15rem 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
}

.features svg {
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  color: var(--red);
}

.contact {
  margin: 2.75rem auto 0;
  max-width: var(--content);
  text-align: center;
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.contact a:hover {
  color: #fff;
}

.contact a:hover span {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.2em;
}

.contact svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--red);
  flex: 0 0 auto;
}

.footer {
  padding: 1.25rem var(--pad) calc(1.75rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  color: var(--dim);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.footer .mark {
  width: 4.25rem;
  height: auto;
  margin: 0 auto 0.85rem;
  opacity: 0.9;
}

.footer p {
  margin: 0;
}

/* ----- Intro motion ----- */

.hero-inner > * {
  animation: rise 0.7s ease both;
}

.hero-inner > :nth-child(1) { animation-delay: 0.05s; }
.hero-inner > :nth-child(2) { animation-delay: 0.12s; }
.hero-inner > :nth-child(3) { animation-delay: 0.18s; }
.hero-inner > :nth-child(4) { animation-delay: 0.26s; }
.hero-inner > :nth-child(5) { animation-delay: 0.34s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner > * {
    animation: none;
  }

  .cta {
    transition: none;
  }
}

/* ----- Breakpoints ----- */

@media (max-height: 640px) and (orientation: landscape) {
  .hero {
    min-height: 0;
  }

  .logo {
    width: min(16rem, 50vw);
    margin-bottom: 1rem;
  }
}

@media (min-width: 640px) {
  .cta {
    font-size: 1rem;
    padding: 0.95rem 1.85rem;
  }

  .contact {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .logo {
    width: min(23.5rem, 40vw);
    margin-bottom: 1.75rem;
  }

  .eyebrow {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  .features {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }

  .features li {
    font-size: 1rem;
    gap: 0.7rem;
  }

  .features svg {
    width: 2rem;
    height: 2rem;
  }
}

/* Keep the tagline on one line from the 390px design target up.
   Below that, allow a natural wrap so nothing overflows. */
@media (max-width: 359px) {
  .tagline {
    white-space: normal;
    text-wrap: wrap;
  }
}
