/* ========================================================================
   Player-Led Teams — shared stylesheet
   Fonts: Plus Jakarta Sans (headings), DM Sans (body) — self-hosted variable
   ===================================================================== */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans.woff2') format('woff2');
}

:root {
  --green:        #173F35;   /* deep forest — primary button */
  --green-2:      #1e5a4a;   /* hover */
  --green-card:   #24463c;   /* filled card green */
  --green-deep:   #0f2b24;
  --ink:          #0c0f0e;   /* near-black hero */
  --navy:         #22304a;   /* section headings (matches original) */
  --slate:        #67768e;   /* body text */
  --heading:      #22304a;   /* headings on light */
  --line:         #d9dfe8;   /* card borders */
  --bg:           #ffffff;
  --bg-alt:       #eef1f7;   /* soft lavender section */
  --gold:         #c9a24b;
  --white:        #ffffff;
  --maxw:         1180px;
  --radius:       6px;
  --pill:         50px;
  font-synthesis: none;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  color: var(--heading);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
}
.eyebrow.on-dark { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 17px 40px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(23,63,53,.6);
}
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 19px 46px; font-size: 1.08rem; }

/* ========================================================================
   Header / nav
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,15,14,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav .logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 12px 26px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================================================
   Hero — text left, football player photo right (black fill left)
   ===================================================================== */
.hero {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('/assets/img/bg-1.webp');
  background-size: cover;
  background-position: right center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.9) 28%, rgba(0,0,0,.45) 55%, rgba(0,0,0,0) 85%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-text { max-width: 560px; }
.hero .eyebrow { margin-bottom: 1.1rem; display: inline-block; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}
.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.85);
  max-width: 500px;
  margin-bottom: 2.2rem;
  line-height: 1.5;
}
.hero .lede strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ========================================================================
   Section scaffolding
   ===================================================================== */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 900px; margin: 0 auto clamp(44px, 6vw, 68px); text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; display: inline-block; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-head p { font-size: 1.12rem; color: var(--slate); }

.section-head-left { text-align: left; max-width: none; }

/* ---------- Value grid (2-col checkerboard, accent-bar cards) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  max-width: 1060px;
  margin: 0 auto;
}
.value-card {
  position: relative;
  padding: 30px 34px 30px 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.value-card h3 { font-size: 1.32rem; margin-bottom: 12px; font-weight: 700; line-height: 1.2; }
.value-card p { font-size: 1rem; }
/* white variant */
.value-card.card-white {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
}
.value-card.card-white h3 { color: var(--navy); }
.value-card.card-white p { color: var(--slate); }
/* green filled variant */
.value-card.card-green {
  background: var(--green-card);
  border-left: 4px solid #7ec8a9;
  color: #fff;
}
.value-card.card-green h3 { color: #fff; }
.value-card.card-green p { color: rgba(255,255,255,.86); }

/* ========================================================================
   Testimonials — light slider with arrows + dots
   ===================================================================== */
.testimonials { background: var(--bg-alt); }
.testimonials .section-head h2 { color: var(--navy); }
.carousel { position: relative; max-width: 860px; margin: 0 auto; padding: 0 56px; }
.carousel-track { position: relative; min-height: 220px; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; visibility: visible; position: relative; }
.slide .quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.slide .quote::before { content: "\201C"; color: var(--green); }
.slide .quote::after { content: "\201D"; color: var(--green); }
.slide .who { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.slide .who span { display: block; font-weight: 400; color: var(--slate); font-size: 0.92rem; margin-top: 2px; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer;
  color: var(--navy); transition: background .15s, border-color .15s, color .15s;
  z-index: 3;
}
.carousel-arrow:hover { background: var(--green); color: #fff; border-color: var(--green); }
.carousel-arrow svg { width: 18px; height: 18px; }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

.dots { display: flex; gap: 10px; justify-content: center; margin-top: 2.2rem; }
.dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: #c2cad9;
  transition: background .2s, transform .2s;
}
.dots button.active { background: var(--green); transform: scale(1.25); }

/* ========================================================================
   Coach — Makes the Difference (3 cols, photos)
   ===================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.pillar .p-photo {
  margin-bottom: 22px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(34,48,74,.5);
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
}
.pillar .p-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillar h3 { font-size: 1.45rem; margin-bottom: 12px; color: var(--navy); }
.pillar p { color: var(--slate); font-size: 1.02rem; }

/* ========================================================================
   Journey — text left, single large headshot right
   ===================================================================== */
.journey { background: var(--bg-alt); }
.journey-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.journey-copy .eyebrow { margin-bottom: 1rem; display: inline-block; }
.journey-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--navy); margin-bottom: 1.4rem; }
.journey-copy p { margin-bottom: 1.1rem; font-size: 1.06rem; }
.journey-photo img {
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 28px 56px -30px rgba(34,48,74,.55);
}

