html { color-scheme: light; }
/* Perio4Life website layout. Values come from the design system tokens. */
body { margin: 0; background: #F2F0EB; }
a { color: inherit; }
.page { background: var(--surface); color: var(--text); font-family: var(--font-body); }

.wrap { max-width: 1440px; margin: 0 auto; box-sizing: border-box; padding-inline: 96px; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.sec { padding-block: 128px; }
.stack { display: flex; flex-direction: column; }
.btns { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.body-l { margin: 0; font-size: 19px; line-height: 30px; color: var(--text-body); }
.body { margin: 0; font-size: 16px; line-height: 26px; color: var(--text-body); }
.body-m { margin: 0; font-size: 17px; line-height: 28px; color: var(--text-body); }
.detail { margin: 0; font-size: 14px; line-height: 22px; color: var(--text-muted); }
.gum { height: 2px; background: var(--gumline); }

/* Heroes */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 720px; }
.hero-text { padding: 112px 64px 96px max(96px, calc((100% - 1248px) / 2 + 96px)); display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; }
.hero-photo { position: relative; min-height: 100%; background: var(--graphite); overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 780px; }
.p4l-label { flex-wrap: wrap; max-width: 100%; row-gap: 8px; }

/* Grids */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.cards5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 1100px) { .cards5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cards5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px 96px; align-items: center; }
.item { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.item .p4l-btn--link { align-self: flex-start; margin-top: 8px; }

/* Photo placeholders: real photos only, never stock */
.ph { background: var(--surface-panel); display: flex; align-items: flex-end; padding: 16px; box-sizing: border-box; font-size: 13px; line-height: 18px; color: var(--text-muted); }
[data-tone="dark"] .ph { background: var(--graphite); }

/* Two-column bullet rows */
.rows2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--line); }
.rows2 li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 26px; font-weight: 500; color: var(--text); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); padding: 0; }
.field .req { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; line-height: 24px; color: var(--text); background: var(--surface-raised); border: 1px solid var(--control-border); border-radius: var(--radius-card); padding: 13px 16px; box-sizing: border-box; width: 100%; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--inverse); outline-offset: 2px; }
.radios { display: flex; gap: 24px; border: 0; margin: 0; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.radios input { width: 18px; height: 18px; accent-color: var(--accent-fill); }
.full { grid-column: 1 / -1; }

/* Header */
.hd-top { background: var(--ink); color: var(--porcelain); }
.hd-top a { color: var(--pumice); text-decoration: none; }
.hd-top a:hover { color: var(--porcelain); }
.hd-nav > .hd-item > a, .hd-nav > a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; }
.hd-nav a:hover { color: var(--accent-text); }
.hd-item { position: relative; }
.hd-panel { display: none; position: absolute; top: 100%; left: -32px; z-index: 20; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 32px; box-sizing: border-box; }
.hd-item:hover > .hd-panel, .hd-item:focus-within > .hd-panel, .hd-panel.is-open { display: block; }
.hd-panel a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; font-size: 15px; line-height: 22px; font-weight: 500; white-space: nowrap; }
.hd-panel a:hover { color: var(--accent-text); }
.hd-mega { width: 760px; left: -200px; }
.hd-mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hd-mega-cols p { margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--accent-text); }

/* Footer */
.ft a { color: var(--text); text-decoration: none; }
.ft a:hover { color: var(--accent-text); }

/* FAQ / accordions */
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-variation-settings: "wdth" 85; font-size: 26px; line-height: 32px; color: var(--text); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:focus-visible { outline: 2px solid var(--inverse); outline-offset: 4px; }
.acc summary::after { content: "+"; font-family: var(--font-body); font-size: 24px; line-height: 1; color: var(--text-muted); }
.acc details[open] summary::after { content: "\2212"; }
.acc details > div { padding: 0 0 28px; max-width: 640px; }

