/* ==========================================================================
   Luminaris MD: site.css (agent 2)
   Theme: the approved page _reference/new/newhome-video.php, "White, Beige & Maroon",
   with its base rules and theme overrides merged into one stylesheet. Sections that no longer
   exist (loader, ribbons, pillars arc, treatments wheel, timeline, reviews, journal, profile
   dialog, bubbles) are removed.

   Shared contract (PLAN.md section 5), used by pages.css (agent 3):
   .container .section .section--bone .section--soft .section--dark .eyebrow .h2 .section-title
   .lead .prose .btn .btn-primary .btn-ghost .btn-chip .card .card-media .card-body .card-link
   .grid-2 .grid-3 .grid-4 .page-hero .breadcrumbs .cta-inline .faq-list .note .toc
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --cream: #FDFBD4;
  --bone: #EDE8D0;
  --bone-soft: #F7F4EA;
  --maroon: #800000;
  --ink-deep: #121212;
  --ink: #1A1A1A;
  --text: #333333;
  --muted: rgba(26, 26, 26, .7);

  --line: rgba(26, 26, 26, .12);
  --line-strong: rgba(26, 26, 26, .24);
  --line-light: rgba(255, 255, 255, .18);

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --font-ui: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius-lg: 28px;
  --radius: 22px;
  --container: 1240px;
  --gutter: clamp(20px, 3.6vw, 56px);
  --header-h: 74px;
  --topbar-h: 40px;
  --section-y: clamp(56px, 6.5vw, 96px);
  --block-gap: clamp(40px, 5vw, 64px);
  --shadow-card: 0 24px 48px -36px rgba(26, 26, 26, .45);
  --shadow-card-hover: 0 30px 60px -34px rgba(26, 26, 26, .55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 28px); }
html.menu-open { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--font-ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
[hidden] { display: none !important; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--bone); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
[data-dark] :focus-visible, .section--dark :focus-visible { outline-color: var(--bone); }
main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #FFFFFF; font-weight: 600; transition: top .3s var(--ease); }
.skip-link:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .75rem/1.35 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--maroon); }
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
[data-dark] .eyebrow, .section--dark .eyebrow { color: var(--bone); }
.h2, .section-title { font-size: clamp(2.1rem, 3.9vw, 3.6rem); line-height: 1.04; letter-spacing: -.022em; }
.eyebrow + .h2, .eyebrow + .section-title { margin-top: 18px; }
.lead, .lede { font-size: clamp(1.0625rem, 1.2vw, 1.175rem); line-height: 1.72; max-width: 60ch; }
.deck { font: italic 500 clamp(1.3rem, 1.9vw, 1.6rem)/1.4 var(--font-display); color: var(--ink); }
.text-muted { color: var(--muted); }

/* ---------- Buttons and links ---------- */
.btn { --chip: 38px; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 8px 8px 8px 24px; border-radius: 14px; border: 1.5px solid transparent; font: 700 .76rem/1.25 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; text-align: left; cursor: pointer; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), scale .15s var(--ease); }
.btn:active { scale: .97; }
.btn:not(:has(.btn-chip)) { justify-content: center; padding-inline: 24px; text-align: center; }
.btn-chip { display: grid; place-items: center; width: var(--chip); height: var(--chip); border-radius: 10px; flex: none; transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.btn-chip .ic { width: 17px; height: 17px; }
.btn:hover .btn-chip { transform: translateX(3px) rotate(-8deg); }
.btn-primary { background: var(--maroon); color: var(--paper); box-shadow: 0 16px 30px -18px rgba(26, 26, 26, .75); }
.btn-primary .btn-chip { background: var(--bone); color: var(--maroon); }
.btn-primary:hover { background: var(--ink); box-shadow: 0 18px 34px -18px rgba(18, 18, 18, .7); }
.btn-gold { background: var(--bone); color: var(--ink); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .5); }
.btn-gold .btn-chip { background: var(--maroon); color: var(--paper); }
.btn-gold:hover { background: var(--paper); color: var(--maroon); }
.btn-ghost, .btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-ghost .btn-chip, .btn-outline .btn-chip { background: var(--maroon); color: var(--bone); }
.btn-ghost:hover, .btn-outline:hover { background: var(--maroon); color: var(--paper); }
.btn-ghost:hover .btn-chip, .btn-outline:hover .btn-chip { background: var(--bone); color: var(--maroon); }
[data-dark] .btn-ghost, .section--dark .btn-ghost { color: var(--paper); border-color: rgba(255, 255, 255, .7); }
[data-dark] .btn-ghost .btn-chip, .section--dark .btn-ghost .btn-chip { background: var(--paper); color: var(--maroon); }
[data-dark] .btn-ghost:hover, .section--dark .btn-ghost:hover { background: var(--paper); color: var(--maroon); border-color: var(--paper); }
[data-dark] .btn-ghost:hover .btn-chip, .section--dark .btn-ghost:hover .btn-chip { background: var(--maroon); color: var(--paper); }
.btn-sm { --chip: 34px; min-height: 46px; padding: 6px 6px 6px 18px; gap: 12px; font-size: .72rem; letter-spacing: .12em; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 2px; font: 700 .76rem/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size .5s var(--ease), color .3s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover .ic { transform: translateX(5px); }
[data-dark] .link-arrow, .section--dark .link-arrow { color: var(--paper); }
.text-link { color: var(--maroon); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }
.glass { background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 22px 44px -24px rgba(26, 26, 26, .45), inset 0 1px 0 #FFFFFF; -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
.ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--maroon); color: var(--bone); flex: none; box-shadow: 0 10px 22px -12px rgba(26, 26, 26, .6); transition: rotate .45s var(--ease), scale .45s var(--ease); }

/* ---------- Ambient ---------- */
.glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; animation: glowDrift 16s ease-in-out infinite alternate; }
@keyframes glowDrift { from { translate: 0 0; scale: 1; } to { translate: 46px -34px; scale: 1.14; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes breathe { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.05; opacity: .85; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes panelIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.arch { border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px; }

/* ==========================================================================
   Shared layout components (PLAN section 5)
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section--bone { background: var(--bone); }
.section--soft { background: var(--bone-soft); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .84); }
.section--maroon { background: var(--maroon); color: rgba(255, 255, 255, .86); }
.section--dark :is(h1, h2, h3, h4), .section--maroon :is(h1, h2, h3, h4) { color: var(--paper); }
.section--maroon .eyebrow { color: var(--bone); }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }
.section-header { max-width: 780px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-header--center { margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.section-header .lead { margin-top: 18px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: end; gap: 24px 64px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-intro { max-width: 46ch; justify-self: end; }
.head-bar { display: block; width: 56px; height: 2px; margin-top: 22px; border-radius: 2px; background: var(--maroon); }
.section-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; margin-top: clamp(32px, 4vw, 48px); }
.section-actions--start { justify-content: flex-start; }

/* Grids: 1 column at <= 640px */
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.grid-2, .grid-3, .grid-4) > li { display: grid; }

/* Card */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { border-color: rgba(26, 26, 26, .32); box-shadow: var(--shadow-card-hover); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease-out); }
.card:hover .card-media img { scale: 1.05; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 16px; }
.card-body :is(h2, h3, h4) { font-size: clamp(1.45rem, 1.8vw, 1.75rem); line-height: 1.14; }
.card-body p { font-size: 1rem; line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 10px; align-self: start; margin-top: auto; min-height: 44px; padding: 10px 2px; font: 700 .76rem/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); }
.card-link .ic { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.card:hover .card-link .ic { transform: translateX(5px); }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; } /* the whole card is the link */
.card:has(.card-link:focus-visible) { outline: 2px solid var(--maroon); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }

