/* ==========================================================================
   Mindful Living 24/7 — site styles
   Plain CSS, mobile-first. Sections:
   1. Tokens  2. Base  3. Layout  4. Header/nav  5. Components  6. Footer
   7. Page-specific  8. Utilities  9. Motion/print
   Contrast (WCAG AA) checked for every text/background pair used below:
     ink on bg 13.8:1 · ink-soft on bg 6.9:1 · ink-soft on sand 6.2:1
     white on accent 6.1:1 · white on sage-800 8.7:1 · sage-800 on bg 8.2:1
     accent on bg 5.7:1 · sage-50 on sage-900 10.7:1 · accent-light on sage-900 8.0:1
   ========================================================================== */

/* 0. Fonts (self-hosted Google Fonts, SIL OFL; latin subset, variable weight) */
@font-face {
  font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/lora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens --------------------------------------------------------------- */
:root {
  /* palette */
  --ink: #1f2b27;
  --ink-soft: #4b5a55;
  --bg: #fbf8f2;          /* warm cream */
  --surface: #ffffff;
  --sand: #f3ecdf;
  --sand-deep: #e9dcc6;   /* decorative only */
  --sage-50: #e8f0ea;
  --sage-100: #d6e4da;
  --sage-500: #5b7d6e;    /* decorative / large text only */
  --sage-700: #3d6657;
  --sage-800: #2f5245;
  --sage-900: #23392f;
  --accent: #a2471f;      /* terracotta — CTAs */
  --accent-hover: #8f3d1a;
  --accent-light: #f3c99a;/* accent on dark backgrounds */
  --line: #ddd3c2;
  --focus: #1b5fa8;

  /* type */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.94rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.17vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.37rem + 0.65vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.58rem + 1.1vw, 2.55rem);
  --step-4: clamp(2.1rem, 1.75rem + 1.8vw, 3.3rem);

  /* space */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-s: 0.75rem;
  --space-m: 1rem;
  --space-l: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --space-3xl: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);

  /* shape */
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 22px;
  --shadow: 0 1px 2px rgba(31, 43, 39, .06), 0 6px 20px rgba(31, 43, 39, .07);
  --shadow-lift: 0 2px 4px rgba(31, 43, 39, .08), 0 14px 32px rgba(31, 43, 39, .12);

  --container: 72rem;
  --container-narrow: 46rem;
  --header-h: 4.5rem;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--sage-900);
  margin: 0 0 var(--space-s);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 var(--space-m); }
p { max-width: 68ch; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.3rem; }
a { color: var(--sage-800); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-xl) 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.site-footer, .topbar, .feature, .cta-band, .section-dark { --focus: var(--accent-light); }
::selection { background: var(--sage-100); color: var(--ink); }

.skip-link {
  position: absolute; left: var(--space-m); top: -100px; z-index: 1000;
  background: var(--sage-900); color: #fff; padding: var(--space-xs) var(--space-m);
  border-radius: var(--radius-s); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--space-xs); color: #fff; }

/* 3. Layout --------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--space-3xl); }
.section-tight { padding-block: var(--space-2xl); }
.section-sand { background: var(--sand); }
.section-sage { background: var(--sage-50); }
.section-dark { background: var(--sage-900); color: var(--sage-50); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--accent-light); }
.section-head { max-width: 44rem; margin-bottom: var(--space-xl); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: var(--step--1);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage-700); margin-bottom: var(--space-xs);
}
.section-dark .eyebrow { color: var(--accent-light); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.section-dark .lead { color: var(--sage-50); }

.grid { display: grid; gap: var(--space-l); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--space-l); grid-template-columns: 1fr; }
@media (min-width: 40rem) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .split-60 { grid-template-columns: 3fr 2fr; }
  .split-40 { grid-template-columns: 2fr 3fr; }
  .split.reverse > :first-child { order: 2; }
}
.stack > * + * { margin-top: var(--space-m); }

/* 4. Header / nav --------------------------------------------------------- */
.topbar { background: var(--sage-900); color: var(--sage-50); font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-m); min-height: 2.25rem; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.topbar a:hover { color: var(--accent-light); text-decoration: underline; }
@media (max-width: 39.99rem) { .topbar span { display: none; } .topbar-inner { justify-content: center; } }
.nav-phone { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: var(--space-xs); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, .97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(251, 248, 242, .9); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex; align-items: center; gap: var(--space-m);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--space-s);
  text-decoration: none; color: var(--sage-900); margin-right: auto;
}
.brand:hover { color: var(--sage-900); }
.brand img { width: auto; height: 2.75rem; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; }
.brand-tag { font-size: .8rem; color: var(--ink-soft); letter-spacing: .02em; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: 1rem; color: var(--sage-900);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem .95rem; min-height: 44px; cursor: pointer;
}
.nav-toggle:hover { background: var(--sage-50); }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