@media (max-width: 1100px) {
  .hero-text { padding: 96px 48px 80px 48px; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-nav { gap: 24px !important; }
}
@media (max-width: 960px) {
  .wrap { padding-inline: 48px; }
  .sec { padding-block: 96px; }
  .g12 > * { grid-column: 1 / -1 !important; }
  .hero, .hero--even { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { height: 520px; order: -1; }
  .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .hd-top { display: none; }
  .hd-row { flex-wrap: wrap; row-gap: 8px !important; padding-block: 16px !important; padding-inline: 48px !important; }
  .hd-nav { order: 3; width: 100%; overflow-x: auto; gap: 24px !important; }
  .hd-panel { display: none !important; }
  .hd-logo-full { display: none !important; }
  .hd-logo-word { display: block !important; }
  .ft-grid > * { grid-column: span 6 !important; }
  .ft-grid > .ft-brand { grid-column: 1 / -1 !important; }
  .ft-wrap { padding: 72px 48px 40px !important; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 24px; }
  .sec { padding-block: 72px; }
  .hero-text { padding: 56px 24px 64px; }
  .hero-photo { height: 420px; }
  .cards3, .cards2, .cards4, .rows2, .form { grid-template-columns: 1fr; }
  .cards3 { gap: 40px; }
  .btns { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hd-row { padding-inline: 24px !important; }
  .hd-cta { display: none !important; }
  .ft-grid > * { grid-column: 1 / -1 !important; }
  .ft-wrap { padding: 56px 24px 32px !important; }
  .ft-base { flex-direction: column; align-items: flex-start !important; }
  .acc summary { font-size: 22px; line-height: 28px; }
}
@media (max-width: 420px) {
  .p4l-display--xl { font-size: 50px; line-height: 50px; }
  .p4l-display--l { font-size: 40px; line-height: 42px; }
}

/* ---------- v2: sans display type, new layouts, motion ---------- */
.p4l-display { font-variation-settings: "wdth" 92; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
.p4l-display em, .p4l-display i { font-style: normal; font-weight: 500; color: var(--accent-text); }
.p4l-display--xl { font-size: 84px; line-height: 86px; font-weight: 500; letter-spacing: -0.035em; }
.p4l-display--l { font-size: 56px; line-height: 60px; font-weight: 500; letter-spacing: -0.03em; font-variation-settings: "wdth" 92; }
.p4l-display--m { font-size: 38px; line-height: 44px; font-weight: 500; letter-spacing: -0.025em; }
.p4l-display--title { font-size: 24px; line-height: 30px; font-weight: 550; letter-spacing: -0.02em; font-variation-settings: "wdth" 92; }
.p4l-standfirst, .hero-sub { font-family: var(--font-body); font-style: normal; font-size: 20px; line-height: 30px; font-weight: 500; color: var(--text); margin: 0; }
.p4l-rules__num { display: none; }
.p4l-office__phone { font-variation-settings: "wdth" 92; font-weight: 550; font-size: 22px; }
.acc summary { font-variation-settings: "wdth" 92; font-weight: 550; font-size: 22px; line-height: 28px; }
@media (max-width: 720px) {
  .p4l-display--xl { font-size: 52px; line-height: 54px; }
  .p4l-display--l { font-size: 40px; line-height: 44px; }
  .p4l-display--m { font-size: 30px; line-height: 36px; }
}
@media (max-width: 420px) {
  .p4l-display--xl { font-size: 44px; line-height: 46px; }
  .p4l-display--l { font-size: 34px; line-height: 38px; }
}
.sec { padding-block: 112px; }

/* Section heads: label, headline and text in one column */
.sec-head { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 640px; }
.sec-head .p4l-display + p { margin-top: -4px; }
.g12.head, .g12.stmt { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; max-width: 760px; }
.g12.head > *, .g12.stmt > * { padding-top: 0 !important; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* Header social icons, footer credit */
.soc { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; }
.soc svg { display: block; }
.ft-credit { margin: 0; font-size: 13px; line-height: 20px; color: var(--text-muted); }
.ft-credit a { color: var(--text) !important; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.ft-credit a:hover { color: var(--accent-text) !important; border-bottom-color: var(--accent-text); }

/* Home hero */
.hero-home { min-height: 760px; }
.hero-photo img { transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: block; }

/* Services: index with a preview */
.svc2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 96px; align-items: start; }
.svc2-side { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 40px; }
.svc2-preview { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-panel); }
.svc2-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.svc2-preview img.cur { opacity: 1; transform: none; }
.svc2-list { border-top: 1px solid var(--line); }
.svc2-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.svc2-row img, .svc-thumb { width: 76px; height: 95px; object-fit: cover; display: block; }
.svc2-row .body { margin-top: 4px; max-width: 460px; }
.svc2-row svg { color: var(--text-muted); transition: transform .25s ease, color .25s ease; }
.svc2-row:hover svg, .svc2-row.cur svg { transform: translateX(6px); color: var(--accent-text); }
.svc2-row:hover .p4l-display, .svc2-row.cur .p4l-display { color: var(--accent-text); }
.svc2-row:focus-visible, .post:focus-visible, .loc-row:focus-visible { outline: 2px solid var(--inverse); outline-offset: 4px; }
.svc-row { grid-template-columns: 76px minmax(0, 4fr) minmax(0, 6fr) auto !important; align-items: center !important; padding: 18px 0 !important; }

/* Doctors */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.doc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.doc-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite); }
.doc-photo img, .post-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.doc-photo:hover img, .post:hover .post-img img { transform: scale(1.04); }
.doc .p4l-rules__row { flex-direction: column; gap: 2px; align-items: flex-start; padding: 12px 0; }
.doc .p4l-rules__meta { text-align: left; }
.doc .p4l-rules__title { font-size: 16px; line-height: 24px; }

/* Blog */
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--text); }
.post-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-panel); margin-bottom: 6px; }
.post-img img { object-position: 50% 50%; }
.post:hover .p4l-display { color: var(--accent-text); }
.cards3.blog { gap: 48px 24px; }

