/* ============================================================
   Broadview Dental — consolidated stylesheet
   Single-pass, one declaration per selector.
   Section order: reset/base → typography → layout → components
                  → pages → responsive
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --smoky: #596e79;
  --warm: #d1cbc1;
  --mist: #dce3e6;
  --charcoal: #17232b;
  --black: #1a1a1a;
  --paper: #ffffff;
  --line: rgba(89, 110, 121, 0.22);
  --shadow: 0 24px 70px rgba(23, 35, 43, 0.12);
  --radius: 8px;
}

/* ── Reset / Base ───────────────────────────────────────────── */
*,
html,
body {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: #dce3e6;
  color: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.08;
  margin-top: 20px;
}

h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.1;
}

h3 {
  font-size: 24px;
  line-height: 1.18;
}

p {
  color: rgba(26, 26, 26, 0.68);
  line-height: 1.75;
  margin: 0;
}

h1 + p,
h2 + p {
  margin-top: 26px;
}

/* The .eyebrow selector is also unified with service/page variants below */
.eyebrow,
.service-treatment-intro .eyebrow,
.service-page .service-treatment-intro .eyebrow {
  color: var(--smoky);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin: 0;
  text-transform: uppercase;
}

address {
  color: rgba(26, 26, 26, 0.72);
  font-style: normal;
  line-height: 1.8;
}

