/* My-Alt-Ctrl. Tokens and decisions: _work/design-plan.md */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Young Serif Fallback"; src: local("Georgia"); size-adjust: 112%; ascent-override: 93%; descent-override: 33%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial"); size-adjust: 108%; ascent-override: 90%; descent-override: 28%; line-gap-override: 0%; }

:root {
  --night: #16132B;
  --night-2: #211C3E;
  --dusk: #3D3380;
  --glow: #F4A77C;
  --ember: #B4512D;
  --mist: #ECEBF6;
  --sage: #DDE7E0;
  --paper: #FFFFFF;
  --ink: #16132B;
  --muted: #4E4A68;
  --on-dark: #F3F1FB;
  --on-dark-muted: #C3BDE0;
  --display: "Young Serif", "Young Serif Fallback", Georgia, serif;
  --body: "Onest", "Onest Fallback", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --corner: 0 32px 0 0;          /* surfaces: one corner only, top right (9 letters, 9 mod 5 = 4) */
  --corner-sm: 0 20px 0 0;
  --hh: 104px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --media-cap: min(76vh, 760px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; font-weight: 400; color: var(--ink); background: var(--paper); overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--paper); color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; display: flow-root; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); line-height: 1.18; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--ember); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--glow); }
.bg-glow h2 em, .bg-glow h3 em { color: var(--dusk); }
h2 em.br, h1 em.br { display: block; }
.lede { font-size: clamp(1.1rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.on-dark { color: var(--on-dark); }
.on-dark .lede, .on-dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
/* masked line reveal (SplitText mask: 'lines'); Young Serif has a tall ascent, so the taller recipe */
.ln-mask { padding: .3em .15em .5em; margin: -.8em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.3em; }

/* ---------- buttons (square: 9 letters, 9 mod 3 = 0) ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); position: relative; display: inline-flex; align-items: center; gap: .7em; padding: 1.02rem 1.6rem; min-height: 54px; border: 0; border-radius: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--dusk)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--hover-fg, var(--paper)); }
.btn .arr { width: 18px; height: 12px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--glow { --bg: var(--glow); --fg: var(--night); --hover: var(--paper); --hover-fg: var(--night); }
.btn--ember { --bg: var(--ember); --fg: var(--paper); --hover: var(--night); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.on-dark .btn--ghost { --fg: var(--on-dark); --hover: var(--on-dark); --hover-fg: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; text-decoration: none; padding: .55em 0; min-height: 44px; border-bottom: 1.5px solid currentColor; }
.link-arrow .arr { width: 18px; height: 12px; transition: transform .4s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hh); color: var(--ink); transition: background-color .45s var(--ease), height .45s var(--ease), box-shadow .45s; }
.site-header[data-tone="dark"] { color: var(--on-dark); background-color: var(--night); }
.site-header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; height: 70px; flex: none; transition: height .45s var(--ease); }
.brand__logo { height: 100%; width: auto; }
.brand__logo--light { position: absolute; inset: 0 auto auto 0; opacity: 0; transition: opacity .35s; }
.site-header[data-tone="dark"] .brand__logo--light { opacity: 1; }
.site-header[data-tone="dark"] .brand__logo--dark { opacity: 0; }
.site-header.is-scrolled { --hh-s: 80px; height: 80px; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 rgba(22, 19, 43, .08), 0 12px 30px -18px rgba(22, 19, 43, .35); backdrop-filter: blur(10px); }
.site-header.is-scrolled .brand { height: 52px; }
.site-header.is-scrolled .brand__logo--light { opacity: 0; }
.site-header.is-scrolled .brand__logo--dark { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header { transition: transform .5s var(--ease), background-color .45s var(--ease), height .45s var(--ease), box-shadow .45s; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav__list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); }
.nav__list > li { position: relative; }
.nav__list > li > a, .nav__toggle { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 6px; background: none; border: 0; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav__list > li > a::after, .nav__toggle::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 1.5px; background: var(--glow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav__list > li > a:hover::after, .nav__toggle:hover::after, .nav__list > li > a[aria-current]::after, .nav__group.is-current .nav__toggle::after { transform: scaleX(1); }
.nav__chev { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
.nav__group.is-open .nav__chev { transform: translateY(2px) rotate(-135deg); }
.nav__dd { position: absolute; top: calc(100% + 6px); left: -14px; min-width: 240px; padding: 10px; background: var(--paper); color: var(--ink); border-radius: var(--corner-sm); box-shadow: 0 24px 50px -20px rgba(22, 19, 43, .45), 0 0 0 1px rgba(22, 19, 43, .06); visibility: hidden; opacity: 0; transform: translateY(-8px); clip-path: inset(0 0 100% 0); transition: opacity .3s, transform .45s var(--ease), clip-path .5s var(--ease), visibility 0s .5s; }
.nav__group.is-open .nav__dd { visibility: visible; opacity: 1; transform: none; clip-path: inset(0 0 0 0); transition: opacity .3s, transform .45s var(--ease), clip-path .5s var(--ease), visibility 0s; }
.nav__dd a { display: block; padding: 11px 14px; text-decoration: none; font-weight: 500; transition: background-color .25s, padding .35s var(--ease); }
.nav__dd a:hover, .nav__dd a:focus-visible { background: var(--mist); padding-left: 20px; }
.nav__dd a[aria-current] { color: var(--ember); }
.nav__cta { min-height: 50px; padding: .85rem 1.3rem; white-space: nowrap; }
.burger { display: none; position: relative; width: 52px; height: 52px; border: 0; background: transparent; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 30px; }
.menu-open .burger span:first-child { top: 25px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 25px; transform: rotate(-45deg); }

@media (max-width: 1320px) {
  :root { --hh: 84px; }
  .brand { height: 54px; }
  .site-header.is-scrolled { height: 72px; }
  .site-header.is-scrolled .brand { height: 46px; }
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; padding: calc(var(--hh) + 24px) var(--gutter) 40px; background: var(--night); color: var(--on-dark); overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease), visibility 0s .6s; }
  .menu-open .nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease), visibility 0s; }
  .menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .site-header .brand__logo--light { opacity: 1; }
  .menu-open .site-header .brand__logo--dark { opacity: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid rgba(243, 241, 251, .14); }
  .nav__list > li > a, .nav__toggle { width: 100%; justify-content: space-between; font-family: var(--display); font-size: 1.6rem; padding: 14px 0; min-height: 60px; }
  .nav__list > li > a::after, .nav__toggle::after { display: none; }
  .nav__chev { margin-right: 6px; }
  .nav__dd { position: static; min-width: 0; padding: 0 0 12px; background: transparent; color: var(--on-dark); box-shadow: none; border-radius: 0; transform: none; display: none; visibility: visible; opacity: 1; clip-path: none; }
  .nav__group.is-open .nav__dd { display: block; }
  .nav__dd a { padding: 12px 0 12px 16px; font-size: 1.1rem; }
  .nav__dd a:hover { background: transparent; color: var(--glow); }
  .nav__dd a[aria-current] { color: var(--glow); }
  .nav__cta { justify-content: center; }
}
body.menu-open { overflow: hidden; }

/* ---------- sections, backgrounds, textures ---------- */
.section { position: relative; padding: clamp(72px, 7.5vw, 112px) 0; isolation: isolate; overflow: clip; }
.bg-night { background: var(--night); color: var(--on-dark); }
.bg-dusk { background: var(--dusk); color: var(--on-dark); }
.bg-mist { background: var(--mist); }
.bg-sage { background: var(--sage); }
.bg-white { background: var(--paper); }
.bg-glow { background: var(--glow); color: var(--night); }
.tex { position: absolute; inset: -12% -12%; z-index: -1; pointer-events: none; background-repeat: repeat; will-change: transform; }
.tex--ridges-d { background-image: url("../img/texture-ridges-dark.svg"); background-size: 1200px 600px; }
.tex--ridges-l { background-image: url("../img/texture-ridges-light.svg"); background-size: 1200px 600px; }
.tex--contour-d { background-image: url("../img/texture-contour-dark.svg"); background-size: 1000px 1000px; }
.tex--contour-l { background-image: url("../img/texture-contour-light.svg"); background-size: 1000px 1000px; }
.bg-glow .tex--ridges-d { opacity: .9; }
.wash { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.wash img { width: 100%; height: 100%; object-fit: cover; }
.wash::after { content: ""; position: absolute; inset: 0; }
@keyframes drift-x { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-1200px, 0, 0); } }
@keyframes drift-c { 0% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(-4%, 3%, 0) rotate(2deg); } 100% { transform: translate3d(0, 0, 0) rotate(0); } }
.tex--ridges-d, .tex--ridges-l { right: auto; width: calc(124% + 1200px); animation: drift-x 55s linear infinite; }
.tex--contour-d, .tex--contour-l { animation: drift-c 40s ease-in-out infinite; }

