/* Serenity Oaks Dental – fonts are hosted with the site, so no visitor data goes to a font service.
   Headings: Bricolage Grotesque. Body: Atkinson Hyperlegible, designed for readers with low vision. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("fonts/bricolage.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/atkinson.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/atkinson-bold.woff2") format("woff2"); }

:root {
  --navy: #13284d;
  --navy-2: #1d3b6e;
  --sky: #2aa7df;
  --sky-dark: #0f6f9e;
  --ice: #eef7fc;
  --gold: #c9a44c;
  --gold-light: #e2c47a;
  --ink: #1b2533;
  --muted: #4a5568;
  --line: #d9e3ec;
  --white: #ffffff;
  --paper: #ffffff;
  --alert: #9b2c2c;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
  --mist: #eaf4fa;

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky-dark); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--gold-light); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.08; margin: 0 0 0.45em; letter-spacing: -0.02em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 68ch; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; color: var(--muted); }
.eyebrow { display: inline-block; font-weight: 700; font-size: 1rem; color: var(--sky-dark); margin-bottom: 6px; }
.dark .eyebrow { color: #8fd3f2; }


.skip { position: absolute; left: 12px; top: 0; transform: translateY(-120%); z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { transform: translateY(12px); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 8px; font: 700 1rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--ice); }
.dark .btn-outline { color: var(--white); }
.dark .btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Address bar + header */
.topbar { background: var(--navy); color: var(--white); font-size: 0.88rem; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar .hours { color: var(--gold-light); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.site-nav { margin-left: auto; }
.nav { display: flex; gap: 20px; white-space: nowrap; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 0.97rem; }
.nav li { margin: 0; }
.nav a { color: var(--navy); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--sky-dark); text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; font: 700 0.95rem var(--sans); color: var(--navy); background: none; border: 2px solid var(--line); border-radius: 8px; padding: 0.55em 1em; cursor: pointer; }
.menu-toggle:hover { border-color: var(--sky-dark); }
@media (max-width: 1320px) {
  .menu-toggle { display: inline-block; margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(19,40,77,0.08); max-height: calc(100vh - 120px); overflow-y: auto; }
  .site-header.nav-open .site-nav { display: block; }
  .nav { flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; font-size: 1.05rem; }
  .nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .header-phone { display: none; }
}
@media (max-width: 600px) {
  .topbar .hours { display: none; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .header-actions .btn { display: none; }
  .brand img { height: 48px; }
}

/* Sections */
.section { padding: var(--section) 0; }
.ice { background: var(--ice); }
.dark { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }
.dark p, .dark li { color: #d7e6f4; }
.dark a:not(.btn) { color: var(--gold-light); }
.lede { font-size: clamp(1.1rem, 1.7vw, 1.25rem); max-width: 40em; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 .accent { color: var(--gold-light); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; margin: 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800; }
.stars { margin-top: 20px; font-weight: 600; }
.stars b { color: var(--gold); letter-spacing: 2px; }
.portrait { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,0.3); background: var(--white); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.portrait figcaption { padding: 10px 14px; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero .portrait { max-width: 360px; } }

/* Page header (inner pages) */
.page-head { padding: clamp(40px, 6vw, 64px) 0; }
.page-head p { max-width: 44em; font-size: 1.12rem; margin: 0; }
.crumbs { font-size: 0.88rem; margin-bottom: 10px; }
.crumbs a { color: #bfe3f6; }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; color: var(--sky-dark); }
.card p:last-child { margin-bottom: 0; }
.card.link-card { position: relative; transition: border-color 0.15s, box-shadow 0.15s; }
.card.link-card:hover { border-color: var(--sky); box-shadow: 0 8px 22px rgba(19,40,77,0.08); }
.card .more { font-weight: 700; font-size: 0.95rem; }
.icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ice); color: var(--sky-dark); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.photo { border-radius: 14px; overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sky-dark); color: var(--white); font-weight: 800; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.pills li { margin: 0; border: 2px solid var(--navy); border-radius: 999px; padding: 6px 16px; font-weight: 700; color: var(--navy); background: var(--white); }

.offer { background: var(--white); border: 3px solid var(--gold); border-radius: 14px; padding: 24px; }
.offer .price { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.offer .price sup { font-size: 1.4rem; vertical-align: 0.9em; }

.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.review .s { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.review blockquote { margin: 8px 0 14px; flex: 1; }
.review figcaption { font-weight: 700; color: var(--navy); }

.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; }

.note { background: var(--ice); border-left: 4px solid var(--sky-dark); padding: 16px 18px; border-radius: 6px; }
.note-alert { background: #fbeceb; border-left-color: var(--alert); }

/* Forms */
form.card { color: var(--ink); }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.opt { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; border: 2px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--sky-dark); outline: none; box-shadow: 0 0 0 3px rgba(42,167,223,0.3); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: minmax(0, 1fr); } }
.hidden-field { position: absolute; left: -9999px; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; }
.map { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: 12px; }

/* CTA band */
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0; }

/* Footer */
.site-footer { background: #0c1a33; color: #b9c8d8; font-size: 0.95rem; padding: 48px 0 110px; }
.site-footer a { color: #dbe8f4; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-logo { background: var(--white); border-radius: 10px; padding: 10px 12px; display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 52px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 0.88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sticky mobile bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -4px 16px rgba(0,0,0,0.2); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 800; text-decoration: none; }
  .mobile-bar .c { background: var(--gold); color: var(--navy); }
  .mobile-bar .b { background: var(--sky-dark); color: var(--white); }
  .a11y { bottom: 72px !important; }
}

/* Long words and emails wrap instead of pushing the page sideways */
main a, .site-footer a { overflow-wrap: anywhere; }

/* Accessibility panel (built by script.js) */
.a11y { position: fixed; right: 16px; bottom: 16px; z-index: 50; font-family: var(--sans); font-size: 16px; letter-spacing: normal; word-spacing: normal; line-height: 1.4; }
.a11y-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 12px; font: 700 1em var(--sans); color: var(--white); background: var(--navy); border: 2px solid var(--gold); border-radius: 999px; box-shadow: 0 4px 14px rgba(19,40,77,0.25); cursor: pointer; }
.a11y-toggle svg { width: 24px; height: 24px; fill: var(--gold); }
.a11y-toggle[aria-expanded="true"], .a11y-toggle:hover { background: var(--navy-2); }
.a11y-panel { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow-y: auto; padding: 18px; background: #fff; color: var(--ink); border: 2px solid var(--navy); border-radius: 12px; box-shadow: 0 10px 30px rgba(19,40,77,0.25); }
.a11y-panel[hidden] { display: none; }
.a11y-title { font-weight: 800; font-size: 1.1em; margin: 0 0 12px; color: var(--navy); }
.a11y-size { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-weight: 700; }
.a11y-size > span { margin-right: auto; }
.a11y-step { min-width: 48px; min-height: 44px; font: 800 1em var(--sans); color: var(--navy); background: var(--ice); border: 2px solid var(--navy); border-radius: 8px; cursor: pointer; }
.a11y-step:disabled { opacity: 0.4; cursor: not-allowed; }
.a11y-size-value { min-width: 3.2em; text-align: center; }
.a11y-option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 4px; font: 700 1em var(--sans); color: var(--navy); text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.a11y-option:hover { background: var(--ice); }
.a11y-switch { flex: none; position: relative; width: 40px; height: 24px; border: 2px solid var(--navy); border-radius: 999px; background: #fff; }
.a11y-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); transition: transform 0.15s; }
.a11y-option[aria-pressed="true"] .a11y-switch { background: var(--sky-dark); border-color: var(--sky-dark); }
.a11y-option[aria-pressed="true"] .a11y-switch::after { transform: translateX(16px); background: #fff; }
.a11y-reset { margin-top: 14px; min-height: 44px; padding: 0 14px; font: 700 1em var(--sans); color: var(--sky-dark); background: none; border: 2px solid var(--sky-dark); border-radius: 8px; cursor: pointer; }
@media print { .a11y, .mobile-bar, .topbar { display: none; } }

html[data-a11y-text="120"] { font-size: 120%; }
html[data-a11y-text="140"] { font-size: 140%; }
html[data-a11y-text="160"] { font-size: 160%; }
html[data-a11y-text] .menu-toggle { display: inline-block; margin-left: auto; }
html[data-a11y-text] .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); max-height: calc(100vh - 120px); overflow-y: auto; }
html[data-a11y-text] .site-header.nav-open .site-nav { display: block; }
html[data-a11y-text] .nav { flex-direction: column; gap: 0; padding: 4px var(--gutter) 16px; }
html[data-a11y-text] .nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
html[data-a11y-text] .header-phone, html[data-a11y-text] .header-actions .btn { display: none; }
html[data-a11y-text] :is(h1, h2, h3) { overflow-wrap: anywhere; hyphens: auto; }

html[data-a11y-contrast] { --muted: #13284d; --line: #13284d; --sky-dark: #003a70; --paper: #fff; --ice: #fff; }
html[data-a11y-contrast] .dark { background: #071530; }
html[data-a11y-contrast] .dark p, html[data-a11y-contrast] .dark li, html[data-a11y-contrast] .site-footer { color: #fff; }

html[data-a11y-links] main a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; font-weight: 700; background: #fff3b0; color: #13284d !important; }
html[data-a11y-links] .dark a:not(.btn) { background: none; color: #ffe680 !important; }

html[data-a11y-readable] { --sans: Verdana, "Atkinson Hyperlegible", system-ui, sans-serif; --display: Verdana, system-ui, sans-serif; }
html[data-a11y-readable] body { letter-spacing: 0.03em; word-spacing: 0.16em; }
html[data-a11y-readable] main :is(p, li) { line-height: 1.9; }

html[data-a11y-still] *, html[data-a11y-still] *::before, html[data-a11y-still] *::after { animation: none !important; transition: none !important; }
html[data-a11y-still] { scroll-behavior: auto; }

/* Notice of Privacy Practices */
.notice h1 { margin-bottom: 0.3em; }
.notice h2 { margin-top: 1.6em; }
.notice h3 { margin-top: 1.3em; }
.notice-header { font-weight: 700; padding: 18px 20px; margin: 24px 0 28px; border: 2px solid var(--navy); border-radius: 8px; }
.notice-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 32px; padding: 16px 20px; margin-top: 20px; background: var(--ice); border-left: 4px solid var(--sky-dark); border-radius: 6px; }
.notice-contact p { margin: 0.4em 0; }

/* ===== Design pass: mission-arch identity ===== */
/* Solid navy instead of gradient washes */
.dark { background: var(--navy); }
/* Light hero: big type, the arch photo is the one memorable element */
.hero-light { background: var(--white); padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.hero-light .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.hero-light h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; }
.hero-light .lede { color: var(--ink); max-width: 34em; }
.hero-light .checks li::before { color: var(--sky-dark); }
@media (max-width: 820px) { .hero-light .wrap { grid-template-columns: minmax(0, 1fr); } }

/* The arch: echoes San Antonio's mission arches and the crown of a tooth */
.arch { position: relative; margin: 0; max-width: 440px; justify-self: end; }
.arch::before { content: ""; position: absolute; top: 18px; left: 18px; right: -18px; aspect-ratio: 4 / 5; border: 3px solid var(--sky); border-radius: 220px 220px 14px 14px; z-index: 0; }
.arch img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 220px 220px 14px 14px; }
.arch figcaption { position: relative; z-index: 1; margin-top: 30px; font-weight: 700; color: var(--navy); }
.dark .arch figcaption { color: var(--white); }
@media (max-width: 820px) { .arch { justify-self: start; max-width: 340px; margin-right: 18px; } }

/* Offer strip under the hero: two "tickets" */
.offer-strip { background: var(--navy); color: var(--white); padding: 28px 0; }
.offer-strip .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ticket { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; padding: 18px 22px; border: 2px dashed rgba(226, 196, 122, 0.7); border-radius: 10px; color: var(--white); text-decoration: none; }
.ticket:hover { background: rgba(255, 255, 255, 0.06); color: var(--white); }
.ticket .amt { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--gold-light); }
.ticket .what { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.ticket .sub { color: #d7e6f4; }
@media (max-width: 700px) { .offer-strip .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Services as a simple list, not a grid of identical boxes */
.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 64px); }
.service-list li { margin: 0; border-top: 2px solid var(--mist); }
.service-list a { display: block; padding: 18px 0; text-decoration: none; color: var(--ink); }
.service-list a strong { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--navy); }
.service-list a:hover strong { color: var(--sky-dark); text-decoration: underline; }
.service-list a span { color: var(--muted); }
@media (max-width: 700px) { .service-list { grid-template-columns: minmax(0, 1fr); } }

/* Quieter cards: one radius, no hover lift, no decorative icons */
.card { border-radius: 8px; }
.card.link-card:hover { box-shadow: none; }
.icon { display: none; }
.review { border-radius: 8px; border-top: 4px solid var(--gold); }
.portrait { box-shadow: none; }
.page-head h1 { max-width: 20ch; }

/* Large text settings: let buttons and long words wrap instead of widening the page */
html[data-a11y-text] .btn { white-space: normal; text-align: center; }
html[data-a11y-text] :is(p, li, label, blockquote, td, th) { overflow-wrap: anywhere; }
html[data-a11y-text] .row { grid-template-columns: minmax(0, 1fr); }
input, select, textarea { min-width: 0; }

/* ===== Premium pass: more air, editorial photography, one quiet motion ===== */
:root { --section: clamp(72px, 10vw, 136px); }
.hero-light { padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 8vw, 120px); }
.hero-light h1 { font-weight: 750; }
.hero-light .lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.6; margin-top: 18px; }
.hero-light .btn-row { margin-top: 32px; }

/* Welcome letter from Dr. Bhatti */
.letter { max-width: 760px; }
.letter p { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.65; color: var(--ink); }
.letter .sign { margin-top: 28px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.letter .sign span { display: block; font-family: var(--sans); font-weight: 400; font-size: 1rem; color: var(--muted); }

/* Full-width editorial photograph */
.editorial { margin: 0; }
.editorial img { width: 100%; height: clamp(260px, 46vw, 620px); object-fit: cover; object-position: 50% 45%; }
.editorial figcaption { max-width: var(--wrap); margin: 12px auto 0; padding: 0 var(--gutter); color: var(--muted); font-size: 0.95rem; }

/* The Serenity experience: a quiet two-column list, not cards */
.experience { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.experience dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.experience dt { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; padding-top: 14px; border-top: 2px solid var(--gold); }
.experience dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .experience { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .experience dl { grid-template-columns: minmax(0, 1fr); } }

/* One featured review, set large */
.feature-quote { max-width: 900px; margin: 0; }
.feature-quote blockquote { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--navy); }
.feature-quote figcaption { margin-top: 20px; color: var(--muted); }
.feature-quote figcaption strong { color: var(--navy); }

/* Gold reserved for the primary action; secondary pieces go quiet */
.pills li { border-width: 1px; font-weight: 600; }
.review { border-top-color: var(--line); }

/* One page-load moment: the arch outline settles into place behind the photo */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-a11y-still]) .hero-light .arch::before { animation: arch-in 1.1s cubic-bezier(.2,.7,.2,1) 0.25s both; }
}
@keyframes arch-in { from { opacity: 0; transform: translate(-18px, -18px); } to { opacity: 1; transform: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pills a { color: inherit; text-decoration: none; }
.pills a:hover { text-decoration: underline; }

.prose h2:not(:first-child), .prose h3:not(:first-child) { margin-top: 1.5em; }

/* Insurance pages: light opening with an in-network badge */
.plan-head { background: var(--mist); border-bottom: 1px solid var(--line); }
.plan-head .crumbs a { color: var(--sky-dark); }
.plan-head h1 { color: var(--navy); max-width: 18ch; }
.plan-head p { color: var(--ink); }
.plan-head .btn-outline { color: var(--navy); }

/* Office photo gallery (about page) */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide img { aspect-ratio: 16 / 7; border-radius: 220px 220px 14px 14px; }
@media (max-width: 560px) { .gallery { grid-template-columns: minmax(0, 1fr); } .gallery .g-wide img { aspect-ratio: 3 / 2; border-radius: 120px 120px 14px 14px; } }

/* Homepage office video (replaces the editorial photo) */
.film { position: relative; }
.film video { display: block; width: 100%; height: clamp(260px, 46vw, 620px); object-fit: cover; background: var(--navy); }
.film-toggle { position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); top: calc(clamp(260px, 46vw, 620px) - 64px); font: 700 0.95rem var(--sans); color: var(--navy); background: var(--white); border: 0; border-radius: 999px; padding: 0.6em 1.2em; cursor: pointer; box-shadow: 0 4px 14px rgba(19,40,77,0.25); }
.film-toggle:hover { background: var(--mist); }
