/* Maria Gautam site v1
   Shared stylesheet for all pages.
   Follows brand v0.38 palette + typography.
   Direction: Philo + Ottolenghi editorial (per Wireframes v3). */

:root {
  /* === COLOUR (brand palette, from Brand Guidelines v1) === */
  --m-plum:   #703D57;
  --m-mauve:  #9B6E86;
  --m-mocha:  #402A2C;
  --m-blush:  #FFEEEE;
  --m-pop:    #FFADFF;
  --rule:     rgba(64,42,44,0.15);
  --rule-2:   rgba(64,42,44,0.3);
  --tint:     rgba(155,110,134,0.08);

  /* === CONTAINER WIDTHS === */
  --pw-max:    1280px;
  --pw-narrow: 780px;
  --pw-copy:   640px;

  /* === SPACING (4px base, all spacing MUST be a multiple of 4) === */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;

  /* === TYPE SCALE (px, 11 stops, use these ONLY) === */
  --t-xxs:  10px;  /* tags, footer copyright, tiny meta */
  --t-xs:   12px;  /* eyebrows, meta, cta labels */
  --t-sm:   14px;  /* form fields, secondary body, step descriptions */
  --t-base: 16px;  /* body default */
  --t-md:   18px;  /* lede, quote attribution */
  --t-lg:   22px;  /* subhead (mobile), h3, step titles when large */
  --t-xl:   28px;  /* subhead (desktop), h3 desktop */
  --t-2xl:  34px;  /* h2 mobile */
  --t-3xl:  44px;  /* h1 mobile, h2 desktop */
  --t-4xl:  60px;  /* h1 desktop */
  --t-5xl:  72px;  /* hero display (eh-title desktop) */

  /* === LINE HEIGHTS === */
  --lh-tight: 1.1;   /* headings */
  --lh-snug:  1.25;  /* subheads */
  --lh-body:  1.55;  /* body copy */
  --lh-list:  1.8;   /* lists, generous prose */

  /* === LETTER SPACING === */
  --ls-caps-tight: 0.18em;  /* footer copyright only */
  --ls-caps:       0.24em;  /* standard uppercase kickers, tags, CTAs */
  --ls-caps-wide:  0.28em;  /* eh-sub-style eyebrows, eyebrows */
  --ls-caps-xwide: 0.32em;  /* eh-sub only */
  --ls-tight:     -0.015em; /* headings (Fraunces) */
  --ls-display:   -0.02em;  /* display / hero title */

  /* === RULES / BORDERS === */
  --rule-hair: 1px;
  --rule-std:  1.5px;
  --rule-bold: 2px;

  /* === SECTION RHYTHM (padding tokens, top/bottom) === */
  --sec-pad:    60px;  /* standard section */
  --sec-tight:  36px;  /* tight closing sections */
  --sec-loose:  80px;  /* generous section (currently unused; reserved) */
  --sec-x:      24px;  /* horizontal side padding, all sections */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--m-blush);
  color: var(--m-mocha);
  font-family: "Inter", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--m-plum); }
a:hover { opacity: 0.75; }
hr { border: none; border-top: 1px solid var(--rule); margin: 40px 0; }


/* Nav */
header.site-nav {
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--m-blush);
  z-index: 10;
}
.nav-inner {
  max-width: var(--pw-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.nav-inner .nav-menu-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 20px;
  color: var(--m-mocha);
  font-weight: 700;
  line-height: 1;
}
.nav-inner .nav-wordmark {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--m-mocha);
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.005em;
}
.nav-inner .nav-util {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: var(--m-mocha);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}
.nav-inner .nav-util:hover { opacity: 0.7; }

@media (min-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto 1fr; }
  .nav-inner .nav-menu-btn { justify-self: start; font-size: 14px; text-transform: uppercase; letter-spacing: 0.24em; font-weight: 600; }
  .nav-inner .nav-wordmark { font-size: 26px; }
  .nav-inner .nav-util { justify-self: end; font-size: 14px; text-transform: uppercase; letter-spacing: 0.24em; font-weight: 600; }
}

