/* ==========================================================================
   Everlight Psychiatric Care: design system (light)
   Morning ivory, soft sky and sage, and one warm champagne light.
   Display: Newsreader. Interface + reading: Instrument Sans.
   Built for calm: large type, generous space, one clear action at a time,
   slow eased motion that can always be turned off.
   ========================================================================== */

:root {
  /* colour */
  --ivory: #fbf8f2;          /* page */
  --white: #fffdf9;          /* raised surfaces */
  --sky: #e9f0f1;            /* quiet section */
  --sage: #e2eadf;           /* quiet section, warmer */
  --sand: #f3ece0;
  --line: #e2dccf;
  --line-2: #d3cbbb;
  --ink: #1f2a27;            /* 13:1 on ivory */
  --ink-2: #4f5c58;          /* 6.6:1 */
  --ink-3: #66726e;          /* 4.9:1, meta only */
  --pine: #2f4a41;           /* primary button, 9.4:1 with ivory text */
  --pine-2: #3b5a4f;
  --gold: #c9a560;           /* the light: decorative */
  --gold-ink: #8a6a2a;       /* gold for text on light, 4.9:1 */
  --glow: #f6e4b8;
  --night: #13201c;          /* footer only */
  --on-dark: #f6f2ea;
  --on-dark-2: rgba(246, 242, 234, 0.74);
  --line-dark: rgba(246, 242, 234, 0.16);
  --focus: #a77a22;

  /* type */
  --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-hero: clamp(3.6rem, 1.4rem + 8.4vw, 9.5rem);
  --t-h1: clamp(2.9rem, 1.6rem + 4.6vw, 6rem);
  --t-h2: clamp(2.3rem, 1.4rem + 3vw, 4.25rem);
  --t-lead: clamp(1.35rem, 1.05rem + 1vw, 1.9rem);
  --t-body: clamp(1.125rem, 1.08rem + 0.2vw, 1.1875rem);
  --t-small: 1rem;
  --t-eyebrow: 0.8rem;

  /* space + shape */
  --gutter: clamp(1.25rem, 0.5rem + 3.2vw, 4rem);
  --max: 84rem;
  --sec: clamp(5.5rem, 3.5rem + 7vw, 11rem);
  --radius: 999px;
  --r-lg: 1.75rem;
  --r-md: 1.1rem;
  --shadow-soft: 0 30px 60px -30px rgba(47, 74, 65, 0.25), 0 8px 20px -12px rgba(47, 74, 65, 0.12);

  /* motion: slow, soft, decelerating */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --d-1: 0.3s;
  --d-2: 0.7s;
  --header-h: 6rem;
}

@view-transition { navigation: auto; }

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 var(--t-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, video, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class], nav ul, nav ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.24em; }
button { font: inherit; color: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--glow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--gold); }
main:focus { outline: none; }

.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: 1rem; top: 1rem; z-index: 300; padding: 0.85rem 1.2rem; background: var(--pine); color: var(--ivory); border-radius: var(--radius); font: 500 1rem var(--sans); transform: translateY(-200%); transition: transform var(--d-1) var(--ease); }
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------- layout + type */
.wrap, .container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.container--narrow { max-width: 46rem; }

