:root {
  --cream: #faf8f5;
  --cream-2: #f3eee7;
  --ink: #2e251f;
  --ink-2: #6b5d53;
  --sage: #437056;
  --sage-2: #5e8a6e;
  --sage-soft: #e3ece5;
  --blush: #f2d8cd;
  --line: rgba(46, 37, 31, 0.1);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: Inter, -apple-system, system-ui, sans-serif;
  --radius: 24px;
  --shadow: 0 30px 60px -30px rgba(46, 37, 31, 0.25);
  --stage-gutter: max(clamp(16px, 6vw, 96px), calc((100vw - 140vh) / 2));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--sage); }

#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(246, 241, 234, 0.75) 100%);
}
.no-webgl #scene { display: none; }
.no-webgl body, body.no-webgl { background: linear-gradient(180deg, #faf8f5, #f3e3dc 40%, #e3ece5); background-attachment: fixed; }

/* Top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 16px max(clamp(16px, 4vw, 48px), calc((100vw - 1500px) / 2));
  background: rgba(250, 248, 245, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 20px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--sage); }
.nav a[aria-current] { color: var(--ink); box-shadow: 0 2px 0 var(--sage); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(250, 248, 245, .7); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream); text-decoration: none; }
.skip-link:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font: 500 15px/1 var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.btn-primary { background: var(--sage); color: var(--cream); box-shadow: 0 10px 24px -12px rgba(67, 112, 86, .8); }
.btn-primary:hover { background: #3a634b; }
.btn-ghost { background: rgba(250, 248, 245, 0.7); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sage); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-plum { background: #8c5476; color: #fff; }
.btn-plum:hover { background: #7a4766; }

.kicker { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin: 0 0 18px; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 560px; }
.lead.narrow { max-width: 680px; }
.small { font-size: 13px; color: var(--ink-2); }

/* Hero */
main { position: relative; z-index: 2; }
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 16px 80px;
}
.hero { position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(250, 248, 245, 0.92) 0%, rgba(250, 248, 245, 0.6) 55%, transparent 100%);
}
.hero h1 { font-size: clamp(48px, min(8vw, 12.5vh), 180px); margin-bottom: 24px; }
.hero .lead { font-size: clamp(16px, 2.1vh, 28px); max-width: min(560px + 20vh, 90vw); }
.hero .kicker { font-size: clamp(12px, 1.3vh, 17px); }
.hero .btn { font-size: clamp(15px, 1.7vh, 21px); padding: clamp(14px, 1.7vh, 22px) clamp(26px, 3vh, 40px); }
.hero .lead { margin: 0 auto 36px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span { width: 1px; height: 46px; background: linear-gradient(var(--sage), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Stage rail */
@media (max-height: 760px) and (min-width: 821px) { .stage-card { top: 14vh; } }
.rail {
  position: fixed; right: max(12px, calc(var(--stage-gutter) - 40px)); top: 50%; transform: translateY(-50%); z-index: 10;
  display: flex; flex-direction: column; gap: 14px; opacity: 0; transition: opacity .5s;
}
.rail.show { opacity: 1; }
.rail button {
  position: relative; width: 12px; height: 12px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1.5px solid var(--sage-2); background: transparent; transition: transform .25s, background .25s;
}
.rail button.active { background: var(--dot, var(--sage)); border-color: var(--dot, var(--sage)); transform: scale(1.35); }
.rail button::after {
  content: attr(data-label); position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font: 500 12px var(--sans); color: var(--ink); background: var(--cream);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.rail button:hover::after, .rail button:focus-visible::after { opacity: 1; }

/* Journey stages */
.stage { min-height: 170vh; position: relative; padding: 0 var(--stage-gutter); }
.stage-card {
  position: sticky; top: 22vh; max-width: clamp(470px, 52vh, 700px); font-size: clamp(16px, 1.9vh, 23px);
  background: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 40px);
  opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.stage:last-child { padding-bottom: 16vh; }
.stage.right .stage-card { margin-left: auto; }
.stage.current .stage-card { opacity: 1; transform: none; }
.stage-card h2 { font-size: clamp(34px, 5.4vh, 72px); }
.stage-card .chips li { font-size: .8em; }
.stage-card .season { font-family: var(--serif); font-style: italic; color: var(--c); font-size: 1.12em; margin: -6px 0 12px; filter: saturate(1.2) brightness(.85); }
.stage-card p { color: var(--ink-2); margin: 0 0 18px; }
.stage-card .stage-hint { font-size: .85em; color: var(--sage); margin-top: -8px; }
body.over-flower { cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.chips li, .chips span {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--sage-soft); color: var(--sage);
}
.chips.big span { font-size: 15px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stage.spotlight .stage-card { border-color: rgba(140, 84, 118, .25); }
.stage.spotlight .chips li { background: #f3e6ee; color: #7a4766; }

/* Content panels */
.panel { position: relative; background: var(--cream); padding: clamp(80px, 12vh, 140px) clamp(16px, 5vw, 64px); }
.panel h2 { font-size: clamp(38px, 5vw, 64px); }
.wrap { max-width: 1180px; margin: 0 auto; }
.atlas { padding-top: 110px; }
.atlas-page { position: relative; z-index: 2; }
.back-link { display: inline-block; margin-bottom: 22px; font-size: 14px; color: var(--sage); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.atlas-title { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 18px; }
.atlas-cta { margin-top: 56px; text-align: center; }
.panel .atlas-cta h2 { font-size: clamp(26px, 3vw, 36px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.atlas-cta .disclaimer { margin: 22px auto 0; }
.atlas .kicker { color: #8c5476; }

.atlas-explorer { margin-top: 32px; }
.atlas-toolbar {
  position: sticky; top: 69px; z-index: 5; padding: 12px 0 14px; margin-bottom: 16px;
  background: var(--cream); box-shadow: 0 10px 14px -12px rgba(46, 37, 31, .18);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.atlas-search { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.atlas-search input {
  flex: 1; min-width: 0; font: 400 15px var(--sans); color: var(--ink); padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.atlas-search input::placeholder { color: var(--ink-2); }
.atlas-search input:focus-visible { outline: 2px solid #8c5476; outline-offset: 1px; }
.atlas-count { flex: none; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.atlas-empty { padding: 32px 8px; color: var(--ink-2); }
.atlas-empty button { font: inherit; color: #7a3f62; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.filters button {
  font: 500 14px var(--sans); padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s;
}
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.atlas-body { display: grid; grid-template-columns: minmax(320px, 0.95fr) 1.25fr; gap: 28px; align-items: start; }
.atlas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

/* Anatomy map */
.anatomy {
  position: sticky; top: 196px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 22px; box-shadow: var(--shadow);
}
.anatomy-figure { position: relative; }
.anatomy-figure svg { display: block; width: 100%; height: auto; }
.privacy-gate {
  min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 28px 20px; text-align: center; border-radius: 16px; background: #f6e9ef;
}
.privacy-gate h3 { font-size: 26px; margin: 0 0 4px; }
.privacy-gate p { margin: 0 0 14px; max-width: 380px; color: var(--ink-2); font-size: 14.5px; }
.privacy-gate .small { margin: 14px 0 0; font-size: 12.5px; }
.diagram-hide {
  position: absolute; top: 0; right: 0; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  font: 500 12.5px var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line);
}
.anatomy .zone {
  fill: #f4dfd6; stroke: #8a6f66; stroke-width: 1.3; cursor: pointer;
  transition: fill .35s ease, stroke .35s ease, opacity .35s ease;
}
.anatomy .zone[data-zone='mons'] { fill: #f7e9e2; }
.anatomy .zone[data-zone='labia-majora'] { fill: #f1d8cd; }
.anatomy .zone[data-zone='labia-minora'] { fill: #e8beb6; }
.anatomy .zone[data-zone='vestibule'] { fill: #f5d8d2; }
.anatomy .zone[data-zone='clitoris'] { fill: #dda5a8; }
.anatomy .zone[data-zone='urethra'], .anatomy .zone[data-zone='vagina'] { fill: #c98d94; }
.anatomy .zone[data-zone='perineum'] { fill: #eed5cb; }
.anatomy .zone[data-zone='anus'] { fill: #dcb2aa; }
.anatomy .zone-line { fill: none; stroke: #e9d3c9; stroke-width: 16; stroke-linecap: round; }
.anatomy .zone-dashed circle { fill: rgba(255, 255, 255, .6); stroke-dasharray: 3 3; }
.anatomy-figure.active .zone:not(.on) { opacity: .45; }
.anatomy .zone.on { fill: #b4668f; stroke: #7a3f62; opacity: 1; }
.anatomy .zone-line.on { fill: none; stroke: rgba(180, 102, 143, .55); }
.anatomy .zone-dashed.on circle { fill: #b4668f; stroke: #7a3f62; }
.anatomy .zone:hover { stroke: #7a3f62; stroke-width: 2; }
.anatomy .label polyline { fill: none; stroke: #b9a49b; stroke-width: 1; }
.anatomy .label text { font: 500 19px var(--sans); fill: var(--ink-2); transition: fill .3s; }
.anatomy .label.on polyline { stroke: #8c5476; stroke-width: 1.5; }
.anatomy .label.on text { fill: #7a3f62; font-weight: 600; }
.anatomy-info { min-height: 96px; padding: 14px 4px 6px; border-top: 1px solid var(--line); margin-top: 8px; }
.anatomy-info h3 { font-size: 22px; margin: 0 0 4px; color: #7a3f62; }
.anatomy-info p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.zone-chips { display: none; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.zone-chips button {
  font: 500 12.5px var(--sans); padding: 7px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink);
}
.zone-chips button[aria-pressed='true'] { background: #8c5476; border-color: #8c5476; color: #fff; }
.atlas-card { cursor: default; }
.atlas-card:focus-visible { outline: 2px solid #8c5476; outline-offset: 3px; }
.atlas-card .where { margin-top: 12px; font-size: 13px; color: #7a3f62; }
.atlas-card .where b { font-weight: 600; letter-spacing: .04em; margin-right: 4px; }
.atlas-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  transition: transform .3s, box-shadow .3s, opacity .3s;
}
.atlas-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.atlas-card[hidden] { display: none; }
.atlas-card h3 { font-size: 23px; margin-bottom: 2px; }
.atlas-card .sub { font-size: 13px; color: #8c5476; margin: 0 0 12px; }
.atlas-card .when { display: inline-block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--cream-2); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.atlas-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.atlas-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 56px; }
.consult, .flags { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.consult { background: var(--sage-soft); }
.flags { background: #f6e9ef; }
.panel .consult h2, .panel .flags h2, .consult h3, .flags h3 { font-size: 28px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps li::before {
  content: counter(s); width: 36px; height: 36px; border-radius: 50%; background: var(--sage); color: #fff;
  display: grid; place-items: center; font: 600 14px var(--sans);
}
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--ink-2); font-size: 14.5px; }
.flags ul { margin: 0 0 14px; padding-left: 20px; }
.flags li { margin-bottom: 8px; }
.flags li::marker { color: #8c5476; }

.any-age .chips { margin-top: 28px; }
.about-grid { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: 56px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.doc-link { text-decoration: none; }
.doc-link:hover { color: var(--sage); }
.areas { margin-top: 72px; }
.areas h3, .faq h3 { font-size: clamp(28px, 3vw, 38px); }
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.areas-grid article { background: var(--cream-2); border-radius: 20px; padding: 24px; }
.areas-grid h4 { font: 400 23px/1.15 var(--serif); margin: 0 0 8px; }
.areas-grid p { margin: 0; font-size: 15px; }
.appointments .atlas-split { margin-top: 32px; align-items: start; }
.appt-side { display: grid; gap: 24px; }
.flags p { color: var(--ink-2); font-size: 14.5px; }
.flags li { color: var(--ink-2); font-size: 14.5px; }
.appt-emsn { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.appt-emsn h3 { font-size: 24px; }
.appt-emsn p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 10px; }
.appt-emsn a { color: #7a3f62; }
.faq { margin: 72px auto 0; max-width: 820px; }
.faq h3 { text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; }
.faq details p { margin: 0 0 18px; }
.cred { color: var(--sage); font-weight: 500; font-size: 14px; letter-spacing: .04em; }
.about p { color: var(--ink-2); }
.practice { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.practice li { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; }

.contact { background: var(--cream-2); padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0; }
.contact-grid a {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; transition: transform .2s, box-shadow .2s;
}
.contact-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-grid small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.contact-grid strong { font-weight: 500; overflow-wrap: break-word; }
.clinic-map { position: relative; height: clamp(280px, 42vh, 420px); margin-bottom: 32px; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.clinic-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clinic-map-gate { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: var(--sage-soft); }
.clinic-map-gate p { margin: 0; }
.clinic-map:has(.clinic-map-gate) { height: auto; }
.clinic-map-gate { padding: 40px 24px; }
.helplines { margin-bottom: 32px; }
.helplines h3 { font-size: 26px; }
.helplines ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.helplines li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; }
.helplines a { display: block; font-weight: 600; color: var(--sage); text-decoration: none; }
.helplines a:hover { text-decoration: underline; }
.helplines span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.reviewed { font-size: 13px; color: var(--sage); margin: 18px 0 0; }

.disclaimer { font-size: 13px; color: var(--ink-2); max-width: 720px; }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(46, 37, 31, 0.28); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s; }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(600px, 100vw);
  background: var(--cream); box-shadow: -30px 0 60px -30px rgba(46, 37, 31, .35);
  transform: translateX(105%); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.open { transform: none; }
.drawer-close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink);
}
.drawer-body { padding: 40px clamp(20px, 5vw, 48px) 48px; }
.drawer-hero { border-radius: var(--radius); padding: 28px; margin: 24px 0 28px; background: linear-gradient(135deg, var(--c), #faf8f5 120%); }
.drawer-hero .kicker { color: var(--ink); opacity: .7; margin-bottom: 8px; }
.drawer-hero h2 { font-size: clamp(36px, 5vw, 52px); margin: 0; }
.drawer h3 { font-size: 24px; margin: 32px 0 12px; }
.drawer p { color: var(--ink-2); }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 28px; }
.list li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--c); }
.list.help li::before { content: '✓'; border: 0; top: 0; left: 2px; width: auto; height: auto; color: var(--sage); font-weight: 600; }
.help-box { background: var(--sage-soft); border-radius: 20px; padding: 24px; margin-top: 12px; }
.help-box h3 { margin-top: 0; color: var(--sage); }
.book-box { margin-top: 32px; padding: 28px; border-radius: 20px; background: var(--ink); color: var(--cream); }
.book-box h3 { margin: 0 0 6px; color: var(--cream); }
.book-box p { color: rgba(250, 248, 245, .75); margin: 0 0 20px; }
.book-box .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(250, 248, 245, .3); }

/* Responsive */
@media (max-width: 960px) {
  .atlas-split, .about-grid, .atlas-body { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .anatomy { position: relative; top: 0; max-width: 560px; margin: 0 auto; width: 100%; }
  .contact-grid, .helplines ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
  .menu-toggle { display: block; order: 3; }
  .topbar .btn { order: 2; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px clamp(16px, 4vw, 48px) 16px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); font-size: 17px;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .25s ease, visibility .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current] { box-shadow: none; color: var(--sage); }
}
@media (max-width: 820px) {
  .brand { font-size: 18px; }
  .stage { min-height: 160vh; padding: 0 16px; }
  .stage-card, .stage.right .stage-card { position: sticky; top: auto; bottom: 16px; margin: 0 auto; max-width: 560px; }
  .stage { display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 24px; }
  .stage-card h2 { font-size: 32px; }
  .stage-card p { font-size: 15px; }
  .chips { margin-bottom: 18px; }
  .rail { display: none; }
}
@media (max-width: 640px) {
  .atlas-toolbar .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .atlas-toolbar .filters button { flex: none; }
  .areas-grid { grid-template-columns: 1fr; }
  .anatomy .labels { display: none; }
  .zone-chips { display: flex; }
}
@media (max-width: 520px) {
  .topbar { gap: 10px; }
  .brand { font-size: 16px; white-space: nowrap; }
  .topbar .btn { white-space: nowrap; padding: 10px 14px; }
  .contact-grid, .helplines ul { grid-template-columns: 1fr; }
  .stage-card .chips li:nth-child(n + 5) { display: none; }
  .card-actions .btn { flex: 1 1 100%; }
}
/* Large and ultrawide monitors: content panels scale up instead of sitting small in the middle. */
@media (min-width: 2200px) and (min-height: 1200px) {
  .topbar, .panel, .drawer, .site-footer { zoom: 1.25; }
}
@media (min-width: 3000px) and (min-height: 1700px) {
  .topbar, .panel, .drawer, .site-footer { zoom: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
/* Brand: name plus the descriptive line carried over from menopause.melbourne. */
.brand { display: flex; flex-direction: column; line-height: 1.3; color: inherit; }
.brand small { font-family: var(--sans); font-size: 11px; letter-spacing: .02em; color: var(--ink-2); margin-top: 1px; }
/* Request form in the contact section */
.request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); margin: 0 0 32px; padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.request-intro h3 { font-size: 28px; margin-top: 0; }
.request-intro p { color: var(--ink-2); }
.request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.request-form label { display: block; }
.request-form label > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.request-form em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.request-form .wide { grid-column: 1 / -1; }
.request-form input:not([type='checkbox']), .request-form select, .request-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream);
  font: 400 15px/1.5 var(--sans); color: var(--ink);
}
.request-form textarea { resize: vertical; }
.request-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.request-form [aria-invalid='true'] { border-color: #a14b5c; }
.request-form .consent { display: flex; align-items: flex-start; gap: 12px; }
.request-form .consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sage); }
.request-form .consent span { margin: 0; font-weight: 400; color: var(--ink-2); }
.request-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.request-actions p { margin: 0; }
@media (max-width: 820px) {
  .request { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .request-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .brand { min-width: 0; flex-shrink: 1; }
  .brand small { white-space: normal; font-size: 10px; max-width: 150px; }
}
/* Site footer */
.site-footer { margin-top: 72px; padding: 56px 0 28px; background: linear-gradient(160deg, #3d6a50 0%, #284a38 100%); color: #f6f1ea; }
.site-footer a, .footer-link { color: #f6f1ea; text-decoration: none; }
.site-footer a:hover, .footer-link:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 0 0 8px; color: #e3eee7; font-size: 14px; max-width: 340px; }
.footer-brand .footer-name { font: 400 26px/1.2 var(--serif); color: #fff; margin-bottom: 6px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-col h3 { margin: 0 0 4px; font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #f7dccd; }
.footer-col p { margin: 0; color: #f6f1ea; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 13px; color: #e3eee7; }
.footer-bottom p { margin: 0; }
.footer-link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-decoration: underline; }
.footer-note { flex-basis: 100%; }
.privacy-dialog { max-width: 560px; width: calc(100% - 32px); padding: clamp(24px, 4vw, 40px); border: 0; border-radius: var(--radius); background: var(--cream); color: var(--ink); box-shadow: var(--shadow); }
.privacy-dialog::backdrop { background: rgba(46, 37, 31, .45); }
.privacy-dialog h2 { margin-top: 0; font-size: 32px; }
.privacy-dialog p { color: var(--ink-2); font-size: 15px; }
.privacy-dialog form { margin-top: 20px; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer { border-radius: var(--radius) var(--radius) 0 0; }
.site-footer .wrap { padding-inline: clamp(20px, 4vw, 48px); }
/* Blog page */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; margin-top: 40px; }
.blog-post { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.blog-post h2 { margin: 0 0 12px; font-size: clamp(21px, 1.7vw, 25px); line-height: 1.2; text-wrap: balance; }
.blog-post p { color: var(--ink-2); margin: 0 0 12px; }
.blog-post a:not(.btn) { color: var(--sage); }
.blog-post .btn { align-self: flex-start; margin-top: auto; }
.blog-tag { font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--sage) !important; font-weight: 500; }
.blog-post.featured { grid-column: 1 / -1; background: var(--sage-soft); border-color: transparent; }
.blog-post.featured h2 { font-size: clamp(26px, 2.6vw, 36px); max-width: 32ch; }
.blog-post.featured p { max-width: 68ch; }
/* LogicBridge credit in the footer */
.footer-credit { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; opacity: .85; }
.footer-credit:hover { opacity: 1; text-decoration: none !important; }
.footer-credit img { display: block; height: 22px; width: auto; }
/* Anchored sections stop below the fixed header. */
main [id] { scroll-margin-top: 96px; }
/* Touch: no double-tap zoom delay on controls; headings avoid a lone last word. */
a, button, summary, label, input, select, textarea { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
