/* ==========================================================================
   Jay Keltner DDS, P.C. - plain CSS (no build step)
   Design tokens translated from the original Tailwind v4 @theme block.
   Breakpoints: sm 640px, md 768px, lg 1024px
   ========================================================================== */

:root {
  --font-display: "Fraunces", "Georgia", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --ink-950: #0e2a28;
  --ink-900: #123634;
  --ink-800: #184845;
  --ink-700: #205c57;
  --ink-600: #2a736c;
  --ink-500: #3a8c83;

  --sand-50: #fdfbf7;
  --sand-100: #faf5ec;
  --sand-200: #f3e9d7;
  --sand-300: #ead9bd;

  --clay-500: #c1673f;
  --clay-600: #ab5733;
  --clay-700: #8f4728;

  /* Alpha helpers (ink-900 = 18 54 52, ink-800 = 24 72 69, sand-200 = 243 233 215) */
  --line: rgb(18 54 52 / 0.10);
  --line-15: rgb(18 54 52 / 0.15);
  --line-20: rgb(18 54 52 / 0.20);
  --muted-85: rgb(24 72 69 / 0.85);
  --muted-80: rgb(24 72 69 / 0.80);
  --muted-75: rgb(24 72 69 / 0.75);
  --muted-70: rgb(24 72 69 / 0.70);
  --muted-60: rgb(24 72 69 / 0.60);
  --muted-50: rgb(24 72 69 / 0.50);

  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(18 54 52 / 0.08), 0 4px 6px -4px rgb(18 54 52 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(18 54 52 / 0.10), 0 8px 10px -6px rgb(18 54 52 / 0.10);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.40);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset (mirrors Tailwind preflight essentials) ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  background-color: var(--sand-50);
  color: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ol, ul { list-style: none; }
img, svg, iframe { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Focus & accessibility ---------- */
a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--clay-500);
  outline-offset: 2px;
}
main:focus-visible { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 1rem; z-index: 100;
  border-radius: 9999px; background: var(--ink-900); color: #fff;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600;
}
.skip-link:focus { position: fixed; left: 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .container { padding-inline: 1.5rem; } }

main { flex: 1 0 auto; padding-bottom: 4rem; }
@media (min-width: 1024px) { main { padding-bottom: 0; } }

.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section--sand { background: var(--sand-100); }
.section-tight { padding-bottom: 1rem; }

.split { display: grid; gap: 2.5rem; }
.split--gap-lg { gap: 3rem; }
.split--gap-md { gap: 2rem; }
@media (min-width: 768px) {
  .split { grid-template-columns: var(--cols, 1fr 1fr); }
  .split--center { align-items: center; }
  .split--start { align-items: start; }
}
.split-lg { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .split-lg { grid-template-columns: var(--cols, 1fr 1fr); } }

.cards-3 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards-3--md { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-3--md { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .cards-3--md { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.narrow-5xl { max-width: 64rem; margin-inline: auto; }

.stack-6 > * + * { margin-top: 1.5rem; }
.stack-12 > * + * { margin-top: 3rem; }
.stack-16 > * + * { margin-top: 4rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }

/* ---------- Icons ---------- */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon--lg { width: 1.25rem; height: 1.25rem; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--clay-600);
}
.eyebrow::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 9999px; background: var(--clay-500); }
.kicker {
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--clay-600);
}
.kicker--light { color: var(--clay-500); }

