/* ==========================================================================
   Pramukh Wellness — Core stylesheet (mobile-first)
   Breakpoint enhancements live in responsive.css
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Core palette */
  --forest: #344E41;
  --forest-deep: #263A30;
  --sage: #A3B18A;
  --sage-light: #C5CFB2;
  --sage-wash: #EEF0E6;
  --cream: #F8F5EF;
  --sand: #E6DCCF;
  --sand-light: #F1EADF;
  --terracotta: #C98F76;
  --terracotta-text: #8E523B;   /* AA-compliant terracotta for text */
  --charcoal: #343A35;
  --muted: #5B615C;
  --white: #FFFFFF;

  /* Brand accents taken from the Pramukh Wellness logo mark */
  --saffron: #F9943B;
  --rose: #E80D42;
  --earth: #7A2F00;

  --whatsapp: #1E7F4F;          /* darkened WhatsApp green for AA contrast */

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hindi: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;

  /* Spacing scale */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --section-pad: 4rem;
  --container: 1200px;
  --gutter: 1.25rem;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-arch: 999px 999px var(--radius) var(--radius);

  --shadow-sm: 0 1px 2px rgba(52, 58, 53, .06), 0 2px 8px rgba(52, 58, 53, .05);
  --shadow: 0 2px 6px rgba(52, 58, 53, .05), 0 12px 32px rgba(52, 58, 53, .08);
  --shadow-lg: 0 20px 50px rgba(38, 58, 48, .14);

  --header-h: 72px;
  --mobile-bar-h: 0px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & 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);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--mobile-bar-h);
}

body.nav-open { overflow: hidden; }

img, svg, picture, video { display: block; max-width: 100%; height: auto; }

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--forest-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 var(--space-4);
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 500; }
h3 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
h4 { font-size: 1.25rem; }

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

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--space-4); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

[hidden] { display: none !important; }

::selection { background: var(--sage-light); color: var(--forest-deep); }

/* Visible, consistent focus indicator */
:focus-visible {
  outline: 3px solid var(--earth);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: .75rem 1.25rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-pad); position: relative; }
.section--sand { background: var(--sand); }
.section--sand-light { background: var(--sand-light); }
.section--sage { background: var(--sage-wash); }
.section--white { background: var(--white); }
.section--forest {
  background: var(--forest);
  color: #EDEFE6;
}
.section--forest h2, .section--forest h3 { color: var(--cream); }
.section--forest a:not(.btn) { color: var(--cream); }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--space-5); }

.stack > * + * { margin-top: var(--space-4); }

/* ---------- 4. Typography components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 2px 1px 0 var(--earth);
  flex: none;
}
.section--forest .eyebrow { color: #F6D2B5; }

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  color: var(--muted);
}
.section--forest .lead { color: #DCE2D2; }

.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.hindi { font-family: var(--font-hindi); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--cream);
  --btn-border: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { --btn-bg: var(--forest-deep); --btn-border: var(--forest-deep); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--secondary { --btn-bg: transparent; --btn-fg: var(--forest); --btn-border: var(--forest); }
.btn--secondary:hover { --btn-bg: var(--forest); --btn-fg: var(--cream); }

.btn--light { --btn-bg: var(--cream); --btn-fg: var(--forest); --btn-border: var(--cream); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--forest-deep); --btn-border: var(--white); }

.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-border: rgba(248, 245, 239, .7); }
.btn--ghost-light:hover { --btn-bg: var(--cream); --btn-fg: var(--forest); --btn-border: var(--cream); }

.btn--wa { --btn-bg: var(--whatsapp); --btn-fg: var(--white); --btn-border: var(--whatsapp); }
.btn--wa:hover { --btn-bg: #166B41; --btn-border: #166B41; }

.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.btn[aria-disabled="true"], .btn:disabled {
  opacity: .62;
  cursor: not-allowed;
  box-shadow: none;
}
.btn[aria-busy="true"] { cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* No backdrop-filter here: it would become the containing block for the
     fixed mobile nav drawer and collapse it. */
  background: rgba(248, 245, 239, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 245, 239, .98);
  border-color: rgba(52, 78, 65, .08);
  box-shadow: 0 6px 24px rgba(52, 58, 53, .06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--earth);
  flex: none;
}
.brand img { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--earth);
}
.brand__tag {
  font-family: var(--font-hindi);
  font-size: .68rem;
  letter-spacing: .02em;
  color: var(--terracotta-text);
  margin-top: .3rem;
  display: none;
}

