/* ==========================================================
   CapyTennis — shared styles
   Brand tokens below come from the CapyTennis concept board.
   Navy + Tennis Green lead; Sky Blue + Orange are accents.
   ========================================================== */
:root {
  --navy: #0F3879;
  --navy-deep: #0a2856;
  --green: #6BCB47;      /* approved logo Tennis Green */
  --green-dark: #58b536;      /* hover state */
  --sky: #3AA6F0;
  --orange: #F07F25;
  --green-text: #3F9A22;
  --sand: #F4F2E9;
  --white: #ffffff;

  --red-stage: #d9463b;
  --orange-stage: #f07f25;
  --green-stage: #4a9b4e;
  --yellow-stage: #e3d33a;

  --bg: var(--white);
  --ink: #132238;
  --muted: #4f5d70;
  --line: #e4e2d6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 56, 121, .08);
  --max: 1160px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17.5px; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--sky); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--sand); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: .9rem;
  padding: 5px 12px; border-radius: 999px; background: rgba(107, 203, 71, .25);
}
.eyebrow--dark { background: rgba(107, 203, 71, .18); color: var(--green); }
.lead { font-size: 1.17rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 740px; margin-bottom: 48px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.fill { background: #fff3b0; color: var(--ink); border-radius: 4px; padding: 0 4px; }

/* Green "brush" highlight used on key words (accessible alternative to green text) */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.08em; right: -.1em; bottom: .06em; height: .42em; z-index: -1;
  background: var(--green); border-radius: .3em .1em .35em .15em; transform: rotate(-1.5deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 15px 28px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: var(--navy); box-shadow: 0 6px 18px rgba(107,203,71,.35); }
.btn--primary:hover { background: var(--green-dark); color: var(--navy); }
.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Header / logo ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-word { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.logo-word span { color: var(--green); }
.logo-tag { display: block; font-family: var(--font-head); font-size: .56rem; font-weight: 600; letter-spacing: .32em; color: var(--navy); margin-top: 4px; }
.logo-img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem; }
.nav-links a:hover { color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--green); }
.nav-links .btn { padding: 11px 22px; font-size: .95rem; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 86px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; width: 100%; }
}

/* ---------- Asset slots (placeholders until brand files arrive) ----------
   <div class="asset-slot" data-src="images/brand/capy-hero.png"> ... label ... </div>
   If the file exists, main.js swaps the placeholder for the real image automatically. */