.section-heading { max-width: 42rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2, .h2-lg {
  font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; font-weight: 600; color: var(--ink-950);
}
@media (min-width: 768px) { .section-heading h2, .h2-lg { font-size: 2.25rem; } }
.section-heading__desc { margin-top: 1rem; font-size: 1rem; line-height: 1.625; color: var(--muted-80); }
@media (min-width: 768px) { .section-heading__desc { font-size: 1.125rem; } }
.h2-md { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: var(--ink-950); }
.h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--ink-950); }
.role-line { font-weight: 500; color: var(--muted-80); }
.body-text { font-size: 1rem; line-height: 1.625; color: var(--muted-80); }
.body-muted { color: var(--muted-80); }
.text-list { color: var(--muted-80); }
.text-list > li + li { margin-top: 0.75rem; }
.bullets { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-80); }
.bullets > li + li { margin-top: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.875rem 1.5rem; font-size: 0.875rem; line-height: 1.25rem;
  font-weight: 600; border: 1px solid transparent; text-align: center;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.btn--clay { background: var(--clay-500); color: #fff; box-shadow: 0 1px 2px 0 rgb(143 71 40 / 0.2); }
.btn--clay:hover { background: var(--clay-600); }
.btn--ink { background: var(--ink-900); color: #fff; }
.btn--ink:hover { background: var(--ink-950); }
.btn--outline { border-color: var(--ink-900); color: var(--ink-900); }
.btn--outline:hover { background: var(--ink-900); color: #fff; }
.btn--white { background: #fff; color: var(--ink-950); }
.btn--white:hover { background: var(--sand-200); }
.btn--outline-light { border-color: rgb(255 255 255 / 0.3); color: var(--sand-100); }
.btn--outline-light:hover { background: #fff; color: var(--ink-950); }
.btn--outline-sand { border-color: var(--sand-100); color: var(--sand-100); }
.btn--outline-sand:hover { background: var(--sand-100); color: var(--ink-950); }
.btn--emergency { padding: 1rem 1.5rem; font-size: 1rem; line-height: 1.5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3); }
.btn--submit { width: 100%; }
@media (min-width: 640px) { .btn--submit { width: auto; } }

.btn-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--lg { margin-top: 2rem; }
.btn-row--center { justify-content: center; }

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px;
  border: 1px solid var(--line); background: #fff; padding: 0.5rem 1rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-800); box-shadow: var(--shadow-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; background: var(--sand-50);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(253 251 247 / 0.95); }
@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header.is-scrolled { background: rgb(253 251 247 / 0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}

.utility-bar { display: none; background: var(--ink-950); color: var(--sand-100); }
@media (min-width: 768px) { .utility-bar { display: block; } }
.utility-bar__inner {
  max-width: 80rem; margin-inline: auto; padding: 0.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem;
}
.utility-bar__inner a { font-weight: 600; letter-spacing: 0.025em; }
.utility-bar__inner a:hover { color: var(--clay-500); }

.header-main {
  max-width: 80rem; margin-inline: auto; padding: 0.75rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .header-main { padding: 1rem 1.5rem; } }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand__mark {
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: 9999px; background: var(--ink-900); color: var(--sand-100);
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 600;
}
.brand__text { line-height: 1.25; }
.brand__name { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink-950); }
.brand__tag { display: block; font-size: 0.75rem; color: var(--ink-700); }
@media (min-width: 768px) {
  .brand__name { font-size: 1.125rem; }
  .brand__tag { font-size: 0.875rem; }
}

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.primary-nav a {
  display: block; border-radius: 9999px; padding: 0.5rem 0.75rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-800);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.primary-nav a:hover { background: rgb(18 54 52 / 0.05); color: var(--ink-950); }
.primary-nav a[aria-current="page"] { background: rgb(18 54 52 / 0.08); color: var(--ink-950); }

.header-actions { display: none; align-items: center; gap: 0.75rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.header-phone:hover { color: var(--clay-600); }
.header-cta {
  border-radius: 9999px; background: var(--clay-500); padding: 0.625rem 1.25rem;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: #fff;
  box-shadow: 0 1px 2px 0 rgb(171 87 51 / 0.3); transition: background-color 150ms var(--ease);
}
.header-cta:hover { background: var(--clay-600); }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  border-radius: 9999px; border: 1px solid var(--line-15); color: var(--ink-900);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--sand-50); }
.mobile-menu nav { max-width: 80rem; margin-inline: auto; padding: 0.75rem 1rem; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu li + li { border-top: 1px solid rgb(18 54 52 / 0.08); }
.mobile-menu ul a { display: block; padding-block: 0.75rem; font-size: 1rem; font-weight: 500; color: var(--ink-900); }
.mobile-menu ul a[aria-current="page"] { color: var(--clay-600); }
.mobile-menu__actions { margin-top: 1rem; padding-bottom: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu__call {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 9999px;
  border: 1px solid var(--ink-900); padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-900);
}
.mobile-menu__cta {
  border-radius: 9999px; background: var(--clay-500); padding: 0.75rem 1.25rem; text-align: center;
  font-size: 0.875rem; font-weight: 600; color: #fff;
}

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex;
  border-top: 1px solid var(--line); background: rgb(255 255 255 / 0.95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform 200ms var(--ease);
}
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar a {
  flex: 1 1 0%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding-block: 0.75rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
}
.mobile-bar__call { color: var(--ink-900); }
.mobile-bar__cta { background: var(--clay-500); color: #fff; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { border-bottom: 1px solid var(--line); background: var(--sand-100); padding-block: 3rem; }
@media (min-width: 768px) { .page-hero { padding-block: 4rem; } }
.page-hero__eyebrow { margin-top: 1rem; }
.page-hero h1 {
  margin-top: 0.75rem; max-width: 48rem; font-size: 1.875rem; line-height: 1.25; font-weight: 600; color: var(--ink-950);
}
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero__desc { margin-top: 1rem; max-width: 42rem; font-size: 1rem; line-height: 1.625; color: var(--muted-80); }
@media (min-width: 768px) { .page-hero__desc { font-size: 1.125rem; } }

.breadcrumbs { font-size: 0.75rem; line-height: 1rem; color: var(--muted-70); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.25rem; }
.breadcrumbs a:hover { color: var(--ink-950); text-decoration: underline; }
.breadcrumbs__current { color: var(--ink-950); }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-950); }
.hero__inner { display: grid; align-items: center; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 768px) { .hero__inner { grid-template-columns: 1fr 1fr; padding-block: 6rem; } }
.hero__text { position: relative; z-index: 10; color: var(--sand-100); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.15); background: rgb(255 255 255 / 0.05); padding: 0.375rem 1rem;
  font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--sand-200);
}
.hero h1 { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.1; font-weight: 600; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
.hero__lead { margin-top: 1.5rem; max-width: 32rem; font-size: 1.125rem; line-height: 1.625; color: rgb(243 233 215 / 0.9); }
.hero__loc { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgb(243 233 215 / 0.7); }
.hero__media { position: relative; }
.hero__img { overflow: hidden; border-radius: var(--radius-3xl); box-shadow: var(--shadow-2xl); }
.hero__img img { width: 100%; height: 320px; object-fit: cover; }
@media (min-width: 768px) { .hero__img img { height: 480px; } }
.hero__float {
  position: absolute; bottom: -1.5rem; left: -1.5rem; display: none;
  border-radius: var(--radius-2xl); background: var(--sand-50); padding: 1rem; box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .hero__float { display: block; } }
.hero__float-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--ink-950); }
.hero__float-text { font-size: 0.75rem; color: var(--muted-70); }

/* ---------- Trust bar ---------- */
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; padding-block: 1.25rem; }
.trust-bar ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 768px) { .trust-bar ul { justify-content: space-between; } }

