/* ==========================================================================
   Thru Line Performance
   Design tokens are in :root. Everything below reads from them.
   ========================================================================== */

:root {
  --cream:    #FAF8F3;
  --navy:     #0B2540;
  --blue:     #1B6FA8;
  --blue-dk:  #135079;
  --orchid:   #E59DED;
  --sky:      #90C9F0;
  --lavender: #E7E2F0;

  --ink-80: rgba(11, 37, 64, 0.8);
  --ink-78: rgba(11, 37, 64, 0.78);
  --ink-75: rgba(11, 37, 64, 0.75);
  --ink-85: rgba(11, 37, 64, 0.85);
  --cream-92: rgba(250, 248, 243, 0.92);

  --mono:  'Kode Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  --radius: 3px;
  --radius-sm: 2px;

  /* Section rhythm */
  --sec-y: clamp(32px, 3.8vw, 54px);
}

/* ---------- Reset / base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; }

::selection { background: var(--orchid); color: var(--navy); }

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

*:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 13px;
  padding: 12px 18px;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Layout primitives ---------- */

.root {
  position: relative;
  background: var(--cream);
  overflow-x: clip;
}

.wrap {
  width: min(1080px, 82vw);
  margin-inline: auto;
}
.wrap--wide { width: min(1240px, 92vw); }

/* Spine anchor points. Zero-size, invisible; the script reads their centers. */
.spine-node {
  position: absolute;
  width: 1px;
  height: 1px;
}

/* Where the line enters and leaves the stages block. Positioned here rather
   than inline so the mobile layout can move them. */
.spine-node--stages-in  { left: -6vw;     top: 11px; }
.spine-node--stages-out { right: -2.5vw;  top: 11px; }

/* ---------- Type helpers ---------- */

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-75);
}
.eyebrow--blue   { color: var(--blue); }
.eyebrow--onblue { color: var(--cream); }

.h2 {
  margin: 0 0 clamp(24px, 3vw, 42px);
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--blue);
  max-width: 24ch;
}
.h2--tight  { margin-bottom: 16px; line-height: 1; }
.h2--onblue { color: var(--cream); }

.mono   { font-family: var(--mono); font-size: 0.9em; }
.muted  { color: var(--ink-78); }
.accent-blue { color: var(--blue); }
.mark   { box-shadow: inset 0 -0.42em 0 var(--orchid); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--cream);
  text-decoration: none;
  padding: 19px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--navy); color: var(--cream); }

.btn--sm { font-size: 12px; padding: 11px 16px; }
.btn--lg { font-size: 16px; padding: 21px 32px; }

.btn--accent { background: var(--orchid); color: var(--navy); }
.btn--accent:hover { background: var(--blue); color: var(--cream); }
.btn--lg.btn--accent:hover { background: var(--blue); color: var(--cream); }

.link-dashed {
  display: inline;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--blue);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: var(--orchid);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.link-dashed:hover { text-decoration-color: var(--blue); }

/* ==========================================================================
   The thru line
   ========================================================================== */

.spine {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(231, 226, 240, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sky);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-header__logo { display: flex; align-items: center; text-decoration: none; }
.site-header__logo img { height: 30px; width: auto; display: block; }

.nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.nav a {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
}
.nav a:hover { color: var(--blue); }
.nav a.btn { color: var(--cream); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; padding: 0 0 clamp(28px, 3.4vw, 48px); }

.hero__bg {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    radial-gradient(62% 88% at 96% 4%,  rgba(229, 157, 237, 0.62) 0%, rgba(229, 157, 237, 0.18) 44%, rgba(229, 157, 237, 0) 74%),
    radial-gradient(58% 82% at 2% 96%,  rgba(144, 201, 240, 0.7)  0%, rgba(144, 201, 240, 0.2)  46%, rgba(144, 201, 240, 0) 76%),
    linear-gradient(155deg, #FAF8F3 0%, #F1EEF7 42%, #E7E2F0 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(40px, 5vw, 72px) 0 clamp(30px, 4vw, 56px);
}

.hero__copy { flex: 1 1 460px; min-width: 280px; max-width: 640px; }

.hero__wordmark {
  display: block;
  width: min(460px, 88%);
  height: auto;
  margin: 0 0 clamp(26px, 3.5vw, 44px);
}

.hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--blue);
  max-width: 24ch;
}

