/* yurathletics.com coming-soon page. The desktop splash's look (athletics-launch.css): black ground,
   a 12px hairline frame, the master art cropped above its baked-in subline with the approved subline
   set live, and the play drawing itself behind everything. Archivo for words, Orbitron only in the
   subline. Silver and blue light; red never appears here. Reduced motion shows the final state. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/orbitron-latin-400-normal.woff2") format("woff2");
}

:root {
  --void: #000000;
  --silver: #e6ebf1;
  --steel: #a1a1aa;
  --rim: #5db0ee;
  --hair: rgba(228, 228, 231, 0.18);
  --hero: min(440px, 46vh, 72vw);
  --word: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mark: "Orbitron", "Bahnschrift", "Segoe UI", sans-serif;
}

html {
  height: 100%;
  background: var(--void);
}
body {
  min-height: 100%;
  margin: 0;
  background: var(--void);
  color: var(--silver);
  font-family: var(--word);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.play {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) forwards;
}
.fade {
  opacity: 0;
  animation: fade 0.6s ease-out var(--d, 0s) forwards;
}
.frame {
  position: fixed;
  inset: 12px;
  z-index: 3;
  border: 1px solid var(--hair);
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  padding: clamp(28px, 5vh, 48px) 16px 72px;
  overflow-x: clip;
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-crop {
  width: var(--hero);
  aspect-ratio: 1 / 0.805;
  overflow: hidden;
  background: #000000;
  -webkit-mask-image: radial-gradient(
    ellipse 64% 66% at 50% 46%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 64% 66% at 50% 46%,
    #000 62%,
    transparent 100%
  );
}
.hero-crop img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  user-select: none;
}
.subline {
  margin: 6px 0 0;
  padding-left: 0.46em;
  color: #c4c4cb;
  font: 400 clamp(9px, 1.6vw, 11px) / 1 var(--mark);
  letter-spacing: 0.46em;
  white-space: nowrap;
}

/* The words sit on their own black, softened at the edges, so the routes pass behind them (like the hero crop). */
.pitch {
  position: relative;
  padding: 28px 40px;
  max-width: 34rem;
  margin-top: clamp(28px, 7vh, 64px);
  opacity: 0;
  animation: rise 0.8s ease-out 1.4s both;
}
.pitch::before {
  content: "";
  position: absolute;
  inset: -36px -96px;
  z-index: -1;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.85) 72%, transparent 100%);
  pointer-events: none;
}
.pitch h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 700;
  font-stretch: 100%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pitch p {
  margin: 1rem auto 0;
  max-width: 30rem;
  color: var(--steel);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.pitch .status {
  margin-top: 1.75rem;
  color: var(--rim);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.foot {
  position: fixed;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 2;
  color: #71717a;
  font-size: 0.75rem;
  text-align: center;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Short or narrow screens: the footer joins the flow so it never sits on the words. */
@media (max-height: 700px), (max-width: 480px) {
  .foot {
    position: relative;
    bottom: auto;
    padding: 0 16px 28px;
  }
  .stage {
    min-height: 0;
    padding-bottom: 32px;
  }
}
@media (max-width: 480px) {
  .pitch {
    padding: 24px 8px;
  }
  .pitch::before {
    inset: -24px -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .draw,
  .fade,
  .pitch {
    animation: none !important;
  }
  .draw {
    stroke-dashoffset: 0;
  }
  .fade,
  .pitch {
    opacity: 1;
  }
}

/* Privacy and support pages: the same black, hairline frame and type, set as a quiet reading column.
   No play drawing and no scripts; left-aligned text at a comfortable line length. */
.doc-page {
  overflow-x: hidden;
}
.doc-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  max-width: 40rem;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.doc-home {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--silver);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.doc-home img {
  display: block;
  width: 32px;
  height: 32px;
}
.doc-nav {
  display: flex;
  gap: 20px;
}
.doc-nav a {
  color: var(--steel);
  font-size: 0.875rem;
  text-decoration: none;
}
.doc-nav a[aria-current="page"] {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--rim);
  text-underline-offset: 6px;
}
.doc {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
  padding: 48px 24px 32px;
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.65;
}
.doc h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.doc-lead {
  margin: 1rem 0 0;
  color: var(--silver);
  font-size: 1.125rem;
  line-height: 1.55;
}
.doc-date {
  margin: 0.75rem 0 0;
  color: #71717a;
  font-size: 0.8125rem;
}
.doc h2 {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hair);
  color: var(--silver);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.005em;
}
.doc h3 {
  margin: 1.5rem 0 0;
  color: var(--silver);
  font-size: 1rem;
  font-weight: 600;
}
.doc p,
.doc ul {
  margin: 0.75rem 0 0;
}
.doc ul {
  padding-left: 1.25rem;
}
.doc li + li {
  margin-top: 0.5rem;
}
.doc strong {
  color: var(--silver);
  font-weight: 600;
}
.doc a,
.doc-contact a {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--rim);
  text-underline-offset: 3px;
}
.doc-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}
.doc a:focus-visible,
.doc-home:focus-visible,
.doc-nav a:focus-visible,
.doc-contact a:focus-visible {
  outline: 2px solid var(--rim);
  outline-offset: 3px;
}
.doc-foot {
  position: relative;
  z-index: 2;
  padding: 24px 24px 40px;
  color: #71717a;
  font-size: 0.75rem;
  text-align: center;
}
