:root {
  --ink: #07140e;
  --field: #10281b;
  --field-raised: #173524;
  --turf: #1f6b3d;
  --signal: #d6ff3f;
  --signal-deep: #b6e010;
  --paper: #f3f0e8;
  --paper-raised: #fffdf8;
  --line: rgba(7, 20, 14, 0.12);
  --line-light: rgba(243, 240, 232, 0.14);
  --text: #14211a;
  --text-soft: #3d5146;
  --muted: #c9d4cc;
  --header: 4.5rem;
  --content: 1120px;
  --display: "Barlow Condensed", "Avenir Next Condensed", "Franklin Gothic Medium", sans-serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--signal);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 2000;
  font-weight: 600;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turf);
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--signal-deep);
}

h1,
h2,
.brand-name,
.program-index,
.level {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.92;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(7, 20, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--paper);
  min-width: 0;
}

.brand svg {
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
}

.brand-name {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
}

.site-nav a.nav-cta,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--signal);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover,
.button:hover,
.nav-cta:focus-visible,
.button:focus-visible {
  background: #e7ff78;
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(243, 240, 232, 0.35);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(243, 240, 232, 0.08);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar,
.menu-toggle .bar::before,
.menu-toggle .bar::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle .bar::before {
  top: -5px;
}

.menu-toggle .bar::after {
  top: 5px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(31, 107, 61, 0.55), transparent 55%),
    linear-gradient(180deg, rgba(7, 20, 14, 0.2) 0%, var(--ink) 100%),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 79px,
      rgba(214, 255, 63, 0.13) 80px,
      transparent 81px
    ),
    var(--ink);
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero::after {
  content: "QB";
  position: absolute;
  right: -0.06em;
  bottom: 2.6rem;
  font-family: var(--display);
  font-size: clamp(8rem, 22vw, 18rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 255, 63, 0.22);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vw, 7rem) 0 4.5rem;
  max-width: 46rem;
}

.hero .kicker {
  color: var(--signal);
  margin-bottom: 1.25rem;
}

.hero .kicker::before {
  background: var(--signal);
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  max-width: 11ch;
  margin-bottom: 1.4rem;
}

.hero p {
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.yardline {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1.25rem, calc((100% - var(--content)) / 2));
  border-top: 1px solid rgba(214, 255, 63, 0.28);
  font-family: var(--display);
  letter-spacing: 0.08em;
  color: rgba(214, 255, 63, 0.7);
  font-size: 1rem;
}

.pillars {
  background: var(--field);
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar {
  padding: 1.35rem 1.25rem;
  border-left: 1px solid var(--line-light);
}

.pillar:first-child {
  border-left: 0;
  padding-left: 0;
}

.pillar span {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}

.pillar small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.section h2 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  margin-top: 0.8rem;
}

.section-head p,
.prose p {
  color: var(--text-soft);
  font-size: 1.12rem;
}

.prose {
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.level-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem 1.3rem;
}

.level {
  font-size: 2.3rem;
}

.level-card p {
  margin-top: 0.55rem;
  color: var(--text-soft);
}

.programs {
  background:
    linear-gradient(180deg, rgba(214, 255, 63, 0.05), transparent 18rem),
    var(--ink);
  color: var(--paper);
}

.programs .kicker {
  color: var(--signal);
}

.programs .kicker::before {
  background: var(--signal);
}

.programs .section-head p {
  color: var(--muted);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.program {
  background: var(--field);
  border: 1px solid var(--line-light);
  border-radius: 1.2rem;
  padding: 1.6rem 1.5rem 1.5rem;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.program:hover {
  border-color: rgba(214, 255, 63, 0.55);
  transform: translateY(-3px);
}

.program-index {
  color: var(--signal);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.program h3 {
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.8rem 0 0.7rem;
}

.program p {
  color: var(--muted);
  margin-top: auto;
}

.coaches {
  background: var(--paper);
}

.coach-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem 4rem;
  align-items: start;
}

.coach-list {
  display: grid;
  gap: 0;
}

.coach-item {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.coach-item:last-child {
  border-bottom: 1px solid var(--line);
}

.coach-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.coach-item p {
  color: var(--text-soft);
}

.contact {
  background: var(--field);
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem 4rem;
  align-items: start;
}

.contact .kicker {
  color: var(--signal);
}

.contact .kicker::before {
  background: var(--signal);
}

.contact h2 {
  margin: 0.7rem 0 1rem;
}

.contact-lead {
  color: var(--muted);
  max-width: 28rem;
}

.contact-detail {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}

.contact-detail a {
  color: var(--signal);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  text-decoration: underline;
}

.contact-detail span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

form {
  background: var(--paper-raised);
  color: var(--text);
  border-radius: 1.3rem;
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.75rem;
  padding: 0.85rem 0.9rem;
  color: var(--text);
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--signal-deep);
  outline-offset: 2px;
}

.form-note {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.site-footer {
  background: var(--ink);
  color: var(--muted);
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line-light);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 1.25rem 1.2rem;
    gap: 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-cta {
    width: 100%;
    padding: 0.85rem 0.2rem;
  }

  .nav-cta {
    margin-top: 0.4rem;
    width: auto;
  }

  .pillar-grid,
  .levels,
  .program-grid,
  .section-head,
  .coach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-left: 0;
    border-top: 1px solid var(--line-light);
    padding-left: 0;
  }

  .pillar:first-child {
    border-top: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    font-size: 9rem;
    opacity: 0.7;
  }

  .yardline span:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .site-footer .wrap {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .program,
  .button,
  .nav-cta {
    transition: none;
  }
}