/* Product page layout — sticky carousel on the left, scrolling info on the right.
   Used by shop item pages (shilajit, thyroid-protocol, protein-bars, diary-review). */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  max-width: var(--pw-max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-12);
  }
  .product-media {
    position: sticky;
    top: 88px;
    align-self: start;
  }
}
.product-info { min-width: 0; }
.product-info h2 { margin-top: var(--s-10); }
.product-info h2:first-child { margin-top: 0; }
.product-info > section { padding-top: 0; padding-bottom: var(--s-8); border-bottom: 1px solid var(--rule); }
.product-info > section:last-child { border-bottom: none; padding-bottom: 0; }

/* Carousel — fade crossfade with ease-in-out, auto-advances */
.carousel { position: relative; }
.carousel-slides {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--m-blush);
  border: var(--rule-std) solid var(--m-mocha);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: var(--t-xxs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-mocha);
  background: rgba(64,42,44,0.14) repeating-linear-gradient(45deg, rgba(155,110,134,0.06) 0 6px, transparent 6px 12px);
}
.carousel-slide.active { opacity: 1; }
.carousel-slide span { opacity: 0.65; max-width: 40ch; line-height: 1.5; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: var(--rule-std) solid var(--m-plum);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}
.carousel-dot.active { background: var(--m-plum); }
.carousel-dot:focus-visible { outline: 2px solid var(--m-plum); outline-offset: 2px; }

/* Product buy panel — sits at top of product-info column */
.buy-panel {
  border: var(--rule-std) solid var(--m-mocha);
  padding: var(--s-6);
  background: var(--m-blush);
  margin-bottom: var(--s-8);
}
.buy-panel .bp-price {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--t-2xl);
  color: var(--m-plum);
  margin: 0 0 var(--s-1);
  line-height: 1;
}
.buy-panel .bp-meta {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  color: var(--m-mocha);
  opacity: 0.75;
  margin: 0 0 var(--s-5);
  letter-spacing: 0.04em;
}
.buy-options {
  border: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.buy-options legend {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps-wide);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-plum);
  margin: 0 0 var(--s-3);
  padding: 0;
}
.buy-option {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--rule-2);
  cursor: pointer;
  transition: border-color 0.2s ease-in-out, background 0.2s ease-in-out;
}
.buy-option:hover { border-color: var(--m-plum); }
.buy-option input[type="radio"] { margin: 0; accent-color: var(--m-plum); flex-shrink: 0; }
.buy-option:has(input:checked) { border-color: var(--m-plum); background: rgba(112,61,87,0.05); }
.buy-option-label { flex: 1; font-family: "Inter", sans-serif; font-size: var(--t-sm); color: var(--m-mocha); }
.buy-option-price { font-family: "Fraunces", serif; font-weight: 500; font-size: var(--t-md); color: var(--m-plum); }
.buy-option-note { display: block; font-size: var(--t-xs); opacity: 0.7; margin-top: 2px; }
.buy-panel .btn-primary { display: block; width: 100%; text-align: center; }

/* Details/summary animated open/close (FAQs, disclosures) — matches nav menu timing */
.details-animate {
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after {
  content: "+";
  float: right;
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--m-plum);
  transition: transform 0.4s ease-in-out;
  transform-origin: center;
}
details[open] > summary::after {
  content: "−";
}

