/* Prestige Ultimate Care, public site.
   Token driven, no framework. Brand: deep navy, champagne gold, ivory. Fraunces for display, Manrope for text.
   Motion is progressive: hidden start states only apply under html.js and prefers-reduced-motion: no-preference. */

:root {
  --navy: #0E2238;
  --navy-2: #16324F;
  --deep: #081626;
  --gold: #C8A45D;
  --gold-soft: #E8D6AE;
  --gold-deep: #7E6027;
  --gold-hover: #A8843F;
  --ivory: #FBF7F0;
  --sand: #F4EDE1;
  --paper: #FFFFFF;
  --ink: #1B2433;
  --dim: #56606F;
  --faint: #646A74;
  --line: #E6DCCB;
  --line-soft: #EFE7DA;
  --line-strong: #968568;   /* form control and chip borders, 3:1 on white, ivory and sand */
  --sage: #7E9C8B;
  --on-navy: #F4EEE3;
  --on-navy-dim: #B9C2CE;
  --ok: #2F7A55;
  --err: #B3261E;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(14, 34, 56, .06), 0 2px 8px rgba(14, 34, 56, .05);
  --shadow: 0 2px 6px rgba(14, 34, 56, .05), 0 12px 32px rgba(14, 34, 56, .08);
  --shadow-lg: 0 4px 12px rgba(14, 34, 56, .06), 0 30px 70px rgba(14, 34, 56, .16);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 700ms;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; font-weight: 500;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.005em; }
h2 em, h1 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
strong { font-weight: 700; }
::selection { background: var(--gold-soft); color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.section--navy :focus-visible, .consult__copy :focus-visible, .site-footer :focus-visible, .assure :focus-visible, .numbers :focus-visible, .svc--feature :focus-visible, .mobile-bar :focus-visible, .skip-link:focus-visible { outline-color: var(--gold); }
.sr-only { 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: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--ivory); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 920px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--sand, .section--tint { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--ivory); }
.section--navy h2 em { color: var(--gold); }

.ic { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.1rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--pill { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; letter-spacing: .14em; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }
.eyebrow--pill::before { display: none; }
.eyebrow--pill .ic { width: 15px; height: 15px; color: var(--gold); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--dim); max-width: 60ch; line-height: 1.7; }
.section--navy .lead { color: var(--on-navy-dim); }
.hint, .hint-text { color: var(--faint); font-weight: 500; font-size: .9em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: var(--navy); --fg: var(--ivory); --bd: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 700 .98rem/1.2 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; touch-action: manipulation;
  transition: background var(--t) var(--ease-out), color var(--t) var(--ease-out), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}
