/* Home page: coaching landing page. Header and footer come from styles.css. */
.home {
  --pine: #232323;
  --pine-2: #2e2e2e;
  --bone: #f4f4f4;
  --card: #fff;
  --line: rgba(0,0,0,.14);
  --muted: #6b6b6b;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bone);
}
.home h1, .home h2, .home h3, .home .display {
  font-family: var(--display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .02em;
  margin: 0;
  text-transform: uppercase;
}
.home h1 { font-size: clamp(3.4rem, 10vw, 7.5rem); }
.home h2 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
.home h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.home .wrap { max-width: 1080px; padding: 0 20px; }
.home .narrow { max-width: 720px; }
.home section { padding: 80px 0; }
.home .dark { background: var(--pine); color: #fff; }
.home .lead { font-size: 1.25rem; }
.home .gold { color: var(--gold); }

/* buttons */
.home .btn {
  font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: .02em;
  padding: 18px 34px; border-radius: 6px; border: 0; line-height: 1;
  transition: transform .08s ease, background .15s;
}
.home .btn-ember { background: var(--gold); color: #1a1a1a; box-shadow: 0 8px 0 #8a6a35; }
.home .btn-ember:hover { background: #e4b773; }
.home .btn-ember:active { transform: translateY(4px); box-shadow: 0 4px 0 #8a6a35; }
.home .btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; box-shadow: none; }
.home .btn-ghost:hover { background: rgba(255,255,255,.08); }
.home .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.home .btn-wrap { text-align: center; margin-top: 36px; }
.home .btn-sub { display: block; margin-top: 16px; font-size: .95rem; color: #a8a8a8; }
.home section:not(.dark) .btn-sub { color: var(--muted); }

/* hero */
.home .hero { padding: 72px 0 64px; text-align: center; }
.home .kicker { font-family: var(--display); font-size: 1.3rem; color: var(--gold); margin: 0 auto 18px; max-width: 760px; letter-spacing: .03em; line-height: 1.2; }
.home .hero h1 .b2 { display: block; color: var(--gold); }
.home .hero h1.h1-long { font-size: clamp(2.6rem, 6.2vw, 5rem); max-width: 980px; margin: 0 auto; line-height: .98; }
.home .hero .sub { font-size: clamp(1.2rem, 2.4vw, 1.6rem); max-width: 720px; margin: 26px auto 0; line-height: 1.4; }
.home .video {
  margin: 44px auto 0; max-width: 880px; aspect-ratio: 16 / 9; background: #141414;
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; box-shadow: none;
}
.home .video-ph { display: grid; place-items: center; position: relative; }
.home .video-ph .play { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.home .video-ph .play svg { width: 34px; height: 34px; margin-left: 5px; }
.home .video-ph .label { position: absolute; bottom: 18px; left: 22px; font-family: var(--display); font-size: 1.1rem; color: #cfcfcf; letter-spacing: .03em; }
.home .video-label { margin: 14px 0 0; font-family: var(--display); font-size: 1.1rem; color: #a8a8a8; letter-spacing: .03em; }

/* proof wall (kept the same as Boardroom to Buckle) */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 800px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }
.proof {
  aspect-ratio: 4 / 5; background: var(--pine-2); border-radius: 8px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 16px; border: 1px solid rgba(255,255,255,.08);
}
.proof .tag { font-family: var(--display); font-size: 1.25rem; line-height: 1.05; color: #fff; position: relative; z-index: 1; }
.proof .tag small { display: block; font-family: "Open Sans", sans-serif; font-size: .95rem; color: #dcdcdc; margin-top: 4px; }
.proof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 55%); }
.proof .ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); }
.proof:not(.has-img) .tag small { color: #a8a8a8; }
.stat-row { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 40px; justify-content: center; }
.stat { text-align: center; }
.stat .n { font-family: var(--display); font-size: 3.2rem; color: var(--gold); line-height: 1; }
.stat .l { font-size: .95rem; color: #a8a8a8; }
section:not(.dark) .stat .l { color: var(--muted); }

.medals {
  margin: 44px -20px 0; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.medals::-webkit-scrollbar { display: none; }
.medal-track { display: flex; gap: 14px; width: max-content; padding: 0 20px; animation: medalscroll 45s linear infinite; }
.medals:hover .medal-track, .medals:focus-within .medal-track { animation-play-state: paused; }
@keyframes medalscroll { to { transform: translateX(calc(-50% - 7px)); } }
.medal { flex: 0 0 auto; width: 220px; aspect-ratio: 4 / 5; border-radius: 8px; background: #2e2e2e; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.medal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.medal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0) 45%); }
.medal span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-family: var(--display); font-size: 1.2rem; line-height: 1.05; color: #fff; }
@media (max-width: 600px) { .medal { width: 170px; } }
@media (prefers-reduced-motion: reduce) { .medal-track { animation: none; } .medal[aria-hidden] { display: none; } }

/* testimonials */
.testimonials { border-top: 1px solid rgba(255,255,255,.08); }
.vt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 760px) { .vt-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.vt { background: #1b1b1b; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 14px 14px 20px; text-align: center; }
.vt-video { display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; background: #2e2e2e repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px); object-fit: cover; }
.vt-play { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.vt-play svg { width: 26px; height: 26px; margin-left: 4px; }
.vt-label { position: absolute; bottom: 14px; left: 0; right: 0; font-family: var(--display); font-size: 1rem; color: #a8a8a8; letter-spacing: .03em; }
.vt-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.05; color: #fff; margin-top: 16px; letter-spacing: .02em; }
.vt-race { font-size: .98rem; color: var(--gold); margin-top: 4px; }
@media (max-width: 760px) { .vt { padding: 10px 10px 14px; } .vt-name { font-size: 1.25rem; } .vt-race { font-size: .85rem; } .vt-play { width: 48px; height: 48px; } }

/* cards */
.home .card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }
.pain .num { font-family: var(--display); font-size: 1.1rem; color: var(--gold); letter-spacing: .06em; }
.pain h3 { margin: 6px 0 10px; }
.pain p { margin: 0; color: #3a3a3a; }

/* data strip */
.data-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-strip .stat-row { margin-top: 32px; gap: 28px 56px; }
.data-strip .stat { max-width: 200px; }
.data-strip .stat .n { color: var(--ink); }
.data-strip .stat .n em { font-style: normal; color: var(--gold); }
.fine-print { font-size: .85rem; color: var(--muted); text-align: center; margin: 28px 0 0; }

/* story */
.story p { font-size: 1.15rem; }
.story .pull { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; margin: 38px 0 26px; color: var(--gold); text-transform: uppercase; }
.verse { border-left: 4px solid var(--gold); padding: 4px 0 4px 20px; margin: 32px 0; font-style: italic; color: #cfcfcf; }
.verse cite { display: block; font-style: normal; font-size: .9rem; margin-top: 6px; color: #a8a8a8; }

/* what you get */
.stack { margin-top: 36px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.stack-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); align-items: start; }
.stack-row:last-child { border-bottom: 0; }
.stack-row svg { width: 28px; height: 28px; margin-top: 2px; }
.stack-row .t { font-family: var(--display); font-size: 1.4rem; line-height: 1.05; letter-spacing: .02em; }
.stack-row .d { font-size: .98rem; color: var(--muted); margin-top: 4px; }

/* R.A.C.E. system */
.sys-head { max-width: 760px; }
.kicker-dark { font-family: var(--display); font-size: 1.3rem; color: var(--gold); letter-spacing: .05em; margin-bottom: 10px; }
.sys-head .lead { margin-top: 18px; }
.race-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 960px) { .race-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .race-grid { grid-template-columns: 1fr; } }
.pillar { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: 10px; padding: 24px 22px; }
.pillar .letter { font-family: var(--display); font-size: 4.2rem; line-height: .85; color: var(--gold); }
.pillar h3 { margin: 8px 0 8px; font-size: 1.9rem; }
.pillar .what { font-weight: 600; margin: 0 0 12px; line-height: 1.45; }
.pillar ul { list-style: none; padding: 0; margin: 0; }
.pillar li { font-size: .95rem; color: #3a3a3a; padding: 7px 0 7px 18px; border-top: 1px solid var(--line); position: relative; line-height: 1.45; }
.pillar li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* distances */
.dist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
@media (max-width: 860px) { .dist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .dist-grid { grid-template-columns: 1fr; } }
.dist { background: var(--pine-2); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 24px 20px; }
.dist .d-n { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.dist p { margin: 10px 0 0; font-size: .98rem; color: #cfcfcf; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: s; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.steps .card { position: relative; }
.steps .card::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.steps p { margin: 8px 0 0; color: #3a3a3a; }

/* newsletter */
.nl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .nl { grid-template-columns: 1fr; } }
.home .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.home .field label { font-family: var(--display); font-size: 1.1rem; letter-spacing: .03em; text-transform: none; margin: 0; font-weight: 400; }
.home .field input, .home .field select, .home .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); width: 100%; max-width: none;
}
.home .field input:focus-visible, .home .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.ok { background: #e8f2e6; border: 1px solid #9cc394; color: #1f4a1a; border-radius: 8px; padding: 14px 16px; margin-top: 12px; display: none; }
.ok.show { display: block; }
.consent { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* faq */
.home details { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; }
.home details:last-of-type { border-bottom: 1px solid rgba(255,255,255,.14); }
.home summary { cursor: pointer; font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.home summary::-webkit-details-marker { display: none; }
.home summary::after { content: "+"; font-size: 1.6rem; color: var(--gold); }
.home details[open] summary::after { content: "–"; }
.home details p { margin: 12px 0 0; color: #dcdcdc; }

/* ===== apply popup ===== */
#apply-modal {
  display: none; position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.75); overflow-y: auto;
  padding: 24px 16px; color: #fff; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  font-family: "Open Sans", system-ui, sans-serif;
}
body.applying #apply-modal { display: block; animation: qfade .18s ease-out; }
body.applying { overflow: hidden; }
@keyframes qfade { from { opacity: 0; } to { opacity: 1; } }
.quiz-wrap { max-width: 640px; margin: 4vh auto; padding: 48px 32px 36px; background: #232323; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
@media (max-width: 600px) { .quiz-wrap { margin: 0 auto; padding: 48px 18px 28px; } }
.modal-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: rgba(255,255,255,.16); }
.quiz-head { text-align: center; margin-bottom: 8px; }
.quiz-head .step { font-family: var(--display); color: var(--gold); font-size: 1.15rem; letter-spacing: .04em; }
.quiz-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; margin: 8px 0 0; text-transform: uppercase; color: #fff; }
.bar { height: 6px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden; margin: 26px 0 30px; }
.bar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .3s; }
.q { display: none; }
.q.active { display: block; }
.q h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.05; margin: 0 0 20px; color: #fff; }
.opts { display: grid; gap: 12px; }
.opt { background: #2e2e2e; border: 2px solid rgba(255,255,255,.08); color: #fff; padding: 16px 20px; border-radius: 8px; text-align: left; font: inherit; font-size: 1.02rem; cursor: pointer; }
.opt:hover { border-color: var(--gold); }
.opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.opt.sel { border-color: var(--gold); background: #3a3a3a; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 26px; }
.quiz-nav .btn { font-family: var(--display); font-size: 1.15rem; padding: 14px 26px; border-radius: 6px; }
.quiz-nav .btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.quiz-nav .btn-ember { background: var(--gold); color: #1a1a1a; border: 0; }
.quiz-nav .btn:disabled { opacity: .45; cursor: not-allowed; }
.result { display: none; }
.result.active { display: block; }
.result-card { background: #2e2e2e; border: 2px solid var(--gold); border-radius: 12px; padding: 28px; }
.result-card .label { font-family: var(--display); color: #a8a8a8; font-size: 1.1rem; letter-spacing: .04em; }
.result-card .name { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--gold); text-transform: uppercase; margin-top: 4px; }
.result-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 22px 0; }
#apply-modal .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
#apply-modal .field label { font-family: var(--display); font-size: 1.1rem; letter-spacing: .03em; }
#apply-modal .field input, #apply-modal .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); background: #1a1a1a; color: #fff; width: 100%; }
#apply-modal .field input:focus-visible, #apply-modal .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
#apply-modal .btn-submit { width: 100%; font-family: var(--display); font-size: 1.25rem; padding: 15px; border-radius: 6px; border: 0; background: var(--gold); color: #1a1a1a; cursor: pointer; letter-spacing: .02em; }
#apply-modal .btn-submit:disabled { opacity: .6; cursor: default; }
#apply-modal .consent { color: #a8a8a8; }
.home section[id] { scroll-margin-top: 96px; }
.proof-section { background: #f4f4f4; }
.proof-section .lead { color: #3a3a3a; }
video.vt-video { display: block; background: #000; object-fit: cover; }
.proof-section .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
@media (max-width: 700px) { .proof-section .stat-row { grid-template-columns: repeat(2, 1fr); } }
#apply-modal .field select { max-width: none; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,.14); background: #1a1a1a; color: #fff; width: 100%; }
#apply-modal .field select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
#apply-modal .field[hidden] { display: none; }
.quiz-wrap.wide { max-width: 860px; }
.booking[hidden], #apply-form[hidden] { display: none; }
.booking-lead { margin: 0 0 16px; font-size: 1.05rem; }
.booking-frame { background: #fff; border-radius: 8px; overflow: hidden; }
.booking-frame iframe { display: block; width: 100%; height: 640px; border: 0; }
.booking-alt { margin: 12px 0 0; font-size: .9rem; color: #a8a8a8; text-align: center; }
.booking-alt a { color: var(--gold); }
@media (max-width: 600px) { .booking-frame iframe { height: 75vh; } }
.err { background: #fde8e2; border: 1px solid #f2643b; color: #8a2a0d; border-radius: 8px; padding: 14px 16px; margin-top: 12px; display: none; }
.err.show { display: block; }
.home .video.vsl { aspect-ratio: 1670 / 1078; background: #000; }
.home .video.vsl video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* VSL cover */
.home .video.vsl { position: relative; border: 2px solid var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.vsl-cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: #000; }
.vsl-cover[hidden] { display: none; }
.vsl-cover img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s ease; }
.vsl-cover .vsl-bg { object-fit: cover; filter: blur(24px) brightness(.55); transform: scale(1.15); }
.vsl-cover .vsl-photo { object-fit: cover; object-position: 55% 45%; }
.vsl-cover::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); transition: background .2s; }
.vsl-cover:hover::after { background: rgba(0,0,0,.05); }
.vsl-cover:hover .vsl-photo { transform: scale(1.02); }
.vsl-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(72px, 11vw, 112px); height: clamp(72px, 11vw, 112px); border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform .2s; animation: vslpulse 2s ease-out infinite; }
.vsl-play svg { width: 42%; height: 42%; fill: #1a1a1a; margin-left: 6%; }
.vsl-cover:hover .vsl-play { transform: translate(-50%, -50%) scale(1.08); }
@keyframes vslpulse { 0% { box-shadow: 0 0 0 0 rgba(218,166,94,.6), 0 10px 30px rgba(0,0,0,.5); } 100% { box-shadow: 0 0 0 24px rgba(218,166,94,0), 0 10px 30px rgba(0,0,0,.5); } }
@media (prefers-reduced-motion: reduce) { .vsl-play { animation: none; } }
.vsl-cover:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Proof card subtitles: show on hover / tap */
.proof .tag small { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; transition: max-height .3s ease, opacity .25s ease, margin-top .3s ease; }
.proof:hover .tag small, .proof:focus .tag small, .proof:focus-within .tag small { max-height: 6em; opacity: 1; margin-top: 4px; }
.proof[tabindex] { cursor: pointer; }
.proof[tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.proof.has-img::after { transition: background .3s ease; }
.proof[tabindex]:hover::after, .proof[tabindex]:focus::after { background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.15) 75%); }
.proof .tag small .np { font-style: italic; opacity: .75; font-size: .9em; }
.vt-grid.vt-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .vt-grid.vt-4 { grid-template-columns: repeat(2, 1fr); } }