h1, .h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.022em; text-wrap: balance; }
h1, .h1 { font-size: var(--t-h1); line-height: 1.02; }
h2 { font-size: var(--t-h2); line-height: 1.06; }
h3 { font: 500 1.2rem/1.4 var(--sans); }
h1 em, h2 em { font-style: italic; color: var(--gold-ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font: 500 var(--t-eyebrow)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, var(--gold) 40%, rgba(201, 165, 96, 0.25) 41%); box-shadow: 0 0 12px 2px rgba(201, 165, 96, 0.35); }
.on-dark .eyebrow { color: var(--gold); }
.lead, .lede, .intro { font: 300 var(--t-lead)/1.42 var(--serif); letter-spacing: -0.01em; color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.measure { max-width: 62ch; }
p + p { margin-top: 1em; }
.muted { color: var(--ink-2); }
.small, .note { font-size: var(--t-small); }
.note { color: var(--ink-3); margin-top: 1.25rem; max-width: 60ch; }
.sans { font-family: var(--sans); }
strong { font-weight: 600; }

/* --------------------------------------------------------------- buttons + links */
.btn {
  --bg: var(--pine); --fg: var(--ivory);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  min-height: 3.6rem; padding: 0 2rem; border: 0; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); text-decoration: none; white-space: nowrap;
  font: 500 1.075rem/1 var(--sans); letter-spacing: -0.005em; overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 30px -14px rgba(47, 74, 65, 0.55);
  transition: transform var(--d-1) var(--ease), box-shadow var(--d-2) var(--ease), background-color var(--d-1);
}
.btn::before { /* a warm glow gathers under the pointer */
  content: ''; position: absolute; inset: -40%; z-index: -1; opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(246, 228, 184, 0.55), transparent 45%);
  transition: opacity var(--d-2) var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn:hover { box-shadow: 0 16px 40px -14px rgba(47, 74, 65, 0.6), 0 0 0 6px rgba(201, 165, 96, 0.14); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn .arrow { transition: transform var(--d-2) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--light { --bg: var(--white); --fg: var(--ink); box-shadow: 0 10px 30px -16px rgba(31, 42, 39, 0.35); }
.btn--ghost { --bg: rgba(255, 253, 249, 0.55); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-1px); }
.btn--ghost-light { --bg: rgba(255, 253, 249, 0.55); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(31, 42, 39, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--sm { min-height: 3rem; padding: 0 1.4rem; font-size: 1rem; }
.btn--lg { min-height: 4.25rem; padding: 0 2.6rem; font-size: 1.2rem; }
.btn--block { width: 100%; }
.on-dark .btn { --bg: var(--glow); --fg: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2.25rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.55rem; font: 500 1.05rem/1.3 var(--sans); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 0.25rem; transition: background-size var(--d-2) var(--ease); }
.link-arrow::after { content: '→'; transition: transform var(--d-2) var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------- brand (Daybreak)
   "Psychiatric Care" is locked to the exact width of "Everlight" (main.js fitBrand). */
.brand { --sun: var(--gold); display: inline-flex; text-decoration: none; color: inherit; font-size: 2.35rem; transition: font-size 0.6s var(--ease); }
.brand__text { display: inline-grid; justify-items: start; line-height: 1; }
.brand__word { font: 400 1em/1 var(--serif); letter-spacing: -0.02em; white-space: nowrap; }
.brand__i { position: relative; display: inline-block; }
.brand__sun { position: absolute; left: 50%; top: -0.05em; width: 0.3em; height: 0.15em; transform: translateX(-50%); overflow: hidden; }
.brand__sun::before { content: ''; position: absolute; left: 0; top: 0; width: 0.3em; height: 0.3em; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0.25em rgba(201, 165, 96, 0.6); }
.brand__rule { display: block; width: 100%; height: 1px; background: currentColor; opacity: 0.3; margin-top: 0.24em; }
.brand__sub { display: block; margin-top: 0.42em; font: 500 0.35em/1 var(--sans); text-transform: uppercase; white-space: nowrap; letter-spacing: 0.12em; margin-right: -0.12em; color: var(--ink-2); }
.on-dark .brand__sub { color: var(--on-dark-2); }
.site-footer .brand { font-size: 2.6rem; --sun: var(--glow); }

/* --------------------------------------------------------------- header
   Tall and open at the top; condenses into a floating glass bar on scroll.
   The booking button never leaves. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); pointer-events: none; }
.site-header__inner {
  pointer-events: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  border-radius: 0; transition: height 0.6s var(--ease), margin 0.6s var(--ease), padding 0.6s var(--ease), background-color 0.6s var(--ease), box-shadow 0.6s var(--ease), border-radius 0.6s var(--ease), width 0.6s var(--ease);
}
.site-header.is-scrolled .site-header__inner {
  height: 5.1rem; margin-top: 0.75rem; padding: 0 0.7rem 0 2rem; border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.82); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 18px 40px -22px rgba(31, 42, 39, 0.35), 0 0 0 1px rgba(31, 42, 39, 0.06);
}
.site-header.is-scrolled .brand { font-size: 2.2rem; }
body:not(.over-hero) main { padding-top: var(--header-h); }

.primary-nav ul { display: flex; gap: 0.35rem; }
.primary-nav a {
  position: relative; display: flex; align-items: center; min-height: 3rem; padding: 0 1.1rem; text-decoration: none;
  font: 500 1.1rem/1 var(--sans); border-radius: var(--radius); transition: background-color var(--d-1), color var(--d-1);
}
.primary-nav a:hover { background: rgba(201, 165, 96, 0.14); }
.primary-nav a[aria-current] { background: rgba(47, 74, 65, 0.08); }
.primary-nav a[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 0.35rem; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.site-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.site-header__book { min-height: 3.25rem; padding: 0 1.6rem; font-size: 1.05rem; }
.site-header__book .short { display: none; }
.page-book .site-header__book { display: none; }

.menu-toggle {
  display: none; align-items: center; gap: 0.6rem; min-height: 3.25rem; padding: 0 1.1rem;
  background: rgba(255, 253, 249, 0.6); border: 1.5px solid var(--line-2); border-radius: var(--radius); font: 500 1rem/1 var(--sans);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.menu-toggle__icon { display: grid; gap: 5px; width: 18px; }
.menu-toggle__icon span { height: 1.5px; background: currentColor; transition: transform var(--d-2) var(--ease); }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: radial-gradient(120% 70% at 80% 0%, #fff6df 0%, var(--ivory) 55%); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity 0.45s var(--ease); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; }
.mobile-menu nav a { display: block; padding: 0.7rem 0; text-decoration: none; font: 300 clamp(2.2rem, 10vw, 3rem)/1.1 var(--serif); border-bottom: 1px solid var(--line); transform: translateY(14px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu nav li:nth-child(2) a { transition-delay: 50ms; } .mobile-menu nav li:nth-child(3) a { transition-delay: 100ms; }
.mobile-menu nav li:nth-child(4) a { transition-delay: 150ms; } .mobile-menu nav li:nth-child(5) a { transition-delay: 200ms; }
.mobile-menu nav li:nth-child(6) a { transition-delay: 250ms; }
.mobile-menu nav a[aria-current] { color: var(--gold-ink); }
.mobile-menu__footer { display: grid; gap: 1rem; margin-top: 2rem; font-size: 1.05rem; color: var(--ink-2); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header .site-header__inner { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }

@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  :root { --header-h: 4.75rem; }
  .brand { font-size: 1.85rem; }
  .site-header.is-scrolled .brand { font-size: 1.8rem; }
  .site-header.is-scrolled .site-header__inner { height: 4.4rem; margin-top: 0.5rem; padding: 0 0.4rem 0 1.1rem; width: calc(100% - 1rem); }
  .site-header__book .long { display: none; }
  .site-header__book .short { display: inline; }
  .site-header__book { min-height: 3rem; padding: 0 1.15rem; }
  .menu-toggle { min-height: 3rem; padding: 0 0.9rem; }
  .menu-toggle__label { display: none; }
  body.float-on .site-header__book { opacity: 0; pointer-events: none; }
}

/* floating booking pill (phones and tablets), appears after the hero */
.float-cta {
  position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 0.65rem; min-height: 3.75rem; padding: 0 1.9rem;
  border-radius: var(--radius); background: var(--pine); color: var(--ivory); text-decoration: none; font: 500 1.08rem/1 var(--sans); white-space: nowrap;
  box-shadow: 0 18px 40px -16px rgba(31, 42, 39, 0.6), 0 0 0 6px rgba(255, 253, 249, 0.7);
  transform: translate(-50%, 160%); transition: transform 0.7s var(--ease);
}
.float-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px 3px rgba(246, 228, 184, 0.7); }
body.float-on .float-cta { transform: translate(-50%, 0); }
@media (max-width: 1180px) { .js .float-cta { display: inline-flex; } }
.page-book .float-cta { display: none !important; }

/* ===================================================================== HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; background: var(--ivory); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__media video { opacity: 0; transition: opacity 1.8s var(--ease); }
.hero.has-video .hero__media video { opacity: 1; }
.hero__parallax { position: absolute; inset: -4% 0; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.72) 0%, rgba(251, 248, 242, 0) 24%),
    linear-gradient(90deg, rgba(251, 248, 242, 0.94) 0%, rgba(251, 248, 242, 0.78) 30%, rgba(251, 248, 242, 0.22) 56%, rgba(251, 248, 242, 0) 72%),
    linear-gradient(0deg, var(--ivory) 0%, rgba(251, 248, 242, 0) 26%);
}
.hero__content { position: relative; padding-block: calc(var(--header-h) + 3rem) 7rem; }
.hero__title { font: 300 var(--t-hero)/0.94 var(--serif); letter-spacing: -0.04em; max-width: 8.5ch; color: var(--ink); text-wrap: balance; }
.hero__title em { font-style: italic; color: var(--gold-ink); }
.hero__sub { margin-top: 2rem; max-width: 31rem; font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.6; color: var(--ink-2); }
.hero__sub strong { color: var(--ink); font-weight: 500; }
.hero .btn-row { margin-top: 2.5rem; }
.hero__eyebrow { margin-bottom: 2rem; }
.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero__bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hero__scroll { display: inline-flex; align-items: center; gap: 0.75rem; font: 500 0.85rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.hero__scroll i { width: 1px; height: 2.5rem; background: linear-gradient(var(--ink-3), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: scrollcue 2.6s var(--ease-io) infinite; }
@keyframes scrollcue { to { top: 100%; } }

.video-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0 1.1rem 0 0.9rem;
  background: rgba(255, 253, 249, 0.7); color: var(--ink); border: 1.5px solid var(--line-2);
  border-radius: var(--radius); font: 500 0.95rem/1 var(--sans); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--d-1), background-color var(--d-1);
}
.video-toggle:hover { border-color: var(--ink); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[data-paused='true'] .i-play { display: block; }
.video-toggle[data-paused='true'] .i-pause { display: none; }
.video-toggle[hidden] { display: none; }

/* drifting motes of light (decorative; off with reduced motion) */
.motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.motes span { position: absolute; bottom: -2%; width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%; background: radial-gradient(circle, rgba(255, 248, 226, 0.95), rgba(246, 228, 184, 0) 70%); filter: blur(0.5px); opacity: 0; animation: mote var(--d, 16s) linear var(--delay, 0s) infinite; }
@keyframes mote { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: var(--o, 0.8); } 85% { opacity: var(--o, 0.8); } 100% { transform: translate3d(var(--dx, 30px), -105vh, 0); opacity: 0; } }

@media (max-width: 720px) {
  .hero { align-items: end; }
  .hero__media { bottom: 30%; }
  .hero__media img, .hero__media video { object-position: 50% 40%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(251, 248, 242, 0.7) 0%, rgba(251, 248, 242, 0) 22%),
      linear-gradient(0deg, var(--ivory) 30%, rgba(251, 248, 242, 0.86) 46%, rgba(251, 248, 242, 0.3) 62%, rgba(251, 248, 242, 0) 74%);
  }
  .hero__content { padding-bottom: 6rem; }
  .hero__title { font-size: clamp(3.3rem, 16vw, 4.8rem); }
  .hero__sub { margin-top: 1.25rem; }
  .hero .btn-row { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero .btn-row .btn { width: 100%; }
  .hero__scroll { display: none; }
  .hero__bar .wrap { justify-content: flex-end; }
}

/* hero arrival: the scene emerges from soft light, then the words arrive */
.js .hero__media picture { transform: scale(1.05); transition: transform 3.6s var(--ease); }
.js .hero.is-in .hero__media picture { transform: none; }
.js .hero::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(circle at 60% 35%, #fffaf0 0%, var(--ivory) 60%); opacity: 1; transition: opacity 2.2s var(--ease); }
.js .hero.is-in::after { opacity: 0; }
.js .hero .rise { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: calc(var(--delay, 0) * 1ms); }
.js .hero.is-in .rise { opacity: 1; transform: none; }
.js .hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.7s var(--ease); transition-delay: calc(600ms + var(--l, 0) * 160ms); }
.js .hero.is-in .hero__title .line > span { transform: none; }

/* ===================================================================== SECTIONS */
.sec { padding-block: var(--sec); position: relative; }
.sec--tint { background: var(--sky); }
.sec--sage { background: var(--sage); }
.sec--tight { padding-block: calc(var(--sec) * 0.6); }
.sec__grid { display: grid; grid-template-columns: minmax(10rem, 1fr) 3fr; gap: 2rem clamp(2rem, 5vw, 5rem); }
.sec__label { display: flex; align-items: baseline; gap: 0.75rem; align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); font: 500 var(--t-eyebrow)/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.sec__label .num { color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.sec__body > * + * { margin-top: 2rem; }
.sec__body > h2 + * { margin-top: 2.5rem; }
.sec-head { display: grid; gap: 1.5rem; max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head--split { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 2rem 4rem; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 860px) { .sec__grid, .sec-head--split { grid-template-columns: 1fr; } .sec__label { position: static; } }

/* promise */
.promise { text-align: center; padding-bottom: calc(var(--sec) * 0.6); }
.statement { font: 300 clamp(2.1rem, 1.2rem + 3vw, 3.9rem)/1.16 var(--serif); letter-spacing: -0.022em; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.statement .soft { color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.chips li { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 3rem; padding: 0.6rem 1.3rem; line-height: 1.35; text-align: left; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 10px 24px -18px rgba(31, 42, 39, 0.3); font-size: 1.02rem; }
.chips li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px 2px rgba(201, 165, 96, 0.4); }

/* ===================================================================== CARE JOURNEY */
.journey { position: relative; padding-top: calc(var(--sec) * 0.45); background: linear-gradient(180deg, var(--ivory) 0%, var(--sky) 18%, var(--sky) 82%, var(--ivory) 100%); }
.journey__stage { position: relative; }
.journey__sticky { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; padding-bottom: var(--sec); }
.journey__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); max-height: calc(100vh - var(--header-h) - 6rem); width: 100%; justify-self: center; box-shadow: var(--shadow-soft); }
.journey__media figure { position: absolute; inset: 0; }
.journey__media picture, .closing__scene picture, .scene-band picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey__media img { width: 100%; height: 100%; object-fit: cover; }
.journey__media figure:nth-child(1) img { object-position: 15% 80%; transform-origin: 15% 80%; }
.journey__media figure:nth-child(2) img { object-position: 45% 55%; transform-origin: 45% 55%; filter: brightness(1.04); }
.journey__media figure:nth-child(3) img { object-position: 55% 20%; transform-origin: 55% 20%; filter: brightness(1.1) saturate(1.05); }
.journey__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 42, 39, 0.38), transparent 42%); pointer-events: none; z-index: 2; }
.journey__media figcaption { position: absolute; z-index: 3; left: 1.6rem; bottom: 1.5rem; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); }
.journey__count { position: absolute; z-index: 3; top: 1.25rem; left: 1.25rem; display: flex; align-items: baseline; gap: 0.4rem; padding: 0.55rem 1.1rem 0.6rem; border-radius: var(--radius); background: rgba(255, 253, 249, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 24px -16px rgba(31, 42, 39, 0.4); font: 300 2.4rem/1 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.journey__count .of { font: 500 0.85rem/1 var(--sans); letter-spacing: 0.12em; color: var(--ink-3); }
.journey__count .digits { display: inline-block; height: 1em; overflow: hidden; }
.journey__count .digits span { display: block; }

.journey__tabs { display: flex; gap: 0.35rem; padding: 0.4rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(31, 42, 39, 0.35); width: max-content; max-width: 100%; }
.journey__tab { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3.1rem; padding: 0 1.3rem; border: 0; border-radius: var(--radius); background: transparent; color: var(--ink-2); font: 500 1.02rem/1 var(--sans); white-space: nowrap; transition: color var(--d-1), background-color 0.5s var(--ease); }
.journey__tab .n { font-variant-numeric: tabular-nums; font-size: 0.8rem; opacity: 0.7; }
.journey__tab:hover { color: var(--ink); }
.journey__tab[aria-selected='true'] { background: var(--pine); color: var(--ivory); }
.journey__progress { height: 2px; border-radius: 2px; background: var(--line); margin: 2rem 0 0; position: relative; overflow: hidden; max-width: 30rem; }
.journey__progress span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--glow)); transform-origin: left; transform: scaleX(var(--p, 0.333)); transition: transform 0.5s var(--ease); }
.journey__panels { position: relative; margin-top: 2.5rem; }
.journey__panel h3 { font: 300 clamp(2.4rem, 1.5rem + 2.8vw, 3.9rem)/1.04 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
.journey__panel .kicker { font: 500 var(--t-eyebrow)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 1.25rem; }
.journey__panel p { margin-top: 1.5rem; color: var(--ink-2); max-width: 40ch; font-size: 1.15rem; }
.journey__panel .jmeta { margin-top: 1.5rem; font-size: 1rem; color: var(--ink-3); }
.journey__panel .jmeta strong { color: var(--ink); font-weight: 500; }
.journey__hint { margin-top: 1.25rem; font-size: 0.92rem; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .journey__hint .touch { display: none; } }
@media not ((hover: hover) and (pointer: fine)) { .journey__hint .mouse { display: none; } }
[data-journey-media], [data-journey-panels] { touch-action: pan-y; }

html:not(.js) .journey__tabs, html:not(.js) .journey__progress, html:not(.js) .journey__count { display: none; }
html:not(.js) .journey__media figure:not(:first-child) { display: none; }
html:not(.js) .journey__panel + .journey__panel { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }

.js .journey__panels { display: grid; }
.js .journey__panel { grid-area: 1 / 1; visibility: hidden; }
.js .journey__panel.is-active { visibility: visible; }
.js .journey__panel .ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.js .journey__panel .ln > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 0.95s var(--ease), opacity 0.5s var(--ease); transition-delay: calc(var(--l, 0) * 80ms + 460ms); }
.js .journey__panel.is-active .ln > span { transform: none; opacity: 1; }
.js .journey__panel.is-leaving { visibility: visible; }
.js .journey__panel.is-leaving .ln > span { transform: translateY(-105%); opacity: 0; transition-duration: 0.4s, 0.3s; transition-delay: calc(var(--l, 0) * 30ms); transition-timing-function: cubic-bezier(0.55, 0, 0.75, 0); }
.js .journey__panel .fade { opacity: 0; transform: translateY(10px); transition: opacity 0.8s var(--ease), transform 1s var(--ease); }
.js .journey__panel.is-active .fade { opacity: 1; transform: none; transition-delay: 620ms; }
.js .journey__panel.is-leaving .fade { opacity: 0; transform: translateY(-6px); transition-duration: 0.3s; transition-delay: 0s; }
.js .journey__media figure { clip-path: inset(0 0 0 100%); z-index: 0; transition: clip-path 1.3s var(--ease); }
.js .journey__media figure.from-left { clip-path: inset(0 100% 0 0); }
.js .journey__media figure img { transform: scale(1.12); transition: transform 2.4s var(--ease); }
.js .journey__media figure.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.js .journey__media figure.is-active img { transform: none; }
.js .journey__media figure.is-prev { clip-path: inset(0 0 0 0); z-index: 0; transition: none; }