/* ========================================================================
   Contact form — plain vertical form over faded court photo
   ===================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)), url('/assets/img/bg-2.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.contact .wrap { position: relative; z-index: 1; }
.contact-head { max-width: 620px; margin: 0 auto clamp(28px, 4vw, 40px); }
.contact-head h2 {
  color: var(--green);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  border-left: 4px solid var(--green);
  padding-left: 1rem;
  margin-bottom: 0.6rem;
}
.contact-head p { color: var(--slate); font-size: 1.1rem; padding-left: calc(1rem + 4px); }

.lead-form {
  max-width: 620px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1.15rem;
}
.lead-form label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.lead-form .req { color: #b23b3b; }
.lead-form input {
  font-family: inherit; font-size: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid #cfd6e2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--heading);
  transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23,63,53,.1);
}
.lead-form .form-error { color: #b23b3b; font-size: 0.88rem; min-height: 1.1rem; }
.lead-form button { margin-top: 0.4rem; align-self: flex-start; }
.lead-success { max-width: 620px; margin: 0 auto; text-align: center; padding: 2.4rem 1rem; display: none; }
.lead-success .check {
  width: 60px; height: 60px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: #e8f5ee;
  display: grid; place-items: center; color: var(--green); font-size: 1.7rem;
}
.lead-success h3 { color: var(--navy); margin-bottom: 0.5rem; }
.lead-success p { color: var(--slate); }

/* ========================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 48px 0;
  text-align: center;
}
.site-footer img { height: 58px; margin: 0 auto 18px; opacity: .95; }
.site-footer .tagline { color: rgba(255,255,255,.75); font-weight: 500; margin-bottom: 8px; }
.site-footer .fine { font-size: 0.85rem; }

/* ========================================================================
   Selector (root) page
   ===================================================================== */
.selector {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  padding: 48px 24px;
  background:
    radial-gradient(110% 90% at 50% -10%, rgba(30,90,74,.4), transparent 55%),
    linear-gradient(180deg, #0c0f0e 0%, #101713 100%);
  position: relative;
  overflow: hidden;
}
.selector::after {
  content: ""; position: absolute; inset: 0;
  background-image: url('/assets/img/bg-2.webp');
  background-size: cover; background-position: center;
  opacity: .12; mix-blend-mode: luminosity;
}
.selector-inner { position: relative; z-index: 1; max-width: 640px; }
.selector img.brand { height: 104px; margin: 0 auto 32px; }
.selector .eyebrow { color: var(--gold); margin-bottom: 1.2rem; display: inline-block; }
.selector h1 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 1rem;
}
.selector p { color: rgba(255,255,255,.8); font-size: 1.2rem; margin-bottom: 2.6rem; }
.selector-buttons { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.selector-buttons .btn { min-width: 220px; }

/* ========================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; gap: 22px; max-width: 560px; }
  .pillars { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin: 0 auto; }
  .journey-inner { grid-template-columns: 1fr; gap: 36px; }
  .journey-photo { max-width: 420px; }
}

@media (max-width: 760px) {
  .hero { min-height: 0; padding: 80px 0; }
  .hero::before { background-position: center center; opacity: .5; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.85)); }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: rgba(12,15,14,.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-top: 1px solid rgba(255,255,255,.06); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-cta { margin: 12px 24px 0; }
  .nav-cta .btn { width: 100%; }
  .carousel { padding: 0 44px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .selector-buttons { flex-direction: column; align-items: stretch; }
  .selector-buttons .btn { width: 100%; }
  .lead-form button { align-self: stretch; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .slide { transition: none; }
}
