/* =====================================================================
   Miracle Breath — Wellness through breath & meditation
   Kelvedon, Essex
   Design system & styles
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette — drawn directly from the Miracle Breath logo:
     soft sage green + warm gold on cream */
  --sage-900: #333d2c;
  --sage-800: #424e38;
  --sage-700: #586b4b;
  --sage-600: #6f8460;
  --sage-500: #8a9c80; /* logo green */
  --sage-400: #a6b69b;
  --sage-300: #c4cfba;
  --sage-200: #dde4d6;
  --sage-100: #eef1ea;

  --cream-50: #faf8f2;
  --cream-100: #f4efe4;
  --cream-200: #ece4d3;

  --gold-700: #8a6a28; /* AA-safe gold for text on light */
  --gold-600: #c39a4f;
  --gold-500: #d6ad61; /* logo gold */
  --gold-400: #e9c371;
  --gold-300: #f6dca0;

  --clay: #d8b27a;
  --sky: #bcd0c6;

  --ink: #2f3a2a;
  --muted: #5f6b57;

  /* Typography */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing & shape */
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(31, 45, 40, 0.06);
  --shadow: 0 14px 40px rgba(31, 45, 40, 0.10);
  --shadow-lg: 0 30px 70px rgba(31, 45, 40, 0.16);

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--sage-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.15em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-700);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.section-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  max-width: 20ch;
  font-weight: 600;
}
.hero h1, .page-hero h1 { font-weight: 600; }
.section-intro {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.text-center { text-align: center; }
.center-block { margin-inline: auto; }
.text-center .eyebrow { justify-content: center; }
.text-center .section-title,
.text-center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sage-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
}
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--sage-900); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--sage-800);
  border-color: var(--sage-300);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--sage-100); }
.btn--light { --btn-bg: var(--cream-50); --btn-fg: var(--sage-900); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: padding 0.4s var(--ease);
  padding-block: 1.1rem;
}
/* Frosted background lives on a pseudo-element, NOT the header itself —
   putting backdrop-filter on the header would make it the containing block
   for the position:fixed mobile menu and clip it to the header height. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(251, 249, 244, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(31, 45, 40, 0.06);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled { padding-block: 0.7rem; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sage-900);
  letter-spacing: -0.01em;
  flex: none;
  white-space: nowrap;
}
.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 700;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--sage-800);
  position: relative;
  padding-block: 0.25rem;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__cta { display: inline-flex; gap: 0.75rem; align-items: center; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  height: 2px;
  width: 100%;
  background: var(--sage-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  /* Keep the logo + close button floating ABOVE the panel so the menu
     can always be dismissed and the brand stays anchored. */
  .nav__toggle { display: flex; position: relative; z-index: 130; }
  .brand { position: relative; z-index: 130; }

  .nav__menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 120;
    background:
      radial-gradient(90% 60% at 50% 8%, rgba(214,173,97,0.12), transparent 60%),
      linear-gradient(180deg, var(--cream-50), var(--cream-100));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 5.5rem 1.5rem 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav__menu.open { transform: translateX(0); }

  .nav__links { flex-direction: column; align-items: center; gap: 0.25rem; width: 100%; }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links a {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--sage-900);
    display: inline-block;
    padding: 0.55rem 1rem;
  }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { color: var(--gold-700); }

  /* a slim gold rule between links and the CTA */
  .nav__cta {
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 86%);
    margin-top: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--sage-200);
  }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(155, 196, 207, 0.28), transparent 55%),
    radial-gradient(100% 80% at 10% 90%, rgba(205, 168, 107, 0.20), transparent 50%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);
  line-height: 1.02;
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-600);
}
.hero__lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--sage-200);
}
.hero__meta div { line-height: 1.2; }
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--sage-800);
}
.hero__meta span { font-size: 0.85rem; color: var(--muted); }

/* Breathing orb visual */
.hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.orb {
  position: relative;
  width: min(420px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), transparent 45%),
    radial-gradient(circle at 70% 75%, var(--sage-400), var(--sage-600) 70%);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(255, 255, 255, 0.25);
  animation: breathe 11s var(--ease) infinite;
}
.orb::before,
.orb::after {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid var(--sage-300);
  opacity: 0.6;
  animation: ripple 11s var(--ease) infinite;
}
.orb::after { animation-delay: 0.6s; inset: -14%; opacity: 0.35; }
.orb__label {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 14px rgba(31, 45, 40, 0.3);
  text-align: center;
}
.orb__label small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.4rem;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.86); }
  45%, 55% { transform: scale(1.08); }
}
@keyframes ripple {
  0%, 100% { transform: scale(0.86); opacity: 0.15; }
  45%, 55% { transform: scale(1.12); opacity: 0.55; }
}

.hero__leaf {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.scroll-hint .mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--sage-400);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: var(--sage-500);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__visual { order: 1; min-height: 320px; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
}

/* ---------- Marquee / trust strip ---------- */
.trust {
  background: var(--sage-900);
  color: var(--sage-100);
  padding-block: 1.1rem;
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 3.5rem;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 28s linear infinite;
}
.trust:hover .marquee { animation-play-state: paused; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.marquee span::before { content: "✦"; color: var(--gold-400); }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------- Feature cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(205, 168, 107, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--sage-300);
}
.feature-card:hover::after { opacity: 1; }
.feature-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sage-100);
  color: var(--sage-700);
  margin-bottom: 1.2rem;
}
.feature-card .icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.4rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }

/* ---------- Services ---------- */
.services { background: var(--sage-100); }
.service-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  background: var(--cream-50);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.service-row:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: var(--sage-200);
}
.service-row__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-500);
  width: 2.5rem;
}
.service-row h3 { font-size: 1.55rem; margin-bottom: 0.3rem; }
.service-row p { color: var(--muted); margin: 0; max-width: 60ch; font-size: 0.98rem; }
.service-row__meta {
  text-align: right;
  white-space: nowrap;
}
.service-row__meta .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sage-800);
  display: block;
}
.service-row__meta .unit { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 720px) {
  .service-row { grid-template-columns: auto 1fr; }
  .service-row__meta { grid-column: 2; text-align: left; margin-top: 0.5rem; }
}

/* ---------- Interactive breathing exercise ---------- */
.breathe-section {
  background:
    radial-gradient(90% 120% at 50% 0%, var(--sage-800), var(--sage-900));
  color: var(--sage-100);
  text-align: center;
}
.breathe-section .section-title,
.breathe-section h3 { color: #fff; }
.breathe-section .section-intro { color: var(--sage-200); }
.breathe-section .eyebrow { color: var(--gold-400); }
.breathe-section .eyebrow::before { background: var(--gold-400); }

.breath-box {
  margin: 2.5rem auto 0;
  max-width: 480px;
  display: grid;
  place-items: center;
  gap: 1.5rem;
}
.breath-patterns {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.3rem;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.breath-patterns button {
  border: none;
  background: transparent;
  color: var(--j-soft, #bfe0db);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  gap: 0.4rem;
  align-items: baseline;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.breath-patterns button span { font-weight: 700; opacity: 0.55; font-size: 0.78rem; letter-spacing: 0.04em; }
.breath-patterns button[aria-pressed="true"] { background: var(--j-aqua, #5fd0c5); color: #06251f; }
.breath-patterns button[aria-pressed="true"] span { opacity: 0.7; }
.breath-hint { font-size: 0.86rem; color: var(--j-soft, #bfe0db); opacity: 0.8; margin: -0.5rem 0 0; min-height: 1.2em; }

.breath-stage { position: relative; width: min(280px, 76vw); aspect-ratio: 1; display: grid; place-items: center; }
.breath-progress { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.bp-track { fill: none; stroke: rgba(255, 255, 255, 0.10); stroke-width: 2.5; }
.bp-fill {
  fill: none; stroke: var(--j-gold, #f2c45a); stroke-width: 3.5; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(242, 196, 90, 0.55));
  transition: stroke-dashoffset 0.5s var(--ease);
}
.breath-stage.running .bp-fill { transition: none; }
.breath-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(95, 208, 197, 0.18); }
.breath-ring:nth-child(2) { inset: 9%; }
.breath-ring:nth-child(3) { inset: 20%; }
.breath-orb {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, #d7f3ee 22%, var(--j-aqua, #5fd0c5) 58%, #2f9e93);
  box-shadow: 0 0 30px rgba(242, 196, 90, 0.25);
  transform: scale(0.56);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
  will-change: transform;
}
.breath-stage.running .breath-orb { transition: none; }
.breath-readout { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center; }
.breath-phase { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.6rem); color: #fff; margin: 0; }
.breath-count { font-size: 0.8rem; letter-spacing: 0.3em; color: var(--j-soft, #bfe0db); margin: 0.35rem 0 0; min-height: 1em; }
@keyframes phaseIn { from { opacity: 0.2; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.breath-rounds { display: flex; gap: 0.5rem; justify-content: center; min-height: 8px; }
.breath-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); transition: 0.4s var(--ease); }
.breath-dot.on { background: var(--j-gold, #f2c45a); box-shadow: 0 0 10px rgba(242, 196, 90, 0.7); }

.breath-controls { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.breath-sound {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: transparent; border: 1.5px solid rgba(95, 208, 197, 0.34);
  color: var(--j-soft, #bfe0db); font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  padding: 0.7rem 1.1rem; border-radius: var(--radius-pill); cursor: pointer; transition: 0.3s var(--ease);
}
.breath-sound:hover { color: #fff; }
.breath-sound.on { border-color: var(--j-aqua, #5fd0c5); color: #fff; }
.breath-sound svg { width: 16px; height: 16px; }
.breath-note { font-size: 0.8rem; color: rgba(191, 224, 219, 0.7); max-width: 46ch; margin: 0.4rem auto 0; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--sage-300), var(--sage-500));
  box-shadow: var(--shadow);
}
.about__portrait svg { width: 100%; height: 100%; }
.about__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.about__badge strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--sage-800); }
.about__badge span { font-size: 0.85rem; color: var(--muted); }
.about__signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--sage-600);
  margin-top: 1.5rem;
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 380px; margin-inline: auto; }
}

/* ---------- Timetable ---------- */
.timetable { display: grid; gap: 0.75rem; margin-top: 3rem; }
.tt-row {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--sage-200);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.tt-row:hover { border-color: var(--gold-400); background: var(--cream-50); }
.tt-row .day { font-weight: 800; color: var(--sage-700); }
.tt-row .cls { font-family: var(--font-display); font-size: 1.2rem; color: var(--sage-900); }
.tt-row .time, .tt-row .level { font-size: 0.92rem; color: var(--muted); }
.tt-row .level {
  justify-self: end;
  background: var(--sage-100);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--sage-700);
}
@media (max-width: 700px) {
  .tt-row { grid-template-columns: 1fr auto; row-gap: 0.35rem; }
  .tt-row .cls { grid-column: 1 / -1; order: -1; }
  .tt-row .level { justify-self: start; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream-100); overflow: hidden; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid var(--sage-100);
}
.testi-card .stars { color: var(--gold-500); letter-spacing: 0.15em; }
.testi-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--sage-800);
}
.testi-card .who { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; color: #fff;
  background: var(--sage-500);
  font-size: 1.05rem;
}
.testi-card .who strong { display: block; color: var(--sage-900); font-size: 0.98rem; }
.testi-card .who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  background: var(--sage-800);
  color: var(--sage-100);
  border-color: var(--sage-800);
  box-shadow: var(--shadow);
}
.price-card.featured h3 { color: #fff; }
.price-card.featured .price { color: #fff; }
.price-card.featured .price-feat li { color: var(--sage-200); }
.price-card .tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gold-500);
  color: var(--sage-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}
.price-card h3 { font-size: 1.5rem; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--sage-900);
  line-height: 1;
}
.price-card .price span { font-size: 1rem; font-family: var(--font-body); color: var(--muted); }
.price-card.featured .price span { color: var(--sage-300); }
.price-feat { list-style: none; margin: 0.5rem 0 1.5rem; padding: 0; display: grid; gap: 0.7rem; }
.price-feat li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); font-size: 0.96rem; }
.price-feat li::before {
  content: "✓";
  color: var(--gold-600);
  font-weight: 800;
  flex: none;
}
.price-card.featured .price-feat li::before { color: var(--gold-400); }
.price-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 3rem; max-width: 820px; margin-inline: auto; display: grid; gap: 0.85rem; }
.faq-item {
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--sage-300); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.4rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sage-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--gold-600);
  transition: transform 0.3s var(--ease);
  font-family: var(--font-body);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.75rem 1.5rem; color: var(--muted); }
.faq-item .faq-body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(80% 140% at 20% 10%, rgba(205, 168, 107, 0.25), transparent 50%),
    linear-gradient(135deg, var(--sage-700), var(--sage-900));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.cta-band p { color: var(--sage-200); max-width: 50ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__info { display: grid; gap: 1.5rem; }
.contact__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact__item .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--sage-100); color: var(--sage-700);
  display: grid; place-items: center; flex: none;
}
.contact__item .icon svg { width: 22px; height: 22px; }
.contact__item strong { display: block; color: var(--sage-900); font-size: 1.05rem; }
.contact__item span, .contact__item a { color: var(--muted); }
.contact__item a:hover { color: var(--sage-700); }

.contact-form {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--sage-800); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--sage-200);
  background: var(--cream-50);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 3px rgba(107, 140, 125, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { font-size: 0.92rem; font-weight: 700; min-height: 1.2em; }
.form-status.ok { color: var(--sage-600); }
@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Map placeholder ---------- */
.map-card {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--sage-200);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--sage-200), var(--sage-100));
  display: grid;
  place-items: center;
  color: var(--sage-600);
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sage-900);
  color: var(--sage-300);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer .brand { color: #fff; }
.footer__about { color: var(--sage-400); max-width: 34ch; font-size: 0.96rem; margin-top: 1rem; }
.footer__col h4 {
  color: var(--sage-200);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__col a { color: var(--sage-400); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: #fff; }
.socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--sage-200);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover { background: var(--gold-500); color: var(--sage-900); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--sage-300);
}
.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-body);
}
.newsletter input::placeholder { color: var(--sage-500); }
.newsletter .btn { padding: 0.7rem 1.1rem; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal-on-scroll ----------
   Fail-safe: content is fully visible by default. The hidden/animated
   state only applies once JS confirms support (html.js), so a JS failure,
   a missed observer, or no-JS all leave the page fully readable. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--sage-500));
  z-index: 200;
  transition: width 0.1s linear;
}

