/* ============================================================
   Stellar Dentistry — shared stylesheet
   Brand: charcoal + gold (from practice signage and logo)
   ============================================================ */

:root{
  color-scheme:light;
  --bg:#ffffff;
  --bg-alt:#f7f5f0;
  --surface:#ffffff;
  --surface-2:#faf9f6;
  --ink:#14171c;
  --body:#4e565f;
  --muted:#767e88;
  --line:rgba(20,23,28,.13);
  --line-soft:rgba(20,23,28,.08);

  --gold:#e9b71f;
  --gold-soft:#fbf1d3;
  --gold-ink:#8a6403;
  --on-gold:#1a1608;

  --bar-bg:#161a20;
  --bar-ink:#ffffff;
  --bar-muted:rgba(255,255,255,.62);
  --bar-line:rgba(255,255,255,.18);

  --hero-tint-a:rgba(12,14,17,.66);
  --hero-tint-b:rgba(12,14,17,.18);
  --shadow:0 1px 2px rgba(20,23,28,.05), 0 14px 38px rgba(20,23,28,.07);
  --shadow-lg:0 24px 60px rgba(20,23,28,.13);

  --shell:1180px;
  --gutter:clamp(1.15rem,4vw,2.5rem);
  --edge:clamp(1rem,2.2vw,2.25rem);
  --band:clamp(3.5rem,7.5vw,6.25rem);
  --radius:16px;
  --radius-sm:11px;
  --header-h:78px;

  --sans:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --serif:"Cormorant Garamond",ui-serif,Garamond,Georgia,"Times New Roman",serif;
}

html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0e1116;
  --bg-alt:#13171e;
  --surface:#171c24;
  --surface-2:#1b212a;
  --ink:#f3f1ec;
  --body:#a9b2bd;
  --muted:#8a939e;
  --line:rgba(255,255,255,.14);
  --line-soft:rgba(255,255,255,.08);

  --gold:#f0c343;
  --gold-soft:rgba(240,195,67,.13);
  --gold-ink:#f0c343;
  --on-gold:#171204;

  --bar-bg:#1b212a;
  --bar-line:rgba(255,255,255,.14);

  --hero-tint-a:rgba(6,8,11,.70);
  --hero-tint-b:rgba(6,8,11,.28);
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 14px 38px rgba(0,0,0,.35);
  --shadow-lg:0 24px 60px rgba(0,0,0,.5);
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px);
  /* always keep room for the scrollbar, so nothing shifts sideways while a page is still loading */
  scrollbar-gutter:stable;}
body{
  margin:0;font-family:var(--sans);
  font-size:clamp(1rem,.97rem + .18vw,1.0625rem);line-height:1.68;
  color:var(--body);background:var(--bg);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  transition:background-color .25s ease,color .25s ease;
}
body.nav-open{overflow:hidden;}
img{max-width:100%;display:block;}
a{color:inherit;}
button,input,select,textarea{font:inherit;color:inherit;}
iframe{border:0;}

h1,h2,h3,h4{
  font-family:var(--serif);font-weight:500;color:var(--ink);
  line-height:1.12;letter-spacing:0;margin:0 0 .5em;
}
h1{font-size:clamp(2.7rem,1.6rem + 4.7vw,4.6rem);font-weight:400;line-height:1.08;}
h2{font-size:clamp(2.3rem,1.6rem + 2.9vw,3.5rem);font-weight:400;}
h3{font-size:clamp(1.36rem,1.22rem + .55vw,1.62rem);font-weight:600;}
h4{font-size:1.28rem;font-weight:600;}
p{margin:0 0 1.1em;}
p:last-child{margin-bottom:0;}
strong,b{color:var(--ink);}

:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px;}

.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:var(--gutter);}
.band{padding-block:var(--band);}
.band--alt{background:var(--bg-alt);}
.skip{
  position:absolute;left:1rem;top:-100px;z-index:200;
  background:var(--ink);color:var(--bg);padding:.8rem 1.2rem;border-radius:10px;
  text-decoration:none;font-weight:700;transition:top .2s ease;
}
.skip:focus{top:1rem;}

.eyebrow{
  display:inline-flex;align-items:center;gap:.55rem;
  font-size:.86rem;font-weight:700;letter-spacing:.015em;color:var(--gold-ink);
  margin-bottom:.85rem;
}
.eyebrow::before{content:"";width:24px;height:2px;border-radius:2px;background:var(--gold);}
.head{max-width:44rem;margin-bottom:clamp(2.2rem,4vw,3.2rem);}
.head p{font-size:1.05rem;}
.head--center{margin-inline:auto;text-align:center;}
.head--center .eyebrow::before{display:none;}
.lede{font-size:clamp(1.02rem,.97rem + .3vw,1.16rem);}

