/* Nicheme — mobile-first, conversion-led. */

:root {
  --cream: #FAFAF7;
  --ink: #1F2422;
  --ink-soft: #5A5F5C;
  --ink-faint: #8A8E89;
  --rule: #E3E1D8;
  --sage: #5B6B5A;
  --sage-deep: #3F4D3F;
  --sage-wash: #EEF1EA;
  --ochre: #B8843A;

  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  --gutter: 22px;
  --max: 560px;
  --ease: cubic-bezier(0.2, 0.65, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100svh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

/* ===== Wordmark ===== */
.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.wordmark .dot { color: var(--sage); font-style: normal; margin-left: 1px; }

/* ===== CTA (shared) ===== */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: var(--sage);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.005em;
  border: none;
  cursor: pointer;
  transition: background 200ms var(--ease), transform 120ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.cta:hover, .cta:focus-visible { background: var(--sage-deep); }
.cta:active { transform: translateY(1px); }
.cta .arrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  transition: transform 220ms var(--ease);
}
.cta:hover .arrow { transform: translateX(4px); }

/* =====================================================
   YOGA LANDING — full-bleed hero, conversion above the fold
   ===================================================== */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.hero-full .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--sage-wash);
}
.hero-full::before {
  /* darken top + bottom for header/CTA legibility */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(20,24,22,0.55) 0%,
      rgba(20,24,22,0.20) 22%,
      rgba(20,24,22,0.0)  45%,
      rgba(20,24,22,0.0)  55%,
      rgba(20,24,22,0.45) 82%,
      rgba(20,24,22,0.78) 100%);
  pointer-events: none;
}

.hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter) 0;
  color: var(--cream);
}
.hero-bar .wordmark { color: var(--cream); font-size: 22px; }
.hero-bar .wordmark .dot { color: #C9D6BB; }
.hero-bar .crumb {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.78);
  font-weight: 500;
}

.hero-spacer { flex: 1; }

/* Mobile: wrapper around pitch + cta is transparent — children render directly into the flex column. */
.hero-right { display: contents; }

.hero-pitch {
  padding: 0 var(--gutter) 24px;
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  animation: rise 700ms var(--ease) 120ms forwards;
}
.hero-pitch .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
  background: rgba(91,107,90,0.85);
  padding: 6px 11px 6px 9px;
  margin-bottom: 18px;
}
.hero-pitch .badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #D9E4C9;
}
.hero-pitch h1 {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(34px, 9.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0,0,0,0.25);
}
.hero-pitch h1 em {
  font-style: italic;
  font-weight: 350;
  color: #E5EBDC;
}
.hero-pitch .sub {
  margin-top: 12px;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  color: rgba(250,250,247,0.92);
  max-width: 30ch;
  font-weight: 400;
}

.hero-cta {
  padding: 0 var(--gutter) calc(env(safe-area-inset-bottom, 0) + 22px);
  opacity: 0;
  transform: translateY(10px);
  animation: rise 700ms var(--ease) 280ms forwards;
}
.hero-cta .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(250,250,247,0.82);
}
.hero-cta .meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(250,250,247,0.55);
}
.hero-cta .cta-foot {
  margin-top: 10px;
  font-size: 11.5px;
  color: rgba(250,250,247,0.72);
  text-align: center;
}

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-pitch, .hero-cta { animation: none; opacity: 1; transform: none; }
}

/* =====================================================
   INDEX PAGE — choose your profession
   ===================================================== */
.shell {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.idx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
}
.idx-header .meta-line {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.idx-hero {
  padding: 12px 0 22px;
}
.idx-hero h1 {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(34px, 9.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.idx-hero h1 em {
  font-style: italic;
  font-weight: 350;
  color: var(--sage-deep);
}
.idx-hero .sub {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 32ch;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

/* Niche tiles — 2-up grid on mobile, icon + name */
.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}
.niche {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  min-height: 152px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.niche .icon-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--sage-wash);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  overflow: hidden;
}
.niche .icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.niche .icon-frame svg { width: 38%; height: 38%; opacity: 0.55; }
.niche .name {
  font-family: var(--display);
  font-weight: 450;
  font-size: 16.5px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.niche .kicker {
  margin-top: 3px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
.niche .status-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 7px;
  background: var(--cream);
  color: var(--ink-faint);
  border: 1px solid var(--rule);
}
.niche.active .status-tag {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}
.niche.active {
  border-color: var(--sage);
}
.niche.active:hover, .niche.active:focus-visible {
  transform: translateY(-2px);
  background: var(--sage-wash);
}
.niche.inactive { opacity: 0.55; }
.niche.inactive .icon-frame { background: #F0EEE6; }

.idx-foot-note {
  margin: 18px 0 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.55;
}
.idx-foot-note a { color: var(--sage-deep); border-bottom: 1px solid var(--rule); }

/* ===== Index page footer ===== */
.site-footer {
  margin-top: 36px;
  padding: 22px 0 32px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.55;
}
.site-footer .small-print { margin-bottom: 14px; max-width: 50ch; }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  justify-content: space-between;
}
.foot-row .credit {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  flex: 0 0 100%;
  margin-bottom: 4px;
}
.foot-row [data-bind="foot-links"] {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0 18px;
  align-items: baseline;
}
.foot-row a {
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.foot-row a:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage);
}

@media (min-width: 720px) {
  .foot-row { gap: 14px 22px; }
  .foot-row .credit { flex: 0 0 auto; margin-bottom: 0; margin-right: auto; }
}

/* ===== Hero page secondary nav / footer ===== */
.hero-foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--gutter) calc(env(safe-area-inset-bottom, 0) + 14px);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(250,250,247,0.6);
}
.hero-foot-row a { color: rgba(250,250,247,0.72); }
.hero-foot-row a:hover { color: var(--cream); }

