/* Dentistry & Implants. Ink and Paper: white, mist, near-black, one orange accent.
   Accent appears in three places only: the accent word in headlines, primary buttons,
   and link hover. Everything else is ink on paper. */

:root {
  --paper: #ffffff;
  --mist: #f2f2f2;
  --ink: #111111;
  --text: #2a2a2a;
  --muted: #555555;
  --accent: #ff3b00;
  --accent-hover: #ff5a26;
  --accent-text: #b52a00;
  --line: #d9d9d9;
  --soft-line: #ebebeb;
  --content: 1200px;
  --gutter: max(20px, calc((100% - var(--content)) / 2));
  --pad: clamp(80px, 10vw, 150px);
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-text); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2; }
.accent { color: var(--accent); }
.lede { color: var(--muted); font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.55; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link and Spanish review banner */
.skip-link {
  position: absolute; z-index: 50; top: 10px; left: 10px;
  padding: 0.7rem 1rem; background: var(--paper); border: 2px solid var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.review-banner { padding: 10px var(--gutter); background: var(--ink); color: var(--paper); font-size: 0.95rem; text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--soft-line);
}
.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.03em; text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-amp { color: var(--accent); }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); margin-left: auto; }
.primary-nav a { color: var(--text); font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent-text); }
.primary-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-toggle { display: none; }
.header-cta { flex: 0 0 auto; }

/* Buttons and links */
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px;
  padding: 0.75rem 1.4rem;
  background: var(--accent); color: var(--ink);
  border: 2px solid var(--accent); border-radius: 0;
  font-family: var(--body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--ink); transform: translateY(-1px); }