.btn.header-cta { white-space: nowrap; gap: 0; }
.brand-name { white-space: nowrap; }
@media (max-width: 29.99rem) {
  .brand-tag { display: none; }
  .brand-name { font-size: .98rem; }
  .brand img { height: 1.9rem; }
  .brand { gap: .4rem; }
  .header-inner.container { width: calc(100% - 2rem); }
  .header-inner { gap: var(--space-xs); }
  .nav-toggle { padding: 0; width: 44px; justify-content: center; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta.btn-small { padding: .4rem .7rem; font-size: .85rem; min-height: 44px; }
}
@media (max-width: 25rem) {
  /* Let the name wrap ("Mindful Living / 24/7") instead of being cut off with an ellipsis. */
  .brand-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.1; }
  .cta-verb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 22.5rem) { .btn.header-cta { display: none; } }
.nav-toggle { flex: none; }
.brand { min-width: 0; }
.brand-text { min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; }

/* Mobile nav panel (default). Without JS the menu is simply shown inline. */
.site-nav { width: 100%; }
.nav-list, .dropdown { list-style: none; margin: 0; padding: 0; }
.nav-list li + li, .dropdown li + li { margin-top: 0; }
.nav-link, .dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .8rem 0; min-height: 44px;
  font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-link:hover, .dropdown-toggle:hover { color: var(--accent); }
.nav-link[aria-current="page"], .dropdown-toggle.is-current { color: var(--sage-800); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.chevron { width: .7rem; height: .7rem; flex: none; margin-left: .4rem; transition: transform .2s ease; }
.dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: .6rem .75rem; min-height: 44px; color: var(--ink);
  text-decoration: none; border-radius: var(--radius-s); font-weight: 500;
}
.dropdown a:hover { background: var(--sage-50); color: var(--sage-900); }
.dropdown a[aria-current="page"] { background: var(--sage-50); color: var(--sage-900); font-weight: 700; }
.dropdown .dropdown-all { font-weight: 700; color: var(--sage-800); }
.dropdown .dropdown-feature { font-weight: 700; color: var(--accent); }

/* JS-enhanced mobile behaviour */
.js .site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: var(--space-xs) 1.25rem var(--space-l);
}
.js .site-nav.is-open { display: block; }
.js .nav-list > li { border-bottom: 1px solid var(--line); }
.js .dropdown { display: none; padding: 0 0 var(--space-s) var(--space-s); }
.js .dropdown.is-open { display: block; }
.nav-book { padding-top: var(--space-m); }
.nav-book .btn { width: 100%; }
.nav-phone { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: var(--space-xs); font-weight: 600; }
.nav-toggle { order: 3; }
.no-js-only { display: none; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: var(--space-xs); }

@media (min-width: 66rem) {
  .nav-toggle { display: none; }
  .js .site-nav, .site-nav {
    display: block; position: static; width: auto; background: none; border: 0;
    box-shadow: none; padding: 0; max-height: none; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: .15rem; }
  .js .nav-list > li { border: 0; }
  .nav-list > li { position: relative; }
  .nav-link, .dropdown-toggle { width: auto; padding: .5rem .65rem; font-size: 1rem; border-radius: var(--radius-s); }
  .dropdown, .js .dropdown {
    position: absolute; top: calc(100% + .35rem); left: -.5rem; min-width: 17rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lift); padding: var(--space-xs);
  }
  .js .dropdown.is-open, html:not(.js) .has-dropdown:hover .dropdown, html:not(.js) .has-dropdown:focus-within .dropdown { display: grid; grid-template-columns: 1fr 1fr; min-width: 33rem; column-gap: .25rem; }
  .dropdown-wide { grid-column: 1 / -1; }
  html:not(.js) .has-dropdown .dropdown { display: none; }
  html:not(.js) .has-dropdown:hover .dropdown,
  html:not(.js) .has-dropdown:focus-within .dropdown { display: block; }
  .nav-book { display: none; }
  .header-cta { margin-left: var(--space-s); }
  .nav-link, .dropdown-toggle { white-space: nowrap; padding-inline: .55rem; }
  .nav-home { display: none; } /* the logo links home */
}
@media (min-width: 66rem) and (max-width: 81.99rem) { .brand-tag { display: none; } }
@media (min-width: 66rem) and (max-width: 74.99rem) {
  .nav-link, .dropdown-toggle { padding-inline: .4rem; font-size: .95rem; }
  .header-cta .cta-verb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* 5. Components ----------------------------------------------------------- */
/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(162, 71, 31, .25); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--sage-800); color: #fff; }
.btn-secondary:hover { background: var(--sage-900); color: #fff; }
.btn-outline { background: transparent; color: var(--sage-800); border-color: var(--sage-800); }
.btn-outline:hover { background: var(--sage-800); color: #fff; }
.section-dark .btn-outline, .feature .btn-outline, .cta-band .btn-outline, .btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .8); background: transparent; }
.section-dark .btn-outline:hover, .feature .btn-outline:hover, .cta-band .btn-outline:hover, .btn-outline-light:hover { background: #fff; color: var(--sage-900); }
.btn-small { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; }
.btn-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--space-xs); }
.section-dark .btn-note { color: var(--sage-100); }
.text-link { font-weight: 700; color: var(--sage-800); text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; color: var(--accent); }

