/* CT Online Coaching & PT — site styles
   Brand: League Spartan + Inter, charcoal #161616, greys, accent #4682b4 */

:root {
  --ink: #161616;
  --ink-2: #202020;
  --ink-3: #2a2a2a;
  --grey: #757575;
  --muted: #5c5c5c;
  --line: #d1d1d1;
  --paper: #f4f4f4;
  --white: #ffffff;
  --blue: #4682b4;
  --blue-dk: #3a6e9a;
  --blue-soft: rgba(70, 130, 180, 0.14);
  --radius: 14px;
  --max: 1120px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dk); }
h1, h2, h3, h4 {
  font-family: "League Spartan", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: var(--line); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 999px;
  font: 700 1rem/1 "Inter", sans-serif;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dk); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 22, 22, 0.94);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
  font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 1.7rem;
  letter-spacing: 0.04em; color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo img { height: 34px; width: auto; }
.logo small {
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--line);
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--line); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { color: var(--white); padding: 11px 18px; font-size: .92rem; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--white);
  width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links li:last-child a { margin-top: 14px; border: 0; text-align: center; }
  .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 */
.hero { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero .lead { color: var(--line); margin-bottom: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--line); font-size: .92rem; }
.hero-meta span::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 8px; }

.split-card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.split-card header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.split-card h3 { font-size: 1.1rem; margin: 0; }
.split-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.split-row { display: grid; grid-template-columns: 92px 1fr 64px; align-items: center; gap: 10px; font-size: .82rem; margin-bottom: 9px; color: var(--line); }
.split-bar { height: 9px; border-radius: 9px; background: rgba(255,255,255,0.08); overflow: hidden; }
.split-bar i { display: block; height: 100%; border-radius: 9px; background: var(--grey); }
.split-row.is-run .split-bar i { background: var(--blue); }
.split-row.is-flag { color: var(--white); font-weight: 700; }
.split-row.is-flag .split-bar i { background: #e0a14a; }
.split-row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.split-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); font-size: .85rem; color: var(--line); }
.split-note strong { color: var(--white); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.section--paper .card { border-color: transparent; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 2.6rem;
  color: var(--blue); line-height: 1; display: block; margin-bottom: 14px;
}
.card p { color: var(--muted); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 18px; padding: 32px 28px; box-shadow: var(--shadow);
  border: 2px solid transparent;
}
.price-card.is-featured { border-color: var(--blue); }
.price-card .badge {
  position: absolute; top: -13px; left: 28px; background: var(--blue); color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.price-card h3 { margin-bottom: 6px; }
.price-card .for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1; margin: 10px 0 4px; }
.price small { font-family: "Inter", sans-serif; font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-sub { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%234682b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.pack-table { width: 100%; border-collapse: collapse; margin: 4px 0 22px; font-size: .95rem; }
.pack-table td { padding: 9px 0; border-bottom: 1px solid var(--paper); }
.pack-table td:last-child { text-align: right; font-weight: 700; }
.pack-table .per { color: var(--muted); font-weight: 500; font-size: .82rem; margin-left: 6px; }
.small-print { font-size: .85rem; color: var(--muted); margin-top: 26px; }

/* Race analysis */
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .analysis-grid { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: grid; grid-template-columns: 34px 1fr; gap: 6px; }
.check-list li b { color: var(--white); display: block; font-weight: 700; }
.check-list li span { color: var(--line); font-size: .95rem; }
.check-list .ix { font-family: "League Spartan", sans-serif; font-weight: 800; color: var(--blue); font-size: 1.2rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.photo {
  aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #2a2a2a, #161616);
  display: grid; place-items: center; color: var(--grey); font-weight: 600; text-align: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 26px; }
.stat b { font-family: "League Spartan", sans-serif; font-size: 1.9rem; font-weight: 800; display: block; color: var(--blue); line-height: 1; }
.stat span { font-size: .88rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--blue); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: #0f0f0f; color: var(--grey); padding: 48px 0 36px; font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.site-footer a { color: var(--line); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); font-size: .82rem; }

/* Simple page (privacy) */
.page { padding: 60px 0 90px; }
.page .wrap { max-width: 780px; }
.page h2 { font-size: 1.6rem; margin-top: 1.6em; }
.page p, .page li { color: #3a3a3a; }

/* ---------- Booking page ---------- */
.book-hero { background: var(--ink); color: var(--white); padding: 48px 0 110px; }
.book-hero .lead { color: var(--line); }
.booker {
  margin-top: -80px; margin-bottom: 80px;
  background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.12);
  padding: clamp(22px, 4vw, 40px);
}
.steps { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.steps li {
  list-style: none; font-size: .82rem; font-weight: 700; color: var(--grey);
  padding: 8px 14px; border-radius: 999px; background: var(--paper);
}
.steps { padding: 0; }
.steps li.is-active { background: var(--blue); color: var(--white); }
.steps li.is-done { background: var(--blue-soft); color: var(--blue-dk); }

.panel[hidden] { display: none; }
.panel h2 { font-size: 1.6rem; margin-bottom: 18px; }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 700px) { .type-grid { grid-template-columns: 1fr; } }
.type-card {
  text-align: left; width: 100%; cursor: pointer; font: inherit; color: inherit;
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; transition: border-color .15s, box-shadow .15s;
}
.type-card:hover { border-color: var(--blue); }
.type-card.is-selected { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.type-card h3 { font-size: 1.15rem; margin: 0 0 6px; }
.type-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.type-card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.chip--blue { background: var(--blue-soft); color: var(--blue-dk); }
.group-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 26px 0 12px; }
.group-label:first-of-type { margin-top: 0; }

.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.date-btn {
  flex: 0 0 auto; scroll-snap-align: start; width: 74px; padding: 12px 0; text-align: center;
  border: 2px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; font: inherit; color: inherit;
}
.date-btn small { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--grey); letter-spacing: .06em; }
.date-btn b { display: block; font-family: "League Spartan", sans-serif; font-size: 1.6rem; line-height: 1.1; }
.date-btn span { display: block; font-size: .75rem; color: var(--muted); }
.date-btn:hover { border-color: var(--blue); }
.date-btn.is-selected { background: var(--blue); border-color: var(--blue); color: var(--white); }
.date-btn.is-selected small, .date-btn.is-selected span { color: rgba(255,255,255,.85); }
.date-btn[disabled] { opacity: .35; cursor: not-allowed; border-style: dashed; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.slot-btn {
  padding: 12px 0; border: 2px solid var(--line); border-radius: 10px; background: var(--white);
  font: 700 .98rem "Inter", sans-serif; cursor: pointer; color: var(--ink);
}
.slot-btn:hover { border-color: var(--blue); color: var(--blue-dk); }
.slot-btn.is-selected { background: var(--blue); color: var(--white); border-color: var(--blue); }
.slots-msg { color: var(--muted); padding: 18px 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label .opt { font-weight: 500; color: var(--grey); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary {
  background: var(--paper); border-radius: 12px; padding: 16px 18px; margin-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem;
}
.summary b { font-weight: 700; }
.panel-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 26px; align-items: center; }
.link-btn { background: none; border: 0; font: 600 .95rem "Inter", sans-serif; color: var(--blue-dk); cursor: pointer; padding: 8px 0; }
.alert { padding: 14px 16px; border-radius: 10px; font-size: .93rem; margin-top: 16px; }
.alert--error { background: #fdecec; color: #8a1f1f; }
.alert--info { background: var(--blue-soft); color: var(--blue-dk); }
.demo-banner { background: #fff6e5; color: #7a4b00; border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-bottom: 22px; }

.success { text-align: center; padding: 20px 0; }
.success .tick {
  width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 20px;
}
.success .summary { justify-content: center; text-align: left; max-width: 560px; margin: 20px auto; }

.spinner {
  width: 22px; height: 22px; border: 3px solid var(--blue-soft); border-top-color: var(--blue);
  border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ===== v2: bolder, photo-led look ===== */
h1, h2, h3 { text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: .95; letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: .98; }
h3 { font-size: 1.3rem; letter-spacing: .01em; }
.btn { border-radius: 8px; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; padding: 16px 24px; }
.nav-links .btn { padding: 11px 16px; font-size: .8rem; }

.hero--photo {
  position: relative; display: flex; align-items: flex-end;
  min-height: min(88vh, 780px); padding: 120px 0 72px;
  background:
    linear-gradient(180deg, rgba(22,22,22,.25) 0%, rgba(22,22,22,.7) 55%, #161616 100%),
    url("hero.jpg") center 30% / cover no-repeat,
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 18px 18px,
    #161616;
}
.hero-inner { max-width: var(--max); }
.hero-inner h1 { max-width: 13ch; }
.hero-inner .lead { max-width: 54ch; }

.card-photo {
  position: relative; aspect-ratio: 16 / 10; margin: -32px -28px 24px;
  border-radius: 16px 16px 0 0; overflow: hidden;
  background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px) 0 0 / 14px 14px, linear-gradient(160deg, #2a2a2a, #161616);
  display: grid; place-items: center; color: var(--grey); font-size: .85rem; font-weight: 600;
}
.card-photo img, .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price-card { overflow: visible; }
.price-card.is-featured .card-photo { border-radius: 14px 14px 0 0; }
.price-card .badge { z-index: 2; }
.photo { position: relative; }

.quote blockquote { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.55; }
.quote figcaption { color: var(--muted); font-size: .9rem; }
.quote { margin: 0; }

.ig-band { background: var(--blue); color: var(--white); padding: 56px 0; }
.ig-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ig-band .eyebrow { color: rgba(255,255,255,.8); }
.ig-band h2 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 22ch; }
.field select {
  font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 2px solid var(--line); background: var(--white); color: var(--ink);
}
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field[hidden] { display: none; }
.client-banner { background: var(--blue-soft); color: var(--ink); border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; font-size: .98rem; }
.client-banner b { margin-right: 4px; }
.pack-left { font-weight: 700; font-size: 1.05rem; }
.field input[readonly] { background: var(--paper); color: var(--muted); }