/* Locations */
.loc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: stretch; }
.loc-list { border-top: 1px solid var(--rule-light); }
.loc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; width: 100%; padding: 20px 0 20px 20px; border: 0; border-bottom: 1px solid var(--rule-light); border-left: 2px solid transparent; background: none; font: inherit; color: var(--text); text-align: left; cursor: pointer; transition: border-color .25s ease, padding .25s ease; }
.loc-row.cur { border-left-color: var(--accent); }
.loc-row .brand { grid-column: 1 / -1; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--accent-text); }
.loc-row .name { font-family: var(--font-display); font-variation-settings: "wdth" 92; font-size: 24px; line-height: 30px; font-weight: 550; letter-spacing: -0.02em; }
.loc-row .tel { font-size: 17px; line-height: 30px; font-weight: 600; white-space: nowrap; }
.loc-row .addr { grid-column: 1 / -1; font-size: 14px; line-height: 22px; color: var(--text-muted); }
.loc-map { position: relative; min-height: 520px; background: var(--chalk); overflow: hidden; }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.12) contrast(.96); }
.loc-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 40px; background:
  linear-gradient(var(--rule-light) 1px, transparent 1px) 0 0 / 100% 64px,
  linear-gradient(90deg, var(--rule-light) 1px, transparent 1px) 0 0 / 64px 100%, var(--chalk); }

/* Team photos */
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-panel); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }

@media (max-width: 1100px) {
  .svc2, .loc { gap: 24px 48px; }
  .docs { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .svc2, .loc { grid-template-columns: minmax(0, 1fr); }
  .svc2-side { position: static; }
  .svc2-preview { display: none; }
  .loc-map { min-height: 380px; order: 2; }
  .svc-row { grid-template-columns: 76px minmax(0, 1fr) auto !important; }
  .svc-row .body { grid-column: 2 / -1 !important; }
  .hero-home { min-height: 0; }
}
@media (max-width: 600px) {
  .sec { padding-block: 72px; }
  .doc { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; }
  .svc2-row { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .svc2-row > svg { display: none; }
  .svc2-row img { width: 64px; height: 80px; }
  .loc-row { grid-template-columns: minmax(0, 1fr); padding-left: 16px; }
  .loc-fallback { padding: 24px; }
}

/* Motion: calm reveals, only when JS is on and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv-clip > img { clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1); }
  .js .rv-clip.in > img { clip-path: inset(0); transform: none; }
  .js .gum { transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .2s; }
  .js .gum.in { transform: none; }
  .js .ln > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .js .ln:nth-child(2) > span { transition-delay: .09s; }
  .js.ready .ln > span { transform: none; }
  .js .hero-home .hero-photo img { transform: scale(1.06); }
  .js.ready .hero-home .hero-photo img { transform: none; }
  .js .hero-text > :not(h1) { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .hero-text > :nth-child(3) { transition-delay: .25s; } .js .hero-text > :nth-child(4) { transition-delay: .33s; } .js .hero-text > :nth-child(5) { transition-delay: .41s; }
  .js.ready .hero-text > :not(h1) { opacity: 1; transform: none; }
  .p4l-btn svg { transition: transform .25s ease; }
  .p4l-btn:hover svg { transform: translateX(4px); }
}

/* ---------- v3 ---------- */
/* Bold titles */
.p4l-display { font-weight: 700 !important; letter-spacing: -0.03em; }
.p4l-display em, .p4l-display i { font-weight: 700; }
.p4l-display--title { font-weight: 650 !important; letter-spacing: -0.02em; }
.loc-row .name { font-weight: 650; }

/* Home hero: full-width photo, dark shade from the left */
.hero-full { position: relative; overflow: hidden; background: var(--ink); min-height: 760px; display: flex; flex-direction: column; justify-content: flex-end; }
.hf-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 80%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
.hf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.hf-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,20,19,.97) 0%, rgba(21,20,19,.9) 26%, rgba(21,20,19,.55) 46%, rgba(21,20,19,.12) 64%, rgba(21,20,19,0) 76%), linear-gradient(0deg, rgba(21,20,19,.55) 0%, rgba(21,20,19,0) 34%); }
.hf-inner { position: relative; width: 100%; }
.hf-text { padding: 120px 0 96px !important; max-width: 640px; }
.hf-text .body-l { color: var(--pumice); }
.hf-gum { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .js .hf-photo img { transform: scale(1.06); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
  .js.ready .hf-photo img { transform: none; }
}
@media (max-width: 1100px) { .hf-photo { width: 92%; } }
@media (max-width: 960px) {
  .hero-full { min-height: 0; }
  .hf-photo { position: relative; width: 100%; height: 480px; -webkit-mask-image: none; mask-image: none; }
  .hf-shade { top: 0; bottom: auto; height: 480px; background: linear-gradient(0deg, rgba(21,20,19,1) 0%, rgba(21,20,19,0) 40%); }
  .hf-text { padding: 8px 0 64px !important; }
}
@media (max-width: 600px) { .hf-photo, .hf-shade { height: 400px; } .hf-text { padding: 0 0 56px !important; } }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); }
.svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-panel); margin-bottom: 8px; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .svc-img img { transform: scale(1.04); }
.svc-card:hover .p4l-display { color: var(--accent-text); }
.svc-card .p4l-btn--link { align-self: flex-start; margin-top: 4px; }
.svc-card:focus-visible { outline: 2px solid var(--inverse); outline-offset: 4px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Doctor pages: one about section */
.bio-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px 96px; align-items: start; }
.bio-aside { position: sticky; top: 32px; }
.bio-aside .p4l-rules__row { flex-direction: column; gap: 2px; align-items: flex-start; padding: 14px 0; }
.bio-aside .p4l-rules__title { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--accent-text); }
.bio-aside .p4l-rules__meta { text-align: left; font-size: 16px; line-height: 24px; color: var(--text); }
.bio-text { max-width: 680px; }
.bio-text p { margin: 0 0 24px; font-size: 18px; line-height: 31px; color: var(--text-body); }
.bio-text .bio-lead { font-size: 24px; line-height: 36px; font-weight: 500; color: var(--text); margin-bottom: 32px; }
.bio-quote { margin: 40px 0; padding-top: 24px; border-top: 2px solid var(--gumline); font-family: var(--font-display); font-variation-settings: "wdth" 92; font-weight: 700; font-size: 32px; line-height: 40px; letter-spacing: -0.025em; color: var(--text); }
@media (max-width: 960px) { .bio-grid { grid-template-columns: 1fr; } .bio-aside { position: static; } }
@media (max-width: 600px) { .bio-text .bio-lead { font-size: 20px; line-height: 30px; } .bio-text p { font-size: 17px; line-height: 29px; } .bio-quote { font-size: 26px; line-height: 33px; } }