.head-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(32px, 3.5vw, 56px); }
.head-split h2 { margin: 0; }
.head-split p { margin: 0; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; align-items: start; gap: 18px; } }

/* wave rule: a live line that ripples (site.js) */
.wave-rule { display: block; width: 100%; height: 28px; overflow: visible; color: var(--glow); }
.wave-rule path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wave-rule--short { width: 190px; height: 24px; margin: -.1em 0 1.1em; color: var(--ember); }
.wave-rule--short path { stroke-width: 2.4; }
.on-dark .wave-rule--short { color: var(--glow); }
.bg-glow .wave-rule--short { color: var(--night); }

/* framed photos: one rounded corner, offset outline */
.frame { position: relative; border-radius: var(--corner); overflow: clip; background: var(--night-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.framed { position: relative; }
.framed::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1.5px solid var(--glow); border-radius: var(--corner); pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--night); color: var(--on-dark); overflow: clip; isolation: isolate; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__poster { object-fit: cover; object-position: 50% 100%; }
.hero__canvas { opacity: 0; transition: opacity 1.2s ease; }
.hero.is-live .hero__canvas { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 55% at 22% 32%, rgba(22, 19, 43, .82), rgba(22, 19, 43, 0) 70%); }
.hero__inner { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-top: calc(var(--hh) + clamp(28px, 7vh, 90px)); padding-bottom: 32px; }
.hero h1 { font-size: clamp(2.8rem, 6.1vw, 6.2rem); margin-bottom: .32em; }
.hero h1 em { color: var(--glow); }
.hero__lede { font-size: clamp(1.1rem, 1.35vw, 1.3rem); color: var(--on-dark); opacity: .9; margin-bottom: 1.6em; max-width: 60ch; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(22px, 4vh, 40px); font-size: .98rem; }
.hero__stage { display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 12px rgba(22, 19, 43, .9); }
.hero__stage b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--glow); }
.hero__stage span { color: var(--on-dark-muted); }
.hero__breath { display: flex; align-items: center; gap: 14px; color: var(--on-dark); }
.hero__breath i { position: relative; display: block; width: 120px; height: 2px; background: rgba(243, 241, 251, .22); overflow: clip; }
.hero__breath i::after { content: ""; position: absolute; inset: 0; background: var(--glow); transform: scaleX(var(--breath, 0)); transform-origin: 0 50%; }
.hero__breath span { min-width: 7.5em; }
.js:not(.rm) .hero [data-hero-in] { opacity: 0; animation: hero-safety .01s 1.5s forwards; }
.js:not(.rm) .hero.is-ready [data-hero-in] { animation: none; opacity: 1; }
@keyframes hero-safety { to { opacity: 1; } }
@media (max-width: 760px) {
  .hero__inner { padding-top: calc(var(--hh) + 26px); }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero::before { background: linear-gradient(180deg, rgba(22, 19, 43, .85) 0%, rgba(22, 19, 43, .55) 55%, rgba(22, 19, 43, 0) 80%); }
}

