/* Sunstate Family Practice: Skin Cancer Check & Total Body Mapping landing page */

:root {
  --plum: #75336E;
  --plum-deep: #3A1737;
  --plum-ink: #241821;
  --green: #1DA464;
  --green-hover: #17904F;
  --mist: #F6F1F5;
  --lilac: #EADCE8;
  --stone: #6B6170;
  --line: #E4DCE2;
  --white: #fff;
  --changed: #E05FC8;

  --f-display: "Red Hat Display", system-ui, sans-serif;
  --f-text: "Red Hat Text", system-ui, sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --sh-1: 0 1px 2px rgba(58, 23, 55, .06), 0 8px 24px rgba(58, 23, 55, .10);
  --sh-2: 0 2px 4px rgba(58, 23, 55, .06), 0 24px 60px -12px rgba(58, 23, 55, .28);
  --sh-3: 0 30px 80px -20px rgba(20, 8, 19, .55);

  --hdr-h: 88px;
  --gutter: clamp(16px, 4vw, 48px);
  --sect: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--plum-ink);
  background: var(--white);
}
main, footer { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--plum); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.08; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.h2 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--plum);
  text-wrap: balance;
  margin-bottom: .45em;
}
.h2--light { color: #fff; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--plum-ink); }
.lead--light { color: rgba(255, 255, 255, .82); }
.small { font-size: .875rem; color: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.5em;
  font-family: var(--f-display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; border: 0; border-radius: 999px;
  transition: background-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 164, 100, .8); }
.btn--green:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-deep); }
.btn--ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--plum); }
.btn--ghost:hover { background: var(--plum); color: #fff; }
.btn--lg { min-height: 58px; padding: .9em 1.9em; font-size: 1.0625rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--hdr-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(58, 23, 55, .25); border-color: var(--line); }
.hdr {
  height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.hdr__logo { flex: none; display: block; }
.hdr__logo img { height: 56px; width: auto; }
.hdr__nav { flex: 1; display: flex; justify-content: center; }
.hdr__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2vw, 34px); }
.hdr__nav a {
  font-family: var(--f-display); font-weight: 800; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--plum-ink); text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap;
}
.hdr__nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.hdr__nav ul a:hover::after, .hdr__nav ul a.is-current::after { transform: scaleX(1); }
.hdr__nav-cta { display: none; }
.hdr__phone { flex: none; display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; text-align: right; }
.hdr__phone-label { font-family: var(--f-display); font-weight: 800; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-hover); }
.hdr__phone-num { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; color: var(--plum); letter-spacing: -0.01em; }
.hdr__book { flex: none; }
.hdr__booknow, .hdr__icons { display: none; }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: inline-grid; place-items: center; background: var(--mist); color: var(--plum);
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.hdr__burger { flex-direction: column; gap: 5px; display: inline-flex; align-items: center; justify-content: center; }
.hdr__burger span { display: block; width: 20px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .3s, opacity .2s; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .hdr__phone-num { font-size: 1.3rem; }
  .hdr__nav ul { gap: 18px; }
  .hdr__nav a { font-size: .875rem; }
}
@media (max-width: 1200px) {
  :root { --hdr-h: 68px; }
  .hdr { gap: 12px; }
  .hdr__logo img { height: 44px; }
  .hdr__phone, .hdr__book { display: none; }
  .hdr__icons { display: flex; gap: 8px; margin-left: auto; }
  .hdr__booknow { min-height: 42px; padding: .55em 1.2em; font-size: .875rem; }
  .site-header.is-scrolled .hdr__logo { display: none; }
  .site-header.is-scrolled .hdr__booknow { display: inline-flex; animation: pop .35s ease; }

  .hdr__nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0; z-index: 99;
    flex-direction: column; justify-content: flex-start;
    background: #fff; padding: 12px var(--gutter) 28px;
    box-shadow: 0 30px 40px -20px rgba(58, 23, 55, .35);
    max-height: calc(100svh - var(--hdr-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .25s, visibility .3s;
  }
  .hdr__nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .hdr__nav ul { flex-direction: column; gap: 0; }
  .hdr__nav ul a { display: block; padding: 16px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .hdr__nav ul a::after { display: none; }
  .hdr__nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .hdr__nav-phone { text-align: center; font-family: var(--f-display); font-weight: 800; color: var(--plum); text-decoration: none; padding: 10px; }
}
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--hdr-h));
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--plum-ink) url("img/video-poster.webp") center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 24, 33, .92) 0%, rgba(58, 23, 55, .82) 32%, rgba(58, 23, 55, .35) 56%, rgba(58, 23, 55, 0) 72%),
    linear-gradient(0deg, rgba(36, 24, 33, .45), rgba(36, 24, 33, 0) 40%);
}
.hero__inner { width: 100%; max-width: 1440px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) var(--gutter); }
.hero__copy { max-width: min(640px, 50%); }
.hero__kicker { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; color: #8FE3B8; margin-bottom: 14px; }
.hero__title {
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem);
  font-weight: 900; letter-spacing: -0.035em; line-height: .98;
  margin-bottom: 22px; text-wrap: balance;
}
.hero__sub { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 34em; margin-bottom: 26px; }
.hero__points { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 10px; }
.hero__points li { position: relative; padding-left: 34px; font-weight: 500; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__link { color: #fff; font-weight: 700; text-underline-offset: 5px; }

/* load sequence */
.js .hero__copy > * { opacity: 0; transform: translateY(18px); }
.js .hero.is-in .hero__copy > * { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .hero.is-in .hero__copy > :nth-child(2) { transition-delay: .08s; }
.js .hero.is-in .hero__copy > :nth-child(3) { transition-delay: .18s; }
.js .hero.is-in .hero__copy > :nth-child(4) { transition-delay: .28s; }
.js .hero.is-in .hero__copy > :nth-child(5) { transition-delay: .4s; }
.js .hero__points li { opacity: 0; transform: translateX(-10px); }
.js .hero.is-in .hero__points li { opacity: 1; transform: none; transition: opacity .5s, transform .5s; }
.js .hero.is-in .hero__points li:nth-child(1) { transition-delay: .45s; }
.js .hero.is-in .hero__points li:nth-child(2) { transition-delay: .53s; }
.js .hero.is-in .hero__points li:nth-child(3) { transition-delay: .61s; }
.js .hero.is-in .hero__points li:nth-child(4) { transition-delay: .69s; }
.js .hero.is-in .hero__points li:nth-child(5) { transition-delay: .77s; }

@media (max-width: 900px) {
  .hero { align-items: flex-end; min-height: calc(100svh - var(--hdr-h)); }
  .hero__shade { background: linear-gradient(0deg, rgba(36, 24, 33, .95) 0%, rgba(58, 23, 55, .85) 55%, rgba(58, 23, 55, .25) 85%); }
  .hero__copy { max-width: 100%; }
  .hero__inner { padding-top: 20vh; padding-bottom: 36px; }
  .hero__title { margin-bottom: 16px; }
  .hero__sub { margin-bottom: 18px; }
  .hero__points { margin-bottom: 26px; }
    .hero__points { gap: 8px; font-size: 1rem; }
}

/* ---------- Image reveal (editorial wipe) ---------- */
.js .reveal-img { clip-path: inset(0 0 100% 0 round var(--r-xl)); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.js .tech__sat--lens.reveal-img { transition-delay: .25s; clip-path: circle(0% at 50% 50%); }
.js .tech__sat--lens.reveal-img.is-visible { clip-path: circle(50% at 50% 50%); }
.js .tech__sat--device.reveal-img { transition-delay: .45s; }

/* ---------- Technology ---------- */
.tech { padding: var(--sect) 0; background: #fff; }
.tech__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tech__collage { position: relative; aspect-ratio: 1 / .95; }
.tech__main { position: absolute; left: 8%; top: 12%; width: 86%; height: 66%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); }
.tech__main img { width: 100%; height: 100%; object-fit: cover; }
.tech__sat { position: absolute; overflow: hidden; box-shadow: var(--sh-2); border: 6px solid #fff; }
.tech__sat img { width: 100%; height: 100%; object-fit: cover; }
.tech__sat--lens { right: -2%; bottom: 0; width: 40%; aspect-ratio: 1; border-radius: 50%; }
.tech__sat--device { left: 0; top: 0; width: 36%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.tech__sat--device img { object-position: 30% 40%; }
.tech__chip {
  position: absolute; left: 2%; bottom: 8%; display: flex; gap: 12px; align-items: center;
  background: #fff; border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--sh-2);
  font-size: .9375rem; line-height: 1.35; max-width: 280px;
  animation: float 6s ease-in-out infinite;
}
.tech__chip strong { font-family: var(--f-display); color: var(--plum); }
@keyframes float { 50% { transform: translateY(-8px); } }

.tech__facts { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.tech__facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tech__facts dt { font-family: var(--f-display); font-weight: 800; color: var(--plum); }
.tech__facts dd { margin: 0; color: var(--stone); }

@media (max-width: 960px) {
  .tech__grid { grid-template-columns: 1fr; }
  .tech__collage { max-width: 620px; width: 100%; margin: 0 auto; }
  .tech__facts > div { grid-template-columns: 1fr; gap: 2px; }
  .tech__sat--device { width: 40%; }
  .tech__chip { font-size: .8125rem; padding: 10px 12px; max-width: 220px; }
}

/* ---------- Rings (shared) ---------- */
.ring { display: inline-block; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; }
.ring--base { color: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ring--new { color: var(--green); }
.ring--changed { color: var(--changed); }
.tech__chip .ring--new { box-shadow: 0 0 0 6px rgba(29, 164, 100, .18); }

/* ---------- Services ---------- */
.services { position: relative; isolation: isolate; padding: calc(var(--sect) + 40px) 0; min-height: 100vh; display: flex; align-items: center; }
.services__bg { position: absolute; inset: 0; z-index: -1; background: var(--plum-deep); }
.services__bg { background: radial-gradient(90% 120% at 100% 50%, #5b2556 0%, var(--plum-deep) 60%); }
.services__bg img {
  position: absolute; top: 0; left: 0; width: 62%; height: 100%; object-fit: cover; object-position: center 25%;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent);
  opacity: 0; transition: opacity .9s ease, transform 6s ease; transform: scale(1.06); transform-origin: left center;
}
.services__bg img.is-active { opacity: 1; transform: scale(1); }
.services__wrap { display: flex; justify-content: flex-end; }
.services__card {
  width: min(760px, 100%); background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3);
  padding: clamp(28px, 4vw, 56px);
}
.services__intro { color: var(--stone); margin-bottom: 28px; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: 999px; padding: 6px; margin-bottom: 28px; }
.tab {
  position: relative; z-index: 1; border: 0; background: none; border-radius: 999px; min-height: 48px; padding: 10px 14px;
  font-family: var(--f-display); font-weight: 800; font-size: 1rem; color: var(--plum); transition: color .3s;
}
.tab.is-active { color: #fff; }
.tabs__ink { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--plum); transition: transform .45s cubic-bezier(.6,0,.2,1); }
.tabs[data-active="mapping"] .tabs__ink { transform: translateX(100%); }
.panel.is-active { animation: panelIn .5s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel__cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.panel__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); aspect-ratio: 4 / 5; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.services__foot { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.services__foot p { margin: 0; color: var(--stone); font-size: .9375rem; max-width: 34em; }

.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; }
.ticks li::before { background: rgba(29, 164, 100, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231DA464' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.crosses li::before { background: rgba(117, 51, 110, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2375336E' stroke-width='3' stroke-linecap='round' d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }

@media (max-width: 760px) {
  .services { padding: 46vh 0 0; min-height: 0; display: block; }
  .services__wrap { padding: 0; }
  .services__card { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .services__bg { bottom: auto; height: 60vh; }
  .services__bg img { width: 100%; -webkit-mask-image: none; mask-image: none; object-position: center 20%; }
  .panel__cols { grid-template-columns: 1fr; }
  .panel__img { aspect-ratio: 16 / 10; }
  .services__foot { flex-direction: column; align-items: flex-start; }
  .tab { font-size: .9rem; }
}

/* ---------- Bodyscan ---------- */
.scan { background: radial-gradient(120% 90% at 85% 10%, #5b2556 0%, var(--plum-deep) 45%, #210c1f 100%); color: #fff; padding: var(--sect) 0; overflow: hidden; }
.scan__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 5px; margin: 10px 0 28px; }
.seg__btn { border: 0; border-radius: 999px; min-height: 46px; padding: 8px 22px; background: transparent; color: #fff; font-family: var(--f-display); font-weight: 800; transition: background .3s, color .3s; }
.seg__btn.is-active { background: #fff; color: var(--plum); }
.legend { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; font-size: 1.0625rem; }
.legend li { display: flex; gap: 14px; align-items: center; }
.legend b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 900; margin-right: 4px; display: inline-block; min-width: 1.4em; }
.scan__note { font-size: .875rem; color: rgba(255,255,255,.6); max-width: 36em; }

.scan__stage { position: relative; padding: 0 0 40px 40px; }
.scan__figure { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.scan__figure img { width: 100%; }
.scan__rings span {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: clamp(18px, 2.4vw, 30px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid #fff; transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 12px rgba(255,255,255,.35);
  transition: transform .5s cubic-bezier(.3,1.5,.5,1), border-color .4s, opacity .4s, box-shadow .4s;
  transition-delay: calc(var(--i, 0) * 40ms);
}
.scan__stage[data-visit="baseline"] .scan__rings span[data-s="n"] { transform: translate(-50%, -50%) scale(0); opacity: 0; }
.scan__stage[data-visit="followup"] .scan__rings span[data-s="u"] { opacity: .55; }
.scan__stage[data-visit="followup"] .scan__rings span[data-s="c"] { border-color: var(--changed); border-width: 3px; box-shadow: 0 0 0 6px rgba(224, 95, 200, .25); animation: pulse 1.8s ease-in-out .6s infinite; }
.scan__stage[data-visit="followup"] .scan__rings span[data-s="n"] { border-color: var(--green); border-width: 3px; box-shadow: 0 0 0 6px rgba(29, 164, 100, .28); }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(224, 95, 200, 0); } }
.scan__sweep { position: absolute; left: 0; right: 0; top: 0; height: 30%; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(29,164,100,0), rgba(29,164,100,.22) 85%, rgba(143,227,184,.9) 100%); }
.scan__stage.is-sweeping .scan__sweep { animation: sweep 1.1s cubic-bezier(.5,0,.3,1) both; }
@keyframes sweep { 0% { opacity: 1; transform: translateY(-100%); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(340%); } }

.scan__zoom {
  position: absolute; left: 0; bottom: 0; width: 38%; background: #fff; color: var(--plum-ink);
  border-radius: var(--r-lg); padding: 10px 10px 14px; box-shadow: var(--sh-3);
  opacity: 0; transform: translateY(20px) scale(.92); transition: opacity .5s .5s, transform .6s .5s cubic-bezier(.3,1.3,.5,1);
}
.scan__zoom img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.scan__zoom figcaption { font-size: .8125rem; font-weight: 700; padding: 10px 4px 0; line-height: 1.3; }
.scan__stage[data-visit="followup"] .scan__zoom { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .scan__grid { grid-template-columns: 1fr; }
  .scan__stage { max-width: 560px; margin: 0 auto; padding: 0 0 30px 20px; width: 100%; }
}

/* ---------- Process ---------- */
.process { padding: var(--sect) 0; background: var(--mist); }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.process__head { position: sticky; top: calc(var(--hdr-h) + 32px); }
.process__head > p { color: var(--stone); max-width: 32em; }
.process__media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); margin: 28px 0 28px; background: var(--plum-deep); }
.process__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1.2s; }
.process__media img.is-active { opacity: 1; transform: none; }
.process__media img[data-step-img="4"] { object-position: center 30%; }

.steps { list-style: none; margin: 0; padding: 12vh 0; display: grid; gap: 14vh; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start;
  background: transparent; border-radius: var(--r-lg); padding: 30px 30px 30px 26px;
  transition: background .4s, box-shadow .4s, opacity .4s;
  opacity: .45;
}
.step.is-active { background: #fff; box-shadow: var(--sh-2); opacity: 1; }
.step__n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; color: var(--plum); background: var(--lilac);
  transition: background .4s, color .4s;
}
.step.is-active .step__n { background: var(--green); color: #fff; }
.step h3 { font-size: 1.5rem; font-weight: 800; color: var(--plum); margin: 10px 0 10px; letter-spacing: -0.01em; }
.step p { color: var(--stone); margin: 0; }
.step__img { display: none; }

@media (max-width: 900px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .process__media { display: none; }
  .steps { padding: 0; gap: 16px; }
  .step { grid-template-columns: 48px 1fr; padding: 22px; background: #fff; box-shadow: var(--sh-1); opacity: 1; }
  .step__n { width: 44px; height: 44px; font-size: 1.2rem; }
  .step__img { display: block; margin-top: 16px; border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
}

/* ---------- Compare ---------- */
.compare { padding: var(--sect) 0; background: #fff; }
.compare__title { text-align: center; max-width: 18ch; margin: 0 auto 56px; }
.compare__grid { display: grid; grid-template-columns: 1fr minmax(280px, 460px) 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.compare__col h3 { font-size: 1.5rem; font-weight: 800; color: var(--plum); margin-bottom: 18px; }
.compare__col--left { text-align: right; }
.compare__col--left .crosses li { padding: 0 30px 0 0; }
.compare__col--left .crosses li::before { left: auto; right: 0; }

.slider { position: relative; aspect-ratio: 1200 / 1490; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); user-select: none; touch-action: pan-y; }
.slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slider__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.slider__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.slider__handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 6l-6 6 6 6V6zm6 0v12l6-6-6-6z'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.slider__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.slider__range:focus-visible ~ .slider__handle span, .slider:focus-within .slider__handle span { outline: 3px solid #fff; outline-offset: 3px; }
.slider__tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; font-family: var(--f-display); font-weight: 800; font-size: .875rem; pointer-events: none; }
.slider__tag--l { left: 16px; background: rgba(36, 24, 33, .7); color: #fff; }
.slider__tag--r { right: 16px; background: #fff; color: var(--plum); }

@media (max-width: 900px) {
  .compare__grid { grid-template-columns: 1fr 1fr; }
  .slider { grid-column: 1 / -1; grid-row: 1; max-width: 460px; width: 100%; margin: 0 auto; }
  .compare__col--left { text-align: left; }
  .compare__col--left .crosses li { padding: 0 0 0 30px; }
  .compare__col--left .crosses li::before { left: 0; right: auto; }
}
@media (max-width: 560px) { .compare__grid { grid-template-columns: 1fr; } }

/* ---------- Local / Redlands ---------- */
.local { position: relative; z-index: 2; isolation: isolate; color: #fff; padding: clamp(120px, 22vh, 240px) 0 0; overflow: visible; }
.local__bg { position: absolute; inset: 0 0 120px 0; z-index: -1; overflow: hidden; }
.local__bg img { width: 100%; height: 120%; object-fit: cover; object-position: center 60%; will-change: transform; }
.local__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,24,33,.78) 0%, rgba(58,23,55,.45) 45%, rgba(58,23,55,0) 75%); }
.local__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.local__copy { padding-bottom: 180px; }
.local__title { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.5rem); font-weight: 900; letter-spacing: -0.035em; }
.local__copy p { color: rgba(255,255,255,.9); max-width: 32em; font-size: 1.125rem; }
.local__sat { background: #fff; color: var(--plum-ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); transform: rotate(1.5deg); }
.local__sat img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.local__sat figcaption { padding: 22px 26px 26px; }
.local__sat strong { display: block; font-family: var(--f-display); font-size: 1.2rem; color: var(--plum); margin-bottom: 8px; line-height: 1.25; }
.suburbs { display: block; font-size: .9375rem; color: var(--stone); }
@media (max-width: 900px) {
  .local { padding-top: 90px; }
  .local__inner { grid-template-columns: 1fr; }
  .local__copy { padding-bottom: 10px; }
  .local__bg { bottom: 200px; }
  .local__sat { transform: none; }
}

/* ---------- Doctors ---------- */
.doctors { padding: calc(var(--sect) + 20px) 0 var(--sect); background: #fff; position: relative; }
.doctors__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.doctors__head p { color: var(--stone); margin: 0 0 .6em; }
.doctors__feature { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.doctors__feature::before { content: ""; position: absolute; z-index: 0; left: 10%; right: -4vw; top: 22%; bottom: -36px; background: var(--plum); border-radius: var(--r-xl); }
.doc { position: relative; z-index: 1; display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 14px; box-shadow: var(--sh-1); transition: transform .3s; }
.doc:hover { transform: translateY(-4px); }
.doc img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--r-md); }
.doc h3 { font-size: 1.2rem; font-weight: 800; color: var(--plum); }
.doc__q { font-size: .8125rem; font-weight: 700; color: var(--green-hover); margin: 4px 0 6px; }
.doc__body p:last-child { margin: 0; font-size: .9375rem; color: var(--stone); line-height: 1.5; }
.doc--feature { grid-template-columns: 1fr; align-content: start; padding: 0 0 28px; overflow: hidden; box-shadow: var(--sh-2); }
.doc--feature img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; object-position: center 25%; }
.doc--feature .doc__body { padding: 10px 28px 0; }
.doc--feature h3 { font-size: 1.75rem; }
.doc--feature .doc__q { font-size: .875rem; }
.doc--feature .doc__body p:last-child { font-size: 1rem; }
.doctors__sub { margin: 92px 0 22px; font-size: 1.4rem; font-weight: 800; color: var(--plum-ink); }
.doctors__team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1100px) { .doctors__team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .doctors__head { grid-template-columns: 1fr; gap: 0; margin-bottom: 32px; }
  .doctors__feature { grid-template-columns: 1fr; }
  .doctors__feature::before { left: 30%; right: -16px; top: 30%; }
  .doctors__team { grid-template-columns: 1fr; }
  .doctors__sub { margin-top: 72px; }
}
@media (max-width: 480px) { .doc { grid-template-columns: 88px 1fr; } .doc img { width: 88px; height: 88px; } .doc--feature { grid-template-columns: 1fr; } .doc--feature img { width: 100%; height: auto; } }

/* ---------- Videos ---------- */
.videos { background: var(--plum-ink); color: #fff; padding: var(--sect) 0; }
.videos__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.videos__head .h2 { margin-bottom: .25em; }
.videos__head p { margin: 0; }
.videos__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.videos__list { position: relative; min-height: 0; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #000; box-shadow: var(--sh-3); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(29,164,100,.25); transition: transform .25s; }
.yt__play:hover { transform: scale(1.06); }
.yt__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.videos__now { margin-top: 18px; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; }
.playlist { list-style: none; margin: 0; padding: 0 6px 0 0; display: grid; gap: 8px; align-content: start; position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.playlist button { width: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; text-align: left; border: 0; border-radius: var(--r-md); padding: 6px; font-size: .9375rem; line-height: 1.3; background: rgba(255,255,255,.06); color: #fff; font-weight: 700; transition: background .2s; }
.playlist button:hover { background: rgba(255,255,255,.12); }
.playlist button.is-active { background: #fff; color: var(--plum); }
.playlist img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); background: #000; }
.videos__channel { color: #8FE3B8; font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) {
  .videos__grid { grid-template-columns: 1fr; }
  .playlist { position: static; overflow: visible; padding: 0; }
  .videos__head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Prepare ---------- */
.prep { padding: var(--sect) 0; background: #fff; }
.prep__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto auto; gap: 24px; }
.prep__intro { grid-column: 1 / span 5; grid-row: 1; align-self: end; }
.prep__intro p { color: var(--stone); }
.prep__img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); }
.prep__img img { width: 100%; height: 100%; object-fit: cover; }
.prep__img--a { grid-column: 1 / span 5; grid-row: 2 / span 2; aspect-ratio: 1; }
.prep__img--b { grid-column: 9 / span 4; grid-row: 1 / span 3; aspect-ratio: 3 / 4; align-self: center; }
.prep__list {
  grid-column: 5 / span 5; grid-row: 2 / span 2; align-self: center; z-index: 1;
  list-style: none; margin: 0; padding: clamp(24px, 3vw, 44px); background: var(--plum); color: #fff;
  border-radius: var(--r-xl); box-shadow: var(--sh-3); display: grid; gap: 16px; counter-reset: none;
}
.prep__list li { padding-left: 34px; position: relative; color: rgba(255,255,255,.88); }
.prep__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #8FE3B8; }
.prep__list strong { color: #fff; font-family: var(--f-display); }
@media (max-width: 900px) {
  .prep__grid { grid-template-columns: 1fr 1fr; }
  .prep__intro { grid-column: 1 / -1; }
  .prep__img--a { grid-column: 1; grid-row: 2; }
  .prep__img--b { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
  .prep__list { grid-column: 1 / -1; grid-row: 3; margin-top: -60px; margin-inline: 12px; }
}

/* ---------- Fees ---------- */
.fees { padding: var(--sect) 0; background: var(--mist); overflow: hidden; }
.fees__grid { display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
.fees__img { grid-column: 1; grid-row: 1; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--sh-2); width: 115%; margin-left: -25%; }
.fees__img img { width: 100%; height: 100%; object-fit: cover; }
.fees__card { grid-column: 2; grid-row: 1; position: relative; z-index: 1; margin-left: -12%; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: clamp(24px, 4vw, 52px); }
.table-wrap { overflow-x: auto; border: 1px solid #E8E4E0; border-radius: 6px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; min-width: 560px; }
.fee-table th, .fee-table td { text-align: left; padding: 16px 20px; border: 1px solid #E8E4E0; font-weight: 400; }
.fee-table thead th { background: #F4F2EF; color: #5d5859; }
.fee-table tbody th { color: var(--plum-ink); }
.fee-table td { white-space: nowrap; }
.fee-table tr > :first-child { border-left: 0; }
.fee-table tr > :last-child { border-right: 0; }
.fee-table thead tr th { border-top: 0; }
.fee-table tbody tr:last-child > * { border-bottom: 0; }
.fee-table .ph { color: var(--stone); }
.fees__note { margin: 16px 0 0; font-size: .9375rem; color: var(--stone); }
.fees__note a { white-space: nowrap; }
.fees__effective { margin: 12px 0 0; font-size: .875rem; font-weight: 700; color: var(--stone); }
.fees__fund { margin: 16px 0 0; font-style: italic; color: var(--plum); font-weight: 500; }
.fees__notes { margin: 14px 0 0; padding-left: 18px; font-size: .875rem; color: var(--stone); display: grid; gap: 6px; }
@media (max-width: 900px) {
  .fees__grid { grid-template-columns: 1fr; }
  .fees__img { grid-column: 1; width: 70%; margin: 0 0 -70px auto; }
  .fees__card { grid-column: 1; grid-row: 2; margin: 0; }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--sect) 0; background: #fff; }
.faq__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; color: var(--plum-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2375336E' stroke-width='2.5' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s, background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--lilac); }
.faq details p { color: var(--stone); padding-bottom: 20px; margin: 0; }
.faq details[open] p { animation: panelIn .35s ease; }
.faq__media { position: sticky; top: calc(var(--hdr-h) + 40px); height: 640px; }
.faq__img { position: absolute; object-fit: cover; box-shadow: var(--sh-2); }
.faq__img--a { right: 0; top: 0; width: 72%; aspect-ratio: 3 / 4; border-radius: var(--r-xl); }
.faq__img--b { left: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 4; border-radius: var(--r-xl); border: 6px solid #fff; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__media { display: none; } }

/* ---------- Final CTA ---------- */
.final { position: relative; isolation: isolate; padding: clamp(100px, 18vh, 200px) 0; overflow: hidden; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg img { width: 100%; height: 120%; object-fit: cover; object-position: 70% center; will-change: transform; }
.final__card { max-width: 600px; background: rgba(255,255,255,.97); border-radius: var(--r-xl); box-shadow: var(--sh-3); padding: clamp(28px, 4vw, 52px); }
.final__card > p { color: var(--stone); font-size: 1.125rem; }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 32px; }
.final__info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.final__info h3 { font-size: 1.05rem; font-weight: 800; color: var(--plum); margin-bottom: 10px; }
.final__info p { margin-bottom: .5em; }
.hours { border-collapse: collapse; font-size: .9375rem; }
.hours th { text-align: left; font-weight: 500; padding: 3px 16px 3px 0; color: var(--stone); }
.hours td { padding: 3px 0; font-weight: 700; white-space: nowrap; }
.textlink { font-weight: 700; }
@media (max-width: 560px) {
  .final__info { grid-template-columns: 1fr; }
  .final { padding: 0; background: #fff; }
  .final__bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; overflow: hidden; }
  .final__bg img { height: 100%; object-position: 72% 55%; transform: none !important; }
  .final__inner { padding: 0; position: relative; z-index: 1; margin-top: -40px; }
  .final__card { border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--plum-deep); color: rgba(255,255,255,.82); padding: 72px 0 32px; font-size: .9375rem; }
.footer a { color: #fff; }
.footer h3 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .8fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__brand img:first-child { width: 240px; background: #fff; padding: 14px 18px; border-radius: var(--r-md); }
.footer__legal-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 24px; }
.footer__agpal { flex: none; width: 220px; height: auto; }
@media (max-width: 700px) { .footer__legal-row { flex-direction: column; align-items: flex-start; gap: 20px; } .footer__agpal { width: 200px; } }
.footer p { margin: 0; overflow-wrap: anywhere; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background .2s; }
.social a:hover { background: var(--green); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer__legal { padding-top: 32px; }
.disclaimer { font-size: .8125rem; line-height: 1.6; color: rgba(255,255,255,.62); max-width: 90ch; }
.disclaimer strong { color: rgba(255,255,255,.85); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 12px 28px -8px rgba(20, 8, 19, .5);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green-hover); }
.to-top svg { width: 24px; height: 24px; fill: currentColor; }


/* ---------- Hero play button + lightbox ---------- */
.hero__play {
  position: absolute; left: 75%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: none; border: 0; color: #fff; padding: 0;
}
.hero__play-ring {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); box-shadow: 0 0 0 14px rgba(29, 164, 100, .28), 0 20px 50px -10px rgba(0,0,0,.5);
  transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .3s;
  animation: playPulse 2.6s ease-out infinite;
}
.hero__play-ring svg { width: 40px; height: 40px; fill: #fff; margin-left: 6px; }
.hero__play:hover .hero__play-ring { transform: scale(1.08); }
.hero__play-label { font-family: var(--f-display); font-weight: 800; font-size: 1.0625rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); max-width: 18ch; text-align: center; line-height: 1.25; }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 rgba(29,164,100,.55), 0 20px 50px -10px rgba(0,0,0,.5); } 70%, 100% { box-shadow: 0 0 0 28px rgba(29,164,100,0), 0 20px 50px -10px rgba(0,0,0,.5); } }
@media (max-width: 900px) {
  .hero__play { left: var(--gutter); top: 24px; transform: none; flex-direction: row; gap: 12px; }
  .hero__play-ring { flex: none; width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(29,164,100,.28); }
  .hero__play-ring svg { width: 26px; height: 26px; margin-left: 4px; }
  .hero__play-label { text-align: left; font-size: .9375rem; max-width: 24ch; }
}

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(20, 8, 19, .88); backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
.lightbox__dialog { position: relative; width: min(1200px, 100%); animation: lbIn .35s cubic-bezier(.2,.8,.2,1); }
.lightbox__frame { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--sh-3); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; right: 0; top: -56px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--plum); display: grid; place-items: center; }
.lightbox__close svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.94) translateY(12px); } }
body.has-lightbox { overflow: hidden; }


/* inline hero video (mobile only) */
.hero__inline { display: none; }
@media (max-width: 900px) {
  .hero__play { display: none; }
  .hero__inner { padding-top: 12vh; }
  .hero__inline {
    display: block; position: relative; aspect-ratio: 16 / 9; margin: 0 0 24px;
    border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--sh-3);
  }
  .hero__inline video, .hero__inline iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
}


/* fees: stack table rows as cards on small screens */
.fees__card { min-width: 0; }
@media (max-width: 640px) {
  .fees__card { padding: 28px 20px; }
  .fees__card .h2 { font-size: 2rem; }
  .table-wrap { border: 0; overflow: visible; }
  .fee-table { min-width: 0; font-size: 1rem; }
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table th, .fee-table td { display: block; width: 100%; }
  .fee-table tr { border: 1px solid #E8E4E0; border-radius: var(--r-md); overflow: hidden; margin-bottom: 12px; }
  .fee-table tbody th { background: #F4F2EF; font-weight: 700; padding: 12px 16px; border: 0; }
  .fee-table td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border: 0; border-top: 1px solid #E8E4E0; white-space: normal; }
  .fee-table td::before { content: attr(data-label); color: var(--stone); }
  .fee-table tbody tr:last-child > * { border-bottom: 0; }
}


/* mobile hero: purple gradient instead of background video */
@media (max-width: 900px) {
  .hero { background: radial-gradient(120% 70% at 100% 0%, #9a4a91 0%, rgba(154,74,145,0) 60%), linear-gradient(165deg, var(--plum) 0%, var(--plum-deep) 55%, #210c1f 100%); min-height: 0; }
  .hero__video, .hero__shade { display: none; }
  .hero__inner { padding-top: 40px; padding-bottom: 44px; }
}


.hero__inline-sound {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 9px 14px 9px 12px; background: rgba(36, 24, 33, .78); color: #fff;
  font-family: var(--f-display); font-weight: 800; font-size: .875rem; backdrop-filter: blur(6px);
}
.hero__inline-sound svg { width: 18px; height: 18px; fill: currentColor; }


/* ---------- Contact form ---------- */
.contact { background: radial-gradient(90% 120% at 0% 0%, #5b2556 0%, var(--plum-deep) 55%, #210c1f 100%); color: #fff; padding: var(--sect) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro > p { color: rgba(255,255,255,.82); font-size: 1.125rem; max-width: 32em; }
.contact__details { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.contact__details li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; color: #fff; overflow-wrap: anywhere; }
.contact__details span { font-family: var(--f-display); font-weight: 800; font-size: .875rem; color: #8FE3B8; }
.contact__details a { color: #fff; font-weight: 700; }
.contact__urgent { font-size: .9375rem !important; color: rgba(255,255,255,.7) !important; border-left: 3px solid #8FE3B8; padding-left: 14px; }
.contact__form { background: #fff; color: var(--plum-ink); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--sh-3); display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-display); font-weight: 800; font-size: .9375rem; color: var(--plum-ink); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--plum-ink); background: var(--mist);
  border: 2px solid transparent; border-radius: var(--r-sm); padding: 12px 14px; min-height: 50px; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2375336E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); background: #fff; }
.field__error { display: none; margin: 0; font-size: .875rem; font-weight: 700; color: #B42318; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #B42318; background: #fff; }
.field.is-invalid .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact__privacy { margin: 0; font-size: .8125rem; color: var(--stone); }
.contact__submit { justify-self: start; }
.contact__submit[disabled] { opacity: .6; cursor: progress; }
.contact__status:empty { display: none; }
.contact__status { border-radius: var(--r-md); padding: 16px 18px; font-size: .9375rem; line-height: 1.5; }
.contact__status.is-success { background: rgba(29,164,100,.12); color: #0f6b3f; }
.contact__status.is-error, .contact__status.is-pending { background: var(--mist); color: var(--plum-ink); }
.contact__status a { font-weight: 700; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .contact__submit { justify-self: stretch; } }

/* header: fit 7 menu items before switching to the burger */
@media (max-width: 1440px) {
  .hdr { gap: 18px; }
  .hdr__nav ul { gap: 16px; }
  .hdr__nav a { font-size: .8125rem; letter-spacing: .05em; }
  .hdr__phone-num { font-size: 1.25rem; }
  .hdr__book { padding: .7em 1.2em; font-size: .9375rem; }
}


/* LeadConnector form embed: white card that hugs the iframe with no padding below */
.contact__embed { background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); line-height: 0; padding: 40px; }
.contact__embed iframe { display: block; width: 100%; min-height: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal-img { clip-path: none !important; }
}