/* back to top */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-700);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 90;
  border: none;
  cursor: pointer;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--sage-900); }

/* utility */
.sr-only {
  position: absolute;
  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: -4.5rem;
  background: var(--sage-800);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 300;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* =====================================================================
   Multi-page additions (v2 — SOMA Breath rebrand)
   ===================================================================== */

/* Brand mark uses the real logo emblem */
.brand__mark { width: 46px; height: 46px; object-fit: contain; }
.site-header.scrolled .brand__mark { width: 40px; }
.brand__mark { transition: width 0.4s var(--ease); }

/* Hero logo lockup */
.hero__logo {
  width: min(440px, 78%);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 18px 40px rgba(51, 61, 44, 0.14));
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* soft drifting seed particles layer */
.seeds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.seed {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 30% 30%, var(--gold-300), var(--gold-500));
  opacity: 0;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { transform: translate(0, 110vh) rotate(0deg) scale(0.7); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.5; }
  100% { transform: translate(40px, -10vh) rotate(220deg) scale(1.1); opacity: 0; }
}

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 80% -10%, rgba(214, 173, 97, 0.20), transparent 55%),
    radial-gradient(80% 100% at 10% 0%, rgba(138, 156, 128, 0.22), transparent 55%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
}
.page-hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  margin-bottom: 0.35em;
}
.page-hero p {
  max-width: 58ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.12rem;
}
.breadcrumb {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--gold-700); }
.breadcrumb a:hover { color: var(--sage-700); }
.breadcrumb span { color: var(--sage-400); }

/* ---------- Split content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split__media,
.split.reverse .split__art,
.split.reverse .portrait-card { order: 2; }
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: linear-gradient(160deg, var(--sage-300), var(--sage-600));
  box-shadow: var(--shadow);
  position: relative;
  display: grid;
  place-items: center;
}
.split__media .emblem-soft {
  width: 62%;
  opacity: 0.92;
  filter: drop-shadow(0 10px 24px rgba(51,61,44,0.25));
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .split__media { max-width: 460px; margin-inline: auto; aspect-ratio: 4/3; }
}

/* ---------- SOMA process steps ---------- */
.steps { display: grid; gap: 1.25rem; margin-top: 3rem; counter-reset: step; }
.steps.cols {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
/* five-up grid that stays balanced (no lonely trailing tile) */
.steps.steps--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .steps.steps--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .steps.steps--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .steps.steps--5 { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.step h3 { font-size: 1.35rem; margin: 0.6rem 0 0.4rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- Pillars / benefit chips ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.pillar {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--cream-50);
  border: 1px solid var(--sage-100);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.pillar .ring {
  width: 64px; height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(214, 173, 97, 0.35);
}
.pillar.green .ring { background: radial-gradient(circle at 35% 30%, var(--sage-400), var(--sage-600)); box-shadow: 0 8px 20px rgba(138,156,128,0.4); }
.pillar .ring svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Certificate / credential cards ---------- */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.cred {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cred:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.cred .seal {
  width: 52px; height: 52px; flex: none;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--gold-600);
  display: grid; place-items: center;
}
.cred .seal svg { width: 26px; height: 26px; }
.cred h3 { font-size: 1.15rem; margin: 0 0 0.25rem; }
.cred p { font-size: 0.92rem; color: var(--muted); margin: 0 0 0.5rem; }
.cred a.cert-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sage-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1.5px solid var(--gold-400);
  padding-bottom: 1px;
}
.cred a.cert-link:hover { color: var(--gold-600); }

/* ---------- Timetable filters & session cards ---------- */
.tt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.5rem 0 1.5rem;
  align-items: center;
}
.tt-filters .label {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-600);
  margin-right: 0.25rem;
}
.chip {
  border: 1.5px solid var(--sage-300);
  background: transparent;
  color: var(--sage-700);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--sage-500); }
