/* Grace's Nutrition — site styles. Brand: forest, sage, botanical gold, cream, quantum glow. */
:root {
  --forest: #2F5240;
  --night: #264434;
  --sage: #8FA98B;
  --gold: #C9A24A;
  --gold-light: #EAD38E;
  --gold-dark: #9E7A2C;
  --cream: #F7F3EA;
  --line: #DDD5C2;
  --text: #2A4838;
  --muted: #4A5A50;
  --glow-violet: #7B6FD6;
  --glow-teal: #4FB3A9;
  --silver: #B8BEC6;
  --silver-light: #EEF0F2;
  --metal: linear-gradient(115deg, var(--gold-light) 0%, var(--silver-light) 22%, var(--gold) 40%, var(--silver) 55%, var(--gold-light) 72%, var(--silver-light) 88%, var(--gold) 100%);
  --green-depth: radial-gradient(circle at 28% 50%, rgba(123, 111, 214, 0.45) 0%, rgba(79, 179, 169, 0.25) 28%, rgba(79, 179, 169, 0) 55%), linear-gradient(160deg, var(--forest), var(--night));
  --green-bright: radial-gradient(ellipse at 30% 0%, rgba(79, 179, 169, 0.6) 0%, rgba(79, 179, 169, 0) 70%), radial-gradient(ellipse at 92% 100%, rgba(123, 111, 214, 0.22) 0%, rgba(123, 111, 214, 0) 55%), linear-gradient(160deg, var(--forest), var(--night));
  --green-band: radial-gradient(ellipse 38% 220% at 26% 50%, rgba(79, 179, 169, 0.42) 0%, rgba(79, 179, 169, 0) 100%), radial-gradient(ellipse 30% 220% at 78% 50%, rgba(123, 111, 214, 0.2) 0%, rgba(123, 111, 214, 0) 100%), linear-gradient(90deg, var(--night), var(--forest) 50%, var(--night));
  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-script: 'Meow Script', 'Brush Script MT', cursive;
  --foil: linear-gradient(100deg, #9E7A2C 0%, #C9A24A 30%, #EAD38E 45%, #C9A24A 60%, #9E7A2C 100%);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1em;
}
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.placeholder { background: rgba(201, 162, 74, 0.18); padding: 0 4px; }

::selection { background: rgba(234, 211, 142, 0.75); color: var(--forest); }

/* Gold ripple on tap (added by site.js). */
.btn, .nav-toggle, .site-nav a, .flip-front, .flip-close, button { position: relative; isolation: isolate; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.ripple { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transform: scale(0); opacity: 1; background: radial-gradient(circle, rgba(234, 211, 142, 0.8) 0%, rgba(234, 211, 142, 0.6) 30%, rgba(201, 162, 74, 0.5) 55%, rgba(201, 162, 74, 0) 72%); box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.9), 0 0 18px rgba(234, 211, 142, 0.9); animation: ripple 1.3s cubic-bezier(0.2, 0.6, 0.3, 1) forwards; }
@keyframes ripple { 0% { transform: scale(0); opacity: 1; } 60% { opacity: 0.85; } 100% { transform: scale(3); opacity: 0; } }
.is-rippling { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(234, 211, 142, 0.85) !important; transition: box-shadow 0.4s ease; }
.nav-toggle { gap: 10px; transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.nav-icon { display: inline-grid; gap: 4px; width: 18px; }
.nav-icon i { display: block; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.4s ease, opacity 0.3s ease; }
.nav-toggle:hover, .nav-toggle:active, .nav-toggle.is-rippling, .nav-toggle[aria-expanded="true"] { border-color: var(--gold); color: var(--night); background: var(--metal); background-size: 300% 100%; box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.35), 0 0 22px rgba(234, 211, 142, 0.8); animation: metal 4s ease-in-out infinite alternate; }
.nav-toggle[aria-expanded="true"] .nav-icon i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-icon i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-icon i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.site-nav a:not(.btn) { padding: 6px 2px; background: linear-gradient(90deg, var(--gold), var(--silver), var(--gold)) no-repeat 50% 100% / 0 1.5px; transition: background-size 0.5s ease, color 0.3s ease; }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn):active, .site-nav a[aria-current="page"]:not(.btn) { background-size: 100% 1.5px; color: var(--gold-dark); }

/* The AO Scan symbol follows the mouse over buttons and links (desktop), and blooms where a button is tapped (touch). */
.ao-cursor { position: fixed; z-index: 101; left: 0; top: 0; width: 62px; height: 62px; margin: -31px 0 0 -31px; pointer-events: none; opacity: 0; transform: scale(0.4); transition: opacity 0.35s ease, transform 0.35s ease; }
.ao-cursor.on { opacity: 1; transform: scale(1); }
.ao-cursor svg { width: 100%; height: 100%; animation: orbit 6s linear infinite; filter: drop-shadow(0 0 8px rgba(123, 111, 214, 0.7)) drop-shadow(0 0 2px rgba(201, 162, 74, 0.8)); }
.ao-bloom { position: fixed; z-index: 101; width: 70px; height: 70px; margin: -35px 0 0 -35px; pointer-events: none; animation: bloom 1.3s ease-out forwards; }
.ao-bloom svg { width: 100%; height: 100%; }
@keyframes bloom { 0% { opacity: 0; transform: scale(0.3) rotate(0deg); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6) rotate(120deg); } }

