@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/oswald-400.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/oswald-500.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/oswald-600.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/outfit-300.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

:root {
  --bg: #0c0d0f;
  --fg: #f4f1ea;
  --surface: #16181c;
  --muted: #8b8a86;
  --accent: #c81e3a;
  --border: rgb(244 241 234 / 12%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Oswald", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
@media (min-width: 768px) {
  .wrap { width: min(72rem, calc(100% - 4rem)); }
}

.kicker {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  font-size: clamp(3.25rem, 1.8rem + 6.5vw, 7.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  row-gap: 0.5em;
  font-weight: 400;
  text-wrap: wrap;
}
.hero-title > span {
  display: block;
  line-height: 0.9;
}
.display {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  line-height: 1.15;
  font-weight: 400;
}
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.max-sm { max-width: 24rem; }
.max-md { max-width: 28rem; }
.max-xl { max-width: 36rem; }
.max-2xl { max-width: 42rem; }
.max-3xl { max-width: 48rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--fg);
  transition: background-color 150ms, transform 150ms, border-color 150ms;
}
.btn:hover { background: #b01a33; }
.btn:active { transform: scale(0.96); }
.btn-sm { height: 2.25rem; padding: 0 0.875rem; font-size: 0.75rem; }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.btn-outline:hover { background: var(--surface); }
.btn svg { width: 1rem; height: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 4rem;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms, border-color 200ms;
}
.site-header.is-solid {
  background: rgb(12 13 15 / 0.95);
  border-bottom-color: var(--border);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
.nav-link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(244 241 234 / 0.8);
}
.nav-link:hover { color: var(--fg); }
.menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: 6rem 1.25rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease);
}
.menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.menu-overlay nav { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.menu-overlay a.display { padding: 0.5rem 0; }
body.menu-open { overflow: hidden; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--fg);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg), rgb(12 13 15 / 0.4) 45%, rgb(12 13 15 / 0.3));
}
.hero-inner {
  position: relative;
  padding: 7rem 0 2.5rem;
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-kicker { color: rgb(244 241 234 / 0.75); }
.hero-lead { max-width: 28rem; color: rgb(244 241 234 / 0.75); }

.section { border-top: 1px solid var(--border); }
.section-pad { padding: 5rem 0; }
.scroll-mt { scroll-margin-top: 8rem; }
.surface { background: var(--surface); }

.sport-grid { display: grid; gap: 2.5rem; }
.sport-card {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  align-items: stretch;
}
.sport-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}
.sport-copy { display: flex; flex-direction: column; justify-content: center; }

.train-grid, .about-grid, .join-grid, .contact-grid {
  display: grid;
  gap: 2rem;
}
.train-grid img, .contact-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.about-copy { display: grid; gap: 2rem; }

.board-list {
  display: grid;
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}
.board-list li { border-top: 1px solid var(--border); padding-top: 1rem; }

.dates { list-style: none; padding: 0; margin: 3rem 0 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dates li {
  display: grid;
  gap: 0.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.dates li:last-child { border-bottom: 0; }

.form, .thanks {
  display: grid;
  gap: 1.25rem;
  background: var(--bg);
  border-radius: 16px;
  padding: 1.25rem;
}
label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; }
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  border-radius: 8px;
  padding: 0 0.875rem;
  font: inherit;
  font-size: 0.875rem;
}
input { height: 2.75rem; }
textarea { min-height: 7rem; padding: 0.75rem 0.875rem; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.fine { font-size: 0.75rem; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 2rem; color: var(--muted); }
.footer-links a:hover { color: var(--fg); }

.legal { padding: 7rem 0 5rem; max-width: 42rem; }
.legal .wrap { width: min(42rem, calc(100% - 2.5rem)); }
.legal-body { margin-top: 2.5rem; display: grid; gap: 1.25rem; color: var(--muted); }
.legal-body strong { color: var(--fg); font-weight: 500; }
.legal-body a { text-decoration: underline; text-underline-offset: 4px; color: var(--fg); }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 50;
  background: var(--bg);
  padding: 0.5rem 0.75rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
.rise { animation: rise 700ms var(--ease) both; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn, .menu-overlay { display: none; }
  .hero-inner { padding-bottom: 3.5rem; width: min(72rem, calc(100% - 4rem)); }
  .section-pad { padding: 7rem 0; }
  .sport-card { grid-template-columns: repeat(12, 1fr); gap: 2rem; }
  .sport-card .media { grid-column: span 5; }
  .sport-card .sport-copy { grid-column: span 7; }
  .sport-card.is-alt .media { order: 2; }
  .sport-card img { aspect-ratio: 3 / 4; height: 100%; }
  .train-grid { grid-template-columns: 5fr 7fr; gap: 2rem; align-items: stretch; }
  .about-grid { grid-template-columns: 3fr 9fr; gap: 2.5rem; }
  .about-copy { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .board-list { grid-template-columns: 1fr 1fr 1fr; }
  .dates li { grid-template-columns: repeat(12, 1fr); align-items: baseline; gap: 1.5rem; }
  .dates .when { grid-column: span 3; }
  .dates .what { grid-column: span 4; }
  .dates .detail { grid-column: span 5; }
  .join-grid { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .form, .thanks { padding: 2rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
}