/* Callout */
.note { padding: 18px 20px 18px 22px; border-radius: 16px; background: var(--bone-soft); border: 1px solid var(--line); border-left: 3px solid var(--maroon); font-size: 1rem; line-height: 1.65; color: var(--ink); }
.note > * + * { margin-top: .6em; }
.note strong { font-weight: 700; }

/* On-page contents */
.toc { padding: 22px 24px; border-radius: 20px; background: var(--bone-soft); border: 1px solid var(--line); }
.toc-title, .toc > :is(p, h2, h3):first-child { margin-bottom: 10px; font: 700 .75rem/1.3 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); }
.toc :is(ol, ul) { display: grid; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.35; color: var(--ink); transition: color .25s var(--ease); }
.toc li:last-child a { border-bottom: 0; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; min-width: 1.6em; font: 600 .8rem/1 var(--font-ui); color: var(--maroon); }
.toc a:hover { color: var(--maroon); }

/* Long-form text */
.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.1; }
.prose h3 { margin-top: 1.7em; font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.2; }
.prose h4 { margin-top: 1.5em; font: 700 1rem/1.4 var(--font-ui); letter-spacing: .01em; }
.prose :is(h2, h3, h4) + * { margin-top: .6em; }
.prose ul { display: grid; gap: .55em; }
.prose ul > li { position: relative; padding-left: 1.4em; }
.prose ul > li::before { content: ""; position: absolute; left: .25em; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); }
.prose ol { display: grid; gap: .55em; padding-left: 1.4em; list-style: decimal; }
.prose ol > li { padding-left: .2em; }
.prose ol > li::marker { color: var(--maroon); font-weight: 700; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a:not(.btn) { color: var(--maroon); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { color: var(--ink); }
.prose blockquote { padding-left: 22px; border-left: 2px solid var(--maroon); font: italic 500 1.35rem/1.45 var(--font-display); color: var(--ink); }
.prose :is(h2, h3) { scroll-margin-top: calc(var(--topbar-h) + var(--header-h) + 28px); }

/* FAQ accordion: <div class="faq-list"><details><summary>Question</summary><p>Answer</p></details></div> */
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-list details[open] { border-color: rgba(26, 26, 26, .32); box-shadow: 0 24px 48px -34px rgba(26, 26, 26, .5); }
.faq-list summary { position: relative; display: block; min-height: 64px; padding: 19px 72px 19px 22px; cursor: pointer; list-style: none; font: 600 clamp(1.22rem, 1.7vw, 1.45rem)/1.3 var(--font-display); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 1.5px solid rgba(26, 26, 26, .3);
  background: linear-gradient(var(--maroon), var(--maroon)) center / 12px 1.5px no-repeat, linear-gradient(var(--maroon), var(--maroon)) center / 1.5px 12px no-repeat;
  transition: rotate .45s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; border-color: var(--maroon);
  background: linear-gradient(var(--paper), var(--paper)) center / 12px 1.5px no-repeat, linear-gradient(var(--paper), var(--paper)) center / 1.5px 12px no-repeat, var(--maroon); }
.faq-list summary:hover { color: var(--maroon); }
.faq-list details > :not(summary) { max-width: 66ch; margin: 0 22px; font-size: 1rem; line-height: 1.7; }
.faq-list details > :not(summary) + :not(summary) { margin-top: 12px; }
.faq-list details > :last-child:not(summary) { margin-bottom: 22px; }
.faq-list details[open] > :not(summary) { animation: panelIn .45s var(--ease-out) both; }
.faq-list details > div > * + * { margin-top: 10px; }
.faq-list summary .plus { display: none; }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; font: 500 .875rem/1.3 var(--font-ui); color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(26, 26, 26, .35); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(128, 0, 0, .35); text-underline-offset: 3px; transition: color .25s var(--ease); }
.breadcrumbs a:hover { color: var(--maroon); text-decoration-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--maroon); font-weight: 600; }

