/* ==========================================================================
   Deer Creek Wrestling Club — stylesheet
   Official Deer Creek HS colors: Lake Blue #0C2340, Silver Mine #9EA2A2, White
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --navy:        #0C2340;   /* Lake Blue  — official */
  --silver:      #9EA2A2;   /* Silver Mine — official */
  --white:       #FFFFFF;   /* Glacier White — official */

  /* Navy family (derived, for depth) */
  --navy-950: #06121F;
  --navy-900: #081A2E;
  --navy-800: #0C2340;
  --navy-700: #143156;
  --navy-600: #1D4272;

  /* Neutrals for light sections */
  --ink:     #14202D;
  --muted:   #5A6873;
  --surface: #F5F7F8;
  --line:    #E3E7EA;

  /* Status accent — used ONLY for "open / live" indicators */
  --go:      #2FA36B;
  --go-soft: #E8F5EE;

  /* Editable-placeholder chip */
  --tbd-bg:   #FFF6E0;
  --tbd-line: #E8B93B;
  --tbd-ink:  #6B4E06;

  /* Type */
  --display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Space + shape */
  --container: 1180px;
  --radius:   14px;
  --radius-sm: 9px;
  --shadow:    0 1px 2px rgba(12,35,64,.06), 0 8px 24px rgba(12,35,64,.08);
  --shadow-lg: 0 2px 4px rgba(12,35,64,.08), 0 24px 60px rgba(12,35,64,.16);
  --header-h: 68px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchor targets clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .4em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible, .site-header :focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--white); color: var(--navy);
  padding: 12px 20px; font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.container--narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--surface { background: var(--surface); }
.section--dark {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  position: relative;
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display);
  font-size: 15px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--silver); flex: none;
}
.section--dark .eyebrow { color: var(--silver); }
.section--dark .eyebrow::before { background: var(--silver); opacity: .7; }
.section-head--center .eyebrow::before { display: none; }

h1, .h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); }
h2, .h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.2vw, 1.72rem); }
h4, .h4 { font-size: 1.16rem; }

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--dark .lead { color: rgba(255,255,255,.78); }

.grid { display: grid; gap: 22px; }
/* Grid/flex children default to min-width:auto, which lets wide content (tables)
   stretch the column past the viewport. Reset it so overflow containers work. */
.grid > *, .split > *, .steps > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display);
  font-size: 1.14rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s ease, background-color .16s ease, color .16s ease,
              border-color .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--navy); color: var(--white); border-color: var(--navy);
  box-shadow: 0 6px 18px rgba(12,35,64,.22);
}
.btn--primary:hover {
  background: var(--navy-700); border-color: var(--navy-700);
  color: var(--white); box-shadow: 0 10px 26px rgba(12,35,64,.3);
}

/* On navy backgrounds */
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--silver); border-color: var(--silver); color: var(--navy); }

.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(12,35,64,.28); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(12,35,64,.05); color: var(--navy); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }

.btn--lg { font-size: 1.28rem; padding: 18px 40px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* Little arrow that slides on hover */
.btn .arrow { transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 5. Announcement bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255,255,255,.9);
  font-size: 14.5px;
  padding: 9px 0;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; text-align: center;
}
.topbar a { color: var(--white); font-weight: 600; }

.live-dot {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--white);
}
.live-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--go); flex: none;
  box-shadow: 0 0 0 0 rgba(47,163,107,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,163,107,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(47,163,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,163,107,0); }
}

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,35,64,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.16rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--white);
}
.brand-sub {
  font-size: 10.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--silver); margin-top: 3px; font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--display);
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 7px;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.14); }

.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 22px; font-size: 1.02rem; }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px; padding: 9px 11px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 640px at 78% 18%, rgba(29,66,114,.55), transparent 62%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 48%, var(--navy-950) 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(60px, 9vw, 116px) 0 0;
}
.hero__osprey {
  position: absolute;
  right: -4%; top: 50%; transform: translateY(-52%);
  width: min(660px, 52vw);
  opacity: .1;
  pointer-events: none;
  user-select: none;
}
.hero__rules {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg, rgba(255,255,255,.045) 0 1px, transparent 1px 76px
  );
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; padding-bottom: clamp(48px, 7vw, 84px); }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 17px 7px 13px;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 .accent {
  display: block;
  color: var(--silver);
  -webkit-text-stroke: 0;
}
.hero__lead {
  font-size: clamp(1.1rem, 1.9vw, 1.32rem);
  line-height: 1.58;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero .btn-row { margin-bottom: 22px; }
.hero__note { font-size: 14.5px; color: rgba(255,255,255,.6); }

/* Stat strip sitting at the bottom of the hero */
.stat-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(6,18,31,.45);
}
.stat-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 26px 18px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--display); font-size: 2.1rem; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 6px;
}
.stat__label {
  font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--silver); font-weight: 600;
}