.icon{width:24px;height:24px;flex:none;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.9rem 1.55rem;border-radius:999px;border:1.5px solid transparent;
  font-weight:700;font-size:.96rem;text-decoration:none;cursor:pointer;
  white-space:nowrap;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .12s ease;
}
.btn:active{transform:translateY(1px);}
.btn--gold{background:var(--gold);color:var(--on-gold);}
.btn--gold:hover{background:#d6a614;}
html[data-theme="dark"] .btn--gold:hover{background:#f6d165;}
.btn--outline{border-color:var(--line);color:var(--ink);background:transparent;}
.btn--outline:hover{border-color:var(--gold);color:var(--gold-ink);}
.btn--block{width:100%;}
.btn-row{display:flex;flex-wrap:wrap;gap:.85rem;}

/* ---------- Header ---------- */
.header{
  position:sticky;top:0;z-index:90;
  background:var(--bg);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.header.is-stuck{border-bottom-color:var(--line-soft);box-shadow:0 6px 22px rgba(0,0,0,.07);}
.header__inner{
  width:100%;min-height:var(--header-h);
  padding-inline:var(--edge);
  display:grid;grid-template-columns:1fr auto 1fr;
  align-items:center;gap:.9rem;
}
.header__actions{display:flex;align-items:center;gap:.9rem;justify-self:end;}

.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;justify-self:start;}
.brand img{width:46px;height:46px;object-fit:contain;}
.brand span{
  font-family:var(--serif);font-weight:600;font-size:1.72rem;
  color:var(--ink);letter-spacing:-.025em;white-space:nowrap;line-height:1;
}
.nav{display:flex;align-items:center;justify-content:center;gap:.05rem;justify-self:center;}
.nav a{
  position:relative;text-decoration:none;padding:.5rem .58rem;border-radius:8px;
  font-size:.9rem;font-weight:600;color:var(--body);white-space:nowrap;
  transition:color .18s ease;
}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ink);}
.nav a[aria-current="page"]::after{
  content:"";position:absolute;left:.58rem;right:.58rem;bottom:.2rem;
  height:2px;border-radius:2px;background:var(--gold);
}
.header .btn{padding:.7rem 1.2rem;font-size:.89rem;flex:none;}

.theme-toggle,.burger{
  width:44px;height:44px;flex:none;border:1px solid var(--line);border-radius:12px;
  background:var(--surface);cursor:pointer;color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  transition:border-color .2s ease;
}
.theme-toggle:hover,.burger:hover{border-color:var(--gold);}
.theme-toggle .icon{width:20px;height:20px;}
.burger{display:none;}
.theme-toggle .moon{display:none;}
html[data-theme="dark"] .theme-toggle .sun{display:none;}
html[data-theme="dark"] .theme-toggle .moon{display:block;}

/* ---------- Mobile drawer (fits one screen) ---------- */
.drawer{position:fixed;inset:0;z-index:100;visibility:hidden;}
.drawer__veil{position:absolute;inset:0;background:rgba(6,8,11,.6);opacity:0;transition:opacity .28s ease;}
.drawer__panel{
  position:absolute;top:0;right:0;height:100%;width:min(330px,86vw);
  background:var(--bg);padding:.85rem 1.15rem calc(1rem + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;overflow-y:auto;
  transform:translateX(102%);transition:transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow:-24px 0 60px rgba(0,0,0,.28);
}
.drawer.is-open{visibility:visible;}
.drawer.is-open .drawer__veil{opacity:1;}
.drawer.is-open .drawer__panel{transform:translateX(0);}
.drawer__close{
  align-self:flex-end;width:40px;height:40px;border-radius:11px;
  border:1px solid var(--line);background:var(--surface);cursor:pointer;color:var(--ink);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.drawer__links{display:flex;flex-direction:column;margin-top:.5rem;}
.drawer__links a{
  padding:.62rem .2rem;text-decoration:none;font-weight:600;font-size:.99rem;
  color:var(--ink);border-bottom:1px solid var(--line-soft);
}
.drawer__links a[aria-current="page"]{color:var(--gold-ink);}
.drawer .btn{margin-top:.9rem;padding:.78rem 1.2rem;}

/* ---------- Hero ---------- */
.hero{
  position:relative;isolation:isolate;color:#fff;background:#0c0e11;
  min-height:clamp(540px,82vh,900px);display:flex;align-items:center;
}
.hero__media{position:absolute;inset:0;z-index:-2;}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 68%;}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(10,12,15,.20) 0%,rgba(10,12,15,0) 24%),
    linear-gradient(100deg,var(--hero-tint-a) 0%,var(--hero-tint-a) 34%,var(--hero-tint-b) 72%,var(--hero-tint-b) 100%);
}
.hero__inner{padding-block:clamp(3.4rem,8vw,6.5rem);max-width:44rem;}
.hero h1,.hero h2{color:#fff;text-wrap:balance;text-shadow:0 2px 22px rgba(6,8,11,.62);}
.hero h1 em{font-style:italic;color:var(--gold);font-weight:400;}
.hero h1{font-weight:400;}
.hero p{color:rgba(255,255,255,.9);max-width:36rem;text-shadow:0 1px 14px rgba(6,8,11,.6);}
.hero .eyebrow{color:var(--gold);}
.hero .eyebrow::before{background:var(--gold);}

.hero__intro{
  font-size:clamp(1.02rem,.96rem + .32vw,1.18rem);
  line-height:1.6;margin:1.6rem 0 0;
  padding-left:1rem;border-left:3px solid var(--gold);
}
.hero--page{min-height:clamp(360px,46vh,520px);}
.hero--page .hero__inner{padding-block:clamp(2.8rem,6vw,5rem);}
.hero--page h1{font-size:clamp(2.05rem,1.4rem + 3vw,3.25rem);}
.hero--flush .hero__inner{padding-top:clamp(1rem,2vw,1.5rem);padding-bottom:clamp(10rem,18vw,17rem);}

/* ---------- Floating info bar ---------- */
.infobar-wrap{position:relative;z-index:3;margin-top:-2.5rem;}
.infobar{
  display:flex;align-items:center;gap:1.4rem;
  background:var(--bar-bg);color:var(--bar-ink);
  border:1px solid var(--bar-line);border-radius:999px;
  padding:1rem 2rem;justify-content:space-between;
}
.infobar__item{display:flex;align-items:center;gap:.85rem;text-decoration:none;color:var(--bar-ink);}
.infobar__item .badge{
  width:42px;height:42px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);border:1px solid var(--bar-line);color:var(--gold);
}
.infobar__item b{display:block;font-size:1rem;font-weight:700;color:var(--bar-ink);line-height:1.3;}
.infobar__item span.v{display:block;font-size:.92rem;color:var(--bar-muted);line-height:1.4;}
a.infobar__item:hover span.v{color:var(--gold);}
.infobar__div{width:1px;align-self:stretch;background:var(--bar-line);flex:none;}
.infobar .btn{margin-left:auto;}