.btn .ic { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover { color: var(--fg); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary:hover { --bg: var(--navy-2); box-shadow: 0 10px 30px rgba(14, 34, 56, .25); }
.btn--gold { --bg: var(--gold); --fg: var(--deep); --bd: var(--gold); }
.btn--gold:hover { --bg: var(--gold-soft); --bd: var(--gold-soft); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: rgba(14, 34, 56, .22); }
.btn--ghost:hover { --bg: var(--navy); --fg: var(--ivory); --bd: var(--navy); }
.btn--light { --bg: var(--ivory); --fg: var(--navy); --bd: var(--ivory); }
.btn--outline-light { --bg: transparent; --fg: var(--ivory); --bd: rgba(251, 247, 240, .35); }
.btn--outline-light:hover { --bg: var(--ivory); --fg: var(--navy); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
/* 21st.dev "shimmer button" idea: a slow sweep of light across the primary CTA. */
.btn--shine::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(232, 214, 174, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 5.5s var(--ease-out) 2s infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- header */
.announce { background: var(--navy); color: var(--on-navy); text-align: center; font-size: .9rem; padding: 8px 0; }
.topbar { background: var(--deep); color: var(--on-navy-dim); font-size: .85rem; }
.topbar__in { display: flex; gap: 20px; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; gap: 6px; align-items: center; color: inherit; text-decoration: none; }
.topbar__item .ic { width: 15px; height: 15px; color: var(--gold); }
.topbar__spacer { flex: 1; }

.site-header { position: sticky; top: 0; z-index: 50; transition: background var(--t), box-shadow var(--t), border-color var(--t); border-bottom: 1px solid transparent; }
.site-header.is-stuck { background: rgba(251, 247, 240, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line-soft); box-shadow: 0 6px 24px rgba(14, 34, 56, .05); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand__logo { width: auto; height: 46px; }
.header__menu { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { position: relative; padding: 10px 12px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease-out); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__login, .header__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; padding: 8px 4px; }
.header__login .ic, .header__phone .ic { width: 17px; height: 17px; color: var(--gold-deep); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic--close { display: none; }
.nav-toggle[aria-expanded="true"] .ic--open { display: none; }
.nav-toggle[aria-expanded="true"] .ic--close { display: block; }
.portal-nav { display: flex; gap: 16px; margin-left: auto; }
.portal-nav a { font-weight: 600; text-decoration: none; color: var(--ink); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header__menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gutter) 24px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(14, 34, 56, .1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--t), transform var(--t) var(--ease-out), visibility 0s linear var(--t); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .header__menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-header:has(.header__menu.is-open) { background: var(--ivory); }
  .nav { flex-direction: column; margin: 0; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a::after { display: none; }
  .header__actions { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 8px; }
  .header__actions .btn { min-height: 52px; }
}
@media (max-width: 520px) { .brand__logo { height: 38px; } }

/* ---------------------------------------------------------------- hero */
.page-home .site-header:not(.is-stuck) { background: transparent; }
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; }
/* 21st.dev "aurora background", rebuilt as three blurred, slowly drifting radial washes. */
.hero__aurora, .consult__aurora { position: absolute; inset: -10% -10% 0; z-index: -1; pointer-events: none; }
.hero__aurora span, .consult__aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; animation: drift 26s ease-in-out infinite alternate; }
.hero__aurora span:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; right: -8%; top: -12%; background: radial-gradient(circle, #EAD9B6 0%, transparent 65%); }
.hero__aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; left: -10%; top: 30%; background: radial-gradient(circle, #DCE6DF 0%, transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.hero__aurora span:nth-child(3) { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: 38%; bottom: -20%; background: radial-gradient(circle, #F2E4D6 0%, transparent 65%); animation-duration: 38s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(3%, -4%, 0) scale(1.08); } 100% { transform: translate3d(-3%, 3%, 0) scale(.96); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(14, 34, 56, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.display { font-size: clamp(2.7rem, 6.4vw, 5.3rem); line-height: 1.02; letter-spacing: -.028em; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--dim); max-width: 54ch; margin-bottom: 2rem; }
.hero__proof { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.hero__proof li { display: inline-flex; gap: 8px; align-items: center; }
.hero__proof .ic { color: var(--ok); width: 19px; height: 19px; }

.hero__visual { position: relative; padding: 24px 0 40px; perspective: 1200px; }
.arch { position: relative; margin-left: auto; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--r-lg) var(--r-lg); background: linear-gradient(165deg, var(--navy-2) 0%, var(--navy) 55%, var(--deep) 100%); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(200, 164, 93, .35); padding: 34% 28px 28px; overflow: hidden; transform-style: preserve-3d; }
.arch::before { content: ''; position: absolute; inset: 12px; border-radius: 210px 210px 16px 16px; border: 1px solid rgba(200, 164, 93, .4); pointer-events: none; }
.arch__glow { position: absolute; width: 90%; aspect-ratio: 1; left: 5%; top: -30%; background: radial-gradient(circle, rgba(200, 164, 93, .35), transparent 60%); filter: blur(10px); }
.arch__star { position: absolute; width: 34px; height: 34px; left: 50%; top: 13%; transform: translateX(-50%); fill: var(--gold); filter: drop-shadow(0 0 14px rgba(200, 164, 93, .6)); animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .55; transform: translateX(-50%) scale(.85) rotate(45deg); } }
.day { position: relative; background: rgba(251, 247, 240, .06); border: 1px solid rgba(251, 247, 240, .12); border-radius: var(--r); padding: 18px 18px 8px; backdrop-filter: blur(6px); }
.day__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--font-display); color: var(--ivory); font-size: 1.15rem; }
.day__live { display: inline-flex; align-items: center; gap: 6px; font: 700 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.day__live i { width: 7px; height: 7px; border-radius: 50%; background: #7FD1A3; box-shadow: 0 0 0 0 rgba(127, 209, 163, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(127, 209, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 209, 163, 0); } }
.day__list { list-style: none; padding: 0; margin: 0; }
.day__list li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(251, 247, 240, .08); color: var(--on-navy-dim); font-size: .9rem; line-height: 1.4; position: relative; }
.day__list li:first-child { border-top: 0; }
.day__list time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--on-navy-dim); font-size: .82rem; padding-top: 1px; }
.day__list .is-done span { color: var(--on-navy); }
.day__list .is-done span::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23081626' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat; }
.day__list .is-now { color: var(--ivory); }
.day__list .is-now time { color: var(--gold); }
.day__list .is-now::after { content: ''; position: absolute; left: -18px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--gold); }

.float { position: absolute; display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.float p { margin: 0; }
.float__h { font-weight: 700; font-size: .88rem; color: var(--navy); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.float__h span { font-weight: 600; color: var(--faint); font-size: .78rem; }
.float__t { font-size: .86rem; color: var(--dim); line-height: 1.45; }
.float--note { left: -8%; bottom: 8%; max-width: 310px; }
.float__avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 .78rem/1 var(--font-body); color: var(--deep); background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }
.float--plan { right: -6%; top: 30%; align-items: center; }
.float--plan > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: var(--ok); background: #E6F2EB; }
.hero__sample { position: absolute; right: 0; bottom: 0; margin: 0; font-size: .74rem; color: var(--faint); letter-spacing: .04em; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(14, 34, 56, .25); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold-deep); animation: scrollcue 2.2s var(--ease-out) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .arch { margin: 0 auto; }
  .float--note { left: -2%; }
  .float--plan { right: -2%; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .arch { padding: 32% 18px 18px; }
  .float--note { position: relative; left: auto; bottom: auto; margin: -48px 12px 0; max-width: none; }
  .float--plan { top: 4%; right: -4px; padding: 10px 12px; }
  .float--plan > .ic { width: 32px; height: 32px; padding: 7px; }
  .hero__sample { position: static; text-align: center; margin-top: 10px; }
}

/* ---------------------------------------------------------------- marquee (21st.dev marquee, CSS only) */
.assure { background: var(--navy); color: var(--on-navy); padding: 20px 0; border-block: 1px solid rgba(200, 164, 93, .25); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 44px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee var(--dur, 48s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 22px)); } }
.assure li { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; letter-spacing: .01em; }
.assure li { gap: 16px; }
.marquee__star { width: 14px; height: 14px; fill: var(--gold); }