.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.header__book, .header__wa { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1.5px solid rgba(52, 78, 65, .25);
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
  position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--cream);
  padding: var(--space-5) var(--gutter) var(--space-7);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  border-top: 1px solid rgba(52, 78, 65, .08);
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list li { border-bottom: 1px solid rgba(52, 78, 65, .1); }
.nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem .25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
}
.nav__link[aria-current="page"] { color: var(--earth); }
.nav__link[aria-current="page"]::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
}
.nav__link[aria-current="true"] { color: var(--earth); }
.nav__link[aria-current="true"]::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
}

/* "Our Classes" sub-menu — collapsible in the mobile drawer */
.nav__parent { display: flex; align-items: center; gap: .5rem; }
.nav__parent .nav__link { flex: 1; }
.nav__sub-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(52, 78, 65, .2);
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
}
.nav__sub-toggle svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 .75rem .75rem; }
.nav__list .nav__sub li { border: 0; }
.nav__sublink {
  display: block;
  padding: .55rem .25rem;
  font-size: 1.05rem;
  color: var(--forest);
  text-decoration: none;
}
.nav__sublink[aria-current="page"] { color: var(--earth); font-weight: 600; }
.js .nav__item--has-sub:not(.is-open) .nav__sub { display: none; }

.nav__cta { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.nav__note { margin-top: var(--space-5); font-size: .9rem; color: var(--muted); }

/* Mobile bottom action bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(248, 245, 239, .97);
  border-top: 1px solid rgba(52, 78, 65, .12);
  box-shadow: 0 -8px 24px rgba(52, 58, 53, .08);
}
.mobile-bar .btn { min-height: 46px; padding-inline: .8rem; font-size: .92rem; }
body.nav-open .mobile-bar { display: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% 60%;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, .25) 0%, rgba(248, 245, 239, .82) 48%, rgba(248, 245, 239, .97) 72%);
}
.hero__content {
  padding-block: var(--space-8) var(--space-7);
  max-width: 680px;
}
.hero h1 { margin-bottom: var(--space-5); }
.hero h1 em { font-style: italic; color: var(--earth); }
.hero__text { font-size: 1.12rem; color: var(--charcoal); max-width: 34em; margin-bottom: var(--space-6); }
.hero__trust {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: var(--space-6);
  font-size: .92rem;
  color: var(--muted);
}
.hero__trust svg { width: 20px; height: 20px; color: var(--forest); flex: none; }

/* Inner-page hero */
.page-hero {
  padding-block: var(--space-7) var(--space-8);
  background:
    radial-gradient(circle at 85% 20%, rgba(249, 148, 59, .10), transparent 45%),
    var(--cream);
}
.page-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.page-hero__media {
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  background: var(--sand);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--simple { padding-block: var(--space-7); text-align: left; }
.page-hero--simple .lead { max-width: 46em; }

/* Breadcrumbs */
.breadcrumbs { font-size: .88rem; margin-bottom: var(--space-5); color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--sage); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--forest); font-weight: 500; }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { box-shadow: var(--shadow); }

/* Class cards */
.class-card { padding: var(--space-4); }
.class-card__media {
  border-radius: var(--radius-arch);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--sand);
}
.class-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.class-card:hover .class-card__media img { transform: scale(1.03); }
.class-card__body { padding: var(--space-5) var(--space-3) var(--space-3); display: flex; flex-direction: column; flex: 1; }
.class-card__label {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta-text); margin-bottom: var(--space-2);
}
.class-card h3 { margin-bottom: var(--space-3); }
.class-card__desc { color: var(--muted); }
.class-card .cta { margin-top: auto; padding-top: var(--space-5); }

.detail-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: .45rem; font-size: .95rem; }
.detail-list li { display: flex; gap: .6rem; align-items: flex-start; }
.detail-list svg { width: 18px; height: 18px; flex: none; margin-top: .3rem; color: var(--sage); }
.detail-list strong { color: var(--forest); font-weight: 600; }