/* ---------- services ---------- */
.services { padding-block: clamp(56px, 4.5vw, 84px); }
.services .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--corner); overflow: clip; text-decoration: none; color: var(--ink); transform-style: preserve-3d; box-shadow: 0 30px 60px -40px rgba(22, 19, 43, .5); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: clip; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.1); }
.card__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 45%); opacity: 0; transition: opacity .4s; z-index: 2; }
.card:hover .card__glare { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 1.9vw, 28px); flex: 1; }
.card__body p { font-size: 1rem; line-height: 1.55; }
.card__body h3 { margin: 0; font-size: clamp(1.5rem, 2vw, 2rem); }
.card__body p { margin: 0; color: var(--muted); }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; color: var(--ember); }
.card__tag { position: absolute; left: 16px; bottom: 16px; z-index: 1; padding: 6px 12px; background: var(--night); color: var(--on-dark); font-size: .85rem; font-weight: 600; }
.marquee { margin-top: clamp(28px, 3vw, 44px); overflow: clip; border-block: 1px solid rgba(61, 51, 128, .2); padding: 14px 0; }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 44px; font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.7rem); color: var(--dusk); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 26px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5c3-5 5-5 8 0s5 5 8 0 5-5 8 0' fill='none' stroke='%23B4512D' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 960px) { .services .cards { grid-template-columns: 1fr; } .card__media { aspect-ratio: 16 / 10; } }

/* ---------- doctor (pinned stage) ---------- */
.doctor .doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.doc__stage { position: sticky; top: calc(80px + (100vh - 80px - min(68vh, 640px)) / 2); height: min(68vh, 640px); }
.doc__stage .frame:first-child { z-index: 2; }
.doc__stage .frame { position: absolute; inset: 0; }
.doc__stage .frame img { position: absolute; inset: 0; }
.doc__count { position: absolute; left: -1px; bottom: -1px; z-index: 50; padding: 20px 26px 18px; background: var(--night); color: var(--on-dark); }
.doc__count b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; color: var(--glow); }
.doc__count > span { font-size: .95rem; color: var(--on-dark-muted); }
.doc__panels { position: relative; }
.doc__intro h2 { margin-bottom: .4em; }
.doc__list { position: relative; margin-top: 28px; }
.doc__item { display: flex; flex-direction: column; justify-content: center; min-height: 42vh; padding: 22px 0 22px 28px; border-left: 2px solid rgba(61, 51, 128, .16); position: relative; transition: border-color .4s; }
.doc__item h3 { margin: 0 0 6px; }
.doc__item p { margin: 0; color: var(--muted); }
.doc__item::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--ember); transform: scaleY(var(--fill, 0)); transform-origin: 50% 0; }
.doc__holistic { margin-top: 26px; font-size: 1.08rem; }
.doc__item h3 { transition: color .5s; }
.doc__item.is-on h3 { color: var(--ember); }
.doc__intro { padding-top: 4vh; }
@media (max-width: 900px) {
  .doctor .doc { grid-template-columns: 1fr; }
  .doc__stage { position: relative; top: auto; height: min(56vh, 460px); }
  .doc__item { min-height: 0; }
}

/* ---------- chooser ---------- */
.chooser .ch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.ch__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border: 1.5px solid rgba(243, 241, 251, .35); background: rgba(22, 19, 43, .18); color: var(--on-dark); font-weight: 500; cursor: pointer; border-radius: 0; transition: background-color .3s, border-color .3s, color .3s; }
.chip:hover { border-color: var(--glow); }
.chip[aria-pressed="true"] { background: var(--glow); border-color: var(--glow); color: var(--night); }
.ch__panel { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--corner); overflow: clip; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.ch__media { position: relative; aspect-ratio: 16 / 7; overflow: clip; }
.ch__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -2%); } }
.rm .ch__media img { animation: none; }
.ch__body { padding: clamp(22px, 2.2vw, 34px); min-height: 280px; }
.ch__body .k { display: inline-block; margin-bottom: 10px; padding: 5px 11px; background: var(--mist); color: var(--dusk); font-weight: 600; font-size: .9rem; }
.ch__body h3 { margin-bottom: .35em; }
.ch__body ul { margin: 14px 0 22px; display: grid; gap: 8px; }
.ch__body li { position: relative; padding-left: 30px; }
.ch__body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 18px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5c3-5 5-5 8 0s5 5 8 0 5-5 8 0' fill='none' stroke='%23B4512D' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ch__result[hidden] { display: none; }
.on-dark .ch__panel .muted { color: var(--muted); }
@media (max-width: 900px) { .chooser .ch { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process .pr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.pr__steps { position: relative; display: grid; gap: clamp(26px, 3vw, 40px); margin-top: 34px; padding-left: 74px; }
.pr__line { position: absolute; left: 22px; top: 10px; bottom: 10px; width: 24px; height: calc(100% - 20px); overflow: visible; color: var(--ember); }
.pr__line path { fill: none; stroke: currentColor; stroke-width: 2; }
.pr__step { position: relative; }
.pr__step .n { position: absolute; left: -74px; top: -4px; display: grid; place-items: center; width: 46px; height: 46px; background: var(--night); color: var(--glow); font-family: var(--display); font-size: 1.25rem; }
.pr__step h3 { margin: 0 0 6px; }
.pr__step p { margin: 0; color: var(--muted); }
.pr__media { position: relative; }
.pr__img { transform: scale(1.14); }
.pr__media .frame { aspect-ratio: 4 / 5; width: min(100%, calc(var(--media-cap) * .8)); margin-left: auto; }
.pr__note { position: absolute; left: 0; bottom: 8%; max-width: 280px; padding: 18px 20px; background: var(--paper); box-shadow: 0 20px 40px -24px rgba(22, 19, 43, .5); font-size: .98rem; }
.pr__note b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--ember); }
@media (max-width: 900px) { .process .pr { grid-template-columns: 1fr; } .pr__media .frame { margin: 0; } .pr__note { position: relative; left: auto; bottom: auto; margin-top: -40px; margin-left: 16px; } }