/* ---------- Grids & cards ---------- */
.grid{display:grid;gap:1.1rem;}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,268px),1fr));}

.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.65rem 1.5rem;
}
.card h3{margin-bottom:.5rem;}
.card p{font-size:.96rem;line-height:1.65;}
.card__icon{
  width:52px;height:52px;border-radius:14px;margin-bottom:1.1rem;
  display:flex;align-items:center;justify-content:center;
  background:var(--gold-soft);color:var(--gold-ink);
}
.card--row{display:flex;gap:1.1rem;align-items:flex-start;}
.card--row .card__icon{margin-bottom:0;width:46px;height:46px;border-radius:12px;flex:none;}
.card__checks{list-style:none;margin:.2rem 0 0;padding:0;display:grid;gap:.55rem;}
.card__checks li{display:flex;gap:.6rem;align-items:flex-start;font-size:.96rem;line-height:1.55;}
.card__checks .icon{width:18px;height:18px;flex:none;margin-top:.2rem;color:var(--gold);stroke-width:2.4;}
.card--row > div{min-width:0;}
.grid--pairs{grid-template-columns:1fr;}
@media (min-width:760px){.grid--pairs{grid-template-columns:repeat(2,minmax(0,1fr));}}

.note{
  margin-top:1.6rem;padding:1.15rem 1.3rem;border-radius:var(--radius-sm);
  background:var(--gold-soft);border:1px solid var(--line);
  font-size:.94rem;line-height:1.65;
}

/* ---------- Membership plan cards ---------- */
.plans{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));margin-bottom:1.6rem;}
.plan{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.75rem 1.5rem;display:flex;flex-direction:column;text-align:center;
}
.plan__name{font-family:var(--serif);font-weight:600;font-size:1.5rem;color:var(--ink);margin-bottom:.15rem;}
.plan__who{font-size:.88rem;color:var(--muted);margin-bottom:1.1rem;}
.plan__price{
  font-family:var(--serif);font-weight:600;font-size:2.9rem;line-height:1;color:var(--gold-ink);
  margin-bottom:.2rem;letter-spacing:-.02em;
}
.plan__per{font-size:.85rem;color:var(--muted);margin-bottom:1.3rem;}
.plan ul{list-style:none;margin:0 0 1.5rem;padding:0;display:grid;gap:.6rem;text-align:left;}
.plan ul li{display:flex;gap:.6rem;align-items:flex-start;font-size:.93rem;line-height:1.55;}
.plan ul li .icon{width:18px;height:18px;margin-top:.28rem;color:var(--gold);stroke-width:2.4;}
.plan .btn{margin-top:auto;}

/* ---------- Services ---------- */
.svc-grid{
  display:grid;gap:1.1rem;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));
}
.svc{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem 1.45rem;text-decoration:none;
  display:flex;flex-direction:column;gap:.8rem;
}
.svc__ico{color:var(--gold-ink);}
.svc__ico .icon{width:30px;height:30px;}
.svc h3{font-size:1.11rem;margin:0;}
.svc p{font-size:.92rem;line-height:1.6;margin:0;}
.svc-foot{margin-top:2rem;display:flex;justify-content:center;}

/* ---------- Technology rail ---------- */
.tech{background:var(--bg-alt);}
.tech__top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.5rem;}
.tech__top .head{margin-bottom:0;}
.rail-nav{display:flex;gap:.6rem;}
.rail-btn{
  width:48px;height:48px;border-radius:50%;cursor:pointer;
  background:var(--surface);border:1px solid var(--line);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  transition:opacity .2s ease,border-color .2s ease;
}
.rail-btn:hover:not(:disabled){border-color:var(--gold);}
.rail-btn:disabled{opacity:.35;cursor:default;}
.rail{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(270px,1fr);
  gap:1.1rem;margin-top:clamp(2rem,4vw,2.9rem);
  overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;padding-bottom:.35rem;
}
.rail::-webkit-scrollbar{display:none;}
.rail > *{scroll-snap-align:start;}
@media (min-width:640px){.rail{grid-auto-columns:minmax(300px,calc(50% - .55rem));}}
@media (min-width:1000px){.rail{grid-auto-columns:minmax(300px,calc(33.333% - .74rem));}}

.tech-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.7rem 1.5rem;display:flex;flex-direction:column;
}
.tech-card p{font-size:.95rem;line-height:1.63;}
.tech-card .tag{margin-top:auto;padding-top:1.2rem;font-size:.83rem;font-weight:700;color:var(--gold-ink);}

/* ---------- Appointment form ---------- */
.book__layout{display:grid;gap:clamp(1.6rem,3.5vw,2.6rem);grid-template-columns:1fr;align-items:start;}
@media (min-width:1000px){.book__layout{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);}}

.perks{list-style:none;margin:0;padding:0;display:grid;gap:1.1rem;}
.perks li{display:flex;gap:.9rem;align-items:flex-start;}
.perks .badge{
  width:44px;height:44px;border-radius:12px;flex:none;
  display:flex;align-items:center;justify-content:center;
  background:var(--gold-soft);color:var(--gold-ink);
}
.perks b{display:block;color:var(--ink);font-weight:700;font-size:1rem;line-height:1.4;}
.perks span{font-size:.94rem;}
.perks a{color:var(--gold-ink);font-weight:700;text-decoration:none;}
.perks a:hover{text-decoration:underline;}

