/* Kings Path: practitioner pages, in the v5 house style (night, ivory, Jost).
   Same rules as the home page:
   - Ivory, filled, is the one action: Save my seat.
   - Gold is the reading: the visitor's own numbers in the return check. Nothing else is gold but one hairline on the nameplate.
   - Three layers: the night canvas, the deep bands, and one lifted thing, the sign-up card.
   These pages have one job, a form fill, so nothing moves but the return-check bar. */

:root {
  color-scheme: dark;
  --night: #070D18; --deep: #0B1422; --lift: #101B2C;
  --ivory: #F3EFE6; --ivory-2: #C3CBD6; --ivory-3: #93A0B1; --slate: #5E6E86;
  --gold: #D6B17D; --ink: #0E1C2E;
  --hair: rgb(243 239 230 / .12); --hair-2: rgb(243 239 230 / .22);
  --display: "Jost", system-ui, sans-serif; --text: "Jost", system-ui, sans-serif;
  --t-h1: clamp(2.5rem, 1.2rem + 3.3vw, 4.25rem);
  --t-h2: clamp(1.875rem, 1.1rem + 2vw, 3rem);
  --t-lead: clamp(1.1875rem, 1rem + .6vw, 1.5rem);
  --gutter: clamp(20px, 4.4vw, 64px);
  --sec: clamp(72px, 11vh, 136px);
  --measure: 60ch;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: clip; font-family: var(--text); font-size: 1.125rem; line-height: 1.55; color: var(--ivory-2); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--ivory); text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -.03em; margin-bottom: clamp(20px, 3vh, 32px); max-width: 22ch; }
h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 16px; max-width: var(--measure); text-wrap: pretty; }
ul, ol { margin: 0 0 16px; padding-left: 1.2em; max-width: var(--measure); }
li { margin-bottom: 10px; }
strong { font-weight: 500; color: var(--ivory); }
a { color: var(--ivory); text-underline-offset: .2em; text-decoration-color: var(--hair-2); }
a:hover { text-decoration-color: var(--ivory); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--ivory); color: var(--ink); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }

/* ---- chrome: the lockup and the one action ---- */
.site-head { position: sticky; top: 0; z-index: 30; background: rgb(7 13 24 / .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hair); }
.site-head .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; }
.brand img { width: 141px; height: 32px; }

/* ---- the one action ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 0 32px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--ivory); color: var(--ink); font: 500 1.0625rem/1 var(--text); text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 0 #fff inset, 0 16px 34px -12px rgb(0 0 0 / .8); transition: background-color 160ms var(--ease), transform 120ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #fff; } }
.btn:active { transform: scale(.98); }
.btn-auto { width: auto; margin-top: 16px; }
.btn-sm { width: auto; min-height: 40px; padding: 0 16px; font-size: 1rem; box-shadow: 0 1px 0 #fff inset; }

/* ---- hero: words on the left, the lifted sign-up card on the right ---- */
.hero { position: relative; padding: clamp(40px, 8vh, 96px) 0 var(--sec);
  background: radial-gradient(120% 90% at 86% 8%, #14233a 0, rgb(11 20 34 / .6) 42%, rgb(7 13 24 / 0) 72%), var(--night); }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 1rem; color: var(--ivory-2); max-width: none; }
.hero-meta::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--hair-2); }
.hero-sub { margin-top: 24px; font-size: var(--t-lead); line-height: 1.45; color: var(--ivory-2); max-width: 36ch; }
.who { margin-top: 20px; font-size: 1.0625rem; color: var(--ivory-3); max-width: 46ch; }
.who strong { color: var(--ivory-2); }
.host { display: flex; align-items: center; gap: 14px; margin: 32px 0 0; font-size: 1.0625rem; line-height: 1.35; color: var(--ivory-2); }
.host img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgb(243 239 230 / .24); }
.host b { display: block; font-weight: 500; color: var(--ivory); }

.signup-zone { margin-top: 40px; }
.card-form { max-width: 30rem; padding: clamp(22px, 3vw, 36px); border-radius: 16px; background: var(--lift);
  box-shadow: 0 1px 0 rgb(243 239 230 / .08) inset, 0 0 0 1px var(--hair), 0 40px 80px -40px rgb(0 0 0 / .9); }
.card-form h2 { font-size: 1.75rem; letter-spacing: -.02em; margin-bottom: 6px; max-width: none; }
.card-form .when { margin-bottom: 22px; font-size: 1rem; color: var(--ivory-2); }

.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--ivory-2); }
.field .hint { display: block; margin-top: 6px; font-size: .9375rem; color: var(--ivory-3); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--night); color: var(--ivory); font: 400 1.0625rem/1.2 var(--text);
  box-shadow: inset 0 0 0 1px var(--hair-2); transition: box-shadow 160ms var(--ease); }
.field input:focus, .field select:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ivory); }
.under-btn { margin: 14px 0 0; font-size: 1rem; color: var(--ivory-2); }
.consent { margin: 8px 0 0; font-size: .9375rem; line-height: 1.4; color: var(--ivory-3); }
.form-status { margin: 10px 0 0; font-size: 1rem; color: var(--ivory); }
.form-status:empty { display: none; }

@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .signup-zone { margin-top: 0; }
  .card-form { margin-left: auto; }
}
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---- sections: night, then deep, in turn ---- */
.section { padding: var(--sec) 0; }
.section-alt { background: var(--deep); }
.lede { font-size: var(--t-lead); line-height: 1.45; color: var(--ivory-2); max-width: 44ch; }