/* ---------- library ---------- */
.library .lib { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.library .wash::after { background: linear-gradient(90deg, rgba(22, 19, 43, .97) 0%, rgba(22, 19, 43, .9) 45%, rgba(22, 19, 43, .55) 100%); }
.lib__cards { display: grid; gap: 16px; }
.lib__card { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px 24px; background: rgba(243, 241, 251, .07); border: 1px solid rgba(243, 241, 251, .14); border-radius: var(--corner-sm); backdrop-filter: blur(6px); text-decoration: none; color: var(--on-dark); transition: background-color .35s, border-color .35s, transform .5s var(--ease); }
.lib__card:hover { background: rgba(243, 241, 251, .12); border-color: var(--glow); transform: translateX(6px); }
.lib__card h3 { margin: 0 0 4px; font-size: 1.35rem; }
.lib__card p { margin: 0; color: var(--on-dark-muted); font-size: .98rem; }
.lib__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--glow); color: var(--night); }
.lib__icon--lock { border-radius: 0; background: var(--dusk); color: var(--on-dark); }
.lib__icon svg { width: 26px; height: 26px; }
.bars { display: flex; align-items: center; gap: 5px; height: 90px; margin: 30px 0 8px; }
.bars i { flex: 1; max-width: 9px; height: 100%; background: linear-gradient(var(--glow), rgba(244, 167, 124, .25)); transform-origin: 50% 50%; transform: scaleY(.2); }
@media (max-width: 900px) { .library .lib { grid-template-columns: 1fr; } .library .wash::after { background: rgba(22, 19, 43, .88); } }

/* ---------- where ---------- */
.where { min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--night); }
.where .wash { inset: -10% 0; }
.where .wash::after { background: linear-gradient(0deg, rgba(22, 19, 43, .92) 0%, rgba(22, 19, 43, .55) 45%, rgba(22, 19, 43, .05) 80%); }
.where__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.where__grid h2 { margin-bottom: .35em; }
.where__inset { position: relative; margin: 0; }
.where__inset .frame { aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.where__inset figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: var(--night); color: var(--on-dark); font-size: .92rem; }
.where__list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.where__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.where__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 6px rgba(244, 167, 124, .2); }
@media (max-width: 900px) { .where__grid { grid-template-columns: 1fr; } .where .wash::after { background: linear-gradient(0deg, rgba(22, 19, 43, .94) 0%, rgba(22, 19, 43, .78) 60%, rgba(22, 19, 43, .45) 100%); } }