/* Inner-page hero */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--topbar-h) + var(--header-h) + clamp(24px, 3.4vw, 48px)) 0 clamp(44px, 6vw, 84px); background: linear-gradient(180deg, var(--bone-soft) 0%, var(--paper) 100%); overflow: clip; }
.page-hero::before { content: ""; position: absolute; z-index: -1; right: -14%; top: -30%; width: min(760px, 110vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 232, 208, .95), rgba(237, 232, 208, 0)); pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--media .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.page-hero .breadcrumbs { margin-bottom: clamp(10px, 1.6vw, 20px); }
.page-hero-title { margin-top: 16px; max-width: 22ch; font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -.028em; }
.page-hero-copy > .page-hero-title:first-child { margin-top: 0; }
.page-hero .lead { margin-top: 20px; max-width: 62ch; color: var(--ink); }
.page-hero-meta { margin-top: 18px; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.page-hero-meta strong { color: var(--ink); font-weight: 600; }
.page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(22px, 3vw, 32px); }
.page-hero-media { position: relative; width: min(100%, 440px); justify-self: center; }
.page-hero-media::before { content: ""; position: absolute; inset: 0; translate: 18px 18px; border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px; background: var(--maroon); }
.page-hero-media figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 30px 30px / 40% 40% 30px 30px; border: 6px solid var(--paper); background: var(--bone); box-shadow: 0 34px 70px -34px rgba(18, 18, 18, .45); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Inline call to action strip */
.cta-inline { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-block: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--maroon); color: rgba(255, 255, 255, .88); box-shadow: 0 40px 70px -46px rgba(26, 26, 26, .7); overflow: hidden; }
.cta-inline::after { content: ""; position: absolute; inset: 9px; z-index: -1; border-radius: 19px; border: 1px solid rgba(255, 255, 255, .28); pointer-events: none; }
.cta-inline-text { display: grid; gap: 6px; max-width: 48ch; }
.cta-inline-text p { font-size: 1rem; color: rgba(255, 255, 255, .86); }
.cta-inline .cta-inline-title { font: 600 clamp(1.5rem, 2.3vw, 2rem)/1.15 var(--font-display); color: var(--paper); }
.cta-inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cta-inline .btn-gold { background: var(--paper); color: var(--maroon); }
.cta-inline .btn-gold .btn-chip { background: var(--maroon); color: var(--paper); }
.cta-inline .btn-gold:hover { background: var(--ink); color: var(--paper); }
.cta-inline .btn-gold:hover .btn-chip { background: var(--paper); color: var(--maroon); }
.cta-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .45); font: 600 .9rem/1 var(--font-ui); color: var(--paper); white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease); }
.cta-pill .ic { width: 16px; height: 16px; }
.cta-pill:hover { background: var(--paper); color: var(--maroon); }
.cta-inline--light { background: var(--bone-soft); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.cta-inline--light::after { border-color: var(--line); }
.cta-inline.cta-inline--light .cta-inline-title { color: var(--ink); }
.cta-inline--light .cta-inline-text p { color: var(--text); }
.cta-inline--light .cta-pill { border-color: var(--line-strong); color: var(--ink); }
.cta-inline--light .cta-pill:hover { background: var(--maroon); border-color: var(--maroon); color: var(--paper); }
.cta-inline--light .btn-gold { background: var(--maroon); color: var(--paper); }
.cta-inline--light .btn-gold .btn-chip { background: var(--bone); color: var(--maroon); }

/* ==========================================================================
   Top bar, header, menus
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--bone); transform: scaleX(0); transform-origin: left; }

.topbar { position: fixed; inset: 0 0 auto; z-index: 55; height: var(--topbar-h); background: var(--maroon); color: rgba(255, 255, 255, .92); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.topbar-msg { display: flex; align-items: center; gap: 10px; min-width: 0; font: 500 .8rem/1 var(--font-ui); letter-spacing: .02em; }
.topbar-msg-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bone); box-shadow: 0 0 0 3px rgba(237, 232, 208, .25); flex: none; }
.topbar-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.topbar-actions a { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; font: 600 .78rem/1 var(--font-ui); letter-spacing: .03em; color: #FFFFFF; white-space: nowrap; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.topbar-actions a::before { content: ""; position: absolute; inset: -7px 0; } /* 44px tap area inside a 40px bar */
.topbar-actions .ic { width: 14px; height: 14px; }
.tb-call:hover { background: rgba(255, 255, 255, .12); }
.tb-wa { box-shadow: inset 0 0 0 1px rgba(237, 232, 208, .55); }
.tb-wa:hover { background: var(--paper); color: var(--maroon); }
.tb-book { background: var(--bone); color: var(--ink) !important; font-size: .7rem !important; font-weight: 700 !important; letter-spacing: .14em !important; text-transform: uppercase; }
.tb-book:hover { background: var(--paper); }

.site-header { position: fixed; inset: calc(var(--topbar-h) + 10px) 0 auto; z-index: 50; transition: translate .55s var(--ease); }
.site-header.is-hidden { translate: 0 calc(-100% - var(--topbar-h) - 24px); }
.nav-shell { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); height: var(--header-h); padding: 0 10px 0 14px; border-radius: 20px; border: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.site-header.is-scrolled .nav-shell, .site-header.is-solid .nav-shell { background: rgba(255, 255, 255, .94); border-color: var(--line); box-shadow: 0 18px 40px -30px rgba(26, 26, 26, .35); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; min-height: 44px; }
.brand-mark { width: 40px; height: auto; transition: rotate .6s var(--ease); }
.brand:hover .brand-mark { rotate: -8deg; }
.brand-text { display: grid; gap: 5px; }
.brand-name { font: 700 1.1rem/1 var(--font-ui); color: var(--ink); letter-spacing: .005em; }
.brand-sub { font: 600 .58rem/1 var(--font-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--maroon); }
.nav { position: relative; margin-inline: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 32px); }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-trigger { position: relative; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 12px 0; font: 500 .9rem/1 var(--font-ui); color: rgba(26, 26, 26, .8); white-space: nowrap; transition: color .25s var(--ease); }
.nav-links > li > a::before, .nav-trigger::before { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; border-radius: 2px; background: var(--maroon); scale: 0 1; transform-origin: right; transition: scale .45s var(--ease); }
.nav-links > li > a:hover, .nav-trigger:hover { color: var(--ink); }
.nav-links > li > a:hover::before, .nav-trigger:hover::before, .nav-links > li > a[aria-current]::before, .nav-trigger.is-current::before { scale: 1 1; transform-origin: left; }
.nav-links > li > a[aria-current], .nav-trigger.is-current { color: var(--maroon); font-weight: 700; }
.nav-caret { width: 11px; height: 11px; transition: rotate .35s var(--ease); }
.has-menu:hover .nav-trigger, .has-menu.is-open .nav-trigger { color: var(--maroon); }
.has-menu:hover .nav-trigger::before, .has-menu.is-open .nav-trigger::before { scale: 1 1; transform-origin: left; }
.has-menu:hover .nav-caret, .has-menu.is-open .nav-caret { rotate: 180deg; }
.nav-cta { flex: none; padding-right: 8px; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; }
.nav-cta .ic { width: 18px; height: 18px; }
.nav-cta:hover .btn-chip { transform: none; }
.menu-toggle { display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--maroon); color: var(--paper); flex: none; box-shadow: 0 12px 24px -12px rgba(26, 26, 26, .7); }
.menu-toggle .ic { width: 20px; height: 20px; }

