/* =========================================================
   MSD Dental Studio — global stylesheet
   Performance-first: single file, system fonts, no frameworks
   ========================================================= */

:root {
  /* Brand palette — MSD Dental Studio brand guide
     Tan #B8A184 (PANTONE 480 C) · Sand #D1BF9C (PANTONE 7501 C) · Black */
  --navy: #211c18;        /* warm near-black (brand "black") */
  --navy-2: #38302a;
  --teal: #8a6e49;        /* accessible bronze (deep shade of brand tan) for buttons/fills */
  --teal-dark: #6f583a;   /* hover / links / eyebrow text */
  --teal-light: #f0e9db;  /* light sand wash for backgrounds & icons */
  --sand: #f6f1e8;        /* warm page background */
  --ink: #2b2620;         /* warm body text */
  --muted: #7a7064;       /* warm muted text */
  --line: #e7e0d4;        /* warm hairline */
  --white: #ffffff;
  --gold: #b8a184;        /* brand tan accent (stars, highlights) */
  --tan: #b8a184;
  --tan-light: #d1bf9c;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(33, 28, 24, 0.12);
  --shadow-sm: 0 4px 14px rgba(33, 28, 24, 0.09);
  --max: 1160px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.3px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: .6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--teal-light); color: var(--navy); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #dce6ee;
  font-size: .88rem;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; justify-content: space-between;
  padding-top: 8px; padding-bottom: 8px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-right { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 54px; width: auto; display: block; }
.footer-logo { height: 62px; width: auto; display: block; margin-bottom: 14px; }
@media (max-width: 620px) { .brand-logo { height: 42px; } }
.brand .mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--tan), var(--navy));
  color: #fff; font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center; letter-spacing: .5px;
}
.brand .bname { font-weight: 800; color: var(--navy); font-size: 1.12rem; line-height: 1.05; }
.brand .btag { display: block; font-size: .72rem; font-weight: 600; color: var(--teal-dark); letter-spacing: 1px; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a { color: var(--navy); font-weight: 600; font-size: .96rem; }
.menu a:hover { color: var(--teal-dark); text-decoration: none; }
.has-sub > a::after { content: " ▾"; font-size: .7rem; color: var(--muted); }
.submenu {
  position: absolute; top: 130%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.menu > li:hover .submenu, .menu > li:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: .92rem; }
.submenu a:hover { background: var(--teal-light); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-weight: 800; color: var(--navy); white-space: nowrap; }
.nav-phone:hover { color: var(--teal-dark); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(184,161,132,.30), transparent 60%),
    linear-gradient(180deg, var(--sand), #fff);
  padding: 64px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--teal-dark); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust .t { font-size: .92rem; color: var(--muted); }
.hero-trust .t b { display: block; font-size: 1.5rem; color: var(--navy); }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
}
.hero-card h3 { color: var(--navy); }
.hero-card ul { margin: 0; padding-left: 0; list-style: none; }
.hero-card li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--teal); font-weight: 800; }