.hero__lede {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
}

.hero__cta { max-width: 36ch; margin-top: clamp(24px, 3vw, 38px); }
.hero__cta-note { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-75); }

/* Photo: grayscale, then recolored blue→pink, then feathered into the gradient. */
.hero__media {
  flex: 1 1 380px;
  min-width: 260px;
  position: relative;
  align-self: stretch;
  min-height: clamp(260px, 32vw, 440px);
  margin-right: calc((min(1240px, 92vw) - 100vw) / 2);
  -webkit-mask-image: linear-gradient(105deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 22%, rgba(0,0,0,0.85) 52%, #000 78%);
          mask-image: linear-gradient(105deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 22%, rgba(0,0,0,0.85) 52%, #000 78%);
}

.hero__photo {
  position: absolute;
  inset: 0;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero__tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, var(--orchid) 0%, var(--orchid) 30%, var(--blue) 100%);
  mix-blend-mode: color;
  opacity: 0.62;
}
.hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(250,248,243,0.4) 0%, rgba(144,201,240,0.14) 40%, rgba(250,248,243,0) 75%);
}

/* ==========================================================================
   The problem
   ========================================================================== */

.problem { position: relative; padding: clamp(24px, 3vw, 44px) 0; }

.problem__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  align-items: flex-start;
}

.problem__label {
  flex: 0 1 260px;
  margin: 0;
  background: var(--lavender);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 26px);
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--blue);
}

.problem__body {
  flex: 1 1 460px;
  margin: 0;
  max-width: 58ch;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.42;
}

/* ==========================================================================
   Stages
   ========================================================================== */

.stages { position: relative; padding: clamp(34px, 4vw, 58px) 0 clamp(26px, 3vw, 40px); }
.stages .h2 { margin-bottom: clamp(28px, 4vw, 58px); max-width: 22ch; }

.stages__row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 1.8vw, 30px);
  align-items: flex-start;
}

.stage { position: relative; flex: 1 1 124px; min-width: 118px; }

.stage__dot {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cream);
  border: 4px solid var(--blue);
  position: relative;
  z-index: 2;
}

.stage__name {
  margin: 22px 0 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
}
.stage__desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-78); }

/* Shared CTA row (stages, how, etc.) */
.cta-row {
  position: relative;
  margin-top: clamp(28px, 3.6vw, 50px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.cta-row__text { margin: 0; max-width: 40ch; font-size: 17px; line-height: 1.5; color: var(--ink-85); }

/* ==========================================================================
   How it works
   ========================================================================== */

.how { position: relative; padding: var(--sec-y) 0; }

.steps { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.5vw, 30px); }

.step {
  flex: 1 1 240px;
  background: var(--lavender);
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
}
.step--invert { background: var(--blue); color: var(--cream); }

.step__num {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  color: var(--blue);
}
.step--invert .step__num { color: var(--cream); }

.step__name {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.step__desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-80); }
.step--invert .step__desc { color: var(--cream-92); }

/* ==========================================================================
   Programs
   ========================================================================== */

.pricing { position: relative; padding: var(--sec-y) 0; }
.pricing .h2 { margin-bottom: clamp(20px, 2.6vw, 34px); }

/* ---- Recommender ---- */

.rec {
  background: var(--cream);
  border: 2px solid var(--lavender);
  border-top: 5px solid var(--sky);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  margin-bottom: clamp(28px, 3.5vw, 46px);
}

.rec__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.rec__head .eyebrow { margin: 0; }

/* This tells people the sentence is interactive at all, so it earns weight.
   Text stays blue for contrast; the arrow is orchid to match the dashed
   underlines it is pointing at. */
.rec__hint {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: right;
}

.rec__hint-arrow {
  display: block;
  width: 54px;
  height: auto;
  margin: 4px 8px -14px auto;  /* negative bottom lets it reach toward the sentence */
  overflow: visible;
}
.rec__hint-arrow path { stroke: var(--orchid); stroke-width: 3; }

.rec__sentence {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.85;
  color: var(--navy);
}