.chip[aria-pressed="true"] { background: var(--sage-700); border-color: var(--sage-700); color: #fff; }

.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.session-card {
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s var(--ease);
}
.session-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.session-card.hide { display: none; }
.session-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.session-card .date-badge {
  text-align: center;
  background: var(--sage-100);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  flex: none;
}
.session-card .date-badge .d { font-family: var(--font-display); font-size: 1.5rem; color: var(--sage-800); line-height: 1; }
.session-card .date-badge .m { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.session-card h3 { font-size: 1.3rem; margin: 0; }
.session-card .meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tagpill {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--cream-100);
  color: var(--sage-700);
  text-transform: uppercase;
}
.tagpill.online { background: #e4eef0; color: #3f6b72; }
.tagpill.inperson { background: var(--sage-100); color: var(--sage-700); }
.tagpill.workshop { background: #f6ecd8; color: var(--gold-700); }
.session-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.session-card .when { font-size: 0.9rem; color: var(--sage-700); font-weight: 700; }
.session-card .btn { margin-top: auto; align-self: flex-start; }
.tt-empty { text-align: center; color: var(--muted); padding: 2rem; display: none; }
.tt-empty.show { display: block; }

/* ---------- Notice / waiver callout ---------- */
.notice {
  margin-top: 3rem;
  border-left: 4px solid var(--gold-500);
  background: var(--cream-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.notice h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.notice p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Quote feature ---------- */
.quote-feature {
  text-align: center;
  max-width: 50ch;
  margin: 0 auto;
}
.quote-feature blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  line-height: 1.3;
  color: var(--sage-800);
  margin: 0;
}
.quote-feature cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--gold-600);
}

/* ---------- Mini sessions preview (home) ---------- */
.mini-sessions { display: grid; gap: 0.75rem; margin-top: 2.5rem; }
.mini-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.mini-row:hover { border-color: var(--gold-400); transform: translateX(4px); }
.mini-row .md { font-family: var(--font-display); color: var(--gold-600); font-size: 1.15rem; min-width: 4.5rem; }
.mini-row .mt { font-family: var(--font-display); font-size: 1.2rem; color: var(--sage-900); }
.mini-row .mf { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 640px) {
  .mini-row { grid-template-columns: 1fr auto; row-gap: 0.3rem; }
  .mini-row .mt { grid-column: 1 / -1; }
}

/* =====================================================================
   v3 — review-driven polish
   ===================================================================== */

/* Headlines a touch more editorial */
.hero h1 em { font-style: italic; }

/* ---------- Breathing-logo hero (home) ---------- */
.hero__breath {
  width: auto;
  max-width: 92%;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
/* Show the emblem only — the baked-in "Miracle Breath" wordmark is clipped
   and re-rendered below as live text (.hero__wordmark) so it can be styled. */
.hero__emblem {
  width: min(300px, 62vw);
  aspect-ratio: 489 / 272;
  overflow: hidden;
}
.hero__emblem img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  color: var(--sage-900);
}

/* credibility ribbon under hero CTAs */
.hero__trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: center;
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.hero__trustline span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trustline svg { width: 17px; height: 17px; color: var(--gold-600); }

/* ---------- Elevated split art (replaces repeated logo) ---------- */
.split__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow);
  position: relative;
}
.split__art svg { width: 100%; height: 100%; display: block; }
.split__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .split__art { max-width: 460px; margin-inline: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Elevated portrait ---------- */
.portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.portrait-card svg { width: 100%; height: 100%; display: block; }
@media (max-width: 820px) {
  .portrait-card { max-width: 380px; margin-inline: auto; }
}

/* ---------- Price tag on session/mini cards ---------- */
.price-from {
  font-family: var(--font-display);
  color: var(--sage-800);
  font-weight: 600;
}
.price-from .amt { color: var(--gold-700); }
.session-card .price-from { font-size: 1.05rem; }
.mini-row .price-from { font-size: 1rem; white-space: nowrap; }

/* indicative pricing strip */
.price-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  background: var(--cream-100);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.96rem;
  color: var(--sage-700);
}
.price-note strong { color: var(--sage-900); }
.price-note .dot { color: var(--gold-500); }

