/* =========================================================
   Tennis Coach – styles
   Brand colors live in :root. Change them here once.
   ========================================================= */
:root {
  --ink: #0B1410;          /* near-black green */
  --court: #16382A;        /* deep court green */
  --court-2: #1F4D3A;
  --ball: #DFFF4F;         /* optic yellow accent */
  --paper: #F5F4EF;        /* warm off-white */
  --white: #FFFFFF;
  --muted: #5D6B64;
  --line: #E2E1DA;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 20, 16, .08);
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.6rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ball); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ball);
  margin-bottom: 14px;
}
.eyebrow.dark { color: var(--court-2); }
.accent { color: var(--ball); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--ball); outline-offset: 2px;
}
.btn-primary { background: var(--ball); color: var(--ink); }
.btn-primary:hover { background: #ecff86; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--court); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(11, 20, 16, .94);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.82); }
.nav a:not(.btn):hover { color: var(--ball); }
.nav-cta { padding: 10px 20px; font-size: 1rem; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  color: var(--white);
  background: radial-gradient(120% 90% at 85% 20%, var(--court-2) 0%, var(--court) 40%, var(--ink) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; }
.hero.has-photo .hero-overlay { background: linear-gradient(90deg, rgba(11,20,16,.92) 0%, rgba(11,20,16,.65) 45%, rgba(11,20,16,.25) 100%); }
.court-lines { position: absolute; right: -8%; top: 0; height: 100%; width: 70%; color: rgba(255,255,255,.10); transform: perspective(900px) rotateX(38deg) translateY(4%); transform-origin: bottom; }
.hero.has-photo .court-lines { display: none; }
.hero-content { padding: 80px 0; max-width: 1180px; }
.hero-content > * { max-width: 760px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); margin-bottom: 30px; }
.hero-lead strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: rgba(255,255,255,.78); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; aspect-ratio: 9 / 11; border-radius: var(--radius); overflow: hidden; background: var(--court); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--court-2), var(--ink));
  color: rgba(255,255,255,.55); font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.facts { margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .88rem; color: var(--court-2); }
.facts dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Services ---------- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-sub { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); font-size: .97rem; }
.card-icon { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--court-2); letter-spacing: .1em; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 3px solid var(--ball); width: fit-content; }
.card .price { margin-top: auto; padding-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.card-feature { background: var(--ink); color: var(--white); border-color: var(--ink); }
.card-feature p { color: rgba(255,255,255,.75); }
.card-feature .price { color: var(--ball); }
.card-feature .card-icon { color: var(--ball); }

/* ---------- Recruiting ---------- */
.recruiting { background: var(--court); color: var(--white); }
.recruiting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.lead-light { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 30px; }
.deliverables { list-style: none; margin: 0 0 24px; padding: 0; }
.deliverables li { display: grid; gap: 2px; padding: 18px 0 18px 34px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.deliverables li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--ball); }
.deliverables strong { font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; }
.deliverables span { color: rgba(255,255,255,.72); font-size: .97rem; }
.disclaimer { font-size: .88rem; color: rgba(255,255,255,.7); background: rgba(0,0,0,.18); border-left: 3px solid var(--ball); padding: 14px 16px; border-radius: 6px; }