/* Hero */
.hero { padding-block: var(--space-2xl) var(--space-3xl); background:
  radial-gradient(ellipse at 85% 10%, var(--sage-50) 0, transparent 55%),
  radial-gradient(ellipse at 0% 100%, var(--sand) 0, transparent 50%), var(--bg); }
.hero-grid { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 52rem) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--space-2xl); } }
.hero h1 { margin-bottom: var(--space-m); }
.hero .lead { margin-bottom: var(--space-l); }
.hero-media { position: relative; }
.hero-media { max-width: 30rem; margin-inline: auto; width: 100%; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%;
  border-radius: 200px 200px var(--radius-l) var(--radius-l);
  box-shadow: var(--shadow-lift);
}
.hero-badge {
  position: absolute; left: -0.5rem; bottom: 1.5rem; max-width: 16rem; margin: 0;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: var(--space-s) var(--space-m); font-size: var(--step--1); line-height: 1.4;
}
.hero-badge strong { display: block; color: var(--sage-900); font-family: var(--font-serif); font-size: 1rem; }
.trust-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-l); margin-top: var(--space-l); font-size: var(--step--1); color: var(--ink-soft); }
.trust-list li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.trust-list li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sage-500); }

/* Intro band (homepage "who I help") */
.intro-band { background: var(--surface); border-block: 1px solid var(--line); }
.intro-text { font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.55; color: var(--sage-900); margin-inline: auto; max-width: 44rem; }
.intro-text-sm { max-width: 44rem; margin-inline: auto; color: var(--ink-soft); }
.role { font-weight: 600; color: var(--sage-700); }

/* Page hero (interior pages) */
.page-hero { padding-block: var(--space-2xl); background: var(--sage-50); border-bottom: 1px solid var(--sage-100); }
.page-hero h1 { font-size: var(--step-4); }
.page-hero .lead { margin-bottom: var(--space-l); }
.page-hero .btn-group { margin-top: var(--space-m); }
.breadcrumb { font-size: var(--step--1); margin-bottom: var(--space-s); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li { margin: 0; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: var(--sage-500); }
.breadcrumb a { color: var(--sage-800); }

/* Cards */
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; height: 100%;
}
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: var(--space-l); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-soft); }
.card-body .text-link { margin-top: auto; padding-top: var(--space-s); }
.card-link { transition: transform .15s ease, box-shadow .15s ease; position: relative; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card-link h3 a { text-decoration: none; color: inherit; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card-link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-link h3 a:focus-visible { outline: none; }
.card-icon {
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-50); color: var(--sage-800); margin-bottom: var(--space-xs);
}
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.card-plain { background: transparent; border: 0; box-shadow: none; }
.card-sand { background: var(--sand); border-color: transparent; box-shadow: none; }

/* Service grid */
.service-grid { display: grid; gap: var(--space-l); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.service-grid > li { margin: 0; }
@media (min-width: 38rem) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 38rem) and (max-width: 61.99rem) {
  .service-grid:not(.service-grid-4) > li:last-child:nth-child(odd) { grid-column: 1 / -1; } /* no orphan card in 2 columns */
}
@media (min-width: 62rem) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62rem) { .service-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.service-grid .card-body h3 { font-size: var(--step-1); }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-700); }