/* ---------- Highlight band (for ADHD / who-it's-for) ---------- */
.highlight-band {
  background:
    radial-gradient(70% 120% at 85% 10%, rgba(214,173,97,0.16), transparent 55%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
}

/* ---------- "First session" expectation list ---------- */
.expect {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.expect__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.expect__item .ei {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-700);
  display: grid; place-items: center;
}
.expect__item .ei svg { width: 22px; height: 22px; }
.expect__item h3 { font-size: 1.08rem; margin: 0 0 0.2rem; }
.expect__item p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Wave divider ---------- */
.wave-divider { display: block; width: 100%; height: clamp(40px, 6vw, 80px); line-height: 0; }
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* reduce hero min-height crowding on short screens */
@media (max-height: 760px) and (min-width: 901px) {
  .hero { min-height: auto; padding-block: 8rem 4rem; }
}

/* =====================================================================
   v4 — premium uplift
   ===================================================================== */

/* Warmer, more layered shadow scale */
:root {
  --shadow-sm: 0 1px 2px rgba(51,61,44,0.05), 0 3px 10px rgba(51,61,44,0.05);
  --shadow: 0 6px 16px rgba(51,61,44,0.06), 0 18px 44px rgba(51,61,44,0.10);
  --shadow-lg: 0 12px 28px rgba(51,61,44,0.10), 0 40px 90px rgba(51,61,44,0.16);
  --shadow-gold: 0 14px 36px rgba(176,140,60,0.28);
}

/* (Removed fixed grain overlay — it broke compositing/scroll. Subtle
   texture is baked safely into the body background instead, see body{}) */

/* Premium typography */
h1, h2, h3, h4 { text-wrap: balance; }
.section-intro, .hero__lead, p { text-wrap: pretty; }
.hero h1 {
  font-size: clamp(2.7rem, 1.5rem + 5vw, 5.25rem);
  letter-spacing: -0.025em;
  line-height: 1.0;
}
.section-title { letter-spacing: -0.02em; line-height: 1.06; }
.page-hero h1 { letter-spacing: -0.022em; }
.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
}
.eyebrow::before { width: 30px; background: linear-gradient(90deg, transparent, var(--gold-500)); }

/* More generous breathing room */
.section { padding-block: clamp(4rem, 9vw, 8.5rem); }
.section--lg { padding-block: clamp(5rem, 12vw, 11rem); }
.section--sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Refined buttons — subtle depth + gold-tinted hover */
.btn {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.04));
  letter-spacing: 0.02em;
}
.btn--ghost { background-image: none; }
.btn--gold:hover { box-shadow: var(--shadow-gold); }
.btn--lg { padding: 1.15rem 2.3rem; }

/* Cards: hairline border + softer, deeper hover */
.feature-card, .step, .price-card, .session-card, .testi-card, .cred, .pillar, .expect__item {
  border-color: rgba(51,61,44,0.08);
}
.feature-card:hover, .price-card:hover, .session-card:hover, .step:hover, .pillar:hover {
  transform: translateY(-6px);
}

/* Richer, gently shifting hero backdrop */
.hero {
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(214,173,97,0.22), transparent 52%),
    radial-gradient(95% 80% at 8% 96%, rgba(138,156,128,0.24), transparent 50%),
    radial-gradient(70% 60% at 50% 40%, rgba(246,220,160,0.10), transparent 60%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
  background-size: 200% 200%, 200% 200%, 160% 160%, 100% 100%;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0% { background-position: 0% 0%, 100% 100%, 50% 50%, 0 0; }
  100% { background-position: 12% 8%, 88% 92%, 54% 46%, 0 0; }
}

/* Soft cream wave easing the hero into the page (on-brand) */
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(48px, 7vw, 96px);
  background: var(--cream-50);
  z-index: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 8 480 8 720 48 C 960 88 1200 96 1440 52 L1440 100 L0 100 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 8 480 8 720 48 C 960 88 1200 96 1440 52 L1440 100 L0 100 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.page-hero::after { background: var(--cream-50); }

/* Standalone decorative wave divider element (for color-block seams) */
.wave-sep {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  margin: 0;
  border: 0;
  line-height: 0;
}
.wave-sep svg { width: 100%; height: 100%; display: block; }

/* keep hero content above the wave + grain */
.hero > .container, .page-hero > .container { z-index: 2; }

/* Premium detail: gold hairline under section eyebrows in dark sections */
.breathe-section .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-400)); }

/* price-note: cleaner wrapping on small screens */
@media (max-width: 540px) {
  .price-note { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .price-note .dot { display: none; }
}

/* Hero small-screen: prevent overflow / scroll-hint collision */
@media (max-width: 600px) {
  .hero { min-height: auto; padding-block: 7.5rem 3.5rem; }
  .hero__breath { width: min(300px, 70%); margin-bottom: 1.25rem; }
  .scroll-hint { display: none; }
}
@media (max-height: 720px) {
  .scroll-hint { display: none; }
}

/* Testimonials: a touch more refinement */
.testi-card { border-color: rgba(51,61,44,0.06); }
.testi-card blockquote { font-weight: 400; }

/* Section titles & intros: elegant max widths */
.section-intro { font-size: 1.12rem; line-height: 1.7; }

/* Premium framing for SVG art panels — adds depth & a hairline of light */
.split__art, .portrait-card {
  box-shadow: var(--shadow-lg);
}
.split__art::after, .portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 0 1px rgba(51,61,44,0.06);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,0.16), transparent 50%),
    radial-gradient(100% 60% at 50% 115%, rgba(51,61,44,0.18), transparent 60%);
}
.split__art::after, .portrait-card::after { z-index: 1; }
.about__badge {
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
  z-index: 2;
}

/* =====================================================================
   v5 — photographic "ambient" bands + real portrait
   ===================================================================== */
.ambient {
  position: relative;
  min-height: clamp(340px, 46vw, 540px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ambient__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.18);
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(31,37,26,0.30), transparent 70%),
    linear-gradient(180deg, rgba(31,37,26,0.66), rgba(31,37,26,0.72));
}
.ambient .container { position: relative; z-index: 1; }
.ambient .eyebrow { color: var(--gold-300); justify-content: center; }
.ambient .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-300)); }
.ambient blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 auto;
  max-width: 22ch;
  color: #fff;
  text-shadow: 0 2px 26px rgba(0,0,0,0.32);
  text-wrap: balance;
}
.ambient cite {
  display: block;
  margin-top: 1.1rem;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sage-200);
}
.ambient .btn { margin-top: 1.75rem; }