/* =====================================================
   QUIZ — one question per screen, calm sage chrome
   ===================================================== */
.quiz-shell {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 12px;
}
.q-foot .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  padding: 10px 14px;
  letter-spacing: 0.01em;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}
.q-foot .back:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--cream);
}
.quiz-header .step {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.q-progress {
  height: 3px;
  background: var(--rule);
  margin-bottom: 28px;
  overflow: hidden;
}
.q-progress .fill {
  height: 100%;
  width: 0;
  background: var(--sage);
  transition: width 420ms var(--ease);
}

.q-body { flex: 1; padding-bottom: 24px; }

.q-text {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 22px;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.q-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--rule);
  font-family: var(--body);
  cursor: pointer;
  transition: border-color 160ms var(--ease), background 160ms var(--ease), transform 120ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.q-opt:hover, .q-opt:focus-visible {
  border-color: var(--sage);
  background: var(--sage-wash);
}
.q-opt:active { transform: translateY(1px); }
.q-opt.selected {
  border-color: var(--sage);
  background: var(--sage-wash);
  box-shadow: inset 0 0 0 1px var(--sage);
}
.q-opt .opt-title {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.q-opt .opt-sub {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 3px;
  line-height: 1.4;
}
.q-opt.selected .opt-sub { color: var(--sage-deep); }

.q-foot {
  padding: 18px 0 calc(env(safe-area-inset-bottom, 0) + 22px);
}
.q-foot .cta { font-size: 16px; padding: 16px 22px; }
.q-foot .cta[disabled] {
  background: var(--rule);
  color: var(--ink-faint);
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== Matching screen — between final answer and result reveal ===== */
[hidden] { display: none !important; }

.match-shell {
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.match-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.match-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--sage);
}
.match-title {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(28px, 7.5vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.match-title em { font-style: italic; color: var(--sage-deep); }

.match-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.match-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink-faint);
  letter-spacing: 0.005em;
  opacity: 0.45;
  transition: opacity 320ms var(--ease), color 320ms var(--ease);
}
.match-checks li.active { opacity: 1; color: var(--ink-soft); }
.match-checks li.done   { opacity: 1; color: var(--ink); }

.m-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: var(--cream);
  position: relative;
  display: inline-block;
  transition: border-color 280ms var(--ease), background 280ms var(--ease);
}
/* Pulsing dot while the step is in flight */
.match-checks li.active .m-tick::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--sage);
  animation: pulse 900ms var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.7); opacity: 0.5; }
  50%  { transform: scale(1);   opacity: 1; }
  100% { transform: scale(0.7); opacity: 0.5; }
}
/* Tick on completed step */
.match-checks li.done .m-tick {
  background: var(--sage);
  border-color: var(--sage);
}
.match-checks li.done .m-tick::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border: solid var(--cream);
  border-width: 0 1.5px 1.5px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .match-checks li.active .m-tick::before { animation: none; opacity: 1; }
}

/* ===== Result screen ===== */
.result-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.result-head {
  padding: 18px 0 24px;
}
.result-head .badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--sage-wash);
  color: var(--sage-deep);
  padding: 5px 10px;
  margin-bottom: 14px;
}
.result-head h1 {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.result-head h1 em { font-style: italic; color: var(--sage-deep); }
.result-head .intro {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.result-card {
  border: 1px solid var(--rule);
  padding: 18px 18px 20px;
  margin-bottom: 18px;
  background: var(--cream);
}
.result-card .price {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  background: var(--sage-wash);
  padding: 4px 9px;
  margin-bottom: 14px;
}
.result-card h3 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 14px 0 8px;
}
.covers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.covers li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.covers li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--sage);
}