/* ---------- 8. Page header (interior pages) ---------- */
.page-head {
  position: relative;
  background:
    radial-gradient(800px 400px at 82% 0%, rgba(29,66,114,.5), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: clamp(48px, 7vw, 84px) 0;
  overflow: hidden;
}
.page-head__osprey {
  position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  width: min(300px, 30vw); opacity: .085; pointer-events: none;
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: var(--white); margin-bottom: 16px; }
.page-head p { color: rgba(255,255,255,.8); max-width: 640px; font-size: 1.1rem; }

.crumbs {
  font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--silver); margin-bottom: 16px; font-weight: 600;
}
.crumbs a { color: var(--silver); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs span { opacity: .5; margin: 0 8px; }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 23px; height: 23px; }

.section--dark .card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
}
.section--dark .card__icon { background: var(--white); color: var(--navy); }

/* Program level cards */
.level {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.level:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.level__top {
  background: var(--navy); color: var(--white);
  padding: 22px 26px;
}
.level--feature .level__top { background: linear-gradient(135deg, var(--navy-700), var(--navy)); }
.level__grade {
  font-family: var(--display); font-size: 1.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1;
}
.level__age {
  font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--silver); font-weight: 600; margin-top: 7px;
}
.level__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.level__body p { font-size: 15.5px; }
.level__list { list-style: none; padding: 0; margin: 0 0 4px; font-size: 15px; }
.level__list li {
  position: relative; padding-left: 26px; margin-bottom: .55em; color: var(--muted);
}
/* Success Fund button pinned to the bottom so all four cards line up */
.level__cta { margin-top: auto; }
/* Sits above the button so the button stays pinned to the card's bottom edge and
   the four cards keep their buttons on one line, chip or no chip. */
.level__body .tbd { margin-bottom: 10px; align-self: flex-start; }

/* "Signups open later" note — same trick, sits above the pinned button */
.soon-note {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 12px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
}
.soon-note::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--t-club); flex: none;
}
.level__list { margin-bottom: 18px; }
.level__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 13px; height: 8px;
  border-left: 2.5px solid var(--navy-600);
  border-bottom: 2.5px solid var(--navy-600);
  transform: rotate(-45deg);
}

/* Value props with number */
.prop { position: relative; padding-left: 62px; }
.prop__num {
  position: absolute; left: 0; top: -6px;
  font-family: var(--display); font-size: 2.7rem; font-weight: 700;
  color: var(--silver); opacity: .55; line-height: 1;
}
.section--dark .prop__num { color: var(--silver); opacity: .5; }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative;
  display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.step__num {
  counter-increment: step;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.5rem; font-weight: 700;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .35em; }
.step p { font-size: 15.7px; color: var(--muted); }
.step p:last-child { margin-bottom: 0; }
.step__aside {
  margin-top: 14px; padding: 13px 16px;
  background: var(--surface); border-left: 3px solid var(--silver);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.6px; color: var(--muted);
}
.step__aside strong { color: var(--ink); }