.form-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);padding:clamp(1.35rem,3vw,2.1rem);
}
.urgent{
  display:flex;flex-wrap:wrap;gap:.9rem 1.2rem;align-items:center;justify-content:space-between;
  background:var(--gold-soft);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:1rem 1.15rem;margin-bottom:1.6rem;
}
.urgent p{margin:0;font-size:.93rem;line-height:1.55;max-width:34ch;}
.urgent b{display:block;color:var(--ink);}
.urgent .btn{padding:.68rem 1.1rem;font-size:.89rem;}

.fields{display:grid;gap:1.05rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));}
.field{display:flex;flex-direction:column;gap:.4rem;min-width:0;}
.field--wide{grid-column:1/-1;}
.field label{font-size:.87rem;font-weight:700;color:var(--ink);}
.field .req{color:#d94a3d;}
.field input,.field select,.field textarea{
  width:100%;padding:.8rem .95rem;border-radius:11px;
  border:1px solid var(--line);background:var(--surface-2);color:var(--ink);
  font-size:.96rem;transition:border-color .18s ease,box-shadow .18s ease;
}
.field select{
  appearance:none;-webkit-appearance:none;padding-right:2.6rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888f99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .95rem center;background-size:17px;
}
.field textarea{resize:vertical;min-height:116px;line-height:1.6;}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft);
}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:none;}
.field.is-invalid input,.field.is-invalid select,.field.is-invalid textarea{border-color:#d94a3d;}
.err{display:none;font-size:.82rem;font-weight:600;color:#d94a3d;}
.field.is-invalid .err{display:block;}

.consent{display:flex;gap:.75rem;align-items:flex-start;margin:1.4rem 0 1.3rem;}
.consent input{width:20px;height:20px;flex:none;margin-top:.18rem;accent-color:var(--gold);cursor:pointer;}
.consent label{font-size:.85rem;line-height:1.6;}
.consent a{color:var(--gold-ink);font-weight:700;}
.consent.is-invalid .err{display:block;}

.thanks{
  display:none;gap:.75rem;align-items:flex-start;margin-top:1.3rem;
  background:var(--gold-soft);border:1px solid var(--gold);border-radius:var(--radius-sm);
  padding:1rem 1.15rem;font-size:.94rem;color:var(--ink);
}
.thanks.is-visible{display:flex;}
.thanks .icon{color:var(--gold-ink);width:22px;height:22px;margin-top:.15rem;}

/* ---------- Contact ---------- */
.contact__layout{display:grid;gap:1.2rem;grid-template-columns:1fr;align-items:stretch;}
@media (min-width:700px){.contact__layout{grid-template-columns:1fr 1fr;}}
@media (min-width:1040px){.contact__layout{grid-template-columns:.82fr 1.25fr .93fr;}}

.contact__photo{
  margin:0;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:var(--surface-2);min-height:280px;
}
.contact__photo img{width:100%;height:100%;object-fit:cover;object-position:center;}

.map-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column;
}
.map-frame{position:relative;width:100%;flex:1;min-height:290px;background:var(--bg-alt);}
.map-frame iframe{position:absolute;inset:0;width:100%;height:100%;}
.map-card__foot{padding:1.15rem 1.3rem;border-top:1px solid var(--line);display:grid;gap:.6rem;}
.map-card__foot .dir{color:var(--gold-ink);font-weight:700;text-decoration:none;}
.map-card__foot .dir:hover{text-decoration:underline;}
.map-card__foot address{font-style:normal;font-size:.95rem;line-height:1.55;color:var(--body);}
.map-card__foot .tel{color:var(--gold-ink);font-weight:700;text-decoration:none;font-size:1.02rem;}
.map-card__foot .tel:hover{color:var(--ink);}

.hours-card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.4rem,3vw,1.9rem);text-align:center;
  display:flex;flex-direction:column;justify-content:center;
}
.hours-card h3{font-size:1.15rem;margin-bottom:1.3rem;}
.hours-card .badge{
  width:46px;height:46px;border-radius:50%;margin:0 auto 1rem;
  display:flex;align-items:center;justify-content:center;
  background:var(--gold-soft);color:var(--gold-ink);
}
.hours-list{display:grid;gap:1.1rem;margin:0;}
.hours-list dt{font-weight:700;color:var(--ink);font-size:.97rem;line-height:1.4;}
.hours-list dd{margin:.15rem 0 0;font-size:.95rem;color:var(--body);}
.hours-list .closed{color:var(--muted);}
.hours-list .is-today dt{color:var(--gold-ink);}
.hours-list .is-today dd{color:var(--gold-ink);font-weight:700;}

.alert-bar{background:var(--gold);}
.alert-bar a{
  display:flex;align-items:center;justify-content:center;gap:.7rem;
  padding:1.1rem var(--gutter);text-align:center;
  font-weight:700;font-size:clamp(.97rem,.93rem + .25vw,1.1rem);
  color:var(--on-gold);text-decoration:none;
}
.alert-bar a:hover{background:rgba(0,0,0,.06);}

/* ---------- About page ---------- */
.doc__layout{display:grid;gap:clamp(1.8rem,4vw,2.8rem);grid-template-columns:1fr;align-items:start;}
@media (min-width:820px){.doc__layout{grid-template-columns:300px minmax(0,1fr);}}
.doc__photo{
  position:relative;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);background:var(--surface-2);max-width:300px;
}
.doc__photo img{width:100%;height:auto;display:block;}
.doc__badge{
  position:absolute;left:.9rem;bottom:.9rem;
  background:var(--gold);color:var(--on-gold);border-radius:12px;padding:.55rem .9rem;
}
.doc__badge b{display:block;font-family:var(--serif);font-weight:600;font-size:1.3rem;line-height:1.1;color:var(--on-gold);}
.doc__badge span{font-size:.75rem;font-weight:600;}
.doc h2,.doc__layout h2{margin-top:0;margin-bottom:.35em;}
.doc__role{font-size:.95rem;font-weight:700;color:var(--gold-ink);margin-bottom:1.2rem;}
.chiplist{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem;}
.chiplist li{
  padding:.42rem .85rem;border-radius:999px;border:1px solid var(--line);
  background:var(--surface);font-size:.88rem;font-weight:600;color:var(--ink);
}
.factbox{display:grid;gap:1.4rem;margin-top:1.8rem;}
.factbox h3{font-size:1rem;margin-bottom:.65rem;}
.cta-band{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.6rem,4vw,2.6rem);text-align:center;
}
.cta-band .btn-row{justify-content:center;margin-top:1.4rem;}