/* Gold sparkle trail behind the mouse (desktop only, added by site.js). */
.spark { position: fixed; z-index: 100; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, var(--gold-light), rgba(201, 162, 74, 0)); animation: spark 0.8s ease-out forwards; }
@keyframes spark { to { transform: translateY(10px) scale(0.2); opacity: 0; } }

/* Gold foil: handwritten words in shining gold. */
.script {
  font-family: var(--font-script); font-weight: 400; font-size: 1.45em; line-height: 1;
  display: inline; padding: 0.3em 0.3em 0.5em 0.3em; margin: 0 -0.14em 0 -0.3em; letter-spacing: 0.01em; /* room for the swashes and descenders (f, p, y) that reach past the letters; the margins keep the spacing */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-light) 30%, var(--cream) 45%, var(--gold-light) 60%, var(--gold) 100%);
  background-size: 250% 100%; filter: drop-shadow(0 1px 0 rgba(158, 122, 44, 0.6));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s ease-in-out infinite;
}
/* "new light": bright foil, a glowing echo that ripples outward, and twinkling stars. */
.light-up { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.light-up .bright, .light-up .echo { display: inline-block; font-family: var(--font-script); font-weight: 400; font-size: 1.75em; line-height: 1; padding: 0.3em 0.3em 0.5em 0.3em; margin: 0 -0.22em -0.3em -0.3em; }
.light-up .bright { background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 32%, var(--gold-light) 45%, #FFFFFF 50%, var(--gold-light) 55%, var(--gold) 68%, var(--gold) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 3.5s ease-in-out infinite, pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { filter: drop-shadow(0 1px 0 rgba(19, 38, 29, 0.6)) drop-shadow(0 0 6px rgba(234, 211, 142, 0.55)); } 50% { filter: drop-shadow(0 1px 0 rgba(19, 38, 29, 0.6)) drop-shadow(0 0 10px rgba(234, 211, 142, 1)) drop-shadow(0 0 26px rgba(234, 211, 142, 0.75)); } }
.light-up .echo { position: absolute; left: 0; top: 0; z-index: -1; color: var(--gold-light); filter: blur(5px); transform-origin: 50% 55%; animation: echo 3s ease-out infinite; }
.light-up .echo.e2 { animation-delay: 1.5s; color: var(--silver-light); }
@keyframes echo { 0% { opacity: 0.85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.spk { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); pointer-events: none; background: radial-gradient(circle, #FFFFFF 0%, var(--gold-light) 45%, var(--gold) 100%); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.9)); opacity: 0; animation: sparkle 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(0.2) rotate(0deg); } 45% { opacity: 1; transform: scale(1.1) rotate(45deg); } 70% { opacity: 0.6; transform: scale(0.8) rotate(80deg); } }

/* Over sage and sunlit backgrounds the pale foil fades, so those spots keep the shine without the cream band. */
.section-garden .script, .verse .script, .welcome .script, .section h2 .script { background-image: linear-gradient(100deg, var(--gold) 0%, var(--gold) 35%, var(--gold-light) 50%, var(--gold) 65%, var(--gold) 100%); }
/* Green script: deep forest that ripples to fresh green, with a band of gold passing through. */
.section .script.green { background-image: linear-gradient(100deg, var(--night) 0%, var(--forest) 30%, var(--gold) 43%, var(--gold-light) 50%, #FFFDF8 52%, var(--sage) 60%, var(--forest) 76%, var(--night) 100%); background-size: 300% 100%; animation: sweep 6s linear infinite; filter: drop-shadow(0 1px 0 rgba(38, 68, 52, 0.45)) drop-shadow(0 0 8px rgba(234, 211, 142, 0.6)); }
@keyframes sweep { 0% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
/* "nourished": leaves, vines and white flowers sprout just behind the light as it sweeps */
.bloom-word { position: relative; display: inline-block; }
.sp-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprout { position: absolute; left: calc(var(--f) * 92%); width: var(--z); height: var(--z); opacity: 0; transform: rotate(var(--r)) scale(0); transform-origin: 50% 100%; animation: sprout 6s ease-out infinite; animation-delay: calc(6s * (0.15 + 0.35 * var(--f))); filter: drop-shadow(0 1px 1px rgba(38, 68, 52, 0.25)); pointer-events: none; }
.sprout.b { bottom: 0.05em; }
.sprout.t { top: 0.2em; transform-origin: 50% 0; }
@keyframes sprout { 0% { opacity: 0; transform: rotate(var(--r)) scale(0); } 7% { opacity: 1; transform: rotate(var(--r)) scale(1.15); } 11% { transform: rotate(var(--r)) scale(1); } 55% { opacity: 1; transform: rotate(calc(var(--r) + 6deg)) scale(1); } 70%, 100% { opacity: 0; transform: rotate(var(--r)) scale(0.6); } }
@keyframes shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.twinkle { animation: twinkle 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.twinkle:nth-of-type(2n) { animation-delay: 1.1s; }
.twinkle:nth-of-type(3n) { animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.7); } 50% { opacity: 1; transform: scale(1.1); } }

/* Header */
.top-bar { background: var(--green-band); color: var(--cream); font-size: 0.78rem; letter-spacing: 0.06em; }
.top-bar .container { text-align: center; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.top-bar a { color: var(--gold-light); text-decoration: none; }
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.logo { font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; color: var(--forest); display: flex; align-items: center; gap: 10px; }
.logo img { height: 56px; width: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 22px; min-height: 44px; padding: 0 16px; font: inherit; color: var(--forest); cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav a[aria-current="page"] { color: var(--gold-dark); }
.site-nav .btn-small { min-height: 44px; padding: 0 22px; color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border-radius: 26px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body);
}
.btn-primary { background: var(--green-bright); color: var(--cream); position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.55); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(234, 211, 142, 0.5) 42%, rgba(238, 240, 242, 0.55) 52%, rgba(201, 162, 74, 0.45) 62%, transparent 78%); transform: translateX(-120%); transition: transform 1.6s ease; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { background: var(--green-depth); color: var(--gold-light); }
.btn-outline { border-color: var(--gold); color: var(--forest); background: transparent; }
.btn-outline { background-image: var(--metal); background-size: 300% 100%; background-position: 0 0; background-color: transparent; background-repeat: no-repeat; background-clip: padding-box; transition: color 0.6s ease, box-shadow 0.6s ease; }
.btn-outline:not(:hover):not(.is-rippling) { background-image: none; }
.btn-outline:hover { color: var(--forest); border-color: var(--gold); box-shadow: 0 6px 20px -8px rgba(158, 122, 44, 0.6); animation: metal 4s ease-in-out infinite alternate; }
@keyframes metal { from { background-position: 0 0; } to { background-position: 100% 0; } }
.btn-light { border-color: var(--gold-light); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
/* Light, garden-like heroes: morning sun, soft sage, a hint of the quantum glow, botanical branches in the corners. */
.hero, .page-hero {
  position: relative; overflow: hidden; color: var(--forest); isolation: isolate;
  background:
    radial-gradient(circle at 80% 30%, rgba(234, 211, 142, 0.6) 0%, rgba(234, 211, 142, 0) 38%),
    linear-gradient(175deg, #FBF8F0 0%, #EEF1E4 55%, #D9E4D0 100%);
}
.hero::before, .hero::after, .page-hero::before, .page-hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background-repeat: no-repeat; background-size: contain;
}
.hero::before { left: -90px; bottom: -90px; width: 300px; height: 390px; background-image: url("../images/branch.svg"); opacity: 0.85; transform-origin: 0 100%; animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { rotate: -2deg; } to { rotate: 2deg; } }
.orbits { transform-box: view-box; transform-origin: 50% 50%; animation: orbit 90s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-mark { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { filter: drop-shadow(0 0 0 rgba(123, 111, 214, 0)); } 50% { filter: drop-shadow(0 0 18px rgba(123, 111, 214, 0.35)); } }

/* AO Scan feature: a deep, glowing band for the quantum side of the practice. */
.section-ao { position: relative; overflow: hidden; isolation: isolate; color: var(--cream); background: var(--green-depth); }
.section-ao h2 { color: var(--cream); }
.section-ao p { color: rgba(247, 243, 234, 0.82); }
.section-ao .eyebrow { color: var(--gold-light); }
.section-ao .hero-mark { max-width: 420px; }
/* The AO sprout grows, blooms into a white calla lily and glows brighter, then settles and grows again. */
.ao-core { transform-box: fill-box; transform-origin: center; animation: ao-core 9s ease-in-out infinite; }
.ao-sprout { animation: ao-bright 9s ease-in-out infinite; }
.ao-stem { transform-box: view-box; transform-origin: 310px 470px; animation: ao-stem 9s ease-in-out infinite; }
.ao-leaf { transform-box: view-box; transform-origin: 310px 400px; animation: ao-leaf-l 9s ease-in-out infinite; }
.ao-leaf.r { animation-name: ao-leaf-r; }
.ao-bud { transform-box: fill-box; transform-origin: 40% 100%; animation: ao-bud 9s ease-in-out infinite; }
.ao-mote { opacity: 0; animation: ao-mote 9s ease-out infinite; animation-delay: var(--d); }
@keyframes ao-core { 0%, 100% { opacity: 0.25; transform: scale(0.7); } 45%, 62% { opacity: 1; transform: scale(1.1); } }
@keyframes ao-bright { 0%, 100% { filter: brightness(0.95); } 45%, 62% { filter: brightness(1.25) drop-shadow(0 0 10px rgba(255, 240, 190, 0.7)); } }
@keyframes ao-stem { 0%, 100% { transform: scaleY(0.62); } 45%, 62% { transform: scaleY(1.06); } }
@keyframes ao-leaf-l { 0%, 100% { transform: translateY(40px) scale(0.55) rotate(12deg); } 45%, 62% { transform: translateY(0) scale(1.08) rotate(-4deg); } }
@keyframes ao-leaf-r { 0%, 100% { transform: translateY(40px) scale(0.55) rotate(-12deg); } 45%, 62% { transform: translateY(0) scale(1.08) rotate(4deg); } }
@keyframes ao-bud { 0%, 22% { transform: translateY(90px) scale(0) rotate(-40deg); opacity: 0; } 50%, 62% { transform: translateY(-6px) scale(1) rotate(0); opacity: 1; } 78%, 100% { transform: translateY(90px) scale(0) rotate(-40deg); opacity: 0; } }
@keyframes ao-mote { 0%, 46% { opacity: 0; transform: translate(0, 0); } 52% { opacity: 1; } 70%, 100% { opacity: 0; transform: translate(var(--x), -90px); } }
@media (prefers-reduced-motion: reduce) { .ao-core, .ao-sprout, .ao-stem, .ao-leaf, .ao-bud, .ao-mote { animation: none; } .ao-bud, .ao-mote { opacity: 0; } }

/* A hummingbird darts in while the lily blooms, hovers at the flower, then flies off. */
.hb-fly { opacity: 0; animation: hb-fly 9s ease-in-out infinite; }
.hb-bob { animation: hb-bob 1.4s ease-in-out infinite alternate; }
.hb-wing { transform-box: fill-box; transform-origin: 0% 100%; animation: hb-flap 0.11s linear infinite alternate; }
.hb-wing.back { animation-delay: -0.05s; }
@keyframes hb-fly { 0%, 30% { opacity: 0; transform: translate(170px, -90px); } 42% { opacity: 1; transform: translate(0, 0); } 68% { opacity: 1; transform: translate(-3px, 2px); } 80%, 100% { opacity: 0; transform: translate(180px, -130px); } }
@keyframes hb-bob { from { transform: translate(0, -3px) rotate(-3deg); } to { transform: translate(2px, 3px) rotate(2deg); } }
@keyframes hb-flap { from { transform: scaleY(1); } to { transform: scaleY(-0.35); } }
@media (prefers-reduced-motion: reduce) { .hb-fly, .hb-bob, .hb-wing { animation: none; } .hb-fly { opacity: 0; } }
.hb-spark { pointer-events: none; filter: drop-shadow(0 0 3px rgba(255, 220, 120, 0.95)) drop-shadow(0 0 8px rgba(234, 211, 142, 0.6)); }
@media (prefers-reduced-motion: reduce) { .hb-spark { display: none; } }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(201, 162, 74, 0.35); }
.price-list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--gold-light); }
.section-ao .btn-primary { background: linear-gradient(115deg, var(--gold-light), var(--gold) 55%, var(--silver-light)); color: var(--night); box-shadow: 0 8px 24px -10px rgba(234, 211, 142, 0.7); }
.section-ao .btn-primary:hover { color: var(--night); }
.section-ao .btn-outline { color: var(--cream); }
.section-ao .btn-outline:hover { color: var(--forest); }
.hero::after { right: -20px; top: -40px; width: 220px; height: 440px; background-image: url("../images/fern.svg"); transform: rotate(200deg); opacity: 0.6; }
.page-hero::before { right: -30px; bottom: -60px; width: 260px; height: 340px; background-image: url("../images/branch.svg"); transform: scaleX(-1); opacity: 0.8; }
.page-hero::after { left: -30px; top: -80px; width: 160px; height: 320px; background-image: url("../images/fern.svg"); transform: rotate(160deg); opacity: 0.45; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; min-height: 640px; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { text-wrap: balance; }
.hero h1 .script { background-image: linear-gradient(100deg, var(--gold-dark) 0%, var(--gold) 30%, var(--gold-light) 45%, var(--cream) 50%, var(--gold-light) 55%, var(--gold) 70%, var(--gold-dark) 100%); filter: drop-shadow(0 1px 0 rgba(158, 122, 44, 0.45)); }
/* Hero headline words in a loose handwritten script. "Wellness" and "healing" glow softly; "faith" keeps bursting open in a gold sparkle (js/site.js). */
.hero-script .w { font-family: var(--font-script); font-weight: 400; font-size: 1.4em; line-height: 1; display: inline-block; padding: 0.25em 0.3em 0.4em 0.22em; margin: -0.3em -0.22em -0.42em -0.22em;
  background-image: linear-gradient(100deg, var(--gold-dark) 0%, var(--gold) 30%, var(--gold-light) 45%, #FFFDF8 50%, var(--gold-light) 55%, var(--gold) 70%, var(--gold-dark) 100%); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(158, 122, 44, 0.45)); animation: shine 6s ease-in-out infinite; }
.faith-wrap { position: relative; display: inline-block; isolation: isolate; }
.faith-wrap::before { content: ""; position: absolute; inset: -20% -25% -10%; z-index: -2; background: radial-gradient(ellipse at 50% 60%, rgba(234, 211, 142, 0.85) 0%, rgba(255, 253, 248, 0.6) 38%, rgba(255, 253, 248, 0) 70%); filter: blur(6px); opacity: 0.4; animation: dawn 7s ease-in-out infinite; }
@keyframes dawn { 0%, 100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.05); } }
.hero-script .w:not(.faith) { animation: shine 6s ease-in-out infinite, beacon 2.6s ease-in-out infinite; }
.hero-script .w:last-child { animation-delay: 0s, 1.3s; }
.hero-script .w.faith { transition: opacity 0.4s ease; }
@keyframes beacon {
  0%, 100% { filter: drop-shadow(0 1px 0 rgba(158, 122, 44, 0.45)) drop-shadow(0 0 0 rgba(255, 232, 150, 0)) brightness(1); }
  50% { filter: drop-shadow(0 1px 0 rgba(158, 122, 44, 0.45)) drop-shadow(0 0 6px rgba(255, 240, 180, 1)) drop-shadow(0 0 18px rgba(255, 214, 110, 0.85)) brightness(1.22); }
}
.faith-sparks { position: absolute; z-index: -1; pointer-events: none; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
/* The quantum glow sits right behind the leaf-and-orbit symbol. */
.hero-mark {
  width: 100%; max-width: 480px; justify-self: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(123, 111, 214, 0.55) 0%, rgba(123, 111, 214, 0.32) 18%, rgba(79, 179, 169, 0.22) 32%, rgba(79, 179, 169, 0) 56%);
}
.page-hero { padding: 96px 0 80px; }
.page-hero p { color: var(--muted); max-width: 40em; }
.page-hero a { color: var(--gold-dark); }

/* Leafy divider between sections */
.leaf-divider { display: flex; align-items: center; gap: 16px; justify-content: center; margin: 0 auto; max-width: 420px; color: var(--gold); }
.leaf-divider::before, .leaf-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.leaf-divider svg { width: 40px; height: 24px; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, #F1EEE2, #E7EDDF); position: relative; }
.section-garden {
  position: relative; overflow: hidden; isolation: isolate; color: var(--forest);
  background:
    radial-gradient(circle at 15% 20%, rgba(234, 211, 142, 0.55) 0%, rgba(234, 211, 142, 0) 40%),
    linear-gradient(160deg, #DCE6D2 0%, #BFD1B6 100%);
}
.section-garden::before {
  content: ""; position: absolute; z-index: -1; right: -20px; bottom: -40px; width: 280px; height: 360px;
  background: url("../images/branch.svg") no-repeat center / contain; transform: scaleX(-1); opacity: 0.9;
}
.section-garden p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.card { background: linear-gradient(#FFFDF8, #FFFDF8) padding-box, var(--metal) border-box; border: 1px solid transparent; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 32px -18px rgba(31, 59, 45, 0.4); transition: transform 0.5s ease, box-shadow 0.5s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 22px 44px -20px rgba(31, 59, 45, 0.45); }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--foil); }
.card h3 { margin-bottom: 0.2em; }
.card .btn { margin-top: auto; align-self: flex-start; }
.pillar { border-top: 1px solid transparent; border-image: var(--foil) 1; padding-top: 20px; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { padding-left: 28px; position: relative; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50% 0; background: var(--sage); transform: rotate(-45deg); }
.duration { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--gold); border-radius: 20px; padding: 2px 12px; align-self: flex-start; }

/* Testimonials */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; }
.stars { color: var(--gold); letter-spacing: 0.2em; }
.quote figcaption { font-size: 0.85rem; color: var(--muted); }

/* Video slot */
.video-slot { aspect-ratio: 16 / 9; border-radius: 18px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--cream); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; background: radial-gradient(circle at 50% 45%, rgba(123, 111, 214, 0.5), rgba(79, 179, 169, 0.35) 40%, var(--forest) 80%); box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.5); }

/* Personal touches */
.verse { padding: 64px 0; text-align: center; background: linear-gradient(180deg, var(--cream), #EFEBDD); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.verse .script { font-size: 3rem; margin: 0; }
.verse blockquote { margin: 8px auto 12px; max-width: 30em; font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.45; color: var(--forest); }
.verse-ref { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dark); margin: 0; }
.welcome { margin: 0; }
.welcome figcaption { text-align: right; font-size: 2rem; margin-top: 4px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 18px; box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.6), 0 14px 34px -20px rgba(31, 59, 45, 0.5); }
/* Location card: a soft illustrated map that opens Google Maps (embedded maps are blocked in some previews and slow the page). */
.map-card { position: relative; display: block; overflow: hidden; background: linear-gradient(160deg, var(--cream), rgba(143, 169, 139, 0.35)); color: var(--forest); text-decoration: none; isolation: isolate; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.map-art .park { fill: var(--sage); opacity: 0.22; }
.map-art .road { fill: none; stroke: #FFFDF8; stroke-width: 9; stroke-linecap: round; }
.map-art .road.major { stroke: var(--gold-light); stroke-width: 13; opacity: 0.8; }
.map-art .road.minor { stroke-width: 5; }
.map-pin { position: absolute; left: 50%; top: 40%; width: 34px; height: 34px; margin: -34px 0 0 -17px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green-bright); box-shadow: 0 0 0 3px var(--gold), 0 10px 18px -8px rgba(31, 59, 45, 0.6); }
.map-pin i { position: absolute; inset: 10px; border-radius: 50%; background: var(--gold-light); }
.map-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: pin-pulse 2.8s ease-out infinite; }
@keyframes pin-pulse { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }
.map-label { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 253, 248, 0.92); box-shadow: 0 8px 20px -12px rgba(31, 59, 45, 0.45); font-size: 0.9rem; line-height: 1.45; }
.map-label strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; }
.map-label em { display: block; margin-top: 4px; font-style: normal; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-dark); }
.map-card:hover .map-label em, .map-card:focus-visible .map-label em { text-decoration: underline; }

/* Newsletter */
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
.signup-form { display: grid; gap: 14px; }
.signup-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-fields > * { min-width: 0; }
.signup-fields .wide { grid-column: 1 / -1; }
.signup-form .optional { font-weight: 400; color: var(--muted); }
.signup-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.78rem; line-height: 1.5; color: var(--muted); }
.signup-form .consent input { width: 18px; height: 18px; min-height: 0; flex: 0 0 18px; margin-top: 2px; accent-color: var(--forest); }
.signup-form .btn { justify-self: start; }
@media (max-width: 720px) { .signup-fields { grid-template-columns: 1fr; } }
.photo {
  aspect-ratio: 4 / 5; border-radius: 18px; display: flex; align-items: flex-end; padding: 16px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #E8E3D3;
  background: linear-gradient(170deg, #4A7A5F, var(--forest));
}
.photo.glow { background: radial-gradient(circle at 50% 40%, var(--glow-violet) 0%, var(--glow-teal) 35%, var(--night) 78%); }
.photo.warm { background: linear-gradient(170deg, #D9C8A0, #A8875A); color: var(--forest); }

/* Products */
.price { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-dark); }
.product-photo { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(170deg, #E8E3D3, var(--sage)); margin-bottom: 12px; display: flex; align-items: flex-end; padding: 12px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); }

/* Practitioner flip cards */
.grid-flip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flip { aspect-ratio: 1; perspective: 1400px; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); transform-style: preserve-3d; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(201, 162, 74, 0.6), 0 14px 34px -20px rgba(31, 59, 45, 0.5); }
.flip-front { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--cream); background: var(--green-depth); }
.flip-photo { position: absolute; inset: 0; background: radial-gradient(circle at 50% 38%, var(--glow-violet) 0%, var(--glow-teal) 34%, var(--forest) 78%); transition: transform 0.6s ease; }
.flip-front:hover .flip-photo { transform: scale(1.04); }
.flip-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: grid; gap: 2px; background: linear-gradient(180deg, transparent, rgba(38, 68, 52, 0.92) 40%); }
.flip-name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.flip-role { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.flip-hint { font-size: 0.75rem; opacity: 0.8; margin-top: 4px; }
.flip-back { transform: rotateY(180deg); background: #FFFDF8; padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.flip-back::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--foil); }
.flip-back h3 { color: var(--forest); font-size: 1.3rem; margin: 0; }
.flip-back p { margin: 0; }
.flip-actions { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.flip-close { background: none; border: 0; font: inherit; font-size: 0.8rem; color: var(--gold-dark); text-decoration: underline; cursor: pointer; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .map-pin::after { animation: none; } .flip-inner { transition: none; } }

/* Booking */
.therapist { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.practitioner .avatar { width: 140px; height: 140px; margin-bottom: 8px; box-shadow: 0 0 0 3px #FFFDF8, 0 0 0 4px var(--gold); }
.practitioner .role { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dark); margin: 0; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--glow-violet), var(--glow-teal) 45%, var(--forest) 80%); }
.embed-slot {
  border: 1.5px dashed var(--gold); border-radius: 18px; min-height: 420px; padding: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; background: #FFFDF8;
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.steps li::before {
  content: counter(step); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem;
}

/* Forms */
form { display: grid; gap: 16px; }
label { font-size: 0.85rem; font-weight: 500; display: grid; gap: 6px; }
input, textarea, select {
  font: inherit; color: var(--text); background: #FFFDF8; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 140px; }

/* Footer */
.site-footer { background: var(--green-depth); color: #C9C3B2; padding: 64px 0 40px; font-size: 0.92rem; }
.site-footer a { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 64px; width: auto; filter: brightness(0) invert(0.94); margin-bottom: 16px; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.site-footer h3 { color: var(--cream); font-size: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.disclaimer { border-top: 1px solid #3D5E4B; margin-top: 40px; padding-top: 20px; font-size: 0.8rem; line-height: 1.6; }

/* Phone */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; padding-bottom: 16px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .top-bar .container { gap: 4px 16px; }
  .top-bar .top-addr { display: none; }
  .grid-flip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .flip { aspect-ratio: 3 / 4; }
  .flip-caption { padding: 12px; }
  .flip-name { font-size: 1.05rem; }
  .flip-role { font-size: 0.62rem; }
  .flip-hint { display: none; }
  .flip-back { padding: 14px; font-size: 0.78rem; }
  .flip-back h3 { font-size: 1.05rem; }
  .flip-actions { flex-wrap: wrap; gap: 4px; }
  .hero .container, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .hero .container { min-height: 0; }
  .hero-mark { max-width: 300px; }
  .hero::before, .page-hero::before, .section-garden::before { width: 180px; height: 240px; opacity: 0.5; }
  .hero::after, .page-hero::after { display: none; }
  .section { padding: 64px 0; }
}

/* Calm mode: visitors who ask their device for less motion. */
@media (prefers-reduced-motion: reduce) { .script, .twinkle, .orbits, .hero-mark, .hero::before, .btn-outline:hover, .light-up .bright { animation: none; } .hero-script .w, .faith-wrap::before { animation: none; } .sprout { animation: none; opacity: 1; transform: rotate(var(--r)); } .light-up .echo { animation: none; opacity: 0; } .spk { animation: none; opacity: 0.8; } .ripple, .spark, .ao-cursor, .ao-bloom { display: none; } .nav-toggle { animation: none !important; } .card:hover { transform: none; } }

/* Michelle's homepage message (2026-10-26): her headline leads, the sparkling faith line follows. */
.hero .hero-faith { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--forest); margin: 0.2em 0 0.8em; max-width: none; }
.hero .hero-brands { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin-top: 0; }
.pull-quote { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); border-left: 2px solid var(--gold); padding-left: 18px; margin: 24px 0; }
.footer-tagline { font-family: var(--font-display); color: var(--gold-light); }

/* Menu (2026-10-26): five links, the 360 Wellness pages in one dropdown, an account icon, and a Book button fixed to the bottom of phones. */
.site-nav .has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.has-sub:has([aria-current="page"]) > a:not(.btn) { background-size: 100% 1.5px; color: var(--gold-dark); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; min-width: 28px; min-height: 32px; padding: 0; color: var(--forest); cursor: pointer; }
.sub-toggle svg { transition: transform 0.3s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub-nav { display: none; position: absolute; top: 100%; left: -18px; min-width: 270px; white-space: nowrap; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; background: var(--cream); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0 0 14px 14px; box-shadow: 0 18px 36px -18px rgba(31, 59, 45, 0.45); z-index: 20; }
.has-sub:hover > .sub-nav, .has-sub.open > .sub-nav { display: flex; }
.nav-account { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.nav-account-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mobile-book { display: none; }
@media (max-width: 1100px) {
  .site-nav .has-sub { flex-direction: column; align-items: flex-start; }
  .sub-toggle { display: none; }
  .site-nav .sub-nav { display: flex; position: static; min-width: 0; gap: 12px; margin-top: 12px; padding: 0 0 0 16px; background: none; border: 0; border-left: 1.5px solid var(--gold); border-radius: 0; box-shadow: none; }
  .nav-account-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 720px) {
  .mobile-book { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 15; box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.55), 0 12px 28px -10px rgba(31, 59, 45, 0.6); }
  body { padding-bottom: 84px; }
  body:has(.site-nav a[href="book.html"][aria-current]) .mobile-book { display: none; }
}

/* Wellness portal on My account (2026-10-26): Practice Better for health forms and notes; Square for orders. */
.portal-card { flex-direction: row; align-items: flex-start; gap: 28px; }
.portal-icon { flex: 0 0 auto; color: var(--gold-dark); }
@media (max-width: 720px) { .portal-card { flex-direction: column; gap: 16px; } }

/* Live chat (2026-10-26): a bubble on every page. With no relay set, or outside chat hours, it is a leave-a-message form. */
.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 16; width: 60px; height: 60px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--gold-light); background: var(--green-bright); box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.7), 0 12px 28px -10px rgba(31, 59, 45, 0.7); cursor: pointer; }
.chat-launch:hover, .chat-launch[aria-expanded="true"] { background: var(--green-depth); }
.chat-panel { position: fixed; right: 20px; bottom: 92px; z-index: 17; width: min(370px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(31, 59, 45, 0.55); overflow: hidden; color: var(--text); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--green-band); color: var(--cream); }
.chat-title { margin: 0; font-family: var(--font-display); font-size: 1.15rem; }
.chat-status { margin: 0; font-size: 0.75rem; color: var(--gold-light); }
.chat-close { background: none; border: 0; color: var(--cream); font-size: 1.6rem; line-height: 1; width: 36px; height: 36px; cursor: pointer; }
.chat-body { flex: 1 1 auto; overflow-y: auto; padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { margin: 0; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; max-width: 85%; }
.chat-msg.them { background: #FFFDF8; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.me { background: var(--forest); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-note { margin: 0; padding: 6px 18px 10px; font-size: 0.72rem; color: var(--muted); }
.chat-live { display: flex; gap: 8px; padding: 0 14px 14px; }
.chat-live[hidden], .chat-away[hidden] { display: none; }
.chat-live input { flex: 1 1 auto; min-width: 0; }
.chat-away { display: grid; gap: 8px; padding: 0 18px 16px; font-size: 0.85rem; font-weight: 500; }
.chat-away-intro { margin: 0; font-weight: 400; color: var(--muted); }
.chat-away .btn { justify-self: start; }
.chat-away textarea { min-height: 72px; }
@media (max-width: 720px) {
  .chat-launch { bottom: 88px; right: 16px; width: 54px; height: 54px; }
  .chat-panel { right: 16px; bottom: 152px; max-height: calc(100vh - 180px); }
  body:has(.site-nav a[href="book.html"][aria-current]) .chat-launch { bottom: 16px; }
  body:has(.site-nav a[href="book.html"][aria-current]) .chat-panel { bottom: 80px; }
}
@media print { .chat { display: none; } }

/* Who goes where: homepage pathways and client login */
.top-bar .top-login { font-weight: 600; border: 1px solid rgba(234, 211, 142, 0.6); border-radius: 20px; padding: 1px 12px; }
.top-bar .top-login:hover { background: rgba(234, 211, 142, 0.15); }
.section.pathways { padding-top: 56px; padding-bottom: 48px; text-align: center; }
.pathways h2 { margin-bottom: 28px; }
.path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: left; }
.path-tile { display: grid; gap: 6px; padding: 24px; border-radius: 18px; text-decoration: none; color: var(--text); background: linear-gradient(#FFFDF8, #FFFDF8) padding-box, var(--metal) border-box; border: 1px solid transparent; box-shadow: 0 12px 32px -22px rgba(31, 59, 45, 0.45); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.path-tile svg { color: var(--gold-dark); }
.path-tile:hover { transform: translateY(-3px); color: var(--text); box-shadow: 0 20px 40px -22px rgba(31, 59, 45, 0.5); }
.path-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest); }
.path-text { font-size: 0.9rem; color: var(--muted); }
.path-client { margin: 28px 0 0; color: var(--muted); }
.path-client a { font-weight: 600; }
@media (max-width: 1000px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .path-grid { grid-template-columns: 1fr; gap: 12px; } .path-tile { padding: 18px 20px; } }
@media (prefers-reduced-motion: reduce) { .path-tile:hover { transform: none; } }
.affiliate-note { font-size: 0.85rem; color: var(--muted); max-width: 46em; margin: 32px 0 0; }

/* Team login page */
.btn-large { min-height: 56px; padding: 0 36px; font-size: 1rem; }
.team-main { display: grid; justify-items: center; gap: 16px; text-align: center; max-width: 36em; margin: 0 auto 88px; }
.team-main .btn-large { font-size: 1.05rem; padding: 0 40px; }
.team-owner-title { text-align: center; margin-bottom: 32px; }
.team-owner { align-items: stretch; }

/* 360 Wellness by goal (2026-10-28): goal shortcuts, a free consult box, short service cards with one Book button each. */
.goal-nav { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.goal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--gold); border-radius: 24px; background: #FFFDF8; color: var(--forest); text-decoration: none; font-weight: 500; }
.goal-nav a:hover { background: var(--cream); }
.start-here { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 32px; border-radius: 18px; background: linear-gradient(#FFFDF8, #FFFDF8) padding-box, var(--metal) border-box; border: 1px solid transparent; }
.start-here h2 { margin-bottom: 0.3em; }
.svc-photo { aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(170deg, #E8E3D3, var(--sage)); display: flex; align-items: flex-end; padding: 10px 12px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.svc-card { padding: 20px; }
.svc-actions { margin-top: auto; display: flex; align-items: center; gap: 16px; padding-top: 8px; }
.svc-card .svc-actions .btn { margin-top: 0; }
.svc-more { font-weight: 600; font-size: 0.9rem; }
.svc-select select { font-size: 1rem; }
@media (max-width: 760px) { .start-here { grid-template-columns: 1fr; padding: 24px; } }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.start-here > div { min-width: 0; }
.svc-select select { width: 100%; }