/* ---------- final CTA ---------- */
.cta-band { text-align: left; }
.cta-band .cb { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { font-size: 1.15rem; margin: 0; color: #2E2852; }
.cta-band .btn--ember { --hover: var(--night); }
.orb { position: relative; width: clamp(200px, 24vw, 340px); aspect-ratio: 1; display: grid; place-items: center; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(22, 19, 43, .5); }
.orb i:nth-child(2) { inset: 14%; border: 0; background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%); }
.orb i:nth-child(3) { inset: 27%; background: radial-gradient(circle at 35% 30%, #2E2760, var(--night) 70%); border: 0; box-shadow: 0 30px 60px -20px rgba(22, 19, 43, .6); }
.orb span { position: relative; z-index: 1; color: var(--glow); font-family: var(--display); font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
@media (max-width: 760px) { .cta-band .cb { grid-template-columns: 1fr; } .orb { width: 220px; } .orb i:nth-child(3) { inset: 20%; } .orb span { font-size: 1rem; } }

/* ---------- footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: var(--on-dark); padding: clamp(70px, 8vw, 110px) 0 0; }
.ft { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); }
.ft__brand img { height: 64px; width: auto; margin-bottom: 20px; }
.ft__brand p { color: var(--on-dark-muted); max-width: 46ch; }
.ft h3 { font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--glow); margin-bottom: 14px; }
.ft ul { display: grid; gap: 2px; }
.ft a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--on-dark); transition: color .25s; }
.ft a:hover { color: var(--glow); }
.ft a.btn { color: var(--fg); min-height: 54px; }
.ft a.btn:hover { color: var(--hover-fg, var(--paper)); }
.ft__note { margin-top: clamp(40px, 5vw, 70px); padding: 22px 0; border-top: 1px solid rgba(243, 241, 251, .14); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; color: var(--on-dark-muted); font-size: .95rem; }
.ft__note p { margin: 0; }
.ft__note a { color: var(--on-dark); }
.ft__wave { margin-top: 10px; height: 28px; color: var(--glow); }
@media (max-width: 900px) { .ft { grid-template-columns: 1fr 1fr; } .ft__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ft { grid-template-columns: 1fr; } }

/* ---------- reveal start states (JS on, motion allowed) ---------- */
.js:not(.rm) [data-rv="up"] { opacity: 0; transform: translateY(40px); }
.js:not(.rm) [data-rv="fade"] { opacity: 0; }
.js:not(.rm) [data-rv="wipe"] { clip-path: inset(0 0 100% 0 round var(--corner-r, 0)); }
.js:not(.rm) [data-rv-kids] > * { opacity: 0; transform: translateY(36px); }

@media (prefers-reduced-motion: reduce) {
  .tex, .marquee__track { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
.rm .tex, .rm .marquee__track { animation: none !important; }

/* ---------- 404 ---------- */
.nf { min-height: 72vh; display: flex; align-items: center; padding-top: calc(var(--hh) + 60px); }

/* =================================================================== inner pages */

/* ---------- hypnotherapy opener: compact image band, facts along its foot ---------- */
.svc-open { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: var(--on-dark); display: flex; flex-direction: column; min-height: min(78vh, 760px); }
.svc-open__media { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.svc-open__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.svc-open__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(22, 19, 43, .95) 28%, rgba(22, 19, 43, .6) 46%, rgba(22, 19, 43, 0) 70%), linear-gradient(180deg, rgba(22, 19, 43, .85) 0%, rgba(22, 19, 43, 0) 26%), linear-gradient(0deg, rgba(22, 19, 43, .6), rgba(22, 19, 43, 0) 35%); }
.svc-open__grid { flex: 1; display: flex; align-items: center; padding-top: calc(var(--hh) + 30px); padding-bottom: 40px; }
.svc-open__panel { width: min(640px, 100%); }
.svc-open h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); }
.svc-open .lede { color: var(--on-dark); opacity: .88; }
.svc-facts { position: relative; background: rgba(33, 28, 62, .92); backdrop-filter: blur(8px); border-top: 1px solid rgba(243, 241, 251, .12); }
.svc-facts__wave { position: absolute; left: 0; right: 0; top: -14px; height: 28px; }
.svc-facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.svc-facts__list li { padding: 20px 20px 22px; border-left: 1px solid rgba(243, 241, 251, .12); display: flex; flex-direction: column; gap: 2px; }
.svc-facts__list li:first-child { border-left: 0; padding-left: 0; }
.svc-facts__list b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--glow); }
.svc-facts__list span { color: var(--on-dark-muted); font-size: .98rem; }
@media (max-width: 900px) {
  .svc-open { min-height: 0; }
  .svc-open__media { position: relative; inset: auto; height: 42vh; order: -1; }
  .svc-open__media::after { background: linear-gradient(0deg, var(--night) 2%, rgba(22, 19, 43, 0) 60%), linear-gradient(180deg, rgba(22, 19, 43, .7), rgba(22, 19, 43, 0) 40%); }
  .svc-open__grid { padding-top: 10px; }
  .svc-facts__list { grid-template-columns: 1fr 1fr; }
  .svc-facts__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .svc-facts__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* ---------- helps with: list + fixed preview pane ---------- */
.helps__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.helps__list { border-top: 1px solid rgba(22, 19, 43, .12); }
.helps__item { width: 100%; display: grid; grid-template-rows: auto 0fr; text-align: left; padding: 13px 0 13px 26px; background: none; border: 0; border-bottom: 1px solid rgba(22, 19, 43, .12); cursor: pointer; position: relative; transition: grid-template-rows .5s var(--ease), padding .4s var(--ease); }
.helps__item::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 2px; background: var(--ember); transform: scaleX(.4); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.helps__t { font-family: var(--display); font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.25; transition: color .3s; }
.helps__d { overflow: hidden; color: var(--muted); opacity: 0; transition: opacity .4s; }
.helps__item.is-on { grid-template-rows: auto 1fr; padding-bottom: 20px; }
.helps__item.is-on::before { transform: scaleX(1); top: 27px; }
.helps__item.is-on .helps__t { color: var(--ember); }
.helps__item.is-on .helps__d { opacity: 1; padding-top: 6px; }
.helps__item:hover .helps__t { color: var(--ember); }
.helps__pane { position: sticky; top: 110px; }
.helps { padding-block: clamp(64px, 5.5vw, 88px); }
.helps__pane .frame { aspect-ratio: 1; width: min(100%, 60vh, 540px); margin-left: auto; }
.helps__img { position: absolute; inset: 0; visibility: hidden; }
.helps__img.is-on { visibility: visible; }
.helps__img.is-top { z-index: 2; }
.helps__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.helps__img { animation: kenburns 16s ease-in-out infinite alternate; }
.rm .helps__img { animation: none; }
@media (max-width: 900px) {
  .helps__grid { grid-template-columns: 1fr; }
  .helps__pane { position: relative; top: auto; order: -1; }
  .helps__pane .frame { aspect-ratio: 16 / 10; width: 100%; }
}

/* ---------- session: pinned scene ---------- */
.session { min-height: 100vh; display: flex; align-items: center; padding: calc(80px + 28px) 0 36px; }
.session__inner { width: min(var(--maxw), 100% - var(--gutter) * 2); }
.session__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: end; margin-bottom: clamp(20px, 3vh, 36px); }
.session__head h2 { margin: 0; }
.session__head .lede { margin: 0; }
.session__stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: center; }
.session__scope { position: relative; height: clamp(220px, 46vh, 460px); border: 1px solid rgba(243, 241, 251, .16); border-radius: var(--corner); background: radial-gradient(120% 120% at 70% 100%, rgba(61, 51, 128, .55), rgba(22, 19, 43, .4)); overflow: clip; }
.session__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.session__readout { position: absolute; left: 18px; bottom: 14px; font-family: var(--display); font-size: 1.3rem; color: var(--on-dark); }
.session__readout i { font-style: normal; margin-left: 10px; color: var(--glow); }
.session__clock { position: absolute; right: 18px; top: 14px; font-family: var(--display); font-size: 1.1rem; color: var(--on-dark-muted); }
.session__clock b { font-weight: 400; font-size: 2.2rem; color: var(--on-dark); margin-right: 4px; }
.rm .session__clock, .no-js .session__clock { display: none; }
.session__steps { position: relative; margin: 0; padding: 0; list-style: none; min-height: 240px; }
.session__k { display: inline-block; margin-bottom: 10px; color: var(--glow); font-weight: 600; }
.session__step h3 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); margin-bottom: .4em; }
.session__step p { color: var(--on-dark-muted); font-size: 1.08rem; margin: 0; }
.js:not(.rm) .session__step { position: absolute; inset: 0 0 auto 0; }
.rm .session__step, .no-js .session__step { margin-bottom: 26px; }
.session__progress { grid-column: 1 / -1; position: relative; height: 3px; background: rgba(243, 241, 251, .14); margin-top: 6px; }
.session__progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--on-dark-muted), var(--glow)); transform: scaleX(0); transform-origin: 0 50%; }
.rm .session__progress, .no-js .session__progress { display: none; }
@media (max-width: 900px) {
  .session { padding-top: calc(72px + 18px); }
  .session__head { grid-template-columns: 1fr; gap: 10px; }
  .session__head .lede { font-size: 1rem; }
  .session__stage { grid-template-columns: 1fr; gap: 18px; }
  .session__scope { height: 160px; }
  .session__steps { min-height: 230px; }
}