/* ---------- Footer ---------- */
.footer{background:#0c0f13;color:rgba(255,255,255,.68);}
.footer__grid{display:grid;gap:clamp(1.8rem,4vw,3rem);padding-block:clamp(2.9rem,6vw,4.3rem);grid-template-columns:1fr;align-items:center;}
@media (min-width:760px){.footer__grid{grid-template-columns:1.25fr .85fr 1fr;}}
.footer h4{color:#fff;margin-bottom:.95rem;}
.footer p{font-size:.94rem;line-height:1.7;}
.footer strong,.footer b{color:#fff;}
.footer__brand{display:flex;align-items:center;gap:.6rem;margin-bottom:1rem;text-decoration:none;}
.footer__brand img{width:44px;height:44px;object-fit:contain;}
.footer__brand span{font-family:var(--serif);font-weight:600;font-size:1.55rem;color:#fff;letter-spacing:0;}
.footer__photo{
  border-radius:var(--radius);overflow:hidden;border:1px solid rgba(255,255,255,.14);
  aspect-ratio:4/3;
}
.footer__photo img{width:100%;height:100%;object-fit:cover;object-position:center center;}
.footer dl{margin:0 0 1.3rem;display:grid;grid-template-columns:1fr auto;gap:.48rem 1rem;font-size:.92rem;}
.footer dt{color:rgba(255,255,255,.9);font-weight:600;white-space:nowrap;}
.footer dd{margin:0;text-align:right;white-space:nowrap;}
.footer__contact{display:grid;gap:.65rem;font-size:.93rem;}
.footer__contact a{color:#fff;text-decoration:none;font-weight:700;}
.footer__contact a:hover{color:var(--gold);}
.footer__contact address{font-style:normal;color:rgba(255,255,255,.68);}
.footer__bar{
  border-top:1px solid rgba(255,255,255,.14);padding-block:1.35rem;
  display:flex;flex-wrap:wrap;gap:.7rem 1.5rem;align-items:center;justify-content:space-between;font-size:.86rem;
}
.footer__bar nav{display:flex;flex-wrap:wrap;gap:.6rem 1.35rem;}
.footer__bar a{text-decoration:none;}
.footer__bar a:hover{color:var(--gold);text-decoration:underline;}

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:80;
  gap:.6rem;padding:.6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background:var(--bg);border-top:1px solid var(--line);
}
.mobile-bar .btn{flex:1;padding:.78rem 1rem;font-size:.9rem;}

/* ---------- Long-form pages ---------- */
.longform ul{padding-left:1.15rem;margin:0 0 1.4rem;}
.longform h2{margin-top:2.2rem;font-size:clamp(1.4rem,1.2rem + .8vw,1.75rem);}
.longform h2:first-of-type{margin-top:1.8rem;}
.longform li{margin-bottom:.45rem;}
.longform li::marker{color:var(--gold);}
.longform a{color:var(--gold-ink);font-weight:600;}

/* ---------- Responsive ---------- */
@media (max-width:1240px){
  .nav,.header__actions .btn--gold{display:none;}
  .burger{display:flex;}
  /* nav is gone: switch off the grid entirely and use flex, so the
     controls are pushed to the right edge regardless of brand width */
  .header__inner{display:flex;align-items:center;}
  .brand{margin-right:auto;min-width:0;overflow:hidden;justify-self:auto;}
  .brand span{overflow:hidden;text-overflow:ellipsis;}
  .header__actions{margin-left:auto;flex:none;gap:.55rem;justify-self:auto;}
}
@media (max-width:860px){
  .infobar{
    flex-wrap:wrap;justify-content:center;
    border-radius:var(--radius);padding:1.15rem 1.15rem;gap:1.05rem;
  }
  .infobar__div{display:none;}
  .infobar__item{flex:1 1 210px;justify-content:center;}
  .infobar__item .badge{width:38px;height:38px;}
  .infobar__item .badge .icon{width:19px;height:19px;}
  .infobar__item b{font-size:.94rem;}
  .infobar__item span.v{font-size:.87rem;}
  .infobar .btn{margin-left:0;width:100%;}
}
@media (max-width:520px){
  .infobar{padding:1rem;gap:.85rem;}
  .infobar__item{flex:1 1 100%;justify-content:flex-start;}
  .infobar .btn{padding:.8rem 1rem;font-size:.92rem;}
}
@media (max-width:640px){
  :root{--header-h:64px;}
  .brand img{width:38px;height:38px;}
  .brand span{font-size:1.38rem;}
  .hero__intro{font-size:1rem;}
  .urgent{flex-direction:column;align-items:flex-start;}
  .urgent .btn{width:100%;}
  .card{padding:1.4rem 1.25rem;}
  .footer__bar{flex-direction:column;align-items:flex-start;}
  .mobile-bar{display:flex;}
  body{padding-bottom:74px;}
  .contact__photo{min-height:220px;}
}
@media (max-width:400px){
  .brand span{font-size:1.2rem;}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{
    animation-duration:.001ms !important;animation-iteration-count:1 !important;
    transition-duration:.001ms !important;scroll-behavior:auto !important;
  }
}

@media print{
  .header,.drawer,.alert-bar,.rail-nav,.mobile-bar,.form-card,.skip{display:none !important;}
  body{background:#fff;color:#000;padding-bottom:0;}
  .footer{background:#fff;color:#000;}
}

/* ============================================================
   Service detail modals
   ============================================================ */
.svc__more{
  margin-top:auto;padding:0;border:0;background:none;cursor:pointer;
  align-self:flex-start;font-weight:700;font-size:.88rem;letter-spacing:.05em;
  text-transform:uppercase;color:var(--gold-ink);
  transition:opacity .18s ease;
}
.svc__more:hover{opacity:.75;}
.svc-grid .svc{gap:.75rem;}

.modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;}
.modal[hidden]{display:none;}
.modal__veil{position:absolute;inset:0;background:rgba(6,8,11,.72);backdrop-filter:blur(3px);}
.modal__panel{
  position:relative;z-index:1;
  width:min(640px,calc(100vw - 2rem));max-height:min(88vh,900px);
  display:flex;flex-direction:column;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow-lg);
  animation:modalIn .22s cubic-bezier(.2,.7,.3,1);
}
@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.985);}to{opacity:1;transform:none;}}
.modal__close{
  position:absolute;top:.85rem;right:.85rem;z-index:2;
  width:40px;height:40px;border-radius:11px;cursor:pointer;
  border:1px solid var(--line);background:var(--surface-2);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  transition:border-color .2s ease;
}
.modal__close:hover{border-color:var(--gold);}
.modal__head{
  padding:1.6rem 3.6rem 1.3rem 1.75rem;border-bottom:1px solid var(--line);flex:none;
}
.modal__eyebrow{
  margin:0 0 .35rem;font-size:.76rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink);
}
.modal__head h2{margin:0;font-size:clamp(1.5rem,1.25rem + 1vw,1.95rem);}
.modal__body{padding:1.5rem 1.75rem 1.75rem;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.modal__intro{font-size:1.02rem;line-height:1.68;margin-bottom:1.6rem;}
.modal__label{
  font-family:var(--sans);font-size:.76rem;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink);
  margin:0 0 .75rem;
}
.modal__body > p{margin-bottom:1.6rem;font-size:.97rem;line-height:1.68;}
.modal__benefits{list-style:none;margin:0 0 1.7rem;padding:0;display:grid;gap:.6rem;}
.modal__benefits li{position:relative;padding-left:1.35rem;font-size:.97rem;line-height:1.55;}
.modal__benefits li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:7px;height:7px;border-radius:50%;background:var(--gold);
}
.faq{border-bottom:1px solid var(--line);}
.faq:first-of-type{border-top:1px solid var(--line);}
.faq summary{
  list-style:none;cursor:pointer;padding:.95rem 2rem .95rem 0;position:relative;
  font-weight:700;color:var(--ink);font-size:.98rem;line-height:1.45;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{
  content:"";position:absolute;right:.35rem;top:1.35rem;
  width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq[open] summary::after{transform:rotate(-135deg);}
.faq summary:hover{color:var(--gold-ink);}
.faq p{margin:0 0 1.1rem;font-size:.95rem;line-height:1.65;padding-right:1rem;}
.modal__cta{margin-top:1.9rem;}

@media (max-width:640px){
  .modal{align-items:flex-end;}
  .modal__panel{
    width:100vw;max-width:100vw;max-height:92vh;
    border-radius:var(--radius) var(--radius) 0 0;border-bottom:0;
  }
  .modal__head{padding:1.35rem 3.4rem 1.1rem 1.25rem;}
  .modal__body{padding:1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));}
  @keyframes modalIn{from{opacity:0;transform:translateY(30px);}to{opacity:1;transform:none;}}
}