/* ---------- v4: clinic landing page (BrightSmile layout) ---------- */
.glass { position: relative; background: linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 55%, rgba(255,255,255,.09) 100%); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.06), 0 24px 48px rgba(0,0,0,.22); border-radius: 20px; color: var(--porcelain); }
.glass--sage { background: linear-gradient(135deg, rgba(147,160,142,.82) 0%, rgba(100,110,90,.78) 100%); border-color: rgba(226,232,221,.45); }
.glass--light { background: linear-gradient(135deg, rgba(251,250,247,.86), rgba(242,240,235,.72)); border-color: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 1px 0 #fff, 0 18px 40px rgba(21,20,19,.16); }
.spark { color: var(--sage-light); flex: none; }
.bs-kick { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--pumice); }
.bs-kick--light { color: var(--smoke); }
.bs-kick--light .spark { color: var(--sage); }
.bs-h1 { margin: 0; font-family: var(--font-display); font-variation-settings: "wdth" 96; font-weight: 700; font-size: 76px; line-height: 80px; letter-spacing: -0.035em; color: var(--porcelain); text-wrap: balance; }
.bs-h2 { margin: 0; font-family: var(--font-display); font-variation-settings: "wdth" 96; font-weight: 700; font-size: 48px; line-height: 54px; letter-spacing: -0.03em; color: var(--text); text-wrap: balance; }
.bs-h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -0.02em; color: var(--text); }
.bs-h1 em, .bs-h2 em { font-style: normal; color: var(--accent-text); }
.bs-hero .bs-h1 em, .bs-exp .bs-h2 em, .bs-band .bs-h2 em { color: var(--sage-light); }
.bs-sub { margin: 0; font-size: 18px; line-height: 29px; color: var(--pumice); max-width: 460px; }