/* Full drop-down menu shown on hamburger click, ease-in-out slide */
.nav-menu-panel {
  display: block;
  box-sizing: border-box;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--m-blush);
  border-bottom: 1px solid var(--m-mocha);
  padding: 20px 24px 32px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.4s ease-in-out, visibility 0s linear 0.4s;
}
.nav-menu-panel.open {
  max-height: 80vh;
  visibility: visible;
  overflow-y: auto;
  transition: max-height 0.4s ease-in-out, visibility 0s linear 0s;
}
.nav-menu-panel-inner {
  max-width: var(--pw-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
@media (min-width: 700px) {
  .nav-menu-panel-inner { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.nav-menu-panel-inner a {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--m-mocha);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  display: block;
  letter-spacing: -0.005em;
}
.nav-menu-panel-inner a:hover { color: var(--m-plum); }
.nav-menu-panel-inner .menu-group-title {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-plum);
  padding: 12px 0 4px;
  border-bottom: 2px solid var(--m-mocha);
  margin-bottom: 4px;
}
.nav-close {
  position: absolute;
  top: 12px;
  right: 24px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--m-mocha);
  font-weight: 700;
  text-decoration: none;
}

/* Page structure */
main { min-height: 60vh; }
section { padding: var(--sec-pad) var(--sec-x); }
section.tight { padding: var(--sec-tight) var(--sec-x); }
section.loose { padding: var(--sec-loose) var(--sec-x); }
/* flush-b: sits directly against footer (no blush gap), keeps internal padding balanced */
.lede.center { margin-left: auto; margin-right: auto; }
section.tint { background: var(--tint); }
section.mocha { background: var(--m-mocha); color: var(--m-blush); }
section.mocha .eyebrow { color: var(--m-pop); }
section.mocha h1, section.mocha h2, section.mocha h3, section.mocha p { color: var(--m-blush); }

.container { max-width: var(--pw-max); margin: 0 auto; }
.narrow    { max-width: var(--pw-narrow); margin: 0 auto; }
.copy      { max-width: var(--pw-copy); margin: 0 auto; }

/* === TYPOGRAPHY ===
   All text uses tokens from the type scale (--t-*) and letter-spacing scale (--ls-*).
   Never use arbitrary font-size values in component rules. */
h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  color: var(--m-mocha);
  margin: 0 0 var(--s-4);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); font-weight: 500; }
h4 { font-size: var(--t-md); font-weight: 500; }

@media (min-width: 900px) {
  h1 { font-size: var(--t-4xl); }
  h2 { font-size: var(--t-3xl); }
  h3 { font-size: var(--t-xl); }
}

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps-wide);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-plum);
  margin: 0 0 var(--s-3);
  display: block;
}
.lede {
  font-family: "Inter", sans-serif;
  font-size: var(--t-md);
  line-height: var(--lh-body);
  color: var(--m-mocha);
  max-width: 60ch;
}
.small { font-size: var(--t-sm); }
.muted { opacity: 0.75; }

/* Editorial hero — eyebrow (eh-sub) / rule / title / subhead
   Site-wide page hero pattern, see [[maria-page-hero-format]]. */
.editorial-hero { text-align: center; padding: var(--s-6) 0 var(--s-2); }
.editorial-hero .eh-sub {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps-xwide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--m-plum);
  margin: 0;
}
.editorial-hero .eh-sub::after {
  content: "";
  display: block;
  width: 60px;
  height: var(--rule-bold);
  background: var(--m-plum);
  margin: var(--s-4) auto;
}
.editorial-hero .eh-rule {
  width: 60px;
  height: var(--rule-bold);
  background: var(--m-plum);
  margin: var(--s-4) auto;
}
.editorial-hero .eh-title {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--t-3xl);
  color: var(--m-mocha);
  margin: 0;
  letter-spacing: var(--ls-display);
  line-height: 1;
}
.editorial-hero .eh-subhead {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--t-lg);
  color: var(--m-mocha);
  margin: var(--s-4) auto 0;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
  max-width: 44ch;
  opacity: 0.9;
}
@media (min-width: 900px) {
  .editorial-hero .eh-title { font-size: var(--t-5xl); }
  .editorial-hero .eh-subhead { font-size: var(--t-xl); margin-top: var(--s-5); }
}

/* Buttons + text CTAs — all use --t-xs (12px) uppercase with --ls-caps (0.24em) */
.btn-primary {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-blush);
  background: var(--m-plum);
  padding: var(--s-3) var(--s-6);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--m-mocha); opacity: 1; }

.btn-secondary {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-plum);
  background: transparent;
  padding: var(--s-3) var(--s-6);
  border: var(--rule-bold) solid var(--m-plum);
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--m-plum); color: var(--m-blush); opacity: 1; }