/* ---------- Cards ---------- */
.card { border-radius: var(--radius-2xl); border: 1px solid var(--line); background: #fff; padding: 1.5rem; }
.card--roomy, .card--contact { padding: 1.75rem; }
.card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: var(--ink-950); }
.card__body { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-75); }

.value-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.value-card { border-radius: var(--radius-2xl); border: 1px solid var(--line); background: #fff; padding: 1.25rem; }
.value-card__title { font-family: var(--font-display); font-weight: 600; color: var(--ink-950); }
.value-card__body { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-75); }

.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }

.service-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-2xl);
  border: 1px solid var(--line); background: #fff;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.service-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-xl); }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1.25rem; }
.service-card__group { font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: var(--clay-600); }
.service-card__title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; color: var(--ink-950); }
.service-card__tagline { flex: 1; font-size: 0.875rem; line-height: 1.625; color: var(--muted-75); }
.service-card__more { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-900); }
.service-card:hover .service-card__more { color: var(--clay-600); }
.icon-arrow { transition: transform 150ms var(--ease); }
.service-card:hover .icon-arrow { transform: translateX(0.25rem); }

.intent-grid { margin: 2.5rem auto 0; max-width: 64rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .intent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.intent-card {
  display: flex; align-items: flex-start; gap: 1rem; border-radius: var(--radius-2xl);
  border: 1px solid var(--line); background: #fff; padding: 1.25rem;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), border-color 150ms var(--ease);
}
.intent-card:hover { transform: translateY(-0.125rem); border-color: rgb(193 103 63 / 0.4); box-shadow: var(--shadow-lg); }
.intent-card__icon {
  display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  border-radius: 9999px; background: rgb(18 54 52 / 0.05); font-size: 1.25rem;
}
.intent-card__label { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink-950); }
.intent-card:hover .intent-card__label { color: var(--clay-600); }
.intent-card__desc { margin-top: 0.25rem; display: block; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-75); }