/* Pills with a round arrow, as in the reference */
.pill { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 7px 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease; }
.pill:not(:has(.circ)) { padding-right: 24px; }
.circ { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex: none; transition: transform .25s ease; }
.circ svg { width: 18px; height: 10px; }
.pill--sage { background: var(--sage-pill); color: var(--porcelain); }
.pill--sage .circ { background: var(--porcelain); color: var(--ink); }
.pill--sage:hover { background: var(--sage-deep); }
.pill--ghost { border: 1px solid rgba(242,240,235,.4); color: var(--porcelain); }
.pill--ghost .circ { border: 1px solid rgba(242,240,235,.4); }
.pill--ghost:hover { border-color: var(--porcelain); }
.pill--light { background: var(--porcelain); color: var(--ink); }
.pill--light .circ { background: var(--ink); color: var(--porcelain); }
.pill:hover .circ, .xcard:hover .circ, .mini:hover .circ { transform: translateX(3px); }
.pill:focus-visible, .xcard:focus-visible, .mini:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; }

/* Header over the hero on the home page */
.hd-over { position: absolute !important; top: 0; left: 0; right: 0; background: transparent !important; border-bottom: 0 !important; }
.hd-over .hd-top { background: rgba(21,20,19,.55); }
.hd-over .hd-nav > .hd-item > a, .hd-over .hd-nav > a { color: var(--porcelain); }
.hd-over .hd-nav > .hd-item > a:hover, .hd-over .hd-nav > a:hover { color: var(--sage-light); }
.hd-over .hd-cta { background: var(--porcelain) !important; color: var(--ink) !important; padding: 0 6px 0 22px; gap: 14px; }
.hd-over .hd-cta svg { width: 40px; height: 40px; padding: 15px 11px; box-sizing: border-box; border-radius: 50%; background: var(--ink); color: var(--porcelain); }

/* Hero */
.bs-hero { position: relative; overflow: hidden; background: var(--ink); }
.bs-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 72%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.bs-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.bs-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,20,19,.96) 0%, rgba(21,20,19,.82) 30%, rgba(21,20,19,.3) 52%, rgba(21,20,19,0) 70%), linear-gradient(0deg, var(--ink) 0%, rgba(21,20,19,0) 26%), linear-gradient(180deg, rgba(21,20,19,.55) 0%, rgba(21,20,19,0) 22%); }
.bs-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: end; padding-top: 236px; padding-bottom: 88px; }
.bs-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; max-width: 620px; }
.bs-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.bs-stats { padding: 24px; display: flex; flex-direction: column; margin-bottom: 8px; }
.bs-stats-top { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; font-size: 14px; line-height: 20px; font-weight: 600; }
.bs-ico, .feat-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
.bs-ico { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.bs-stat { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.bs-stat b { font-family: var(--font-display); font-size: 38px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; }
.bs-stat span { font-size: 14px; line-height: 20px; color: var(--pumice); }

/* Expertise band with glass cards */
.bs-exp { background: var(--ink); }
.bs-exp-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px 64px; align-items: center; padding-block: 72px 104px; }
.bs-exp-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.xcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end; }
.xcard { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--porcelain); border: 1px solid rgba(255,255,255,.14); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.xcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.xcard:hover > img { transform: scale(1.04); }
.xcard--on { transform: translateY(-20px); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.xpanel { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 16px 64px 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(21,20,19,.5), rgba(21,20,19,.28)); }
.xpanel.glass--sage { background: linear-gradient(135deg, rgba(147,160,142,.88), rgba(100,110,90,.82)); }
.xpanel h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 18px; line-height: 23px; font-weight: 650; letter-spacing: -0.01em; }
.xpanel p { margin: 0; font-size: 13px; line-height: 19px; color: rgba(242,240,235,.82); }
.xpanel .circ { position: absolute; right: 14px; bottom: 16px; background: var(--porcelain); color: var(--ink); width: 38px; height: 38px; }
.xbadge { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

/* Why choose us */
.bs-why { background: var(--porcelain); }
.bs-why-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 72px; align-items: center; }
.bs-why-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.bs-why-text .body-m { max-width: 460px; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; width: 100%; }
.feat { display: flex; flex-direction: column; gap: 6px; }
.feat-ico { background: rgba(118,131,111,.14); color: var(--sage-deep); margin-bottom: 8px; }
.feat b { font-size: 16px; line-height: 22px; color: var(--text); }
.feat span:last-child { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.bs-why-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--stone); }
.bs-why-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.why-card { position: absolute; right: 20px; bottom: 20px; padding: 16px 20px; max-width: 220px; display: flex; flex-direction: column; gap: 2px; border-radius: 16px; }
.why-card b { font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; letter-spacing: -0.02em; }
.why-card span { font-size: 13px; line-height: 19px; color: var(--umber); }
.minis-wrap { margin-top: 96px; display: flex; flex-direction: column; gap: 28px; }
.minis-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.minis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.mini { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 18px; background: var(--chalk); border: 1px solid var(--rule-light); text-decoration: none; color: var(--text); font-size: 15px; line-height: 20px; font-weight: 600; transition: border-color .2s ease, box-shadow .2s ease; }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 80%; border-radius: 12px; display: block; }
.mini span:not(.circ) { min-height: 40px; padding-right: 40px; position: relative; }
.mini { position: relative; }
.mini .circ { position: absolute; right: 14px; bottom: 14px; width: 32px; height: 32px; background: var(--stone); color: var(--ink); }
.mini:hover { border-color: var(--sage); box-shadow: 0 10px 24px rgba(21,20,19,.08); }

