/* ==========================================================================
   Trust The Process Performance — Homepage
   Layout modeled on footyacademysv.com · TTP black/red brand
   ========================================================================== */

:root {
  --black: #000000;
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --line: #2a2a2a;
  --red: #e30613;
  --red-dark: #b30410;
  --white: #ffffff;
  --muted: #b0b0b0;
  --muted-dim: #7d7d7d;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;

  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Red Hat Display", system-ui, -apple-system, sans-serif;
  --font-scribble: "Bebas Neue", "Oswald", Impact, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 130px); }

.eyebrow {
  font-family: var(--font-display);
  letter-spacing: 3px;
  font-size: 15px;
  color: var(--red);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
}
.eyebrow::before { content: "— "; color: var(--red); }

.lead { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-ghost { border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ---------- Announcement bar ---------- */
.announce {
  display: block;
  width: 100%;
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  /* Stay on ONE line; shrink the type on narrow screens instead of wrapping */
  white-space: nowrap;
  padding: 9px 12px;
  font-size: clamp(9px, 2.7vw, 15px);
  letter-spacing: clamp(0.5px, 0.5vw, 2px);
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav-logo img { height: 46px; width: auto; }
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s ease;
}
.nav-menu a:hover { color: var(--red); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 11px 22px; font-size: 15px; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.65) 45%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(3.4rem, 10vw, 8rem);
  max-width: 15ch;
  line-height: 0.92;
}
.hero h1 .accent { color: var(--red); }
.hero p {
  margin: 26px 0 34px;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--line);
}
/* show the top of the photo instead of the middle */
.split-media img.anchor-top { object-position: top; }
/* tall 3:4 crop, anchored to the top */
.split-media img.tall-crop { aspect-ratio: 3/4; object-fit: cover; object-position: top; }
/* show the whole image, uncropped, at its natural proportions */
.split-media img.whole { aspect-ratio: auto; height: auto; object-fit: contain; }
.split h2 { font-size: clamp(2.6rem, 5vw, 4.3rem); margin-bottom: 20px; }
.split p { margin-bottom: 28px; }

/* ---------- Scribble band ---------- */
.scribble-band {
  position: relative;
  text-align: center;
  padding-block: clamp(90px, 14vw, 180px);
  background-size: cover;
  background-position: center;
}
.scribble-band::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
}
.scribble-band .container { position: relative; z-index: 2; }
.scribble-band h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 1px;
}
.scribble-band h2 .r { color: var(--red); }

/* ---------- Carousel ---------- */
.carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.carousel-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.carousel-nav { display: flex; gap: 12px; }
.carousel-nav button {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: .2s;
}
.carousel-nav button:hover { border-color: var(--red); color: var(--red); }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 42vw, 460px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
  scroll-snap-align: start;
  border: 1px solid var(--line);
}

/* ---------- Section heading (centered) ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sec-head h2 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin-bottom: 18px; }
.sec-head p { color: var(--muted); margin: 0 auto; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--red); }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.team-info { padding: 22px; }
.team-info h3 { font-size: 1.9rem; letter-spacing: 1px; }
.team-info span { color: var(--red); font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Pricing / Training plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--red); }
.plan-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.plan-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.plan-price {
  color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.plan-body h3 { font-size: 1.7rem; margin-bottom: 12px; }
.plan-body p { color: var(--muted); font-size: .96rem; margin: 0 0 22px; flex: 1; }
.plan-body .btn { align-self: flex-start; }

/* ---------- Next level (athlete grid) ---------- */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.athlete-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3/4;
}
.athlete-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.athlete-card:hover img { transform: scale(1.05); }
.athlete-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.92));
}
.athlete-meta h4 { font-size: 1.4rem; letter-spacing: .5px; }
.athlete-meta span { color: var(--muted); font-size: .82rem; line-height: 1.35; display: block; margin-top: 4px; }

.subhead-band { text-align: center; margin: 70px 0 34px; }
.subhead-band h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--white); }
.subhead-band span { color: var(--red); }