/* Inline dropdowns */
.dd { position: relative; display: inline; }

.dd__trigger {
  display: inline;
  font-family: var(--serif);
  font-size: inherit;
  line-height: inherit;
  font-weight: 500;
  font-style: italic;
  color: var(--blue);
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

/* The dashed underline sits on the label, not the button, so the caret stays
   undecorated without needing display:inline-block. That matters: an
   inline-block is an atomic inline, and no word joiner can stop the line
   breaking beside one — which orphaned the sentence's final "." onto its own
   line on narrow screens. As a plain inline, the caret glues to its
   punctuation. */
.dd__trigger [data-dd-label] {
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: var(--orchid);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.dd__trigger:hover [data-dd-label] { text-decoration-color: var(--blue); }

.dd__caret {
  display: inline;
  color: var(--blue);
  font-size: 0.55em;
  padding-left: 7px;
  cursor: pointer;
  text-decoration: none;
}

.dd__menu {
  position: absolute;
  left: -6px;
  top: calc(100% + 10px);
  z-index: 30;
  display: flex;
  flex-direction: column;
  min-width: max(260px, 100%);
  background: var(--cream);
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 14px 34px rgba(11, 37, 64, 0.2);
}
.dd__menu[hidden] { display: none; }

.dd__option {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
  text-align: left;
  color: var(--navy);
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.dd__option:hover { background: rgba(27, 111, 168, 0.08); }

.dd__mark {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--blue);
  width: 20px;
  flex: none;
}

.rec__result {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  align-items: flex-end;
  justify-content: space-between;
  margin-top: clamp(26px, 3vw, 36px);
  padding-top: clamp(22px, 2.5vw, 30px);
  border-top: 1px solid var(--lavender);
}
.rec__result-copy { flex: 1 1 300px; }
.rec__result-copy .eyebrow { margin-bottom: 10px; font-size: 11px; color: var(--ink-78); }

.rec__name {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.rec__rate { font-size: 0.62em; color: var(--navy); margin-left: 0.4em; }
.rec__why { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.5; color: var(--ink-80); }

/* ---- Tables ---- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ptable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  min-width: 880px;
  table-layout: auto;
}
.ptable caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink-78);
  padding-bottom: 14px;
}
.ptable thead tr { border-bottom: 2px solid var(--blue); }
.ptable th[scope="col"] {
  text-align: left;
  padding: 0 14px 10px 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--blue);
}
.ptable th[scope="col"] + th { padding-left: 14px; }

.ptable th[scope="row"] {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px 14px 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--blue);
  border-right: 1px solid var(--lavender);
  width: 16%;
}
.ptable td { padding: 14px 14px; font-size: 16px; }
.ptable tbody tr:not(.ptable__last) th,
.ptable tbody tr:not(.ptable__last) td { border-bottom: 1px solid var(--lavender); }

.ptable__program { font-weight: 700; padding-left: 18px !important; }
.ptable__price   { white-space: nowrap; }
.ptable__block   { min-width: 150px; }
.ptable__prose   { font-family: var(--serif); line-height: 1.4; color: var(--ink-85); }

.price     { font-weight: 700; color: var(--blue); }
.price__unit { font-weight: 400; font-size: 12px; color: var(--ink-78); }
.price-3mo { color: rgba(11, 37, 64, 0.82); }

.ptable__perk {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: normal;
}

.alc-link { margin: 18px 0 0; font-size: 16px; line-height: 1.5; }

.pricing__foot {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
  align-items: flex-start;
  justify-content: space-between;
}
.pricing__note {
  flex: 1 1 340px;
  margin: 0;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-80);
  border-left: 3px solid var(--orchid);
  padding-left: 18px;
}
.pricing__note strong { font-family: var(--mono); font-weight: 700; }

.pricing__foot-cta {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.pricing__foot-cta p { margin: 0; max-width: 36ch; font-size: 17px; line-height: 1.5; color: var(--ink-85); }

/* ==========================================================================
   À la carte modal
   ========================================================================== */

.alc {
  width: min(760px, 100%);
  max-width: min(760px, 100%);
  margin: auto;
  background: var(--cream);
  color: var(--navy);
  border: none;
  border-top: 4px solid var(--orchid);
  border-radius: var(--radius);
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: 0 30px 80px rgba(11, 37, 64, 0.35);
}
.alc::backdrop { background: rgba(11, 37, 64, 0.6); }

.alc__head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.alc__head .eyebrow { margin-bottom: 8px; }

.alc__title {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.alc__close {
  flex: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: var(--navy);
  background: var(--lavender);
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  cursor: pointer;
}
.alc__close:hover { background: var(--orchid); }

.alc__table-wrap { margin-top: clamp(20px, 2.6vw, 30px); }

.atable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  min-width: 460px;
}
.atable thead tr { border-bottom: 2px solid var(--blue); }
.atable th {
  text-align: left;
  padding: 0 14px 10px 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.atable td { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--lavender); }
.atable tbody tr:last-child td { border-bottom: none; }
.atable__offer { font-weight: 700; font-size: 16px; }
.atable__price { font-weight: 700; font-size: 16px; color: var(--blue); white-space: nowrap; padding-left: 14px !important; }
.atable__notes { font-family: var(--serif); font-size: 16px; line-height: 1.45; color: var(--ink-85); padding-left: 14px !important; }

.alc__explainer {
  margin-top: clamp(20px, 2.6vw, 30px);
  background: var(--lavender);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 26px);
}
.alc__explainer .eyebrow { margin-bottom: 10px; font-size: 11px; letter-spacing: 0.16em; }
.alc__explainer-lede { margin: 0 0 12px; font-size: 17px; line-height: 1.55; }
.alc__explainer-body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-85); }