.related-card {
  display: block; border-radius: var(--radius-2xl); border: 1px solid var(--line); background: #fff; padding: 1.25rem;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.related-card:hover { transform: translateY(-0.125rem); box-shadow: var(--shadow-lg); }
.related-card__name { font-family: var(--font-display); font-weight: 600; color: var(--ink-950); }
.related-card__tagline { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-70); }

/* ---------- Dentist placeholder & notes ---------- */
.doc-placeholder {
  margin-inline: auto; display: flex; aspect-ratio: 1 / 1; width: 100%; max-width: 24rem;
  align-items: center; justify-content: center; border-radius: var(--radius-3xl);
  background: var(--ink-900); color: var(--sand-100); text-align: center;
}
@media (min-width: 768px) { .doc-placeholder { margin-inline: 0; } }
.doc-placeholder__initials { font-family: var(--font-display); font-size: 3rem; line-height: 1; font-weight: 600; }
.doc-placeholder__caption { margin-top: 0.75rem; font-size: 0.75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgb(243 233 215 / 0.7); }
.doc-placeholder__caption--padded { padding-inline: 1.5rem; }

.note-box {
  margin-top: 1.25rem; border-radius: var(--radius-2xl); border: 1px dashed var(--line-15);
  background: var(--sand-100); padding: 1.25rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-75);
}
.verify-note {
  border-radius: var(--radius-xl); border: 1px dashed var(--line-20); background: var(--sand-100);
  padding: 0.75rem 1rem; font-size: 0.75rem; line-height: 1.625; color: var(--muted-70);
}

.rounded-img { overflow: hidden; border-radius: var(--radius-3xl); }
.rounded-img img { width: 100%; object-fit: cover; }
.np-img { height: 18rem; }
@media (min-width: 768px) { .np-img { height: 100%; } }
.office-img { height: 16rem; }
@media (min-width: 768px) { .office-img { height: 24rem; } }
.detail-img img { height: 100%; }
.img-caption { margin-top: 0.75rem; text-align: center; font-size: 0.75rem; line-height: 1rem; color: var(--muted-50); }

/* ---------- Emergency callout ---------- */
.callout { background: var(--ink-950); color: var(--sand-100); padding-block: 3.5rem; }
@media (min-width: 768px) { .callout { padding-block: 5rem; } }
.callout__inner { display: grid; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .callout__inner { grid-template-columns: 1.4fr 1fr; } }
.callout h2 { margin-top: 0.75rem; font-size: 1.5rem; line-height: 1.375; font-weight: 600; }
@media (min-width: 768px) { .callout h2 { font-size: 1.875rem; } }
.callout__text { margin-top: 1rem; max-width: 36rem; color: rgb(243 233 215 / 0.85); }
.callout__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 768px) { .callout__actions { align-items: flex-end; } }