/* CTA band */
.bs-band-wrap { padding-block: 0 112px; }
.bs-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 40px; overflow: hidden; border-radius: 28px; background: var(--ink); padding: 56px 0 56px 64px; }
.bs-band-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.bs-band .bs-h2 { color: var(--porcelain); }
.bs-band > img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 50% 70%; display: block; border-radius: 20px 0 0 20px; }
#locations + .bs-band-wrap, .bs-band-wrap { background: var(--surface-panel); }

@media (max-width: 1100px) {
  .bs-h1 { font-size: 60px; line-height: 64px; }
  .bs-exp-in { grid-template-columns: minmax(0, 1fr); }
  .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bs-photo { width: 85%; }
}
@media (max-width: 960px) {
  .hd-over { position: relative !important; background: var(--ink) !important; }
  .bs-photo { position: relative; width: 100%; height: 460px; -webkit-mask-image: none; mask-image: none; }
  .bs-shade { height: 460px; bottom: auto; background: linear-gradient(0deg, var(--ink) 0%, rgba(21,20,19,0) 45%); }
  .bs-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-bottom: 64px; margin-top: -40px; }
  .bs-stats { flex-direction: row; flex-wrap: wrap; gap: 0 24px; }
  .bs-stats-top { width: 100%; }
  .bs-stat { flex: 1 1 140px; }
  .bs-why-in { grid-template-columns: minmax(0, 1fr); }
  .bs-band { grid-template-columns: minmax(0, 1fr); padding: 48px 32px 0; }
  .bs-band > img { border-radius: 20px 20px 0 0; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .bs-h1 { font-size: 46px; line-height: 50px; }
  .bs-h2 { font-size: 36px; line-height: 42px; }
  .xcards { grid-template-columns: minmax(0, 1fr); }
  .xcard { aspect-ratio: 4 / 3; }
  .xcard--on { transform: none; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-band-wrap { padding-bottom: 72px; }
}

/* Lighter motion: fades only, no slides, no clip reveals */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { transform: none !important; transition: opacity .6s ease !important; transition-delay: 0ms !important; }
  .js .rv-clip > img, .js .rv-clip.in > img { clip-path: none !important; transform: none !important; transition: transform .8s cubic-bezier(.2,.7,.2,1) !important; }
  .js .gum { transform: none !important; }
  .js .ln > span { transform: none !important; }
  .js .hero-text > :not(h1) { transform: none !important; }
  .js .bs-text, .js .bs-stats { opacity: 0; transition: opacity .8s ease .1s; }
  .js .bs-stats { transition-delay: .3s; }
  .js.ready .bs-text, .js.ready .bs-stats { opacity: 1; }
}
.bs-stats { background: linear-gradient(135deg, rgba(42,40,38,.62) 0%, rgba(21,20,19,.5) 100%); }
.xpanel { background: linear-gradient(135deg, rgba(21,20,19,.62), rgba(21,20,19,.4)); }
.xcard > img { object-position: 50% 95%; }