/* ---------- 11. Tables ---------- */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 560px; }
caption {
  text-align: left; padding: 20px 24px 0;
  font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase; color: var(--ink);
}
thead th {
  background: var(--navy); color: var(--white);
  font-family: var(--display); font-size: 1rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  text-align: left; padding: 14px 20px;
  white-space: nowrap;
}
tbody td, tbody th {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  text-align: left;
  vertical-align: top;
}
tbody th { font-weight: 700; color: var(--ink); font-family: var(--body); }
tbody tr:nth-child(even) { background: #FAFBFC; }
tbody tr:hover { background: var(--surface); }

/* ---------- 12. FAQ (native details — works without JS) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 46px 22px 0;
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.7vw, 1.3rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink);
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy-600); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--navy-600);
  border-bottom: 2.5px solid var(--navy-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__body { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  color: var(--white);
  overflow: hidden;
}
.cta-band__osprey {
  position: absolute; left: -40px; bottom: -70px;
  width: 340px; opacity: .09; pointer-events: none;
}
.cta-band .container {
  position: relative; z-index: 2;
  padding-block: clamp(52px, 7vw, 84px);
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p {
  color: rgba(255,255,255,.82); max-width: 620px; margin-inline: auto;
  margin-bottom: 30px; font-size: 1.12rem;
}
.cta-band .club-id {
  margin-top: 24px; font-size: 14px; color: rgba(255,255,255,.62);
  letter-spacing: .04em;
}
.cta-band .club-id strong { color: var(--white); letter-spacing: .1em; }

/* ---------- 13b. Two-step CTA (club dues + USA Wrestling) ----------
   Used wherever we ask someone to sign up. These are two separate things and
   people conflate them constantly, so they always appear side by side, numbered. */
.two-step {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}
.two-step__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 22px;
}
.two-step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.25rem; font-weight: 700;
}
.two-step h4 {
  color: var(--white); font-size: 1.16rem; margin-bottom: .3em; letter-spacing: .02em;
}
.two-step p {
  font-size: 14.6px; line-height: 1.5;
  color: rgba(255,255,255,.72); margin-bottom: 14px;
}
/* Buttons default to white-space:nowrap, which gives long labels a hard
   min-content width and blows the card out of a narrow screen. Let them wrap. */
.two-step__item > div { min-width: 0; }
.two-step .btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

/* Light-background variant */
.two-step--light .two-step__item {
  background: var(--white);
  border-color: var(--line);
}
.two-step--light .two-step__num { background: var(--navy); color: var(--white); }
.two-step--light h4 { color: var(--ink); }
.two-step--light p { color: var(--muted); }

@media (max-width: 780px) {
  .two-step { grid-template-columns: 1fr; }
}

/* ---------- 14. Callout / note ---------- */
.callout {
  background: var(--surface);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}
.callout h4 { margin-bottom: .45em; }
.callout p:last-child { margin-bottom: 0; }
.callout--go { background: var(--go-soft); border-left-color: var(--go); }

/* Editable placeholder chip — replace the text, then delete class="tbd" */
.tbd {
  display: inline-block;
  background: var(--tbd-bg);
  border: 1px dashed var(--tbd-line);
  color: var(--tbd-ink);
  border-radius: 6px;
  padding: 1px 9px;
  font-size: .92em;
  font-weight: 600;
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
}
.tbd::before { content: "\270E\00a0"; opacity: .75; }

/* ---------- 15. Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.split__media {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  display: grid; place-items: center;
  border: 1px solid var(--line);
}
.split__media img { max-height: 300px; width: auto; }
.section--dark .split__media {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.13);
}

/* ---------- 15b. Numbered directions ---------- */
.directions {
  list-style: none;
  counter-reset: dir;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 14px;
}
/* NOTE: each <li> holds exactly two children — the ::before counter and one <div>.
   A bare text node inside a grid container becomes its own anonymous grid item, which
   would drop the description onto a second row inside the narrow number column. */
.directions li {
  counter-increment: dir;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  font-size: 15.4px;
  color: var(--muted);
}
.directions li > div { min-width: 0; }
.directions li::before {
  content: counter(dir);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 1.08rem; font-weight: 700;
}
.directions strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 2px;
}

/* ---------- 16. Gear checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin: 0;
  font-size: 15.6px;
}
.checklist li::before {
  content: ""; margin-top: 5px;
  width: 17px; height: 17px; border-radius: 5px;
  background: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.checklist strong { display: block; }
.checklist span { color: var(--muted); font-size: 14.6px; }

/* ---------- 17. Coach cards ---------- */
.coach { text-align: left; }
.coach__photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.coach__photo img { width: 46%; opacity: .3; }
.coach__photo img.has-photo { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.coach__role {
  font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--navy-600); font-weight: 700; margin-bottom: 6px;
}
.coach h3 { margin-bottom: .35em; }
.coach p { font-size: 15.3px; color: var(--muted); }

/* Featured head-coach card — photo left, details right */
.coach-lead {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 26px;
}
.coach-lead { align-items: start; }
.coach-lead .coach__photo { margin-bottom: 0; aspect-ratio: 1 / 1; position: sticky; top: 90px; }
.coach-lead h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .25em; }
.coach-lead .coach__role { font-size: 13px; }
.coach-lead p { font-size: 16px; }

/* Assistant coach grid: let each card take its natural height. Without this, grid
   stretches every card to match the tallest in its row, so a coach with no bio yet
   gets a card with a large empty space under their name. */
.coach-grid { align-items: start; }