/* ---------- Section helpers ---------- */
section { padding: 60px 0; }
.section-tight { padding: 44px 0; }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #ece4d6; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-teal { background: var(--teal-light); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section-head { max-width: 720px; margin: 0 auto 38px; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 50px; height: 50px; border-radius: 12px; background: var(--teal-light);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: .8rem; }
.card a.more { font-weight: 700; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { padding-left: 34px; position: relative; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--teal); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media-ph {
  border-radius: var(--radius); min-height: 320px;
  background: linear-gradient(135deg, var(--teal-light), #dbeeeb);
  display: grid; place-items: center; color: var(--teal-dark); font-weight: 700; text-align:center; padding:20px;
}

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.review p { font-style: italic; color: var(--ink); }
.review .who { font-weight: 700; color: var(--navy); font-style: normal; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { color: var(--muted); padding: 14px 0 6px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--teal-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d8e6ec; max-width: 60ch; margin: 0 auto 22px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(184,161,132,.26), transparent 60%),
    linear-gradient(180deg, var(--sand), #fff);
  padding: 54px 0 40px;
}
.page-hero .eyebrow { justify-content: center; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--teal-dark); }

/* ---------- Contact / info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.info-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow-sm); }
.info-card h3 { font-size:1.05rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); }

form.lead-form { display: grid; gap: 14px; }
form.lead-form label { font-weight: 600; font-size: .92rem; color: var(--navy); }
form.lead-form input, form.lead-form select, form.lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-top: 5px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d8cfc0; padding: 56px 0 26px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer a { color: #d8cfc0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 38px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: #a89c88;
}
.footer-bottom a { color: #a89c88; }

/* ---------- Misc ---------- */
.pill { display:inline-block; background:var(--teal-light); color:var(--teal-dark); font-weight:700; font-size:.8rem; padding:5px 12px; border-radius:999px; }
.prose p { color: var(--ink); }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:10px 16px; z-index:100; }
.skip-link:focus { left: 10px; }

/* ---------- SVG illustrations ---------- */
.illus svg, .illus img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.illus img { object-fit: cover; }
.avatar svg { display: block; width: 100%; height: auto; }

/* ---------- Submenu divider ---------- */
.submenu .div { height: 1px; background: var(--line); margin: 6px 4px; }

/* ---------- Blog ---------- */
.blog-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .15s ease, box-shadow .15s ease; display:flex; flex-direction:column; }
.blog-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.blog-card .body { padding:22px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-card .meta { font-size:.8rem; color:var(--muted); }
.blog-card h3 { margin:0; font-size:1.18rem; }
.blog-card a.more { margin-top:auto; font-weight:700; }
.article { max-width:760px; margin:0 auto; }
.article h2 { margin-top:1.7em; }
.article .lead { font-size:1.18rem; }
.article .note { background:var(--teal-light); border-left:4px solid var(--teal); padding:16px 20px; border-radius:10px; margin:22px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .bio-rev .illus { order: 1; margin-bottom: 18px; }
  .bio-rev .prose { order: 2; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu, .nav-phone { display: none; }
  .nav-toggle { display: block; order: 4; }
  .nav-cta { order: 3; margin-left: auto; gap: 8px; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: .82rem; line-height: 1; white-space: nowrap; }
  .menu.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px 22px; gap: 6px; box-shadow: var(--shadow);
  }
  .menu.open .submenu { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; padding:4px 0 4px 12px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  section { padding: 46px 0; }
}

/* =========================================================
   A+ POLISH LAYER — warm editorial luxe (overrides)
   ========================================================= */
:root { --radius: 18px; --radius-sm: 12px; --max: 1200px; }
body { line-height: 1.72; color: var(--ink); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.4px; }
h1 { font-size: clamp(2.3rem, 4.7vw, 3.75rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); line-height: 1.15; }
h3 { font-size: 1.28rem; font-weight: 600; }
section { padding: 84px 0; }
.section-tight { padding: 52px 0; }
.eyebrow { letter-spacing: 2.6px; font-size: .74rem; color: var(--teal-dark); margin-bottom: .9rem; }
.lead { font-size: 1.19rem; line-height: 1.65; }
.section-head { margin-bottom: 46px; }
.split { gap: 56px; }

/* warm gold primary button */
.btn-primary { background: var(--tan); color: var(--navy); box-shadow: 0 6px 18px rgba(184,161,132,.4); }
.btn-primary:hover { background: #a98f6c; color: var(--navy); }
.btn-lg { padding: 17px 36px; }
.btn { letter-spacing: .2px; }

/* gold divider accent under eyebrow in section heads */
.section-head .eyebrow::after { content:""; display:block; width:42px; height:2px; background:var(--tan); margin:12px auto 0; }

/* ---------- Photographic hero (full banner, no crop) ---------- */
.hero3 { background: linear-gradient(180deg, var(--sand), #fff); padding: 58px 0 78px; }
.hero3-text { max-width: 820px; }
.hero3-text h1 { margin-bottom: .3em; }
.hero3-text .lead { max-width: 62ch; color: #5f574c; }
.hero3-media { margin-top: 38px; }
.hero3-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 26%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 24px 0 0; }
.hero-badges li { font-size: .93rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--tan); }
@media (max-width: 620px){ .hero3 { padding: 34px 0 46px; } }

/* ---------- Image service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-img { height: 196px; background-size: cover; background-position: center; }
.svc-body { padding: 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.svc-body h3 { margin: 0; }
.svc-body p { color: var(--muted); margin: 0; flex: 1; }
.svc-body .more { font-weight: 700; color: var(--teal-dark); margin-top: 4px; }
.svc-cta { background: linear-gradient(140deg, var(--navy), var(--teal-dark)); color: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.svc-cta h3 { color: #fff; }
.svc-cta p { color: #e7ddcc; }
@media (max-width: 900px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Line icons ---------- */
.ico { background: var(--teal-light); color: var(--teal-dark); display: grid; place-items: center; }
.ico svg { width: 26px; height: 26px; }
.tico { width: 1.05em; height: 1.05em; vertical-align: -.16em; margin-right: .15em; }
.info-card h3 { display: flex; align-items: center; gap: 8px; }
.info-card h3 .tico { color: var(--teal-dark); }
.topbar svg.tico, .site-footer svg.tico { opacity: .85; }

/* refined interior hero */
.page-hero { padding: 64px 0 46px; }
.crumbs { margin-bottom: 16px; letter-spacing: .2px; }

/* photos: warmer rounding + subtle */
.illus img, .illus svg { border-radius: var(--radius); }
.review { border-radius: var(--radius); }
.card { border-radius: var(--radius); }

/* =========================================================
   SHOWSTOPPER LAYER — display serif, cinematic hero, motion
   ========================================================= */
h1, h2 { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.9rem, 6vw, 4.7rem); line-height: 1.03; }
h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); line-height: 1.08; }
.section-head h2 { margin-top: .1em; }
.lead { font-size: 1.2rem; }

/* ---------- Cinematic hero ---------- */
.hero-cine { position: relative; min-height: clamp(580px, 90vh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--navy); }
.hero-cine .bg { position: absolute; inset: 0; background-size: cover; background-position: center 16%; animation: kenburns 16s ease-out both; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-cine::after { content:""; position:absolute; inset:0; background:
  linear-gradient(90deg, rgba(33,28,24,.55) 0%, rgba(33,28,24,.18) 46%, rgba(33,28,24,0) 72%),
  linear-gradient(180deg, rgba(33,28,24,.30) 0%, rgba(33,28,24,0) 28%, rgba(33,28,24,.55) 62%, rgba(33,28,24,.95) 100%); }
.hero-cine .container { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 72px; }
.hero-cine-inner { max-width: 800px; }
.hero-cine .eyebrow { color: #ecdfca; }
.hero-cine h1 { color: #fff; margin-bottom: .28em; text-shadow: 0 2px 36px rgba(0,0,0,.32); }
.hero-cine .lead { color: #f3ece0; max-width: 60ch; font-size: 1.28rem; }
.hero-cine .hero-actions { margin-top: 30px; }
.hero-cine .btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.hero-cine .btn-ghost:hover { background: #fff; color: var(--navy); }
@media (max-width: 700px){ .hero-cine { min-height: 76vh; } .hero-cine .container { padding-top: 96px; padding-bottom: 48px; } .hero-cine .lead { font-size: 1.08rem; } }
@media (prefers-reduced-motion: reduce){ .hero-cine .bg { animation: none; } }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: #e7ddcc; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { font-family: "Cormorant Garamond", Georgia, serif; display: block; font-size: 2.8rem; line-height: 1; color: var(--tan); font-weight: 600; }
.stat span { font-size: .88rem; letter-spacing: .4px; color: #c9bba4; display: block; margin-top: 6px; }
.stat + .stat { position: relative; }
@media (max-width: 700px){ .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }

/* ---------- Shrinking sticky header ---------- */
.site-header { transition: padding .25s ease, box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 26px rgba(33,28,24,.10); background: rgba(255,255,255,.98); }
.brand-logo { transition: height .25s ease; }
.site-header.scrolled .nav { padding-top: 8px; padding-bottom: 8px; }
.site-header.scrolled .brand-logo { height: 42px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Image motion ---------- */
.svc, .illus { overflow: hidden; }
.svc .svc-img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc:hover .svc-img { transform: scale(1.06); }
.illus img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.illus:hover img { transform: scale(1.045); }

/* ---------- Refinements ---------- */
.btn { transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.review { position: relative; }
.review::before { content: "\201C"; position: absolute; top: 6px; left: 16px; font-family: "Cormorant Garamond", serif; font-size: 4.5rem; line-height: 1; color: var(--tan); opacity: .35; }
.review p { position: relative; }
.faq summary { font-family: "Montserrat", sans-serif; }
.cta-band { background: linear-gradient(135deg, var(--navy), #3a2e22); }

/* ---------- Credentials / education pills ---------- */
.creds { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 20px; }
.creds span { background: var(--teal-light); color: var(--teal-dark); font-weight: 600; font-size: .82rem; letter-spacing: .2px; padding: 7px 13px; border-radius: 999px; border: 1px solid #e6dcc8; }

/* ---------- Credentials spec list (replaces pills) ---------- */
.cred-list { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.cred-row { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cred-label { font-size: .7rem; letter-spacing: 2.2px; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }
.cred-val { color: var(--ink); font-weight: 500; }
@media (max-width: 520px){ .cred-row { grid-template-columns: 1fr; gap: 3px; } }

/* ---------- Outside the office ---------- */
.life { display: flex; gap: 16px; margin-bottom: 26px; }
.life:last-child { margin-bottom: 0; }
.life .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; }
.life h3 { margin: 0 0 5px; font-size: 1.12rem; }
.life p { margin: 0; color: var(--muted); }

/* ---------- Outside the office (no-photo cards) ---------- */
.life-card { text-align: center; }
.life-card .ico { width: 52px; height: 52px; border-radius: 13px; margin: 0 auto 16px; }
.life-card h3 { font-size: 1.14rem; margin: 0 0 8px; }
.life-card p { color: var(--muted); margin: 0; }

/* ---------- How it works steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step .num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 3.1rem; line-height: 1; color: var(--tan); display: block; }
.step h3 { color: #fff; margin: .35em 0 .45em; font-size: 1.18rem; }
.step p { color: #cdbfa9; margin: 0; }
.step { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Accessibility: focus-visible ---------- */
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--tan); outline-offset: 2px; border-radius: 4px;
}

/* ---------- Outside the office photo duo ---------- */
.photo-duo { margin: 38px 0 0; display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.photo-duo img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-duo figcaption { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .9rem; margin-top: 4px; }
@media (max-width: 700px){ .photo-duo { grid-template-columns: 1fr; } .photo-duo img { height: 280px; } }

/* ---------- Rotating reviews ---------- */
.reviews { max-width: 780px; margin: 0 auto; }
.rev-track { position: relative; }
.rev-slide { margin: 0; text-align: center; }
.rev-slide:not(.is-active) { display: none; }
.rev-slide .stars { color: #f0c674; font-size: 1.2rem; letter-spacing: 2px; }
.rev-slide blockquote { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.4; margin: 14px 0 16px; }
.rev-slide figcaption { font-weight: 600; opacity: .85; }
.rev-slide .rev-translation { font-size: .9rem; font-style: italic; opacity: .8; max-width: 60ch; margin: 0 auto 14px; line-height: 1.5; }
.rev-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.rev-prev, .rev-next { background: rgba(255,255,255,.14); color: inherit; border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .15s ease; }
.rev-prev:hover, .rev-next:hover { background: rgba(255,255,255,.28); }
.rev-dots { display: flex; gap: 9px; }
.rev-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .15s ease, transform .15s ease; }
.rev-dot.is-active { background: #fff; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce){ .rev-slide { transition: none; } }

/* ---------- 3-up photo gallery ---------- */
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery3 img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px){ .gallery3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .gallery3 { grid-template-columns: 1fr; } .gallery3 img { height: 260px; } }

/* ---------- Language switcher ---------- */
.langsw { display: inline-flex; gap: 6px; align-items: center; margin: 0 14px; font-weight: 700; letter-spacing: .04em; }
.langsw a { opacity: .8; }
.langsw a:hover { opacity: 1; }
.langsw [aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.lang-mobile { display: none; }
.lang-chip { display: none; }
.lang-chip .langsw { margin: 0 4px 0 0; }
.lang-chip .langsw a, .lang-chip .langsw [aria-current="page"] { padding: 4px 6px; }
@media (max-width: 940px) { .lang-chip { display: inline-flex; align-items: center; margin-right: 4px; } }

/* ---------- Cookie consent ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200; max-width: 760px; margin: 0 auto; background: #fff; color: var(--ink, #211c18); border: 1px solid var(--line, #e6ded2); border-radius: 14px; box-shadow: 0 14px 40px rgba(33,28,24,.22); padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.5; }
.cookie-banner .cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 10px 18px; }
@media (max-width: 760px){ .cookie-banner { bottom: 88px; } .cookie-banner .cookie-actions { width: 100%; } .cookie-banner .btn { flex: 1; text-align: center; } }

/* ---------- Accessibility widget ---------- */
.a11y-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 1150; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink, #211c18); color: #fff; cursor: pointer; box-shadow: 0 8px 22px rgba(33,28,24,.3); display: flex; align-items: center; justify-content: center; }
.a11y-toggle svg { width: 24px; height: 24px; }
.a11y-panel { position: fixed; left: 16px; bottom: 74px; z-index: 1150; width: 250px; background: #fff; border: 1px solid var(--line, #e6ded2); border-radius: 14px; box-shadow: 0 14px 40px rgba(33,28,24,.22); padding: 16px; }
.a11y-panel .a11y-title { margin: 0 0 10px; font-weight: 700; }
.a11y-panel .a11y-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .92rem; }
.a11y-panel button, .a11y-panel a.a11y-wide { font: inherit; cursor: pointer; border: 1px solid var(--line, #e6ded2); background: #f7f3ec; border-radius: 8px; padding: 8px 12px; color: inherit; }
.a11y-panel .a11y-row button { margin-left: 6px; font-weight: 700; }
.a11y-panel .a11y-wide { display: block; width: 100%; text-align: center; text-decoration: none; margin-top: 8px; }
.a11y-panel button[aria-pressed="true"] { background: var(--ink, #211c18); color: #fff; }
@media (max-width: 760px){ .a11y-toggle { bottom: 80px; } .a11y-panel { bottom: 138px; } }
/* High-contrast mode */
body.a11y-contrast { background: #fff; }
body.a11y-contrast, body.a11y-contrast p, body.a11y-contrast li, body.a11y-contrast h1, body.a11y-contrast h2, body.a11y-contrast h3, body.a11y-contrast span { color: #000 !important; }
body.a11y-contrast a { color: #0b3d91 !important; }
body.a11y-links a { text-decoration: underline !important; }

/* ---------- New patient offer ---------- */
.offer { background: var(--sand, #D1BF9C); border-radius: var(--radius); padding: 44px 34px; text-align: center; box-shadow: var(--shadow); }
.offer .eyebrow { color: #6e573a; }
.offer h2 { margin: 6px 0 10px; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.offer .offer-sub { max-width: 58ch; margin: 0 auto; font-size: 1.12rem; line-height: 1.55; }
.offer .offer-cta { margin: 24px 0 0; }
.offer .offer-fine { margin: 16px 0 0; font-size: .82rem; color: #5c5248; opacity: .9; }
.offer .offer-extra { margin: 18px auto 0; padding-top: 16px; max-width: 52ch; border-top: 1px solid rgba(33,28,24,.18); font-size: 1.02rem; }

/* ---------- Team cards ---------- */
.team-card .role { color: var(--tan); font-weight: 600; font-size: .92rem; margin: 2px 0 10px; }

/* ---------- Wide (landscape) video ---------- */
.video-wide { margin: 34px 0 0; }
.video-wide video { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; display: block; }
.video-wide figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; text-align: center; }

/* ---------- Portrait video ---------- */
.video-portrait { margin: 30px auto 0; max-width: 360px; text-align: center; }
.video-portrait video { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; display: block; }
.video-portrait figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* ---------- In-content figure ---------- */
.infig { margin: 30px 0 0; }
.infig img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.infig.tall img { width: auto; max-width: 100%; max-height: 600px; object-fit: contain; margin: 0 auto; display: block; }
.infig figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; text-align: center; }

/* ---------- Blog index ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(33,28,24,.13); }
.post-card .pc-tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--tan); }
.post-card h3 { font-size: 1.32rem; line-height: 1.2; margin: 12px 0 10px; }
.post-card p { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.post-card .pc-meta { margin-top: auto; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px){ .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .post-grid { grid-template-columns: 1fr; } }

/* ---------- Blog post ---------- */
.post-hero .post-meta { margin-top: 14px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.post-hero .eyebrow { color: var(--tan); }
.post-wrap { padding-top: 8px; }
.post-body { font-size: 1.08rem; line-height: 1.78; color: #2c2722; }
.post-body p { margin: 0 0 1.15em; }
.post-body h2 { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; line-height: 1.25; margin: 1.7em 0 .6em; }
.post-body em { font-style: italic; }
.post-body .post-note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
.post-back { margin-top: 34px; }
.post-back a { font-weight: 700; color: var(--tan-deep, #8a6e49); text-decoration: none; }
.post-back a:hover { text-decoration: underline; }

/* ---------- Interior two-column hero ---------- */
.hero-int .hero-int-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; margin-top: 8px; }
.hero-int .hero-int-grid .lead { max-width: 48ch; }
.hero-int .hero-actions { margin-top: 22px; }
.hero-int .illus img { max-height: 460px; }
@media (max-width: 820px){
  .hero-int .hero-int-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-int .illus { order: -1; }
}

/* =========================================================
   MOBILE A+ — sticky CTA + phone refinements
   ========================================================= */
.mobile-cta { display: none; }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px 14px; font-weight: 700; font-size: 1.02rem; text-decoration: none; }
.mobile-cta svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  /* Header "Book Now" hidden on phones — the sticky bottom bar covers booking */
  .nav-cta .btn-primary { display: none; }
  /* Sticky call/book bar */
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(33,28,24,.16);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-cta a { color: var(--navy); }
  .mobile-cta a.primary { background: var(--tan); }
  body { padding-bottom: 64px; }

  /* Type + spacing */
  h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 6.4vw, 2.3rem); }
  .lead { font-size: 1.08rem; }
  section { padding: 50px 0; }
  .container { padding: 0 18px; }
  .section-head { margin-bottom: 30px; }

  /* Cinematic hero: fit screen, keep faces, readable */
  .hero-cine { min-height: 78vh; }
  .hero-cine .bg { background-position: center 20%; }
  .hero-cine .container { padding-top: 78px; padding-bottom: 38px; }
  .hero-cine h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero-cine .lead { font-size: 1.06rem; }

  /* Interior two-column hero: image on top, sized */
  .hero-int .hero-int-grid { gap: 22px; }
  .hero-int .illus img { max-height: 280px; width: 100%; object-fit: cover; }

  /* Comfortable, thumb-friendly CTAs */
  .hero-actions { gap: 10px; }
  .hero-actions .btn, .cta-band .btn, .hero-cine .hero-actions .btn { width: 100%; text-align: center; }
  .btn { padding: 15px 22px; }

  /* Media */
  iframe { height: 300px !important; }
  .photo-duo img { height: 240px; }

  /* Tighten doctor spec list already stacks via existing rule */
}

@media (max-width: 400px) {
  .mobile-cta a { font-size: .95rem; gap: 6px; }
  .hero-cine h1 { font-size: 2rem; }
}

/* ---------- Pull quote ---------- */
.pullquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3; color: var(--navy);
  margin: 28px 0; padding: 6px 0 6px 26px;
  border-left: 3px solid var(--tan);
  font-style: italic; font-weight: 500;
}
.prose .pullquote { max-width: none; }

/* ---------- Doctor note ---------- */
.doc-note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--tan); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow-sm); }
.doc-note p { color: var(--ink); }
.doc-note p:last-of-type { margin-bottom: 0; }
.doc-note-sig { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--teal-dark); margin-top: 14px !important; }
@media (max-width: 620px){ .doc-note { padding: 26px 22px; } }

/* ---------- Pull quote attribution ---------- */
.pullquote cite { display: block; margin-top: 14px; font-family: "Montserrat", sans-serif; font-style: normal; font-weight: 600; font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal-dark); }

/* ---------- Ghost button on dark CTA band ---------- */
.cta-band .btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Responsive video embed ---------- */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border: 0; }
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.video-embed.video-portrait { aspect-ratio: 9 / 16; max-width: 340px; margin-left: auto; margin-right: auto; }

/* Mobile hero: show the full two-doctor photo as a top band, text below (added for mobile legibility) */
@media (max-width: 760px){
  .hero-cine{ min-height: auto !important; display: block !important; padding-top: 0 !important; }
  .hero-cine .bg{ position: relative !important; inset: auto !important; width: 100% !important; height: auto !important;
    aspect-ratio: 16 / 9; background-size: cover !important; background-position: center 30% !important; }
  .hero-cine::after{ display: none !important; }
  .hero-cine .container{ position: relative !important; background: #211c18 !important; color: #fff !important;
    padding: 26px 20px 32px !important; }
  .hero-cine .container *{ color: #fff !important; }
}