.button-small { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.button-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.text-link {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--ink); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.text-link:hover { color: var(--accent-text); }

/* Sections */
.section { padding: var(--pad) var(--gutter); }
.section-tight { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.section-soft { background: var(--mist); }
.section-ink { background: var(--ink); color: #e9e9e9; }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink .eyebrow { color: #b9b9b9; }
.section-ink a:not(.button) { color: var(--paper); }
.section-heading { max-width: 820px; margin: 0 0 clamp(40px, 5vw, 64px); }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 + p, .section-heading h2 + .lede { margin-top: 1.4rem; }
.section-heading > p:last-child { color: var(--muted); }
.section-ink .section-heading > p:last-child { color: #c9c9c9; }
.inner { max-width: var(--content); margin: 0 auto; }
.narrow { max-width: 780px; }

/* Home hero */
.hero {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.hero h1 { margin-bottom: 1.6rem; }
.hero .lede { max-width: 560px; margin-bottom: 2rem; }
.hero-mission { margin: 2.2rem 0 0; color: var(--ink); font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.hero-portrait { position: relative; margin: 0; overflow: hidden; background: #dfe6ef; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.hero-portrait figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 16px 20px; background: var(--paper);
  color: var(--ink); font-family: var(--display); font-weight: 600; line-height: 1.35;
}
.hero-portrait figcaption span { display: block; color: var(--muted); font-family: var(--body); font-size: 0.95rem; font-weight: 400; }

/* Stat row: credentials, not invented numbers */
.stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 0 var(--gutter);
}
.stat { padding: 30px 24px 30px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.98rem; line-height: 1.45; }

/* Editorial zigzag */
.zig { display: grid; gap: clamp(64px, 9vw, 120px); }
.zig-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.zig-row:nth-child(even) .zig-media { order: 2; }
.zig-media { margin: 0; }
.zig-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.zig-media figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }
.zig-copy { max-width: 540px; }
.zig-copy h3 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.1; }
.zig-copy .eyebrow { margin-bottom: 0.8rem; }
.zig-copy ul { padding-left: 1.1rem; }
.zig-copy li { margin-bottom: 0.4rem; }

/* Doctors */
.doctor-spread { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.doctor-spread figure { margin: 0; }
.doctor-spread img { width: 100%; object-fit: cover; }
.doctor-card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.doctor-card + .doctor-card { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.doctor-card figure { margin: 0; position: sticky; top: 100px; }
.doctor-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: #dfe6ef; }
.doctor-card h2 { margin-bottom: 0.4rem; }
.doctor-card .role { margin-bottom: 1.6rem; color: var(--muted); font-size: 1.1rem; }

/* Credentials list */
.cred-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cred-list li { display: grid; grid-template-columns: minmax(110px, 0.32fr) 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cred-list .cred-when { color: var(--ink); font-family: var(--display); font-weight: 600; }
.section-ink .cred-list, .section-ink .cred-list li { border-color: #333; }
.section-ink .cred-list .cred-when { color: var(--paper); }
.cred-photo { margin: 28px 0 0; max-width: 300px; }
.cred-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cred-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* Quotes */
.quote-feature { max-width: 980px; margin: 0 0 clamp(48px, 6vw, 80px); }
.quote-feature blockquote { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.quote-feature cite, .quote-list cite { display: block; margin-top: 18px; color: var(--muted); font-size: 1rem; font-style: normal; }
.quote-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin: 0; padding: 0; list-style: none; }
.quote-list li { padding: 28px 0; border-top: 1px solid var(--line); }
.quote-list blockquote { margin: 0; color: var(--text); font-size: 1.1rem; }
.section-ink .quote-feature blockquote { color: var(--paper); }
.section-ink .quote-list li { border-color: #333; }
.section-ink .quote-list blockquote { color: #e2e2e2; }
.section-ink .quote-feature cite, .section-ink .quote-list cite { color: #b9b9b9; }

/* FAQ */
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  color: var(--ink); font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; font-weight: 400; transition: transform 200ms ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { max-width: 760px; padding: 0 0 22px; color: var(--muted); }

/* Offices */
.office-list { border-top: 1px solid var(--line); }
.office-row {
  display: grid; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 28px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.office-row h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.office-row .eyebrow { margin-bottom: 0.4rem; }
.office-row-addr p { margin-bottom: 0.4rem; }
.office-phone { color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.office-phone:hover { color: var(--accent-text); }
.hours { display: grid; gap: 4px; margin: 0; font-size: 0.98rem; }
.hours div { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 12px; }
.hours dt { color: var(--ink); font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); }
.hours-tk { color: var(--muted); font-size: 0.98rem; }
.office-row-actions { display: grid; gap: 14px; justify-items: start; }
.section-soft .office-list, .section-soft .office-row { border-color: #d0d0d0; }

/* Interior page hero */
.page-hero {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 90px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px); align-items: end;
}
.page-hero.solo { grid-template-columns: minmax(0, 1fr); max-width: min(980px, calc(100% - 40px)); margin-left: max(20px, calc((100% - var(--content)) / 2)); }
.page-hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
.page-hero .lede { max-width: 640px; margin-bottom: 0; }
.page-hero .button-row { margin-top: 2rem; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-portrait img { aspect-ratio: 4 / 5 !important; object-position: 50% 25%; background: #dfe6ef; }

/* Long-form text */
.prose { max-width: 720px; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose h3 { margin: 2rem 0 0.8rem; }
.prose p, .prose li { color: var(--text); }
.prose > :first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.two-col > .sticky { position: sticky; top: 110px; }

/* Services */
.service-index { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; }
.service-index a { font-weight: 500; }
.service-block { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.service-block .eyebrow { margin-bottom: 0.8rem; }
.service-block figure { margin: 1.8rem 0 0; }
.service-block figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.general-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); margin: 0; padding: 0; list-style: none; }
.general-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.general-list h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }
.general-list p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--ink); font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.steps h3 { margin-bottom: 0.4rem; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }

/* Insurance */
.plan-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.plan-columns h3 { margin-bottom: 0.4rem; }
.plan-columns .count { margin-bottom: 1.2rem; color: var(--muted); }
.plan-list { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.plan-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--soft-line); font-size: 1rem; }
.callout { padding: clamp(28px, 4vw, 44px); background: var(--mist); }
.callout h3 { margin-bottom: 0.8rem; }
.callout p:last-child { margin-bottom: 0; }
.offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.offer-list li { padding: 28px 28px 28px 0; }
.offer-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.offer-list strong { display: block; margin-bottom: 0.4rem; color: var(--ink); font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; }
.offer-list h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.offer-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.fine-print { margin-top: 1.4rem; color: var(--muted); font-size: 0.95rem; }

/* Articles */
.article-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-list li { display: grid; grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr); gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.article-list .tag { color: var(--muted); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.article-list h3 { margin-bottom: 0.5rem; }
.article-list h3 a { text-decoration: none; }
.article-list h3 a:hover { text-decoration: underline; }
.article-list p { margin: 0; color: var(--muted); }
.article-list .planned h3 { color: var(--muted); }
.article-meta { color: var(--muted); font-size: 0.95rem; }
.article-cta { margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }

/* Contact form */
.contact-form { display: grid; gap: 18px; max-width: 620px; }
.contact-form label { display: grid; gap: 6px; color: var(--ink); font-weight: 500; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 14px; border: 1px solid #bdbdbd; border-radius: 0;
  background: var(--paper); color: var(--text); font: inherit;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-note { color: var(--muted); font-size: 0.95rem; }

/* Gallery teaser and photo pair */
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-pair figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }

/* Closing CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: end; }
.cta-band h2 { max-width: 760px; }
.cta-band p { max-width: 620px; margin-top: 1.2rem; }

/* Footer */
.site-footer { padding: clamp(56px, 7vw, 90px) var(--gutter) 28px; background: var(--mist); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding-bottom: 44px; }
.footer-brand { display: inline-block; margin-bottom: 12px; color: var(--ink); font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; }
.footer-brand:hover { color: var(--ink); }
.footer-main p { color: var(--muted); }
.footer-head { margin-bottom: 14px; color: var(--ink) !important; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-offices { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer-offices li { display: grid; color: var(--muted); line-height: 1.5; }
.footer-offices strong { color: var(--ink); font-weight: 600; }
.footer-offices a { color: var(--ink); text-decoration: none; }
.footer-offices a:hover { color: var(--accent-text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }

/* Responsive */
@media (max-width: 1180px) {
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: 0.95rem; }
}
@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 44px; margin-left: auto;
    padding: 0.4rem 0.9rem; border: 1px solid var(--ink); background: var(--paper);
    color: var(--ink); font: 700 0.95rem var(--body); cursor: pointer;
  }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; padding: 8px 20px 18px; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid var(--soft-line); }
  .primary-nav a[aria-current="page"] { text-underline-offset: 6px; }
  .office-row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  .office-row-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
}
@media (max-width: 860px) {
  .hero, .page-hero, .doctor-spread, .doctor-card, .two-col, .service-block, .zig-row, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .zig-row:nth-child(even) .zig-media { order: 0; }
  .hero-portrait { max-width: 560px; }
  .hero-portrait img { aspect-ratio: 5 / 4; }
  .doctor-card figure, .two-col > .sticky { position: static; }
  .doctor-card figure { max-width: 460px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .office-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .office-row-hours { grid-column: 1 / -1; }
  .office-row-actions { grid-column: 1 / -1; }
  .plan-columns, .quote-list, .general-list { grid-template-columns: minmax(0, 1fr); }
  .offer-list { grid-template-columns: minmax(0, 1fr); }
  .offer-list li, .offer-list li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand-block { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .header-inner { width: calc(100% - 32px); min-height: 66px; gap: 12px; }
  .brand { font-size: 1.1rem; }
  .header-cta { display: none; }
  .hero, .page-hero { width: calc(100% - 32px); }
  .page-hero.solo { margin-left: 16px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .stat-row { margin: 0 16px; grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .office-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .office-row-hours, .office-row-actions { grid-column: auto; }
  .hours div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .plan-list { columns: 1; }
  .cred-list li, .article-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .contact-form .row { grid-template-columns: minmax(0, 1fr); }
  .photo-pair { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .button-row .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .di-chat, .di-a11y, .review-banner { display: none !important; }
}

/* Design pass 1 */
.page-hero.solo { display: block; }
.page-hero.solo .eyebrow { margin-bottom: 1.2rem; }
.doctor-spread h2, .cta-band h2 { margin-bottom: 1.4rem; }
.section-ink figcaption { color: #b9b9b9; }
.section-ink .zig-media figcaption, .section-ink .photo-pair figcaption { color: #b9b9b9; }
.service-index { margin-top: 2rem; }
.more-link { margin-top: 2rem; }
.aside-note { margin-top: 1.4rem; color: var(--muted); }
.callout-after { margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 600px) { .site-footer { padding-bottom: 96px; } }
.nowrap { white-space: nowrap; }

/* Utility bar: three offices one tap away, like a practice front desk */
.util-bar { background: var(--ink); color: #d6d6d6; font-size: 0.875rem; }
.util-inner { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; min-height: 38px; }
.util-inner a { color: var(--paper); text-decoration: none; white-space: nowrap; }
.util-inner a span { color: #a8a8a8; margin-right: 4px; }
.util-inner a:hover { color: var(--accent-hover); }
.util-lang { margin-left: auto; color: #a8a8a8; }
.office-note { margin: 12px 0 0; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
@media (max-width: 860px) { .util-bar { display: none; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.team-member { display: grid; grid-template-columns: minmax(120px, 0.45fr) 1fr; gap: 24px; align-items: start; }
.team-member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.team-member h3 { margin-bottom: 0.2rem; }
.team-member .role { margin-bottom: 0.9rem; color: var(--muted); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.team-member p { color: var(--text); }
.photo-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-trio figure { margin: 0; }
.photo-trio img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.photo-trio.wide img { aspect-ratio: 16 / 10; }
.photo-trio figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 22px 0 0; border-top: 1px solid var(--line); }
.feature-list h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.feature-list p { margin: 0; color: var(--muted); }
.membership { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.membership-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.membership-table th, .membership-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.membership-table td:last-child, .membership-table th:last-child { text-align: right; white-space: nowrap; }
.membership-table tfoot td { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.15rem; border-bottom: 0; }
.pill { display: inline-block; margin: 0 8px 8px 0; padding: 6px 12px; border: 1px solid var(--line); font-size: 0.95rem; }
@media (max-width: 860px) {
  .team-grid, .membership { grid-template-columns: minmax(0, 1fr); }
  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .photo-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team-member { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 16px; }
  .photo-trio { grid-template-columns: minmax(0, 1fr); }
}
.team-photo { max-width: 760px; }
.team-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
.team-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.team-photo { margin: clamp(40px, 6vw, 72px) 0 0; }
.quote-small { margin: clamp(48px, 6vw, 72px) 0 0; } .quote-small blockquote { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

/* Insurance: one block per office */
.plan-office { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.plan-office-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 1.2rem; }
.plan-office-head .count { margin: 0; color: var(--muted); }
.plan-office .plan-list { columns: 4; }
.plan-note { margin: 1.4rem 0 0; padding: 18px 22px; background: var(--mist); }
.pill-row { margin: 1.4rem 0 1.6rem; }
.offer-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); border-top: 0; }
.offer-list li, .offer-list li + li { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .plan-office .plan-list { columns: 3; } }
@media (max-width: 860px) { .plan-office .plan-list { columns: 2; } .offer-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .plan-office .plan-list { columns: 2; column-gap: 18px; } }
.section-ink .photo-trio figcaption, .section-ink .team-photo figcaption { color: #b9b9b9; }
.office-row h3 a { color: inherit; text-decoration: none; }
.office-row h3 a:hover { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; }
.footer-office-name { text-decoration: none; }
.footer-legal { display: inline-flex; gap: 18px; }
.footer-legal a { color: var(--muted); }
.general-list h3 a { text-decoration: none; } .general-list h3 a:hover { text-decoration: underline; color: var(--accent-text); }
.di-ba-xray .di-ba-img img { aspect-ratio: 2 / 1; object-fit: contain; background: #000; }

/* Team member without a photo yet */
.team-member.no-photo { grid-template-columns: minmax(0, 1fr); padding-left: 20px; border-left: 3px solid var(--accent); }