/* Feature (program spotlight) */
.feature {
  display: grid; gap: var(--space-xl); align-items: center;
  background: var(--sage-900); color: var(--sage-50); border-radius: var(--radius-l);
  padding: var(--space-2xl) var(--space-l); position: relative; overflow: hidden;
}
@media (min-width: 52rem) { .feature { grid-template-columns: 1.2fr .8fr; padding: var(--space-2xl); } }
.feature h2, .feature h3 { color: #fff; }
.feature .eyebrow { color: var(--accent-light); }
.feature .lead { color: var(--sage-50); }
.feature a:not(.btn) { color: var(--accent-light); }
.feature img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li + li { margin-top: .55rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--sage-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232f5245' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.feature .check-list li::before, .section-dark .check-list li::before { background-color: var(--accent-light); }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-l); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; margin: 0; background: var(--surface); border-radius: var(--radius); padding: var(--space-l); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: var(--space-s);
  background: var(--sage-800); color: #fff; font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem;
}
.steps h3 { margin-bottom: var(--space-xs); }
.steps p { margin: 0; color: var(--ink-soft); }

/* Testimonial */
.testimonial {
  margin: 0; background: var(--surface); border-radius: var(--radius); padding: var(--space-l) var(--space-l) var(--space-l);
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.testimonial::before {
  content: "\201C"; font-family: var(--font-serif); font-size: 4rem; line-height: 1;
  color: var(--sage-100); position: absolute; top: .5rem; left: 1rem;
}
.testimonial blockquote { margin: 0 0 var(--space-m); padding-top: 1.6rem; position: relative; font-size: var(--step-0); }
.testimonial blockquote p { margin-bottom: var(--space-s); }
.testimonial figcaption { margin-top: auto; font-weight: 700; color: var(--sage-800); font-size: var(--step--1); }
.testimonial-featured { background: var(--sand); border: 0; box-shadow: none; padding: var(--space-xl); }
.testimonial-featured blockquote { font-family: var(--font-serif); font-size: var(--step-0); line-height: 1.6; }
.testimonial-list { columns: 1; column-gap: var(--space-l); }
@media (min-width: 48rem) { .testimonial-list { columns: 2; } }
.testimonial-list .testimonial { break-inside: avoid; margin-bottom: var(--space-l); height: auto; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.hours-table th, .hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours-table th { font-weight: 700; padding-right: var(--space-m); white-space: nowrap; }
.hours-table td { color: var(--ink-soft); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--sage-900); }
.hours-table tr.is-today th::after { content: " (today)"; font-weight: 400; font-size: .85em; color: var(--sage-700); }
.hours-table .closed { color: var(--ink-soft); font-style: italic; }
.section-dark .hours-table th, .section-dark .hours-table td { border-color: rgba(255, 255, 255, .18); color: var(--sage-50); }

/* Info / location card */
.info-card { background: var(--surface); border-radius: var(--radius-l); padding: var(--space-xl); box-shadow: var(--shadow); border: 1px solid var(--line); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: var(--space-s); align-items: start; margin: 0; padding: var(--space-xs) 0; }
.info-list svg { width: 1.3rem; height: 1.3rem; color: var(--sage-700); margin-top: .25rem; }
address { font-style: normal; }

/* CTA band */
.cta-band { background: var(--sage-900); color: var(--sage-50); padding-block: var(--space-2xl); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 28rem; height: 28rem; border-radius: 50%;
  right: -8rem; top: -10rem; background: var(--sage-800); opacity: .6;
}
.cta-band .container { position: relative; display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 52rem) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--space-xs); }
.cta-band p { margin: 0; color: var(--sage-50); }
.cta-band a:not(.btn) { color: var(--accent-light); }
.cta-band .btn-note { color: var(--sage-100); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-m) 2.5rem var(--space-m) 0; position: relative;
  font-family: var(--font-serif); font-weight: 600; font-size: var(--step-1); color: var(--sage-900); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%; width: .75rem; height: .75rem;
  border-right: 2px solid var(--sage-700); border-bottom: 2px solid var(--sage-700);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq .faq-body { padding-bottom: var(--space-m); color: var(--ink); }

/* Prose (long-form content) */
.prose > * + * { margin-top: var(--space-m); }
.prose h2 { margin-top: var(--space-2xl); font-size: var(--step-2); }
.prose h3 { margin-top: var(--space-xl); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul li::marker { color: var(--sage-500); }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }

/* Two-column content + sidebar (service pages) */
.content-grid { display: grid; gap: var(--space-2xl); }
@media (min-width: 60rem) { .content-grid { grid-template-columns: minmax(0, 1fr) 20rem; } }
.sidebar { display: flex; flex-direction: column; gap: var(--space-l); }
@media (min-width: 60rem) { .sidebar-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.sidebar-card { background: var(--sand); border-radius: var(--radius); padding: var(--space-l); }
.sidebar-card h2, .sidebar-card h3 { font-size: var(--step-1); }
.sidebar-card .btn { width: 100%; }
.sidebar-card p { max-width: none; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { margin: 0; }
.sidebar-card li a { display: block; padding: .4rem 0; min-height: 44px; display: flex; align-items: center; }
.sidebar-card li a[aria-current="page"] { font-weight: 700; color: var(--sage-900); }

/* Callout / notice */
.callout {
  background: var(--sage-50); border-left: 4px solid var(--sage-700); border-radius: var(--radius-s);
  padding: var(--space-m) var(--space-l); color: var(--ink);
}
.callout p:last-child { margin-bottom: 0; }
.callout-note { background: var(--sand); border-color: var(--accent); }
.todo-owner { /* visible flag for owner placeholders */
  background: #fff4d6; border: 1px dashed #9a6b00; color: #5c4000; border-radius: var(--radius-s);
  padding: .1rem .4rem; font-size: .9em;
}

/* Photo placeholder (until real images land) */
.photo-placeholder {
  display: grid; place-items: center; text-align: center; padding: var(--space-l);
  aspect-ratio: 4 / 5; width: 100%; border-radius: 200px 200px var(--radius-l) var(--radius-l);
  background: linear-gradient(160deg, var(--sage-100), var(--sand-deep)); color: var(--ink-soft); font-weight: 600;
}
.photo-placeholder-dark { aspect-ratio: 1; border-radius: var(--radius); background: var(--sage-800); color: var(--sage-50); }

/* Figure / media */
.media-frame img { border-radius: var(--radius-l); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.media-round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.meet-photo { position: relative; isolation: isolate; max-width: 26rem; margin-inline: auto; width: 100%; }
.meet-photo::before { content: ""; position: absolute; inset: 6% -4% -4% 6%; border-radius: 50%; background: var(--sand); z-index: -1; }
.meet-photo img { object-position: 50% 20%; }
.media-arch img { border-radius: 200px 200px var(--radius-l) var(--radius-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Credentials / pill list */
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.pill-list li { margin: 0; background: var(--sage-50); color: var(--sage-900); border-radius: 999px; padding: .35rem .9rem; font-size: var(--step--1); font-weight: 600; }

/* Embedded map */
.map-embed { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--sage-50); }

/* 6. Footer --------------------------------------------------------------- */
.site-footer { background: var(--sage-900); color: var(--sage-50); padding-top: var(--space-2xl); font-size: var(--step--1); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-light); }
.footer-grid { display: grid; gap: var(--space-xl); }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-family: var(--font-sans); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: var(--space-s); }
.footer-brand .brand-name { font-size: 1.35rem; color: #fff; display: block; margin-bottom: var(--space-xs); }
.footer-brand p { color: var(--sage-100); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-hours { width: 100%; border-collapse: collapse; }
.footer-hours th, .footer-hours td { text-align: left; padding: .2rem 0; vertical-align: top; font-weight: 400; color: var(--sage-50); }
.footer-hours th { font-weight: 700; padding-right: var(--space-s); white-space: nowrap; }
.social-links { display: flex; gap: var(--space-xs); list-style: none; padding: 0; margin: var(--space-s) 0 0; }
.social-links li { margin: 0; }
.social-links a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
}
.social-links a:hover { background: var(--accent); color: #fff; }
.social-links svg { width: 20px; height: 20px; }
.footer-disclaimer {
  margin-top: var(--space-2xl); padding-block: var(--space-l); border-top: 1px solid rgba(255, 255, 255, .16);
  color: var(--sage-100); font-size: .85rem; line-height: 1.6;
}
.footer-disclaimer p { max-width: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); margin-top: var(--space-s); }

/* Service pages */
.facts-row { list-style: none; padding: 0; margin: 0 0 var(--space-l); display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, max-content)); gap: var(--space-s) var(--space-xl); }
.facts-row li { margin: 0; display: flex; flex-direction: column; font-size: var(--step-0); color: var(--ink); }
.facts-row strong { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-700); }
@media (min-width: 40rem) { .check-list.two-col { columns: 2; column-gap: var(--space-xl); } .check-list.two-col li { break-inside: avoid; margin: 0 0 .55rem; } }
.step-list { list-style: none; padding: 0; counter-reset: s; }
.step-list li { counter-increment: s; position: relative; padding-left: 3rem; min-height: 2.2rem; }
.step-list li + li { margin-top: var(--space-m); }
.step-list li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage-50); color: var(--sage-800);
  font-family: var(--font-serif); font-weight: 600;
}
.option-list { list-style: none; padding: 0; margin: 0 0 var(--space-m); }
.option-list li { padding: .45rem 0; border-bottom: 1px solid var(--sand-deep); margin: 0; }
.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li { margin: 0; }
.file-list a { display: flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; }
.file-meta { font-weight: 400; color: var(--ink-soft); font-size: .9em; }
.small { font-size: var(--step--1); }
.prose .callout { max-width: none; }
.prose p { max-width: none; }
.prose-figure { margin: 0 0 var(--space-l); }
.prose-figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 26rem; }
.prose-figure-narrow img { max-width: 11rem; }
.prose-figure-small img { max-width: 17rem; }
@media (min-width: 48rem) {
  .prose-figure { float: right; width: 40%; margin: .4rem 0 var(--space-l) var(--space-xl); }
  .prose-figure-narrow { width: 11rem; }
  .prose-figure-small { width: 17rem; }
}
.prose > h2 { clear: both; }
.prose > h2:first-of-type { clear: none; }
.prose .prose-figure + h2 { margin-top: 0; }