.asset-slot {
  display: grid; place-items: center; text-align: center; padding: 14px;
  border: 2px dashed rgba(15,56,121,.35); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(107,203,71,.10) 0 14px, rgba(255,255,255,.5) 14px 28px);
  color: var(--navy); font-family: var(--font-head); font-size: .78rem; font-weight: 600; line-height: 1.35;
}
.asset-slot small { display: block; font-family: var(--font-body); font-weight: 600; opacity: .7; font-size: .72rem; margin-top: 4px; }
.asset-slot.loaded { border: 0; background: none; padding: 0; }
.asset-slot.loaded img { width: 100%; height: 100%; object-fit: contain; }
.asset-slot--dark { border-color: rgba(255,255,255,.45); color: #fff; background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 14px, rgba(255,255,255,.02) 14px 28px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sand); padding: 72px 0 0; }
.hero::before { /* green swoosh */
  content: ""; position: absolute; right: -8%; top: 8%; width: 70%; height: 80%;
  border-radius: 50%; border: 22px solid var(--green); border-color: var(--green) transparent transparent transparent;
  transform: rotate(-14deg); opacity: .5; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 88px; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { color: #33445c; font-size: 1.25rem; max-width: 560px; }
.hero-media { position: relative; align-self: stretch; min-height: 520px; }
.hero-photo {
  position: absolute; inset: 0 0 0 8%; border-radius: 28px 28px 0 0; overflow: hidden; background: #cfd9e6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-capy { position: absolute; left: -4%; bottom: 24px; width: 42%; aspect-ratio: 1 / 1.1; z-index: 2; background-color: rgba(255,255,255,.88); }
.hero-tags { position: absolute; right: 18px; top: 22px; z-index: 2; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.hero-tags span { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; transform: rotate(-4deg); }
.hero-tags span:nth-child(2) { background: var(--green); color: var(--navy); transform: rotate(2deg); }
.hero-tags span:nth-child(3) { background: var(--sky); color: #06244f; transform: rotate(-2deg); }
.hero-tags span:nth-child(4) { background: var(--orange); color: #3a1600; transform: rotate(3deg); }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero::before { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { min-height: 380px; }
  .hero-photo { inset: 0; border-radius: 24px 24px 0 0; }
  .hero-capy { left: 12px; bottom: 12px; width: 38%; }
}

/* Value bar under hero (from concept board) */
.values { background: #fff; border-bottom: 1px solid var(--line); }
.values ul { list-style: none; margin: 0 auto; padding: 26px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.values li { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.values svg { flex: none; width: 42px; height: 42px; }
@media (max-width: 900px) { .values ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values ul { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #d9e4f3; padding: 76px 0 70px; }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; border: 20px solid var(--green); opacity: .35; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.page-hero .lead { color: #c8d6ea; }
.page-hero .eyebrow { background: rgba(107,203,71,.18); color: var(--green); }
.page-hero .container { position: relative; z-index: 1; }

/* ---------- Photos ---------- */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #d6dfe9; box-shadow: var(--shadow); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo .capy-badge { position: absolute; right: 12px; bottom: 12px; width: 30%; aspect-ratio: 1; background-color: rgba(255,255,255,.9); }
.photo-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); }
.trust ul { list-style: none; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.trust li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: #fff; font-size: .9rem; }
.trust li::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--green); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--navy); }
.card .card-link:hover { color: var(--sky); }
.tag { align-self: flex-start; font-family: var(--font-head); font-size: .74rem; font-weight: 600; background: var(--sand); color: var(--navy); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px; }
.tag--soon { background: #fff0e5; color: #9a3f00; }

/* Program cards with brand icons */
.program { text-align: left; }
.program .p-icon { width: 60px; height: 60px; margin-bottom: 16px; }
.program h3 { font-size: 1.3rem; margin-bottom: 4px; }
.program h3 small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.program--schools { border-top: 6px solid var(--green); }
.program--camps { border-top: 6px solid var(--orange); }
.program--clinics { border-top: 6px solid var(--sky); }
.program--academy { border-top: 6px solid var(--navy); }
.program--photo { padding: 0; overflow: hidden; }
.program--photo .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.program--photo .program-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Play. Rally. Grow. ---------- */
.prg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prg-step { border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; }
.prg-step h3 { font-size: 2.1rem; font-weight: 800; font-style: italic; letter-spacing: -.02em; margin-bottom: 8px; color: inherit; }
.prg-step p { margin: 0; font-size: 1.02rem; }
.prg-step ul { margin: 14px 0 0; padding-left: 18px; font-size: .95rem; }
.prg-step--play { background: var(--navy); color: #fff; }
.prg-step--rally { background: var(--green); color: var(--navy); }
.prg-step--grow { background: var(--sky); color: #06244f; }
@media (max-width: 860px) { .prg { grid-template-columns: 1fr; } }

.principles { counter-reset: p; }
.principle { position: relative; padding-left: 58px; }
.principle::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: -2px; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.principle p { color: var(--muted); margin: 0; }

/* ---------- Pathway ---------- */
.pathway { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stage { padding: 28px 24px; color: #fff; }
.stage h3 { color: inherit; margin-bottom: 4px; }
.stage .age { font-weight: 700; display: block; margin-bottom: 12px; }
.stage ul { margin: 0; padding-left: 18px; font-size: .93rem; line-height: 1.55; }
.stage--red { background: var(--red-stage); }
.stage--orange { background: var(--orange-stage); color: #2b1100; }
.stage--green { background: var(--green-stage); }
.stage--yellow { background: var(--yellow-stage); color: var(--navy); }
@media (max-width: 900px) { .pathway { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pathway { grid-template-columns: 1fr; } }
.note { font-size: .9rem; color: var(--muted); margin-top: 16px; }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split--reverse > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 11px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230F3879' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: "Step " counter(s); display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); background: var(--green); border-radius: 999px; padding: 3px 12px; width: max-content; margin-bottom: 12px; font-size: .85rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border-radius: var(--radius); padding: 28px; border-left: 6px solid var(--green); box-shadow: var(--shadow); margin: 0; }
.quote p { font-size: 1.05rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--muted); font-size: .9rem; }

/* ---------- Pricing ---------- */
.price { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 6px 0 4px; }
.price small { font-size: .92rem; font-weight: 500; color: var(--muted); }
.card--feature { border: 2px solid var(--green); }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Safety panel ---------- */
.safety { background: var(--navy); color: #d3dff0; }
.safety h2, .safety h3 { color: #fff; }
.safety .lead { color: #bccce3; }
.badge-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.badge-card p { color: #bccce3; margin: 0; font-size: .96rem; }
.badge-card a { color: var(--green); }
.badge { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin-bottom: 14px; color: var(--navy); }
.badge svg { width: 27px; height: 27px; }
.badge--green { background: var(--green); }
.badge--sky { background: var(--sky); }
.badge--orange { background: var(--orange); }
.badge--white { background: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); padding: 56px 0; overflow: hidden; }
.cta-band .inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--navy); font-weight: 600; }
.cta-capy { width: 130px; height: 130px; }
@media (max-width: 760px) { .cta-band .inner { grid-template-columns: 1fr; text-align: left; } .cta-capy { width: 110px; height: 110px; } }

/* ---------- Forms ---------- */
.form { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d5d3c6; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(59,167,244,.25); }
.field textarea { min-height: 120px; resize: vertical; }
.hidden { display: none; }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { font: inherit; font-family: var(--font-head); font-weight: 600; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Credentials ---------- */
.creds { display: grid; gap: 14px; }
.cred { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.cred strong { display: block; color: var(--navy); font-family: var(--font-head); }
.cred span { color: var(--muted); font-size: .93rem; }
.cred .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--green); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9bad3; padding: 60px 0 28px; font-size: .95rem; }
.site-footer a { color: #e2eaf6; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-tag { color: #cfdcef; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.pathway--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .pathway--3 { grid-template-columns: 1fr; } }
.capy-feature { aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.thanks-capy { width: 170px; height: 170px; margin: 0 auto 20px; }

/* ---------- Banner hero (photo right, copy left, from hero concept) ---------- */
.hero--banner { padding: 0; min-height: 620px; display: flex; align-items: center; background: #fbfaf5; }
.hero--banner::before { display: none; }
.hero--banner .hero-grid { grid-template-columns: 1fr; position: relative; z-index: 2; }
.hero--banner .hero-copy { max-width: 540px; padding: 64px 0 56px; }
.hero--banner h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero--banner .hero-photo { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 56%; border-radius: 0; background: #dfe8f1; }
.hero--banner .hero-photo img { object-position: 20% center; }
.hero--banner .hero-photo::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, #fbfaf5 0%, rgba(251,250,245,.85) 14%, rgba(251,250,245,0) 38%); }
.hero-programs { display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin-top: 44px; background: rgba(255,255,255,.92); border-radius: 18px; box-shadow: var(--shadow); width: max-content; }
.hero-programs span { white-space: nowrap; }
.hero-programs a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; text-decoration: none; color: var(--muted); font-size: .78rem; line-height: 1.25; border-left: 1px solid var(--line); }
.hero-programs a:first-child { border-left: 0; }
.hero-programs a:hover strong { color: var(--sky); }
.hero-programs .p-icon { width: 38px; height: 38px; margin: 0; flex: none; }
.hero-programs strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
@media (max-width: 1100px) { .hero--banner .hero-photo { width: 50%; } }
@media (max-width: 900px) {
  .hero--banner { flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .hero--banner .hero-photo { position: relative; width: 100%; height: 340px; }
  .hero--banner .hero-photo img { object-position: right center; }
  .hero--banner .hero-photo::before { background: linear-gradient(0deg, rgba(251,250,245,.0) 70%, rgba(251,250,245,0)); }
  .hero--banner .hero-copy { padding: 36px 0 40px; }
  .hero-programs { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .hero-programs span { white-space: normal; }
  .hero-programs a { padding: 14px 8px; flex-direction: column; text-align: center; gap: 6px; font-size: .72rem; }
}

/* ---------- Capy mascot images ---------- */
.capy img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(15,56,121,.18)); }
.photo .capy.capy-badge { position: absolute; right: 10px; bottom: 6px; width: 30%; aspect-ratio: auto; background: none; }
.cta-band .capy.cta-capy { width: 130px; height: 150px; }
.capy.thanks-capy { width: 180px; height: 220px; margin: 0 auto 16px; }
.capy.capy-feature { max-width: 300px; aspect-ratio: auto; }
.section-head--capy { position: relative; max-width: none; padding-right: 220px; }
.section-head--capy > *:not(.capy) { max-width: 740px; }
.head-capy { position: absolute; right: 0; bottom: -20px; width: 180px; }
@media (max-width: 760px) { .section-head--capy { padding-right: 0; } .head-capy { position: static; width: 130px; margin-bottom: 12px; } }

/* ---------- Hero accents: green "You." with swoosh + burst (from banner concept) ---------- */
.you { position: relative; display: inline-block; color: #4A9A1A; white-space: nowrap; }
.you-swoosh { position: absolute; left: -2%; right: -8%; width: 110%; bottom: -.16em; height: .26em; }
.you-burst { position: absolute; right: -.62em; top: -.42em; width: .6em; height: .6em; transform: rotate(-8deg); }
.logo > span { position: relative; }
.logo-burst { position: absolute; width: 22px; height: 22px; left: -24px; top: -10px; }
.logo { padding-left: 18px; }
.hero--banner { min-height: 680px; }
.hero--banner .hero-photo { width: 62%; }
.hero--banner .hero-photo img { object-position: 30% center; }
.hero--banner .hero-photo::before { background: linear-gradient(90deg, #fbfaf5 0%, rgba(251,250,245,.9) 12%, rgba(251,250,245,0) 34%); }
@media (max-width: 1100px) { .hero--banner .hero-photo { width: 54%; } }
@media (max-width: 900px) {
  .hero--banner .hero-photo { width: 100%; height: 360px; }
  .hero--banner .hero-photo img { object-position: 60% center; }
  .you-burst { right: -.55em; }
}
/* Capy crew hero fit: keep all three characters clear of the text */
.hero--banner .hero-copy { max-width: 480px; }
.hero--banner h1 { font-size: clamp(2.6rem, 4.9vw, 4.1rem); }
.hero--banner .lead { max-width: 440px; font-size: 1.15rem; }
.hero--banner .hero-photo { width: 60%; }
.hero--banner .hero-photo img { object-position: 0% center; }
.hero--banner .hero-photo::before { background: linear-gradient(90deg, #fbfaf5 0%, rgba(251,250,245,0) 13%); }
@media (max-width: 1100px) { .hero--banner .hero-photo { width: 52%; } .hero--banner .hero-photo img { object-position: 8% center; } }
@media (max-width: 900px) { .hero--banner .hero-photo { width: 100%; } .hero--banner .hero-photo img { object-position: 45% center; } .hero--banner .hero-photo::before { background: none; } }

/* ---------- Logo with Capy icon ---------- */
.logo { padding-left: 0; gap: 10px; }
.logo-icon { width: 46px; height: 46px; flex: none; }
.logo-stack { display: flex; flex-direction: column; }
.site-footer .logo-icon { width: 52px; height: 52px; }
/* ---------- Capy pointer cameo next to a section heading ---------- */
.pointer-head { display: flex; align-items: flex-end; gap: 18px; max-width: 900px; }
.pointer-capy { flex: none; width: 130px; margin-bottom: 4px; }
@media (max-width: 640px) { .pointer-head { flex-direction: column; align-items: flex-start; gap: 4px; } .pointer-capy { width: 84px; } }

/* ---------- Official logo files ---------- */
.logo-main { height: 60px; width: auto; display: block; }
@media (max-width: 600px) { .logo-main { height: 46px; } }
.footer-badge { display: inline-block; background: #fff; border-radius: 50%; padding: 6px; line-height: 0; }
.footer-badge img { width: 104px; height: auto; }
.footer-tag { font-family: var(--font-head); font-weight: 700; letter-spacing: .3em; color: #fff; font-size: .78rem; margin: 14px 0 0; }

/* Temporary: labels on sample (AI) photos — remove when real photos are added */
.photo-tag { position: absolute; left: 10px; top: 10px; z-index: 3; max-width: calc(100% - 20px); background: rgba(15,56,121,.88); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .72rem; line-height: 1.35; padding: 6px 10px; border-radius: 8px; }
.hero-photo .photo-tag { left: auto; right: 14px; top: auto; bottom: 14px; max-width: 320px; }

/* ---------- Hero headline v2 ---------- */
.hero-title { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.9rem, 5.6vw, 4.6rem); margin-bottom: .45em; }
.hero-title .ht-1 { display: block; font-size: .62em; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; color: var(--green-text); margin-bottom: .12em; }
.hero-title .ht-2 { display: block; }
.hero-title .you { color: #3f9a22; position: relative; display: inline-block; padding-bottom: .08em; }
.hero-title .you-swoosh { position: absolute; left: -6%; width: 116%; bottom: -.3em; height: .42em; right: auto; }
.you-burst { display: none; }
.hero-title { margin-bottom: .6em; }

/* ---------- Programs page v2 ---------- */
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; max-width: 820px; }
.choice { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--muted); font-size: .85rem; line-height: 1.3; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .15s; }
.choice:hover { transform: translateY(-2px); }
.choice strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.choice .p-icon { width: 42px; height: 42px; margin: 0; flex: none; }
@media (max-width: 700px) { .choice-row { grid-template-columns: 1fr; } }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.why-grid svg { width: 40px; height: 40px; display: block; margin-bottom: 10px; }
.why-grid strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin-bottom: 4px; }
.why-grid span { color: var(--muted); font-size: .93rem; }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }
.capy-way { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.capy-way li { background: #fff; border-radius: 14px; padding: 14px 16px; border-left: 5px solid var(--green); }
.capy-way li:nth-child(2) { border-color: var(--sky); } .capy-way li:nth-child(3) { border-color: var(--orange); } .capy-way li:nth-child(4) { border-color: var(--navy); }
.capy-way strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.capy-way span { color: var(--muted); font-size: .93rem; }
.parent-tip { background: #fff; border: 1px dashed var(--green); border-radius: 14px; padding: 14px 18px; font-size: .97rem; }
.cta-band .inner .btn-row { flex-wrap: wrap; }

.text-link-light { color: #fff; font-family: var(--font-head); font-weight: 600; align-self: center; text-decoration: underline; text-underline-offset: 4px; }
.text-link-light:hover { color: var(--green); }

.soon-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.soon-band .p-icon { width: 64px; height: 64px; margin: 0; }
.soon-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 6px 0; }
.soon-band p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .soon-band { grid-template-columns: 1fr; } }

.value-chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.value-chips li { font-family: var(--font-head); font-weight: 600; color: var(--navy); background: #fff; border: 2px solid var(--green); border-radius: 999px; padding: 8px 18px; }
.value-chips li:nth-child(3n+2) { border-color: var(--sky); } .value-chips li:nth-child(3n) { border-color: var(--orange); }
.way-path { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.15rem; margin: -6px 0 14px; }
.way-path span { color: var(--green); margin: 0 4px; }

.coach-id { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.coach-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--green), var(--shadow); flex: none; }
.coach-id h2 { margin: 0; }
.photo-fig { margin: 28px 0 0; }
.photo-fig figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 480px) { .coach-avatar { width: 72px; height: 72px; } }

/* hero photo v3: girls on left of photo */
.hero--banner .hero-photo img { object-position: 30% center; }
@media (max-width: 900px) { .hero--banner .hero-photo img { object-position: 25% center; } }

/* Programs hero with tennis ball photo */
.page-hero--ball { background: #0b2a2e url("../images/photos/tennis-ball-court.jpg") right center / cover no-repeat; }
.page-hero--ball::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,56,121,.96) 0%, rgba(15,56,121,.8) 42%, rgba(15,56,121,0) 70%); }
.page-hero--ball::after { display: none; }
@media (max-width: 760px) { .page-hero--ball::before { background: rgba(15,56,121,.88); } }

/* hero v4: red-ball wall */
.hero--banner .hero-photo img { object-position: 55% 85%; }
@media (max-width: 900px) { .hero--banner .hero-photo img { object-position: 62% center; } }

/* hero v5: kids team */
.hero--banner .hero-photo img { object-position: 30% 30%; }
@media (max-width: 900px) { .hero--banner .hero-photo img { object-position: 58% 30%; } }

/* Court diagrams for red/orange/green pathway */
.court-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.court-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: var(--shadow); border-top: 6px solid var(--red-stage); }
.court-card--orange { border-top-color: var(--orange-stage); }
.court-card--green { border-top-color: var(--green-stage); }
.court-svg { width: 100%; height: auto; display: block; background: #f6f8fb; border-radius: 12px; margin-bottom: 16px; }
.court-card h3 { margin-bottom: 2px; }
.court-card .age { display: block; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.court-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .court-grid { grid-template-columns: 1fr; } }

/* Contact hero: photo of coach with young players */
.page-hero--contact { background: var(--navy) url("../images/photos/contact-hero.jpg") right 35% / max(62%, 720px) auto no-repeat; }
.page-hero--contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,56,121,1) 0%, rgba(15,56,121,1) 44%, rgba(15,56,121,.6) 56%, rgba(15,56,121,0) 70%); }
.page-hero--contact::after { display: none; }
.page-hero--contact .container { position: relative; z-index: 1; }
.page-hero--contact .lead { max-width: 560px; }
@media (max-width: 760px) { .page-hero--contact::before { background: rgba(15,56,121,.86); } }

/* ===== Mobile refinements ===== */
.opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.swipe-hint { display: none; }
.sticky-cta { display: none; }
/* Collapsibles: always open on desktop (JS), summary hidden there */
.m-acc > summary, .m-more > summary { list-style: none; }
.m-acc > summary::-webkit-details-marker, .m-more > summary::-webkit-details-marker { display: none; }
@media (min-width: 641px) {
  .m-acc > summary { pointer-events: none; }
  .m-more > summary { display: none; }
}

@media (max-width: 900px) {
  .nav { height: 64px; }
  .logo-main, .logo-img { height: 40px; width: auto; }
  .nav-links { top: 64px; max-height: calc(100dvh - 64px); overflow: auto; box-shadow: 0 0 0 100vmax rgba(15,56,121,.4); }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; }
  .nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; }
  .nav-toggle span { transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(12.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-12.5px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  /* court diagrams: swipeable */
  .swipe-hint { display: block; font-size: .9rem; font-weight: 700; color: var(--muted); margin: -12px 0 12px; }
  .court-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px; }
  .court-grid > * { flex: 0 0 85%; scroll-snap-align: start; }
}

@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,56,121,.12); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .section--tight { padding: 40px 0; }
  .section-head { margin-bottom: 28px; }
  .cta-band { padding: 44px 0; }
  .page-hero { padding: 40px 0 34px; }
  .page-hero .lead { font-size: 1.05rem; }
  /* compact program cards: icon left, text right */
  .card.program:not(.program--photo) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px; align-content: start; }
  .card.program:not(.program--photo) > * { grid-column: 2; }
  .card.program:not(.program--photo) > .p-icon { grid-column: 1; grid-row: 1 / span 5; width: 44px; height: 44px; margin: 0; }
  .card.program:not(.program--photo) > .tag { justify-self: start; margin-bottom: 6px; }
  .program h3 { font-size: 1.15rem; }
  .program h3 small { font-size: .85rem; margin-bottom: 8px; }
  .card.program p { margin-bottom: 8px; }
  /* tap targets */
  .card-link { display: inline-block; padding: 10px 0; }
  .site-footer li a { display: inline-block; padding: 8px 0; }
  /* photos sized for phones */
  .photo, .photo--tall { aspect-ratio: 4 / 3; }
  /* readable small text */
  .cred span, .badge-card p, .photo-note { font-size: .95rem; }
  /* safety accordions */
  .m-acc { padding: 0; }
  .m-acc > summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
  .m-acc > summary .badge { width: 40px; height: 40px; margin: 0; flex: none; }
  .m-acc > summary .badge svg { width: 21px; height: 21px; }
  .m-acc > summary h3 { margin: 0; font-size: 1.05rem; flex: 1; }
  .m-acc > summary::after { content: "+"; font: 700 1.4rem/1 var(--font-head); color: var(--green); }
  .m-acc[open] > summary::after { content: "–"; }
  .m-acc > p { padding: 0 18px 18px; }
  .grid-2:has(> .m-acc) { gap: 10px; }
  /* about: read more */
  .m-more > summary { display: inline-block; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); padding: 10px 0; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
  .m-more[open] > summary { display: none; }
  /* contact */
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #eef2f7; padding: 5px; border-radius: 999px; }
  .tab { border: 0; padding: 12px 8px; background: transparent; }
  .tab[aria-selected="true"] { background: var(--navy); color: #fff; }
  .form { padding: 20px; }
  .form-row { gap: 0 16px; }
  .btn--submit { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
}
@media (max-width: 640px) { .hero--banner .hero-photo { height: 290px; } }
body.menu-open .sticky-cta { transform: translateY(110%); }
@media (max-width: 640px) {
  ul.capy-way { grid-template-columns: 1fr; gap: 10px; }
  .tab-more { display: none; }
}
/* Pathway intro: text beside the red/orange/green ball photo */
.pathway-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.pathway-intro .section-head { margin-bottom: 0; }
.pathway-photo { aspect-ratio: 16 / 10; }
.pathway-photo img { object-position: 35% 60%; }
@media (max-width: 900px) { .pathway-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; } .pathway-photo { aspect-ratio: 16 / 9; } }

/* Schools hero: blurred gym photo behind a navy fade */
.page-hero--schools { background: var(--navy); }
.page-hero--schools::before { content: ""; position: absolute; inset: -12px; background: url("../images/photos/schools-gym-hero.jpg") right 62% / cover no-repeat; filter: blur(2px); }
.page-hero--schools::after { right: 0; bottom: 0; top: 0; left: 0; width: auto; height: auto; border: 0; border-radius: 0; opacity: 1;
  background: linear-gradient(90deg, rgba(15,56,121,.97) 0%, rgba(15,56,121,.9) 38%, rgba(15,56,121,.45) 62%, rgba(15,56,121,.12) 100%); }
@media (max-width: 760px) { .page-hero--schools::after { background: rgba(15,56,121,.84); } }

/* ===== Review panel refinements: one card style, calmer accents ===== */
/* Program cards: no colored top bars (color is reserved for the red/orange/green court stages) */
.program--schools, .program--camps, .program--clinics, .program--academy { border-top: 0; }
.card.program .p-icon { color: var(--navy); }
/* Play. Rally. Grow.: white cards with a green top bar */
.prg-step--play, .prg-step--rally, .prg-step--grow { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--green); }
.prg-step h3 { color: var(--navy); }
.prg-step a { color: var(--navy) !important; }
/* Safety badges: one color */
.safety .badge { background: var(--green); color: var(--navy); }
/* Photos line up with the top of their text */
@media (min-width: 901px) { .split { align-items: start; } .split > .photo { margin-top: 6px; } }
/* FAQ: bigger tap targets */
.faq summary { min-height: 44px; align-items: center; }
/* Card subtitles */
.program h3 small { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--muted); margin: 4px 0 10px; }
/* Homepage: Meet your coach strip */
.coach-strip { padding: 64px 0; }
.coach-strip-inner { display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center; max-width: 900px; }
.coach-strip-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 5px solid var(--green); box-shadow: var(--shadow); }
.coach-strip h2 { margin-bottom: 10px; }
.coach-strip p { margin: 0 0 10px; }
@media (max-width: 640px) { .coach-strip { padding: 44px 0; } .coach-strip-inner { grid-template-columns: 1fr; gap: 18px; } .coach-strip-photo { width: 112px; height: 112px; } }
/* Programs: one-line camps note */
.soon-line { background: var(--sand); padding: 22px 0; }
.soon-line p { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.soon-line a { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
/* Contact: keep the form in view when switching tabs under the sticky header */
.tabs { scroll-margin-top: 90px; }

/* ===== 5 C's (homepage) and class flow (programs) ===== */
.five-cs-title, .class-flow-title { font-size: 1.15rem; margin: 36px 0 14px; color: var(--navy); }
.five-cs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.five-cs li { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius-sm); padding: 16px; }
.five-cs strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.five-cs span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }
@media (max-width: 900px) { .five-cs { grid-template-columns: repeat(2, 1fr); } .five-cs li:last-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .five-cs { grid-template-columns: 1fr; gap: 8px; } .five-cs li { padding: 12px 14px; border-top: 1px solid var(--line); border-left: 4px solid var(--green); } .five-cs-title { margin-top: 28px; } }
/* Capy Way: one accent color, works with 5 items */
.capy-way li, .capy-way li:nth-child(n) { border-color: var(--green); }
.capy-way li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.class-flow { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: step; }
.class-flow li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; counter-increment: step; }
.class-flow strong { display: block; font-family: var(--font-head); color: var(--navy); }
.class-flow strong::before { content: counter(step) ". "; color: var(--green); }
.class-flow span { color: var(--muted); font-size: .9rem; display: block; line-height: 1.4; }
@media (max-width: 760px) { .class-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .class-flow { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .prg { gap: 10px; } .prg-step { padding: 18px 20px; } .prg-step h3 { font-size: 1.6rem; margin-bottom: 4px; } }
/* Class flow: 2x2 with a short "why it matters" line */
.class-flow { grid-template-columns: 1fr 1fr; gap: 12px; }
.class-flow li { padding: 16px 18px; }
.class-flow strong { font-size: 1.05rem; margin-bottom: 4px; }
.class-flow span { font-size: .93rem; color: var(--ink); }
.class-flow em { display: block; font-style: normal; font-size: .88rem; color: var(--muted); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
@media (max-width: 640px) { .class-flow { grid-template-columns: 1fr; gap: 8px; } }
.class-flow-title { margin-bottom: 4px; }
.class-flow-intro { color: var(--muted); margin: 0 0 14px; }

/* ===== Polish pass (designer + CMO) ===== */
/* Play / Rally / Grow: each word its own brand color (accessible shades) */
.prg-step--play { border-top-color: #F07F25; }
.prg-step--play h3 { color: #D9650F; }
.prg-step--rally h3 { color: var(--green-text); }
.prg-step--grow { border-top-color: #3AA6F0; }
.prg-step--grow h3 { color: #1A7FD0; }
.footer-tag span:nth-child(1) { color: #F07F25; }
.footer-tag span:nth-child(2) { color: #6BCB47; }
.footer-tag span:nth-child(3) { color: #3AA6F0; }
.class-flow strong::before { color: var(--green-text); }
.tag--soon { background: #ffe2cc; border: 1px solid #f5c9a6; }
.page-hero::after { opacity: .6; border-width: 14px; }
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-copy .eyebrow { margin-bottom: 18px; }
@media (max-width: 640px) { .hero-copy .eyebrow { margin-bottom: 14px; font-size: .7rem; } }
.coach-strip-link { display: inline-block; border-radius: 50%; transition: transform .2s; }
.coach-strip-link:hover { transform: scale(1.03); }
.coach-strip .coach-creds { font-size: .9rem; color: var(--muted); font-weight: 600; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.photo-pair .photo-fig { margin: 0; }
.photo-pair .photo { aspect-ratio: 4 / 3; }
@media (max-width: 480px) { .photo-pair { gap: 10px; } .photo-pair figcaption { font-size: .8rem; } }

/* About hero: real court photo behind a navy fade */
.page-hero--about { background: var(--navy); }
.page-hero--about::before { content: ""; position: absolute; inset: -12px; background: url("../images/photos/about-hero-court.jpg") right 62% / cover no-repeat; filter: blur(1.5px); }
.page-hero--about::after { right: 0; bottom: 0; top: 0; left: 0; width: auto; height: auto; border: 0; border-radius: 0; opacity: 1;
  background: linear-gradient(90deg, rgba(15,56,121,.97) 0%, rgba(15,56,121,.9) 38%, rgba(15,56,121,.4) 64%, rgba(15,56,121,.1) 100%); }
@media (max-width: 760px) { .page-hero--about::after { background: rgba(15,56,121,.84); } }

/* Expandable sections (Programs: 5 C's and class flow) */
.xpand { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 14px; }
.xpand > summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; display: grid; gap: 4px; min-height: 44px; }
.xpand > summary::-webkit-details-marker { display: none; }
.xpand > summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 700 1.6rem/1 var(--font-head); color: var(--green-text); }
.xpand[open] > summary::after { content: "–"; }
.xpand-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.xpand-sub { color: var(--muted); font-size: .92rem; }
.xpand[open] > summary { border-bottom: 1px dashed var(--line); }
.xpand > .capy-way, .xpand > .class-flow { margin: 16px 20px 20px; }
.xpand > .class-flow-intro { margin: 14px 20px 0; }
.xpand .capy-way li, .xpand .class-flow li { background: var(--sand); }
.photo-fig--wide .photo { aspect-ratio: 16 / 9; }

/* Photo headers: stronger fade behind the text, brighter text (Schools, About, Contact) */
.page-hero--schools::after, .page-hero--about::after {
  background: linear-gradient(90deg, rgba(10,40,92,.98) 0%, rgba(10,40,92,.95) 42%, rgba(10,40,92,.6) 62%, rgba(10,40,92,.2) 100%); }
.page-hero--schools .lead, .page-hero--about .lead, .page-hero--contact .lead { color: #eef3fa; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.page-hero--schools h1, .page-hero--about h1, .page-hero--contact h1 { text-shadow: 0 2px 10px rgba(0,0,0,.25); }
@media (max-width: 760px) { .page-hero--schools::after, .page-hero--about::after { background: rgba(10,40,92,.9); } }
.page-hero--schools::after, .page-hero--about::after {
  background: linear-gradient(90deg, rgba(10,40,92,.97) 0%, rgba(10,40,92,.93) 50%, rgba(10,40,92,.78) 68%, rgba(10,40,92,.4) 85%, rgba(10,40,92,.2) 100%); }
.page-hero--schools::before { filter: blur(2px) brightness(.85); }
.page-hero--schools::after, .page-hero--about::after { opacity: 1; border: 0; }
/* Thank-you page: duotone art photo */
.thanks-art { width: 220px; aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%; overflow: hidden; border: 6px solid var(--green); box-shadow: var(--shadow); }
.thanks-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.photo-fig--top { margin: 0; }
.photo-fig figcaption strong { color: var(--navy); }

/* Contact hero: full-width photo with a long, soft fade */
.page-hero--contact { background: var(--navy); }
.page-hero--contact::after { display: block; content: ""; position: absolute; inset: 0; z-index: 0; border: 0; border-radius: 0; width: auto; height: auto; opacity: 1;
  background: url("../images/photos/contact-hero.jpg") right 12% / cover no-repeat; }
.page-hero--contact::before { z-index: 1;
  background: linear-gradient(90deg, rgba(10,40,92,.98) 0%, rgba(10,40,92,.95) 30%, rgba(10,40,92,.85) 42%, rgba(10,40,92,.6) 54%, rgba(10,40,92,.3) 68%, rgba(10,40,92,.08) 85%, rgba(10,40,92,0) 100%); }
.page-hero--contact .container { z-index: 2; }
@media (max-width: 760px) { .page-hero--contact::before { background: rgba(10,40,92,.86); } }
/* Contact hero v3: show both players, soft-masked edge, same navy tone */
.page-hero--contact::after { left: auto; right: 0; width: max(64%, 760px);
  background: url("../images/photos/contact-hero.jpg") right 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 48%); }
.page-hero--contact::before {
  background: linear-gradient(90deg, rgba(10,40,92,.6) 0%, rgba(10,40,92,.55) 40%, rgba(10,40,92,.45) 55%, rgba(10,40,92,.25) 72%, rgba(10,40,92,.08) 100%); }
@media (max-width: 760px) { .page-hero--contact::after { width: 100%; -webkit-mask-image: none; mask-image: none; } .page-hero--contact::before { background: rgba(10,40,92,.86); } }
/* Two stacked photos in a split column */
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: start; }
.photo-stack .photo { aspect-ratio: 4 / 3; }
.photo-stack { grid-template-columns: 1fr; gap: 14px; }
.photo-stack .photo { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .photo-stack { grid-template-columns: 1fr 1fr; gap: 10px; } .photo-stack .photo { aspect-ratio: 4 / 3; } }
/* Homepage closing band: blurred real lesson photo under brand green */
.cta-band--photo { position: relative; background: #3f9a22 url("../images/photos/lesson-bg-blur.jpg") center 45% / cover no-repeat; }
.cta-band--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(107,203,71,.94) 0%, rgba(107,203,71,.86) 45%, rgba(107,203,71,.7) 100%); }
.cta-band--photo .inner { position: relative; z-index: 1; }
.cta-band--photo { background-position: right 40%; }
.cta-band--photo::before { background: linear-gradient(90deg, rgba(107,203,71,.95) 0%, rgba(107,203,71,.9) 40%, rgba(107,203,71,.55) 70%, rgba(107,203,71,.3) 100%); }
@media (max-width: 760px) { .cta-band--photo::before { background: rgba(107,203,71,.85); } }
/* Contact: photo + Reach us combined */
.reach-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; background: var(--navy); }
.reach-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.reach-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,92,0) 35%, rgba(10,40,92,.55) 58%, rgba(10,40,92,.95) 78%); }
.reach-panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 26px 26px; color: #e8eef7; }
.reach-panel h3 { color: #fff; margin: 0 0 12px; font-size: 1.35rem; }
.reach-row { margin: 0 0 8px; display: grid; gap: 1px; }
.reach-row span { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.reach-row a { color: #fff; font-weight: 700; text-decoration-color: var(--green); text-underline-offset: 3px; }
.reach-note { margin: 10px 0 0; font-size: .92rem; color: #c8d6ea; }
@media (max-width: 900px) { .reach-card { aspect-ratio: 4 / 3; } .reach-card > img { object-position: center 25%; } }
@media (max-width: 900px) { .reach-card { aspect-ratio: 4 / 5; max-width: 460px; } .reach-card > img { object-position: center 20%; } }

/* ===== Consolidation pass ===== */
/* Closing bands: Schools uses the gym photo */
.cta-band--gym { background-image: url("../images/photos/schools-gym-hero.jpg"); background-position: center 55%; }
/* Lessons: one large group photo + two small (court, private) */
.photo-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: start; }
.photo-trio .photo { aspect-ratio: 4 / 3; }
.photo-trio-main { grid-column: 1 / -1; aspect-ratio: 16 / 10 !important; }
@media (max-width: 900px) { .photo-trio { gap: 8px; } }
.photo-stack { display: none; }
/* Lessons: camps note */
#lessons .note .tag { margin-right: 6px; }
/* About: workshop photo with overlaid caption, credentials in one card */
.reach-card--wide { aspect-ratio: 16 / 10; margin-top: 28px; }
.reach-card--wide::after { background: linear-gradient(180deg, rgba(10,40,92,0) 45%, rgba(10,40,92,.85) 85%); }
.reach-card--wide .reach-panel { padding: 18px 20px; font-size: .95rem; }
.reach-card--wide .reach-row { margin: 0; }
.creds--one { gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 22px; align-self: start; }
.creds--one .cred { border: 0; border-radius: 0; background: transparent; padding: 18px 0; box-shadow: none; }
.creds--one .cred + .cred { border-top: 1px solid var(--line); }
/* Schools: borderless steps */
.steps .step { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* ===== Mobile declutter pass ===== */
/* 5 C's: open on desktop, tap to open on phones */
.cs-acc > summary { display: block; }
.cs-acc-sub { display: none; }
.cs-acc .five-cs-title { margin-bottom: 14px; }
/* tap cards (schools formats + partners) */
.card.program.tap > summary { display: block; }
.card.program.tap > summary .p-icon { display: block; }
/* Meet Capy strip (home) */
.meet-capy-inner { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; max-width: 880px; }
.meet-capy-img { width: 180px; }
.meet-capy-img img { width: 100%; height: auto; }
.meet-capy h2 { margin-bottom: 10px; }
.meet-capy p { margin: 0 0 4px; }
/* Capy's rules (about) */
.capy-rules { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.capy-rules li { display: flex; gap: 12px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.capy-rules strong { font: italic 800 1.25rem/1.2 var(--font-head); min-width: 64px; }
.capy-rules span { color: var(--muted); }
.cr-play strong { color: #D9650F; } .cr-rally strong { color: var(--green-text); } .cr-grow strong { color: #1A7FD0; }
@media (max-width: 640px) {
  .cs-acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 24px; }
  .cs-acc > summary { display: flex; align-items: center; }
  .cs-acc-text { flex: 1; }
  .cs-acc .five-cs-title { margin: 0 0 4px; font-size: 1.05rem; }
  .cs-acc-sub { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }
  .cs-acc .five-cs { padding: 0 14px 14px; }
  .ways .program p { display: none; }
  .ways .program .card-link { padding-top: 4px; }
  .card.program.tap { display: block; padding: 0; }
  .card.program.tap > summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
  .card.program.tap > summary .p-icon { width: 38px; height: 38px; margin: 0; flex: none; }
  .card.program.tap > summary h3 { margin: 0; font-size: 1.05rem; }
  .card.program.tap > p, .card.program.tap > .card-link { margin: 0; padding: 0 18px 14px; }
  .grid:has(> .tap) { gap: 10px; }
  .meet-capy-inner { grid-template-columns: 96px 1fr; gap: 16px; }
  .meet-capy-img { width: 96px; }
  .meet-capy h2 { font-size: 1.3rem; }
  .meet-capy p { font-size: .98rem; }
  .capy-rules strong { font-size: 1.1rem; min-width: 56px; }
}
.card.program.tap > summary h3 { margin-bottom: 8px; }
.meet-capy h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
@media (max-width: 640px) { .card.program.tap > summary h3 { margin-bottom: 0; } .ways .card.program { padding-bottom: 12px; } }

/* ===== Conversion + polish pass ===== */
h1, h2, h3 { text-wrap: balance; }
.card-link { font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--navy); }
.card-link:hover { color: var(--sky); }
.coach-strip + .section { padding-top: 24px; }
.field-hint { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.form .check { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; font-size: .95rem; }
.form .check:last-of-type { margin-bottom: 20px; }
.share-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 28px 24px; margin: 28px auto 18px; box-shadow: var(--shadow); }
.share-box h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 8px; }
.share-box p { color: var(--muted); margin: 0 auto 18px; max-width: 460px; }
.share-btns { justify-content: center; gap: 10px; margin-top: 0; }
.share-btns [hidden] { display: none !important; }
.plan-offer { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 24px 28px; }
.plan-offer h3 { margin: 0 0 6px; color: var(--navy); }
.plan-offer p { margin: 0; color: var(--muted); max-width: 560px; }
.plan-offer .btn { flex: none; }
@media (max-width: 640px) {
  .plan-offer { flex-direction: column; align-items: flex-start; padding: 20px; }
  .plan-offer .btn { width: 100%; justify-content: center; }
  .share-btns .btn { flex: 1 1 calc(50% - 10px); justify-content: center; }
  .share-btns [data-share] { flex-basis: 100%; }
}
@media (max-width: 640px) { .pathway-photo { display: none; } }
@media (min-width: 901px) and (max-width: 1180px) { .hero--banner .hero-photo img { object-position: 4% 30%; } }

/* ===== Coach Marco adult lessons page ===== */
.page-hero--coach::before { background-image: url("../images/photos/tennis-ball-court.jpg"); background-position: right center; }
.coach-photo { aspect-ratio: 1; max-width: 440px; justify-self: center; }
.coach-photo img { object-position: center 20%; }
.coach-title { font-family: var(--font-head); font-weight: 600; color: var(--green-text); margin: -6px 0 14px; }
.who-card h3, .option-card h3 { color: var(--navy); margin-bottom: 6px; }
.who-card { border-top: 4px solid var(--green); }
.option-card { border-top: 4px solid var(--sky); }
.opt-size { display: inline-block; background: #e7f2fc; color: #0F3879; font-weight: 700; font-size: .8rem; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.where-note { margin-top: 28px; background: #f4f1e8; border-left: 5px solid var(--green); border-radius: var(--radius-sm); padding: 18px 22px; }
.where-note h3 { margin: 0 0 4px; color: var(--navy); }
.where-note p { margin: 0; }
.junior-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.junior-note h2 { margin-bottom: 8px; }
.junior-note p { margin: 0; max-width: 620px; }
.adult-callout { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-left: 5px solid var(--sky); border-radius: var(--radius-sm); background: #fff; }
.adult-callout p { margin: 0 0 12px; }
@media (max-width: 760px) { .junior-note { flex-direction: column; align-items: flex-start; } .coach-photo { max-width: 100%; } }
.daytime { background: linear-gradient(180deg, #fff8e8 0%, #fdf3dc 100%); }
.daytime-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.daytime .eyebrow { background: #ffe2b8; color: #8a4a06; }
@media (max-width: 860px) { .daytime-inner { grid-template-columns: 1fr; gap: 24px; } }
.coach-photo { width: 100%; }
.opt-size { align-self: flex-start; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; max-width: 760px; }
.choose-card { display: flex; flex-direction: column; gap: 4px; background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--radius); padding: 20px 22px; border-top: 5px solid var(--green); box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .15s; }
.choose-card + .choose-card { border-top-color: var(--orange); }
.choose-card:hover { transform: translateY(-2px); }
.choose-card strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.choose-card span { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.choose-card em { font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-top: 6px; }
@media (max-width: 600px) { .choose { grid-template-columns: 1fr; gap: 12px; } .choose-card { padding: 16px 18px; } }
.coach-photos { display: grid; gap: 16px; align-content: start; width: 100%; max-width: 440px; justify-self: center; }
.coach-photos .coach-photo { max-width: none; }
.coach-team { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.coach-team img { display: block; width: 100%; height: auto; }
.coach-team figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) { .coach-photos { max-width: 100%; } }
.junior-photos { display: grid; gap: 14px; }
.junior-photos .photo { aspect-ratio: 16 / 9; }
.daytime-inner--solo { grid-template-columns: 1fr; max-width: 760px; }
/* Coach Marco: photo cards and daytime mosaic */
.who-card { padding-top: 0; overflow: hidden; }
.who-img { margin: 0 -28px 16px; aspect-ratio: 16 / 10; overflow: hidden; }
.who-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.who-card:hover .who-img img { transform: scale(1.04); }
.day-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 440px; }
.day-mosaic .dm { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.day-mosaic .dm-tall { grid-row: 1 / span 2; }
.day-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .day-mosaic { height: 340px; } }
@media (max-width: 480px) { .day-mosaic { height: 280px; gap: 8px; } }
.process { list-style: none; counter-reset: step; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; background: #f7f9fc; border-radius: var(--radius-sm); }
.process li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--navy); font: 800 1rem/32px var(--font-head); text-align: center; }
.process strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 4px; }
.process span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; gap: 10px; } }
.opt-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.opt-list li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--sky); border-radius: var(--radius-sm); padding: 12px 16px; }
.opt-list strong { font-family: var(--font-head); color: var(--navy); }
.opt-list .opt-size { justify-self: start; margin: 0; }
.opt-list p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.45; }
@media (max-width: 700px) { .opt-list { grid-template-columns: 1fr; gap: 8px; } }
/* Coach Marco: tappable options + mobile tightening */
.opt-list li { padding: 0; }
.opt-list li a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 10px; padding: 12px 16px; text-decoration: none; color: inherit; border-radius: var(--radius-sm); }
.opt-list li a:hover { background: #f3f8fd; }
.opt-list li a p { grid-column: 1 / -1; }
.opt-list li a em { font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .9rem; grid-column: 3; grid-row: 1; }
@media (max-width: 640px) {
  .coach-photos { grid-template-columns: 1.15fr 1fr; gap: 10px; }
  .coach-photos .coach-photo { aspect-ratio: 1; }
  .coach-team { display: flex; flex-direction: column; }
  .coach-team img { flex: 1; object-fit: cover; min-height: 0; }
  .coach-team figcaption { font-size: .72rem; padding: 6px 8px; }
  .junior-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .junior-photos .photo { aspect-ratio: 1; }
  .who-card { flex-direction: row; align-items: stretch; padding: 0; border-top: 0; border-left: 4px solid var(--green); }
  .who-img { margin: 0; flex: 0 0 34%; aspect-ratio: auto; }
  .who-card h3 { margin: 12px 14px 4px; font-size: 1.02rem; }
  .who-card p { margin: 0 14px 12px; font-size: .9rem; line-height: 1.45; }
  .who-card > div:not(.who-img) { display: block; }
  .grid-3:has(.who-card) { gap: 10px; }
  .process li { padding: 14px 14px 14px 56px; }
  .process li::before { left: 14px; top: 14px; }
  .daytime .photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .who-text h3 { margin: 12px 14px 4px; } }
.opt-list li a em { justify-self: end; white-space: nowrap; }
.opt-list .opt-size { white-space: nowrap; }
.opt-list li { display: block; }
/* Coach Marco header wordmark */
.coach-mark { display: flex; flex-direction: column; line-height: 1.05; text-decoration: none; }
.coach-mark .cm-name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: var(--navy); letter-spacing: -.02em; }
.coach-mark .cm-name::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .25em; border-radius: 50%; background: #c8e63c; box-shadow: inset -2px -2px 0 rgba(0,0,0,.12); vertical-align: .1em; }
.coach-mark .cm-sub { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); margin-top: 3px; }
@media (max-width: 640px) { .coach-mark .cm-name { font-size: 1.3rem; } .coach-mark .cm-sub { font-size: .64rem; } }
/* Rates block */
.rates { margin-top: 28px; }
.rates h3 { color: var(--navy); margin-bottom: 12px; }
.opt-list li a em { color: var(--green-text); }
.rates-note { margin: 12px 0 0; color: var(--muted); font-size: .95rem; }
.rates-note strong { color: var(--navy); }
/* Daytime times */
.time-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.time-chips span { background: #fff; border: 1px solid #f1d39b; color: #8a4a06; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 5px 12px; }
.day-meta { font-weight: 700; color: var(--navy); margin: 0 0 12px; }
section[id], .rates, #ask { scroll-margin-top: 76px; }
