:root,
[data-theme="dark"] {
  color-scheme: dark;
  --plate: #0b2518;
  --bg: #16382a;
  --bg-elev: #1c4333;
  --bg-card: #1f4a38;
  --bg-alt: #1a3f30;
  --chalk: #f7f3ea;
  --chalk-dim: #d5d0c4;
  --gold: #c4a467;
  --gold-deep: #a8884d;
  --green: #0b2518;
  --line: #c4a467;
  --line-strong: rgba(196, 164, 103, 0.45);
  --stroke: #c4a467;
  --radius: 0.45rem;
  --danger: #ffb4a8;
  --ok: #b8e0c4;
  --focus: #c4a467;
  --header-bg: #16382a;
  --header-h: 5.35rem;
  --frame: var(--stroke);
  --wrap: 70rem;
  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  --nav-panel: #16382a;
  --field: #1c4333;
}

[data-theme="light"] {
  color-scheme: light;
  --plate: #0b2518;
  --bg: #f4efe3;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #efe8d8;
  --chalk: #0b2518;
  --chalk-dim: #2f4336;
  --gold: #c4a467;
  --gold-deep: #8d7338;
  --green: #0b2518;
  --line: #c4a467;
  --line-strong: rgba(11, 37, 24, 0.16);
  --stroke: #c4a467;
  --radius: 0.45rem;
  --danger: #9b2c1a;
  --ok: #1d5a38;
  --focus: #0b2518;
  --header-bg: #16382a;
  --frame: var(--stroke);
  --shadow: 0 10px 24px rgba(11, 37, 24, 0.08);
  --nav-panel: #16382a;
  --field: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--chalk);
  background-color: var(--bg);
}

img:not(.brand-wordmark) {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green);
}

[data-theme="dark"] a:hover {
  color: var(--chalk);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden,
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-h);
  overflow: visible;
  border-bottom: 1px solid var(--stroke);
  background: var(--header-bg);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--chalk);
  text-decoration: none;
  overflow: visible;
}

.brand-lockup {
  display: block;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
}

/* Same asset + heights as playbook coach.html .top-logo */
.brand-wordmark {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  border: 0;
  border-radius: 0;
}

@media (max-width: 47.99rem) {
  .brand-wordmark {
    height: 34px;
  }
}

/* Light page theme: header bar stays dark green so white/gold wordmark + nav read (coach match). */
html[data-theme="light"] .site-header {
  --chalk: #f7f3ea;
  --chalk-dim: #d5d0c4;
}

/* SITE_BUILD: 20260923 header Sign in. Stays in the bar; menu items stay in the button. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

a.header-signin:hover,
a.header-signin:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 23.5rem) {
  .header-inner {
    gap: 0.45rem;
  }

  .brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .header-signin {
    padding: 0 0.6rem;
    font-size: 0.85rem;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: transparent;
  color: var(--chalk);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  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 {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 30;
  display: none;
  width: min(18.5rem, calc(100vw - 1.5rem));
  padding: 0.4rem;
  background: var(--nav-panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-nav li + li {
  border-top: 1px solid rgba(196, 164, 103, 0.35);
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  color: #f7f3ea;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.menu-theme {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
}

.theme-switch {
  display: inline-flex;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  overflow: hidden;
  background: #1c4333;
}

.theme-switch button {
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border: 0;
  background: transparent;
  color: #f7f3ea;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.theme-switch button[aria-pressed="true"] {
  background: var(--gold);
  color: #0b2518;
}

.hero {
  padding: 2.2rem 0 3rem;
  border-bottom: 1px solid var(--line-strong);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  text-transform: uppercase;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.4vw, 2.55rem);
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--gold);
  text-wrap: balance;
}

.lede,
.hero-not,
.section-head p,
.schools-note {
  color: var(--chalk-dim);
  max-width: 38rem;
}

.lede {
  font-size: 1.2rem;
}

.hero-not {
  margin: 1.1rem 0 1.6rem;
  font-weight: 600;
  color: var(--chalk);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #141205;
}

.btn-primary:hover {
  background: #f3d45c;
  color: #141205;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--chalk);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-board {
  padding: 1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.board-label,
.board-caption {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.board-label {
  font-size: 0.85rem;
  font-weight: 700;
}

.play-diagram {
  display: block;
  width: 100%;
  height: auto;
  margin: 0.4rem 0;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  object-fit: cover;
  background: #16382a;
}

.board-caption {
  font-size: 0.8rem;
  text-align: right;
}

.section {
  position: relative;
  --section-pad-y: 3.25rem;
  padding: var(--section-pad-y) 0;
  border-bottom: 1px solid var(--line-strong);
}

/* Jump targets: offset for sticky header ONLY — subtract section top pad so H2
   sits ~0.65rem under the bar (not a band of prior-section text). */