/* ---------------------------------------------------------------- promise (scrubbed word reveal) */
.promise { text-align: center; }
.promise .eyebrow::before { display: none; }
.promise__text { font-family: var(--font-display); font-size: clamp(1.8rem, 3.8vw, 3.05rem); line-height: 1.25; letter-spacing: -.015em; color: var(--navy); margin: 0 auto 2.2rem; max-width: 26ch; font-weight: 400; text-wrap: balance; }
.promise__sign { display: inline-flex; align-items: center; gap: 12px; color: var(--dim); font-weight: 600; font-size: .95rem; }
.promise__sign img { width: 44px; height: 44px; }

/* ---------------------------------------------------------------- section heads */
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.section-head--split h2 { margin: 0; }
.section-head--split .lead { margin: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; gap: 16px; } }

/* ---------------------------------------------------------------- services bento + spotlight */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 26px; overflow: hidden; transition: transform var(--t) var(--ease-out), box-shadow var(--t), border-color var(--t); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.svc__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--gold-deep); margin-bottom: 22px; border: 1px solid var(--line); }
.svc__icon .ic { width: 26px; height: 26px; }
.svc h3 { margin-bottom: .45em; }
.svc p { color: var(--dim); font-size: 1rem; }
.svc__pts { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.svc__pts li { display: flex; gap: 9px; align-items: center; font-size: .94rem; font-weight: 600; color: var(--ink); }
.svc__pts .ic { width: 16px; height: 16px; color: var(--gold-deep); }
.svc__link { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: .93rem; color: var(--navy); text-decoration: none; }
.svc__link .ic { width: 17px; height: 17px; transition: transform var(--t) var(--ease-out); }
.svc__link:hover .ic { transform: translateX(4px); }
.svc--feature { grid-row: span 2; background: linear-gradient(170deg, var(--navy-2), var(--navy) 60%, var(--deep)); border-color: transparent; color: var(--on-navy); padding: 38px 34px; }
.svc--feature h3 { color: var(--ivory); font-size: 1.9rem; }
.svc--feature p { color: var(--on-navy-dim); font-size: 1.06rem; }
.svc--feature .svc__icon { background: rgba(200, 164, 93, .14); border-color: rgba(200, 164, 93, .3); color: var(--gold); width: 60px; height: 60px; }
.svc--feature .svc__pts li { color: var(--on-navy); }
.svc--feature .svc__pts .ic { color: var(--gold); }
.svc--feature .svc__link { color: var(--gold); }
.svc--feature::after { content: ''; position: absolute; right: -30%; bottom: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(200, 164, 93, .22), transparent 65%); pointer-events: none; }
/* 21st.dev "spotlight card": a soft gold light that follows the pointer (coordinates set in site.js). */
.spot::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity var(--t-slow); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 164, 93, .16), transparent 60%); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.svc__arch { position: absolute; right: -6%; bottom: -8%; width: 72%; color: rgba(200, 164, 93, .22); pointer-events: none; z-index: 0 !important; }
.svc--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; column-gap: 28px; align-items: center; }
.svc--wide .svc__icon { grid-row: span 2; margin: 0; }
.svc--wide h3 { grid-column: 2; margin: 0; }
.svc--wide p { grid-column: 2; margin: 0; }
.svc--wide .svc__pts { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.svc--wide .svc__link { grid-column: 2; margin-top: 12px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc--feature { grid-row: auto; grid-column: span 2; } .svc--wide { grid-column: span 2; } }
@media (max-width: 760px) { .svc--wide { display: flex; } .svc--wide .svc__icon { margin-bottom: 22px; } .svc--wide h3 { margin-bottom: .45em; } .svc--wide p { margin-bottom: 1em; } .svc--wide .svc__pts { margin: 4px 0 22px; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .svc--feature, .svc--wide { grid-column: auto; } }

/* ---------------------------------------------------------------- standard */
.standard__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.standard__head { position: sticky; top: calc(var(--header-h) + 40px); }
.standard__head .lead { margin-bottom: 2rem; }
.standard__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.std { display: grid; grid-template-columns: auto auto 1fr; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.std:last-child { border-bottom: 1px solid var(--line); }
.std__n { font-family: var(--font-display); font-size: .95rem; color: var(--gold-deep); padding-top: 12px; font-variant-numeric: tabular-nums; }
.std__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold-soft); color: var(--navy); background: var(--paper); transition: background var(--t), color var(--t), transform var(--t) var(--ease-out); }
.std__icon .ic { width: 22px; height: 22px; }
.std:hover .std__icon { background: var(--navy); color: var(--gold); transform: rotate(-8deg); }
.std h3 { font-size: 1.3rem; margin-bottom: .3em; }
.std p { color: var(--dim); margin: 0; }
@media (max-width: 900px) { .standard__in { grid-template-columns: 1fr; } .standard__head { position: static; } }
@media (max-width: 520px) { .std { grid-template-columns: auto 1fr; } .std__n { display: none; } }

/* ---------------------------------------------------------------- how it works (sticky scroll story) */
.how { overflow: clip; }
.how__glow { position: absolute; width: 60vw; aspect-ratio: 1; right: -20vw; top: -10vw; border-radius: 50%; background: radial-gradient(circle, rgba(200, 164, 93, .16), transparent 62%); pointer-events: none; }
.how__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); position: relative; }
.how__sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.how__meter { height: 2px; background: rgba(251, 247, 240, .14); border-radius: 2px; margin: 36px 0 14px; max-width: 360px; overflow: hidden; }
.how__meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform-origin: left; transform: scaleX(.25); transition: transform var(--t-slow) var(--ease-out); }
.how__count { font-family: var(--font-display); font-size: 1.1rem; color: var(--on-navy-dim); font-variant-numeric: tabular-nums; }
.how__count span { color: var(--gold); font-size: 2.2rem; }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.how__step { position: relative; padding: 34px 34px 30px; border-radius: var(--r-lg); background: rgba(251, 247, 240, .04); border: 1px solid rgba(251, 247, 240, .1); transition: background var(--t-slow), border-color var(--t-slow), opacity var(--t-slow), transform var(--t-slow) var(--ease-out); }
.js .how__step { opacity: .7; }
.js .how__step.is-active { opacity: 1; background: rgba(251, 247, 240, .07); border-color: rgba(200, 164, 93, .45); }
.how__n { display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 18px; }
.how__step h3 { font-size: 1.6rem; }
.how__step p { color: var(--on-navy-dim); font-size: 1.04rem; }
.how__tag { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--gold-soft); background: rgba(200, 164, 93, .12); border-radius: 999px; padding: 7px 14px; }
.how__tag .ic { width: 15px; height: 15px; }
@media (max-width: 900px) { .how__in { grid-template-columns: 1fr; } .how__sticky { position: static; } .how__meter, .how__count { display: none; } .js .how__step { opacity: 1; } }