.alc__foot {
  margin-top: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.alc__foot p { margin: 0; font-size: 16px; }

/* ==========================================================================
   About
   ========================================================================== */

.about { position: relative; padding: var(--sec-y) 0; }
.about > .wrap > .eyebrow { margin-bottom: clamp(24px, 3vw, 42px); }

.about__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}

.about__portrait-col { flex: 1 1 300px; min-width: 280px; }

.about__portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  background: var(--lavender);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__portrait-ph {
  margin: 0;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.about__portrait-cap {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-75);
}

.about__copy { flex: 1 1 380px; min-width: 300px; }
.about__bio { margin: 0 0 28px; font-size: 17px; line-height: 1.55; }
.about__closing { margin: 0 0 30px; font-size: 17px; line-height: 1.6; color: var(--ink-85); }

.pullquote {
  background: var(--blue);
  color: var(--cream);
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.pullquote .eyebrow { margin-bottom: 16px; }
.pullquote__body { margin: 0; font-size: 17px; line-height: 1.62; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quotes { position: relative; padding: clamp(28px, 3.4vw, 48px) 0; }

.quotes__panel {
  background: var(--blue);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 56px) clamp(24px, 4vw, 52px);
  color: var(--cream);
}

.quotes__lead {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  align-items: flex-start;
}
.quotes__label { flex: 0 1 200px; margin: 0; line-height: 1.6; }

.quote-big { flex: 1 1 440px; margin: 0; max-width: 34ch; }
.quote-big p {
  margin: 0 0 22px;
  font-size: clamp(21px, 2.8vw, 38px);
  line-height: 1.24;
  letter-spacing: -0.01em;
}
.quote-big footer {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.95);
}

.quotes__small {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(26px, 3.4vw, 46px);
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid rgba(231, 226, 240, 0.28);
}
.quote-sm { flex: 1 1 260px; margin: 0; }
.quote-sm p { margin: 0 0 10px; font-size: 16px; line-height: 1.5; }
.quote-sm footer {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-92);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { position: relative; padding: var(--sec-y) 0; }
.faq .h2 { margin-bottom: clamp(22px, 2.8vw, 38px); max-width: 20ch; }

.faq__list { max-width: 74ch; }

.faq details {
  border-top: 1px solid var(--lavender);
  padding: 22px 0;
}
.faq details.faq__last { border-bottom: 1px solid var(--lavender); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 19px);
  letter-spacing: -0.01em;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }

.faq__mark { color: var(--blue); flex: none; }

.faq details p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-80); }

/* ==========================================================================
   Book
   ========================================================================== */