/* Referral note — its own paragraph inside the service card */
.svc__note{
  margin:0;font-size:.88rem;line-height:1.55;color:var(--muted);
}


/* ============================================================
   Cursor-following spotlight on cards
   ============================================================ */

/* Registering these lets the glow ease toward the cursor instead of
   snapping. Browsers without @property just follow instantly. */
@supports (background: paint(x)) {
  @property --mx { syntax: "<length>"; inherits: false; initial-value: 50%; }
  @property --my { syntax: "<length>"; inherits: false; initial-value: 50%; }
}

.card,
.svc,
.tech-card,
.plan{
  position:relative;
  isolation:isolate;
  transition:
    transform .3s cubic-bezier(.2,.7,.3,1),
    box-shadow .35s ease,
    border-color .35s ease,
    --mx .12s linear,
    --my .12s linear;
}

/* soft radial spotlight, clipped to the card */
.card::before,
.svc::before,
.tech-card::before,
.plan::before{
  content:"";position:absolute;inset:0;border-radius:inherit;
  pointer-events:none;z-index:0;opacity:0;
  transition:opacity .35s ease;
  background:radial-gradient(
    260px circle at var(--mx,50%) var(--my,50%),
    rgba(233,183,31,.15),
    rgba(233,183,31,.05) 42%,
    transparent 70%);
}