/* Dropdown panel */
.nav-menu { position: absolute; top: calc(100% + 16px); left: 50%; z-index: 5; width: min(600px, calc(100vw - 80px)); padding: 14px; border-radius: 22px; background: #FFFFFF;
  border: 1px solid rgba(26, 26, 26, .08); box-shadow: inset 0 3px 0 var(--maroon), 0 34px 70px -30px rgba(26, 26, 26, .35), 0 8px 20px -14px rgba(26, 26, 26, .2);
  opacity: 0; visibility: hidden; translate: -50% 10px; transition: opacity .3s var(--ease), translate .45s var(--ease-out), visibility 0s linear .3s; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* hover bridge */
.has-menu:hover .nav-menu, .has-menu.is-open .nav-menu { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity .3s var(--ease), translate .45s var(--ease-out), visibility 0s; }
.nav-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 12px 8px; }
.nav-menu-label { font: 700 .64rem/1 var(--font-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--maroon); }
.nav-menu .nav-menu-all { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font: 700 .64rem/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); }
.nav-menu-all .ic { width: 12px; height: 12px; }
.nav-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 14px; color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav-item:hover, .nav-item:focus-visible, .nav-item[aria-current] { background: var(--bone-soft); }
.nav-item-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--bone); color: var(--maroon); transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav-item-ic .ic { width: 17px; height: 17px; }
.nav-item:hover .nav-item-ic, .nav-item:focus-visible .nav-item-ic { background: var(--maroon); color: #FFFFFF; }
.nav-item-text { font: 600 1.1rem/1.15 var(--font-display); color: var(--ink); }
.nav-menu-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: var(--maroon); color: rgba(255, 255, 255, .88); font-size: .88rem; line-height: 1.45; }
.nav-menu-cta strong { display: block; font: 600 1.1rem/1.2 var(--font-display); color: #FFFFFF; }
.nav-menu-cta-btn { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 14px; border-radius: 10px; background: #FFFFFF; color: var(--maroon); font: 700 .64rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.nav-menu-cta-btn .ic { width: 12px; height: 12px; }

/* Header over the home film: white until the page scrolls */
.has-film .site-header:not(.is-scrolled) .brand-name { color: #FFFFFF; }
.has-film .site-header:not(.is-scrolled) .brand-sub { color: var(--bone); }
.has-film .site-header:not(.is-scrolled) .brand-mark { padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .92); }
.has-film .site-header:not(.is-scrolled) :is(.nav-links > li > a, .nav-trigger) { color: rgba(255, 255, 255, .88); }
.has-film .site-header:not(.is-scrolled) :is(.nav-links > li > a:hover, .nav-trigger:hover, .has-menu.is-open .nav-trigger, .has-menu:hover .nav-trigger) { color: #FFFFFF; }
.has-film .site-header:not(.is-scrolled) :is(.nav-links > li > a, .nav-trigger)::before { background: var(--bone); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; gap: 22px; padding: 14px var(--gutter) calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; color: #FFFFFF; background: var(--maroon); visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.mobile-menu .brand-name { color: #FFFFFF; }
.mobile-menu .brand-sub { color: var(--paper); }
.mobile-menu .brand-mark { padding: 3px; border-radius: 10px; background: var(--cream); }
.mm-top { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.mm-close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); color: #FFFFFF; }
.mm-links { display: grid; }
.mm-link { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font: 600 clamp(1.7rem, 7vw, 2.4rem)/1.1 var(--font-display); color: #FFFFFF; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .6s var(--ease-out), color .3s; }
.mm-link[aria-current] { color: var(--bone); }
.mobile-menu.is-open .mm-link { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 40ms + 100ms); }
.mm-group summary { list-style: none; cursor: pointer; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-plus { position: relative; width: 20px; height: 20px; margin-left: auto; }
.mm-plus::before, .mm-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate .35s var(--ease); }
.mm-plus::after { rotate: 90deg; }
.mm-group[open] .mm-plus::after { rotate: 0deg; }
.mm-group[open] .mm-link { border-bottom-color: transparent; }
.mm-sub { display: grid; padding: 0 0 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.mm-sub a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font: 500 1.02rem/1.3 var(--font-ui); color: rgba(255, 255, 255, .88); }
.mm-sub a:hover, .mm-sub a[aria-current] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.mm-foot { margin-top: auto; display: grid; gap: 16px; }
.mm-contact { display: grid; gap: 4px; font-size: 1rem; }
.mm-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--paper); }
.mm-contact .ic { width: 16px; height: 16px; color: var(--bone); }
.mobile-menu .btn-gold { background: var(--paper); color: var(--maroon); }

/* ==========================================================================
   Home: hero with background film
   ========================================================================== */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 100svh; padding: calc(var(--topbar-h) + var(--header-h) + clamp(28px, 4vh, 48px)) 0 clamp(64px, 9vh, 92px); overflow: clip; background: var(--ink-deep); color: rgba(255, 255, 255, .9); }
.hero-film { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink-deep); }
.hero-poster, .hero-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film-player, .hero-film iframe { position: absolute; top: 50%; left: 50%; width: max(100%, calc(100svh * 16 / 9)); height: max(100%, 56.25vw); max-width: none; translate: -50% -50%; scale: 1.18; border: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
@supports (width: 1cqh) {
  .hero-film { container-type: size; }
  .hero-film-player, .hero-film iframe { width: max(100cqw, 100cqh * 16 / 9); height: max(100cqh, 100cqw * 9 / 16); }
}
.hero-film.is-playing iframe { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 18, 18, .74) 0%, rgba(18, 18, 18, .5) 52%, rgba(18, 18, 18, .2) 100%),
              linear-gradient(0deg, rgba(18, 18, 18, .5) 0%, rgba(18, 18, 18, 0) 36%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vh, 32px); }
.hero-copy { max-width: 840px; }
.hero .eyebrow { color: var(--bone); }
.hero-title { margin-top: clamp(14px, 2.4vh, 24px); font-size: clamp(2.2rem, 4.5vw, 4.15rem); line-height: 1.04; letter-spacing: -.026em; color: #FFFFFF; }
.hero-sub { margin-top: clamp(14px, 2.2vh, 22px); max-width: 62ch; font-size: clamp(1.0625rem, 1.3vw, 1.22rem); line-height: 1.6; color: rgba(255, 255, 255, .94); }
.hero-rot { margin-top: clamp(12px, 2vh, 20px); font: italic 500 clamp(1.35rem, 2vw, 1.8rem)/1.3 var(--font-display); color: #FFFFFF; }
.rot-box { display: inline-block; height: 1.3em; overflow: hidden; vertical-align: top; color: var(--bone); }
.rot-list { display: block; transition: transform .8s cubic-bezier(.76, 0, .24, 1); }
.rot-list.is-snapping { transition: none; }
.rot-list > span { display: block; height: 1.3em; white-space: nowrap; }
.hero-body { margin-top: clamp(12px, 2vh, 20px); max-width: 66ch; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(20px, 3.2vh, 34px); }
.hero .btn-primary { box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .6); }
.hero .link-arrow { color: #FFFFFF; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: clamp(18px, 2.6vh, 26px); border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; line-height: 1.35; color: #FFFFFF; }
.assure-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--maroon); color: var(--bone); flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.assure-dot .ic { width: 12px; height: 12px; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; place-items: start center; width: 28px; height: 46px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .7); }
.hero-scroll span { width: 4px; height: 9px; margin-top: 8px; border-radius: 4px; background: #FFFFFF; animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { 0% { translate: 0 0; opacity: 1; } 80%, 100% { translate: 0 16px; opacity: 0; } }

/* ---------- Stat strip ---------- */
.glance { position: relative; padding: clamp(28px, 4vw, 52px) 0; background: var(--paper); }
.glance-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.glance-stat { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 28px 16px; text-align: center; }
.glance-stat + .glance-stat { border-left: 1px solid var(--line); }
.glance-stat strong { font: 600 clamp(1.9rem, 3vw, 3rem)/1.02 var(--font-display); letter-spacing: -.02em; color: var(--maroon); font-variant-numeric: lining-nums; text-wrap: balance; }
.glance-stat span { max-width: 26ch; font: 600 .75rem/1.5 var(--font-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }

/* ---------- Manifesto ---------- */
.statement { position: relative; padding-block: clamp(64px, 7.5vw, 110px); background: var(--bone-soft); text-align: center; overflow: clip; }
.statement-title { max-width: 22ch; margin: 22px auto 0; font: 700 clamp(2.15rem, 4.5vw, 4.3rem)/1.1 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.statement-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 48px; max-width: 1000px; margin: clamp(32px, 4vw, 52px) auto 0; text-align: left; }
.statement-body p { font-size: 1.0625rem; line-height: 1.75; }
.statement-tagline { margin-top: clamp(28px, 3.5vw, 44px); font: italic 600 clamp(1.6rem, 2.6vw, 2.3rem)/1.2 var(--font-display); color: var(--maroon); }
.statement .section-actions { margin-top: 18px; }
.w { transition: opacity .2s linear; }

/* ---------- Doctor: maroon split panel ---------- */
.doctor { position: relative; padding-block: var(--section-y); background: var(--paper); overflow: clip; }
.doctor-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: stretch; }
.doctor-media { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-start; width: 100%; padding: 56px 56px 56px 0; color: rgba(255, 255, 255, .88); }
.doctor-media::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: 0; border-radius: 0 36px 36px 0; background: var(--maroon); }
.doctor-sticky { display: flex; flex-direction: column; gap: 24px; }
.doctor-photo { position: relative; aspect-ratio: 960 / 1184; border-radius: 24px; overflow: hidden; background: var(--ink-deep); box-shadow: 0 44px 80px -36px rgba(0, 0, 0, .55); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doctor-reg { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); }
.doctor-reg span { font: 600 .7rem/1.3 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.doctor-reg strong { font: 600 1.45rem/1 var(--font-display); color: #FFFFFF; font-variant-numeric: lining-nums; }
.doctor-copy { padding-block: 40px; }
.doctor-copy .h2 { margin-top: 20px; }
.doctor-role { display: grid; gap: 6px; margin-top: 18px; }
.doctor-role strong { font: 700 .75rem/1.4 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); }
.doctor-role span { font-size: 1rem; font-weight: 600; color: var(--ink); }
.doctor-lede { margin-top: 26px; max-width: 58ch; padding-left: 22px; border-left: 2px solid var(--maroon); font: italic 500 clamp(1.25rem, 1.6vw, 1.45rem)/1.5 var(--font-display); color: var(--ink); }
.doctor-text { margin-top: 18px; max-width: 60ch; }
.doc-creds { margin-top: 30px; border-top: 1px solid var(--line); }
.doc-creds li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.doc-creds .ic { width: 14px; height: 14px; color: var(--maroon); }
.doctor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.doctor-quals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.doctor-quals h3 { margin-bottom: 12px; font: 700 .72rem/1.3 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--maroon); }
.doctor-quals li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 1rem; line-height: 1.55; }
.doctor-quals li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); }

