/* Ence Dentistry — "Clean modern" (Oct 14 2026 redesign; see BRIEF.md).
   Apple/Google-clean: white and light-gray surfaces, near-black type, the logo teal as the single accent,
   Inter throughout, generous whitespace, large rounded media, pill buttons, no ornaments. Written from scratch. */

:root {
  --bg: #FFFFFF;
  --gray: #F5F5F7;
  --gray-2: #E8E8ED;
  --ink: #1D1D1F;
  --body: #3A3A3C;
  --muted: #6E6E73;
  --teal: #0880A0;
  --logo-teal: #317B9C;   /* the teal in the brand-folder logo SVG */
  --teal-text: #066A85;
  --line: #E3E3E8;
  --r: 22px;
  --r-sm: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --wide: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font); color: var(--ink); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .45em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; border-radius: 10px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.strata { display: none; }

/* brand mark: the logo diamond appears only in the doctor monogram */
.facet { display: none; }
.doc-mono .facet { display: block; position: absolute; right: 12px; bottom: 12px; width: 16px; height: 16px; }
.facet .f-a, .facet .f-d { fill: var(--ink); }
.facet .f-b { fill: var(--teal); } .facet .f-c { fill: #1898C0; }

.label { font-size: .95rem; font-weight: 600; color: var(--teal-text); margin: 0 0 10px; letter-spacing: -.005em; }
.label-light { color: #7FD0E6; }

/* buttons: pills. Book = ink with white text; on dark = white with ink text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px;
  font: 600 1rem/1.1 var(--font); letter-spacing: -.005em; text-decoration: none !important; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn .ic { width: 18px; height: 18px; }
/* buttons in the logo teal so they pop (Chris, Oct 19 2026) */
.btn-book { background: var(--logo-teal); color: #fff; }
.btn-book:hover { background: #25637F; color: #fff; }
.btn-on-dark { background: #6CC3E6; color: var(--ink); }   /* the logo's sky facet on dark bands */
.btn-on-dark:hover { background: #8AD3EE; color: var(--ink); }
.btn-line { background: transparent; color: var(--logo-teal); border-color: var(--logo-teal); }
.btn-line:hover { background: rgba(49,123,156,.08); border-color: #25637F; color: #25637F; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--teal-text); }
.link .ic { width: 16px; height: 16px; transition: transform .2s; }
.link:hover { text-decoration: none; }
.link:hover .ic { transform: translateX(3px); }
.link-light { color: #7FD0E6; }
.ic { width: 22px; height: 22px; flex: none; }
.star { width: 15px; height: 15px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 22px; margin-left: auto; }
.nav > a, .has-mega > a, .lang, .tel { display: inline-flex; align-items: center; line-height: 1; }   /* same box model for every top-bar link so they sit on one line (Chris, Oct 19 2026) */
.nav a, .top-acts .btn, .top-acts .lang { white-space: nowrap; }
.nav a { color: var(--ink); font-size: .9rem; font-weight: 500; opacity: .82; }
.nav a:hover, .nav a[aria-current] { opacity: 1; text-decoration: none; color: var(--ink); }
.nav a[aria-current] { font-weight: 600; }
.top-acts { display: flex; align-items: center; gap: 16px; }
.top-acts .btn { min-height: 38px; padding: 8px 16px; font-size: .9rem; }
.lang { font-size: .9rem; font-weight: 500; color: var(--muted); }
.tel { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.tel .ic { width: 16px; height: 16px; }
/* services mega menu */
.has-mega { position: static; display: flex; align-items: center; }   /* a block wrapper would seat the link on its baseline ~1px below the other links */
.has-mega > a { display: inline-flex; align-items: center; gap: 3px; }
.has-mega > a .ic { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); box-shadow: 0 30px 60px rgba(0,0,0,.10); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.has-mega:hover > a .ic, .has-mega:focus-within > a .ic { transform: rotate(180deg); }
.mega-in { display: grid; grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 40px; padding: 32px 0 36px; }
.mega-col { display: grid; align-content: start; gap: 6px; }
.mega-h { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); margin: 0 0 8px; font-size: .95rem; }
.mega-h .sv-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--gray); }
.mega-col > a:not(.btn) { font-size: .9rem; color: var(--ink); opacity: .78; padding: 5px 0; }
.mega-col > a:not(.btn):hover, .mega-col > a[aria-current] { opacity: 1; color: var(--teal-text); text-decoration: none; }
.mega-all { background: var(--gray); border-radius: 20px; padding: 22px; gap: 12px; }
.nav .mega .btn, .nav .mega .btn:hover { color: #fff; opacity: 1; font-size: .95rem; }   /* the .nav a rules would otherwise dim the button text */
.nav .mega .link, .nav .mega .link:hover { color: var(--teal-text); opacity: 1; }
.mega-all .mega-h { margin: 0; }
.mega-p { margin: 0; font-size: .9rem; color: var(--muted); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 1.6px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: min(300px, 88vw); background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.16); padding: 10px; display: grid; }
.menu-panel a { padding: 12px 12px; color: var(--ink); font-weight: 500; border-radius: 10px; }
.menu-panel a:hover { background: var(--gray); text-decoration: none; }

/* hero: the extended family, full-bleed, with the headline over a soft gradient on the lower third (bodies, never faces) */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(640px, 92vh, 940px); background: #1D1D1F; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,.12) 40%, rgba(0,0,0,0) 52%); pointer-events: none; }
.hero-c { position: relative; z-index: 2; padding: 0 0 clamp(36px, 6vh, 64px); }
.hero h1 { color: #fff; margin: 0 0 10px; font-size: clamp(2.3rem, 4.8vw, 4.1rem); white-space: nowrap; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.45; color: rgba(255,255,255,.9); max-width: none; margin: 0 0 22px; letter-spacing: -.01em; }
.hero-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 12px; }
.hero .btn-line { color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn-line:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.hero-meta { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; color: rgba(255,255,255,.88); font-size: .92rem; }
.hero-meta:hover { color: #fff; text-decoration: none; }
.r-stars { display: inline-flex; gap: 1px; color: #F5A623; }

/* fact strip */
.facts { padding: 48px 0 8px; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { display: grid; gap: 4px; padding: 26px 24px; background: var(--gray); border-radius: var(--r); color: var(--muted); font-size: .92rem; }
a.fact:hover { text-decoration: none; background: var(--gray-2); }
.f-big { display: inline-flex; align-items: center; gap: 6px; font-size: 1.3rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.f-big .star { width: 18px; height: 18px; color: #F5A623; }

/* sections */
section { scroll-margin-top: 80px; }
.docs, .care, .voices, .first, .visit, .hfaq, .member-band, .roadhome { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.sec-head h2 { margin: 0; max-width: 18ch; }

/* doctors */
.doc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: stretch; }
.doc { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; background: var(--gray); border-radius: var(--r); padding: 20px; }
.doc-main { grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.doc-main .doc-body { padding: 36px 36px 36px 8px; }
.doc-main h3 { font-size: 1.75rem; letter-spacing: -.025em; }
.doc-ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.doc:not(.doc-main) .doc-ph img, .doc-mono { border-radius: var(--r-sm); }
.doc-more { display: grid; gap: 20px; }
.doc-mono { position: relative; aspect-ratio: 4 / 5; background: #fff; display: grid; place-items: center; }
.doc-mono span { font-size: 1.7rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.role { font-size: .85rem; font-weight: 600; color: var(--muted); margin: -4px 0 10px; }
.doc h3 { margin-bottom: 6px; }

/* road home: light gray band, clean timeline */
.roadhome { background: var(--gray); }
.roadhome-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rh-copy > p:not(.label) { color: var(--muted); font-size: 1.1rem; }
.road { list-style: none; margin: 34px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.road li { background: #fff; border-radius: var(--r-sm); padding: 18px; display: grid; align-content: start; gap: 4px; font-size: .88rem; color: var(--muted); line-height: 1.4; counter-increment: road; position: relative; }
.road { counter-reset: road; }
.road li::before { content: counter(road, decimal-leading-zero); font-size: .75rem; font-weight: 600; color: var(--teal-text); }
.road b { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.road .stop-dot { display: none; }
.rh-photo { margin: 0; border-radius: 28px; overflow: hidden; }
.rh-photo figcaption { display: none; }
.rh-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; max-height: 640px; }   /* Dr. Mark portrait (Oct 19 2026) */
.bio .road li { background: var(--gray); }

/* care */
.grp-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grp { background: var(--gray); border-radius: var(--r); padding: 30px; }
.grp-h { display: grid; gap: 14px; margin-bottom: 18px; }
.grp-h p { color: var(--muted); font-size: .95rem; margin: 0; }
.grp-h h3 { margin-bottom: 4px; font-size: 1.4rem; }
.sv-ic { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border-radius: 12px; color: var(--teal); }
.sv-ic .ic { width: 22px; height: 22px; }
.grp-links { display: grid; }
.grp-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--gray-2); color: var(--ink); font-weight: 500; }
.grp-links a .ic { width: 16px; height: 16px; color: var(--muted); }
.grp-links a:hover { color: var(--teal-text); text-decoration: none; }

/* reviews */
.voices { padding-top: 0; }
.voices-in { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; background: var(--gray); border-radius: 32px; padding: 56px; }
.voices-in > div > p:not(.label) { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin: 0; }
.rating { display: grid; justify-items: start; gap: 6px; background: #fff; padding: 28px 32px; border-radius: var(--r); color: var(--muted); min-width: 280px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.rating:hover { text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.r-num { font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.04em; }
.r-stars .star { width: 18px; height: 18px; }
.rwidget { margin-top: 34px; }
.revs { padding: 56px 0 90px; }
.revs-row { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; margin-top: 10px; }
.revs-row .rating { background: var(--gray); }

/* membership: the one dark band */
.member-band { padding-top: 0; }
.mcard { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; background: var(--ink); color: #D2D2D7; border-radius: 32px; padding: 64px; }
.mcard h2 { color: #fff; }
.mcard .small { color: #A1A1A6; }
.plans { display: grid; gap: 12px; align-content: center; }
.plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: #15323B; border-radius: 18px; padding: 22px 24px; }   /* logo teal, darkened for the ink band */
.plan b { color: #fff; font-weight: 600; font-size: 1.1rem; }
.plan span { font-size: 2rem; font-weight: 700; color: #6CC3E6; letter-spacing: -.03em; }   /* the logo's sky facet */
.plan small { font-size: .82rem; font-weight: 500; color: #A1A1A6; margin-left: 3px; letter-spacing: 0; }
.perks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.perks li { position: relative; padding-left: 26px; }
.perks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.mcard .perks li::before { border-color: #7FD0E6; }
.prose .perks { grid-template-columns: 1fr; }

/* first visit */
.first { padding-top: 0; }
.first-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.first-photo { margin: 0; border-radius: 28px; overflow: hidden; }
.first-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 12px 0 0; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--gray); color: var(--ink); font-weight: 600; font-size: .9rem; display: grid; place-items: center; }
.steps b { color: var(--ink); font-weight: 600; }
.steps span { color: var(--muted); }
.nsteps { padding-left: 1.3em; }
.nsteps li { margin-bottom: 6px; }
.nsteps li::marker { color: var(--teal-text); font-weight: 600; }

/* faq + book card */
.hfaq { background: var(--gray); }
.hfaq-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.hfaq .faq { border-color: var(--gray-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 1.08rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; margin: 0; color: var(--muted); }
.bcard { background: #fff; border-radius: var(--r); padding: 30px; display: grid; gap: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.side .bcard { background: var(--gray); box-shadow: none; }
.bcard h2 { font-size: 1.6rem; margin: 0; }
.bcard p { margin: 0; color: var(--muted); }
.bcard .label { margin: 0; }
.hours { width: 100%; font-size: .93rem; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--gray-2); }
.hours td { color: var(--muted); }
.hours th { font-weight: 500; color: var(--ink); padding-right: 14px; }

/* visit */
.visit-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.lede { font-size: 1.1rem; color: var(--muted); }
.v-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map { border-radius: 28px; overflow: hidden; background: var(--gray); min-height: 400px; }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
.map-tall iframe { min-height: 460px; }

/* inner pages */
.phead { padding: 64px 0 0; }
.phead .wrap { padding-bottom: 40px; }
.phead-photo .wrap { padding-bottom: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.phead-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.phead h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 20ch; margin-bottom: 12px; }
.phead-sub { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin: 0; }
.ph-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-window { margin-top: 36px; border-radius: 28px; overflow: hidden; }
.phead-photo + .wrap, .phead-photo + section { margin-top: 56px; }
.phead-photo { padding-bottom: 8px; }
.ph-window img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
/* zoom-out reveal (Ken Burns) on top photos: starts 8% enlarged and settles as the page loads */
@keyframes zoom-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.ph-window img, .hero-bg img { animation: zoom-settle 1.4s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 50%; }
/* service pages: heading left, photo right (half the row) */
.ph-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ph-split .phead-row { flex-direction: column; align-items: start; gap: 24px; }
.ph-split .phead-sub { max-width: 40ch; }
.ph-split .ph-window { margin-top: 0; }
.ph-split .ph-window img { aspect-ratio: 4 / 3; }
.art { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding: 64px 0 96px; align-items: start; }
.art-full { grid-template-columns: minmax(0, 760px); }
.side { position: sticky; top: 88px; display: grid; gap: 16px; }
.side .rating { min-width: 0; background: var(--gray); box-shadow: none; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.5em; }
.prose h3 { margin-top: 1.3em; }
.prose ul:not(.perks) { padding-left: 1.2em; }
.prose li { margin-bottom: 4px; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.note { background: var(--gray); padding: 24px 26px; margin: 32px 0; border-radius: var(--r); }
.note b { display: block; color: var(--ink); margin-bottom: 6px; }
.note p { margin-bottom: 8px; color: var(--muted); }
.note a { text-decoration: none !important; }
.faqs { margin-top: 40px; }
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sv { display: grid; grid-template-columns: 44px 1fr 16px; gap: 14px; align-items: center; background: var(--gray); border-radius: 18px; padding: 18px; color: var(--body); transition: background .2s; }
.sv:hover { background: var(--gray-2); text-decoration: none; color: var(--body); }
.sv b { display: block; color: var(--ink); font-weight: 600; }
.sv small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.sv .arr { width: 16px; height: 16px; color: var(--muted); }
.hub { padding: 56px 0 30px; }
.hub-g { margin-bottom: 48px; }
.hub-g h2 { font-size: 1.8rem; }
.more { padding: 80px 0; }
.more h2 { font-size: 1.8rem; margin-bottom: 24px; }
.bio { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; padding: 64px 0 96px; align-items: start; }
.bio-photos { display: grid; gap: 20px; }
.frame { margin: 0; border-radius: 24px; overflow: hidden; background: var(--gray); }
.frame img { width: 100%; height: auto; }
.frame figcaption { font-size: .85rem; color: var(--muted); padding: 10px 14px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.cta-row p { margin: 0; font-weight: 600; color: var(--ink); }
.staff { padding: 56px 0 30px; }
.team-note { margin: 56px 0 40px; background: var(--gray); padding: 40px; border-radius: 28px; max-width: 820px; }
.team-note p { color: var(--muted); }
.appt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 56px 0 24px; }
.ach { display: grid; gap: 4px; background: var(--gray); border-radius: var(--r); padding: 24px; color: var(--body); }
.ach:hover { background: var(--gray-2); text-decoration: none; }
.ach .ic { color: var(--teal); margin-bottom: 8px; }
.ach b { color: var(--ink); font-size: 1.1rem; }
.ach span { word-break: break-word; }
.ach small { color: var(--muted); }
.appt-more { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding-bottom: 90px; }
.appt-more .bcard { background: var(--gray); box-shadow: none; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 56px 0 90px; }
.post { display: grid; gap: 6px; align-content: start; background: var(--gray); border-radius: var(--r); padding: 24px; color: var(--body); }
.post:hover { background: var(--gray-2); text-decoration: none; }
.post b { font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; }
.sitemap ul { columns: 2; }

/* footer */
.foot { background: var(--gray); color: var(--muted); padding: 72px 0 90px; font-size: .9rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 130px; margin-bottom: 16px; }
.foot a { color: var(--body); }
.foot .btn-on-dark { background: var(--ink); color: #fff; }
.foot-h { font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.hours-foot th, .hours-foot td { border-color: var(--gray-2); padding: 5px 0; font-size: .86rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--gray-2); font-size: .82rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--muted); }

.dock { display: none; }

/* responsive */
@media (max-width: 1280px) { .tel span { display: none; } .tel { width: 38px; height: 38px; justify-content: center; border: 1.5px solid #C7C7CC; border-radius: 999px; } .tel .ic { width: 17px; height: 17px; } }
@media (max-width: 1100px) { .nav, .top-acts .tel, .top-acts .lang { display: none; } .menu { display: block; } .top-acts { margin-left: auto; } }   /* collapse to the menu before anything can wrap (Chris, Oct 19 2026) */
@media (max-width: 960px) {
  .nav, .top-acts .tel, .top-acts .lang { display: none; }
  .menu { display: block; }
  .top-acts { margin-left: auto; }
  .roadhome-in, .first-in, .visit-in, .hfaq-in, .art, .bio, .doc-grid, .mcard, .voices-in, .revs-row, .appt-more { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .grp-row, .sv-grid, .posts, .appt { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .bio { gap: 32px; }
  .bio-photos { grid-template-columns: 1fr 1fr; }
  .voices-in, .mcard { padding: 44px; }
}
@media (max-width: 900px) {
  .ph-split { grid-template-columns: 1fr; gap: 28px; }
  .hero { display: block; min-height: 0; background: #000; }
  .hero::after { display: none; }
  .hero-bg { position: relative; inset: auto; aspect-ratio: 4 / 3; max-height: 70vh; }
  .hero-c { padding: 28px 0 40px; }
  .hero h1 { white-space: normal; font-size: clamp(2.35rem, 6vw, 3.4rem); text-shadow: none; }
  .hero-meta { margin: 8px 0 0; }
}
@media (max-width: 640px) {
  .top-acts .btn { display: none; }
  .hero-acts .btn { flex: 1 1 100%; }
  body { font-size: 1rem; padding-bottom: 68px; }
  .wrap, .wrap-wide { width: min(var(--wrap), 100% - 32px); }
  .top-in { min-height: 58px; gap: 10px; }
  .brand img { width: 100px; }
  .docs, .care, .voices, .first, .visit, .hfaq, .member-band, .roadhome { padding: 72px 0; }
  .voices, .member-band, .first { padding-top: 0; }
  .sec-head { display: block; margin-bottom: 28px; }
  .sec-head .link { margin-top: 12px; }
  .doc { grid-template-columns: 92px 1fr; }
  .doc.doc-main { grid-template-columns: 1fr; }
  .doc-main .doc-body { padding: 4px 24px 28px; }
  .doc-main .doc-ph img { aspect-ratio: 1 / 1; }
  .grp-row, .sv-grid, .posts, .appt, .perks, .facts-in { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr 1fr; }
  .voices-in, .mcard { padding: 32px 22px; border-radius: 24px; }
  .rating { min-width: 0; width: 100%; }
  .ph-window { border-radius: 20px; }
  .ph-window img { aspect-ratio: 16 / 9; }
  .bio-photos { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .sitemap ul { columns: 1; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(0,0,0,.06); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font-weight: 600; color: var(--ink); background: var(--gray); }
  .dock a:hover { text-decoration: none; }
  .dock .ic { width: 18px; height: 18px; }
  .dock .dock-book { background: var(--ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; animation: none !important; } }

/* hover pill on mega-menu links, Gunnell-style (Chris, Oct 19 2026) */
.mega-col > a:not(.btn){padding:7px 10px;margin-inline:-10px;border-radius:8px;transition:background .15s,color .15s}
.mega-col > a:not(.btn):hover,.mega-col > a:not(.btn)[aria-current]{background:#E6F1F5;color:var(--teal-text);text-decoration:none;opacity:1}

/* team grid (Oct 21 2026): photos and bios from Dr. Mark */
.team { padding: 40px 0 110px; }
.team-sub { color: var(--muted); max-width: 640px; margin: 0 0 40px; font-size: 1.1rem; }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; align-items: stretch; }
.tm { background: var(--gray); border-radius: var(--r); overflow: hidden; }
.tm-ph img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tm-body { padding: 24px 26px 28px; }
.tm-body h3 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: -.02em; }
.tm-body .role { margin: 0 0 12px; }
.tm-body p:not(.role) { color: var(--muted); font-size: .98rem; line-height: 1.6; margin: 0 0 10px; }
.tm-body p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) { .tm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tm-grid { grid-template-columns: 1fr; } }
.staff .doc-grid { align-items: start; }
.doc-row { margin-bottom: 0; }
.tm-body .link { display: inline-flex; margin-top: 8px; }