@media (min-width: 1024px) {
  .js .journey.is-scroll .journey__stage { height: calc(100vh * 3.2); }
  .js .journey.is-scroll .journey__sticky { position: sticky; top: 0; height: 100vh; padding: calc(var(--header-h) + 1.5rem) 0 3rem; }
}
@media (max-width: 1023px) {
  .journey__sticky { grid-template-columns: minmax(0, 1fr); }
  .journey__media { aspect-ratio: 4 / 3; max-height: none; }
  .journey__tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .journey__tabs::-webkit-scrollbar { display: none; }
  .journey__tab { flex: 1 0 auto; justify-content: center; }
}
@media (max-width: 480px) { .journey__tab { padding: 0 0.85rem; font-size: 0.95rem; } .journey__tab .n { display: none; } .journey__media { aspect-ratio: 5 / 4; } }

/* ===================================================================== PROVIDER */
.provider { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-soft); }
.portrait picture { position: absolute; inset: 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 60% at 85% 0%, rgba(255, 244, 214, 0.35), transparent 60%); pointer-events: none; }
.portrait__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.portrait__fallback span { font: 300 6rem/1 var(--serif); color: var(--gold-ink); }
.portrait__fallback small { position: absolute; left: 1.4rem; bottom: 1.3rem; font-size: 0.8rem; color: var(--ink-2); }
.quote { font: 300 clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem)/1.14 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.quote::before { content: '“'; display: block; font-size: 1.4em; line-height: 0.5; height: 0.32em; color: var(--gold); }
@media (max-width: 860px) { .provider { grid-template-columns: 1fr; } .portrait { max-width: 28rem; } }