/* Real portrait photo inside the portrait card */
.portrait-card img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================================
   v6 — motion & micro-interaction layer
   ===================================================================== */

/* Smooth cross-document page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none !important; }
}

/* Hero entrance — gentle staggered rise on load */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero__breath { animation: heroUp 1s var(--ease) both; }
.hero .eyebrow { animation: heroUp 0.9s var(--ease) 0.08s both; }
.hero h1 { animation: heroUp 0.9s var(--ease) 0.16s both; }
.hero__lead { animation: heroUp 0.9s var(--ease) 0.26s both; }
.hero__actions { animation: heroUp 0.9s var(--ease) 0.36s both; }
.hero__trustline { animation: heroUp 0.9s var(--ease) 0.46s both; }

/* Animated gold shimmer across the italic hero accent */
.hero h1 em {
  background: linear-gradient(100deg, var(--sage-600) 0%, var(--gold-600) 45%, var(--sage-600) 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 7s linear infinite;
}
@keyframes shimmerText {
  to { background-position: -220% 0; }
}

/* Directional reveals (added by JS to split children / media) */
.js .reveal--left  { opacity: 0; transform: translateX(-34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal--right { opacity: 0; transform: translateX(34px);  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal--left.in, .js .reveal--right.in { opacity: 1; transform: none; }

/* Media panels reveal with a soft upward wipe + scale */
.js .reveal--media {
  opacity: 0;
  transform: scale(0.965);
  clip-path: inset(8% 0 8% 0 round var(--radius-lg));
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), clip-path 1.1s var(--ease);
}
.js .reveal--media.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--radius-lg)); }

/* Parallax target (JS sets transform on scroll) */
.ambient__img { will-change: transform; }

/* Button sheen on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(138,156,128,0.18), transparent); }

/* Feature/step/pillar cards: soft gold ring on hover */
.pillar, .step, .feature-card, .session-card, .price-card, .cred, .expect__item {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease), background 0.45s var(--ease);
}
.pillar:hover, .step:hover, .cred:hover, .expect__item:hover {
  border-color: var(--gold-400);
}

/* Nav link: gentle lift of the active/hover label */
.nav__links a { transition: color 0.25s var(--ease); }

/* Scroll-hint fades out once scrolling */
.hero.scrolled-past .scroll-hint { opacity: 0; }

/* Respect reduced motion: kill parallax + shimmer + wipes */
@media (prefers-reduced-motion: reduce) {
  .hero h1 em { animation: none; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--sage-600); }
  .js .reveal--media { clip-path: none; }
  .ambient__img { transform: none !important; }
}

/* ---------- Image gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem 1.25rem 1.1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: linear-gradient(transparent, rgba(31, 37, 26, 0.72));
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:last-child { aspect-ratio: 4 / 3.4; }
}

/* =====================================================================
   v7 — gold signature accent + card/form refinement (review-driven)
   ===================================================================== */

/* Signature: a small gold rule beneath centred section titles */
.text-center .section-title::after,
.cta-band h2::after {
  content: "";
  display: block;
  width: 56px; height: 2px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300));
  border-radius: 2px;
}
.cta-band h2::after { background: linear-gradient(90deg, transparent, var(--gold-400), transparent); width: 80px; }

/* Gold italic emphasis inside section titles */
.section-title em { font-style: italic; color: var(--gold-700); }

/* Timetable cards: more room, clearer price, calmer meta */
.session-card { padding: 1.9rem; gap: 0.7rem; }
.session-card .price-from {
  font-size: 1.2rem;
  margin-top: 0.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--sage-100);
}
.session-card .meta { gap: 0.45rem; }
.session-card .tagpill { font-size: 0.7rem; padding: 0.22rem 0.6rem; }

/* Contact form: softer, more considered fields */
.contact-form { padding: 2.5rem; gap: 1.25rem; }
.field input, .field select, .field textarea {
  background: var(--cream-50);
  border-width: 1.5px;
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sage-400); }
.field label { letter-spacing: 0.01em; }

/* Intro-offer ribbon */
.intro-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  background: linear-gradient(180deg, var(--sage-800), var(--sage-900));
  color: var(--sage-100);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}
.intro-offer .tag {
  background: var(--gold-500); color: var(--sage-900);
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
}
.intro-offer strong { color: #fff; }

/* =====================================================================
   v8 — visual appeal: logo-derived wave dividers, arched imagery,
   warmer photo cohesion
   ===================================================================== */

/* Organic wave dividers echoing the logo's waves.
   Sage-tinted sections (.services) meet cream with a soft curve. */
.services { position: relative; }
.services::before,
.services::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: clamp(30px, 4vw, 56px);
  background: var(--cream-50);
  z-index: 1;
  pointer-events: none;
}
.services::before {
  top: -1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V42 C1160 76 940 70 720 46 C500 22 280 16 0 46 Z'/%3E%3C/svg%3E") top center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V42 C1160 76 940 70 720 46 C500 22 280 16 0 46 Z'/%3E%3C/svg%3E") top center/100% 100% no-repeat;
}
.services::after {
  bottom: -1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 H1440 V38 C1160 4 940 10 720 34 C500 58 280 64 0 34 Z'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 H1440 V38 C1160 4 940 10 720 34 C500 58 280 64 0 34 Z'/%3E%3C/svg%3E") bottom center/100% 100% no-repeat;
}
.services > .container { position: relative; z-index: 2; }