.alert-band { border-bottom: 1px solid #fecaca; background: #fef2f2; padding-block: 1.25rem; }
.alert-band p { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: #7f1d1d; }

/* ---------- Insurance ---------- */
.info-box { border-radius: var(--radius-2xl); border: 1px solid var(--line); background: var(--sand-100); padding: 1.5rem; }
@media (min-width: 768px) { .info-box { padding: 2rem; } }
.info-box > * + * { margin-top: 1rem; }
.info-box p { font-size: 0.875rem; line-height: 1.625; color: var(--muted-80); }
.info-box__link {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink-900);
  text-decoration: underline; text-decoration-color: var(--clay-500); text-underline-offset: 4px;
}
.info-box__link:hover { color: var(--clay-600); }

/* ---------- Reviews placeholder ---------- */
.review-grid { margin: 2.5rem auto 0; max-width: 56rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  border-radius: var(--radius-2xl); border: 1px dashed var(--line-15); background: #fff; padding: 2rem; text-align: center;
}
.review-ph__stars { display: flex; gap: 0.25rem; color: var(--clay-500); }
.review-ph p { font-size: 0.875rem; color: var(--muted-60); }

/* ---------- Location ---------- */
.location {
  display: grid; overflow: hidden; border-radius: var(--radius-3xl);
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .location { grid-template-columns: 1fr 1fr; } }
.location__text { padding: 2rem; }
@media (min-width: 768px) { .location__text { padding: 3rem; } }
.location h2 { margin-top: 0.75rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; color: var(--ink-950); }
.location__address { margin-top: 1.5rem; font-size: 1rem; color: var(--muted-85); }
.location__address > * + * { margin-top: 0.25rem; }
.location__name { font-weight: 600; color: var(--ink-950); }
.location__phone { margin-top: 1rem; }
.location__phone a { font-size: 1.125rem; font-weight: 600; color: var(--ink-950); }
.location__phone a:hover { color: var(--clay-600); }
.location__map { min-height: 320px; }
.location__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Appointment CTA & form ---------- */
.appt-cta {
  display: grid; gap: 2.5rem; border-radius: var(--radius-3xl); background: var(--ink-950);
  padding: 2rem; color: var(--sand-100);
}
@media (min-width: 768px) { .appt-cta { grid-template-columns: 1fr 1.2fr; padding: 3.5rem; } }
.appt-cta h2 { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.25; font-weight: 600; }
@media (min-width: 768px) { .appt-cta h2 { font-size: 2.25rem; } }
.appt-cta__text { margin-top: 1rem; color: rgb(243 233 215 / 0.85); }
.appt-cta__text a { font-weight: 600; color: #fff; text-decoration: underline; }
.appt-cta__form { border-radius: var(--radius-2xl); background: var(--sand-50); padding: 1.5rem; color: var(--ink-950); }
@media (min-width: 768px) { .appt-cta__form { padding: 2rem; } }

.form > * + * { margin-top: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink-900); }
.req { color: var(--clay-600); }
.input {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-20); background: #fff;
  padding: 0.625rem 0.75rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-950);
}
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23123634' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 1.1rem;
}
textarea.input { resize: vertical; }
.input::placeholder { color: rgb(18 54 52 / 0.3); }
.input[aria-invalid="true"] { border-color: var(--clay-600); box-shadow: 0 0 0 1px var(--clay-600); }
.field-error { margin-top: 0.375rem; font-size: 0.75rem; line-height: 1rem; font-weight: 500; color: var(--clay-700); }
.form-note { font-size: 0.75rem; line-height: 1.625; color: var(--muted-60); }

.form-success { border-radius: var(--radius-2xl); border: 1px solid var(--line); background: var(--sand-100); padding: 2rem; text-align: center; }
.form-success__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--ink-950); }
.form-success__text { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-80); }
.form-success__text a { font-weight: 600; color: var(--clay-600); text-decoration: underline; }

/* ---------- FAQ accordion ---------- */
.faq { border-radius: var(--radius-2xl); border: 1px solid var(--line); background: #fff; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; text-align: left; border-radius: var(--radius-2xl);
}
.faq__q { font-family: var(--font-display); font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--ink-950); }
@media (min-width: 768px) { .faq__q { font-size: 1.125rem; line-height: 1.75rem; } }
.faq__icon {
  display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; flex-shrink: 0;
  border-radius: 9999px; border: 1px solid var(--line-15); color: var(--ink-900); font-size: 1rem; line-height: 1;
  transition: transform 150ms var(--ease), background-color 150ms var(--ease), color 150ms var(--ease);
}
.faq__btn[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--ink-900); color: #fff; }
.faq__panel {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows 200ms var(--ease), padding 200ms var(--ease);
}
.faq__panel.is-open { grid-template-rows: 1fr; padding-bottom: 1.25rem; }
.faq__inner { min-height: 0; padding-inline: 1.25rem; visibility: hidden; transition: visibility 0s linear 200ms; }
.faq__panel.is-open .faq__inner { visibility: visible; transition-delay: 0s; }
.faq__inner p { font-size: 0.875rem; line-height: 1.625; color: var(--muted-80); }
@media (min-width: 768px) { .faq__inner p { font-size: 1rem; } }
/* Without JavaScript, show every answer */
.no-js .faq__panel { grid-template-rows: 1fr; padding-bottom: 1.25rem; }
.no-js .faq__inner { visibility: visible; }