.cta-underline {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--m-mocha);
  border-bottom: var(--rule-std) solid var(--m-mocha);
  padding: 2px 0 var(--s-1);
  text-decoration: none;
}
.cta-underline.plum { color: var(--m-plum); border-color: var(--m-plum); }
.cta-underline:hover { border-color: var(--m-plum); color: var(--m-plum); opacity: 1; }

.cta-row { display: flex; gap: var(--s-8); flex-wrap: wrap; align-items: baseline; }
.cta-row.center { justify-content: center; }

/* Full-bleed image placeholder — supports background-image via inline style + a
   readable dark scrim + pill for the note text overlay. */
.fullbleed {
  width: 100%;
  height: 300px;
  background-color: rgba(155,110,134,0.14);
  background-image: repeating-linear-gradient(135deg, rgba(112,61,87,0.06) 0 6px, transparent 6px 12px);
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  color: var(--m-mocha);
  opacity: 0.75;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.fullbleed.tall { height: 420px; }
.fullbleed.short { height: 200px; }
.fullbleed[style*="url"] { background-size: cover; }
.fullbleed span { max-width: 52ch; line-height: 1.5; position: relative; z-index: 2; }
.fullbleed[style*="url"] {
  color: var(--m-blush);
  opacity: 1;
}
.fullbleed[style*="url"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64,42,44,0.35), rgba(64,42,44,0.55));
  z-index: 1;
}
.fullbleed[style*="url"] span {
  background: rgba(64,42,44,0.7);
  padding: 10px 18px;
  color: var(--m-blush);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Editorial pull-quote */
.pullquote { text-align: center; padding: 20px 0; max-width: 60ch; margin: 0 auto; }
.pullquote .pq-mark {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 0.4;
  color: var(--m-plum);
  opacity: 0.6;
}
.pullquote .pq-body {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--m-mocha);
  margin: 12px 0 16px;
  letter-spacing: -0.005em;
}
.pullquote .pq-attrib {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--m-plum);
}
@media (min-width: 900px) { .pullquote .pq-body { font-size: 32px; } }

/* Sanskrit / brand ornament divider */
.ornament {
  text-align: center;
  padding: 12px 0;
}
.ornament .om {
  font-family: "Noto Serif Devanagari", "Fraunces", serif;
  font-size: 24px;
  color: var(--m-plum);
  opacity: 0.55;
  vertical-align: middle;
}
.ornament .rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--m-mocha);
  opacity: 0.3;
  margin: 0 14px;
  vertical-align: middle;
}

/* Case-file / caseline card */
.caseline {
  border: 1.5px solid var(--m-mocha);
  overflow: hidden;
  background: var(--m-blush);
  display: flex;
  flex-direction: column;
}
.caseline .cf-img {
  background-color: rgba(155,110,134,0.14);
  background-image: repeating-linear-gradient(45deg, rgba(155,110,134,0.06) 0 6px, transparent 6px 12px);
  background-position: center;
  background-repeat: no-repeat;
  height: 200px;
  border-bottom: 1px solid var(--m-mocha);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--m-mocha);
  opacity: 0.7;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
}
.caseline .cf-img[style*="url"] { background-size: cover; }
.caseline .cf-img[style*="url"] { opacity: 1; }
.caseline .cf-img[style*="url"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64,42,44,0.15), rgba(64,42,44,0.35));
}
.caseline .cf-img:not([style*="url"])::before { content: "Image / " attr(aria-label); }
.caseline .cf-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.caseline .cf-body > p:last-child { margin-top: auto; }
.caseline .cf-tag {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--m-plum);
  font-weight: 700;
  margin: 0 0 6px;
}
.caseline .cf-name {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--m-mocha);
  margin: 0 0 6px;
}
.caseline .cf-data {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 30px;
  color: var(--m-plum);
  margin: 8px 0;
  line-height: 1;
  letter-spacing: -0.01em;
}
.caseline .cf-data em { font-style: normal; color: var(--m-mocha); font-size: 20px; }
.caseline .cf-note {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--m-mocha);
  opacity: 0.85;
  margin: 6px 0 12px;
}