/* ---------- Philosophy ---------- */
.philosophy { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--bone); overflow: clip; }
.philosophy .glow { right: -8%; top: 4%; width: 640px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(40px, 6vw, 100px); align-items: center; }
.ph-title { margin-top: 22px; font-size: clamp(3.2rem, 7.4vw, 6.6rem); line-height: .94; letter-spacing: -.035em; color: var(--ink); }
.ph-title .ln { display: block; }
.ph-title .ln + .ln { padding-left: .6em; font-style: italic; font-weight: 500; color: var(--maroon); }
.gold-rule { height: 2px; margin-top: 36px; border-radius: 2px; background: linear-gradient(90deg, var(--maroon), rgba(26, 26, 26, .1)); transform-origin: left center; }
.ph-text { margin-top: 30px; color: var(--ink); }
.ph-actions { margin-top: 22px; }
.bloom { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1001 / 1127; perspective: 1400px; }
.bloom-glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .98), rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0)); animation: breathe 10s ease-in-out infinite; }
.bloom-ring { position: absolute; left: 50%; top: 52%; width: 98%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px solid rgba(26, 26, 26, .28); animation: spin 30s linear infinite; }
.bloom-ring::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 4px rgba(26, 26, 26, .12); }
.bloom-ring::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(26, 26, 26, .14); animation: spin 40s linear infinite reverse; }
.bloom-stage { position: absolute; inset: 0; animation: bob 7s ease-in-out infinite; }
.bloom-layer { position: absolute; max-width: none; height: auto; user-select: none; }
.bloom .petal { animation: sway 6s ease-in-out infinite; }
.bloom .petal:nth-child(2n) { animation-duration: 7.4s; animation-delay: -2s; }
.bloom .petal:nth-child(3n) { animation-duration: 5.2s; animation-delay: -3.4s; }
@keyframes sway { 0%, 100% { rotate: 0deg; } 50% { rotate: 3deg; } }
.bloom-shadow { position: absolute; left: 20%; right: 20%; bottom: 6%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 26, 26, .25), transparent); }
.emblem-visual { position: relative; width: min(100%, 420px); margin-inline: auto; }
.emblem-visual::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); }
.emblem-visual img { position: relative; width: 100%; }

/* ---------- Why (four cards) ---------- */
.why { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--paper); overflow: clip; }
.why .glow { left: 50%; top: 30%; width: 900px; aspect-ratio: 1; margin-left: -450px; background: radial-gradient(closest-side, rgba(237, 232, 208, .7), rgba(237, 232, 208, 0)); }
.why-head { display: grid; justify-items: center; text-align: center; }
.divider { position: relative; display: block; width: 120px; height: 14px; margin: 22px auto 0; }
.divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--maroon) 18%, var(--maroon) 82%, transparent); }
.divider i { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(26, 26, 26, .4); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.why-card { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.why-card:hover { border-color: rgba(26, 26, 26, .32); box-shadow: var(--shadow-card-hover); }
.why-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--maroon); color: var(--bone); box-shadow: 0 12px 24px -12px rgba(26, 26, 26, .7); transition: rotate .6s var(--ease); }
.why-ic .ic { width: 22px; height: 22px; }
.why-card:hover .why-ic { rotate: -12deg; }
.why-card h3 { margin: 18px 0 8px; font-size: clamp(1.55rem, 2vw, 1.85rem); }
.why-card p { font-size: 1rem; line-height: 1.6; }

/* ---------- Journey (three steps) ---------- */
.journey { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--bone); overflow: clip; }
.journey .glow { right: -10%; top: -20%; width: 620px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 16.6%; right: 16.6%; top: 40px; height: 1px; background: repeating-linear-gradient(90deg, var(--maroon) 0 6px, transparent 6px 14px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step { display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; }
.step-ic { position: relative; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--paper); color: var(--maroon); box-shadow: 0 18px 34px -20px rgba(26, 26, 26, .3), 0 0 0 1px rgba(26, 26, 26, .12), 0 0 0 8px var(--bone); transition: background .4s var(--ease), color .4s var(--ease), scale .4s var(--ease); }
.step-ic .ic { width: 30px; height: 30px; }
.step:hover .step-ic, .step:last-child .step-ic { background: var(--maroon); color: var(--paper); }
.step:hover .step-ic { scale: 1.06; }
.step-no { position: absolute; right: -4px; top: -4px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--maroon); font: 700 .8rem/1 var(--font-ui); color: var(--paper); box-shadow: 0 0 0 3px var(--bone); }
.step h3 { margin-top: 14px; font-size: clamp(1.7rem, 2.2vw, 2rem); }
.step p { max-width: 32ch; font-size: 1rem; line-height: 1.6; }

/* ---------- Life stages ---------- */
.stages { position: relative; padding-block: var(--section-y) 0; background: var(--paper); overflow: clip; }
.stage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stage-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.stage-card:hover { border-color: rgba(26, 26, 26, .32); box-shadow: var(--shadow-card-hover); }
.stage-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone); }
.stage-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease-out); }
.stage-card:hover .stage-img img { scale: 1.06; }
.stage-no { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); font: italic 600 1.15rem/1 var(--font-display); color: var(--paper); box-shadow: 0 10px 22px -10px rgba(18, 18, 18, .8); }
.stage-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 12px; }
.stage-body h3 { font-size: clamp(1.5rem, 1.8vw, 1.75rem); }
.stage-body p { font-size: 1rem; line-height: 1.6; }
.stage-body .link-arrow { align-self: start; margin-top: auto; }
@media (max-width: 640px) { .stage-body .link-arrow { font-size: .7rem; letter-spacing: .1em; } }