/* Arched image framing — echoes the round emblem */
.gallery figure:first-child,
.gallery figure:nth-child(2),
.gallery figure:last-child {
  border-radius: 220px 220px var(--radius) var(--radius);
}
.portrait-card { border-radius: 240px 240px var(--radius-lg) var(--radius-lg); }
.portrait-card .about__badge { border-radius: var(--radius); }
@media (max-width: 760px) {
  .gallery figure:last-child { border-radius: 160px 160px var(--radius) var(--radius); }
}

/* Warm, cohesive wash over photographs so the set feels branded */
.gallery figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(214,173,97,0.10), transparent 40%),
    linear-gradient(0deg, rgba(51,61,44,0.16), transparent 55%);
  mix-blend-mode: multiply;
}
.portrait-card .photo { filter: saturate(0.96) contrast(1.02); }

/* Richer drifting hero aurora */
.hero {
  background:
    radial-gradient(60% 50% at 78% 12%, rgba(214,173,97,0.26), transparent 60%),
    radial-gradient(55% 55% at 12% 88%, rgba(138,156,128,0.28), transparent 60%),
    radial-gradient(45% 40% at 60% 55%, rgba(246,220,160,0.16), transparent 65%),
    radial-gradient(50% 50% at 30% 25%, rgba(188,208,198,0.20), transparent 60%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
  background-size: 200% 200%, 200% 200%, 180% 180%, 200% 200%, 100% 100%;
  animation: heroDrift 30s ease-in-out infinite alternate;
}

/* =====================================================================
   JEWEL THEME  — deep teal/indigo retheme (inspired by the Jewel concept)
   Appended last so it overrides the calm-light base by source order.
   Strategy: remap the single-purpose tokens (light-bg-only / dark-text-only)
   to flip most surfaces at once, then patch the hardcoded #fff cards and
   recolour the already-dark elements to jewel-teal.
   ===================================================================== */
:root {
  /* jewel palette */
  --j-base: #08211f;
  --j-base-2: #0b2c2a;
  --j-teal: #0e3a38;
  --j-indigo: #123b5a;
  --j-plum: #3a2152;
  --j-text: #e9f5f2;
  --j-soft: #bfe0db;
  --j-aqua: #5fd0c5;
  --j-gold: #f2c45a;
  --j-glass: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.028));
  --j-border: rgba(95,208,197,0.18);
  --j-border-2: rgba(95,208,197,0.36);

  /* safe remaps — each of these tokens is used ONLY as a light surface or
     ONLY as dark text in the base sheet, so repointing them is non-destructive */
  --ink: #e9f5f2;        /* body + input text */
  --muted: #9fc4bd;      /* secondary text -> soft teal */
  --cream-50: #0b2c2a;   /* light surfaces -> jewel surface */
  --cream-100: #0e2f2c;
  --cream-200: #123b39;
  --gold-700: #ecc06b;   /* gold text -> brighter for dark bg */
  --gold-600: #e2b45e;
}