/* Spec list — itemised inclusions / exclusions (clinic, protocols) */
.speclist { list-style: none; margin: 0; padding: 0; }
.speclist li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-family: "Inter", sans-serif;
  font-size: var(--t-sm);
  line-height: var(--lh-body);
  color: var(--m-mocha);
  padding: var(--s-3) 0;
  border-bottom: var(--rule-hair) solid var(--rule);
}
.speclist li:last-child { border-bottom: none; }
.speclist li::before {
  content: "";
  flex: 0 0 var(--s-3);
  height: var(--rule-hair);
  margin-top: var(--s-2);
  background: var(--m-mauve);
}
.speclist.excluded li { opacity: 0.75; }
.speclist.excluded li::before { background: var(--rule-2); }
.speclist-title {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--m-plum);
  font-weight: 700;
  margin: 0 0 var(--s-3);
}

/* Featured content row (Ottolenghi Recipes style) */
.featured-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) {
  .featured-row { grid-template-columns: 2fr 1fr 1fr; align-items: start; }
}
.featured-card { display: block; text-decoration: none; color: inherit; }
.featured-card .fc-img {
  background-color: rgba(155,110,134,0.14);
  background-image: repeating-linear-gradient(45deg, rgba(155,110,134,0.06) 0 6px, transparent 6px 12px);
  background-position: center;
  background-repeat: no-repeat;
  height: 220px;
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--m-mocha);
  opacity: 0.7;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
}
.featured-card .fc-img[style*="url"] { background-size: cover; }
.featured-card.wide .fc-img { height: 300px; }
.featured-card .fc-img[style*="url"] { opacity: 1; }
.featured-card .fc-img[style*="url"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64,42,44,0.1), rgba(64,42,44,0.25));
  transition: background 0.2s ease-in-out;
}
.featured-card:hover .fc-img[style*="url"]::after { background: linear-gradient(180deg, rgba(64,42,44,0.2), rgba(64,42,44,0.4)); }
.featured-card .fc-img:not([style*="url"])::before { content: "Image / " attr(aria-label); }
.featured-card .fc-tag {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--m-plum);
  font-weight: 700;
  margin: 0 0 4px;
}
.featured-card .fc-title {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  color: var(--m-mocha);
  margin: 0;
  letter-spacing: -0.005em;
}
.featured-card.wide .fc-title { font-size: 28px; }
.featured-card:hover .fc-title { color: var(--m-plum); }

/* Price strip */
.price-strip {
  border-top: 1px solid var(--m-mocha);
  border-bottom: 1px solid var(--m-mocha);
  margin: 20px 0;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--rule);
}
.price-row:last-child { border-bottom: none; }
.price-row .pr-name {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--m-mocha);
  margin: 0;
}
.price-row .pr-meta {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--m-mocha);
  opacity: 0.72;
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}
.price-row .pr-price {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 30px;
  color: var(--m-plum);
  margin: 0;
  line-height: 1;
}

/* Two-column split layout */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } }
.split-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 800px) { .split-3 { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Form fields */
form { display: flex; flex-direction: column; gap: 12px; }
.field {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--m-mocha);
  background: var(--m-blush);
  color: var(--m-mocha);
  border-radius: 0;
}
.field:focus { outline: 2px solid var(--m-plum); outline-offset: -2px; }
textarea.field { min-height: 100px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--m-plum); margin-top: 8px; }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 4px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--m-plum);
  background: var(--m-blush);
  align-items: baseline;
}
.step .st-num {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--m-plum);
}
.step .st-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--m-mocha);
  margin: 0 0 4px;
}
.step .st-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--m-mocha);
  opacity: 0.85;
  margin: 0;
}

/* Notes to Maria (visible inline callouts) */
.note-maria {
  border: 2px dashed var(--m-plum);
  padding: 14px 18px;
  margin: 20px 0;
  background: rgba(255,173,255,0.08);
  position: relative;
}
.note-maria::before {
  content: "Note to Maria";
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--m-plum);
  color: var(--m-blush);
  padding: 3px 10px;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}