address strong {
  color: var(--black);
  display: block;
  font-family: "Lora", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

address a {
  color: var(--smoky);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Skip link ──────────────────────────────────────────────── */
.skip-link {
  left: 16px;
  position: fixed;
  top: -80px;
  z-index: 1000;
  background: var(--charcoal);
  color: white;
  padding: 12px 16px;
}

.skip-link:focus {
  top: 16px;
}

/* ── Site header (two-layer nav) ────────────────────────────── */
/* Desktop base; mobile overrides in the responsive section. */
.site-header {
  --desktop-action-edge: clamp(28px, 3vw, 52px);
  --desktop-header-pad: clamp(44px, 4.6vw, 76px);
  align-items: stretch;
  backdrop-filter: blur(18px);
  background: linear-gradient(var(--charcoal) 0 48px, #ffffff 48px 100%);
  border-bottom: 1px solid rgba(209, 203, 193, 0.72);
  column-gap: clamp(30px, 3vw, 44px);
  display: grid;
  /* Desktop grid is set in @media (min-width: 1081px) below */
  grid-template-areas:
    "opening top-spacer header-contact header-cta"
    "brand primary-nav primary-nav primary-nav";
  grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
  grid-template-rows: 48px 116px;
  min-height: 164px;
  padding: 0 var(--desktop-header-pad);
  position: sticky;
  row-gap: 0;
  top: 0;
  z-index: 100;
}

/* "Opening July 2026" announcement text in the dark top bar */
.site-header::before {
  align-items: center;
  align-self: center;
  animation: openingSoonPulse 3.4s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.9);
  content: "Opening July 2026 and Accepting New Patients";
  display: flex;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
  grid-area: opening;
  height: 48px;
  justify-self: start;
  left: var(--desktop-header-pad);
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0;
  position: absolute;
  text-transform: uppercase;
  top: 0;
  white-space: nowrap;
}

@keyframes openingSoonPulse {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

.brand {
  align-self: center;
  grid-area: brand;
  justify-self: start;
}

.brand img {
  height: auto;
  width: 280px;
}

.brand,
.primary-nav {
  align-self: center;
}

.primary-nav {
  align-items: center;
  align-self: center;
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  grid-area: primary-nav;
  justify-content: flex-start;
}

.primary-nav a,
.nav-item > a,
.header-phone {
  color: rgba(26, 26, 26, 0.72);
  font-size: 15px;
  font-weight: 300;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.nav-item:hover > a,
.header-phone:hover {
  color: var(--smoky);
}

.nav-item {
  position: relative;
}

.nav-item > a,
.primary-nav > a {
  display: inline-flex;
  padding-bottom: 22px;
  padding-top: 22px;
}

.nav-submenu {
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23, 35, 43, 0.12);
  display: grid;
  gap: 3px;
  left: 50%;
  min-width: 260px;
  opacity: 0;
  padding: 10px;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 8px);
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 200;
}

.nav-submenu a {
  border-radius: 6px;
  color: rgba(26, 26, 26, 0.76);
  display: block;
  padding: 11px 12px;
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: var(--mist);
  color: var(--smoky);
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.menu-button {
  display: none;
}

.mobile-socials {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.mobile-socials a {
  color: #5f756c;
  display: inline-flex;
  transition: color 180ms ease, transform 180ms ease;
}

.mobile-socials a:hover {
  color: var(--smoky);
  transform: translateY(-1px);
}

.mobile-socials svg {
  fill: currentColor;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 24px;
}

.mobile-socials a:first-child svg,
.mobile-socials a:last-child svg {
  stroke-width: 0;
}

.mobile-socials a:nth-child(2) svg {
  fill: none;
}

.mobile-socials a:nth-child(2) circle:last-child {
  fill: currentColor;
  stroke: none;
}

/* header-contact: justify-content (not justify-items — no effect on flex container) */
.header-contact {
  align-items: center;
  align-self: center;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  gap: clamp(16px, 2vw, 26px);
  grid-area: header-contact;
  justify-content: flex-end;
  min-width: 0;
  white-space: nowrap;
}

.header-contact .mobile-socials {
  order: 1;
}

.header-phone {
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  gap: 7px;
  order: 2;
}

.header-phone:hover {
  color: #ffffff;
}

.header-phone svg {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.site-header .mobile-socials {
  gap: 16px;
}

.site-header .mobile-socials a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header .mobile-socials a:hover {
  color: #ffffff;
}

.site-header .mobile-socials svg {
  height: 21px;
  width: 21px;
}

/* Facebook icon fill override so the charcoal background shows inside the logo shape */
.site-header .mobile-socials a:first-child svg path {
  fill: var(--charcoal) !important;
}

.site-header .header-cta {
  align-self: center;
  background: #ffffff;
  border-color: #ffffff;
  color: var(--charcoal);
  grid-area: header-cta;
  height: 36px;
  justify-self: end;
  margin-right: 0;
  min-height: 36px;
  min-width: 230px;
  padding: 0 32px;
  position: absolute;
  right: var(--desktop-action-edge);
  top: 6px;
  white-space: nowrap;
  width: auto;
  z-index: 4;
}

.site-header .header-cta:hover {
  background: var(--mist);
  border-color: var(--mist);
  color: var(--charcoal);
}

/* ── Buttons ────────────────────────────────────────────────── */
.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 500;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--smoky);
  color: white;
}

.button-primary:hover {
  background: #4b606b;
}

.button-secondary {
  background: white;
  border-color: var(--warm);
  color: var(--black);
}

.button-secondary:hover {
  border-color: var(--smoky);
  color: var(--smoky);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 18px clamp(12px, 1.2vw, 22px) 0;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1.12fr 0.98fr;
  margin: 0 auto;
  max-width: 1480px;
  position: relative;
}

.hero-coming-soon {
  background:
    linear-gradient(90deg, rgba(220, 227, 230, 0.92) 0%, rgba(220, 227, 230, 0.72) 34%, rgba(220, 227, 230, 0.14) 70%),
    url("assets/coming-soon-2026.png") center / cover no-repeat;
  border-radius: var(--radius);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  min-height: min(58vw, 640px);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  max-width: 640px;
  padding: clamp(42px, 7vw, 92px);
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.22;
  margin-top: 16px;
  overflow-wrap: break-word;
}

.hero-copy .eyebrow {
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: 0.18em;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(26, 26, 26, 0.74);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.75;
  margin-top: 22px;
  max-width: 520px;
}

.hero-doctor-portrait {
  align-self: start;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.hero-doctor-portrait img {
  align-self: start;
  height: min(58vw, 640px);
  max-height: 100%;
  object-fit: contain;
  object-position: top center;
  width: min(100%, 480px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ── Layout sections ────────────────────────────────────────── */
.section {
  background: linear-gradient(135deg, rgba(220, 227, 230, 0.98), rgba(220, 227, 230, 0.82));
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.split-section {
  border-top: 1px solid rgba(209, 203, 193, 0.72);
  display: grid;
  gap: 44px;
  grid-template-columns: 0.72fr 1fr;
}

.story-stack {
  display: grid;
  gap: 20px;
}

.story-stack article {
  border-top: 1px solid rgba(209, 203, 193, 0.82);
  padding-top: 22px;
}

/* :nth-child(2) and :nth-child(3) rules omitted — they set the same value already
   inherited from .story-stack article */

.story-stack h3,
.steps h3 {
  margin-bottom: 10px;
}

.patient-path {
  background: var(--mist);
  border-bottom: 1px solid rgba(209, 203, 193, 0.72);
  border-top: 1px solid rgba(209, 203, 193, 0.72);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.16;
  margin-top: 14px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 680px;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.86);
  border-radius: var(--radius);
  padding: 24px;
}

.steps span {
  color: var(--smoky);
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 30px;
}

.care-section {
  background: #ffffff;
}

.legacy-anchor {
  display: block;
  height: 0;
  overflow: hidden;
}

.seo-content {
  align-items: start;
  background: linear-gradient(135deg, rgba(220, 227, 230, 0.98), rgba(220, 227, 230, 0.82));
  display: grid;
  gap: 36px;
  grid-template-columns: 0.82fr 1fr;
}

.local-care-feature {
  align-items: center;
  background: #ffffff;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
}

.local-care-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.local-care-photo img {
  aspect-ratio: 4 / 5;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.local-care-copy {
  max-width: 680px;
}

.local-care-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.local-care-copy .button {
  margin-top: 28px;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  max-width: 900px;
}

.faq-list details {
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.86);
  border-radius: var(--radius);
  padding: 24px;
}

.faq-list summary {
  color: var(--black);
  cursor: pointer;
  font-family: "Lora", Georgia, serif;
  font-size: 20px;
}

.faq-list p {
  margin-top: 14px;
}

/* ── Service overview cards ─────────────────────────────────── */
.service-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
}

.service-overview-card {
  align-items: center;
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.86);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 26px 18px 20px;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-overview-card:hover {
  border-color: rgba(89, 110, 121, 0.5);
  box-shadow: 0 14px 32px rgba(23, 35, 43, 0.08);
  transform: translateY(-2px);
}

.service-overview-card h3 {
  font-size: 21px;
  margin: 18px 0 12px;
}

.service-overview-card p {
  font-size: 15px;
  line-height: 1.65;
}

.service-overview-card .button {
  margin-top: auto;
  min-height: 40px;
  padding: 9px 16px;
}

.service-icon {
  align-items: center;
  background: var(--mist);
  border-radius: 999px;
  display: flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.service-icon svg {
  fill: none;
  height: 30px;
  stroke: var(--smoky);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  width: 30px;
}

/* ── Service page ───────────────────────────────────────────── */
.service-page {
  background: #ffffff;
}

.service-page-hero {
  background: linear-gradient(135deg, rgba(220, 227, 230, 0.88), rgba(255, 255, 255, 0.92));
  border-bottom: 1px solid rgba(209, 203, 193, 0.72);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 420px;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
}

.service-page-hero > div:first-child {
  max-width: 880px;
}

.service-page-hero h1 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.16;
  margin-top: 16px;
}

.service-page-hero .hero-lede {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
  margin-top: 18px;
  max-width: 760px;
}

.service-hero-photo {
  border-radius: 12px;
  display: block;
  height: auto;
  margin-top: 28px;
  max-width: 480px;
  width: 100%;
}

.service-page-card {
  align-self: start;
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.service-page-card ul,
.service-detail-list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-page-card li,
.service-detail-list li {
  color: rgba(26, 26, 26, 0.68);
  line-height: 1.75;
  margin-bottom: 8px;
}

.service-detail {
  display: grid;
  gap: 34px;
  grid-template-columns: 0.8fr 1fr;
}

.service-detail p + p,
.service-detail h3 {
  margin-top: 18px;
}

.service-detail h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.16;
}

.service-detail p {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
}

/* ── Insurance section ──────────────────────────────────────── */
.insurance-section {
  background: linear-gradient(135deg, rgba(220, 227, 230, 0.92), rgba(255, 255, 255, 0.88));
  border-bottom: 1px solid rgba(209, 203, 193, 0.72);
  border-top: 1px solid rgba(209, 203, 193, 0.72);
}

.insurance-section h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.16;
}

.insurance-section p {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
}

.insurance-plan-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.insurance-plan-grid li {
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.86);
  border-radius: var(--radius);
  color: rgba(26, 26, 26, 0.78);
  padding: 14px 16px;
}

.insurance-logo-grid {
  display: grid;
  gap: 18px 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.insurance-logo-grid li {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  justify-content: center;
  min-height: 76px;
  padding: 8px 12px;
}

.insurance-logo-grid img {
  filter: none;
  max-height: 48px;
  max-width: 156px;
  object-fit: contain;
  opacity: 1;
}

.insurance-logo-grid img[src$=".png"] {
  max-height: 52px;
}

.insurance-logo-grid img[alt="Ameritas"] {
  max-height: 48px;
  max-width: 156px;
  transform: none;
}

.insurance-logo-grid img[alt="Delta Dental"] {
  max-height: 38px;
  max-width: 182px;
}

.insurance-logo-grid img[alt="Zelis"] {
  max-height: 42px;
  max-width: 136px;
}

.insurance-logo-grid img[alt="United Concordia"],
.insurance-logo-grid img[alt="CareFirst BlueCross BlueShield"] {
  max-height: 54px;
}

.insurance-logo-grid img[alt="UnitedHealthcare Dental"] {
  max-height: 48px;
  max-width: 156px;
  transform: none;
}

.insurance-note {
  margin-top: 24px;
  max-width: none;
  width: 100%;
}

.insurance-support-section {
  align-items: center;
  grid-template-columns: minmax(180px, 0.75fr) minmax(260px, 1fr) minmax(260px, 0.9fr);
}

.insurance-support-photo img {
  aspect-ratio: 16 / 10;
  max-height: 280px;
}

/* ── Patient path ───────────────────────────────────────────── */
.patient-path .section-heading {
  margin-bottom: 36px;
  max-width: none;
}

/* ── Modal ──────────────────────────────────────────────────── */
.appointment-modal {
  background: transparent;
  border: 0;
  max-width: min(720px, calc(100vw - 28px));
  padding: 0;
}

.appointment-modal::backdrop {
  background: rgba(23, 35, 43, 0.72);
  backdrop-filter: blur(5px);
}

.modal-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

.modal-card h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 12px;
}

.modal-intro {
  margin-top: 12px;
}

.modal-close {
  align-items: center;
  background: var(--mist);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
}

.modal-close svg {
  fill: none;
  height: 20px;
  stroke: var(--smoky);
  stroke-linecap: round;
  stroke-width: 2;
  width: 20px;
}

/* ── Form ───────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

label {
  color: rgba(26, 26, 26, 0.72);
  display: grid;
  font-size: 14px;
  gap: 8px;
}

.form-honeypot {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.form-status {
  color: var(--smoky);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 16px;
  min-height: 21px;
}

.form-status[data-status="error"] {
  color: #8a2d2d;
}

.form-status[data-status="success"] {
  color: #2f6b56;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: var(--mist);
  border: 1px solid rgba(209, 203, 193, 0.95);
  border-radius: var(--radius);
  color: var(--black);
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--smoky);
  outline: 3px solid rgba(89, 110, 121, 0.18);
}

.modal-submit {
  margin-top: 22px;
  width: 100%;
}

.modal-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

/* ── Map / footer ───────────────────────────────────────────── */
.map-footer {
  background: #1b3038;
}

.footer-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.footer-info-panel {
  background: var(--mist);
  color: var(--charcoal);
  display: grid;
  gap: 34px;
  padding: clamp(34px, 5vw, 70px) clamp(24px, 5vw, 72px);
}

.footer-info-panel h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  margin-top: 10px;
}

.footer-info-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info-content h3 {
  color: var(--charcoal);
  font-size: 18px;
  margin-bottom: 8px;
}

.footer-info-content a {
  color: var(--charcoal);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(23, 35, 43, 0.15);
  margin: 0;
}

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-line {
  align-items: center;
  display: flex;
  gap: 8px;
}

.footer-contact-line + .footer-contact-line {
  margin-top: 0;
}

.footer-contact-link {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  max-width: 100%;
  pointer-events: auto;
  position: relative;
  touch-action: manipulation;
  z-index: 2;
}

.footer-contact-link svg {
  fill: none;
  flex: 0 0 auto;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 17px;
}

.footer-contact-link span,
.footer-contact-line > span {
  min-width: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.footer-contact-line > svg {
  fill: none;
  flex: 0 0 auto;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 17px;
}

.footer-contact-line:last-child span {
  text-decoration: none;
  white-space: normal;
}

.footer-parking-note {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  max-width: 48rem;
  width: 100%;
}

.footer-map-row iframe {
  border: 0;
  height: 100%;
  min-height: 360px;
  width: 100%;
}

.footer-credentials {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  margin-top: 0;
}

.footer-credentials img:first-child {
  display: block;
  height: 36px;
  width: auto;
}

.footer-credentials img:last-child {
  display: block;
  height: 42px;
  width: auto;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.68);
  display: grid;
  gap: 8px;
  padding: 10px clamp(18px, 5vw, 72px) 12px;
}

.footer-legal p {
  color: rgba(255, 255, 255, 0.68);
}

.footer-top-row,
.footer-bottom-row {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-width: 0;
}

.footer-bottom-row p {
  margin: 0;
}

.footer-socials {
  align-items: center;
  color: #8c8c8c;
  display: flex;
  gap: 18px;
  justify-content: flex-start;
}

.footer-socials a {
  color: inherit;
  display: inline-flex;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-socials a:hover {
  color: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.footer-socials svg {
  fill: currentColor;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 30px;
}

.footer-socials a:first-child svg,
.footer-socials a:last-child svg {
  stroke-width: 0;
}

.footer-socials a:nth-child(2) svg {
  fill: none;
}

.footer-socials a:nth-child(2) circle:last-child {
  fill: currentColor;
  stroke: none;
}

.footer-notices {
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-notices a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

/* ── Hours list ─────────────────────────────────────────────── */
.hours-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  max-width: 230px;
}


.hours-list div {
  align-items: baseline;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 3.5rem 1fr;
}

.hours-list dt,
.hours-list dd {
  color: rgba(23, 35, 43, 0.78);
  line-height: 1.5;
  margin: 0;
}

.hours-list dt {
  font-weight: 500;
}

/* ── Legal pages ────────────────────────────────────────────── */
.legal-content {
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.legal-content h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.16;
}

.legal-content h3 {
  margin-top: 10px;
}

.legal-content p {
  color: rgba(26, 26, 26, 0.72);
}

/* ── Team page ──────────────────────────────────────────────── */
.team-photo {
  min-height: 520px;
  overflow: hidden;
}

.team-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  width: 100%;
}

.team-bio-copy {
  display: grid;
  gap: 18px;
}

.membership-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.membership-row img {
  max-height: 54px;
  width: auto;
}

.membership-row span {
  border: 1px solid rgba(209, 203, 193, 0.9);
  border-radius: var(--radius);
  color: var(--smoky);
  font-weight: 500;
  padding: 12px 14px;
}

.credential-row {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.credential-row img:first-child {
  display: block;
  height: 40px;
  width: auto;
}

.credential-row img:last-child {
  display: block;
  height: 46px;
  width: auto;
}

/* ── Team profile (meet-the-team page) ──────────────────────── */
.team-profile {
  align-items: stretch;
  background: var(--mist);
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1fr);
}

.team-profile .team-photo {
  border-radius: var(--radius);
  min-height: 560px;
}

.team-profile .team-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  width: 100%;
}

.team-profile .team-bio-copy {
  align-content: center;
  gap: 18px;
}

.team-profile .team-bio-copy .eyebrow {
  font-size: clamp(17px, 1.4vw, 22px);
  margin-bottom: 8px;
}

/* ── Treatment section (service pages) ──────────────────────── */
.treatment-section {
  background: linear-gradient(135deg, rgba(220, 227, 230, 0.98), rgba(220, 227, 230, 0.82));
  border-top: 1px solid rgba(209, 203, 193, 0.72);
  padding-top: clamp(56px, 7vw, 88px);
}

.service-treatment-intro {
  align-items: end;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
}

.service-treatment-intro .section-heading {
  max-width: 780px;
}

.service-treatment-intro h1 {
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.24;
  margin-top: 16px;
  max-width: 520px;
}

.service-media-panel {
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}

.service-media-panel img {
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  width: 100%;
}

.treatment-card-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.treatment-card {
  background: white;
  border: 1px solid rgba(209, 203, 193, 0.86);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
}

.treatment-card h3 {
  font-size: clamp(24px, 2.1vw, 34px);
  text-align: center;
}

.treatment-card p {
  margin-top: 18px;
}

.service-book-row {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.service-book-button {
  font-size: 20px;
  min-height: 58px;
  min-width: min(100%, 360px);
}

.service-emergency .treatment-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-emergency .treatment-card h3 {
  font-size: clamp(21px, 1.7vw, 28px);
}

.service-restorative .treatment-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-restorative .treatment-card {
  grid-column: span 2;
}

.service-restorative .treatment-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-restorative .treatment-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* ── Home-page overrides ─────────────────────────────────────── */
.home-page .hero-coming-soon {
  background: linear-gradient(90deg, rgba(220, 227, 230, 0.95) 0%, rgba(255, 255, 255, 0.98) 48%, rgba(220, 227, 230, 0.78) 100%);
  align-items: center;
  border-radius: 0;
  column-gap: clamp(18px, 3vw, 40px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(240px, 0.6fr) minmax(240px, 0.6fr);
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  min-height: 0;
  padding-block: clamp(32px, 4vw, 56px);
  padding-inline: max(clamp(28px, 8vw, 150px), env(safe-area-inset-left));
  width: 100vw;
}

.home-page .hero-copy {
  align-self: center;
  max-width: 660px;
  padding-right: clamp(18px, 3vw, 46px);
}

.home-page .hero-copy .eyebrow {
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.2em;
}

.home-page .hero-copy h1 {
  font-size: clamp(32px, 2.65vw, 44px);
  line-height: 1.24;
  max-width: 620px;
}

.home-page .hero-copy h1 em {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.home-page .hero-doctor-portrait {
  align-self: center;
  border-radius: 12px;
  height: auto;
  justify-content: center;
  overflow: hidden;
}

.home-page .hero-doctor-portrait img {
  aspect-ratio: 1340 / 1821;
  border-radius: 12px;
  display: block;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.home-page .hero-office-photo {
  align-self: center;
  overflow: hidden;
  padding-top: 48px;
}

.home-page .hero-office-photo img {
  aspect-ratio: 1340 / 1821;
  border-radius: 12px;
  display: block;
  filter: brightness(0.92);
  height: auto;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.home-page .split-section h2,
.home-page .section-heading h2,
.home-page .seo-content h2 {
  font-size: clamp(32px, 3.25vw, 48px);
  line-height: 1.14;
}

.home-page .split-section {
  padding-bottom: clamp(32px, 5vw, 68px);
}

.home-page .story-stack h3,
.home-page .service-overview-card h3,
.home-page .steps h3 {
  font-size: clamp(21px, 1.7vw, 27px);
}

.home-page #about h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.16;
}

.home-page #about .eyebrow {
  font-size: clamp(13px, 1vw, 16px);
}

.home-page #about {
  background: #ffffff;
  padding-bottom: clamp(36px, 5vw, 58px);
}

.home-page #services {
  background: #ffffff;
  padding-top: clamp(34px, 5vw, 58px);
}

.home-page .faq-section,
.home-page .seo-content {
  background: #ffffff;
}

.home-page .care-section {
  padding-top: clamp(32px, 4vw, 62px);
}

.home-page .care-section .section-heading {
  margin-left: 0;
  margin-right: auto;
  max-width: 780px;
  text-align: left;
}

.home-page .care-section .section-heading h2,
.home-page .care-section .section-heading p {
  margin-left: 0;
  margin-right: 0;
}

.home-page .section-heading .eyebrow,
.home-page .split-section > div > .eyebrow,
.home-page .seo-content .eyebrow {
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.2em;
}

.home-page .service-card-grid {
  gap: 18px;
}

.home-page .service-overview-card {
  min-height: 300px;
  padding: 30px 20px 24px;
}

.home-page .service-overview-card h3 {
  font-size: clamp(21px, 1.6vw, 25px);
  margin: 0 0 18px;
}

/* Hide service icon on home page overview — not needed in that context */
.home-page .service-icon {
  display: none;
}

.home-page .patient-path .section-heading h2 {
  font-size: clamp(17px, 4.9vw, 44px);
  max-width: none;
  white-space: nowrap;
}


/* ── About section photo ─────────────────────────────────────── */
.about-family-photo {
  margin: 24px 0 0;
  max-width: 430px;
}

.about-family-photo img {
  border-radius: 12px;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

/* ── Service summary list ────────────────────────────────────── */
.service-summary-list {
  color: rgba(26, 26, 26, 0.66);
  display: grid;
  gap: 10px;
  line-height: 1.55;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.service-summary-list li {
  min-width: 0;
}

/* ── Thank you page ──────────────────────────────────────────── */
.thank-you-hero {
  /* Inherits section padding; no additional overrides required */
}

/* ── Main background areas ───────────────────────────────────── */
main,
.home-page main,
.service-page main {
  background: #dce3e6;
}

/* ── ============================================================
   Responsive — max-width: 1080px
   ============================================================ */
@media (max-width: 1080px) {
  .site-header {
    --mobile-action-edge: clamp(16px, 4.5vw, 26px);
    --mobile-topbar-height: 54px;
    background: linear-gradient(var(--charcoal) 0 var(--mobile-topbar-height), #ffffff var(--mobile-topbar-height) 100%);
    display: block;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    min-height: 146px;
    overflow: visible;
    padding: 0;
    position: relative;
    right: 50%;
    width: 100vw;
  }

  .site-header::before {
    display: none;
  }

  .site-header .header-contact {
    color: #ffffff;
    display: block;
    height: var(--mobile-topbar-height);
    position: static;
  }

  .site-header .mobile-socials {
    align-items: center;
    bottom: auto;
    display: flex;
    gap: clamp(18px, 5vw, 28px);
    height: var(--mobile-topbar-height);
    left: var(--mobile-action-edge);
    padding: 0;
    position: absolute;
    top: 0;
    transform: none;
    z-index: 3;
  }

  .site-header .mobile-socials svg {
    height: 20px;
    width: 20px;
  }

  .site-header .header-phone {
    align-items: center;
    bottom: auto;
    color: #ffffff;
    display: inline-flex;
    font-size: 0;
    height: var(--mobile-topbar-height);
    justify-content: center;
    left: auto;
    padding: 0;
    position: absolute;
    right: calc(var(--mobile-action-edge) + 106px);
    top: 0;
    width: 28px;
    z-index: 4;
  }

  .site-header .header-phone span {
    display: none;
  }

  .site-header .header-phone svg {
    display: block;
    fill: none;
    height: 20px;
    min-width: 20px;
    stroke: currentColor;
    width: 20px;
  }

  .site-header .header-cta {
    align-items: center;
    background: #ffffff;
    border-color: #ffffff;
    border-radius: 999px;
    bottom: auto;
    color: var(--charcoal);
    display: inline-flex;
    font-size: 0;
    height: 36px;
    justify-content: center;
    margin: 0;
    min-height: 36px;
    min-width: 88px;
    padding: 0 18px;
    position: absolute;
    right: var(--mobile-action-edge);
    top: calc(var(--mobile-topbar-height) / 2);
    transform: translateY(-50%);
    width: 88px;
    z-index: 4;
  }

  .site-header .header-cta::after {
    content: "Request";
    font-size: 12px;
    line-height: 1;
    transform: translateY(-0.5px);
  }

  .site-header .brand {
    align-items: center;
    display: flex;
    height: 90px;
    left: 50%;
    position: absolute;
    top: var(--mobile-topbar-height);
    transform: translateX(-50%);
  }

  .site-header .brand img {
    height: auto;
    width: clamp(190px, 62vw, 248px);
  }

  .site-header .menu-button {
    bottom: auto;
    left: var(--mobile-action-edge);
    margin: 0;
    position: absolute;
    top: 78px;
    z-index: 5;
  }

  .site-header .primary-nav.is-open {
    left: 0;
    max-height: calc(100vh - 146px);
    right: 0;
    top: 146px;
    width: 100%;
  }

  .primary-nav {
    display: none;
  }

  .brand img {
    height: auto;
    width: clamp(190px, 62vw, 248px);
  }

  .menu-button {
    align-items: center;
    align-self: center;
    background: white;
    border: 1px solid var(--warm);
    border-radius: 8px;
    bottom: auto;
    display: block;
    height: 44px;
    justify-self: start;
    margin-bottom: 0;
    position: relative;
    transition: background 180ms ease, border-color 180ms ease;
    width: 58px;
  }

  .menu-button span {
    background: var(--smoky);
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    top: 50%;
    transition: opacity 160ms ease, transform 160ms ease;
    transform: translate(-50%, -50%);
    width: 18px;
  }

  .menu-button span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 6px));
  }

  .menu-button span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 6px));
  }

  .menu-button[aria-expanded="true"] {
    background: var(--smoky);
    border-color: var(--smoky);
  }

  .menu-button[aria-expanded="true"] span {
    background: white;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .primary-nav.is-open {
    align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--warm);
    display: grid;
    gap: 0;
    grid-column: 1 / -1;
    justify-content: stretch;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    width: auto;
    z-index: 300;
  }

  .primary-nav.is-open > a,
  .primary-nav.is-open .nav-item > a {
    align-items: center;
    border-top: 1px solid rgba(209, 203, 193, 0.55);
    color: rgba(26, 26, 26, 0.82);
    display: flex;
    font-size: 13px;
    letter-spacing: 0.04em;
    min-height: 46px;
    padding: 0 clamp(22px, 5vw, 72px);
    text-transform: uppercase;
    width: 100%;
  }

  .primary-nav.is-open > a:last-child {
    border-bottom: 1px solid rgba(209, 203, 193, 0.55);
  }

  .primary-nav.is-open .nav-item {
    display: grid;
    width: 100%;
  }

  .primary-nav.is-open > a[href$="meet-the-team.html"] {
    order: 1;
  }

  .primary-nav.is-open .new-patients-nav {
    order: 2;
  }

  .primary-nav.is-open .services-nav {
    order: 3;
  }

  .primary-nav.is-open > a[href$="#faq"] {
    order: 4;
  }

  .primary-nav.is-open > a[href$="#contact"] {
    order: 5;
  }

  .primary-nav.is-open .new-patients-nav > a,
  .primary-nav.is-open .services-nav > a {
    background: white;
    border-top: 1px solid rgba(209, 203, 193, 0.55);
    color: rgba(26, 26, 26, 0.82);
    position: relative;
  }

  .primary-nav.is-open .nav-item > a::after {
    content: "+";
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    position: absolute;
    right: clamp(18px, 5vw, 72px);
    top: 50%;
    transform: translateY(-50%);
  }

  .primary-nav.is-open .nav-item.is-expanded > a::after {
    content: "-";
  }

  .primary-nav.is-open .nav-submenu {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: none;
    left: auto;
    min-width: 0;
    opacity: 1;
    padding: 0;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .primary-nav.is-open .nav-item.is-expanded .nav-submenu {
    display: grid;
  }

  .primary-nav.is-open .nav-submenu a {
    align-items: center;
    background: white;
    border-radius: 0;
    border-top: 1px solid rgba(209, 203, 193, 0.55);
    color: rgba(26, 26, 26, 0.74);
    display: flex;
    font-size: 14px;
    letter-spacing: 0;
    min-height: 44px;
    padding: 0 clamp(30px, 6vw, 84px);
    text-transform: none;
    white-space: normal;
  }

  .hero,
  .split-section,
  .service-card-grid,
  .team-profile,
  .seo-content,
  .footer-map-row,
  .service-page-hero,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .hero-coming-soon {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  }

  .hero-copy {
    padding: clamp(34px, 5vw, 64px);
  }

  .steps,
  .insurance-plan-grid,
  .insurance-logo-grid,
  .treatment-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-map-row iframe {
    min-height: 320px;
  }


  .home-page .hero-coming-soon {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: clamp(28px, 7vw, 56px);
    width: 100vw;
  }

  .home-page .hero-coming-soon,
  .service-treatment-intro,
  .team-profile {
    grid-template-columns: 1fr;
  }

  .home-page .hero-doctor-portrait {
    margin-top: clamp(8px, 2vw, 22px);
  }

  .home-page .hero-doctor-portrait {
    border-radius: 12px;
    display: block;
    height: auto;
    margin-top: clamp(8px, 2vw, 22px);
    overflow: visible;
  }

  .home-page .hero-doctor-portrait img {
    aspect-ratio: auto;
    height: auto;
    margin: 0 auto;
    max-height: none;
    max-width: none;
    object-fit: contain;
    width: 100%;
  }

  .home-page .hero-office-photo {
    margin-top: 16px;
    padding-top: 0;
  }

  .home-page .hero-office-photo img {
    aspect-ratio: auto;
    margin: 0 auto;
    max-height: none;
    width: 100%;
  }

  .service-emergency .treatment-card-grid,
  .service-restorative .treatment-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-restorative .treatment-card,
  .service-restorative .treatment-card:nth-child(4),
  .service-restorative .treatment-card:nth-child(5) {
    grid-column: auto;
  }
}

/* ── min-width: 1081px overrides ─────────────────────────────── */
@media (min-width: 1081px) {
  .site-header {
    --desktop-action-edge: clamp(28px, 3vw, 52px);
    --desktop-header-pad: clamp(44px, 4.6vw, 76px);
    column-gap: clamp(30px, 3vw, 44px);
    grid-template-areas: "brand primary-nav nav-spacer";
    grid-template-columns: max-content max-content minmax(0, 1fr);
    grid-template-rows: 116px;
    min-height: 164px;
    padding: 48px var(--desktop-header-pad) 0;
  }

  .site-header::before {
    align-items: center;
    display: flex;
    height: 48px;
    left: var(--desktop-header-pad);
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 0;
  }

  .site-header .header-contact {
    height: 48px;
    margin-right: 0;
    position: absolute;
    right: calc(var(--desktop-action-edge) + 250px);
    top: 0;
  }

  .site-header .header-cta {
    margin-right: 0;
    position: absolute;
    right: var(--desktop-action-edge);
    top: 6px;
  }

  .brand {
    justify-self: start;
  }

  .primary-nav {
    justify-content: flex-start;
    justify-self: start;
    width: auto;
  }

  .home-page .hero-doctor-portrait {
    padding-top: clamp(32px, 3.5vw, 48px);
  }

  .home-page .hero-copy {
    padding-left: 0;
    padding-top: clamp(32px, 3.5vw, 48px);
  }

  .home-page .hero-coming-soon {
    padding-inline: clamp(44px, 5vw, 84px);
  }

  .primary-nav a,
  .nav-item > a {
    font-size: 17px;
  }
}

/* ── max-width: 720px ────────────────────────────────────────── */
@media (max-width: 720px) {
  .brand img {
    height: 54px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: min(100%, 320px);
  }

  .hero-copy {
    padding: 34px 24px 18px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 7vw, 34px);
    max-width: min(100%, 320px);
  }

  .hero-doctor-portrait {
    min-height: 300px;
  }

  .hero-doctor-portrait img {
    height: 360px;
    max-width: 78vw;
  }

  .hero-showcase {
    display: block;
  }

  .hero-coming-soon {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.74) 46%, rgba(255, 255, 255, 0.18) 100%),
      url("assets/coming-soon-2026.png") center / cover no-repeat;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-overview-card {
    min-height: 0;
  }

  .full {
    grid-column: auto;
  }

  .footer-info-panel {
    padding: 34px 20px;
  }

  .footer-parking-note {
    margin-top: 8px;
  }

  .footer-legal {
    align-items: flex-start;
    padding: 12px 20px;
  }

  .footer-top-row {
    width: 100%;
  }

  .footer-bottom-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-notices {
    justify-content: flex-start;
  }

  .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .team-profile .team-photo {
    min-height: 420px;
  }


  .home-page #about,
  .home-page #services {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .about-family-photo {
    max-width: none;
  }

  .home-page .hero-coming-soon {
    background: linear-gradient(180deg, rgba(220, 227, 230, 0.98) 0%, rgba(220, 227, 230, 0.92) 100%);
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .hero-copy .eyebrow {
    font-size: clamp(17px, 4.8vw, 22px);
  }

  .home-page .hero-copy h1 {
    font-size: clamp(28px, 7.8vw, 36px);
  }

  .home-page .hero-doctor-portrait img {
    height: auto;
    width: min(100%, 520px);
  }

  .local-care-feature {
    grid-template-columns: 1fr;
  }

  .local-care-photo img {
    aspect-ratio: 4 / 4.6;
  }

  .service-emergency .treatment-card-grid,
  .service-restorative .treatment-card-grid {
    grid-template-columns: 1fr;
  }

  .service-treatment-intro h1 {
    font-size: clamp(28px, 7.8vw, 36px);
  }
}

/* ── max-width: 640px ────────────────────────────────────────── */
@media (max-width: 640px) {
}

/* ── max-width: 360px ────────────────────────────────────────── */
@media (max-width: 360px) {
  .brand img {
    width: clamp(150px, 52vw, 180px);
  }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .site-header::before {
    animation: none;
    opacity: 0.9;
  }
}