/* Providers — the hero of the result page. Big, clickable, ranked. */
.r-section-label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 18px 0 12px;
}

.providers-hero {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.providers-hero li a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: #FBF1E2;          /* warm ochre wash — distinct from cream/sage */
  border: 1px solid var(--ochre);
  color: var(--ink);
  transition: background 160ms var(--ease), transform 140ms var(--ease), box-shadow 200ms var(--ease);
  position: relative;
}
.providers-hero li:first-child a {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--cream);
}
.providers-hero li:first-child a .rank,
.providers-hero li:first-child a .p-out { color: var(--cream); opacity: 0.92; }
.providers-hero li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(184, 132, 58, 0.18);
}
.providers-hero li:first-child a:hover { background: #9C6F2F; }
.providers-hero li:not(:first-child) a:hover { background: #F7E4C4; }

.providers-hero .rank {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ochre);
  line-height: 1;
}
.providers-hero .p-name {
  font-family: var(--display);
  font-weight: 450;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.providers-hero .p-out {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.providers-hero .p-out .arrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  transition: transform 200ms var(--ease);
}
.providers-hero li a:hover .p-out .arrow { transform: translateX(4px); }

/* Email-me CTA on the result page — sits right under the result intro. */
.cta-email {
  margin: 6px 0 24px;
}

/* Disclosure: 'what to look for in a policy' is secondary, collapsed by default. */
.r-details {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0;
  margin: 8px 0 16px;
}
.r-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.r-details summary::-webkit-details-marker { display: none; }
.r-details summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-faint);
  line-height: 1;
  transition: transform 200ms var(--ease);
}
.r-details[open] summary::after { content: "−"; }
.r-details .r-price {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sage-deep);
  background: var(--sage-wash);
  padding: 3px 8px;
  margin-left: auto;
}
.r-details ul.covers { padding: 4px 0 16px; }

.callout {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-left: 2px solid var(--sage);
  background: var(--sage-wash);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.callout.warn { border-left-color: var(--ochre); background: #FBF1E2; color: #5A3D11; }
.callout .label {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--sage-deep);
  flex-shrink: 0;
}
.callout.warn .label { color: var(--ochre); }

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0 18px;
}
.result-actions .cta-secondary {
  width: 100%;
  padding: 14px 20px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms var(--ease);
  text-align: center;
}
.result-actions .cta-secondary:hover { background: var(--ink); color: var(--cream); }
.result-actions .cta-tertiary {
  background: transparent;
  border: none;
  font-size: 13.5px;
  color: var(--ink-faint);
  padding: 6px 0;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.result-actions .cta-tertiary:hover { color: var(--sage-deep); }

.caveat {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.55;
  text-align: center;
  margin: 18px 0 36px;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Email modal ===== */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 22, 0.55);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
  display: grid;
  place-items: end center;
  padding: 0;
}
.modal-scrim.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  width: 100%;
  max-width: 480px;
  background: var(--cream);
  padding: 24px 22px calc(env(safe-area-inset-bottom, 0) + 22px);
  transform: translateY(20px);
  transition: transform 280ms var(--ease);
  border-top: 4px solid var(--sage);
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
  text-wrap: balance;
}
.modal h2 em { font-style: italic; color: var(--sage-deep); }
.modal p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.modal form { display: flex; flex-direction: column; gap: 10px; }
.modal input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 16px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--rule);
  outline: none;
  transition: border-color 160ms var(--ease);
}
.modal input[type="email"]:focus { border-color: var(--sage); }
.modal .cta { font-size: 15px; padding: 15px 20px; }
.modal .small {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink-faint);
  cursor: pointer;
  padding: 4px 8px;
  font-family: var(--display);
  line-height: 1;
}
.modal-close:hover { color: var(--ink); }
.modal-body { position: relative; }
.modal-success { text-align: center; padding: 12px 0; }
.modal-success .tick {
  font-family: var(--display);
  font-style: italic;
  font-size: 36px;
  color: var(--sage);
  display: block;
  margin-bottom: 6px;
}

@media (min-width: 720px) {
  .modal-scrim { place-items: center; padding: 24px; }
  .modal { border-top: none; border: 1px solid var(--rule); }
}

/* ===== Stub doc pages ===== */
.doc-page { padding-top: 12px; }
.doc-page h1 {
  font-family: var(--display); font-weight: 400; font-size: 34px;
  letter-spacing: -0.02em; margin: 14px 0 14px;
}
.doc-page h2 {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 19px; margin: 24px 0 6px; color: var(--sage-deep);
}
.doc-page p {
  margin-bottom: 10px; color: var(--ink-soft);
  font-size: 14.5px; line-height: 1.6;
}