/* ---------- Steps ---------- */
.steps-section { padding: 56px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps strong { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; }
.steps p { color: var(--muted); font-size: .95rem; margin: 2px 0 0; }
.step-num { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--ball); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; color: var(--court-2); }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  font: inherit; font-size: 16px; /* 16px prevents iOS zoom */
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--court-2); background: var(--white); }
textarea { resize: vertical; min-height: 110px; }
.invalid { border-color: #C2410C !important; background: #FFF7F2 !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #B42318; background: #FEF3F2; border-radius: 8px; padding: 10px 14px; font-size: .93rem; }
.form-note { text-align: center; font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

.form-success { text-align: center; padding: 30px 10px; }
.form-success:focus { outline: none; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--ball); color: var(--ink); display: grid; place-items: center; font-size: 2rem; font-weight: 700; }
.form-success p { color: var(--muted); max-width: 420px; margin-inline: auto; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.site-footer .brand-name { color: var(--white); }
.footer-tag { margin: 8px 0 0; font-size: .9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { text-decoration: none; font-size: .93rem; }
.footer-nav a:hover { color: var(--ball); }
.copyright { grid-column: 1 / -1; font-size: .83rem; margin: 16px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }

.mobile-cta { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink);
    padding: 8px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { margin-top: 18px; padding: 14px; }

  .about-grid, .recruiting-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; aspect-ratio: 4 / 4.4; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }

  .court-lines { width: 130%; right: -45%; opacity: .7; }
  .hero.has-photo .hero-overlay { background: linear-gradient(180deg, rgba(11,20,16,.55) 0%, rgba(11,20,16,.9) 75%); }

  /* sticky booking bar on phones */
  .mobile-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(11,20,16,.95); backdrop-filter: blur(8px);
    transition: transform .2s ease;
  }
  .mobile-cta.hide { transform: translateY(110%); }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .facts { grid-template-columns: 1fr; }
  .hero-content { padding: 56px 0 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Who I Coach ---------- */
.who { background: var(--paper); }
.audience { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.aud-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-decoration: none; box-shadow: var(--shadow);
  border-top: 4px solid var(--ball);
  transition: transform .15s ease, border-color .15s ease;
}
.aud-card:hover { transform: translateY(-2px); border-color: var(--court-2); border-top-color: var(--ball); }
.aud-card h3 { font-size: 1.5rem; margin-bottom: .35em; }
.aud-card p { color: var(--muted); font-size: .94rem; }
.aud-tag { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--court-2); margin-bottom: 10px; }
.aud-link { margin-top: auto; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.aud-card:hover .aud-link { color: var(--court-2); }

.approach {
  margin-top: 48px; background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 4vw, 56px); align-items: start;
}
.approach h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.approach-intro p:last-child { color: rgba(255,255,255,.75); margin: 0; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.pillars li { display: grid; gap: 2px; padding: 14px 0 14px 26px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.pillars li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); }
.pillars strong { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.pillars span { color: rgba(255,255,255,.7); font-size: .93rem; }

@media (max-width: 1100px) { .audience { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .approach { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .audience { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
.hero-content h1 { max-width: 1000px; }
.aud-link { white-space: nowrap; }
.brand-name { white-space: nowrap; }
@media (max-width: 420px) { .site-header .brand-name { font-size: 1.2rem; } }
@media (max-width: 340px) { .site-header .brand-name { font-size: 1.05rem; letter-spacing: .02em; } .header-inner { gap: 8px; } }

/* ---------- About copy ---------- */
.about-title { font-size: clamp(2rem, 3.6vw, 3rem); }
.about-copy p { color: var(--muted); max-width: 62ch; }
.about-copy .about-lead { color: var(--ink); font-size: 1.08rem; }
.facts abbr { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
.facts .sep { color: var(--line); margin: 0 4px; }
.facts .cred { white-space: nowrap; }
@media (max-width: 560px) { .facts .sep { display: none; } .facts .cred { display: block; } }

/* ---------- Brand logo & social ---------- */
.brand-logo {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 2px rgba(223,255,79,.35);
}
.brand-logo img { width: 38px; height: 38px; }
.footer-founder { margin: 10px 0 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-founder + .footer-tag { margin-top: 2px; }
.footer-nav { align-items: center; }
.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: var(--white); }
.social:hover { color: var(--ink) !important; background: var(--ball); border-color: var(--ball); }
.ig-link { display: inline-flex; align-items: center; gap: 8px; }
.ig-link svg { color: var(--court-2); }
@media (max-width: 420px) { .brand-logo { width: 40px; height: 40px; } .brand-logo img { width: 33px; height: 33px; } }
.site-header .brand-logo { width: 52px; height: 52px; }
.site-header .brand-logo img { width: 44px; height: 44px; }
@media (max-width: 420px) { .site-header .brand-logo { width: 42px; height: 42px; } .site-header .brand-logo img { width: 35px; height: 35px; } }
@media (max-width: 860px) { .about-photo { margin-inline: auto; width: 100%; } }
@media (min-width: 641px) and (max-width: 1100px) {
  .audience { grid-template-columns: repeat(6, 1fr); }
  .aud-card { grid-column: span 2; }
  .aud-card:nth-child(n+4) { grid-column: span 3; }
}