/* v5: expertise cards show the whole subject; CTA band photo */
.xcard { background: var(--graphite); }
.xcard > .xbg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(16px) brightness(.8); transform: none !important; }
.xcard > .ximg { position: absolute; top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: 74%; object-fit: cover; object-position: 50% 82%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.xpanel { padding: 14px 58px 14px 16px; }
.xpanel h3 { font-size: 17px; line-height: 22px; }
.xpanel p { font-size: 12.5px; line-height: 18px; }
.xpanel .circ { width: 34px; height: 34px; right: 12px; bottom: 14px; }
@media (max-width: 720px) { .xcard > .ximg { height: 72%; } }

.bs-band { display: block; min-height: 420px; padding: 0; background: #6f7a69; }
.bs-band > .bs-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 70% 30%; border-radius: 0; }
.bs-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21,20,19,.55) 0%, rgba(21,20,19,.28) 38%, rgba(21,20,19,0) 60%); }
.bs-band-text { position: relative; z-index: 2; padding: 88px 64px; max-width: 560px; }
.bs-band .bs-sub { color: rgba(242,240,235,.9); }
@media (max-width: 960px) {
  .bs-band { min-height: 0; padding: 0; }
  .bs-band > .bs-band-bg { position: relative; aspect-ratio: auto; height: 300px; object-position: 82% 25%; border-radius: 0; }
  .bs-band::before { background: linear-gradient(0deg, rgba(21,20,19,.9) 0%, rgba(21,20,19,.6) 45%, rgba(21,20,19,0) 70%); }
  .bs-band-text { padding: 0 28px 40px; margin-top: -120px; }
}
@media (max-width: 960px) {
  .bs-band { background: var(--ink); }
  .bs-band > .bs-band-bg { height: 260px; }
  .bs-band::before { background: linear-gradient(0deg, var(--ink) 0, rgba(21,20,19,0) 70px); height: 260px; bottom: auto; }
  .bs-band-text { margin-top: 0; padding: 8px 28px 40px; }
}

/* v6: services grid, article pages, blog */
.sq-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 24px 96px; align-items: end; margin-bottom: 48px; }
.sq-head .body-m { max-width: 440px; }
.sq-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sq { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 20px; border-radius: 20px; background: var(--chalk); border: 1px solid var(--rule-light); text-decoration: none; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease; }
.sq img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 62%; border-radius: 14px; display: block; margin-bottom: 8px; }
.sq h3 { margin: 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 27px; letter-spacing: -0.015em; }
.sq p { margin: 0 6px; font-size: 15px; line-height: 23px; color: var(--text-body); }
.sq .circ { position: absolute; right: 24px; top: 24px; width: 40px; height: 40px; background: var(--chalk); color: var(--ink); }
.sq:hover { border-color: var(--sage); box-shadow: 0 10px 24px rgba(21,20,19,.08); }
.sq:hover .circ { transform: translateX(3px); }
.sq:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.art-hero .p4l-label a { color: inherit; text-decoration: none; }
.art-hero .p4l-label a:hover { color: var(--porcelain); text-decoration: underline; text-underline-offset: 3px; }
.art-hero .p4l-label span[aria-hidden="true"]:not(.p4l-label__rule) { opacity: .5; }
.art-hero .p4l-display--l { max-width: 640px; }
.art-meta { color: var(--pumice); }
.art .bio-text h2 { margin: 56px 0 16px; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 39px; letter-spacing: -0.025em; color: var(--text); }
.art .bio-text h3 { margin: 32px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 29px; letter-spacing: -0.015em; color: var(--text); }
.art .bio-text > :first-child { margin-top: 0; }
.art .bio-text ul { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.art .bio-text li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 28px; color: var(--text-body); }
.art .bio-text li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 12px; height: 2px; background: var(--sage); }
.art .bio-text strong { color: var(--text); font-weight: 600; }
.art-rel { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.art-rel p { margin: 0 0 8px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--accent-text); }
.art-rel a:not(.p4l-btn) { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 16px; line-height: 23px; font-weight: 500; }
.art-rel a:not(.p4l-btn):hover { color: var(--accent-text); }
.art-rel .p4l-btn { margin-top: 16px; align-self: flex-start; }
.bio-aside a { color: inherit; }
@media (max-width: 1100px) { .sq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .sq-head { grid-template-columns: 1fr; } .art-rel { display: none; } }
@media (max-width: 720px) { .sq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .sq { padding: 10px 10px 16px; border-radius: 16px; } .sq img { border-radius: 10px; } .sq h3 { font-size: 17px; line-height: 22px; margin: 0 4px; } .sq p { font-size: 14px; line-height: 21px; margin: 0 4px; } .sq .circ { display: none; } .art .bio-text h2 { font-size: 26px; line-height: 32px; margin-top: 44px; } .art .bio-text li { font-size: 16px; line-height: 26px; } }