/* Assistant coaches — compact photo beside the bio, two per row */
.coach-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.coach-row .coach__photo {
  margin-bottom: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
}
.coach-row h3 { font-size: 1.3rem; margin-bottom: .3em; }
.coach-row p { font-size: 15.2px; margin-bottom: .9em; }
.coach-row p:last-child { margin-bottom: 0; }

@media (max-width: 520px) {
  .coach-row { grid-template-columns: 96px 1fr; gap: 16px; padding: 20px; }
}

/* Credential chips — the things a parent scans for in two seconds */
.creds {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 20px;
  padding: 0; list-style: none;
}
.creds li {
  margin: 0;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--navy); color: var(--white);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 13.5px; font-weight: 600;
  letter-spacing: .01em;
}
.creds li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--silver); flex: none;
}
.creds li:nth-child(even) {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line);
}
.creds li:nth-child(even)::before { background: var(--navy-600); }

/* Lighter chips for the assistant cards, so four of them don't shout */
.creds--sm { gap: 6px; margin: 10px 0 14px; }
.creds--sm li,
.creds--sm li:nth-child(even) {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 4px 11px;
  font-size: 12.5px;
}
.creds--sm li::before,
.creds--sm li:nth-child(even)::before { background: var(--navy-600); width: 4px; height: 4px; }

@media (max-width: 780px) {
  .coach-lead { grid-template-columns: 1fr; }
  .coach-lead .coach__photo { max-width: 240px; }
}

/* ---------- 18. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.contact-card .label {
  font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 8px;
}
.contact-card .value {
  font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase; word-break: break-word;
}
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- 19. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.65);
  padding: clamp(48px, 6vw, 72px) 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer h4 {
  color: var(--white); font-size: 1.02rem; letter-spacing: .12em; margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.site-footer a { color: rgba(255,255,255,.68); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand img { height: 54px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.6px; line-height: 1.6; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.11);
  padding: 22px 0 30px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 13.6px; color: rgba(255,255,255,.5);
}

/* ---------- 20. Scroll reveal (progressive enhancement) ----------
   Content is visible by default. It is only hidden once JS has confirmed it is
   running (html.js), so a script failure can never leave the page blank. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* Tight desktop range: six nav items plus the Register button only just fit at
   ~900px, so compress the nav before the mobile menu takes over at 860px. */