/* About / program pages */
.align-start { align-items: start; }
.page-hero-split .meet-photo { max-width: 20rem; }
.about-photo { margin: 0; }
.about-photo img { aspect-ratio: 601 / 873; max-width: 26rem; margin-inline: auto; }
@media (min-width: 52rem) { .about-photo { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
@media (min-width: 62rem) { .steps-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 48rem) and (max-width: 61.99rem) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
.hero-media-wide { max-width: none; }
.hero-media-wide img { aspect-ratio: 4 / 3; object-position: center; border-radius: var(--radius-l); }
.hero .breadcrumb { margin-bottom: var(--space-m); }
.phase-list { list-style: none; padding: 0; margin: var(--space-l) 0 0; border-left: 2px solid var(--sage-100); }
.phase-list li { position: relative; padding: 0 0 var(--space-l) var(--space-xl); margin: 0; }
.phase-list li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--sage-700); }
.phase-list li:last-child { padding-bottom: 0; }
.phase-list h3 { margin-bottom: var(--space-2xs); }
.phase-list h3 span { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; color: var(--sage-700); margin-left: .35rem; }
.phase-list p { margin: 0; color: var(--ink-soft); }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-lift); padding: var(--space-xl); border-top: 6px solid var(--accent); }
.price-card .price { font-size: var(--step-4); line-height: 1; margin-bottom: var(--space-xs); }
.coach { display: flex; gap: var(--space-m); align-items: center; }
.coach img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; flex: none; }
.coach p { margin: 0; }
.h3 { font-size: var(--step-1); }

/* Classes / resources / testimonials / contact */
.narrow-center { max-width: 44rem; text-align: center; }
.narrow-center p { margin-inline: auto; }
.class-figure { margin: 0 0 var(--space-m); }
.class-figure img { border-radius: var(--radius); background: #fff; }
.detail-list { margin: 0 0 var(--space-l); }
.detail-list > div { display: flex; justify-content: space-between; gap: var(--space-m); padding: .55rem 0; border-bottom: 1px solid var(--line); }
.detail-list dt { font-weight: 700; }
.detail-list dd { margin: 0; color: var(--ink-soft); text-align: right; }
.h2 { font-size: var(--step-2); }
.card-feature .card-body { padding: var(--space-xl); }
a.card { text-decoration: none; color: inherit; }
a.card:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.nowrap { white-space: nowrap; }
.tag-inline, .role-inline { display: block; font-weight: 400; color: var(--ink-soft); font-size: .9em; }
.testimonial-list-3 { columns: 1; }
@media (min-width: 40rem) { .testimonial-list-3 { columns: 2; } }
@media (min-width: 62rem) { .testimonial-list-3 { columns: 3; } }
.testimonial[hidden] { display: none; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-l); }
.filter-bar[hidden] { display: none; }
/* Pre-apply the JS initial state so nothing shifts when main.js runs. */
.js .filter-bar[hidden] { display: flex; }
.js [data-filter-target] > [data-tags]:nth-child(n+13) { display: none; }
.js [data-filter-target].is-ready > [data-tags]:nth-child(n+13):not([hidden]) { display: block; }
.chip {
  font: inherit; font-weight: 600; font-size: var(--step--1); min-height: 44px; padding: .4rem 1rem;
  border-radius: 999px; border: 1px solid var(--sage-700); background: var(--surface); color: var(--sage-800); cursor: pointer;
}
.chip:hover { background: var(--sage-50); }
.chip[aria-pressed="true"] { background: var(--sage-800); border-color: var(--sage-800); color: #fff; }
.show-all { display: flex; margin: var(--space-l) auto 0; }
.show-all[hidden] { display: none; }
.filter-count { font-size: var(--step--1); color: var(--ink-soft); margin-left: var(--space-xs); }
.contact-grid { display: grid; gap: var(--space-l); }
@media (min-width: 48rem) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid .info-card { padding: var(--space-l); }
.file-list-cards { display: grid; gap: var(--space-s); }
.file-list-cards a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; text-decoration: none; }
.file-list-cards a:hover { border-color: var(--sage-700); }
.file-list-cards a::before {
  content: ""; flex: none; width: 1.4rem; height: 1.4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v4h4M9 13h6M9 17h6' fill='none' stroke='%233d6657' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.policy-grid h3 { font-size: var(--step-1); margin-bottom: var(--space-xs); }
.policy-grid p { color: var(--ink-soft); margin: 0; }

/* 7. Page-specific -------------------------------------------------------- */
.not-found { text-align: center; padding-block: var(--space-3xl); }
.not-found .btn-group { justify-content: center; }
.not-found .lead { margin-inline: auto; }
.price { font-family: var(--font-serif); font-size: var(--step-2); color: var(--sage-900); font-weight: 600; }

/* Blog (pages generated by tools/build-blog.py) */
.card-link h2 a { text-decoration: none; color: inherit; }
.card-link h2 a::after { content: ""; position: absolute; inset: 0; }
.card-link h2 a:focus-visible { outline: none; }
.post-grid { display: grid; gap: var(--space-l); grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.post-grid > li { margin: 0; }
@media (min-width: 40rem) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card h2 { font-size: var(--step-1); margin: 0; }
.post-meta { font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-700); margin: 0; }
.card-body .post-meta { color: var(--sage-700); }
.post-hero h1 { font-size: var(--step-4); margin-bottom: var(--space-s); }
.post-byline { color: var(--ink-soft); margin: 0; }
.post-body { min-width: 0; }
.post-body > :first-child { margin-top: 0; }
.post-body blockquote {
  margin-inline: 0; padding: var(--space-xs) 0 var(--space-xs) var(--space-l); border-left: 4px solid var(--sand-deep);
  font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.5; color: var(--sage-900);
}
.post-body blockquote > :last-child { margin-bottom: 0; }
.post-body img { border-radius: var(--radius); }
.post-figure, .post-hero-media { margin: 0; }
.post-figure img, .post-hero-media img { box-shadow: var(--shadow); }
.post-hero-media img { width: 100%; }
.post-hero h1 { max-width: 24ch; }
.post-hero-media img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); }
.post-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--space-xs); }
.post-body pre { overflow-x: auto; background: var(--sand); padding: var(--space-m); border-radius: var(--radius-s); }
.post-body .callout { margin-top: var(--space-2xl); }

