:root {
  --navy: #182d58;
  --silver: #b3b8bc;
  --white: #ffffff;
  --ink: #111111;
  --gold: #f5c518;
  --max: 960px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h3 { font-size: 1.15rem; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.book :focus-visible { outline-color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.dark { background: var(--navy); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.rule { border: 0; border-top: 2px solid var(--silver); margin: 0; }

/* Preview banner */
.preview-banner {
  background: var(--navy);
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: .02em;
}

/* Header */
.site-header { background: var(--white); border-bottom: 2px solid var(--silver); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 32px; width: auto; }
.contact { font-size: .95rem; font-weight: 600; margin: 0; }
.contact a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  padding: 16px 28px;
  min-height: 52px;
  border-radius: 6px;
  border: 2px solid var(--navy);
  background: var(--navy);
  color: var(--white);
}
.btn:hover { background: #10203f; border-color: #10203f; }
.btn.on-dark { background: var(--gold); color: #111111; border-color: var(--gold); font-weight: 800; }
.btn.on-dark:hover { background: #e4b600; border-color: #e4b600; }
.btn.quiet { background: transparent; color: var(--navy); }
.btn.quiet:hover { background: #e8e8e8; }
.btn.block { display: block; width: 100%; }

/* Hero.
   Mobile (under 760px): full-width photo band on top, headline / sub / CTA on solid navy below it, so nobody in the photo is clipped.
   Desktop (760px and up): full-bleed photo with a solid navy copy panel. */
.hero { position: relative; color: var(--white); background-color: var(--navy); }
.hero-media img { display: block; width: 100%; height: auto; }
/* Small group photo is portrait (1333x2000). Crop to the band that holds the coach, the client and the third athlete. */
.hero-sg .hero-media img { aspect-ratio: 1333 / 940; object-fit: cover; object-position: 50% 60%; }
.hero-body { padding: 36px 0 44px; }
.hero h1 { color: var(--white); max-width: 24ch; font-weight: 900; text-wrap: balance; }
.hero .sub { font-size: 1.2rem; max-width: 34ch; margin-bottom: 28px; text-wrap: balance; }
@media (min-width: 760px) {
  .hero { display: flex; align-items: center; }
  .hero-sg { min-height: clamp(520px, 44vw, 720px); }
  .hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
  .hero-media img, .hero-sg .hero-media img { height: 100%; aspect-ratio: auto; object-fit: cover; }
  .hero-pt .hero-media img { object-position: 50% 12%; }
  .hero-sg .hero-media img { object-position: 50% 47%; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 30, 61, .28), transparent 68%); }
  .hero-body { position: relative; width: 100%; padding: 72px 0; }
  .hero-body .wrap { max-width: 470px; margin-left: max(0px, calc((100% - var(--max)) / 2)); padding: 30px 24px 34px 8px; background: #0f1e3d; }
  .hero-sg .hero-body .wrap { margin-left: auto; }
  .hero .sub { font-size: 1.35rem; }
}

/* Problem, guide and similar copy blocks */
.copy { max-width: 62ch; }
.copy p { font-size: 1.05rem; }

.point {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 40px 16px;
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  border-top: 4px solid var(--silver);
  border-bottom: 4px solid var(--silver);
}
.point span { display: block; max-width: 24ch; margin: 0 auto; }

/* Reviews */
.reviews { display: grid; gap: 20px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: var(--white); color: var(--ink); border: 2px solid var(--gold); border-left: 8px solid var(--gold); border-radius: 6px; padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.review blockquote { margin: 0; font-size: 1rem; }
.review figcaption { font-weight: 800; color: var(--navy); }

/* Plan */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; border: 2px solid var(--silver); border-radius: 6px; padding: 24px 20px 20px; background: var(--white); color: var(--ink); }
.steps li::before {
  content: counter(step);
  position: absolute; top: -18px; left: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--white);
}
.steps h3 { margin-top: 6px; }
.dark .steps h3 { color: var(--navy); }
.steps p { font-size: 1rem; }

.cta-row { margin-top: 28px; }

/* Failure line */
.failure { text-align: center; font-size: 1.25rem; font-weight: 700; color: var(--navy); padding: 28px 16px; margin: 0; border-top: 2px solid var(--silver); border-bottom: 2px solid var(--silver); }

/* FAQ */
.faq { display: grid; gap: 16px; max-width: 70ch; }
.faq > div { border: 2px solid var(--navy); border-left-width: 8px; border-radius: 6px; padding: 18px 20px; background: var(--white); }
.faq h3 { margin-bottom: .25em; }
.faq p { font-size: 1.02rem; }

/* Final CTA and booking panel */
.final { background: var(--navy); color: var(--white); }
.final h2 { color: var(--white); }
.final .copy p { font-size: 1.1rem; }

.book { margin-top: 36px; background: var(--white); color: var(--ink); border: 3px solid var(--silver); border-radius: 8px; padding: 24px 18px; }
.book[hidden] { display: none; }
.book h2 { color: var(--navy); font-size: 1.5rem; }
/* Close X pinned to the top of the booking panel; sticks to the viewport top while the tall iframe scrolls. */
.bk-top { position: sticky; top: 0; z-index: 20; display: flex; justify-content: flex-end; margin: -24px -18px 8px; padding: 8px 12px; background: var(--white); border-bottom: 1px solid var(--silver); border-radius: 5px 5px 0 0; }
.bk-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; cursor: pointer; background: var(--white); color: var(--navy); border: 2px solid var(--navy); border-radius: 6px; }
.bk-x:hover { background: #e8e8e8; }
.book .bk-frame { display: block; width: 100%; min-height: 900px; margin-top: 16px; border: 0; border-radius: 6px; background: var(--white); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.no-js-show { display: none; }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 36px 0; border-top: 4px solid var(--silver); }
.site-footer p { margin: 0 0 .4em; }
.site-footer a { color: var(--white); text-underline-offset: 3px; }
.site-footer .logo img { height: 28px; margin-bottom: 16px; }

/* Sticky CTA (small screens only) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--white);
  border-top: 2px solid var(--silver);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .2s ease;
  display: none;
}
.sticky-cta.show { transform: translateY(0); }
@media (max-width: 759px) {
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Hub */
.hub { padding: 40px 0 64px; }
.hub ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 520px; }

.lead-fields { display: grid; gap: 8px; max-width: 34rem; margin: 20px 0; }
.lead-fields label { color: #171717; font-weight: 700; }
.lead-fields input { width: 100%; color: #171717; background: #fff; border: 2px solid var(--navy); border-radius: 6px; padding: 12px; font: inherit; margin-bottom: 8px; }
.book input:focus-visible, .book button:focus-visible, .book a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.book .bk-frame[hidden], #lead-form[hidden], #lead-error[hidden] { display: none; }
#lead-error { color: #171717; }
#lead-error a { color: var(--navy); text-decoration: underline; }