.note-maria p {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--m-mocha);
  margin: 4px 0 0;
}
.note-maria p strong { color: var(--m-plum); font-weight: 600; }

/* Credentials footnote */
.credentials-line {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--m-plum);
  font-weight: 600;
  margin: 20px 0 0;
}

/* Footer */
footer.site-footer {
  background: var(--m-mocha);
  color: var(--m-blush);
  padding: 60px 24px 40px;
  margin-top: 80px;
}
section.flush-b + footer.site-footer,
main:has(> section.flush-b:last-child) + footer.site-footer { margin-top: 0; }
section.flush-b .cta-row.center { flex-wrap: nowrap; justify-content: center; }
@media (max-width: 720px) { section.flush-b .cta-row.center { flex-wrap: wrap; } }
footer.site-footer a { color: var(--m-blush); opacity: 0.8; }
footer.site-footer a:hover { color: var(--m-pop); opacity: 1; }
.footer-inner {
  max-width: var(--pw-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
/* Minimal footer: wordmark+tag lockup on the left (as a centered unit),
   copyright/links on the right, both vertically centered */
.footer-inner.footer-minimal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-2) 0;
  flex-wrap: wrap;
}
.footer-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  text-align: center;
}
.footer-lockup .foot-mark {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--t-md);
  line-height: 1.1;
  color: var(--m-blush);
  letter-spacing: -0.005em;
  margin: 0;
}
.footer-lockup .foot-rule {
  width: 48px;
  height: 1px;
  background: var(--m-blush);
  opacity: 0.75;
}
.footer-lockup .foot-tag {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xxs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--m-blush);
  opacity: 0.75;
  margin: 0;
}
.footer-copyright {
  font-family: "Inter", sans-serif;
  font-size: var(--t-xxs);
  letter-spacing: var(--ls-caps-tight);
  text-transform: uppercase;
  color: var(--m-blush);
  opacity: 0.7;
  margin: 0;
  text-align: right;
}
.footer-copyright a { color: var(--m-blush); text-decoration: none; border-bottom: 1px solid rgba(255,238,238,0.3); padding-bottom: 1px; }
.footer-copyright a:hover { opacity: 1; border-bottom-color: var(--m-blush); }
@media (max-width: 640px) {
  .footer-inner.footer-minimal { flex-direction: column; align-items: center; gap: var(--s-4); }
  .footer-copyright { text-align: center; }
}


/* Sanskrit / Devanagari script utility.
   Use for clinical Sanskrit terms only, per brand voice: translate on first use, then reuse.
   Example: <span class="deva">वात</span> Vata (first use), Vata (subsequent) */
.deva {
  font-family: "Noto Serif Devanagari", "Fraunces", serif;
  color: var(--m-plum);
  font-weight: 500;
  letter-spacing: 0;
}

/* Utility — spacing utilities use px values from the spacing scale (--s-N).
   Use these for one-off spacing between siblings. Component spacing lives in the component rules. */
.center { text-align: center; }
.mt-8   { margin-top: var(--s-2); }
.mt-12  { margin-top: var(--s-3); }
.mt-16  { margin-top: var(--s-4); }
.mt-20  { margin-top: var(--s-5); }
.mt-24  { margin-top: var(--s-6); }
.mt-32  { margin-top: var(--s-8); }
.mt-40  { margin-top: var(--s-10); }
.mt-48  { margin-top: var(--s-12); }
.mt-64  { margin-top: var(--s-16); }
.mt-80  { margin-top: var(--s-20); }
.mb-16  { margin-bottom: var(--s-4); }
.mb-24  { margin-bottom: var(--s-6); }
.mb-32  { margin-bottom: var(--s-8); }
.mb-48  { margin-bottom: var(--s-12); }
.mb-64  { margin-bottom: var(--s-16); }
.spacer-24 { height: var(--s-6); }
.spacer-40 { height: var(--s-10); }
.spacer-64 { height: var(--s-16); }
.spacer-80 { height: var(--s-20); }