section[id] {
  scroll-margin-top: max(0.5rem, calc(var(--header-h) - var(--section-pad-y) + 0.65rem));
}

/* Logo → #top / hero: hero has no --section-pad-y, so do NOT subtract it
   (that under-offset clipped the H1 under the sticky header). */
.hero[id],
section.hero[id] {
  scroll-margin-top: calc(var(--header-h) + 0.65rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-yard {
  position: absolute;
  top: 2.4rem;
  right: max(0.75rem, calc((100% - var(--wrap)) / 2));
  margin: 0;
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(196, 164, 103, 0.16);
  pointer-events: none;
}

.section-head {
  margin-bottom: 1.6rem;
  padding-right: 3rem;
}

.card-grid,
.who-grid,
.practice-list,
.proof-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.card,
.who-card,
.practice-list li,
.proof-list li {
  padding: 1.25rem 1.2rem 1.3rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.card h3,
.who-card h3,
.practice-list h3,
.proof-list h3 {
  color: var(--gold);
}

.card p,
.who-card p,
.practice-list p,
.proof-list p {
  margin: 0;
  color: var(--chalk-dim);
}

.schools-note {
  margin: 1.5rem 0 0;
}

.practice-kind {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.practice-list {
  counter-reset: down;
}

.practice-list li {
  position: relative;
  padding-left: 3.4rem;
}

.practice-list li::before {
  counter-increment: down;
  content: counter(down);
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.example-note {
  margin: 1.5rem 0 0;
  max-width: 44rem;
  color: var(--chalk-dim);
}

.privacy-points {
  margin: 0 0 1.2rem;
  padding-left: 1.15rem;
  color: var(--chalk-dim);
}

.privacy-block .section-head p {
  max-width: 44rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-guard {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  color: var(--chalk);
  font-weight: 500;
}

.contact-form {
  padding: 1.2rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field {
  margin: 0 0 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) - 2px);
  background: var(--field);
  color: var(--chalk);
  font: inherit;
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.form-actions {
  margin: 0;
}

.form-status {
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-info {
  color: var(--gold);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  color: var(--chalk-dim);
}

.footer-inner p {
  margin: 0 0 0.45rem;
}

.footer-brand {
  color: var(--chalk);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.85rem 0 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--chalk);
  text-decoration: none;
  background: transparent;
}

.social-link[hidden] {
  display: none;
}

.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.social-link.is-placeholder {
  cursor: default;
}

.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.social-label {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.social-handle {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.social-soon {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.social-note {
  max-width: 38rem;
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.98rem;
}

.page {
  padding: 2.5rem 0 4rem;
}

.prose {
  max-width: 44rem;
}

.prose h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.prose ul {
  color: var(--chalk-dim);
}

@media (min-width: 48rem) {
  .wrap {
    width: min(100% - 2.5rem, var(--wrap));
  }

  .hero {
    padding: 3.4rem 0 4rem;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
  }

  .contact-grid {
    align-items: start;
  }

  .card-grid,
  .who-grid,
  .proof-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .practice-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .section-yard {
    font-size: 5.5rem;
  }
}

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

/* Rebuild section helpers */
.check-list {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  max-width: 44rem;
  color: var(--chalk-dim);
}

.check-list li + li {
  margin-top: 0.45rem;
}

.lead-label {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.95rem;
}

.close-line {
  margin: 1.1rem 0 0;
  max-width: 44rem;
  font-weight: 600;
  color: var(--chalk);
}

.fine-print {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--chalk-dim);
}

.body-block {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: var(--chalk-dim);
}

.not-body {
  max-width: 40rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--chalk);
}

.narrow .section-head {
  padding-right: 0;
}

.close-lines {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.close-lines li + li {
  margin-top: 0.35rem;
}

.ladder-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.ladder-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.ladder-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  color: var(--gold);
}

.ladder-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  padding-top: 0.25rem;
}

.optional {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--chalk-dim);
  font-size: 0.85rem;
}

@media (min-width: 48rem) {
  .ladder-list {
    grid-template-columns: 1fr;
  }
}

/* Hero H1 can span two locked lines without gold hero-sub */
.hero h1 {
  margin-bottom: 1.1rem;
}

.hero .lede {
  margin-bottom: 1.5rem;
}
