/* Reset FC
   Palette: turf green, chalk white, training-bib amber, dusk indigo.
   Type: Big Shoulders Display (headlines), Figtree (text). */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --turf: #12402F;
  --turf-deep: #0C2E22;
  --turf-soft: #1C5A42;
  --chalk: #F2F5F0;
  --chalk-dim: #DCE3DA;
  --bib: #F4B41A;
  --bib-deep: #D99A06;
  --dusk: #232B55;
  --ink: #14231D;
  --ink-soft: #40524A;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --band: clamp(4.5rem, 10vw, 9rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--bib); outline-offset: 3px; border-radius: 2px; }

.visually-hidden, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--bib); color: var(--ink); padding: .75rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
}
.display-sm { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
.display-xl { font-size: clamp(3.5rem, 12vw, 10rem); line-height: .86; }

.label {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.label::before {
  content: ""; width: 2.5rem; height: 3px; background: var(--bib); flex: none;
}

.lead { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: .75rem 1.75rem;
  font: 700 1rem/1.2 var(--text);
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-bib { background: var(--bib); color: var(--ink); }
.btn-bib:hover { background: #FFC83D; }
.btn-turf { background: var(--turf); color: var(--chalk); }
.btn-turf:hover { background: var(--turf-soft); }
.btn-ghost { border-color: rgba(242,245,240,.7); color: var(--chalk); }
.btn-ghost:hover { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn-wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gutter);
  color: var(--chalk);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-solid { background: var(--turf-deep); box-shadow: 0 1px 0 rgba(242,245,240,.14); }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand-mark { width: 3.25rem; height: 3.25rem; flex: none; border-radius: 50%; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.625rem; text-transform: uppercase; letter-spacing: .02em; }
.brand-sub { font-size: .8125rem; font-weight: 500; opacity: .85; margin-top: .2rem; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a:not(.btn) {
  font-weight: 600; text-decoration: none; padding: .5rem 0;
  background: linear-gradient(var(--bib), var(--bib)) left bottom / 0 3px no-repeat;
  transition: background-size .2s;
}
.site-nav a:not(.btn):hover { background-size: 100% 3px; }
.nav-cta { min-height: 2.75rem; padding: .5rem 1.25rem; }

.nav-toggle {
  display: none; width: 3rem; height: 3rem; padding: 0;
  background: none; border: 2px solid rgba(242,245,240,.6); border-radius: 50%;
  color: inherit; cursor: pointer; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.125rem; height: 2px; background: currentColor; transition: transform .2s, background-color .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 52rem) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: var(--turf-deep);
    visibility: hidden; opacity: 0; transform: translateY(-.5rem);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a:not(.btn) {
    font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase;
    padding: .75rem 0; border-bottom: 1px solid rgba(242,245,240,.16); background: none;
  }
  .nav-cta { margin-top: 1.25rem; min-height: 3.25rem; }
  .site-header.nav-open { background: var(--turf-deep); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: end;
  color: var(--chalk);
  background: var(--turf-deep);
  overflow: hidden;
}
.hero-slides, .hero-shade, .hero-chalk { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slides picture { display: contents; }
.hero-slide:first-child { object-position: 50% 30%; }
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(to top, rgba(12,46,34,.94) 0%, rgba(12,46,34,.55) 40%, rgba(12,46,34,.15) 68%, rgba(12,46,34,.55) 100%),
    linear-gradient(to right, rgba(12,46,34,.45), rgba(12,46,34,0) 60%);
}
.hero-chalk { z-index: 2; pointer-events: none; }
.chalk-line {
  fill: none; stroke: var(--chalk); stroke-width: 3; opacity: .5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: chalk 1.6s .2s cubic-bezier(.6,0,.2,1) forwards;
}
line.chalk-line { animation-delay: .9s; animation-duration: 1s; }
.chalk-dot { fill: var(--bib); opacity: 0; animation: fade .4s 1.7s forwards; }
@keyframes chalk { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.hero-content {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(6.5rem, 12vh, 9rem);
}
.hero-kicker { font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.25rem); margin-bottom: 1rem; }
.hero-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4rem, 13vw, 11rem);
  line-height: .88; letter-spacing: -.005em;
  margin-left: -.04em;
}
.hero-lede { max-width: 32rem; margin-top: 1.75rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero-controls {
  position: absolute; z-index: 4;
  right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem);
  display: flex; align-items: center; gap: .5rem;
}
.hero-count { font-family: var(--display); font-weight: 800; font-size: 1.5rem; min-width: 3.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.hero-btn {
  width: 2.75rem; height: 2.75rem; padding: 0; display: grid; place-items: center;
  background: rgba(12,46,34,.5); color: var(--chalk);
  border: 2px solid rgba(242,245,240,.6); border-radius: 50%; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.hero-btn:hover { background: var(--chalk); color: var(--ink); }
.hero-btn svg { width: 1.125rem; height: 1.125rem; }
.hero-btn .icon-play { display: none; }
.hero-btn[aria-pressed="true"] .icon-play { display: block; }
.hero-btn[aria-pressed="true"] .icon-pause { display: none; }

@media (max-width: 40rem) {
  .hero-controls { left: var(--gutter); right: auto; }
  .hero-content { padding-bottom: 6.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Bands ---------- */
.band { padding-block: var(--band); position: relative; }
.band-chalk { background: var(--chalk); color: var(--ink); }
.band-turf { background: var(--turf); color: var(--chalk); }
.band-dusk { background: var(--dusk); color: var(--chalk); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: 1.1fr 1fr; align-items: start; }
.about-copy { display: grid; gap: 1.25rem; max-width: 34rem; padding-top: 2.75rem; }
.about-copy p:not(.lead) { color: var(--ink-soft); }
.about-copy .btn { justify-self: start; margin-top: .75rem; }
@media (max-width: 52rem) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
}

/* ---------- Football ---------- */
.football-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.football-intro { max-width: 30rem; font-size: 1.125rem; color: var(--chalk-dim); padding-bottom: .5rem; }

.trio {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(.75rem, 2vw, 1.75rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.trio-wide { grid-column: 1 / -1; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trio-wide img { aspect-ratio: 16 / 9; }
.trio figcaption, .mosaic figcaption {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1; letter-spacing: .01em;
}
.trio figcaption { margin-top: .875rem; padding-top: .75rem; border-top: 2px solid rgba(242,245,240,.35); }

.football-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: 1.75rem; border-top: 2px solid rgba(242,245,240,.35);
}
.place { display: flex; align-items: center; gap: .625rem; font-weight: 600; font-size: 1.125rem; }
.place svg { width: 1.5rem; height: 1.5rem; color: var(--bib); flex: none; }

@media (max-width: 52rem) {
  .football-head { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .football-foot .btn { width: 100%; }
}

/* ---------- Training ---------- */
.training-head { max-width: 46rem; }
.training-intro { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; color: var(--ink-soft); }

.mosaic {
  display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}
.mosaic figure { position: relative; overflow: hidden; background: var(--turf-deep); aspect-ratio: 3 / 4; }
.mosaic figure:nth-child(2) { margin-top: clamp(1rem, 4vw, 3.5rem); margin-bottom: calc(-1 * clamp(1rem, 4vw, 3.5rem)); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--chalk); color: var(--ink);
  padding: .625rem 1rem .5rem 0;
}
@media (max-width: 40rem) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic figure:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .mosaic figure:nth-child(2) { margin: 0; }
}

.belong {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(6rem, 12vw, 11rem);
}
.belong-photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.belong-photo { position: relative; }
.belong-photo::after {
  content: ""; position: absolute; right: -1rem; bottom: -1rem; width: 45%; height: 45%;
  border-right: 3px solid var(--bib); border-bottom: 3px solid var(--bib); pointer-events: none;
}
.belong-copy { display: grid; gap: 1.5rem; max-width: 32rem; }
.belong-copy p { color: var(--ink-soft); font-size: 1.125rem; }
.belong-copy .btn { justify-self: start; }
@media (max-width: 52rem) {
  .belong { grid-template-columns: 1fr; }
  .belong-photo { max-width: 28rem; margin-right: 1rem; }
}

/* ---------- Life ---------- */
.life { overflow: hidden; text-align: center; padding-bottom: calc(var(--band) + 7rem); }
.life-chalk { position: absolute; inset: auto 0 0 0; width: 100%; height: 13rem; color: var(--chalk); opacity: .18; pointer-events: none; }
.life-inner { position: relative; display: grid; justify-items: center; gap: 1.75rem; }
.life .label { margin-bottom: 0; }
.life .label::after { content: ""; width: 2.5rem; height: 3px; background: var(--bib); flex: none; }
.life-copy { max-width: 36rem; font-size: clamp(1.125rem, 1.8vw, 1.375rem); color: #D9DDF0; }
.pillars {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  margin-top: 1rem;
}
.pillars li {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1;
  padding: .7rem 1.5rem .6rem; border: 2px solid rgba(242,245,240,.5); border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 2px solid var(--ink); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.375rem 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: clamp(1.125rem, 1.8vw, 1.375rem); line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / .875rem 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px .875rem no-repeat,
    var(--chalk-dim);
  transition: transform .2s, background-color .2s;
}
.faq-list details[open] summary::after {
  transform: rotate(180deg);
  background:
    linear-gradient(var(--ink), var(--ink)) center / .875rem 2px no-repeat,
    var(--bib);
}
.faq-a { padding: 0 3.75rem 1.5rem 0; color: var(--ink-soft); max-width: 40rem; }
.faq-a a { color: var(--turf); font-weight: 700; }
@media (max-width: 52rem) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-a { padding-right: 0; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-copy { margin-top: 1.5rem; max-width: 28rem; font-size: 1.125rem; color: var(--chalk-dim); }
.contact-list { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.contact-list dt { font-weight: 600; color: var(--chalk-dim); font-size: .9375rem; }
.contact-list dd {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.05;
}
.contact-list a { text-decoration: none; background: linear-gradient(var(--bib), var(--bib)) left bottom / 100% 3px no-repeat; }
.contact-list a:hover { color: var(--bib); }

.form {
  background: var(--chalk); color: var(--ink);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid; gap: 1.25rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid #B9C4BB; border-radius: 6px;
  padding: .8rem .9rem; min-height: 3.25rem;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turf); box-shadow: 0 0 0 3px rgba(244,180,26,.55); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-weight: 600; font-size: .9375rem; }
.form-note { font-size: .9375rem; color: var(--ink-soft); }
.form-status { font-weight: 600; padding: .875rem 1rem; background: #E1EEDF; border-left: 4px solid var(--turf); }
.form-status a { color: var(--turf); }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--turf-deep); color: var(--chalk); padding-block: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 1rem 2.5rem; }
.footer-line { color: var(--chalk-dim); }
.footer-meta { color: var(--chalk-dim); font-size: .9375rem; }
.footer-top { font-weight: 700; text-underline-offset: .25em; }
.footer-top:hover { color: var(--bib); }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