/* Notices */
.notice {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: var(--space-4) var(--space-4);
  border-radius: var(--radius);
  background: #FBF1E7;
  border: 1px solid #EBCDB8;
  border-left: 4px solid var(--terracotta);
  font-size: .93rem;
  line-height: 1.6;
  color: var(--charcoal);
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--terracotta-text); margin-top: .1rem; }
.notice strong { color: var(--earth); }
.notice--compact { padding: var(--space-3); font-size: .86rem; margin-top: var(--space-4); }
.notice--info { background: var(--sage-wash); border-color: #D3DAC4; border-left-color: var(--forest); }
.notice--info svg { color: var(--forest); }
.notice--important { font-size: 1rem; padding: var(--space-5); }
.notice--important h2, .notice--important h3 { font-size: 1.4rem; margin-bottom: var(--space-2); color: var(--earth); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .65rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--charcoal);
  white-space: nowrap;
}
.badge--sample { background: #FCE9D6; color: #7A3A12; border: 1px dashed #D9A47C; }
.badge--yin { background: #E3E8D8; color: #2E4337; }
.badge--prenatal { background: #F5E1D7; color: #7A3A24; }
.badge--meditation { background: #E6E4EF; color: #3D3A5C; }
.badge--beginners { background: #F3E9D2; color: #6B5320; }

/* ---------- 9. Feature / benefit blocks ---------- */
.benefits { display: grid; gap: var(--space-5); }
.benefit {
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid rgba(52, 78, 65, .08);
}
.benefit__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-wash);
  color: var(--forest);
  margin-bottom: var(--space-4);
}
.benefit__icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.45rem; margin-bottom: var(--space-2); }
.benefit p { color: var(--muted); font-size: .98rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); counter-reset: step; }
.step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: var(--space-3);
}
.step h3 { font-size: 1.5rem; margin-bottom: var(--space-2); }
.step p { color: var(--muted); }

/* Split / editorial */
.split { display: grid; gap: var(--space-7); align-items: center; }
.split__media {
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1.05;
  background: var(--sand);
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--round { border-radius: 50%; aspect-ratio: 1; }

.pillars { list-style: none; padding: 0; margin: var(--space-5) 0 var(--space-6); display: grid; gap: var(--space-4); }
.pillars li { display: flex; gap: .9rem; align-items: flex-start; }
.pillars .pillar__icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--forest);
  box-shadow: var(--shadow-sm);
}
.pillars .pillar__icon svg { width: 20px; height: 20px; }
.pillars strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); font-weight: 600; line-height: 1.3; }
.pillars span.pillar__text { color: var(--muted); font-size: .97rem; }

/* Info grid (who it's for, props etc.) */
.info-grid { display: grid; gap: var(--space-5); }
.info-card {
  padding: var(--space-6) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1.5rem; }
.info-card ul { margin-bottom: 0; }
.info-card li + li { margin-top: .35rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.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: .42em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--sage-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344E41' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.props { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.prop {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid rgba(52, 78, 65, .08);
}
.prop svg { width: 36px; height: 36px; margin: 0 auto var(--space-3); color: var(--forest); }
.prop strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--forest); }
.prop span { font-size: .88rem; color: var(--muted); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-6) 0 0; }
.fact { padding: var(--space-4); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.fact dt { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-text); }
.fact dd { margin: .25rem 0 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--forest); line-height: 1.25; }
.fact--wide { grid-column: 1 / -1; }
.fact--wide dd { font-size: 1.2rem; }

/* ---------- 10. Sessions & timetable ---------- */
.demo-label {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .8rem 1rem;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-sm);
  background: #FCE9D6;
  border: 1px dashed #D9A47C;
  color: #6A3210;
  font-size: .92rem;
  line-height: 1.5;
}
.demo-label svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }

.session-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.session {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--sage);
}
.session--prenatal { border-left-color: var(--terracotta); }
.session--meditation { border-left-color: #8E89B5; }
.session--beginners { border-left-color: #C9A35B; }
.session__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.session__date { font-weight: 600; color: var(--forest); }
.session__time { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--forest); line-height: 1.1; }
.session__local { font-size: .86rem; color: var(--muted); width: 100%; }
.session__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--charcoal); line-height: 1.25; margin: 0; }
.session__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; color: var(--muted); align-items: center; }
.session__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.session__meta svg { width: 16px; height: 16px; }
.session__action { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.tt-controls { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.tt-control-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; display: block; }

.day-tabs {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .3rem;
  margin: -.3rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.day-tab {
  flex: 1 0 auto;
  min-width: 64px;
  min-height: 56px;
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(52, 78, 65, .18);
  background: var(--white);
  color: var(--forest);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.day-tab small { font-weight: 500; font-size: .74rem; color: var(--muted); }
.day-tab[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.day-tab[aria-selected="true"] small { color: #D5DCCB; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(52, 78, 65, .22);
  background: transparent;
  color: var(--forest);
  font-size: .92rem;
  font-weight: 500;
}
.chip:hover { border-color: var(--forest); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.chip[aria-pressed="true"]::before {
  content: "";
  width: .9em; height: .9em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F8F5EF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.select-inline {
  min-height: 44px;
  padding: .5rem 2.2rem .5rem .9rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(52, 78, 65, .22);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344E41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .7rem center / 16px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  max-width: 100%;
}

.empty-state {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  border-radius: var(--radius);
  background: var(--white);
  border: 1.5px dashed rgba(52, 78, 65, .2);
  color: var(--muted);
}
.empty-state strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); margin-bottom: .3rem; }

/* Simple weekly table on class pages */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table caption { text-align: left; padding: var(--space-4) var(--space-5) 0; font-size: .9rem; color: var(--muted); }
.table th, .table td { padding: .9rem 1.25rem; text-align: left; border-bottom: 1px solid rgba(52, 78, 65, .08); }
.table thead th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--forest); }

/* ---------- 11. Testimonials carousel ---------- */
.carousel { position: relative; max-width: 860px; margin-inline: auto; }
.carousel__viewport { display: grid; }
.carousel__slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.carousel__slide.is-active { visibility: visible; opacity: 1; transition: opacity .5s var(--ease), visibility 0s; }
.no-js .carousel__viewport { gap: var(--space-5); }
.no-js .carousel__slide { grid-area: auto; visibility: visible; opacity: 1; }

.testimonial {
  margin: 0;
  padding: var(--space-6) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.testimonial__mark { width: 40px; height: 40px; margin: 0 auto var(--space-4); color: var(--terracotta); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.45;
  color: var(--forest);
  font-style: italic;
}
.testimonial figcaption { margin-top: var(--space-5); font-size: .92rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.testimonial figcaption strong { color: var(--charcoal); font-weight: 600; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-5); }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(52, 78, 65, .25);
  background: var(--white); color: var(--forest);
}
.carousel__btn:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: .25rem; }
.carousel__dot {
  width: 32px; height: 32px; border: 0; padding: 0; background: transparent;
  display: grid; place-items: center;
}
.carousel__dot::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sage); opacity: .55; transition: transform .25s, opacity .25s, background-color .25s;
}
.carousel__dot[aria-current="true"]::before { background: var(--forest); opacity: 1; transform: scale(1.25); }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
  background: var(--forest);
  color: #E9EDE3;
  text-align: center;
  isolation: isolate;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.cta-band::before { width: 420px; height: 420px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(249, 148, 59, .28), transparent 65%); }