.latest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-s) var(--space-l); max-width: none; }
.latest-head h2 { margin: 0; }
.latest-card {
  display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow); overflow: hidden;
}
@media (min-width: 48rem) { .latest-card { grid-template-columns: 5fr 7fr; } }
.latest-media img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.latest-media-plain {
  display: grid; place-items: center; min-height: 12rem; color: var(--sage-700);
  background: radial-gradient(circle at 30% 30%, var(--sage-50), var(--sand) 70%);
}
.latest-media-plain svg { width: 5rem; height: 5rem; }
.latest-body { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-s); justify-content: center; }
.latest-body h3 { font-size: var(--step-2); margin: 0; }
.latest-body h3 a { text-decoration: none; color: var(--sage-900); }
.latest-body h3 a::after { content: ""; position: absolute; inset: 0; }
.latest-body h3 a:focus-visible { outline: none; }
.latest-body p { margin: 0; color: var(--ink-soft); }
.latest-body .post-meta { color: var(--sage-700); }

.newsletter { background: var(--sand); padding-block: var(--space-2xl); border-top: 1px solid var(--line); }
.newsletter-inner { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 52rem) { .newsletter-inner { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); } }
.newsletter h2 { margin-bottom: var(--space-xs); }
.newsletter-inner p { margin: 0; }