@media (min-width: 861px) and (max-width: 1040px) {
  .brand-sub { display: none; }
  .brand img { height: 34px; }
  .nav a { padding: 9px 9px; font-size: .99rem; letter-spacing: .04em; }
  .nav-cta { margin-left: 6px; }
  .nav-cta .btn { padding: 10px 15px; font-size: .96rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }

  .nav-toggle { display: block; order: 3; }

  .nav {
    /* The header uses backdrop-filter, which makes it the containing block for
       fixed children — so `top: 100%` reliably means "just below the header",
       whether the header is stuck to the top or sitting under the topbar. */
    position: fixed;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 10px 22px 22px;
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 15px 6px; font-size: 1.2rem; border-radius: 0;
           border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; padding: 15px 22px; font-size: 1.14rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }

  .hero__osprey { width: 78vw; right: -18%; opacity: .07; }
  .hero__inner { max-width: none; }

  body { font-size: 16.5px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .brand-sub { display: none; }
  .brand img { height: 34px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .step { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .card, .level__body, .level__top { padding-inline: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-strip .container { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; }
  .stat:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* ---------- 21b. Events & calendar ---------- */

/* Event-type colours (functional, used for tags and calendar dots) */
:root {
  --t-tournament: #0C2340;
  --t-dual:       #1D4272;
  --t-camp:       #6E4FA3;
  --t-practice:   #2FA36B;
  --t-club:       #B87A2B;
}
.is-tournament { --tc: var(--t-tournament); }
.is-dual       { --tc: var(--t-dual); }
.is-camp       { --tc: var(--t-camp); }
.is-practice   { --tc: var(--t-practice); }
.is-club       { --tc: var(--t-club); }

.btn--sm { font-size: .98rem; padding: 10px 18px; }

/* A button whose real link has not been added yet. Cannot be clicked until
   class="btn--pending" is removed, so it can never be a dead link. */
.btn--pending {
  background: var(--tbd-bg) !important;
  border: 1px dashed var(--tbd-line) !important;
  color: var(--tbd-ink) !important;
  box-shadow: none !important;
  pointer-events: none;
  cursor: default;
}
.btn--pending::before { content: "\270E\00a0"; opacity: .75; }

/* Filter chips */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.filter-chip {
  font-family: var(--display);
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.is-active {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}

/* Tags + pills */
.tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 5px;
  background: var(--tc, var(--navy)); color: var(--white);
}
.pill {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--line);
}
.pill--all { background: transparent; }

/* Event cards */
#event-list { display: grid; gap: 18px; }

.event {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tc, var(--navy));
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.event:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  line-height: 1;
}
.event__mon {
  font-family: var(--display); font-size: 1.02rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em; color: var(--tc, var(--navy));
}
.event__day {
  font-family: var(--display); font-size: 2.5rem; font-weight: 700;
  color: var(--ink); margin: 4px 0 3px;
}
.event__yr { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }

.event__meta { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 12px; }
.event__body h3 { margin-bottom: .35em; }
.event__when { font-weight: 600; margin-bottom: .25em; font-size: 15.5px; }
.event__where { color: var(--muted); font-size: 15px; margin-bottom: .4em; }
.event__deadline {
  display: inline-block; font-size: 14px; font-weight: 600;
  color: #9A3412; background: #FFF1E7; border-radius: 5px;
  padding: 3px 10px; margin-bottom: .6em;
}
.event__notes { color: var(--muted); font-size: 15.2px; margin-bottom: 1em; }
.event__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Empty state */
.empty-state {
  text-align: center; padding: 54px 26px;
  border: 2px dashed var(--line); border-radius: var(--radius);
  color: var(--muted);
}
.empty-state h3 { color: var(--ink); margin-bottom: .5em; }
.empty-state p { max-width: 460px; margin-inline: auto; }

/* Month calendar */
.cal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px;
}
.cal__label {
  font-family: var(--display); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.cal__nav { display: flex; gap: 8px; }
.cal__nav button {
  width: 40px; height: 40px; border-radius: 9px;
  border: 1.5px solid var(--line); background: var(--white);
  cursor: pointer; font-size: 17px; color: var(--navy);
  display: grid; place-items: center;
  transition: all .15s ease;
}
.cal__nav button:hover { border-color: var(--navy); background: var(--surface); }

.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__dow {
  text-align: center; font-size: 11.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 8px;
}
.cal__day {
  position: relative;
  height: 72px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  font-family: var(--body);
  transition: all .14s ease;
}
.cal__day:hover { border-color: var(--navy); }
.cal__day.is-out { opacity: .35; }
.cal__num { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cal__day.is-today { background: var(--navy); }
.cal__day.is-today .cal__num { color: var(--white); }
.cal__day.is-selected { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(12,35,64,.18); }
.cal__day:not(.has-events) { cursor: default; }
.cal__day:not(.has-events):hover { border-color: transparent; }

.cal__dots { display: flex; gap: 3px; height: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tc, var(--navy)); }
.cal__day.is-today .dot { box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }

.cal__panel {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cal__panel h3 { font-size: 1.16rem; margin-bottom: .6em; }
.cal__hint { color: var(--muted); font-size: 15px; margin: 0; }
.cal__event {
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.2px;
}
.cal__event:last-child { border-bottom: 0; padding-bottom: 0; }
.muted { color: var(--muted); font-size: 14.5px; }

.cal__legend {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 18px; font-size: 13.5px; color: var(--muted);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 7px; }

@media (max-width: 860px) {
  .event { grid-template-columns: 72px 1fr; gap: 16px; padding: 20px; }
  .event__day { font-size: 2rem; }
  .event__actions .btn { width: 100%; }
  .cal { padding: 16px; }
  /* Square cells on narrow screens so the grid stays compact */
  .cal__day { height: auto; aspect-ratio: 1 / 1; min-height: 38px; border-radius: 7px; }
  .cal__num { font-size: 13px; }
  .cal__grid { gap: 4px; }
}
@media (max-width: 420px) {
  .event { grid-template-columns: 1fr; }
  .event__date { flex-direction: row; gap: 8px; align-items: baseline; justify-content: flex-start; padding: 9px 14px; }
  .event__day { margin: 0; font-size: 1.5rem; }
}

/* ---------- 22. Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .topbar, .nav, .hero__osprey, .cta-band__osprey, .page-head__osprey { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .section--dark, .hero, .page-head, .cta-band { background: #fff !important; color: #000 !important; }
  .section--dark h2, .hero h1, .page-head h1, .cta-band h2 { color: #000 !important; }
  .faq details { open: true; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