/* ---------- Treatments ---------- */
.treatments { position: relative; padding-block: var(--section-y); background: var(--paper); overflow-x: clip; }
.treat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.treat-grid > li { display: grid; grid-column: span 2; }
.treat-grid > li:nth-child(-n + 2) { grid-column: span 3; }
.treat-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: border-color .35s var(--ease), box-shadow .35s var(--ease); }
.treat-card:hover { border-color: rgba(26, 26, 26, .32); box-shadow: var(--shadow-card-hover); }
.treat-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--bone); color: var(--maroon); transition: background-color .35s var(--ease), color .35s var(--ease), rotate .45s var(--ease); }
.treat-ic .ic { width: 24px; height: 24px; }
.treat-card:hover .treat-ic { background: var(--maroon); color: var(--paper); rotate: -8deg; }
.treat-card h3 { margin-top: 6px; font-size: clamp(1.6rem, 2.1vw, 1.95rem); }
.treat-card p { font-size: 1rem; line-height: 1.6; }
.treat-card .link-arrow { align-self: start; margin-top: auto; }
.care-panel { position: relative; isolation: isolate; margin-top: var(--block-gap); padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--maroon); color: rgba(255, 255, 255, .88); box-shadow: 0 50px 90px -50px rgba(26, 26, 26, .8); overflow: hidden; }
.care-panel::after { content: ""; position: absolute; inset: 12px; z-index: -1; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .26); pointer-events: none; }
.care-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 18px; }
.care-title { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--paper); }
.care-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
.care-list li { border-top: 1px solid rgba(255, 255, 255, .24); }
.care-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 16px 2px; color: var(--paper); }
.care-link h4 { font: 600 clamp(1.25rem, 1.6vw, 1.45rem)/1.25 var(--font-display); color: var(--paper); transition: translate .45s var(--ease); }
.care-more { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 700 .72rem/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.care-more .ic { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.care-link:hover h4 { translate: 6px 0; }
.care-link:hover .care-more .ic { transform: translateX(5px); }

/* ---------- Clinic ---------- */
.clinic { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--bone); overflow: clip; }
.clinic .glow { right: -12%; top: -10%; width: 700px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); }
.clinic-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.clinic-media { position: relative; width: 100%; max-width: 500px; }
.clinic-block { position: absolute; inset: 0; translate: 22px 22px; background: var(--maroon); box-shadow: 0 40px 80px -40px rgba(26, 26, 26, .55); }
.clinic-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 6px solid var(--paper); background: var(--bone); box-shadow: 0 40px 80px -46px rgba(18, 18, 18, .6); }
.clinic-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.clinic-photo-sm { position: absolute; right: -8%; bottom: -7%; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--paper); background: var(--bone); box-shadow: 0 30px 60px -30px rgba(26, 26, 26, .55); }
.clinic-photo-sm img { width: 100%; height: 100%; object-fit: cover; }
.clinic-copy .h2 { margin-top: 20px; }
.clinic-copy .lead { margin-top: 24px; color: var(--ink); }
.clinic-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.clinic-details li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 44px -36px rgba(26, 26, 26, .5); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.clinic-details .ci { width: 40px; height: 40px; border-radius: 12px; }
.clinic-details .ci .ic { width: 16px; height: 16px; }
.clinic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }

/* ---------- Technology (maroon) ---------- */
.tech { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--maroon); color: rgba(255, 255, 255, .88); overflow: clip; }
.tech .glow { right: -10%; top: -30%; width: 820px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(18, 18, 18, .3), rgba(18, 18, 18, 0)); }
.tech-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.tech-media { position: relative; }
.tech-photo { position: relative; aspect-ratio: 6 / 5; border-radius: 32px; overflow: hidden; background: var(--ink-deep); box-shadow: 0 0 0 1px rgba(237, 232, 208, .3), 0 50px 90px -40px rgba(0, 0, 0, .6); }
.tech-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.tech-sweep { position: absolute; inset: -20% -60%; background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .4) 50%, transparent 58%); translate: -60% 0; animation: lightSweep 7s var(--ease) 1.5s infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes lightSweep { 0% { translate: -60% 0; } 45%, 100% { translate: 60% 0; } }
.tech-lens { position: absolute; right: -4%; top: -8%; width: 28%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .03) 75%, rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .35); box-shadow: inset 0 0 24px rgba(255, 255, 255, .18), 0 30px 60px -30px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: float 8s ease-in-out infinite; }
.tech-copy .h2 { margin-top: 20px; color: var(--paper); }
.tech-copy .lead { margin-top: 24px; color: rgba(255, 255, 255, .9); }
.tech-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.tech .btn-gold { background: var(--paper); color: var(--maroon); }
.tech .btn-gold:hover { background: var(--ink); color: var(--paper); }
.tech .btn-gold:hover .btn-chip { background: var(--paper); color: var(--maroon); }

/* ---------- FAQ ---------- */
.faq { position: relative; isolation: isolate; padding-block: var(--section-y); background: var(--bone); overflow: clip; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "head list" "ask list" ". list"; column-gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-side { grid-area: head; }
.faq-grid > .faq-list { grid-area: list; }
.faq-grid > .ask-card { grid-area: ask; }
.faq-side .h2 { margin-top: 20px; }
.ask-card { position: relative; margin-top: 32px; padding: 24px; border-radius: 26px; background: var(--maroon); color: rgba(255, 255, 255, .88); box-shadow: 0 40px 80px -44px rgba(18, 18, 18, .85); }
.ask-card h3 { font-size: clamp(1.6rem, 2.2vw, 1.95rem); color: #FFFFFF; }
.ask-card ul { display: grid; gap: 10px; margin-top: 16px; }
.ask-card a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .35); font-size: 1rem; font-weight: 600; color: #FFFFFF; overflow-wrap: anywhere; transition: background-color .3s var(--ease), color .3s var(--ease); }
.ask-card a:hover { background: var(--paper); color: var(--maroon); }
.ask-card .ci { width: 36px; height: 36px; border-radius: 11px; background: var(--bone); color: var(--maroon); box-shadow: none; }
.ask-card .ci .ic { width: 16px; height: 16px; }

/* ==========================================================================
   Booking section (inc/partials/booking.php, id="contact")
   ========================================================================== */
.booking { position: relative; isolation: isolate; padding-block: var(--section-y); background: linear-gradient(180deg, var(--paper) 0%, var(--bone) 100%); overflow: clip; }
.booking .glow { left: -18%; top: -26%; width: 860px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(237, 232, 208, .7), rgba(237, 232, 208, 0)); }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy form" "visit form"; column-gap: clamp(36px, 6vw, 96px); row-gap: 24px; align-items: start; }
.booking-copy { grid-area: copy; }
.booking-form { grid-area: form; }
.booking-visit { grid-area: visit; }
.no-js [data-map-load] { display: none; }
.no-js .mobile-bar { transform: none; }
.booking-copy .h2 { margin-top: 20px; }
.booking-copy .lead { margin-top: 22px; }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.contact-item { position: relative; display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 40px -34px rgba(26, 26, 26, .5); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
a.contact-item:hover { border-color: rgba(26, 26, 26, .4); box-shadow: 0 26px 50px -30px rgba(26, 26, 26, .6); }
a.contact-item:hover .ci { rotate: -10deg; scale: 1.08; }
.contact-item small { display: block; margin-bottom: 5px; font: 700 .7rem/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); }
.ci-val { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; }
.visit-card { display: grid; gap: 14px; margin-top: 12px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.visit-row { display: flex; gap: 14px; align-items: flex-start; }
.visit-row .ci { width: 40px; height: 40px; border-radius: 12px; }
.visit-row .ci .ic { width: 16px; height: 16px; }
.visit-row p { font-size: 1rem; line-height: 1.55; color: var(--ink); }
.visit-row small { display: block; margin-bottom: 4px; font: 700 .7rem/1 var(--font-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--maroon); }
.map { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--bone-soft); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: radial-gradient(circle at 50% 42%, rgba(128, 0, 0, .1), transparent 34%), repeating-linear-gradient(0deg, rgba(26, 26, 26, .05) 0 1px, transparent 1px 28px), repeating-linear-gradient(90deg, rgba(26, 26, 26, .05) 0 1px, transparent 1px 28px), var(--bone-soft); }
.map-facade .ci { width: 48px; height: 48px; border-radius: 50%; }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }

.form-card { display: grid; gap: 18px; padding: clamp(22px, 3vw, 38px); border-radius: 26px; background: var(--paper); border: 1px solid rgba(26, 26, 26, .12); box-shadow: inset 0 3px 0 var(--maroon), 0 50px 90px -50px rgba(26, 26, 26, .35); }
.form-title { font-size: clamp(1.8rem, 2.4vw, 2.1rem); }
.form-note { margin-top: -8px; font-size: .95rem; color: var(--muted); }
.form-alert { padding: 12px 14px; border-radius: 12px; background: rgba(128, 0, 0, .07); border: 1px solid rgba(128, 0, 0, .25); color: var(--maroon); font-size: .95rem; font-weight: 600; }
.field { display: grid; align-content: start; gap: 8px; }
.field label, .field-label { font: 700 .72rem/1.3 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--maroon); }
.field label .opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(26, 26, 26, .16); background-color: rgba(237, 232, 208, .4); color: var(--ink); font: 500 1rem/1.4 var(--font-ui); -webkit-appearance: none; appearance: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease); }
.field select { padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 22px center, right 16px center; background-size: 6px 6px; background-repeat: no-repeat; }
.field input[type="date"] { min-height: 52px; line-height: 1.4; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(51, 51, 51, .7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); background-color: var(--paper); box-shadow: 0 0 0 4px rgba(128, 0, 0, .12); }
.field.has-error :is(input, select, textarea) { border-color: var(--maroon); background-color: var(--paper); }
.field-hint { font-size: .88rem; color: var(--muted); }
.field-error { font-size: .9rem; font-weight: 600; line-height: 1.4; color: var(--maroon); }
.field-error:empty { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; min-height: 44px; cursor: pointer; font: 500 .98rem/1.5 var(--font-ui); letter-spacing: 0; text-transform: none; color: var(--ink); }
.field .check input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; border: 0; border-radius: 4px; background: none; box-shadow: none; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--maroon); cursor: pointer; }
.field .check input[type="checkbox"]:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.field.has-error .check { color: var(--maroon); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: .9rem; line-height: 1.5; color: var(--muted); }
.form-fine a { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-card .btn[type="submit"] { min-height: 58px; font-size: .8rem; }
.form-card .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ==========================================================================
   Footer and mobile action bar
   ========================================================================== */
.footer { position: relative; isolation: isolate; padding: clamp(56px, 6vw, 84px) 0 36px; background: var(--ink); color: rgba(255, 255, 255, .76); overflow: clip; }
.footer .glow { right: -10%; top: -40%; width: 760px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(128, 0, 0, .28), rgba(128, 0, 0, 0)); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer-brand { display: grid; gap: 16px; max-width: 560px; }
.lockup { display: flex; align-items: center; gap: 18px; }
.lockup img { width: 72px; padding: 8px; border-radius: 18px; background: var(--cream); }
.lockup-text { display: grid; gap: 8px; justify-items: start; }
.lk-name { font: 700 1.9rem/1 var(--font-ui); letter-spacing: -.005em; color: var(--paper); }
.lk-centre { display: flex; align-items: center; gap: 10px; font: 700 .8rem/1 var(--font-ui); letter-spacing: .04em; color: var(--bone); }
.lk-centre::before, .lk-centre::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: rgba(237, 232, 208, .45); }
.footer-desc { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.footer-cta { display: grid; justify-items: end; gap: 14px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); transition: background-color .25s var(--ease), color .25s var(--ease); }
.social a:hover { background: var(--paper); color: var(--maroon); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding: 44px 0; }
.f-col > summary { display: block; list-style: none; cursor: default; }
.f-col > summary::-webkit-details-marker { display: none; }
.f-title { margin-bottom: 16px; font: 700 .72rem/1.2 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--bone); }
.f-plus { display: none; }
.footer ul { display: grid; gap: 6px; }
.footer-grid li { font-size: .98rem; line-height: 1.5; }
.footer-grid a { display: inline-block; padding: 4px 0; transition: color .25s var(--ease), padding .3s var(--ease); }
.footer-grid a:hover { color: var(--bone); padding-left: 6px; }
.footer-grid address { font-style: normal; }
.footer-bottom { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: .92rem; line-height: 1.55; }
.footer-disclaimer { max-width: 90ch; color: rgba(255, 255, 255, .7); }
.footer-updated { color: rgba(255, 255, 255, .62); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.footer-legal a:hover { color: var(--bone); }
.footer-doctor { color: rgba(255, 255, 255, .62); }

.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; padding: 8px; border-radius: 18px; transform: translateY(160%); transition: transform .5s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font: 700 .76rem/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--maroon); background: var(--paper); border: 1px solid var(--line); }
.mobile-bar a.mb-book { background: var(--maroon); color: var(--paper); border-color: var(--maroon); }