/* Meet Aliya links + Psychology Today badge */
.provider__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; }
.pt-badge { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.6rem 1.1rem 0.6rem 0.6rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-soft); color: var(--ink); text-decoration: none; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.pt-badge:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--gold), var(--shadow-soft); }
.pt-badge:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.pt-badge__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sand); color: var(--gold-ink); flex: none; }
.pt-badge__text { display: grid; line-height: 1.15; }
.pt-badge__text small { font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.02em; }
.pt-badge__text strong { font: 500 1.02rem/1.2 var(--sans); }
.pt-badge__arrow { color: var(--gold-ink); margin-left: 0.15rem; }
.pt-badge.is-seal { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.pt-badge.is-seal img { display: block; height: auto; max-width: 100%; }

.facts-list { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 34rem; }
.facts-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.facts-list li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 0.65em; border-radius: 50%; background: var(--gold); }

.credentials { display: grid; border-top: 1px solid var(--line); }
.credentials li { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.credentials .k { font: 500 var(--t-eyebrow)/1.6 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.2rem; }
.credentials small { display: block; color: var(--ink-3); font-size: 0.95rem; margin-top: 0.15rem; }
@media (max-width: 480px) { .credentials li { grid-template-columns: 1fr; gap: 0.25rem; } }

/* ===================================================================== LISTS, CARDS, TABLES */
.rows { display: grid; gap: 1rem; }
.row { display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: 0.75rem 2.5rem; padding: 1.75rem 2rem; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.row h3 { font: 400 1.55rem/1.2 var(--serif); letter-spacing: -0.012em; }
.row p { color: var(--ink-2); max-width: 58ch; }
.meta { display: inline-block; margin-left: 0.25rem; font: 500 0.9rem/1 var(--sans); color: var(--gold-ink); white-space: nowrap; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; padding: 1.5rem; } }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cols-3 > div { padding: 1.75rem; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.cols-3 h3 { font: 400 1.7rem/1.15 var(--serif); margin-bottom: 0.75rem; }
.cols-3 h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--d-2) var(--ease); }
.cols-3 h3 a:hover { background-size: 100% 1px; }
.cols-3 p { color: var(--ink-2); }
@media (max-width: 860px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.sub-label { font: 500 var(--t-eyebrow)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.conditions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.draft-note { position: relative; z-index: 2; margin: 1rem auto 0; width: min(100% - 2 * var(--gutter), var(--max)); padding: 1rem 1.25rem; border-radius: var(--r-md); background: #fff4d6; box-shadow: 0 0 0 1px #ecd9a6; color: #5c4714; font-size: 1rem; }
.conditions a { text-decoration: none; }
.conditions li:has(a) { padding: 0; }
.conditions li a { display: block; padding: 0.65rem 1.15rem; border-radius: var(--radius); transition: background-color var(--d-1); }
.conditions li a:hover { background: var(--sky); }
.chips a { color: inherit; }
.conditions li { padding: 0.65rem 1.15rem; border-radius: var(--radius); font-size: 1.02rem; background: var(--white); box-shadow: 0 0 0 1px var(--line); }

.numbered { counter-reset: n; display: grid; border-top: 1px solid var(--line); max-width: 46rem; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font: 500 0.85rem/2 var(--sans); color: var(--gold-ink); }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { counter-increment: s; padding: 2rem; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font: 300 3rem/1 var(--serif); color: var(--gold-ink); margin-bottom: 1.25rem; }
.step h3 { font: 400 1.55rem/1.2 var(--serif); margin-bottom: 0.5rem; }
.step p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); padding: 0.5rem 1.5rem; }
.table th, .table td { text-align: left; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { font: 500 var(--t-eyebrow)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.table tbody th { font-weight: 500; }
.table .num { text-align: right; font: 400 1.5rem/1 var(--serif); padding-right: 0; }
.table thead .num { font: 500 var(--t-eyebrow)/1.3 var(--sans); }

.fee-card { display: grid; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); padding: 0.5rem 1.75rem; }
.fee-card div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.fee-card div:last-child { border-bottom: 0; }
.fee-card dt { color: var(--ink-2); }
.fee-card dd { font: 300 clamp(2rem, 1.5rem + 1.6vw, 2.9rem)/1 var(--serif); }

/* ===================================================================== FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: box-shadow var(--d-1); }
.faq details[open] { box-shadow: 0 0 0 1px var(--line-2), 0 18px 34px -26px rgba(31, 42, 39, 0.35); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem; cursor: pointer; list-style: none; font: 400 clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem)/1.3 var(--serif); border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sky); transition: background-color var(--d-1), transform 0.5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--pine); color: var(--ivory); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { padding: 0 1.6rem 1.6rem; color: var(--ink-2); max-width: 64ch; }
.js .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
.js .faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ===================================================================== PAGE HERO (inner pages) */
.page-hero { position: relative; padding-block: clamp(4rem, 3rem + 6vw, 8.5rem) clamp(3rem, 2rem + 4vw, 6rem); background: radial-gradient(90% 80% at 90% 0%, #fff4dc 0%, rgba(251, 248, 242, 0) 60%); }
.page-hero h1 { max-width: 15ch; }
.page-hero .intro, .page-hero .lede { margin-top: 1.75rem; }
.page-hero--scene { padding-bottom: 0; }
.scene-band { position: relative; margin-top: clamp(3rem, 6vw, 5.5rem); aspect-ratio: 21 / 7; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-soft); }
.scene-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%); }
@media (max-width: 700px) { .scene-band { aspect-ratio: 4 / 3; } }
.js .scene-band img { transform: scale(1.06); transition: transform 2.6s var(--ease); }
.js .scene-band.is-visible img { transform: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; font: 500 0.9rem/1 var(--sans); color: var(--ink-3); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.section { padding-block: clamp(3rem, 6vw, 6rem); }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); margin: 2.75rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.6rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2rem; margin-top: 1rem; }
.prose li + li { margin-top: 0.45rem; }
.prose a { color: var(--ink); }
.legal-meta { display: inline-block; font: 500 0.9rem/1 var(--sans); color: var(--ink-3); padding: 0.7rem 1rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.legal-layout { display: grid; grid-template-columns: 15rem 1fr; gap: 4rem; }
.toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; font-size: 0.98rem; }
.toc p { font: 500 var(--t-eyebrow)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 0.15rem; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--gold); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } .toc { position: static; } }