.pains { list-style: none; padding: 0; max-width: 46rem; border-top: 1px solid var(--hair); }
.pains li { position: relative; margin: 0; padding: 18px 0 18px 28px; border-bottom: 1px solid var(--hair); font-size: clamp(1.1875rem, 1rem + .5vw, 1.4375rem); line-height: 1.35; color: var(--ivory); }
.pains li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; background: var(--slate); }

/* the method: three steps in order, joined by one line so the order reads at a glance */
.steps { list-style: none; padding: 0; margin: clamp(28px, 4vh, 48px) 0 0; max-width: none; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; margin: 0; padding: 22px 0 22px 64px; border-top: 1px solid var(--hair); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1.125rem/1 var(--display); color: var(--ivory); background: var(--deep); box-shadow: inset 0 0 0 1px var(--hair-2); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ivory-2); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
  .steps li { padding: 64px 0 0; border-top: 0; }
  .steps li::before { top: 0; }
  .steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: calc(-1 * clamp(20px, 3vw, 48px) + 12px); height: 1px; background: var(--hair-2); }
  .steps li:last-child::after { display: none; }
}

.example { margin: clamp(28px, 4vh, 44px) 0 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--hair-2); max-width: 46rem; }
.example h3 { margin-bottom: 8px; font-size: 1.25rem; }
.example p:last-child { margin-bottom: 0; }

/* ---- the return check: the visitor's own two numbers, drawn. The only gold on the page. ---- */
.check { max-width: 44rem; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--hair); }
.check-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.check .field { margin-bottom: 0; }
.check .field input { background: var(--night); font-size: 1.25rem; min-height: 56px; }
.check-out { margin-top: 24px; min-height: 7.5em; }
.check-out p { margin-bottom: 8px; }
.check-num { font: 500 clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem)/1.1 var(--display); letter-spacing: -.02em; color: var(--ivory); font-variant-numeric: tabular-nums; }
.check-num::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; border-radius: 50%; background: var(--gold); vertical-align: .14em; }
.kc-bar { display: block; margin: 16px 0 6px; height: 14px; border-radius: 7px; background: var(--slate); overflow: hidden; }
.kc-bar i { display: block; height: 100%; min-width: 4px; border-radius: 7px 0 0 7px; background: var(--gold); transition: width 500ms var(--ease); }
.kc-key { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 16px; font-size: 1rem; color: var(--ivory-3); max-width: none; }
.kc-key b { font-weight: 400; color: var(--gold); }

/* ---- who is teaching: his portrait with his name on it, beside the proof ---- */
.bio { display: grid; gap: clamp(24px, 4vw, 64px); }
.me-wrap { position: relative; margin: 0; width: min(100%, 30rem); mix-blend-mode: lighten; }
.me { width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.nameplate { margin-top: -8px; padding-top: 14px; border-top: 1px solid var(--gold); font-size: 1rem; line-height: 1.4; color: var(--ivory-3); }
.nameplate b { display: block; font: 500 1.5rem/1.1 var(--display); letter-spacing: -.015em; color: var(--ivory); }
@media (min-width: 900px) {
  .bio { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; align-items: start; }
  .bio .me-wrap { grid-row: 1 / span 2; }
}
.proof { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair); }
.proof li { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.note { font-size: 1rem; color: var(--ivory-3); }

/* ---- the paid program, stated up front ---- */
.offer { max-width: 46rem; }
.offer dl { display: grid; grid-template-columns: max-content 1fr; margin: 24px 0; border-top: 1px solid var(--hair); }
.offer dt, .offer dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.offer dt { padding-right: clamp(24px, 6vw, 72px); color: var(--ivory-3); }
.offer dd { font: 500 1.25rem/1.3 var(--display); color: var(--ivory); }

/* ---- questions ---- */
.faq details { max-width: 50rem; border-bottom: 1px solid var(--hair); }
.faq details:first-of-type { border-top: 1px solid var(--hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 500 clamp(1.1875rem, 1rem + .6vw, 1.5rem)/1.2 var(--display); letter-spacing: -.015em; color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; border-right: 1.5px solid var(--ivory-2); border-bottom: 1.5px solid var(--ivory-2); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq details p { margin: 0 0 22px; }

.final h2 { font-size: var(--t-h1); line-height: 1; letter-spacing: -.035em; max-width: 16ch; }
.final p { font-size: var(--t-lead); }
.final .btn { width: auto; margin-top: 12px; }

.site-foot { padding: 40px 0 56px; border-top: 1px solid var(--hair); font-size: 1rem; color: var(--ivory-3); }
.site-foot p { margin-bottom: 12px; max-width: 70ch; }
.site-foot a { color: var(--ivory-2); }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 16px; max-width: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot li { margin: 0; }

/* ---- thanks page ---- */
.cal { max-width: 34rem; margin-bottom: 24px; padding: 20px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.cal p { margin-bottom: 4px; }
.cal p:first-child strong { font: 500 1.5rem/1.2 var(--display); letter-spacing: -.015em; }
.bring { counter-reset: b; list-style: none; padding: 0; }
.bring li { counter-increment: b; position: relative; padding: 4px 0 4px 56px; margin-bottom: 16px; }
.bring li::before { content: counter(b); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font: 500 1.125rem/1 var(--display); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--hair-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
