/* Funnel pages, rebuilt 2026-11-25 to Brandon Willington's landing page rules.
   Sits on top of site.css (tokens, buttons, FAQ, proof, about, footer). */

.eyebrow { font-size: var(--step-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- hero ---------- */
.top { padding: clamp(1rem, 3vw, 2.5rem) var(--margin) 0; }
.top .eyebrow { max-width: 60ch; }
.top__title { margin-top: 0.9rem; max-width: 22ch; text-wrap: balance; font-size: clamp(2.125rem, 1.3rem + 3.4vw, 4.25rem); line-height: 1.03; letter-spacing: -0.035em; }
.top__sub { margin-top: 1.1rem; max-width: 46ch; font-size: var(--step-body); line-height: 1.45; color: var(--muted); }
.top__grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 62.5em) {
  .top__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}
.watch-first { display: inline-block; margin-bottom: 0.6rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: var(--step-small); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* the VSL: autoplays muted (captions are burned in), one tap restarts it with sound */
.vsl { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.vsl video { width: 100%; height: 100%; object-fit: cover; }
.vsl__sound { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: clamp(0.75rem, 3vw, 1.5rem); -webkit-tap-highlight-color: transparent; }
.vsl__sound[hidden] { display: none; }
.vsl__sound > span:last-child { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.55rem 1.1rem 0.55rem 0.5rem; border-radius: 0 999px 999px 0; background: var(--dark); color: var(--on-dark); font-size: var(--step-small); font-weight: 600; }
.vsl__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); position: relative; z-index: 1; margin-right: -0.4rem; transition: transform var(--t-press) var(--ease-out); }
.vsl__sound:active .vsl__icon { transform: scale(0.94); }
.vsl__sound:focus-visible { outline-offset: -6px; }

/* ---------- the application card ---------- */
.apply { scroll-margin-top: calc(var(--header-h) + 0.5rem); }
.apply__cta { font-size: var(--step-body); font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; }
.apply__cta strong { font-weight: 600; }
.survey { margin-top: 1rem; padding: clamp(1.1rem, 2.6vw, 1.75rem); background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgb(33 41 48 / 6%), 0 8px 28px rgb(33 41 48 / 8%); }
.survey__bar { height: 6px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.survey__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 420ms var(--ease-out); }
.survey__count { margin-top: 0.6rem; min-height: 1.5em; }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.qstep + .qstep { margin-top: 1.75rem; }
.qstep legend { padding: 0; margin-bottom: 0.9rem; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.opt { position: relative; display: flex; align-items: center; gap: 0.8rem; min-height: 3.25rem; padding: 0.7rem 1rem; border-radius: 12px; background: var(--bg); font-size: var(--step-small); line-height: 1.35; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.opt + .opt { margin-top: 0.5rem; }
.opt:active { transform: scale(0.985); }
.opt input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--ink); }
.opt:has(input:checked) { background: #FBF1D3; box-shadow: inset 0 0 0 2px var(--accent); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .opt:hover { background: var(--surface); } }
.opts-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.opts-2 .opt + .opt { margin-top: 0; }
.infield { display: grid; gap: 0.35rem; font-size: var(--step-small); font-weight: 500; }
.infield + .infield { margin-top: 0.85rem; }
.infield input { min-height: 3.25rem; padding: 0.7rem 0.9rem; border: 1.5px solid #CDD3D9; border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 1.0625rem; font-weight: 400; transition: border-color var(--t-hover) ease; }
.infield input:focus { outline: none; border-color: var(--ink); }
.infield input[aria-invalid="true"] { border-color: #B3261E; }
.infield__error { margin-top: 0.75rem; color: #B3261E; font-weight: 500; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.survey__go { width: 100%; margin-top: 1.25rem; }
.survey__note { margin-top: 0.7rem; text-align: center; }
.survey__nav { margin-top: 0.75rem; min-height: 2.5rem; }
.survey__back { padding: 0.5rem 0.25rem; font-size: var(--step-small); text-decoration: underline; text-underline-offset: 0.2em; color: var(--muted); }
.survey.is-sending .survey__go { opacity: 0.6; pointer-events: none; }

/* one question at a time once scripts run; without scripts, every question shows and it posts normally */
.js .survey .qstep { display: none; margin-top: 0; }
.js .survey .qstep.is-on { display: block; animation: step-in 380ms var(--ease-out); }
.js .survey .qstep.is-on.is-back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* ---------- how it works: two slides ---------- */
.how2 { padding: var(--section) var(--margin) 0; }
.how2__row { display: grid; gap: clamp(1.25rem, 3vw, 3rem); align-items: center; margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 50em) {
  .how2__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .how2__row--flip .how2__img { order: -1; }
  .how2__row--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.how2__h { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; }
.how2__kicker { margin-top: 0.35rem; font-style: italic; color: var(--muted); }
.how2__img { width: 100%; max-height: 26rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.ticks { margin-top: 1.1rem; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 2rem; max-width: 46ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23212930' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* ---------- FAQ in four groups ---------- */
.faq--grouped .faq__eyebrow { grid-column: 1 / -1; margin-bottom: 0.6rem; }
.faq__group { margin: 2.25rem 0 0.4rem; font-size: var(--step-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.faq__group:first-child { margin-top: 0; }

/* ---------- who it's for ---------- */
.who { padding: var(--section) var(--margin) 0; }
.who__list { display: grid; gap: 0.75rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 50em) { .who__list { grid-template-columns: 1fr 1fr; } }
.who__list li { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--surface); font-size: var(--step-body); line-height: 1.4; }

/* ---------- the close, shorter than the old one ---------- */
.close--short { min-height: 0; display: block; padding: clamp(4rem, 9vw, 7rem) var(--margin); }
.close--short .close__mid { display: grid; justify-items: center; gap: 1.25rem; padding: 0; }
.close__kicker { color: var(--on-dark-muted); font-weight: 600; }
.close__h { max-width: 22ch; font-size: var(--step-head); line-height: 1.04; letter-spacing: -0.035em; }
.close--short .button { white-space: normal; }

/* ---------- booking, thank-you and not-a-fit pages ---------- */
.page { padding: clamp(1.25rem, 3vw, 2.5rem) var(--margin) var(--section); }
.page__inner { max-width: 54rem; margin-inline: auto; }
.progress { display: grid; gap: 0.45rem; max-width: 34rem; }
.progress__bar { height: 10px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 90%; border-radius: inherit; background: var(--accent); }
.progress__label { font-size: var(--step-small); font-weight: 600; }
.page__title { margin-top: 1.25rem; font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; }
.page__title strong { font-weight: 600; color: var(--muted); }
.page__note { margin-top: 1rem; max-width: 52ch; font-size: var(--step-small); color: var(--muted); }
.booking { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 1px 2px rgb(33 41 48 / 6%), 0 8px 28px rgb(33 41 48 / 8%); }
.booking iframe { display: block; width: 100%; height: 900px; border: 0; }
.heads-up { margin-top: 1.75rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--surface); }
.heads-up h2 { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.02em; }
.heads-up p { margin-top: 0.75rem; max-width: 56ch; }
.page .vsl { margin-top: 1.5rem; }
.bring { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .js .survey .qstep.is-on { animation: step-fade 200ms ease; }
  @keyframes step-fade { from { opacity: 0; } to { opacity: 1; } }
  .survey__bar span { transition: none; }
}
@media (min-width: 62.5em) {
  .top__title { max-width: 30ch; font-size: clamp(2.5rem, 1.2rem + 2.6vw, 3.75rem); }
}

/* video placeholder until the YouTube embed goes in */
.vsl--soon img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.vsl__soon { position: absolute; inset: auto 0 0 0; display: flex; justify-content: center; padding: clamp(0.75rem, 3vw, 1.5rem); background: linear-gradient(to top, rgb(33 41 48 / 70%), transparent); }
.vsl__soon span { padding: 0.55rem 1.1rem; border-radius: 999px; background: var(--dark); color: var(--on-dark); font-size: var(--step-small); font-weight: 600; }

/* =====================================================================
   CENTERED LAYOUT (Joey's house style, as on Paul's and the other pages):
   one centered column, everything centered, cards included. 18px minimum
   reading text on phones.
   ===================================================================== */
@media (max-width: 40em) {
  :root { --step-small: 1.125rem; }
}

/* hero: one column, video then the questions */
.top { text-align: center; }
.top .eyebrow, .top__title, .top__sub { margin-inline: auto; }
.top__title { max-width: 24ch; }
.top__grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 46rem; margin-inline: auto; }
.top__film { max-width: 44rem; width: 100%; margin-inline: auto; }
.vsl { box-shadow: 0 0 0 4px var(--white), 0 12px 36px rgb(33 41 48 / 16%); }
.apply { max-width: 38rem; width: 100%; margin-inline: auto; }
.apply__cta { max-width: 34ch; margin-inline: auto; font-size: var(--step-lead); }
.survey { text-align: center; }
.qstep legend { width: 100%; text-align: center; }
.opt { justify-content: center; text-align: center; }
.opt input { position: absolute; left: 1rem; }
.opt span { padding-inline: 1.75rem; }
.opts-2 .opt span { padding-inline: 1.25rem 0; }
.infield { text-align: left; }
.survey__nav { text-align: center; }
@media (min-width: 62.5em) {
  .top__title { max-width: 26ch; }
}

/* how it works: centered slides, picture above the words */
.how2 { text-align: center; }
.how2__row, .how2__row--flip { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; max-width: 44rem; margin-inline: auto; }
.how2__row--flip .how2__img { order: -1; }
.how2__row .how2__img { order: -1; max-width: 34rem; }
.ticks { justify-items: center; }
.ticks li { padding-left: 0; }
.ticks li::before { position: static; display: block; margin: 0 auto 0.4rem; }

/* FAQ: centered cards */
.faq--grouped { display: block; text-align: center; }
.faq--grouped .faq__list { max-width: 46rem; margin-inline: auto; }
.faq--grouped .faq__item { margin: 0 0 0.6rem; padding: 0 clamp(1rem, 3vw, 1.5rem); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgb(33 41 48 / 6%), 0 6px 20px rgb(33 41 48 / 6%); }
.faq--grouped .faq__item summary { justify-content: center; text-align: center; }
.faq--grouped .faq__a p { margin-inline: auto; }
.faq__group { text-align: center; }

/* who it's for: centered cards */
.who { text-align: center; }
.who__list { max-width: 56rem; margin-inline: auto; }
.who__list li { background: var(--white); box-shadow: 0 1px 2px rgb(33 41 48 / 6%), 0 6px 20px rgb(33 41 48 / 6%); }

/* experience: centered figures */
.proof { text-align: center; }
.proof .grid, .about .grid { display: block; }
.figures { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); max-width: 60rem; margin-inline: auto; }
.figure { grid-template-columns: 1fr; justify-items: center; row-gap: 0.3rem; }
.figure dd { margin-inline: auto; }
.proof__note p { margin-inline: auto; }
.proof__links { justify-items: center; }

/* why I do this: photo above, centered story */
.about { text-align: center; }
.about__bio { max-width: 44rem; margin-inline: auto; }
.about__portrait { float: none; display: block; width: 9rem; height: 9rem; margin: 0 auto 1.25rem; border-radius: 50%; box-shadow: 0 8px 24px rgb(33 41 48 / 14%); }
.about__quote { margin-inline: auto; }

/* footer: centered */
.site-footer { text-align: center; }
.footer__top, .footer__meta { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; justify-items: center; }
.footer__top > *, .footer__meta > * { grid-column: auto !important; justify-self: center !important; }
.footer__top p { max-width: 40ch; }
.footer__social { justify-content: center; }
.footer__legal { columns: auto; max-width: 52rem; margin-inline: auto; }
.footer__legal p { margin-inline: auto; }

/* booking, thank-you, not-a-fit pages */
.page { text-align: center; }
.progress { margin-inline: auto; }
.page__title, .page__note, .heads-up p { margin-inline: auto; }
.page .faq--grouped .faq__title { text-align: center; }
@media (min-width: 62.5em) {
  .top__film { max-width: 38rem; }
  .top__grid { gap: 1.75rem; margin-top: 1.5rem; }
  .top__sub { margin-top: 0.8rem; }
}