.cta-band::after { width: 360px; height: 360px; left: -120px; bottom: -180px; background: radial-gradient(circle, rgba(163, 177, 138, .35), transparent 65%); }
.cta-band h2 { color: var(--cream); max-width: 16em; margin-inline: auto; }
.cta-band p { max-width: 36em; margin: 0 auto var(--space-6); color: #DCE2D2; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band__leaf { width: 54px; height: 54px; margin: 0 auto var(--space-4); }

/* ---------- 13. FAQ accordion ---------- */
.faq { display: grid; gap: var(--space-3); }
.faq__item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq__item h3 { margin: 0; font-size: 1.2rem; }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 1.15rem 1.25rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--forest);
  border-radius: var(--radius);
}
.faq__icon {
  flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--sage-wash);
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; background: var(--forest); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__trigger[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__panel { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq__panel p + p { margin-top: .6rem; }

/* ---------- 14. Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6) var(--space-5);
}
.form { display: grid; gap: var(--space-5); }
.form__row { display: grid; gap: var(--space-5); }
.field { display: grid; gap: .45rem; }
.field label, .field legend, .field .field__label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--charcoal);
}
.field .req { color: var(--terracotta-text); margin-left: .15rem; }
.field .optional { font-weight: 400; color: var(--muted); font-size: .86rem; }
.field__hint { font-size: .85rem; color: var(--muted); margin: 0; }

.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem 1rem;
  border: 1.5px solid #CFC5B6;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.6rem;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23344E41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat;
}
.input:hover, .select:hover, .textarea:hover { border-color: #A99D8C; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--forest);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(52, 78, 65, .14);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: #B42318;
  background-color: #FFF8F6;
}
.field__error {
  display: flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 500; color: #B42318; margin: 0;
}
.field__error::before {
  content: "!";
  display: inline-grid; place-items: center;
  width: 1.15rem; height: 1.15rem; flex: none;
  border-radius: 50%;
  background: #B42318; color: #fff;
  font-size: .75rem; font-weight: 700;
}
.field__error:empty { display: none; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group { display: grid; gap: .5rem; margin-top: .2rem; }
.choice {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .75rem .9rem;
  border: 1.5px solid #DDD3C5;
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
  font-weight: 500;
  font-size: .96rem;
  line-height: 1.45;
}
.choice:hover { border-color: #A99D8C; }
.choice input { width: 1.2rem; height: 1.2rem; margin: .1rem 0 0; accent-color: var(--forest); flex: none; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--sage-wash); }
.choice--plain { border: 0; background: transparent; padding: 0; font-weight: 400; }
.choice--plain:has(input:checked) { background: transparent; }

.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__footer { display: grid; gap: var(--space-3); }
.form__note { font-size: .86rem; color: var(--muted); margin: 0; }

.demo-banner {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: var(--space-4);
  border-radius: var(--radius);
  background: #FCE9D6;
  border: 1.5px dashed #D9A47C;
  color: #5E2C0E;
  font-size: .92rem;
  line-height: 1.55;
}
.demo-banner svg { width: 22px; height: 22px; flex: none; margin-top: .05rem; }
.demo-banner strong { display: block; color: #5E2C0E; margin-bottom: .15rem; }

.form-status {
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  font-size: .96rem;
  line-height: 1.6;
}
.form-status:empty { display: none; }
.form-status--success { background: var(--sage-wash); border: 1px solid #C8D2B6; color: #24372D; }
.form-status--error { background: #FFF1EE; border: 1px solid #F1C2B9; color: #8A1C12; }
.form-status--demo { background: #FCE9D6; border: 1px solid #E7BF9E; color: #5E2C0E; }
.form-status strong { display: block; margin-bottom: .25rem; font-size: 1.02rem; }
.form-status .btn { margin-top: var(--space-3); }

.session-ref {
  display: flex; gap: .6rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--sage-wash);
  font-size: .92rem;
}
.session-ref button { border: 0; background: transparent; color: var(--forest); text-decoration: underline; font-weight: 600; min-height: 32px; }

/* ---------- 15. Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #D6DDCF;
  padding-top: var(--space-8);
  font-size: .95rem;
}
.site-footer a { color: #ECEFE5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer :focus-visible { outline-color: #F6D2B5; }
.footer__grid { display: grid; gap: var(--space-7); }
.footer__brand .brand { margin-bottom: var(--space-4); }
.footer__brand .brand__name { color: var(--cream); }
.footer__brand .brand__tag { display: block; color: #F0C7A8; }
.footer__brand .brand img { background: var(--cream); border-radius: 50%; padding: 5px; width: 50px; height: 50px; }
.footer__brand p { max-width: 30em; color: #C9D1C1; }
.footer__title {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #F6D2B5;
  margin-bottom: var(--space-4);
}
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer__contact { display: grid; gap: .7rem; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: .55rem; }
.footer__contact svg { width: 18px; height: 18px; flex: none; }
.footer__contact [aria-disabled="true"] { opacity: .75; }

.social { display: flex; gap: .5rem; margin-top: var(--space-4); flex-wrap: wrap; }
.social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(236, 239, 229, .3);
}
.social a:hover { background: var(--cream); color: var(--forest); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.social__placeholder { font-size: .85rem; color: #AEB8A6; margin-top: var(--space-3); }

.newsletter { margin-top: var(--space-2); }
.newsletter .form { gap: var(--space-3); }
.newsletter__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter .input { flex: 1 1 200px; background: rgba(255, 255, 255, .08); border-color: rgba(236, 239, 229, .3); color: var(--white); }
.newsletter .input::placeholder { color: #AEB8A6; }
.newsletter .input:focus { background: rgba(255, 255, 255, .12); border-color: var(--cream); box-shadow: 0 0 0 4px rgba(248, 245, 239, .15); }
.newsletter .field label { color: #ECEFE5; }
.newsletter .choice--plain { color: #C9D1C1; font-size: .85rem; }
.newsletter .field__error { color: #FFB4A6; }
.newsletter .field__error::before { background: #FFB4A6; color: var(--forest-deep); }
.newsletter .form-status { padding: .75rem 1rem; font-size: .88rem; }

.footer__disclaimer {
  margin-top: var(--space-7);
  padding: var(--space-5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(236, 239, 229, .12);
  font-size: .86rem;
  color: #C9D1C1;
  line-height: 1.65;
}
.footer__disclaimer strong { color: #F6D2B5; }
.footer__bottom {
  margin-top: var(--space-6);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(236, 239, 229, .12);
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  justify-content: space-between;
  font-size: .86rem;
  color: #AEB8A6;
}
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* ---------- 16. Journal ---------- */
.journal-grid { display: grid; gap: var(--space-5); }
.post-card { height: 100%; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: var(--space-3); }
.post-card h3 { font-size: 1.55rem; margin-bottom: var(--space-3); }
.post-card h3 a { text-decoration: none; color: inherit; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { color: var(--muted); font-size: .97rem; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; padding-top: var(--space-4); border-bottom: 0; }

.post-card--featured .post-card__media { aspect-ratio: 16 / 9; }

/* Article */
.article-hero { padding-block: var(--space-7) var(--space-6); }
.article-hero .post-card__meta { font-size: .9rem; }
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.08rem; line-height: 1.8; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-top: var(--space-7); margin-bottom: var(--space-3); }
.prose h3 { font-size: 1.45rem; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose li + li { margin-top: .4rem; }
.prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  border-left: 3px solid var(--terracotta);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--forest);
}
.prose .notice { margin-top: var(--space-6); }

.placeholder {
  background: #FFF4D6;
  border: 1px dashed #C9A13B;
  border-radius: 4px;
  padding: 0 .3em;
  color: #5A4300;
}
.placeholder-block {
  padding: var(--space-4) var(--space-5);
  background: #FFF8E5;
  border: 1.5px dashed #C9A13B;
  border-radius: var(--radius);
  color: #5A4300;
  font-size: .95rem;
}

.toc {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: .95rem;
}
.toc h2 { font-family: var(--font-body); font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-3) !important; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li + li { margin-top: .35rem; }

/* ---------- 17. Team ---------- */
.team-grid { display: grid; gap: var(--space-5); }
.team-card { padding: var(--space-6) var(--space-5); text-align: center; }
.team-card__avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: var(--sand);
  display: grid; place-items: center;
  overflow: hidden;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card__role { color: var(--terracotta-text); font-weight: 600; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-3); }