.book {
  position: relative;
  background: var(--blue);
  color: var(--cream);
  padding: clamp(44px, 5.5vw, 76px) 0 clamp(48px, 6vw, 84px);
  margin-top: clamp(28px, 3.5vw, 56px);
}

.book__inner { text-align: center; }
.book .h2 {
  margin-inline: auto;
  margin-bottom: clamp(28px, 3vw, 40px);
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1;
  max-width: 18ch;
}
.book__lede {
  margin: 0 auto clamp(36px, 5vw, 56px);
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.55;
}

.book__cards {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 32px);
  text-align: left;
  justify-content: center;
}

.card-scheduler {
  flex: 1 1 380px;
  min-width: 300px;
  background: var(--cream);
  color: var(--navy);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.card-scheduler .eyebrow { margin-bottom: 16px; }

.scheduler { flex: 1; display: flex; }
.scheduler__ph {
  flex: 1;
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.scheduler__ph-title { margin: 0; font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--blue); }
.scheduler__ph-body  { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(11, 37, 64, 0.82); }
.scheduler__ph-body code { font-family: var(--mono); font-size: 13px; background: var(--lavender); padding: 1px 5px; border-radius: 2px; }

/* Calendly's own iframe, once mounted */
.scheduler .calendly-inline-widget { flex: 1; min-width: 0; }

.card-form {
  flex: 1 1 380px;
  min-width: 300px;
  background: rgba(250, 248, 243, 0.08);
  border: 1px solid rgba(231, 226, 240, 0.35);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-form .eyebrow { margin: 0; }

/* Netlify honeypot */
.hp { position: absolute; left: -9999px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.8);
}
.field input {
  font-family: var(--serif);
  font-size: 17px;
  padding: 13px 14px;
  border: 1px solid rgba(231, 226, 240, 0.4);
  background: rgba(11, 37, 64, 0.25);
  color: var(--cream);
  border-radius: var(--radius-sm);
}
.field input::placeholder { color: rgba(250, 248, 243, 0.5); }

.card-form .btn { margin-top: 4px; }
.form-status { margin: 0; min-height: 22px; font-size: 16px; color: var(--cream); }
.form-status--err { color: var(--orchid); }

.book__final {
  position: relative;
  margin-top: clamp(26px, 3.2vw, 42px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.book__final-btn-wrap { position: relative; display: inline-block; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: rgba(250, 248, 243, 0.8);
  padding: clamp(44px, 5.5vw, 72px) 0 36px;
  /* Echoes the orchid terminus of the thru line, and the modal's top accent. */
  border-top: 3px solid var(--orchid);
}

/* Brand widest, then the info columns weighted by what they actually hold:
   short nav labels, a long email address, and a sentence of prose. */
.site-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(230px, 1.4fr)   /* brand */
    minmax(110px, 0.75fr)  /* explore  — one-word links */
    minmax(200px, 1.15fr)  /* contact  — long email, must not wrap */
    minmax(170px, 1.1fr);  /* service area — prose */
  gap: clamp(28px, 3.5vw, 52px);
  align-items: start;
}

.site-footer__brand img {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}
.site-footer__tagline {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 28ch;
  color: rgba(250, 248, 243, 0.88);
}

.site-footer__col .eyebrow { margin-bottom: 16px; font-size: 11px; }
.site-footer__col p { margin: 0; font-size: 16px; line-height: 1.55; }

.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 10px; font-size: 16px; line-height: 1.45; }
.site-footer__links li:last-child { margin-bottom: 0; }

.site-footer a {
  color: rgba(250, 248, 243, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 248, 243, 0.22);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-footer a:hover { color: var(--orchid); border-bottom-color: var(--orchid); }

.site-footer__bottom {
  margin-top: clamp(30px, 3.6vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(250, 248, 243, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: baseline;
  justify-content: space-between;
}

.site-footer__legal {
  margin: 0;
  flex: 1 1 460px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(250, 248, 243, 0.55);
  max-width: 78ch;
}

.site-footer__top {
  flex: none;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   Narrow screens
   ========================================================================== */

/* Four footer columns need ~816px of track before gaps start crushing them. */
@media (max-width: 1020px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  /* The header is sticky, so its height is charged against every screen of
     the page. Wrapped onto three rows it was taking ~17% of a phone viewport.
     Drop the section links (they're in the footer's Explore column) and keep
     the one thing that matters here: the logo and the CTA, on a single row. */
  .site-header__inner { flex-wrap: nowrap; gap: 12px; padding: 10px 0; }
  .site-header__logo img { height: 26px; }
  .nav { gap: 0; justify-content: flex-end; }
  .nav a:not(.btn) { display: none; }
  .nav a.btn { font-size: 10.5px; padding: 11px 12px; letter-spacing: 0.01em; white-space: nowrap; }

  /* Stack the stages. The spine is drawn through these five markers, so while
     they wrap into a grid the line cuts diagonally across the copy. In one
     column it runs straight down through the dots, which is the whole idea. */
  .stages__row { flex-direction: column; gap: 26px; }
  /* Left gutter belongs to the line: the dot sits in it, the copy clears it,
     so the spine runs beside the text instead of across it. */
  .stage {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    position: relative;
  }
  /* Every remaining anchor snaps to one vertical rail centred in the page
     margin, at x=21. Only anchors positioned against a full-width section can
     share this number — nested ones resolve against a gutter-inset container
     and land somewhere else entirely, so those are marked data-spine-wide and
     skipped (see build() in script.js). */
  .spine-node { left: 21px !important; right: auto !important; }
  /* 22px dot centred on the rail: spans x=10..32, so it clears the screen edge
     and the 42px text edge by about 10px on each side. */
  .stage__dot {
    position: absolute;
    left: -31px;   /* .stage starts at the 42px gutter: 42-31=11, +11 = rail */
    top: 2px;
    width: 22px;   /* border-box, so this is the full outer diameter */
    height: 22px;
    border-width: 3px;
  }
  .stage__name { margin-top: 0; }
  .stage__desc { max-width: 46ch; }

  /* ---- Pricing table becomes stacked cards ----------------------------
     Six columns and an 880px min-width means a phone reader is dragging
     sideways through a price list, with the row header scrolled out of
     sight. Each row becomes a self-contained card instead. Column headers
     are hidden and re-attached per cell from data-label. */
  .ptable { display: block; width: 100%; min-width: 0; }
  .ptable caption { display: block; padding-bottom: 18px; }
  .ptable thead { display: none; }
  .ptable tbody { display: block; }

  .ptable tbody tr {
    display: block;
    background: var(--cream);
    border: 2px solid var(--lavender);
    border-top: 4px solid var(--sky);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
  }
  .ptable tbody tr th,
  .ptable tbody tr td { display: block; width: auto; border: none; padding: 0; }

  .ptable th[scope="row"] {
    width: auto;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    line-height: 1.5;
    margin-bottom: 8px;
    padding: 0;
  }
  .ptable__program {
    font-size: 21px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--blue);
    padding: 0 0 6px !important;
  }

  /* Label left, value right, and the gait-analysis note tucked under the value. */
  .ptable td[data-label] {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 4px 12px;
    align-items: baseline;
    padding: 9px 0 !important;
    border-top: 1px solid var(--lavender) !important;
  }
  .ptable td[data-label]::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-75);
  }
  .ptable__perk { grid-column: 2; margin-top: 2px; }
  .ptable__prose { font-size: 15px; }

  /* One gutter for the whole page. .wrap--wide (92vw) was leaving only 15px
     at the screen edge on the header and hero, against 28px everywhere else —
     tight on its own, and visibly misaligned against the content below it.
     A fixed padding is predictable where a vw percentage is not. */
  .wrap, .wrap--wide { width: 100%; padding-inline: 42px; }
  /* The hero photo deliberately bleeds off the right edge; cancel the gutter. */
  .hero__media { margin-right: -42px; min-height: 260px; }

  .rec__hint { text-align: left; font-size: 12px; }
  .rec__hint-arrow { margin-left: 10px; margin-right: auto; transform: scaleX(-1); }

  .rec__sentence { line-height: 1.7; }
  .dd__menu { min-width: min(300px, 78vw); }
  .book__inner { text-align: left; }
  .book .h2, .book__lede { margin-inline: 0; }
  .book__cards { justify-content: flex-start; }
}