/* ===== Tablet (>=720px) ===== */
@media (min-width: 720px) {
  :root { --gutter: 32px; --max: 720px; }
  .niche-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .niche { min-height: 200px; padding: 16px; }
  .niche .name { font-size: 18px; }
  .idx-hero h1 { font-size: 56px; }
}

/* ===== Desktop (>=960px) =====
   Yoga becomes a 50/50 split: photo left, content right (vertically centred).
   Index gets a centred, wider container; cards step up to 4-up. */
@media (min-width: 960px) {
  :root { --max: 1080px; --gutter: 48px; }

  /* --- Yoga full-bleed hero → split layout --- */
  .hero-full {
    min-height: 100svh;
    height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "bar    bar"
      "photo  content"
      "photo  foot";
  }
  .hero-full .bg {
    position: relative;
    grid-area: photo;
    z-index: 0;
    background-position: center 55%;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 24px 0 24px 32px;
  }
  .hero-full::before {
    /* Kill the mobile vertical gradient on desktop — the right column is cream. */
    display: none;
  }
  .hero-full > * { position: relative; z-index: 1; }

  .hero-bar {
    grid-area: bar;
    padding: 28px 48px 0;
    color: var(--ink);
    background: var(--cream);
  }
  .hero-bar .wordmark { color: var(--ink); font-size: 26px; }
  .hero-bar .wordmark .dot { color: var(--sage); }
  .hero-bar .crumb { color: var(--ink-faint); }

  .hero-spacer { display: none; }

  /* Right column: cream background, vertically centred pitch + CTA stack */
  .hero-pitch,
  .hero-cta {
    background: var(--cream);
    color: var(--ink);
    padding-left: 64px;
    padding-right: 64px;
    max-width: 560px;
  }
  .hero-pitch {
    grid-area: content;
    align-self: end;
    padding-bottom: 18px;
    padding-top: 64px;
  }
  .hero-pitch h1 {
    color: var(--ink);
    font-size: clamp(42px, 4.2vw, 60px);
    line-height: 1.02;
    text-shadow: none;
  }
  .hero-pitch h1 em { color: var(--sage-deep); }
  .hero-pitch .sub {
    color: var(--ink-soft);
    font-size: 19px;
    max-width: 34ch;
    margin-top: 18px;
  }
  .hero-pitch .badge {
    background: var(--sage-wash);
    color: var(--sage-deep);
    margin-bottom: 22px;
  }
  .hero-pitch .badge::before { background: var(--sage); }

  .hero-cta {
    grid-area: content;
    align-self: start;
    padding-top: 28px;
    padding-bottom: 28px;
    grid-row: auto;
  }
  /* Stack pitch + cta inside the right column via flex */
  .hero-full {
    grid-template-areas:
      "bar    bar"
      "photo  right"
      "photo  foot";
  }
  .hero-right {
    grid-area: right;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 64px 24px 56px;
    gap: 22px;
    max-width: 620px;
    min-height: 0;
  }
  .hero-right .hero-pitch,
  .hero-right .hero-cta {
    padding: 0;
    max-width: none;
  }
  .hero-cta .meta {
    color: var(--ink-soft);
  }
  .hero-cta .meta .dot { background: var(--ink-faint); }
  .hero-cta .cta-foot {
    color: var(--ink-faint);
    text-align: left;
  }

  .hero-foot-row {
    grid-area: foot;
    background: var(--cream);
    color: var(--ink-faint);
    padding: 18px 64px 22px;
  }
  .hero-foot-row a { color: var(--ink-soft); }
  .hero-foot-row a:hover { color: var(--sage-deep); }

  /* --- Index: centred, wider, headline + grid breathing --- */
  .shell { max-width: 1080px; }
  .idx-header { padding: 32px 0 22px; }
  .idx-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: end;
    padding: 28px 0 44px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 28px;
  }
  .idx-hero h1 {
    font-size: clamp(56px, 6vw, 84px);
    line-height: 0.98;
  }
  .idx-hero .sub {
    font-size: 18px;
    max-width: 38ch;
    margin-top: 0;
    align-self: end;
    padding-bottom: 12px;
  }
  .section-label { border-top: none; padding-top: 0; }
  .niche-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .niche { min-height: 220px; padding: 18px; }
  .niche .icon-frame { margin-bottom: 14px; }
  .niche .name { font-size: 19px; }
  .niche .kicker { font-size: 12px; }
  .idx-foot-note { margin-top: 28px; font-size: 13px; }
  .site-footer { margin-top: 56px; padding-bottom: 44px; }
}

/* ===== Wide desktop (>=1280px) — give type more room ===== */
@media (min-width: 1280px) {
  .hero-pitch h1 { font-size: 64px; }
  .idx-hero h1 { font-size: 92px; }
  .hero-right { padding: 32px 72px; gap: 26px; }
}