/* ---------- Athlete carousels (collegiate / pro) ---------- */
.athlete-carousel { margin-top: 60px; }
.ac-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.ac-head h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--white); }
.ac-head h3 span { color: var(--red); }
.athlete-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 24vw, 270px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}
.athlete-track::-webkit-scrollbar { display: none; }
.athlete-track .athlete-card { scroll-snap-align: start; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: var(--red);
  padding-block: clamp(70px, 10vw, 120px);
}
.cta-band h2 { font-size: clamp(2.8rem, 7vw, 5.5rem); color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin: 20px auto 34px; }
.cta-band .btn-outline { border-color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--red); }

/* ---------- Policy strip ---------- */
.policy {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding-block: 40px;
}
.policy h4 { color: var(--red); font-size: 1.6rem; letter-spacing: 1px; margin-bottom: 8px; }
.policy p { color: var(--muted); margin: 0; }

/* ---------- 404 error page ---------- */
.error-hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(60px, 12vw, 140px);
}
.error-hero .code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 15rem);
  line-height: 0.82;
  color: var(--red);
  letter-spacing: 4px;
}
.error-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 8px 0 16px; }
.error-hero p { color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--black); padding-block: 70px 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}
.footer-logo img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-logo p { color: var(--muted); max-width: 34ch; }
.footer-col h4 { font-size: 1.3rem; letter-spacing: 1.5px; margin-bottom: 18px; color: var(--white); }
.footer-col a { display: block; color: var(--muted); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  text-align: center;
  padding-top: 28px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: var(--muted-dim);
  text-transform: uppercase;
}

/* ==========================================================================
   Sub-page styles (Our Staff / Facility / Contact)
   ========================================================================== */

/* ---------- Page hero banner ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(120px, 18vw, 220px) clamp(60px, 8vw, 100px);
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.8));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--red); }
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
}
.page-hero.scribble h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6.5rem);
}
.page-hero p { color: var(--muted); max-width: 60ch; margin: 22px auto 30px; }

/* ---------- Coach profile ---------- */
.profile { margin-bottom: clamp(60px, 8vw, 110px); }
.profile:last-child { margin-bottom: 0; }
.profile .split-media img { aspect-ratio: 3/4; }
.profile h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 8px; }
.profile .role {
  color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 20px;
  display: block;
}
.profile p { color: var(--muted); margin-bottom: 26px; font-size: 1rem; }
.profile p strong { color: var(--white); font-weight: 600; }

/* ---------- Facility address chip ---------- */
.addr-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
}

/* ---------- Contact info cards ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--red); }
.contact-card .ic {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
}
.contact-card span { display: block; color: var(--muted-dim); font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.contact-card a { color: var(--white); font-weight: 600; }
.contact-card a:hover { color: var(--red); }

/* ---------- Clinic details (flyer-style) ---------- */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.clinic-detail {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.clinic-detail .ic {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.clinic-detail .lbl {
  display: block;
  color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.1;
}
.clinic-detail .val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .5px;
  color: var(--white);
  line-height: 1.05;
}
.clinic-detail .val small { display: block; font-size: 1.05rem; color: var(--muted); letter-spacing: 1px; }
.clinic-detail.wide { grid-column: 1 / -1; }

.clinic-focus {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 24px;
}
.clinic-focus h3 { color: var(--red); font-size: 1.6rem; letter-spacing: 1.5px; margin-bottom: 18px; }
.clinic-focus .focus-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.clinic-focus .focus-item:first-of-type { border-top: 0; }
.clinic-focus .focus-item .ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 20px;
  font-family: var(--font-display);
}
.clinic-focus .focus-item span { font-size: 1.2rem; font-weight: 600; }