/* ---------- questions: accordion ---------- */
.myths__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.myths__media .frame { aspect-ratio: 4 / 5; width: min(100%, calc(var(--media-cap) * .8)); }
.myths__media { position: sticky; top: 110px; }
.acc { border-top: 1px solid rgba(22, 19, 43, .14); }
.acc__item { border-bottom: 1px solid rgba(22, 19, 43, .14); }
.acc__h { margin: 0; font-size: inherit; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; background: none; border: 0; text-align: left; font-family: var(--display); font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.3; cursor: pointer; transition: color .3s; }
.acc__btn:hover, .acc__btn[aria-expanded="true"] { color: var(--dusk); }
.acc__icon { position: relative; flex: none; width: 20px; height: 20px; margin-right: 4px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: rotate(0); }
.acc__panel { overflow: clip; }
.js .acc__panel { height: 0; }
.acc__panel p { margin: 0; padding: 0 40px 22px 0; color: var(--muted); }
@media (max-width: 900px) { .myths__grid { grid-template-columns: 1fr; } .myths__media { position: relative; top: auto; } .myths__media .frame { aspect-ratio: 16 / 10; width: 100%; } }

/* ---------- online or face to face: expanding halves ---------- */
.split { position: relative; isolation: isolate; overflow: clip; display: flex; height: min(78vh, 720px); background: var(--night); }
.split__half { position: relative; flex: 1 1 0; overflow: clip; isolation: isolate; display: flex; align-items: flex-end; text-decoration: none; color: var(--on-dark); transition: flex-grow .9s var(--ease); }
.split__half:hover, .split__half:focus-within { flex-grow: 1.45; }
.split__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.split__link:focus-visible { outline: none; }
.split__half:focus-within { outline: 3px solid var(--glow); outline-offset: -6px; }
.split__half + .split__half { border-left: 1px solid rgba(243, 241, 251, .15); }
.split__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.split__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22, 19, 43, .94) 0%, rgba(22, 19, 43, .5) 45%, rgba(22, 19, 43, .12) 100%); }
.split__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 4vw, 60px); max-width: 640px; }
.split__body h2 { margin: 0; }
.split__p { color: var(--on-dark-muted); font-size: 1.08rem; }
.split .link-arrow { align-self: flex-start; color: var(--glow); }
@media (max-width: 900px) { .split { flex-direction: column; height: auto; } .split__half { min-height: 62vh; } .split__half + .split__half { border-left: 0; border-top: 1px solid rgba(243, 241, 251, .15); } }