.team-card p { color: var(--muted); font-size: .96rem; }
.team-card .badge { margin-bottom: var(--space-3); }

/* Values */
.values { display: grid; gap: var(--space-4); counter-reset: v; list-style: none; padding: 0; margin: 0; }
.value {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(236, 239, 229, .15);
}
.value h3 { font-size: 1.45rem; margin-bottom: var(--space-2); }
.value p { color: #D6DDCF; font-size: .97rem; }

/* Class overview (classes.html) */
.class-feature { display: grid; gap: var(--space-6); align-items: center; padding: var(--space-5); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.class-feature__media { border-radius: var(--radius-arch); overflow: hidden; aspect-ratio: 1; background: var(--sand); max-width: 420px; width: 100%; margin-inline: auto; }
.class-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.class-feature__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: var(--space-3) 0 var(--space-4); }
.class-features { display: grid; gap: var(--space-6); }
.filter-status { font-size: .92rem; color: var(--muted); margin: var(--space-4) 0 0; }

/* Contact */
.contact-grid { display: grid; gap: var(--space-6); }
.contact-card {
  padding: var(--space-6) var(--space-5);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-card h2, .contact-card h3 { font-size: 1.6rem; }
.contact-methods { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: grid; gap: var(--space-4); }
.contact-methods li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-methods .pillar__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-wash); color: var(--forest); }
.contact-methods .pillar__icon svg { width: 20px; height: 20px; }
.contact-methods strong { display: block; color: var(--charcoal); }

/* ---------- 18. Toast & back-to-top ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--mobile-bar-h) + 1rem);
  transform: translate(-50%, 20px);
  z-index: 200;
  width: min(92vw, 460px);
  padding: var(--space-4) var(--space-5);
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .94rem;
  line-height: 1.55;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  display: flex; gap: .8rem; align-items: flex-start;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.toast a { color: #F6D2B5; }
.toast__close { margin-left: auto; flex: none; border: 0; background: transparent; color: var(--cream); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.toast__close:hover { background: rgba(255, 255, 255, .12); }
.toast__close svg { width: 16px; height: 16px; }

.back-to-top {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--mobile-bar-h) + 1rem);
  z-index: 80;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--forest);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.back-to-top:hover { background: var(--forest); color: var(--cream); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 19. Reveal-on-scroll (progressive; only when JS + motion OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- 20. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 21. Print ---------- */