/* ---------- base + animated jewel backdrop ---------- */
body { color: var(--j-text); background-color: var(--j-base); background-image: none; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(46% 46% at 18% 22%, rgba(20,82,76,0.95), transparent 60%),
    radial-gradient(42% 42% at 82% 26%, rgba(18,59,90,0.85), transparent 60%),
    radial-gradient(52% 52% at 72% 88%, rgba(58,33,82,0.72), transparent 60%),
    radial-gradient(48% 48% at 24% 82%, rgba(14,107,98,0.7), transparent 60%),
    var(--j-base);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: jewelDrift 30s ease-in-out infinite alternate;
}
body::after { /* breathing central gold glow */
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(38% 28% at 50% 40%, rgba(242,196,90,0.16), transparent 70%);
  animation: jewelBreathe 10s ease-in-out infinite;
}
@keyframes jewelDrift {
  0%   { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0 0; }
  100% { background-position: 22% 12%, 78% 22%, 68% 88%, 16% 78%, 0 0; }
}
@keyframes jewelBreathe { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

/* rising gold sparkles (layer injected by main.js) */
.jewel-sparkles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.jewel-spark {
  position: absolute; width: 5px; height: 5px; border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 30% 30%, #fff, var(--j-gold));
  opacity: 0; filter: drop-shadow(0 0 7px rgba(242,196,90,0.9));
  animation: jewelRise linear infinite;
}
@keyframes jewelRise {
  0% { transform: translateY(105vh) rotate(0) scale(.5); opacity: 0; }
  12% { opacity: 1; } 88% { opacity: 0.7; }
  100% { transform: translateY(-10vh) rotate(240deg) scale(1.05); opacity: 0; }
}

/* ---------- type ---------- */
h1, h2, h3, h4 { color: #fff; }
.hero h1 em, h1 em, h2 em {
  background: linear-gradient(100deg, var(--j-aqua), var(--j-gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.eyebrow { color: var(--j-gold); }
.eyebrow::before, .eyebrow.center::before { background: var(--j-gold); }
/* dark titles that sat on light cards -> light */
.tt-row .cls, .testi-card .who strong, .price-card .price, .faq-item summary,
.contact__item strong, .mini-row .mt, .price-note strong, .notice h3 { color: #fff; }
.testi-card blockquote, .quote-feature blockquote, .tt-row .day,
.session-card .when, .price-from, .about__badge strong { color: var(--j-soft); }

/* ---------- header / nav ---------- */
.site-header::before { background: rgba(8,33,31,0.72); box-shadow: 0 1px 0 var(--j-border); }
.brand { color: #fff; }
.brand small { color: var(--j-gold); }
.nav__links a { color: var(--j-soft); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a::after { background: var(--j-gold); }
.nav__toggle span { background: var(--j-text); }
/* the mobile overlay menu's dark background comes from the re-mapped cream
   tokens in the existing @media rule — desktop .nav__menu stays transparent
   so there's no filled band with a hard left edge behind the nav */
.nav__cta, .hero__meta { border-top-color: var(--j-border); }

/* ---------- buttons ---------- */
.btn {
  --btn-fg: #06251f;
  background: linear-gradient(135deg, #5fcfca, #8fe0ea);
  background-image: linear-gradient(135deg, #5fcfca, #8fe0ea);
  color: #06251f; border-color: transparent;
  box-shadow: 0 14px 36px rgba(63,176,190,0.34);
}
.btn:hover { box-shadow: 0 20px 48px rgba(95,208,197,0.5); }
.btn--ghost {
  --btn-fg: var(--j-text);
  background: transparent; background-image: none; color: var(--j-text);
  border: 1.5px solid var(--j-border-2); box-shadow: none;
}
.btn--ghost:hover { background: rgba(95,208,197,0.10); }
.btn--light { background: #eef6f4; background-image: none; color: #08211f; }
.btn:focus-visible { outline-color: var(--j-gold); }

/* ---------- glass cards + borders ---------- */
.feature-card, .service-row, .tt-row, .testi-card, .price-card, .faq-item,
.contact-form, .step, .cred, .session-card, .mini-row, .pillar, .expect__item,
.notice, .price-note, .map-card {
  background: var(--j-glass);
  border: 1px solid var(--j-border);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  box-shadow: 0 18px 44px rgba(0,6,5,0.32);
}
.feature-card:hover, .cred:hover, .mini-row:hover, .expect__item:hover,
.pillar:hover, .service-row:hover, .tt-row:hover { border-color: var(--j-gold); background: rgba(255,255,255,0.06); }
.feature-card .icon, .expect__item .ei, .cred .seal, .session-card .date-badge,
.tt-row .level, .tagpill.inperson { background: rgba(95,208,197,0.14); color: var(--j-soft); }
.tagpill { background: rgba(255,255,255,0.06); color: var(--j-soft); }
.tagpill.online { background: rgba(95,208,197,0.16); color: #9fe0d8; }
.tagpill.workshop { background: rgba(242,196,90,0.16); color: var(--j-gold); }
.notice { border-left: 4px solid var(--j-gold); }

/* filter chips */
.chip { color: var(--j-soft); border: 1.5px solid var(--j-border-2); background: transparent; }
.chip:hover { border-color: var(--j-aqua); }
.chip[aria-pressed="true"] { background: var(--j-gold); color: #08211f; border-color: var(--j-gold); }

/* form fields */
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.05); border: 1.5px solid var(--j-border); color: var(--j-text);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(233,245,242,0.45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--j-aqua); }
.field label { color: var(--j-soft); }
/* native select popup + options render dark/legible (not light-on-light) */
.field select { color-scheme: dark; }
.field select option { background: #0b2c2a; color: var(--j-text); }

/* ---------- already-dark elements -> jewel ---------- */
.trust { background: rgba(8,33,31,0.55); }
.cta-band {
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(14,107,98,0.55), transparent 60%),
    linear-gradient(160deg, var(--j-teal), var(--j-base));
  border: 1px solid var(--j-border);
}
.breathe-section, .intro-offer {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(14,107,98,0.5), transparent 60%),
    linear-gradient(160deg, var(--j-teal), var(--j-base));
}
.price-card.featured {
  background: linear-gradient(165deg, var(--j-teal), var(--j-indigo));
  border-color: var(--j-border-2);
}
.site-footer { background: linear-gradient(180deg, var(--j-base-2), #061715); color: var(--j-soft); }
.footer__bottom { border-top-color: var(--j-border); }
.to-top { background: linear-gradient(135deg, #5fcfca, #8fe0ea); color: #06251f; }
.to-top:hover { background: #8fe0ea; }
.skip-link { background: var(--j-gold); color: #08211f; }

/* ---------- glowing orbs + logo (jewel signature) ---------- */
.breath-circle, .orb {
  background: radial-gradient(circle at 36% 30%, #fff, #ffe9a8 25%, var(--j-gold) 60%, #c98f2f);
  box-shadow: 0 0 70px rgba(242,196,90,0.7), inset 0 0 40px rgba(255,255,255,0.45);
}
.breath-ring, .orb::before, .orb::after { border-color: rgba(95,208,197,0.4); }
.hero__logo, .split__media .emblem-soft {
  filter: drop-shadow(0 0 52px rgba(242,196,90,0.45));
}
/* bolder, brighter emblem + a soft gold glow (escapes the crop box) */
.hero__emblem { filter: drop-shadow(0 0 30px rgba(242,196,90,0.42)); }
.hero__emblem img { filter: saturate(1.22) contrast(1.16) brightness(1.05); }
/* live "Miracle Breath" wordmark — luminous white-to-gold so it stands out */
.hero__wordmark {
  background: linear-gradient(180deg, #ffffff 0%, #ffe9a8 52%, var(--j-gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(242,196,90,0.4));
}

/* ---------- portrait badge ---------- */
.about__badge { background: rgba(8,33,31,0.82); border: 1px solid var(--j-border); }
.about__badge strong { color: #fff; }
.about__badge span { color: var(--j-soft); }

/* sections that used a light sage band -> let the jewel field flow through
   (--sage-100 is dual-use as light text elsewhere, so override here, not the token) */
.services { background: transparent; }
.services::before, .services::after { background: transparent; }

/* ---------- heroes: let the jewel field show through ---------- */
.hero, .page-hero { background: transparent; }
.hero::after, .page-hero::after { background: linear-gradient(transparent, var(--j-base)); }
.scroll-hint { color: var(--j-soft); }
.scroll-hint .mouse { border-color: rgba(95,208,197,0.5); }
.scroll-hint .mouse::after { background: var(--j-gold); }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none !important; }
}

/* registered-trademark mark */
.rmark {
  font-size: 0.42em;
  vertical-align: super;
  line-height: 0;
  font-weight: 600;
  opacity: 0.75;
  margin-left: 0.06em;
}