/* ---------------------------------------------------------------- numbers (number ticker) */
.numbers { background: var(--deep); color: var(--on-navy); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid rgba(200, 164, 93, .2); }
.numbers__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num { text-align: center; padding: 8px 12px; position: relative; }
.num + .num::before { content: ''; position: absolute; left: -12px; top: 15%; bottom: 15%; width: 1px; background: rgba(251, 247, 240, .12); }
.num__v { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: var(--gold); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.num__v small { font-size: .38em; margin-left: 4px; color: var(--gold-soft); font-family: var(--font-body); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.num__l { margin: 0; color: var(--on-navy-dim); font-size: .95rem; }
@media (max-width: 760px) { .numbers__in { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .num:nth-child(3)::before { display: none; } }

/* ---------------------------------------------------------------- paying for care */
.pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pay__card { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; transition: transform var(--t) var(--ease-out), box-shadow var(--t); }
.pay__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pay__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 20px; }
.pay__icon .ic { width: 23px; height: 23px; }
.pay__card h3 { font-size: 1.28rem; }
.pay__card p { color: var(--dim); font-size: .98rem; margin: 0; }
@media (max-width: 980px) { .pay { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pay { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- testimonials */
.marquee--cards .marquee__track { gap: 20px; --dur: 70s; padding: 8px 0 20px; }
.voice { width: min(380px, 80vw); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.voice__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 12px; }
.voice__stars .ic { width: 17px; height: 17px; }
.voice blockquote { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--navy); }
.voice__who { margin: 0; font-size: .9rem; color: var(--dim); }

/* ---------------------------------------------------------------- FAQ accordion (details, animated height) */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__head .lead { margin-bottom: 1.8rem; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); line-height: 1.3; }
.acc summary::-webkit-details-marker { display: none; }
.acc__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--navy); transition: transform var(--t) var(--ease-out), background var(--t), color var(--t); }
.acc__ic .ic { width: 18px; height: 18px; }
.acc[open] .acc__ic { transform: rotate(45deg); background: var(--navy); color: var(--gold); border-color: var(--navy); }
.acc__body { display: grid; grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { color: var(--dim); padding: 0 56px 24px 0; margin: 0; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .acc::details-content { block-size: 0; overflow: clip; transition: block-size var(--t) var(--ease-out), content-visibility var(--t) allow-discrete; }
  .acc[open]::details-content { block-size: auto; }
}
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__head { position: static; } .acc__body p { padding-right: 0; } }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }

/* ---------------------------------------------------------------- consultation */
.consult { position: relative; padding: var(--section) 0; background: var(--navy); color: var(--on-navy); overflow: hidden; isolation: isolate; scroll-margin-top: var(--header-h); }
.consult__aurora span:nth-child(1) { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; left: -15%; top: -30%; background: radial-gradient(circle, rgba(200, 164, 93, .35), transparent 62%); opacity: .6; }
.consult__aurora span:nth-child(2) { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; right: -15%; bottom: -35%; background: radial-gradient(circle, rgba(126, 156, 139, .35), transparent 62%); opacity: .5; animation-delay: -10s; }
.consult__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.consult h2 { color: var(--ivory); }
.consult h2 em { color: var(--gold); }
.consult .lead { color: var(--on-navy-dim); }
.consult__next { list-style: none; padding: 0; margin: 2.2rem 0; display: grid; gap: 20px; }
.consult__next li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.consult__next li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(200, 164, 93, .5); color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; }
.consult__next strong { color: var(--ivory); font-size: 1.05rem; }
.consult__next p { margin: 2px 0 0; color: var(--on-navy-dim); font-size: .96rem; }
.consult__direct { padding-top: 24px; border-top: 1px solid rgba(251, 247, 240, .14); display: grid; gap: 10px; }
.consult__direct p { margin: 0; color: var(--on-navy-dim); font-size: .9rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.consult__direct a { display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; }
.consult__direct a .ic { color: var(--gold); width: 22px; height: 22px; }
.consult__card { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 100px rgba(0, 0, 0, .35); position: relative; }
.consult__card::before { content: ''; position: absolute; inset: 0 24px auto; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
@media (max-width: 960px) { .consult__in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- forms */
.form { position: relative; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full, .field--wide { grid-column: 1 / -1; }
.field--third { grid-column: auto; }
.field label, .field legend { font-weight: 700; font-size: .93rem; color: var(--navy); padding: 0; }
.req { color: var(--err); }
.field input, .field select, .field textarea, .form input:not([type=radio]):not([type=checkbox]):not(.hp), .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; font: 500 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line-strong); border-radius: 12px; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); appearance: none; -webkit-appearance: none;
}
.field select, .form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2238' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea, .form textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D6C7AE; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--paper); box-shadow: 0 0 0 4px rgba(200, 164, 93, .35); }
.field [aria-invalid="true"] { border-color: var(--err); background: #FDF3F2; }
.chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; float: left; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--ivory); font-weight: 600; font-size: .92rem; color: var(--ink); transition: all var(--t-fast); }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.chip input:checked + span::before { content: ''; width: 14px; height: 14px; margin-right: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8A45D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.radios { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.radios legend { width: 100%; margin-bottom: 8px; float: left; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 40px; }
.radios input { width: 20px; height: 20px; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.form__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--faint); font-size: .88rem; }
.form__note .ic { width: 16px; height: 16px; }
.form__note--block { margin-top: 14px; }
.form__msg { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: #FDF3F2; color: var(--err); font-weight: 600; border: 1px solid #F3D3CF; }
.form__success { text-align: center; padding: 30px 8px 10px; }
.form__success:focus { outline: none; }
.form__success-ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--gold); margin-bottom: 20px; animation: pop .6s var(--ease-out); }
.form__success-ic .ic { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.form__success h3 { font-size: 1.7rem; }
.form__success p { color: var(--dim); max-width: 44ch; margin-inline: auto; }
.form.is-done > :not(.form__success) { display: none; }
.steps { list-style: none; display: none; gap: 10px; padding: 0; margin: 0 0 28px; }
.js .steps { display: flex; }
.steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .88rem; color: var(--faint); padding-bottom: 12px; border-bottom: 2px solid var(--line); transition: color var(--t), border-color var(--t); }
.steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: .82rem; }
.steps li.is-on { color: var(--navy); border-color: var(--gold); }
.steps li.is-done { color: var(--gold-deep); border-color: var(--gold-deep); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .step[data-step="2"] { display: none; }
.js .quote-form.on-2 .step[data-step="1"] { display: none; }
.js .quote-form.on-2 .step[data-step="2"] { display: block; animation: stepIn .45s var(--ease-out); }
.js .quote-form.on-1b .step[data-step="1"] { animation: stepIn .45s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
html:not(.js) .step + .step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
html:not(.js) [data-next], html:not(.js) [data-back] { display: none; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } .form__foot .btn--lg { width: 100%; } }

/* ---------------------------------------------------------------- careers */
.careers { background: var(--sand); padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.careers__in { display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.careers h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 22ch; }
.careers p { color: var(--dim); max-width: 60ch; margin: 0; }
@media (max-width: 820px) { .careers__in { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- CTA band (inner pages) */
.cta-band { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 50vw; aspect-ratio: 1; left: -10vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(200, 164, 93, .22), transparent 62%); }
.cta-band__in { position: relative; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: var(--ivory); margin-bottom: .3em; }
.cta-band p { color: var(--on-navy-dim); margin: 0; max-width: 56ch; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; background: var(--deep); color: var(--on-navy-dim); padding: clamp(64px, 8vw, 96px) 0 0; overflow: hidden; }
.footer__glow { position: absolute; width: 70vw; aspect-ratio: 1; left: 50%; top: -55vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(200, 164, 93, .14), transparent 60%); pointer-events: none; }
.footer__top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo img { height: 52px; width: auto; }
.footer__tag { margin: 18px 0 20px; max-width: 34ch; font-size: .98rem; }
.footer__h { font: 700 .78rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__links a { color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: .96rem; }
.footer__links a:hover { color: var(--gold); }
.footer__links--icons li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-navy); }
.footer__links--icons .ic { width: 17px; height: 17px; color: var(--gold); margin-top: 4px; }
.footer__note { display: block; color: var(--on-navy-dim); font-size: .88rem; }
.footer__cta { margin-top: 22px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(251, 247, 240, .18); color: var(--on-navy); }
.social a:hover { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.social .ic { width: 18px; height: 18px; }
.footer__areas { position: relative; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(251, 247, 240, .1); font-size: .92rem; }
.footer__areas-h { display: inline-flex; gap: 8px; align-items: center; color: var(--on-navy); font-weight: 700; }
.footer__areas-h .ic { width: 16px; height: 16px; color: var(--gold); }
.footer__areas ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.footer__areas li { border: 1px solid rgba(251, 247, 240, .14); border-radius: 999px; padding: 4px 12px; }
.footer__wordmark { position: relative; font-family: var(--font-display); font-weight: 500; font-size: clamp(5rem, 19vw, 17rem); line-height: .8; letter-spacing: -.045em; text-align: center; margin-top: 40px; color: transparent; background: linear-gradient(180deg, rgba(200, 164, 93, .32), rgba(200, 164, 93, 0) 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer__legal { position: relative; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding-block: 24px 32px; border-top: 1px solid rgba(251, 247, 240, .1); font-size: .86rem; }
.footer__legal a { color: var(--on-navy-dim); }
.footer__legal a:hover { color: var(--gold); }
.powered-by a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.pb-icon { width: 20px; height: 20px; border-radius: 4px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* mobile quick contact bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(14, 34, 56, .94); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(8, 22, 38, .35); transform: translateY(140%); transition: transform var(--t-slow) var(--ease-out); }
  .mobile-bar.is-shown { transform: none; }
  .mobile-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--ivory); }
  .mobile-bar .ic { width: 18px; height: 18px; }
  .mobile-bar__cta { background: var(--gold); color: var(--deep) !important; }
  .site-footer { padding-bottom: 88px; }
}

/* ---------------------------------------------------------------- inner pages (kit templates) */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(ellipse at 80% 0%, #EFE0C3 0%, transparent 55%), var(--ivory); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 20ch; }
.page-hero .lead { margin-bottom: 1.6rem; }
.crumbs { font-size: .88rem; color: var(--faint); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--dim); text-decoration: none; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.card, .panel { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--gold-deep); margin-bottom: 18px; }
.card__icon .ic { width: 24px; height: 24px; }
.card__link { font-weight: 700; color: var(--navy); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--gold-deep); width: 18px; height: 18px; margin-top: 4px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--r); }
.flash { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.flash--ok { background: #E6F2EB; color: var(--ok); }
.flash--err { background: #FDF3F2; color: var(--err); }
.auth-wrap { min-height: 60vh; display: grid; place-items: center; padding: 64px var(--gutter); }
.auth-card { width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow); }
.auth-help { color: var(--dim); font-size: .92rem; }
.data-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.data-list li { display: grid; grid-template-columns: 15ch 1fr; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.data-list .k { color: var(--dim); font-weight: 600; }
@media (max-width: 480px) { .data-list li { grid-template-columns: 1fr; gap: 2px; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.empty { color: var(--faint); text-align: center; padding: 40px 0; }
.count { color: var(--faint); }
.portal-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--dim); font-size: .92rem; text-align: center; }
.portal-footer__small { color: var(--faint); }

/* ---------------------------------------------------------------- reveal (CSS path, used when GSAP is absent) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), filter var(--t-slow) var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; filter: none; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > [aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .btn--shine::after { display: none; }
}

@media print {
  .site-header, .mobile-bar, .hero__aurora, .consult__aurora, .assure { display: none !important; }
  body { background: #fff; }
}

/* Hero intro: hidden only until motion.js takes over. site.js adds .motion-off after 2.5s if GSAP never
   loaded, so a blocked CDN can never leave the hero blank. */
@media (prefers-reduced-motion: no-preference) {
  .js body.page-home:not(.motion-off) .hero [data-split],
  .js body.page-home:not(.motion-off) .hero [data-fade],
  .js body.page-home:not(.motion-off) .hero__visual { visibility: hidden; }
}
.split-line { padding-bottom: .06em; }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------------------------------------------------------------- family account: visits */
.page-account .panel { margin-bottom: 20px; }
.page-account .panel h2 { font-size: 1.5rem; }
.visit-list { list-style: none; margin: 0; padding: 0; }
.visit-list li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.visit-list li:first-child { border-top: 0; }
.visit-list__day { font-weight: 700; color: var(--navy); min-width: 14ch; }
.visit-note { padding: 20px 0; border-top: 1px solid var(--line-soft); }
.visit-note:first-of-type { border-top: 0; padding-top: 4px; }
.visit-note__h { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 10px; color: var(--dim); }
.visit-note__h strong { color: var(--navy); }
.visit-note__mood { font-size: .8rem; font-weight: 700; color: var(--gold-deep); background: var(--sand); border-radius: 999px; padding: 2px 10px; }
.visit-note blockquote { margin: 0 0 6px; padding-left: 16px; border-left: 3px solid var(--gold); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.55; color: var(--navy); }
.visit-note__by { font-size: .9rem; color: var(--dim); margin: 0 0 10px; padding-left: 19px; }
.visit-note .checks { font-size: .95rem; margin: 0; }