@media print {
  .site-header, .mobile-bar, .back-to-top, .toast, .site-footer .newsletter, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
  .section { padding-block: 1.5rem; }
}

/* ---------- 22. Refinements ---------- */
.testimonial__mark { display: block; }
.testimonial__mark svg { width: 100%; height: 100%; }
.header__actions .btn { white-space: nowrap; }
.field .choice { font-weight: 500; }
.field .choice--plain { font-weight: 400; }
.post-card h2 { margin-bottom: var(--space-3); }
.post-card h2 a { text-decoration: none; color: inherit; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:focus-visible { outline: none; }
.post-card:has(h2 a:focus-visible) { outline: 3px solid var(--earth); outline-offset: 3px; }
.tt-controls > * { min-width: 0; }
.day-tab { position: relative; }

/* ---------- 23. Trainers page ---------- */
.trainer-hero {
  padding-block: var(--space-7) var(--space-8);
  background:
    radial-gradient(circle at 80% 30%, rgba(249, 148, 59, .12), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(163, 177, 138, .18), transparent 40%),
    var(--cream);
  overflow: hidden;
}
.trainer-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
.trainer-hero h1 em { font-style: italic; color: var(--earth); }
.trainer-hero__photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.trainer-hero__photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-arch);
  overflow: hidden;
  aspect-ratio: 4 / 5.4;
  background: var(--sand);
  box-shadow: var(--shadow);
}
.trainer-hero__photo:nth-child(2) { margin-top: var(--space-7); }
.trainer-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.trainer-hero__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(180deg, transparent, rgba(38, 58, 48, .85));
  color: var(--cream);
  display: flex; flex-direction: column;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.trainer-hero__photo figcaption a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.trainer-hero__photo figcaption a:hover { text-decoration: underline; }
.trainer-hero__leaf {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.trainer-hero__leaf img { width: 46px; height: 46px; }

/* Values ticker */
.marquee {
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  padding-block: var(--space-4);
}
.marquee__track { display: flex; width: max-content; }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; flex: none; }
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-style: italic;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 3px 2px 0 var(--earth);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { width: auto; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; row-gap: .5rem; padding-inline: var(--gutter); }
  .marquee__list li { white-space: normal; }
  .marquee__list[aria-hidden="true"] { display: none; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Trainer cards */
.trainer-grid { display: grid; gap: var(--space-6); max-width: 880px; margin-inline: auto; }
.trainer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.trainer-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.trainer-card__photo { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--sand); }
.trainer-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.trainer-card:hover .trainer-card__photo img { transform: scale(1.04); }
.trainer-card__shade {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: var(--space-5);
  background: linear-gradient(180deg, transparent 50%, rgba(38, 58, 48, .7));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.trainer-card:hover .trainer-card__shade { opacity: 1; }
.trainer-card__view {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--forest);
  font-weight: 600;
  font-size: .9rem;
}
.trainer-card__view svg { width: 1em; height: 1em; }
.trainer-card__body {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5);
}
.trainer-card h3 { margin: 0; font-size: 1.7rem; }
.trainer-card h3 a { color: inherit; text-decoration: none; }
.trainer-card h3 a:hover { text-decoration: underline; }
.trainer-card__role { margin: .2rem 0 0; color: var(--terracotta-text); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.trainer-card__actions { display: flex; gap: .5rem; flex: none; }
.trainer-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(52, 78, 65, .2);
  color: var(--forest);
  transition: background-color .25s, color .25s, border-color .25s;
}
.trainer-card__icon:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.trainer-card__icon svg { width: 20px; height: 20px; }
.trainer-card__icon[aria-disabled="true"] { opacity: .55; }