/* ---------- reset tool ---------- */
.tool { position: relative; isolation: isolate; overflow: clip; min-height: min(92vh, 900px); display: flex; align-items: center; padding: calc(var(--hh) + 30px) 0 60px; }
.tool::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 28% 55%, rgba(61, 51, 128, .65), rgba(22, 19, 43, 0) 70%), radial-gradient(40% 40% at 28% 60%, rgba(244, 167, 124, .12), rgba(244, 167, 124, 0) 70%); }
.tool__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: auto auto; column-gap: clamp(30px, 5vw, 90px); row-gap: 8px; align-items: end; }
.tool__stage { grid-row: 1 / span 2; align-self: center; }
.tool__panel { align-self: start; }
.tool h1 { font-size: clamp(2.4rem, 4.2vw, 4.2rem); }
.tool__stage { display: grid; place-items: center; }
.breath { position: relative; width: min(100%, 520px, 62vh); aspect-ratio: 1; display: grid; place-items: center; }
.breath__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.breath__ring circle { fill: none; stroke: rgba(243, 241, 251, .14); stroke-width: 2; }
.breath__ring .breath__done { stroke: var(--glow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.breath__halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(244, 167, 124, .4), rgba(244, 167, 124, 0) 68%); transform: scale(.7); opacity: .5; }
.breath__ball { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFD5BC 0%, var(--glow) 34%, #C8603A 72%, #7A3A4A 100%); box-shadow: 0 0 80px rgba(244, 167, 124, .45), inset 0 -20px 60px rgba(61, 51, 128, .5); transform: scale(.7); }
.breath__text { position: relative; z-index: 2; margin: 0; max-width: 44%; text-align: center; color: var(--night); display: flex; flex-direction: column; gap: 4px; }
.breath__text b { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 1.9vw, 1.75rem); line-height: 1.15; }
.breath__text span { font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.3rem); }
.tool__form { display: grid; gap: 22px; margin-top: 8px; }
.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg legend { margin-bottom: 10px; font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opt span { display: flex; flex-direction: column; gap: 2px; min-height: 58px; justify-content: center; padding: 12px 14px; border: 1.5px solid rgba(243, 241, 251, .25); transition: background-color .3s, border-color .3s, color .3s; }
.seg__opt b { font-weight: 600; }
.seg__opt small { font-size: .88rem; color: var(--on-dark-muted); transition: color .3s; }
.seg__opt:hover span { border-color: var(--glow); }
.seg__opt input:checked + span { background: var(--glow); border-color: var(--glow); color: var(--night); }
.seg__opt input:checked + span small { color: #3B2A33; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 3px; }
.tool__form.is-running .seg { opacity: .45; pointer-events: none; }
.tool__note { margin: 0; color: var(--on-dark-muted); font-size: .98rem; }
.tool__nojs { display: none; }
.no-js .tool__form { display: none; }
.no-js .tool__nojs { display: block; }
@media (max-width: 900px) {
  .tool { min-height: 0; padding-top: calc(var(--hh) + 18px); }
  .tool__grid { grid-template-columns: 1fr; row-gap: 0; }
  .tool__head { order: 1; }
  .tool__stage { order: 2; grid-row: auto; margin: 0 0 18px; }
  .tool__panel { order: 3; }
  .breath { width: min(72vw, 320px); }
  .seg__opt span { padding: 10px; min-height: 64px; }
  .seg__opt small { font-size: .875rem; }
}

.rhythms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rhythm { background: var(--paper); border-radius: var(--corner); padding: clamp(22px, 2.4vw, 34px); box-shadow: 0 30px 60px -44px rgba(22, 19, 43, .6); }
.rhythm__svg { width: 100%; height: 90px; margin-bottom: 18px; overflow: visible; }
.rhythm__svg path { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rhythm h3 { margin-bottom: 4px; }
.rhythm__short { font-weight: 600; color: var(--dusk); margin-bottom: 8px; }
.rhythm p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .rhythms__grid { grid-template-columns: 1fr; } }

.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.why__media .frame { aspect-ratio: 3 / 2; }
.why__tips { display: grid; gap: 10px; margin-top: 22px; }
.why__tips li { position: relative; padding-left: 32px; font-weight: 500; }
.why__tips li::before { content: ""; position: absolute; left: 0; top: .62em; width: 20px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5c3-5 5-5 8 0s5 5 8 0 5-5 8 0' fill='none' stroke='%23B4512D' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }

.cta-dusk .wash::after { background: linear-gradient(90deg, rgba(61, 51, 128, .96) 0%, rgba(61, 51, 128, .85) 50%, rgba(61, 51, 128, .55) 100%); }
.cta-dusk .lede { color: var(--on-dark); }
.cd .btn-row { margin-top: 26px; }

/* ---------- contact: the form is the opener ---------- */
.contact-open { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--hh) + 30px) 0 clamp(36px, 3.5vw, 56px); }
.contact-open__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.contact-open h1 { font-size: clamp(2.2rem, 3.2vw, 3.2rem); margin-bottom: .2em; }
.contact-open .lede { margin-bottom: .9em; }
.contact-open .lede { margin-bottom: 1.2em; }
.contact-open__aside { position: sticky; top: 100px; }
.contact-open__media { width: min(100%, 56vh * .8, 460px); margin-left: auto; }
.contact-open__media .frame { aspect-ratio: 4 / 5; width: 100%; }
.call-card { position: absolute; left: -28px; bottom: 28px; width: min(340px, 90%); padding: 22px 24px; background: var(--night); color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(22, 19, 43, .7); }
.call-card h2 { font-size: 1.4rem; margin-bottom: 10px; color: var(--glow); }
.call-card ul { display: grid; gap: 8px; }
.call-card li { position: relative; padding-left: 22px; font-size: .98rem; color: var(--on-dark); }
.call-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--glow); }
.form { display: grid; gap: 16px; scroll-margin-top: 100px; }
#book { scroll-margin-top: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 500; }
.field > span { font-size: .98rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid rgba(22, 19, 43, .22); border-radius: 0; background: var(--paper); font: inherit; font-weight: 400; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--dusk); box-shadow: 0 0 0 3px rgba(61, 51, 128, .18); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 7l5 5 5-5' fill='none' stroke='%2316132B' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center / 18px; }
.field.is-bad input { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .14); }
.form__want { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.want { position: relative; cursor: pointer; }
.want input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.want span { display: flex; flex-direction: column; padding: 10px 16px; min-height: 56px; justify-content: center; border: 1.5px solid rgba(22, 19, 43, .2); border-radius: var(--corner-sm); transition: background-color .3s, border-color .3s, color .3s; }
.want b { font-weight: 600; }
.want small { color: var(--muted); }
.want input:checked + span { background: var(--night); border-color: var(--night); color: var(--on-dark); }
.want input:checked + span small { color: var(--on-dark-muted); }
.want input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 3px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; font-weight: 500; font-size: .98rem; }
.chipbox { position: relative; cursor: pointer; }
.chipbox input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chipbox span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid rgba(22, 19, 43, .2); font-size: .96rem; transition: background-color .3s, border-color .3s, color .3s; }
.chipbox input:checked + span { background: var(--glow); border-color: var(--glow); color: var(--night); font-weight: 600; }
.chipbox input:focus-visible + span { outline: 3px solid var(--dusk); outline-offset: 2px; }
.form__call { display: grid; gap: 16px; overflow: clip; }
.form__more { border-top: 1px solid rgba(22, 19, 43, .14); border-bottom: 1px solid rgba(22, 19, 43, .14); }
.form__more-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0; background: none; border: 0; cursor: pointer; font-weight: 600; text-align: left; }
.form__more-btn small { font-weight: 400; color: var(--muted); }
.form__more-btn::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--ease); margin-right: 6px; }
.form__more-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.form__more-body { display: grid; gap: 16px; padding: 4px 0 20px; }
.js .form__more-body:not(.is-open) { display: none; }
.no-js .form__more-btn { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form__privacy { margin: 0; color: var(--muted); font-size: .96rem; }
.form__status { margin: 0; padding: 14px 16px; font-weight: 500; border-left: 4px solid; }
.form__status--ok { background: #E3F0E6; border-color: #2F7A4B; color: #1E4D30; }
.form__status--err { background: #FBE7E5; border-color: #B3261E; color: #7A1A14; }
@media (max-width: 900px) {
  .contact-open__grid { grid-template-columns: 1fr; }
  .contact-open__aside { position: relative; top: auto; }
  .contact-open__media { width: 100%; }
  .contact-open__media .frame { aspect-ratio: 4 / 3; width: 100%; }
  .call-card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 16px 0; }
}
@media (max-width: 560px) { .form__row, .form__want { grid-template-columns: 1fr; } }

.next__grid { --g: clamp(20px, 3vw, 46px); position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); padding-top: 40px; }
.next__line { position: absolute; left: 47px; top: 20px; width: calc(66.666% + var(--g) * 2 / 3); height: 40px; color: var(--ember); overflow: visible; }
.next__line path { fill: none; stroke: currentColor; stroke-width: 2; }
.next__step { position: relative; background: var(--paper); padding: 46px clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px); border-radius: var(--corner); box-shadow: 0 30px 60px -44px rgba(22, 19, 43, .6); }
.next__step .n { position: absolute; left: 24px; top: -23px; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; background: var(--night); color: var(--glow); font-family: var(--display); font-size: 1.25rem; }
.next__step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .next__grid { grid-template-columns: 1fr; gap: 44px; } .next__line { display: none; } }
.where__links { display: grid; gap: 14px; }