.price-badge {
  text-align: center;
  background: var(--red);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.price-badge .amt {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  color: var(--white);
}
.price-badge .per {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
}

/* ---------- Camp page: form + sticky flyer (Footy-style) ---------- */
.camp-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.camp-intro h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; margin-bottom: 18px; }
.camp-intro .sub {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.camp-intro .sub .scribble { font-family: var(--font-scribble); text-transform: none; }
.camp-intro > p { color: var(--muted); margin-bottom: 14px; max-width: 60ch; }
.price-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.price-inline b { font-size: 1.5rem; }

.form-section-label {
  color: var(--red);
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin: 34px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.form-section-label:first-of-type { margin-top: 8px; }

.camp-form .field input,
.camp-form .field textarea,
.camp-form .field select { background: var(--surface-2); }
.camp-form .field .req { color: var(--red); }
.camp-form .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.camp-form .field select:focus { outline: none; border-color: var(--red); }
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 26px;
  color: var(--muted);
}
.check-row input { accent-color: var(--red); width: 20px; height: 20px; margin-top: 3px; flex: none; }

.camp-flyer {
  position: sticky;
  top: 96px;
}
.camp-flyer img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}
.camp-flyer .flyer-fallback {
  aspect-ratio: 4/5;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted-dim);
  padding: 30px;
  background: var(--surface);
}

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .2s ease;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 130px; }
.radio-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  color: var(--white); font-size: 1rem; cursor: pointer; margin: 0;
}
.radio-row input { accent-color: var(--red); width: 18px; height: 18px; }
.form-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  /* Success by default = green (matches the booking-confirmed style) */
  background: rgba(46,160,67,.15);
  border: 1px solid #2ea043;
  color: #4ade80;
  display: none;
}
.form-note.show { display: block; }
.form-note.error { background: rgba(227,6,19,.18); border-color: var(--red); color: var(--white); }