.resource { padding: 1.75rem; margin-bottom: 1rem; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 0.4rem; }
.resource strong { font: 500 var(--t-eyebrow)/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.resource .big { font: 300 clamp(2rem, 1.4rem + 2vw, 3rem)/1.1 var(--serif); text-decoration: none; width: max-content; max-width: 100%; }
.resource .big:hover { text-decoration: underline; }
.privacy-callout { display: block; gap: 1rem; align-items: flex-start; padding: 1.35rem 1.5rem; border-radius: var(--r-md); background: var(--sand); color: var(--ink-2); font-size: 1rem; max-width: 52rem; }
.privacy-callout:has(> svg) { display: flex; }
.privacy-callout svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; margin-top: 0.2rem; }
.privacy-callout a { color: var(--ink); }

.contact-list { display: grid; gap: 1rem; }
.contact-item { display: grid; grid-template-columns: minmax(12rem, 1fr) 2fr; gap: 1rem 3rem; padding: 2rem; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.contact-item h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.contact-item .btn-row { margin-top: 1.25rem; }
.email-big { display: inline-block; font: 300 clamp(1.6rem, 1.1rem + 2vw, 2.6rem)/1.15 var(--serif); text-decoration: none; word-break: break-word; }
.email-big:hover { text-decoration: underline; }
.topic-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }
.topic-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: var(--radius); text-decoration: none; font-size: 1rem; background: var(--sky); }
.topic-links a:hover { background: var(--sage); }
@media (max-width: 760px) { .contact-item { grid-template-columns: 1fr; padding: 1.5rem; } }