/* ---------- New patients ---------- */
.steps { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem;
  border-radius: 9999px; background: var(--ink-900); color: var(--sand-100);
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
}

/* ---------- Service detail ---------- */
.detail-summary { font-size: 1.125rem; line-height: 1.625; color: var(--muted-85); }
.detail-list { margin-top: 2rem; }
.detail-list > li + li { margin-top: 1.25rem; }
.detail-list li {
  display: flex; gap: 0.75rem; border-radius: var(--radius-xl); border: 1px solid var(--line);
  background: #fff; padding: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-80);
}
.detail-list__dot { margin-top: 0.375rem; width: 0.5rem; height: 0.5rem; flex-shrink: 0; border-radius: 9999px; background: var(--clay-500); }
.confirm-note {
  margin-top: 2rem; border-radius: var(--radius-2xl); border: 1px dashed var(--line-15);
  background: var(--sand-100); padding: 1.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-75);
}
.confirm-note a { font-weight: 600; color: var(--clay-600); text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-address { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-80); }
.contact-address > * + * { margin-top: 0.25rem; }
.contact-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink-950); }
.contact-phone:hover { color: var(--clay-600); }
.contact-map { overflow: hidden; border-radius: var(--radius-2xl); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 18rem; border: 0; }
.hours-note {
  border-radius: var(--radius-2xl); border: 1px dashed var(--line-15); background: var(--sand-100);
  padding: 1.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-70);
}
.contact-form-card { border-radius: var(--radius-3xl); border: 1px solid var(--line); background: #fff; padding: 1.75rem; }
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.contact-form-card__intro { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-70); }

/* ---------- 404 ---------- */
.not-found { display: flex; min-height: 60vh; align-items: center; padding-block: 5rem; }
.not-found__inner { text-align: center; }
.not-found__code { font-family: var(--font-display); font-size: 4.5rem; line-height: 1; font-weight: 600; color: rgb(18 54 52 / 0.2); }
.not-found h1 { margin-top: 1rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; color: var(--ink-950); }
.not-found__text { margin: 0.75rem auto 0; max-width: 28rem; color: var(--muted-75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--sand-100); padding-bottom: 5rem; }
@media (min-width: 1024px) { .site-footer { padding-bottom: 2.5rem; } }
.footer__grid { max-width: 80rem; margin-inline: auto; display: grid; gap: 2.5rem; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__mark {
  display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 9999px; background: var(--sand-100); color: var(--ink-950);
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
}
.footer__name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.footer__about { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.25rem; color: rgb(243 233 215 / 0.8); }
.footer__heading {
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.025em; color: rgb(243 233 215 / 0.9);
}
.footer__list { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: rgb(243 233 215 / 0.8); }
.footer__list > li + li { margin-top: 0.5rem; }
.footer__list a:hover { color: #fff; }
.footer__address { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: rgb(243 233 215 / 0.8); }
.footer__address > * + * { margin-top: 0.5rem; }
.footer__phone { font-weight: 600; color: #fff; }
.footer__directions { text-decoration: underline; text-decoration-color: rgb(243 233 215 / 0.4); text-underline-offset: 4px; }
.footer__directions:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer__bottom-inner {
  max-width: 80rem; margin-inline: auto; display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.5rem; font-size: 0.75rem; line-height: 1rem; color: rgb(243 233 215 / 0.6);
}
@media (min-width: 768px) { .footer__bottom-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer :focus-visible, .callout :focus-visible, .appt-cta > div:first-child :focus-visible, .hero :focus-visible { outline-color: var(--clay-500); }