/* Shop */
.shop-grid { display: grid; gap: var(--space-l); }
@media (min-width: 52rem) { .shop-grid { grid-template-columns: 1fr 1fr; } }
.shop-card {
  display: flex; flex-direction: column; gap: var(--space-s); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--sage-700);
  border-radius: var(--radius-l); box-shadow: var(--shadow); padding: var(--space-xl);
}
.shop-card:first-child { border-top-color: var(--accent); }
.shop-card h2 { font-size: var(--step-2); margin: 0; }
.shop-card p { margin: 0; color: var(--ink-soft); }
.shop-card .btn-group { margin-top: auto; padding-top: var(--space-s); }
.shop-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--sage-50); color: var(--sage-800); }
.shop-icon svg { width: 1.6rem; height: 1.6rem; }
.shop-steps { margin: var(--space-xs) 0; }
.qlink-text { margin-inline: auto; }
.qlink-banner { display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); margin-top: var(--space-l); }
.qlink-banner a { display: block; width: 100%; max-width: 728px; line-height: 0; border-radius: var(--radius-s); }
.qlink-banner img, .qlink-banner canvas { width: 100%; max-width: 728px; height: auto; border-radius: var(--radius-s); box-shadow: var(--shadow); }
.qlink-banner canvas[hidden], .qlink-banner img[hidden] { display: none; }
.pause-btn {
  font: inherit; font-size: var(--step--1); font-weight: 600; min-height: 44px; padding: .3rem .9rem;
  background: transparent; color: var(--sage-800); border: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.pause-btn:hover { color: var(--accent); }

/* 8. Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
p.center { max-width: none; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: var(--space-l); } .mt-xl { margin-top: var(--space-xl); }
.muted { color: var(--ink-soft); }

/* 9. Motion / print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .card-link:hover { transform: none; }
}
@media print {
  .site-header, .cta-band, .nav-toggle, .skip-link, .social-links { display: none !important; }
  body { background: #fff; color: #000; }
  .site-footer { background: #fff; color: #000; }
  .site-footer a, .footer-hours th, .footer-hours td { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* Blog videos: click-to-play facade (js/main.js swaps in the player). 16:9 box, so no layout shift. */
.video { margin: 0 0 var(--space-l); }
.post-body .video:not(:first-child) { margin-top: var(--space-l); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--sage-900); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.video-frame iframe, .video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { display: grid; place-items: center; padding: 0; margin: 0; background: none; color: #fff; cursor: pointer; text-decoration: none; font: inherit; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.video-play-icon { position: relative; display: grid; place-items: center; gap: var(--space-xs); }
.video-play-icon svg { width: 4.25rem; height: 3rem; fill: var(--accent); transition: fill .15s; }
.video-play:hover .video-play-icon svg, .video-play:focus-visible .video-play-icon svg { fill: var(--accent-hover); }
.video-play-label { position: absolute; bottom: var(--space-s); left: var(--space-s); background: rgba(20, 30, 26, .85); color: #fff; font-weight: 600; font-size: var(--step--1); padding: var(--space-2xs) var(--space-s); border-radius: var(--radius-s); }
.video-play { outline: none; }
/* Focus ring drawn above the poster image (an inset outline would be painted over by it). */
.video-play::after { content: ""; position: absolute; inset: 0; border: 4px solid var(--focus); box-shadow: inset 0 0 0 2px #fff; border-radius: inherit; opacity: 0; pointer-events: none; }
.video-play:focus-visible::after { opacity: 1; }
.video figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: var(--space-xs); }
.badge-video { display: inline-block; margin-left: var(--space-xs); padding: 0 var(--space-xs); border-radius: var(--radius-s); background: var(--sage-50); border: 1px solid var(--sage-100); color: var(--sage-800); letter-spacing: .04em; }

/* Metabolic Balance® flagship page (docs/MB-LOOK-AND-FEEL.md): calm alternating bands, light serif headings */
.section-white { background: var(--surface); }
.mb-page h1, .mb-page h2:not(.eyebrow) { font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.mb-page h1 em { font-style: italic; color: var(--sage-800); }
.mb-page .hero .eyebrow { display: block; }
.mb-page .hero .btn-note a { color: var(--sage-800); }
.chip-grid { list-style: none; padding: 0; margin: 0 auto; max-width: 56rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-s); }
.chip-grid li { margin: 0; background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: 999px; padding: var(--space-xs) var(--space-m); color: var(--ink); }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--font-serif); font-style: italic; font-size: var(--step-2); line-height: 1.4; color: var(--sage-900); margin: 0 0 var(--space-s); }
.quote-band blockquote footer { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: var(--step--1); color: var(--sage-700); }
.quote-band blockquote footer::before { content: "\2014\00a0"; }
@media (min-width: 62rem) { .steps-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 48rem) and (max-width: 61.99rem) { .steps-5 { grid-template-columns: repeat(2, 1fr); } .steps-5 li:last-child { grid-column: 1 / -1; } }
.phase-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-l); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .phase-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .phase-cards { grid-template-columns: repeat(4, 1fr); } }
.phase-cards > li { margin: 0; border-top: 4px solid var(--sage-700); }
.phase-num { font-size: var(--step--1); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-700); }
.card-body .phase-num { color: var(--sage-700); }
.basics { margin-top: var(--space-2xl); max-width: 52rem; }
.info-card-note { background: var(--sand); box-shadow: none; border-color: transparent; }
.coach-photo { max-width: 22rem; margin-inline: auto; width: 100%; }
.trust-badge { display: flex; gap: var(--space-s); align-items: center; margin-top: var(--space-l); padding: var(--space-m) var(--space-l); background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: var(--radius); color: var(--ink); text-decoration: none; max-width: 30rem; }
.trust-badge strong { display: block; color: var(--sage-900); }
.trust-badge:hover { border-color: var(--sage-700); }
.trust-badge:hover span span:not(.visually-hidden) { text-decoration: underline; }
.trust-badge-icon { flex: none; color: var(--sage-700); }
.trust-badge-icon svg { width: 2rem; height: 2rem; display: block; }
.price-card .eyebrow { margin: 0 0 var(--space-xs); }
.price-terms { display: block; }
.mb-disclaimer { padding-block: var(--space-l); background: var(--bg); font-size: var(--step--1); color: var(--ink-soft); border-top: 1px solid var(--line); }
.mb-disclaimer p { margin: 0; max-width: 60rem; }
.prose .eyebrow + h2, .prose .eyebrow + h1 { margin-top: 0; }
.disclosure { font-size: var(--step--1); color: var(--ink-soft); margin: var(--space-m) 0 0; }
.center .disclosure { max-width: 46rem; margin-inline: auto; }