/* hairline border that lights up nearest the cursor */
.card::after,
.svc::after,
.tech-card::after,
.plan::after{
  content:"";position:absolute;inset:0;border-radius:inherit;
  pointer-events:none;z-index:1;opacity:0;padding:1px;
  transition:opacity .35s ease;
  background:radial-gradient(
    220px circle at var(--mx,50%) var(--my,50%),
    rgba(233,183,31,.5),
    rgba(233,183,31,.1) 45%,
    transparent 70%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite:exclude;
}

/* keep content above both layers */
.card > *,
.svc > *,
.tech-card > *,
.plan > *{position:relative;z-index:2;}

/* pointer devices only — never on touch */
@media (hover:hover) and (pointer:fine){
  .card:hover,
  .svc:hover,
  .tech-card:hover,
  .plan:hover{
    transform:translateY(-4px);
    border-color:rgba(233,183,31,.35);
    box-shadow:0 16px 34px rgba(20,23,28,.13);
  }
  .card:hover::before,
  .svc:hover::before,
  .tech-card:hover::before,
  .plan:hover::before{opacity:var(--glow,1);}
  .card:hover::after,
  .svc:hover::after,
  .tech-card:hover::after,
  .plan:hover::after{opacity:var(--glow,1);}
}

html[data-theme="dark"] .card:hover,
html[data-theme="dark"] .svc:hover,
html[data-theme="dark"] .tech-card:hover,
html[data-theme="dark"] .plan:hover{
  box-shadow:0 18px 40px rgba(0,0,0,.5);
}
html[data-theme="dark"] .card::before,
html[data-theme="dark"] .svc::before,
html[data-theme="dark"] .tech-card::before,
html[data-theme="dark"] .plan::before{
  background:radial-gradient(
    260px circle at var(--mx,50%) var(--my,50%),
    rgba(240,195,67,.13),
    rgba(120,170,220,.05) 45%,
    transparent 72%);
}

@media (prefers-reduced-motion:reduce){
  .card:hover,.svc:hover,.tech-card:hover,.plan:hover{transform:none;}
}

/* bulleted list inside a card (About page facts) */
.card__list{list-style:none;margin:0;padding:0;display:grid;gap:.55rem;}
.card__list li{position:relative;padding-left:1.15rem;font-size:.96rem;line-height:1.55;}
.card__list li::before{
  content:"";position:absolute;left:0;top:.6em;
  width:6px;height:6px;border-radius:50%;background:var(--gold);
}

/* ============================================================
   Metallic gold — kept very subtle
   ============================================================ */
:root{
  /* narrow range around the base gold: a hint of sheen, not chrome */
  --gold-metal:linear-gradient(135deg,#f0c145 0%,#e9b71f 46%,#ddab18 72%,#eec244 100%);
  --gold-sheen:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0) 62%);
  /* fine directional striations — two periods so the grain doesn't look
     mechanical. Kept under 5% alpha so it reads as texture, not stripes. */
  --gold-brush:
    repeating-linear-gradient(102deg,
      rgba(255,255,255,.045) 0 1px,
      rgba(120,80,0,.035) 1px 2px,
      rgba(255,255,255,0) 2px 3px),
    repeating-linear-gradient(102deg,
      rgba(255,255,255,.03) 0 1px,
      rgba(120,80,0,.02) 1px 3px,
      rgba(255,255,255,0) 3px 7px);
}
html[data-theme="dark"]{
  --gold-metal:linear-gradient(135deg,#f4cb56 0%,#f0c343 46%,#e3b634 72%,#f3ca55 100%);
  --gold-brush:
    repeating-linear-gradient(102deg,
      rgba(255,255,255,.05) 0 1px,
      rgba(90,60,0,.04) 1px 2px,
      rgba(255,255,255,0) 2px 3px),
    repeating-linear-gradient(102deg,
      rgba(255,255,255,.03) 0 1px,
      rgba(90,60,0,.022) 1px 3px,
      rgba(255,255,255,0) 3px 7px);
}

/* only the solid gold surfaces pick it up */
.btn--gold,
.alert-bar,
.doc__badge{
  background-image:var(--gold-sheen),var(--gold-brush),var(--gold-metal);
  background-color:var(--gold);
}
.btn--gold:hover{filter:brightness(1.05);}

/* ---------- Membership: family tiers, estimator, terms ---------- */
.plan__foot{
  margin:.35rem 0 1.4rem;font-size:.85rem;color:var(--muted);line-height:1.5;
}

.tiers{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:.3rem 1.5rem;
}
.tier{
  display:flex;align-items:center;justify-content:space-between;gap:1.2rem;
  padding:1.05rem 0;border-bottom:1px solid var(--line-soft);
}
.tier:last-child{border-bottom:0;}
.tier b{display:block;color:var(--ink);font-weight:700;font-size:1rem;line-height:1.4;}
.tier span{display:block;font-size:.87rem;color:var(--muted);line-height:1.5;}
.tier__price{
  font-family:var(--serif);font-weight:600;font-size:1.7rem;line-height:1;
  color:var(--gold-ink);margin:0;white-space:nowrap;
}

.calc{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.7rem 1.5rem;
}
.calc h3{margin-bottom:.4rem;}
.calc__intro{font-size:.93rem;color:var(--body);margin-bottom:1.4rem;}
.calc__grid{
  display:grid;gap:.9rem;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));
  margin-bottom:1.5rem;
}
.calc__field label{
  display:block;font-size:.85rem;font-weight:700;color:var(--ink);margin-bottom:.45rem;
}
.calc__field select{
  width:100%;padding:.72rem .85rem;border-radius:var(--radius-sm);
  border:1px solid var(--line);background:var(--surface-2);color:var(--ink);
  font-size:.95rem;font-weight:600;cursor:pointer;
  transition:border-color .2s ease;
}
.calc__field select:hover{border-color:var(--gold);}
.calc__field select:disabled{opacity:.5;cursor:not-allowed;}
.calc__out{
  border-top:1px solid var(--line);padding-top:1.3rem;
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.calc__out .calc__label{font-size:.9rem;font-weight:700;color:var(--ink);}
.calc__total{
  font-family:var(--serif);font-weight:600;font-size:2.5rem;line-height:1;
  color:var(--gold-ink);letter-spacing:-.02em;
}
.calc__break{margin:.95rem 0 0;font-size:.88rem;line-height:1.6;color:var(--muted);}

.terms{list-style:none;margin:0;padding:0;display:grid;gap:1rem;}
.terms li{position:relative;padding-left:1.5rem;font-size:.95rem;line-height:1.65;}
.terms li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:7px;height:7px;border-radius:50%;background:var(--gold);
}
.terms b{color:var(--ink);}