/* v7: reviews carousel, team monogram, legal pages */
.rev-sec { background: var(--ink); }
.rev-sec .head-row { margin-bottom: 56px; }
.rev-nav { display: flex; gap: 12px; }
.rev-btn { border: 1px solid rgba(242,240,235,.35); background: transparent; color: var(--porcelain); cursor: pointer; width: 52px; height: 52px; transition: background .2s ease, color .2s ease, opacity .2s ease, transform .25s ease; }
.rev-btn:hover:not(:disabled) { background: var(--porcelain); color: var(--ink); }
.rev-btn:disabled { opacity: .3; cursor: default; }
.rev-btn:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; }
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 6px; }
.rev { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 24px; background: rgba(242,240,235,.06); border: 1px solid rgba(242,240,235,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rev-stars { display: flex; gap: 4px; color: #E8B04B; }
.rev blockquote { margin: 0; flex: 1; }
.rev blockquote p { margin: 0; font-size: 17px; line-height: 28px; color: var(--porcelain); }
.rev figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(242,240,235,.14); }
.rev figcaption span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 26px; color: var(--porcelain); }
.rev figcaption .detail { color: var(--pumice); }
@media (prefers-reduced-motion: reduce) { .rev-track { scroll-behavior: auto; } }
@media (max-width: 1100px) { .rev-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .rev-track { grid-auto-columns: 86%; gap: 14px; } .rev { padding: 24px; } .rev blockquote p { font-size: 16px; line-height: 26px; } .rev-sec .head-row { margin-bottom: 36px; } }
.team-mono { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--chalk); border: 1px solid var(--rule-light); box-sizing: border-box; color: var(--sage-deep); font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1; letter-spacing: -0.04em; }
.art-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 8px 0 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.art .bio-text .art-offices p { margin: 0; font-size: 15px; line-height: 23px; }
.art .bio-text .art-offices p:first-child { margin-bottom: 6px; }
.art .bio-text a { color: var(--accent-text); text-underline-offset: 3px; }
.art-rel a[aria-current="page"] { color: var(--accent-text); }
@media (max-width: 720px) { .art-offices { grid-template-columns: 1fr; } .team-mono { font-size: 72px; } }

/* v8: doctors section with clinic backdrop and portrait cards */
.dr-sec { position: relative; overflow: hidden; background: var(--ink); }
.dr-bg { position: absolute; inset: 0; pointer-events: none; }
.dr-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; opacity: .2; filter: grayscale(.6) contrast(1.05); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 55%, transparent 100%); }
.dcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.dcard { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: rgba(242,240,235,.06); border: 1px solid rgba(242,240,235,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.dcard-photo { position: relative; display: block; aspect-ratio: 6 / 5; overflow: hidden; color: var(--porcelain); text-decoration: none; }
.dcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.dcard-photo::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(21,20,19,0) 0%, rgba(21,20,19,.55) 45%, rgba(21,20,19,.92) 100%); }
.dcard-photo:hover img { transform: scale(1.035); }
.dcard-name { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.dcard-name h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 38px; letter-spacing: -0.025em; }
.dcard-role { font-size: 15px; line-height: 22px; font-weight: 500; color: rgba(242,240,235,.82); }
.dcard-go { position: absolute; top: 20px; right: 20px; z-index: 1; width: 52px; height: 52px; background: rgba(242,240,235,.16); border: 1px solid rgba(242,240,235,.3); color: var(--porcelain); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s ease, color .2s ease; }
.dcard-photo:hover .dcard-go { background: var(--porcelain); color: var(--ink); }
.dcard-photo:focus-visible { outline: 2px solid var(--sage-light); outline-offset: -4px; }
.dcard-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dcard-facts li { display: flex; flex-direction: column; gap: 6px; padding: 24px 24px 28px; border-left: 1px solid rgba(242,240,235,.12); }
.dcard-facts li:first-child { border-left: 0; padding-left: 32px; }
.dcard-facts b { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 23px; color: var(--porcelain); }
.dcard-facts span { font-size: 14px; line-height: 21px; color: var(--pumice); }
@media (max-width: 1100px) { .dcard-name h3 { font-size: 28px; line-height: 32px; } .dcard-facts li { padding: 20px 16px 24px; } .dcard-facts li:first-child { padding-left: 24px; } }
@media (max-width: 960px) { .dcards { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dcard { border-radius: 22px; } .dcard-photo { aspect-ratio: 1 / 1; } .dcard-name { left: 20px; right: 20px; bottom: 20px; } .dcard-name h3 { font-size: 26px; line-height: 30px; } .dcard-facts { grid-template-columns: 1fr; } .dcard-facts li, .dcard-facts li:first-child { border-left: 0; border-top: 1px solid rgba(242,240,235,.12); padding: 16px 20px; } .dr-bg img { opacity: .16; } }

/* v9: hero photo sits left of the stats card so the card never covers the doctor */
@media (min-width: 961px) {
  .bs-photo { right: calc(max(96px, (100% - 1440px) / 2 + 96px) + 130px); width: auto; left: 33%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 80%, transparent 100%); }
  .bs-photo img { object-position: 50% 12%; }
  .bs-hero-in { grid-template-columns: minmax(0, 1fr) 240px; }
}
/* why photo: the 20+ card sits in the empty wall area on the left */
.why-card { right: auto; left: 20px; }
/* Newsletter hidden until a signup tool is connected */
section[aria-labelledby="news-title"] { display: none; }