:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#faf9f5;color:#141413}
img{max-width:100%}
[hidden]:not([hidden=until-found i]){display:none!important}

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Karla:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --bg: #F6F3EF;
  --surface: #FFFFFF;
  --surface-2: #EFE8DE;
  --ink: #1A1512;
  --ink-soft: #5C5049;
  --red: #C31A1F;
  --red-deep: #7C1216;
  --black: #141210;
  --line: #DED2C2;
  --on-dark: #F6F3EF;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14100D;
    --surface: #1E1815;
    --surface-2: #241C17;
    --ink: #F3EEE7;
    --ink-soft: #B7ABA0;
    --red: #E5393E;
    --red-deep: #8F1418;
    --black: #0A0807;
    --line: #332921;
    --on-dark: #F6F3EF;
  }
}

:root[data-theme="dark"] {
  --bg: #14100D;
  --surface: #1E1815;
  --surface-2: #241C17;
  --ink: #F3EEE7;
  --ink-soft: #B7ABA0;
  --red: #E5393E;
  --red-deep: #8F1418;
  --black: #0A0807;
  --line: #332921;
  --on-dark: #F6F3EF;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', ui-sans-serif, system-ui, sans-serif;
  padding-inline: 0;
  line-height: 1.55;
}

h1, h2, h3, .display {
  font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: var(--ink);
  margin: 0;
}

.eyebrow {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--red);
}

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
}

/* ---------- NAV ---------- */
nav.top {
  background: var(--black);
  color: var(--on-dark);
  border-bottom: 3px solid var(--red);
}
nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.crest {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.crest img.mark { height: 42px; width: auto; flex-shrink: 0; display: block; }
.crest-word {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  line-height: 1;
}
.crest-word span { display: block; font-size: 0.62em; letter-spacing: 0.18em; color: var(--red); font-weight: 600; margin-top: 3px; }
nav.top .navlinks {
  display: flex;
  gap: 22px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
nav.top .navlinks a { text-decoration: none; opacity: 0.88; }
nav.top .navlinks a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; color: var(--red); }

/* ---------- HERO ---------- */
header.hero {
  background:
    linear-gradient(180deg, var(--black) 0%, var(--red-deep) 130%);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(243,245,238,0.045) 0 1px, transparent 1px 88px);
  pointer-events: none;
}
header.hero .wrap {
  position: relative;
  padding-block: 56px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-copy { flex: 1 1 420px; min-width: 0; }
.hero-eyebrow {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}
header.hero h1 {
  color: var(--on-dark);
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 0.94;
}
header.hero h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  max-width: 46ch;
  font-size: 1.08rem;
  color: #DCD3CB;
  margin-top: 18px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  text-decoration: none;
  border-radius: 3px;
  border: 2px solid transparent;
}
.btn-red { background: var(--red); color: var(--on-dark); }
.btn-red:hover { background: var(--red-deep); }

.hero-emblem {
  flex: 0 0 auto;
  width: min(230px, 34vw);
}
.hero-emblem img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45)); }

/* scoreboard strip */
.strip {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(243,245,238,0.16);
}
.strip .cell {
  padding: 18px 6px 4px;
  border-left: 1px solid rgba(243,245,238,0.16);
  text-align: center;
}
.strip .cell:first-child { border-left: none; padding-left: 0; text-align: left; }
.strip .num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  color: var(--on-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.strip .lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9B9B2;
  margin-top: 5px;
}
.hero-strip-wrap { position: relative; }

/* ---------- PAGE HERO (Mission / About) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--black) 0%, var(--red-deep) 130%);
  color: var(--on-dark);
}
.page-hero .wrap { padding-block: 52px 44px; }
.page-hero .eyebrow { color: var(--red); margin-bottom: 12px; }
.page-hero h1 { color: var(--on-dark); font-size: clamp(2.2rem, 5.6vw, 3.6rem); }

/* ---------- STATEMENT (pull-quote) ---------- */
.statement {
  font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  max-width: 22ch;
  color: var(--ink);
  margin-bottom: 28px;
}

/* ---------- HOMEPAGE MISSION TEASER ---------- */
.mission-band { background: var(--surface-2); }
.mission-band p { font-size: 1.1rem; color: var(--ink); max-width: 68ch; margin-bottom: 22px; }

/* ---------- SECTIONS ---------- */
section { padding-block: 60px; }
section + section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }

/* mission / two-column content grid */
.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.mission-grid p { color: var(--ink-soft); font-size: 1.05rem; max-width: 56ch; }
.mission-grid p + p { margin-top: 14px; }

/* info / signup card */
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 26px 28px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.fact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.fact-list .fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.fact-list .fact .k { color: var(--ink-soft); }
.fact-list .fact .v { font-weight: 700; text-align: right; }
.info-card .btn { width: 100%; justify-content: center; }

/* signup form */
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--red);
}
.signup-form .btn { width: 100%; justify-content: center; cursor: pointer; }
.signup-form .btn:disabled { opacity: 0.6; cursor: default; }
.form-status { margin: 12px 0 0; font-size: 0.88rem; font-weight: 700; }
.form-status.ok { color: var(--ink); }
.form-status.err { color: var(--red); }

/* programs roster grid */
.roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.roster-card {
  background: var(--surface);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.roster-card .age {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--red);
}
.roster-card h3 { font-size: 1rem; letter-spacing: 0.02em; }
.roster-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* footer */
footer {
  background: var(--black);
  color: #B9ACA4;
  padding-block: 40px;
  font-size: 0.88rem;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
footer a { text-decoration: none; color: var(--red); font-weight: 700; }
footer a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .mission-grid { grid-template-columns: 1fr; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip .cell:nth-child(3) { border-left: none; text-align: center; }
  nav.top .navlinks { font-size: 0.76rem; gap: 14px; }
  header.hero .wrap { flex-direction: column; text-align: center; padding-block: 40px 0; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-emblem { width: min(180px, 50vw); margin-top: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  header.hero h1, .hero-sub, .hero-cta { animation: rise 0.7s ease both; }
  .hero-sub { animation-delay: 0.08s; }
  .hero-cta { animation-delay: 0.16s; }
  .hero-emblem { animation: rise 0.8s ease both; animation-delay: 0.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