/* Detailed profiles */
.trainer-profile { display: grid; gap: var(--space-7); align-items: center; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.trainer-profile + .trainer-profile { margin-top: var(--space-9); }
.trainer-profile__media { position: relative; max-width: 440px; width: 100%; margin-inline: auto; padding: 0 1.5rem 1.5rem 0; }
.trainer-profile__media::before {
  content: "";
  position: absolute;
  inset: 1.5rem 0 0 1.5rem;
  border-radius: var(--radius-arch);
  background: var(--sage-light);
  opacity: .55;
}
.trainer-profile--reverse .trainer-profile__media::before { background: #EBCDB8; opacity: .7; }
.trainer-profile__photo {
  position: relative;
  border-radius: var(--radius-arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: var(--sand);
}
.trainer-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.trainer-profile__badge {
  position: absolute;
  right: 0; bottom: 3rem;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.trainer-profile__badge img { width: 42px; height: 42px; }
.trainer-profile__name { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; margin-bottom: var(--space-2); }
.trainer-profile__role { color: var(--terracotta-text); font-weight: 600; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--space-5); }
.trainer-profile__facts { display: grid; gap: var(--space-3); margin: var(--space-5) 0; }
.trainer-profile__facts div { display: grid; gap: .15rem; padding-bottom: var(--space-3); border-bottom: 1px solid rgba(52, 78, 65, .12); }
.trainer-profile__facts dt { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.trainer-profile__facts dd { margin: 0; }
.trainer-profile__quote {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-5);
  border-left: 3px solid var(--terracotta);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--forest);
}

/* Class style list */
.style-list { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.style-list a {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.style-list a:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.style-list .pillar__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-wash); color: var(--forest); }
.style-list .pillar__icon svg { width: 22px; height: 22px; }
.style-list strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--forest); line-height: 1.2; }
.style-list span span { color: var(--muted); font-size: .93rem; }
.style-list a > svg { width: 20px; height: 20px; margin-left: auto; color: var(--forest); flex: none; }

/* ---------- 24. Animated word divider ---------- */
.word-divider {
  position: relative;
  overflow: hidden;
  margin-top: calc(var(--section-pad) * -.55);
  padding-top: var(--space-4);
  line-height: 0;
  pointer-events: none;
  user-select: none;
}
.word-divider__text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6rem, 24vw, 21rem);
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.02em;
  white-space: nowrap;
  text-align: center;
  color: #ECE3D6;               /* a whisper darker than the cream page */
  transform: translate3d(var(--px, 0px), 0, 0);
  will-change: transform;
}
.word-divider__shape {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(44px, 7vw, 96px);
}
/* Fade-up the word as it enters (only when motion is OK and JS is on) */
@media (prefers-reduced-motion: no-preference) {
  .js .word-divider__text { opacity: 0; transition: opacity 1.2s var(--ease); }
  .js .word-divider.is-in .word-divider__text { opacity: 1; }
}

/* ---------- 25. Trainer profile details ---------- */
.credential-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-wrap: wrap; gap: .45rem; }
.credential-list li {
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(52, 78, 65, .15);
  color: var(--forest);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.trainer-profile__content > p:not([class]) { color: var(--charcoal); }
.trainer-details { margin: var(--space-5) 0 var(--space-6); gap: var(--space-2); }
.trainer-details .faq__item { box-shadow: none; border: 1px solid rgba(52, 78, 65, .1); }
.trainer-details h4 { margin: 0; font-size: 1rem; }
.trainer-details .faq__trigger { font-size: 1.18rem; padding: .9rem 1.1rem; }
.trainer-details .faq__panel { padding: 0 1.1rem 1.1rem; color: var(--charcoal); font-size: .96rem; }
.trainer-details .faq__panel > p { margin-bottom: var(--space-3); color: var(--muted); }
.trainer-details .check-list { margin-bottom: 0; }
.detail-rows { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: .1rem; }
.detail-rows li { display: grid; gap: .1rem; padding: .6rem 0; border-bottom: 1px solid rgba(52, 78, 65, .08); }
.detail-rows li:last-child { border-bottom: 0; }
.detail-rows strong { color: var(--forest); font-weight: 600; }
.detail-rows span { color: var(--muted); font-size: .93rem; }
.two-col { display: grid; gap: var(--space-4); }
.detail-heading { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-text) !important; margin-bottom: var(--space-2) !important; }
.two-col-list { display: grid; gap: .55rem 1.5rem; }
.two-col-list li + li { margin-top: 0; }
.trainer-profile .btn-row .trainer-card__icon { width: 48px; height: 48px; }
@media (min-width: 600px) {
  .two-col, .two-col-list { grid-template-columns: 1fr 1fr; }
  .detail-rows li { grid-template-columns: 11rem 1fr; gap: 1rem; align-items: baseline; }
}

.contact-address { font-style: normal; color: var(--muted); line-height: 1.6; margin-bottom: .25rem; }