/* ---------- holding pages ---------- */
.hold-open { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--hh) + 40px) 0 clamp(50px, 6vw, 80px); }
.hold-open__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.hold-open h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); margin-bottom: .2em; }
.hold-open .lede { margin-bottom: 1.4em; }
.hold-open__media .frame { aspect-ratio: 4 / 3; max-height: 44vh; width: min(100%, calc(44vh * 4 / 3)); margin-left: auto; }
.hold-soon__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.hold-soon__list { display: grid; gap: 4px; border-top: 1px solid rgba(22, 19, 43, .12); }
.hold-soon__list li { position: relative; padding: 16px 0 16px 36px; border-bottom: 1px solid rgba(22, 19, 43, .12); font-family: var(--display); font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.hold-soon__list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 22px; height: 9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5c3-5 5-5 8 0s5 5 8 0 5-5 8 0' fill='none' stroke='%23B4512D' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hold-links__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.hold-link { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 22px 22px 54px; background: rgba(22, 19, 43, .25); border: 1px solid rgba(243, 241, 251, .18); border-radius: var(--corner-sm); text-decoration: none; color: var(--on-dark); transition: background-color .35s, border-color .35s, transform .5s var(--ease); }
.hold-link b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.hold-link span { color: var(--on-dark-muted); }
.hold-link .arr { position: absolute; left: 22px; bottom: 22px; width: 22px; height: 14px; color: var(--glow); transition: transform .4s var(--ease); }
.hold-link:hover { background: rgba(22, 19, 43, .45); border-color: var(--glow); transform: translateY(-4px); }
.hold-link:hover .arr { transform: translateX(6px); }
@media (max-width: 900px) {
  .hold-open__grid, .hold-soon__grid { grid-template-columns: 1fr; }
  .hold-open__media .frame { width: 100%; max-height: none; aspect-ratio: 16 / 10; }
  .hold-links__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .hold-links__grid { grid-template-columns: 1fr; } }