/* ===================================================================== CLOSING SCENE */
.closing { position: relative; overflow: hidden; isolation: isolate; color: var(--ink); background: var(--ivory); }
.closing__scene { position: absolute; inset: 0; z-index: -1; }
.closing__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.closing__scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 248, 242, 0.95) 0%, rgba(251, 248, 242, 0.75) 40%, rgba(251, 248, 242, 0.1) 75%), linear-gradient(180deg, var(--ivory) 0%, rgba(251, 248, 242, 0) 22%); }
.closing__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: end; padding-block: clamp(7rem, 5rem + 9vw, 13rem); }
.closing h2 { font-size: var(--t-h1); max-width: 12ch; }
.closing p { margin-top: 1.5rem; color: var(--ink-2); max-width: 42ch; }
.closing .btn-row { margin-top: 0; }
@media (max-width: 860px) {
  .closing__grid { grid-template-columns: 1fr; }
  .closing__scene::after { background: linear-gradient(0deg, rgba(251, 248, 242, 0.96) 25%, rgba(251, 248, 242, 0.55) 100%); }
}
.js .closing--reveal .closing__scene { clip-path: inset(8% 6% 8% 6% round 2rem); transition: clip-path 1.8s var(--ease); }
.js .closing--reveal .closing__scene img { transform: scale(1.1); transition: transform 2.8s var(--ease); }
.js .closing--reveal.is-visible .closing__scene { clip-path: inset(0 0 0 0 round 0); }
.js .closing--reveal.is-visible .closing__scene img { transform: none; }