/* ---------- Simple pages (thank-you, legal, 404) ---------- */
.legal-doc { padding-block: clamp(36px, 5vw, 64px) var(--section-y); }
.thanks-steps { display: grid; gap: 14px; margin-top: 8px; }
.thanks-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.thanks-steps .step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: var(--paper); font: 600 1.15rem/1 var(--font-display); }
.thanks-steps h2, .thanks-steps h3 { font-size: 1.45rem; }
.thanks-steps p { margin-top: 4px; font-size: 1rem; }
.contact-visit { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-visit .visit-card { margin-top: 26px; }
.contact-visit .map { aspect-ratio: auto; min-height: 380px; border-radius: 24px; }

/* ==========================================================================
   Custom cursor (fine pointers only; enabled by site.js)
   ========================================================================== */
.cursor { position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); }
.cursor.is-visible { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: translate; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--maroon); transition: scale .25s var(--ease), opacity .25s var(--ease); }
.cursor-ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1.5px solid rgba(26, 26, 26, .5); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), scale .2s var(--ease); }
.cursor.is-link .cursor-ring { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(26, 26, 26, .08); border-color: var(--maroon); }
.cursor.is-link .cursor-dot { scale: 1.6; }
.cursor.is-dark .cursor-ring { border-color: rgba(255, 255, 255, .75); }
.cursor.is-dark.is-link .cursor-ring { background: rgba(237, 232, 208, .18); border-color: var(--bone); }
.cursor.is-down .cursor-ring { scale: .82; }
.cursor.is-text { opacity: 0; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor :is(input, textarea) { cursor: text !important; }
html.has-cursor select { cursor: pointer !important; }

/* ==========================================================================
   Scroll reveals (site.js adds .reveal-on when motion is allowed)
   ========================================================================== */
.reveal-on [data-reveal], .reveal-on [data-stagger] > * { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-on [data-reveal]:not(.is-in), .reveal-on [data-stagger]:not(.is-in) > * { opacity: 0; translate: 0 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1099px) {
  .nav { display: none; }
  .nav-shell { justify-content: space-between; }
  .nav-cta { margin-left: auto; }
  .menu-toggle { display: grid; }
}
@media (max-width: 1080px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-grid, .clinic-grid, .tech-grid, .booking-grid, .faq-grid, .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .booking-grid { grid-template-areas: "copy" "form" "visit"; row-gap: 28px; }
  .page-hero--media .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-media { justify-self: start; width: min(100%, 360px); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-intro { justify-self: start; }
  .doctor-grid { row-gap: 8px; }
  .doctor-media { padding: 40px 0; max-width: 520px; }
  .doctor-media::before { right: -100vw; border-radius: 0; }
  .doctor-copy { padding-block: 28px 0; }
  .ph-visual { margin-top: 44px; }
  .clinic-media { max-width: 460px; margin-inline: auto; }
  .tech-media { max-width: 640px; }
  .faq-grid { grid-template-areas: "head" "list" "ask"; row-gap: 28px; }
  .faq-grid > .ask-card { margin-top: 0; }
  .treat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treat-grid > li, .treat-grid > li:nth-child(-n + 2) { grid-column: auto; }
  .treat-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-visit { grid-template-columns: minmax(0, 1fr); }
  .contact-visit .map { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (min-width: 1081px) {
  .doctor-sticky { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 30px); }
  .doctor-photo { aspect-ratio: auto; height: min(560px, calc(100vh - 360px)); min-height: 340px; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .step { grid-template-columns: 72px minmax(0, 1fr); justify-items: start; column-gap: 20px; row-gap: 4px; text-align: left; }
  .step-ic { grid-row: span 2; width: 64px; height: 64px; }
  .step-ic .ic { width: 24px; height: 24px; }
  .step h3 { margin-top: 2px; }
  .step p { max-width: none; }
  .steps-line { display: none; }
  .statement-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .topbar-msg { display: none; }
  .topbar-in { justify-content: center; }
  .glance-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-stat:nth-child(3) { border-left: 0; }
  .glance-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .glance-stat { padding: 22px 10px; }
  .care-list { grid-template-columns: minmax(0, 1fr); }
  .care-list li:last-child { border-bottom: 0; }
  .contact-list, .field-row, .doctor-quals { grid-template-columns: minmax(0, 1fr); }
  .clinic-block { translate: 12px 12px; }
  .clinic-photo-sm { right: -3%; }
  .tech-lens { right: -2%; }
  .mobile-bar { display: grid; }
  .footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .footer-cta { justify-items: start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 24px 0; }
  .f-col { border-bottom: 1px solid var(--line-light); }
  .f-col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin: 0; padding: 16px 0; cursor: pointer; }
  .f-plus { position: relative; display: block; width: 14px; height: 14px; color: var(--bone); }
  .f-plus::before, .f-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: currentColor; transition: rotate .35s var(--ease); }
  .f-plus::after { rotate: 90deg; }
  .f-col[open] .f-plus::after { rotate: 0deg; }
  .f-col > ul { padding-bottom: 18px; }
  .f-col[open] > ul { animation: panelIn .45s var(--ease-out) both; }
  .footer-grid a { padding: 10px 0; }
  .hero-scroll { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(18, 18, 18, .82) 0%, rgba(18, 18, 18, .62) 55%, rgba(18, 18, 18, .55) 100%); }
  .hero-trust { display: grid; gap: 10px; }
  /* Phones: the two buttons follow the sub-headline so the main action is on the first screen. */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .eyebrow { order: 1; letter-spacing: .16em; }
  .hero-title { order: 2; font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { order: 3; }
  .hero-actions { order: 4; margin-top: 22px; }
  .hero-rot { order: 5; margin-top: 26px; }
  .hero-body { order: 6; }
}
@media (max-width: 640px) {
  .stage-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  .stage-img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .stage-no { left: 8px; top: 8px; width: 36px; height: 36px; font-size: 1rem; }
  .stage-body { padding: 16px 16px 8px; gap: 6px; }
  .stage-body h3 { font-size: 1.4rem; }
  .why-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .why-ic { grid-row: span 2; width: 44px; height: 44px; }
  .why-ic .ic { width: 19px; height: 19px; }
  .why-card h3 { margin: 4px 0 6px; font-size: 1.45rem; }
  .treat-card { padding: 22px 20px 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stage-grid, .why-grid, .treat-grid { grid-template-columns: minmax(0, 1fr); }
  .treat-grid > li:last-child:nth-child(odd) { grid-column: auto; }
  .clinic-details { grid-template-columns: minmax(0, 1fr); }
  .cta-inline { padding: 22px 20px; }
  .cta-inline-actions { width: 100%; }
  .cta-inline-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .btn { padding-left: 18px; gap: 12px; letter-spacing: .1em; }
  .nav-cta { display: none; }
  .brand-mark { width: 34px; }
  .brand-name { font-size: 1.02rem; }
  .nav-shell { padding: 0 8px 0 12px; border-radius: 16px; }
  .site-header { top: calc(var(--topbar-h) + 8px); }
  .hero-actions .btn, .page-hero-actions .btn, .doctor-actions .btn, .clinic-actions .btn, .tech-actions .btn, .section-actions .btn { width: 100%; }
  .hero-actions, .page-hero-actions, .doctor-actions, .clinic-actions, .tech-actions { gap: 6px 24px; }
  .lockup img { width: 60px; }
  .lk-name { font-size: 1.6rem; }
  .faq-list summary { padding: 16px 62px 16px 18px; }
  .faq-list summary::after { right: 14px; }
  .faq-list details > :not(summary) { margin-inline: 18px; }
  .contact-item { min-height: 66px; }
  .bloom { width: min(100%, 320px); }
  .care-link { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 18px 2px; }
}
@media (max-width: 420px) {
  .tb-call span { display: none; }
  .rot-box { display: block; }
  .topbar-actions a { padding: 0 11px; }
  .tb-call { min-width: 44px; justify-content: center; }
  .mobile-bar a { gap: 6px; letter-spacing: .04em; font-size: .72rem; }
  .mobile-bar .ic { width: 16px; height: 16px; }
}
/* Mobile legibility: secondary text no smaller than 16px on phones. */
@media (max-width: 640px) {
  .hero-trust li, .form-note, .page-hero-meta, .footer-disclaimer, .footer-updated { font-size: 1rem; }
  .form-fine { font-size: .95rem; }
}

/* ---------- Reduced motion: no travel, no loops, no film ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-film iframe { display: none; }
  .reveal-on [data-reveal]:not(.is-in), .reveal-on [data-stagger]:not(.is-in) > * { opacity: 1; translate: none; }
}

/* ---------- Print: content only ---------- */
@media print {
  .topbar, .site-header, .progress, .mobile-bar, .cursor, .mobile-menu, .glow, .hero-film, .hero-shade, .hero-scroll, .hp, .map, .bloom, .tech-lens, .tech-sweep { display: none !important; }
  .hero, .page-hero { min-height: 0; padding-top: 24px; background: none; color: var(--ink); }
  .hero-title, .hero-sub, .hero-body, .hero-trust li { color: var(--ink); }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; translate: none !important; }
  .faq-side, .doctor-sticky { position: static; }
  .card, .stage-card, .treat-card, .faq-list details { break-inside: avoid; }
}

/* Real Google Map in the booking section: taller on phones so streets and the pin are readable. */
@media (max-width: 640px) {
  .booking-visit .map { aspect-ratio: 4 / 3.4; }
}