@media (max-width:420px){
  .tier{flex-direction:column;align-items:flex-start;gap:.35rem;}
  .tier__price{font-size:1.5rem;}
}

/* ============================================================
   Page preloader — shown on first load and on every page change.
   Uses the site's own theme colours (dark by default).
   ============================================================ */
.preloader{
  position:fixed;inset:0;z-index:9999;
  display:grid;place-items:center;
  background:var(--bg);
  opacity:1;visibility:visible;will-change:opacity;
  transition:opacity .22s cubic-bezier(.4,0,.2,1),visibility 0s linear 0s;
  /* failsafe: if the script never runs, the overlay still gets out of the way */
  animation:pl-failsafe .4s ease 5s forwards;
}
.preloader--js{animation:none;}
.preloader.is-done{
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .5s cubic-bezier(.4,0,.2,1) .06s,visibility 0s linear .56s;
}
.preloader__inner{display:flex;flex-direction:column;align-items:center;padding:1.5rem;}
.preloader__brand{display:flex;align-items:center;gap:1rem;}
.preloader__brand img{width:58px;height:auto;}
.preloader__brand span{
  font-family:var(--serif);font-weight:500;color:var(--ink);
  font-size:clamp(1.7rem,1.3rem + 1.6vw,2.2rem);line-height:1;letter-spacing:.01em;
  white-space:nowrap;
}
.preloader__track{
  position:relative;overflow:hidden;
  width:160px;height:2px;border-radius:2px;margin-top:2.6rem;
  background:var(--line);
}
.preloader__bar{
  position:absolute;inset:0 auto 0 0;width:0;border-radius:2px;
  background:var(--gold);
  animation:pl-grow 1.6s cubic-bezier(.2,.7,.3,1) forwards;
}
/* arriving from another page: the bar picks up exactly where the last page left it */
.preloader--resume .preloader__bar{animation:none;}
.preloader.is-done .preloader__bar{width:100% !important;animation:none;transition:width .28s cubic-bezier(.4,0,.2,1) !important;}

@keyframes pl-grow{from{width:0;}to{width:86%;}}
@keyframes pl-failsafe{to{opacity:0;visibility:hidden;}}

@media (max-width:400px){
  .preloader__brand img{width:48px;}
  .preloader__brand{gap:.8rem;}
}
@media print{.preloader{display:none !important;}}

/* ============================================================
   Inner-page heroes (Why Us, Technology, Services, Insurance,
   Membership Plans) — text centred on the page
   ============================================================ */
.hero--page .hero__inner{max-width:52rem;text-align:center;}
.hero--page h1,
.hero--page p{margin-inline:auto;}
.hero--page p{text-wrap:pretty;}
.hero--page .eyebrow{justify-content:center;}
.hero--page .eyebrow::after{
  content:"";width:24px;height:2px;border-radius:2px;background:var(--gold);
}
/* even shading so the centred copy reads well on both sides */
.hero--page::before{
  background:
    linear-gradient(180deg,rgba(10,12,15,.20) 0%,rgba(10,12,15,0) 24%),
    radial-gradient(ellipse 75% 90% at 50% 50%,var(--hero-tint-a) 0%,var(--hero-tint-a) 45%,var(--hero-tint-b) 100%);
}

/* Home page hero — lighter shading so the clinic photo reads brighter */
.hero--flush::before{
  background:
    linear-gradient(180deg,rgba(10,12,15,.14) 0%,rgba(10,12,15,0) 22%),
    linear-gradient(100deg,rgba(6,8,11,.54) 0%,rgba(6,8,11,.46) 34%,rgba(6,8,11,.14) 72%,rgba(6,8,11,.08) 100%);
}

/* Centred section heading with the slider arrows sitting underneath (home: Advanced Tools) */
.tech__top--center{flex-direction:column;align-items:center;justify-content:center;text-align:center;}
.tech__top--center .head{margin-inline:auto;}

/* Inner-page heroes without a photo — a plain band in the site's own colours */
.hero--page{
  min-height:clamp(260px,34vh,380px);
  background:var(--bg-alt);color:var(--ink);
  border-bottom:1px solid var(--line-soft);
}
.hero--page::before{display:none;}
.hero--page h1{color:var(--ink);text-shadow:none;}
.hero--page p{color:var(--body);text-shadow:none;}
.hero--page .eyebrow{color:var(--gold-ink);}
html[data-theme="light"] .hero--page h1 em{color:var(--gold-ink);}

/* Homepage hero: WebP <picture> fills the media box like the old <img> */
.hero__media picture{display:block;width:100%;height:100%;}

/* Homepage hero: small location line that sits at the top of the H1 */
.hero h1 .hero__kicker{
  display:flex;width:max-content;max-width:100%;
  font-family:var(--sans);line-height:1.3;margin-bottom:.9rem;
  text-shadow:0 1px 14px rgba(6,8,11,.6);
}

/* Footer: patient links under the practice blurb */
.footer__links{display:flex;flex-wrap:wrap;gap:.45rem 1.2rem;margin-top:1.1rem;font-size:.92rem;}
.footer__links a{color:#fff;font-weight:600;text-decoration:none;}
.footer__links a:hover{color:var(--gold);text-decoration:underline;}

/* Numbered steps in long-form sections */
.longform ol{padding-left:1.25rem;margin:0 0 1.4rem;}

/* In-page hero buttons on inner pages */
.hero--page .btn-row{margin-top:1.4rem;justify-content:center;}