/* Honeypot — hidden from humans, catches bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-logo { order: 1; }
  .nav-toggle { order: 2; }
  /* When open, the bar grows and the links + CTAs stack full-width below it
     (in normal flow) so nothing overlaps. */
  .nav.open .nav-inner { flex-wrap: wrap; height: auto; padding-bottom: 14px; }
  .nav.open nav { order: 3; flex-basis: 100%; }
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 14px 0 4px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav.open .nav-cta {
    display: flex;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
  }
  .nav.open .nav-cta .btn { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .athlete-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .clinic-grid { grid-template-columns: 1fr; }
  .camp-layout { grid-template-columns: 1fr; }
  .camp-flyer { position: static; order: -1; max-width: 480px; margin: 0 auto 10px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .athlete-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   BOOKING / ACCOUNTS — auth card, dashboards, status pills
   Reuses the site's tokens (--red, --surface, --line, etc.).
   ============================================================ */

/* --- Auth (login.html) --- */
.auth-section { min-height: 70vh; display: flex; align-items: center; }
.auth-card {
  max-width: 460px; margin: 0 auto; width: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px;
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head h1 { margin: 6px 0 8px; }
.auth-head p { color: var(--muted); margin: 0; }
.auth-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px; margin-bottom: 22px;
}
.auth-toggle button {
  border: 0; background: transparent; color: var(--muted);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s, color .15s;
}
.auth-toggle button.active { background: var(--red); color: #fff; }
.auth-card .btn { width: 100%; margin-top: 4px; }
.auth-alt { text-align: center; color: var(--muted); margin: 18px 0 0; font-size: .95rem; }
.auth-alt a { color: var(--red); font-weight: 600; }

/* --- Dashboards (account.html, admin.html) --- */
.dash-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 30px;
}
.dash-head h1 { margin: 6px 0 4px; }
.dash-sub { color: var(--muted); margin: 0; }
.dash-sub a { color: var(--red); font-weight: 600; }

.dash-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-bottom: 34px;
}
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.stat-num {
  display: block; font-family: var(--font-display); font-size: 2.6rem;
  line-height: 1; color: var(--red);
}
.stat.up .stat-num { color: var(--white); }
.stat-label {
  display: block; margin-top: 8px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
}
.stat-sub {
  display: block; margin-top: 6px; color: var(--muted-dim);
  font-size: .72rem; line-height: 1.35;
}
.dash-section {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 1.5px; font-size: 1.4rem; color: var(--white);
  margin: 0 0 14px;
}

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 24px 20px; margin-bottom: 24px;
}
.panel-head { padding: 18px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.panel-head h2 { margin: 0; font-size: 1.5rem; }
.rows { display: flex; flex-direction: column; }
.row-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.row-item:last-child { border-bottom: 0; }
.row-main { display: flex; flex-direction: column; gap: 3px; }
.row-sub { color: var(--muted); font-size: .9rem; }
.row-actions { display: flex; gap: 8px; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.empty { padding: 22px 0; color: var(--muted); }
.empty a { color: var(--red); font-weight: 600; }

/* --- Status pills --- */
.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; white-space: nowrap; border: 1px solid transparent;
}
.pill-confirmed        { background: rgba(46,160,67,.16);  color: #4ade80; border-color: rgba(46,160,67,.4); }
.pill-pending_approval { background: rgba(227,166,6,.16);  color: #fbbf24; border-color: rgba(227,166,6,.4); }
.pill-awaiting_payment { background: rgba(227,166,6,.16);  color: #fbbf24; border-color: rgba(227,166,6,.4); }
.pill-held             { background: rgba(255,255,255,.08); color: var(--muted); border-color: var(--line); }
.pill-declined,
.pill-expired,
.pill-cancelled        { background: rgba(227,6,19,.16);   color: #f87171; border-color: rgba(227,6,19,.4); }

@media (max-width: 640px) {
  .auth-card { padding: 28px 22px; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 18px; }
}


/* --- Auth-aware nav: Sign In / "Hi, Name" account menu --- */
/* Far-right auth control slot; primary CTA sits to its left. */
.nav-auth { display: inline-flex; align-items: center; }
.acct-menu { position: relative; }
/* Trigger matches the red Sign In button it replaces. */
.acct-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); border: 1px solid var(--red);
  color: #fff; font-family: var(--font-body); font-weight: 600;
  font-size: .92rem; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.acct-trigger:hover { background: var(--red-dark); border-color: var(--red-dark); }
.acct-gear { display: inline-flex; color: rgba(255,255,255,.85); transition: transform .2s; }
.acct-menu.open .acct-gear { transform: rotate(45deg); }
.acct-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 190px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; display: none; z-index: 60;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.acct-menu.open .acct-dropdown { display: block; }
.acct-dropdown a,
.acct-dropdown button {
  display: block; width: 100%; text-align: left; background: transparent;
  border: 0; color: var(--white); font-family: var(--font-body); font-weight: 500;
  font-size: .92rem; padding: 11px 14px; border-radius: 8px; cursor: pointer;
  text-decoration: none;
}
.acct-dropdown a:hover,
.acct-dropdown button:hover { background: rgba(255,255,255,.06); color: var(--red); }
.acct-dropdown button { border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0 0 8px 8px; }


/* --- Spacing fixes for app pages (account/admin/book/login) --- */
/* sec-head is used for the "Staff Only" screen; size its h1 like h2
   and give the CTA room so it doesn't hug the paragraph. */
.sec-head h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin-bottom: 18px; }
.sec-head .btn { margin-top: 34px; }
/* Keep sparse dashboards tall enough that the footer sits at the bottom
   instead of riding up under the nav while data loads. */
.dash { min-height: 64vh; }
#denied { min-height: 60vh; display: flex; align-items: center; }


/* --- Post-signup "Check your email" view (login.html) --- */
.auth-check { text-align: center; }
.auth-check-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(227,6,19,.14); border: 1px solid var(--red);
  color: var(--red); font-size: 28px;
}
.auth-check h1 { margin: 6px 0 12px; }
.auth-check p { color: var(--muted); margin: 0 0 14px; }
.auth-check strong { color: var(--white); }
.auth-check-hint { font-size: .9rem; }
.auth-check .btn { width: 100%; margin-top: 6px; }


/* Ensure the [hidden] attribute always wins over element display rules
   (e.g. .auth-toggle uses display:grid, which would otherwise override it). */
[hidden] { display: none !important; }


/* --- Booking availability (book.html) --- */
.avail-day .panel-head h2 { font-size: 1.5rem; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 0 6px; }
.slot {
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--white); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.slot:hover { border-color: var(--red); color: var(--red); }
.slot.selected { background: var(--red); border-color: var(--red); color: #fff; }
.book-selbar {
  position: sticky; bottom: 0; z-index: 40;
  background: rgba(10,10,10,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.book-selbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 16px; flex-wrap: wrap;
}
.book-selbar #selText { font-weight: 600; }


/* --- Calendly-style booking calendar (book.html) --- */
/* minmax(0, …) on BOTH tracks so a long location can't force a column wider
   than its share and distort the calendar. */
.book-cal { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.cal-panel, .times-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; min-width: 0;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 1px; }
.cal-nav {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--white); cursor: pointer; font-size: 18px; line-height: 1;
}
.cal-nav:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.cal-dow span { text-align: center; color: var(--muted-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell {
  aspect-ratio: 1; border: 0; background: transparent; color: var(--muted-dim);
  border-radius: 10px; font-family: var(--font-body); font-size: .95rem;
  display: flex; align-items: center; justify-content: center; cursor: default;
}
.cal-cell.empty-cell { pointer-events: none; }
.cal-cell.available { background: rgba(227,6,19,.12); color: var(--white); font-weight: 600; cursor: pointer; }
.cal-cell.available:hover { background: rgba(227,6,19,.28); }
.cal-cell.selected { background: var(--red); color: #fff; }
.cal-cell.today { outline: 1px solid var(--muted); }
.times-head {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .5px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.times-list { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; }
.times-list .slot { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px; }
.slot-time { font-size: 1rem; }
.slot-loc { font-size: .78rem; color: var(--muted); font-weight: 500; text-align: center; }
.slot.selected .slot-loc { color: rgba(255,255,255,.85); }
/* Stack sooner so the two columns never get cramped; cap + center the
   calendar so it doesn't blow up to full width when stacked. */
@media (max-width: 900px) {
  .book-cal { grid-template-columns: 1fr; }
  .cal-panel { max-width: 440px; margin-inline: auto; }
}


/* Green success note (e.g. booking confirmed on approve.html) */
.form-note.success { background: rgba(46,160,67,.16); border-color: #2ea043; color: #4ade80; }


/* Gray (neutral) button — used for Decline actions */
.btn-gray { background: #2a2a2a; border-color: #2a2a2a; color: var(--white); }
.btn-gray:hover { background: #383838; border-color: #383838; }


/* Session-type chips (book.html) — bordered tiles matching the time slots */
.type-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.type-chip {
  flex: 1; min-width: 140px; padding: 14px 16px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px;
  color: var(--white); text-align: center; font-family: var(--font-body);
  transition: border-color .16s ease, background .16s ease;
}
.type-chip .t { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; display: block; line-height: 1; }
.type-chip .n { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.type-chip:hover { border-color: var(--red); }
.type-chip.on { background: var(--red); border-color: var(--red); }
.type-chip.on .n { color: rgba(255,255,255,.85); }
.type-step { display: inline-flex; align-items: center; gap: 12px; }
.type-step button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--white); font-size: 20px; line-height: 1; cursor: pointer; }
.type-step button:hover { border-color: var(--red); color: var(--red); }
.type-step .val { font-family: var(--font-display); font-size: 24px; min-width: 1.4em; text-align: center; }


/* Admin schedule-calendar heading */
.sched-head { margin: 40px 0 18px; }
.sched-head h2 { font-size: 1.9rem; }


/* Role dropdown in the admin Users & Roles panel */
.role-select {
  background: var(--surface-2, #1c1c1c); color: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 12px; font-family: var(--font-body); font-size: .9rem; cursor: pointer;
}


/* --- Buy-credits packages (packages.html) --- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.pkg-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; display: flex; flex-direction: column; gap: 10px;
}
.pkg-credits { color: var(--red); font-family: var(--font-display); letter-spacing: 1px; font-size: 1.05rem; text-transform: uppercase; }
.pkg-card h3 { font-size: 1.45rem; }
.pkg-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--white); }
.pkg-card .btn { margin-top: auto; justify-content: center; }