/* ===================================================================== THE THRESHOLD (/book/) */
.threshold { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(4rem, 8vh, 6rem);
  background:
    radial-gradient(60% 50% at 50% 30%, #fff6e2 0%, rgba(255, 246, 226, 0) 70%),
    radial-gradient(80% 60% at 10% 90%, rgba(226, 234, 223, 0.8) 0%, rgba(226, 234, 223, 0) 60%),
    radial-gradient(80% 60% at 90% 90%, rgba(233, 240, 241, 0.9) 0%, rgba(233, 240, 241, 0) 60%),
    var(--ivory);
}
.threshold__inner { display: grid; justify-items: center; gap: 0; width: min(100% - 2 * var(--gutter), 46rem); }
.orb { position: relative; width: clamp(7rem, 13vw, 10rem); aspect-ratio: 1; margin-bottom: clamp(1rem, 3vh, 2rem); }
.orb__glow, .orb__core, .orb__ring { position: absolute; border-radius: 50%; }
.orb__glow { inset: -60%; background: radial-gradient(circle, rgba(246, 228, 184, 0.75) 0%, rgba(246, 228, 184, 0.25) 35%, rgba(246, 228, 184, 0) 65%); animation: breathe 10s var(--ease-io) infinite; }
.orb__core { inset: 18%; background: radial-gradient(circle at 45% 40%, #fffdf6 0%, #fff1cf 40%, #f2d796 75%, #e8c27a 100%); box-shadow: 0 0 60px 20px rgba(246, 228, 184, 0.7), 0 0 140px 60px rgba(246, 228, 184, 0.35); animation: breathe 10s var(--ease-io) infinite; }
.orb__ring { inset: 0; border: 1px solid rgba(201, 165, 96, 0.35); animation: ripple 10s var(--ease-io) infinite; }
.orb__ring:nth-child(4) { animation-delay: -5s; }
@keyframes breathe { 0%, 100% { transform: scale(0.88); } 40%, 50% { transform: scale(1.06); } }
@keyframes ripple { 0% { transform: scale(0.7); opacity: 0; } 30% { opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.breath-cue { position: relative; height: 1.4em; margin-bottom: 1rem; font: 500 0.85rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.breath-cue span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; opacity: 0; animation: cue 10s var(--ease-io) infinite; }
.breath-cue span:last-child { animation-delay: -5s; }
@keyframes cue { 0% { opacity: 0; } 8%, 38% { opacity: 1; } 48%, 100% { opacity: 0; } }
.threshold h1 { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.04; max-width: 15ch; }
.threshold h1 em { display: block; }
.threshold .lead { margin: 1.25rem auto 0; max-width: 36ch; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); }
.threshold .chips { margin-top: 1.75rem; }
.threshold .btn-row { justify-content: center; margin-top: 2rem; }
.threshold__fine { margin-top: 2rem; font-size: 0.98rem; color: var(--ink-3); max-width: 46ch; }
.threshold__fine a { color: var(--ink-2); }
.threshold__back { margin-top: 1.5rem; }

/* each part of the threshold arrives in turn, out of the light */
.js .threshold .arrive { opacity: 0; transform: translateY(14px); filter: blur(6px); animation: arrive 1.6s var(--ease) forwards; animation-delay: calc(var(--a, 0) * 1ms + 500ms); }
@keyframes arrive { to { opacity: 1; transform: none; filter: none; } }
.js .threshold .orb { opacity: 0; transform: scale(0.6); animation: orbIn 2.2s var(--ease) 0.2s forwards; }
@keyframes orbIn { to { opacity: 1; transform: none; } }
.threshold-steps { padding-block: clamp(4rem, 8vw, 7rem); }

/* the light bloom that carries a visitor from any Book button to the threshold */
.bloom { position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: 1;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%), #ffffff 0%, #fffaf0 25%, #fff1d2 50%, #f8e3b4 75%, #fbf8f2 100%);
  clip-path: circle(0 at var(--bx, 50%) var(--by, 50%)); transition: clip-path 1.15s cubic-bezier(0.7, 0, 0.2, 1);
}
.bloom.is-open { clip-path: circle(150vmax at var(--bx, 50%) var(--by, 50%)); }
.arrive-light { position: fixed; inset: 0; z-index: 400; pointer-events: none; background: radial-gradient(circle at 50% 35%, #ffffff 0%, #fff6e2 45%, #fbf8f2 100%); animation: lightOut 1.6s var(--ease) 0.15s forwards; }
@keyframes lightOut { to { opacity: 0; visibility: hidden; } }

/* ===================================================================== CRISIS + FOOTER */
.crisis-strip { background: var(--sand); font-size: 1rem; }
.crisis-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.25rem; flex-wrap: wrap; }
.crisis-strip p { max-width: 72ch; color: var(--ink-2); }
.crisis-strip a[href^='tel'] { font-weight: 600; color: var(--ink); }
.site-footer { padding-block: clamp(4.5rem, 7vw, 7rem) 2.25rem; background: var(--night); color: var(--on-dark); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 3rem 2rem; }
.site-footer__tagline { margin: 1.75rem 0; color: var(--on-dark-2); max-width: 28ch; font: 300 1.45rem/1.35 var(--serif); }
.site-footer__heading { font: 500 var(--t-eyebrow)/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; font-size: 1.02rem; color: var(--on-dark-2); }
.site-footer ul a { color: var(--on-dark); }
.site-footer__social { display: flex; gap: 1rem; flex-wrap: wrap; }
.site-footer__fine { margin-top: 1.25rem; font-size: 0.9rem; color: var(--on-dark-2); max-width: 32ch; }
.site-footer__bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: grid; gap: 1rem; font-size: 0.9rem; color: var(--on-dark-2); }
.site-footer__meta { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } .site-footer { padding-bottom: 6.5rem; } }

.motion-toggle { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; background: none; border: 0; padding: 0; color: var(--on-dark-2); font-size: 0.95rem; }
.motion-toggle__track { width: 2.5rem; height: 1.4rem; border-radius: var(--radius); border: 1px solid rgba(246, 242, 234, 0.45); position: relative; }
.motion-toggle__thumb { position: absolute; top: 2px; left: 2px; width: calc(1.4rem - 6px); height: calc(1.4rem - 6px); border-radius: 50%; background: var(--on-dark); transition: transform 0.4s var(--ease); }
.motion-toggle[aria-pressed='true'] .motion-toggle__track { background: var(--glow); border-color: var(--glow); }
.motion-toggle[aria-pressed='true'] .motion-toggle__thumb { transform: translateX(1.1rem); background: var(--night); }

/* Scheduler window */
html.has-dialog { overflow: hidden; }
.scheduler { width: min(980px, calc(100% - 2.5rem)); height: min(880px, calc(100dvh - 2.5rem)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ivory); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(31, 42, 39, 0.45); overflow: hidden; }
.scheduler[open] { display: flex; flex-direction: column; animation: scheduler-in 0.5s var(--ease) both; }
.scheduler::backdrop { background: rgba(31, 42, 39, 0.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scheduler[open]::backdrop { animation: scheduler-fade 0.4s ease both; }
@keyframes scheduler-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } }
@keyframes scheduler-fade { from { opacity: 0; } }
.scheduler__bar { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0.85rem 0.85rem 1.5rem; border-bottom: 1px solid var(--line); }
.scheduler__title { flex: 1; font: 400 1.45rem/1.2 var(--serif); letter-spacing: -0.01em; }
.scheduler__out { font-size: 0.95rem; color: var(--ink-2); text-underline-offset: 3px; }
.scheduler__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink); cursor: pointer; transition: background 0.2s ease; }
.scheduler__close:hover { background: #eadfcc; }
.scheduler__close:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }
.scheduler__frame { position: relative; flex: 1; background: var(--white); }
.scheduler__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.5s ease; }
.scheduler.is-loaded iframe { opacity: 1; }
.scheduler__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.75rem; color: var(--ink-3); font-size: 1rem; }
.scheduler.is-loaded .scheduler__loading { display: none; }
.scheduler__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: scheduler-pulse 1.6s ease-in-out infinite; }
@keyframes scheduler-pulse { 50% { transform: scale(1.6); opacity: 0.4; } }
.scheduler__fine { padding: 0.7rem 1.5rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); }
@media (max-width: 640px) {
  .scheduler { width: 100%; height: 100dvh; border-radius: 0; }
  .scheduler__bar { padding-left: 1.1rem; gap: 0.75rem; }
  .scheduler__title { font-size: 1.2rem; }
  .scheduler__out { font-size: 0.85rem; }
  .scheduler__fine { padding: 0.6rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .scheduler[open], .scheduler[open]::backdrop, .scheduler__dot { animation: none; } }
:root[data-motion="reduced"] .scheduler[open], :root[data-motion="reduced"] .scheduler[open]::backdrop, :root[data-motion="reduced"] .scheduler__dot { animation: none; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 60; transform: translate(-50%, 200%); visibility: hidden; padding: 0.9rem 1.3rem; border-radius: var(--radius); background: var(--pine); color: var(--ivory); font-size: 1rem; transition: transform 0.5s var(--ease); }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* ===================================================================== QUIET REVEALS */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-words] .w { display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(4px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.js [data-words].is-visible .w { opacity: 1; transform: none; filter: none; }
.js .st { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i) * 80ms + 150ms); }
.js .is-visible .st { opacity: 1; transform: none; }

/* ===================================================================== REDUCED MOTION
   OS setting or the footer switch: no movement, only brief cross-fades. */
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion='full']) { scroll-behavior: auto; }
  html:not([data-motion='full']) *, html:not([data-motion='full']) *::before, html:not([data-motion='full']) *::after { transition-duration: 0.2s !important; transition-delay: 0s !important; animation: none !important; }
  html:not([data-motion='full']) :is([data-reveal], .st, [data-words] .w, .hero .rise, .hero__title .line > span, .hero__media picture, .hero__parallax, .journey__panel .ln > span, .journey__media figure img, .closing__scene img, .scene-band img, .threshold .arrive, .threshold .orb, .orb__glow, .orb__core) { transform: none !important; filter: none !important; opacity: 1; }
  html:not([data-motion='full']) .hero::after, html:not([data-motion='full']) .motes, html:not([data-motion='full']) .orb__ring, html:not([data-motion='full']) .breath-cue, html:not([data-motion='full']) .arrive-light { display: none !important; }
  html:not([data-motion='full']) .journey__media figure, html:not([data-motion='full']) .closing--reveal .closing__scene { clip-path: none !important; }
  html:not([data-motion='full']) .journey__media figure { opacity: 0; } html:not([data-motion='full']) .journey__media figure.is-active { opacity: 1; }
  html:not([data-motion='full']) .journey__panel.is-leaving { visibility: hidden; }
  html:not([data-motion='full']) .journey__panel:not(.is-active) .fade { opacity: 0; }
  @view-transition { navigation: none; }
}
html[data-motion='reduce'] *, html[data-motion='reduce'] *::before, html[data-motion='reduce'] *::after { transition-duration: 0.2s !important; transition-delay: 0s !important; animation: none !important; }
html[data-motion='reduce'] :is([data-reveal], .st, [data-words] .w, .hero .rise, .hero__title .line > span, .hero__media picture, .hero__parallax, .journey__panel .ln > span, .journey__media figure img, .closing__scene img, .scene-band img, .threshold .arrive, .threshold .orb, .orb__glow, .orb__core) { transform: none !important; filter: none !important; opacity: 1; }
html[data-motion='reduce'] .hero::after, html[data-motion='reduce'] .motes, html[data-motion='reduce'] .orb__ring, html[data-motion='reduce'] .breath-cue, html[data-motion='reduce'] .arrive-light { display: none !important; }
html[data-motion='reduce'] .journey__media figure, html[data-motion='reduce'] .closing--reveal .closing__scene { clip-path: none !important; }
html[data-motion='reduce'] .journey__media figure { opacity: 0; } html[data-motion='reduce'] .journey__media figure.is-active { opacity: 1; }
html[data-motion='reduce'] .journey__panel.is-leaving { visibility: hidden; }
html[data-motion='reduce'] .journey__panel:not(.is-active) .fade { opacity: 0; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.6s; animation-timing-function: var(--ease); }

@media print {
  .site-header, .mobile-menu, .site-footer, .crisis-strip, .closing, .hero__media, .video-toggle, .toast, .float-cta, .motes { display: none !important; }
  body { background: #fff; }
  body:not(.over-hero) main { padding-top: 0; }
}
