/* ==========================================================================
   The Dental Studio at Molonglo — design system (PDF Part 2, Version 3)
   Beige theme everywhere. Gold is for buttons, rules, rings and icons only;
   accent text uses dark brown for contrast.
   ========================================================================== */

:root {
  --c-base: #F5F3EE;      /* off-white, main background */
  --c-alt: #EDE7DC;       /* deeper beige: panels, bands, footer */
  --c-stone: #E3DACB;     /* photo placeholders */
  --c-brown: #9C866F;     /* lines, chip borders */
  --c-brown-dk: #8A6F4E;  /* accent text */
  --c-gold: #B8975A;      /* main buttons, rings, icons */
  --c-ink: #14110F;       /* text, dark buttons, offer card */
  --c-text: #3D3631;      /* body copy */
  --c-line: #D8CDBD;      /* hairlines */
  --c-monogram: rgba(156, 134, 111, .14);  /* tint sampled from the PDF mockups: reads on off-white and on the beige panel */

  --f-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --f-sans: "General Sans", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type: phone size at 390px -> desktop size at 1440px */
  --fs-h1: clamp(46px, calc(2.667vw + 35.6px), 74px);
  --fs-page-h1: clamp(40px, calc(1.905vw + 32.57px), 60px);
  --fs-promise: clamp(28px, calc(1.333vw + 22.8px), 42px);
  --fs-h2: clamp(34px, calc(1.714vw + 27.3px), 52px);
  --fs-num: clamp(36px, calc(0.762vw + 33px), 44px);
  --fs-lead: clamp(21px, calc(0.476vw + 19.14px), 26px);
  --fs-body: clamp(16px, calc(0.19vw + 15.26px), 18px);
  --fs-label: 13px;

  --track-display: -0.055em;
  --track-h2: -0.035em;
  --track-label: 0.04em;

  --gutter: clamp(20px, 5.56vw, 80px);
  --maxw: 1440px;
  --section-y: clamp(72px, 8.4vw, 120px);
  --header-h: 96px;
  --radius-btn: 6px;
  --radius-card: 14px;
  --radius-frame: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--c-ink); }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-brown-dk); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--c-ink); color: var(--c-base); padding: 10px 16px; border-radius: var(--radius-btn); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- Type ---------- */
.h1 {
  font-family: var(--f-serif);
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: var(--track-display);
  font-weight: 400;
}
.h1 em, .h2 em { font-style: italic; color: var(--c-brown-dk); }
.h1 em { letter-spacing: -0.02em; }
.h2 {
  font-family: var(--f-serif);
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: var(--track-h2);
  margin-bottom: 0.5em;
}
.h2 em { letter-spacing: -0.03em; }
.eyebrow {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-brown-dk);
  margin: 0 0 14px;
}
.eyebrow--line { display: flex; align-items: center; gap: 14px; }
.eyebrow--line::before { content: ""; width: 40px; height: 1px; background: var(--c-gold); flex: none; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--c-text); }
.lead--serif { font-family: var(--f-serif); font-size: clamp(19px, calc(0.38vw + 17.5px), 23px); line-height: 1.5; color: #2E2823; margin-bottom: 0; }
.prose p { line-height: 1.75; }
.prose p:last-child { margin-bottom: 0; }
.prose a, .transparency a { color: inherit; text-underline-offset: 3px; }
.reg-note { font-size: 12px; line-height: 1.5; color: var(--c-brown-dk); margin: 16px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn--gold { background: var(--c-gold); color: var(--c-ink); }
.btn--gold:hover { background: #A9884C; }
.btn--ink { background: var(--c-ink); color: var(--c-base); }
.btn--ink:hover { background: #2C2622; }
.btn--outline { background: transparent; color: var(--c-ink); border-color: #8C8279; }
.btn--outline:hover { border-color: var(--c-ink); background: rgba(20, 17, 15, .03); }
.btn--block { width: 100%; }
.btn__arrow { font-size: 15px; transform: translateY(-1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.text-link {
  display: inline-flex; gap: 6px; align-items: center;
  font-weight: 500; font-size: 13px; letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-brown-dk); text-decoration: none;
}
.text-link:hover { color: var(--c-ink); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

/* ---------- Chips ---------- */
ul.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.chip {
  display: flex; align-items: center; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--c-brown); color: var(--c-ink);
  font-weight: 500; font-size: 13px; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3;
}

/* ---------- Placeholders & frames ---------- */
.ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--c-stone); color: #4A4038; text-align: center; padding: 20px;
}
.ph__icon { width: 52px; height: 52px; color: #6B5B4B; }
.ph__label { font-style: italic; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.3; max-width: 22ch; }
.ph--video .ph__play { width: 60px; height: 60px; color: var(--c-ink); }
.ph__playicon { width: 60px; height: 60px; }
.ph__playicon path { fill: var(--c-gold); }
.frame {
  position: relative;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-frame);
  padding: 10px;
}
.frame > * { width: 100%; height: 100%; object-fit: cover; }
.frame--landscape { aspect-ratio: 4 / 3; }
.frame--video-tall { aspect-ratio: 600 / 420; }
.frame--landscape-tall { aspect-ratio: 600 / 480; }
.frame--portrait { aspect-ratio: 600 / 620; }
.frame .video__frame, .frame .video__file { width: 100%; height: 100%; border: 0; background: var(--c-stone); object-fit: cover; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--base { background: var(--c-base); }
.section--alt { background: var(--c-alt); }
.section--tight { padding-block: 0 var(--section-y); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .97);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; color: var(--c-ink); flex: none; }
.logo__img { display: block; height: 68px; width: auto; max-width: none; } /* live SVG logo, 250 x 136 */
.site-footer__brand .logo__img { height: 92px; }
.logo__mark { font-family: var(--f-serif); font-size: 34px; line-height: 1; color: var(--c-brown-dk); letter-spacing: -0.02em; padding-right: 16px; border-right: 1px solid var(--c-brown); }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__l1 { font-family: var(--f-serif); font-size: 17px; letter-spacing: 0.04em; color: #2B2520; }
.logo__l2 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-brown); margin-top: 2px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; height: var(--header-h);
  font-weight: 500; font-size: 13px; letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-ink); text-decoration: none;
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--c-brown-dk); }
.nav__toggle { display: none; }
.nav__sub {
  position: absolute; top: calc(100% - 14px); left: -20px; min-width: 260px;
  list-style: none; margin: 0; padding: 12px 0;
  background: var(--c-base); border: 1px solid var(--c-line); border-radius: var(--radius-card);
  box-shadow: 0 18px 40px rgba(20, 17, 15, .10);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item.has-sub:hover > .nav__sub,
.nav__item.has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: 9px 20px; font-size: 15px; color: var(--c-text); text-decoration: none; line-height: 1.35; }
.nav__sub a:hover, .nav__sub a[aria-current] { color: var(--c-brown-dk); background: var(--c-alt); }
.nav__mobile-actions { display: none; }
.site-header__actions { display: flex; gap: 12px; margin-left: 30px; flex: none; }
.site-header__actions .btn { min-height: 52px; }
.menu-btn { display: none; }

/* ==========================================================================
   Home first screen
   ========================================================================== */
.hero-home { position: relative; overflow: hidden; padding: 46px 0 40px; }
.hero-home__grid { display: grid; grid-template-columns: minmax(0, 800px) minmax(0, 1fr); gap: 0 40px; align-items: start; position: relative; }
.hero-home__text { position: relative; z-index: 2; }
.hero-home .eyebrow { margin-bottom: 26px; }
.hero-home__sub { font-size: var(--fs-lead); line-height: 1.32; color: #2E2823; margin: 26px 0 28px; max-width: 690px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.stats__item { padding: 22px 16px 20px 16px; border-left: 1px solid var(--c-line); display: flex; flex-direction: column; justify-content: flex-start; min-height: 112px; padding-top: 28px; }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__value { font-family: var(--f-serif); font-size: var(--fs-num); line-height: 1; color: var(--c-ink); letter-spacing: -0.04em; white-space: nowrap; }
.stats__suffix--sup { font-size: .6em; vertical-align: .6em; color: var(--c-brown-dk); margin-left: 1px; font-weight: 300; }
.stats__suffix--italic { font-style: italic; font-size: .55em; color: var(--c-brown-dk); margin-left: 2px; letter-spacing: -0.02em; }
.stats__label { margin-top: 14px; font-weight: 500; font-size: 11.5px; letter-spacing: var(--track-label); text-transform: uppercase; color: #5A4B3C; line-height: 1.35; }
.hero-home__buttons { margin-top: 28px; }

.hero-home__visual { position: relative; padding-top: 10px; }
.monogram {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--f-serif); font-weight: 400; line-height: .8; letter-spacing: -0.06em;
  color: var(--c-monogram);
  font-size: 560px; top: 30px; left: -230px;
}
.hero-home__rings { max-width: none; position: absolute; z-index: -1; width: 860px; height: 860px; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
.hero-home__rings circle { fill: none; stroke: var(--c-gold); stroke-width: .8; opacity: .55; }
.hero-home__figure { position: relative; z-index: 1; isolation: isolate; width: 100%; max-width: 420px; margin-left: auto; }
.arch {
  position: relative; aspect-ratio: 420 / 560;
  border: 1px solid var(--c-gold); border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0;
  padding: 12px 12px 12px;
}
.arch__inner { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 50% 50% 0 0 / 37% 37% 0 0; background: var(--c-stone); }
.arch__media { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.arch .ph { padding-bottom: 38%; }
.arch .ph__icon { width: 72px; height: 72px; }
.offer-card {
  position: absolute; z-index: 3; left: -40px; bottom: 24px; width: 300px;
  background: var(--c-ink); color: #D9D1C6; border-radius: 14px; padding: 22px 24px 20px;
  box-shadow: 0 24px 50px rgba(20, 17, 15, .28);
}
.offer-card__until { font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-gold); margin: 0 0 12px; }
.offer-card__title { font-family: var(--f-serif); font-size: 20px; line-height: 1.25; color: #F5F3EE; margin: 0 0 10px; }
.offer-card__text { font-size: 16px; line-height: 1.5; margin: 0; color: #CFC6BA; }
.hero-home__reg { position: relative; z-index: 1; text-align: right; font-size: 11px; color: var(--c-brown-dk); margin: 16px 0 0; }

/* Under One Roof band */
.roof-band { background: var(--c-alt); border-top: 1px solid var(--c-line); }
.roof-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 86px; padding-block: 18px; }
.roof-band__title { font-family: var(--f-serif); font-size: 24px; letter-spacing: -0.02em; color: var(--c-brown-dk); margin: 0; }
.roof-band__list { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.roof-band__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 12.5px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-ink); }
.roof-band__icon { width: 24px; height: 24px; color: var(--c-gold); flex: none; }

/* ==========================================================================
   Split (image/video + text)
   ========================================================================== */
.split__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.split__content .h2 { margin-bottom: 26px; }
.split--media-left .split__content { padding-top: 0; }

/* Studio Signature Strip */
.signature { background: var(--c-base); padding-top: var(--section-y); }
.signature__panel {
  background: var(--c-alt); border: 1px solid var(--c-line); border-radius: var(--radius-card);
  position: relative; overflow: hidden;
}
ul.signature__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: clamp(44px, 4.4vw, 60px) 0 clamp(40px, 4vw, 52px); }
.signature__item { padding: 0 clamp(28px, 3.4vw, 52px); }
.signature__item + .signature__item { border-left: 1px solid var(--c-line); }
.signature__icon {
  display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center;
  border: 1px solid var(--c-gold); border-radius: 50%; color: var(--c-gold); background: var(--c-base);
  margin-bottom: 26px;
}
.signature__icon .icon { width: 34px; height: 34px; }
.signature__title { font-family: var(--f-serif); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; color: var(--c-ink); }
.signature__item p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--c-text); }
.signature__foot { border-top: 1px solid var(--c-line); padding: 22px clamp(28px, 3.4vw, 52px); display: flex; justify-content: center; }

/* Services */
.services .lead { margin-bottom: 52px; max-width: 980px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--c-line); border-radius: var(--radius-card); background: var(--c-base);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 18px 40px rgba(20, 17, 15, .08); transform: translateY(-2px); }
.card__media { display: block; text-decoration: none; color: inherit; aspect-ratio: 408 / 220; background: var(--c-stone); }
.card__media > * { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 30px 24px 26px; }
.card__title { font-family: var(--f-serif); font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 14px; }
.card__title a { text-decoration: none; }
.card__text { font-size: 15.5px; line-height: 1.6; margin-bottom: 0; }
.card__note { font-size: 15.5px; line-height: 1.6; margin: 4px 0 0; }
.card__link { margin-top: auto; padding-top: 22px; font-size: 12px; }

/* Features (What sets us apart) */
.features__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.features .h2 { margin-bottom: 26px; }
ul.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 80px; }
.rule-grid__item { border-top: 1px solid var(--c-gold); padding-top: 22px; }
.rule-grid__title { font-family: var(--f-serif); font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 12px; }
.rule-grid__item p { font-size: 15.5px; line-height: 1.6; margin: 0; }

/* Steps */
.steps .h2 { margin-bottom: 52px; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; counter-reset: none; }
.steps__num { display: block; font-family: var(--f-serif); font-size: 60px; line-height: 1; color: var(--c-gold); letter-spacing: -0.04em; margin-bottom: 26px; }
.steps__title { font-family: var(--f-serif); font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 14px; }
.steps__item p { font-size: 15.5px; line-height: 1.65; margin: 0; }

/* Before and after */
.cases .h2 { margin-bottom: 44px; }
.cases__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.case__shot { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.case__shot > .media-img, .case__shot > .ph { width: 100%; height: 100%; object-fit: cover; }
.case__shot--before .ph { background: #D9CFC0; }
.case__shot--after .ph { background: #CFC3B2; }
.case__shot .ph__icon { display: none; }
.case__shot figcaption {
  position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #3F3730;
}
.case__shot > .media-img + figcaption { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.case__caption { font-size: 12.5px; line-height: 1.5; color: #5A5047; margin: 14px 0 0; }
.case__caption a { color: var(--c-brown-dk); text-underline-offset: 2px; }
/* Real cases: the clinic's smile photos are wide (12:7), so show Before above After at their own shape. */
.case--real .case__pair { grid-template-columns: 1fr 1fr; } /* before | after side by side, as in the PDF mockups */
.case--real .case__shot { aspect-ratio: 5 / 4; border-radius: 4px; } /* 5:4 keeps the whole smile in view */
.cases__cta { margin-top: 40px; }

/* CTA (dark accent band) */
.cta--dark { background: var(--c-ink); color: #E6DFD4; padding-block: clamp(72px, 7vw, 100px); }
.cta--dark .h2 { color: #F5F3EE; margin-bottom: 22px; }
.cta--dark .h2 em { color: var(--c-gold); }
.cta--light { background: var(--c-alt); padding-block: var(--section-y); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 80px; align-items: center; }
.cta__lead { font-family: var(--f-serif); font-size: clamp(19px, calc(0.57vw + 17px), 24px); line-height: 1.45; margin-bottom: 26px; max-width: 980px; }
.transparency { font-size: 13px; line-height: 1.55; margin: 0; max-width: 1000px; opacity: .92; }
.cta--dark .transparency a { color: #F5F3EE; }

/* FAQ accordion */
.faq .h2 { margin-bottom: 40px; }
.accordion { border-top: 1px solid var(--c-line); }
.accordion__item { border-bottom: 1px solid var(--c-line); }
.accordion__heading { margin: 0; }
.accordion__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; min-height: 72px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-serif); font-size: clamp(19px, calc(0.19vw + 18.3px), 21px); line-height: 1.35; letter-spacing: -0.01em; color: var(--c-ink);
}
.accordion__btn:hover { color: var(--c-brown-dk); }
.accordion__icon { position: relative; width: 14px; height: 14px; flex: none; color: var(--c-brown-dk); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.2px; background: currentColor; transition: transform .25s ease; }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: rotate(0deg); }
.accordion__content { padding: 0 48px 26px 0; }
.accordion__content p { font-size: 16px; line-height: 1.7; }
.accordion__content p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--c-alt); padding: 76px 0 30px; font-size: 15px; line-height: 1.65; }
.site-footer__grid { display: grid; grid-template-columns: 1.85fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid #CFC4B4; }
.site-footer__brand .logo { margin-bottom: 22px; }
.site-footer__brand p { max-width: 450px; margin: 0; }
.site-footer__title { font-family: var(--f-sans); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brown-dk); margin: 10px 0 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.logo):hover { color: var(--c-brown-dk); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__links, .site-footer__social { list-style: none; margin: 0; padding: 0; }
.site-footer__social { display: flex; gap: 16px; margin-top: 14px; }
.site-footer__legal { font-size: 12px; color: #6F6256; margin: 26px 0 0; }

.sticky-bar { display: none; }
.error-page { min-height: 50vh; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1200px) {
  .stats__label { white-space: nowrap; }
}

@media (max-width: 1360px) {
  .nav__list { gap: 20px; }
  .site-header__actions { margin-left: 22px; }
  .site-header__actions .btn { padding: 0 18px; }
}

/* Collapsed navigation below 1180px */
@media (max-width: 1179px) {
  :root { --header-h: 76px; }
  .site-header__actions { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 48px; height: 48px; border: 1px solid #8C8279; border-radius: 4px; background: transparent; cursor: pointer; color: var(--c-ink);
  }
  .menu-btn .icon { width: 26px; height: 26px; }
  .menu-btn__close { display: none; }
  .menu-open .menu-btn__open { display: none; }
  .menu-open .menu-btn__close { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; z-index: 49;
    background: var(--c-base); overflow-y: auto; padding: 8px var(--gutter) 120px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--c-line); }
  .nav__link { height: auto; min-height: 60px; flex: 1; font-size: 15px; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    background: none; border: 0; cursor: pointer; color: var(--c-brown-dk);
  }
  .nav__toggle .icon { width: 22px; height: 22px; transition: transform .2s ease; }
  .nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__sub {
    position: static; width: 100%; min-width: 0; display: none; padding: 0 0 12px 0;
    border: 0; border-radius: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none;
  }
  .nav__item.has-sub:hover > .nav__sub, .nav__item.has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; }
  .nav__item.sub-open > .nav__sub { display: block; }
  .nav__sub a { padding: 10px 0 10px 16px; font-size: 16px; }
  .nav__mobile-actions { display: grid; gap: 12px; margin-top: 28px; }
  body.menu-open { overflow: hidden; }

  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(245, 243, 238, .97); border-top: 1px solid var(--c-line);
    box-shadow: 0 -8px 24px rgba(20, 17, 15, .06);
  }
  .sticky-bar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: var(--radius-btn);
    font-weight: 500; font-size: 14px; letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: none;
  }
  .sticky-bar__btn .icon { width: 18px; height: 18px; }
  .sticky-bar__btn--call { border: 1px solid #8C8279; color: var(--c-ink); }
  .sticky-bar__btn--book { background: var(--c-gold); color: var(--c-ink); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 1100px) {
  .hero-home__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 0 32px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .offer-card { left: -24px; width: 280px; }
  .roof-band__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .roof-band__list { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
  .split__grid, .features__top { gap: 48px; }
  .card-grid, .cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  ul.rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 64px; }
  .signature__item { padding: 0 24px; }
  .signature__icon { width: 56px; height: 56px; margin-bottom: 20px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  ul.chips { grid-template-columns: 1fr; }
}

/* Phone and small tablet: recreated from the 390px mockups, not shrunk */
@media (max-width: 820px) {
  .hero-home { padding: 34px 0 40px; }
  .hero-home__grid { grid-template-columns: 1fr; }
  .hero-home .eyebrow { margin-bottom: 22px; }
  .hero-home__sub { margin: 18px 0 22px; }
  .stats__item { min-height: 0; padding: 18px 12px 16px 18px; }
  .stats__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__label { margin-top: 10px; font-size: 12px; }
  .hero-home__buttons { flex-direction: column; gap: 12px; }
  .hero-home__buttons .btn { width: 100%; }
  .hero-home__visual { padding-top: 44px; position: static; }
  .monogram { font-size: 420px; left: auto; right: -110px; top: auto; bottom: 330px; }
  .hero-home__text { position: relative; z-index: 2; }
  .hero-home__rings { display: none; }
  .hero-home__figure { max-width: 440px; margin: 0; display: grid; grid-template-columns: minmax(0, 205px) 1fr; align-items: end; }
  .arch { width: 100%; grid-column: 1 / 2; grid-row: 1; padding: 10px; aspect-ratio: 205 / 320; border-radius: 50% 50% 0 0 / 32% 32% 0 0; }
  .arch__inner { border-radius: 50% 50% 0 0 / 31% 31% 0 0; }
  .arch .ph { padding: 12px 12px 22%; }
  .arch .ph__icon { width: 52px; height: 52px; }
  .arch .ph__label { font-size: 17px; }
  .offer-card { position: relative; grid-column: 1 / 3; grid-row: 1; justify-self: end; align-self: end; left: auto; bottom: 26px; width: min(250px, 62%); padding: 16px 16px 14px; border-radius: 12px; }
  .offer-card__until { font-size: 10px; margin-bottom: 8px; }
  .offer-card__title { font-size: 16px; margin-bottom: 8px; }
  .offer-card__text { font-size: 14px; }
  .hero-home__reg { text-align: left; font-size: 12px; margin-top: 18px; }

  .roof-band__inner { padding-block: 30px; }
  .roof-band__title { font-size: 26px; }
  /* List view, full width: one item per row with hairlines */
  .roof-band__list { display: block; width: 100%; border-top: 1px solid var(--c-line); }
  .roof-band__list li { font-size: 12.5px; padding: 15px 0; border-bottom: 1px solid var(--c-line); }
  .roof-band__list li:last-child { border-bottom: 0; padding-bottom: 0; }

  .split__grid, .features__top { grid-template-columns: 1fr; gap: 36px; }
  .split--media-right .split__media { order: 2; }
  .frame--portrait { aspect-ratio: 414 / 560; }
  .frame--landscape-tall { aspect-ratio: 414 / 560; }
  .frame--video-tall { aspect-ratio: 414 / 286; }

  ul.signature__list { grid-template-columns: 1fr; padding: 8px 0; }
  .signature__item { padding: 32px 26px; }
  .signature__item + .signature__item { border-left: 0; border-top: 1px solid var(--c-line); }
  .signature__foot { justify-content: flex-start; padding: 20px 26px; }
  .card-grid, .cases__grid, .steps__list { grid-template-columns: 1fr; }
  .card-grid { gap: 32px; }
  .card__media { aspect-ratio: 414 / 236; }
  .card__body { padding: 30px 28px 26px; }
  ul.rule-grid { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .rule-grid__item { padding: 26px 0 30px; }
  .steps__list { gap: 44px; }
  .steps__num { margin-bottom: 18px; }
  .cases__grid { gap: 36px; }
  .cases__cta .btn, .btn-row .btn { width: 100%; }
  .btn-row { flex-direction: column; gap: 12px; }

  .cta__grid { grid-template-columns: 1fr; }
  .cta__action .btn { width: 100%; }
  .accordion__content { padding-right: 0; }
  .site-footer { padding-top: 60px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 360px) {
  .hero-home__figure { grid-template-columns: minmax(0, 170px) 1fr; }
  .offer-card { width: 64%; }
  .stats__value { font-size: 32px; }
  .logo__mark { font-size: 28px; padding-right: 12px; }
  .logo { gap: 12px; }
  .logo__l1 { font-size: 15px; }
}

/* ==========================================================================
   Inner pages (PDF Part 2: "The Page Top Template")
   ========================================================================== */
.page-top { position: relative; overflow: hidden; isolation: isolate; }
.page-top__panel { position: absolute; inset: 0; z-index: -2; background: var(--c-alt); clip-path: polygon(62% 0, 100% 0, 100% 100%, 54% 100%); }
.page-top__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px 80px; align-items: center; min-height: 556px; padding-block: 52px 64px; }
.page-top__text { position: relative; z-index: 2; max-width: 760px; }
.breadcrumb ol { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 6px; font-weight: 500; font-size: 13px; letter-spacing: var(--track-label); text-transform: uppercase; color: #5A4B3C; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #8C8279; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--c-brown-dk); }
.page-top__title { font-family: var(--f-serif); font-weight: 400; color: var(--c-ink); }
.page-top__heading { display: block; font-size: clamp(40px, calc(1.905vw + 32.6px), 60px); line-height: 1.06; letter-spacing: var(--track-display); }
.page-top__promise { display: block; margin-top: 10px; font-style: italic; color: var(--c-brown-dk); font-size: clamp(28px, calc(1.333vw + 22.8px), 42px); line-height: 1.15; letter-spacing: -0.035em; }
.page-top__line { font-size: var(--fs-lead); line-height: 1.36; color: #2E2823; margin: 24px 0 0; max-width: 720px; }
ul.fact-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.fact-chips li { border: 1px solid #A89A8A; border-radius: var(--radius-btn); padding: 9px 14px; background: rgba(245, 243, 238, .7); font-weight: 500; font-size: 12.5px; line-height: 1.3; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-ink); }
.page-top__buttons { margin-top: 28px; }
.page-top__visual { position: relative; }
.monogram--page { font-size: 470px; top: -40px; left: -200px; }
.page-top__figure { position: relative; z-index: 1; }
.frame--page { aspect-ratio: 460 / 438; }
.arch--page { aspect-ratio: 460 / 440; border-radius: 50% 50% 0 0 / 52% 52% 0 0; }
.arch--page .arch__inner { border-radius: 50% 50% 0 0 / 51% 51% 0 0; }
.arch--page .arch__media { object-position: center top; }
.dentist-card {
  position: absolute; z-index: 2; left: -80px; bottom: -24px; width: 290px;
  background: var(--c-ink); color: #D9D1C6; border-radius: 14px; padding: 20px 22px 18px;
  box-shadow: 0 24px 50px rgba(20, 17, 15, .26);
}
.dentist-card__label { font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gold); margin: 0 0 10px; }
.dentist-card__title { font-family: var(--f-serif); font-size: 20px; line-height: 1.25; color: #F5F3EE; margin: 0 0 8px; }
.dentist-card__text { font-size: 12.5px; line-height: 1.5; color: #CFC6BA; margin: 0; }

/* Body text helpers */
.split__lead { margin-bottom: 22px; }
.prose .prose__h2 { margin: 1.3em 0 .5em; }
.prose .h3 { font-family: var(--f-serif); font-size: clamp(23px, calc(0.4vw + 21.5px), 28px); line-height: 1.2; letter-spacing: -0.02em; margin: 1.5em 0 .5em; }
.prose .h4 { font-family: var(--f-serif); font-size: 21px; line-height: 1.25; margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.list { list-style: none; margin: 0 0 1em; padding: 0; }
.list li { position: relative; padding-left: 24px; margin: 0 0 .55em; line-height: 1.65; }
.list--bullet li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); }
.list--number { counter-reset: n; }
.list--number li { counter-increment: n; padding-left: 30px; }
.list--number li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; font-family: var(--f-serif); color: var(--c-brown-dk); }
.list:last-child { margin-bottom: 0; }
.section--flush-top { padding-top: 0; }

/* Text block */
.prose-block--single .prose-block__grid { max-width: calc(820px + 2 * var(--gutter)); }
.prose-block--center { text-align: center; }
.prose-block--center .list { text-align: left; display: inline-block; }
.prose-block__head .lead { margin-top: 0; }
.prose-block--single .prose-block__head + .prose-block__body { margin-top: 24px; }
.prose-block--aside .prose-block__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.prose-block--aside .prose-block__head .h2 { margin-bottom: 18px; }

/* Benefit / option lists */
.feature-list__intro { max-width: 820px; margin-bottom: 40px; }
.feature-list .h2 + .feature-list__grid { margin-top: 36px; }
ul.feature-list__grid { display: grid; gap: 30px 32px; }
.feature-list__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-list__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-list__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-list__item { border-top: 1px solid var(--c-gold); padding-top: 22px; }
.feature-list__title { font-family: var(--f-serif); font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; }
.feature-list__item p { font-size: 15.5px; line-height: 1.6; margin: 0; }
.feature-list .btn-row { margin-top: 40px; }

/* Team strip */
ul.team-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.person { background: var(--c-base); border: 1px solid var(--c-line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.person__media { aspect-ratio: 4 / 4.4; background: var(--c-stone); }
.person__media > * { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__body { padding: 20px 22px 24px; }
.person__name { font-family: var(--f-serif); font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 6px; }
.person__name a { text-decoration: none; }
.person__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.person__role { font-size: 15px; color: var(--c-brown-dk); margin: 0; }
.person__link { margin-top: 16px; }
.person--current { border-color: var(--c-gold); }

/* Light closing call to action (inner pages) */
.cta--light .cta__lead { margin-bottom: 0; }
.cta--light .transparency { margin-top: 22px; }

@media (max-width: 1100px) {
  .page-top__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px 48px; }
  .dentist-card { left: -40px; width: 260px; }
  .monogram--page { font-size: 400px; left: -150px; top: -80px; }
  .feature-list__grid--3, .feature-list__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose-block--aside .prose-block__grid { gap: 32px 48px; }
}
@media (max-width: 820px) {
  .page-top__panel { display: none; }
  .page-top__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 28px 56px; gap: 44px; }
  .page-top__buttons .btn { width: 100%; }
  .page-top__visual { padding-top: 24px; }
  .page-top__visual::before {
    content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -24px; bottom: -56px;
    background: var(--c-alt); clip-path: polygon(0 70px, 100% 0, 100% 100%, 0 100%);
  }
  .monogram--page { font-size: 300px; left: auto; right: -40px; top: auto; bottom: -60px; }
  .page-top__figure { max-width: 520px; margin-inline: auto; }
  .arch--page { aspect-ratio: 460 / 520; }
  .dentist-card { left: auto; right: 0; bottom: -24px; width: min(290px, 72%); }
  .prose-block--aside .prose-block__grid { grid-template-columns: 1fr; }
  .feature-list__grid--2, .feature-list__grid--3, .feature-list__grid--4, ul.team-strip__grid { grid-template-columns: 1fr; }
}

/* Fixes after the first inner-page review */
.signature--spaced { padding-bottom: var(--section-y); }
.site-footer { border-top: 1px solid var(--c-line); }

/* DS monogram sized from the photo column (container units), matching the PDF mockups:
   the S shows above the arch's right shoulder and just beside it. */
.hero-home__visual, .page-top__visual { container-type: inline-size; }
.hero-home .monogram { font-size: 156cqw; left: -49cqw; top: 30px; }
.monogram--page { font-size: 137cqw; left: -44cqw; top: -58px; }
@media (max-width: 820px) {
  .hero-home__visual { container-type: normal; }
  .hero-home .monogram { font-size: 420px; left: auto; right: -110px; top: auto; bottom: 330px; }
  .page-top__visual { container-type: normal; }
  .monogram--page { font-size: 300px; left: auto; right: -40px; top: auto; bottom: -60px; }
}

.person__media { position: relative; min-height: 0; overflow: hidden; }
.person__media > * { position: absolute; inset: 0; }

/* ---------- Training: "Always Learning" (Meet Dr Bhanu, PDF p.25) ---------- */
.training__head { max-width: 900px; }
.training__head .lead { margin: 0; }

/* Highlights strip (PDF: "gold, above the grid"): light card with a gold top rule, gold-ringed icons
   and fading gold dividers. Gold stays an accent (lines and icons), never body text. */
ul.highlights {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 44px 0 52px; background: #F8F6F1; border: 1px solid rgba(184, 151, 90, .35); border-radius: var(--radius-card);
  box-shadow: 0 20px 44px rgba(110, 84, 46, .09); overflow: hidden;
}
ul.highlights::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c-gold); }
.highlights__item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 38px 28px 34px; }
.highlights__item + .highlights__item::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(to bottom, rgba(184, 151, 90, 0), rgba(184, 151, 90, .7), rgba(184, 151, 90, 0)); }
.highlights__icon { display: inline-flex; flex: none; width: 54px; height: 54px; align-items: center; justify-content: center; border: 1px solid var(--c-gold); border-radius: 50%; background: rgba(184, 151, 90, .1); color: var(--c-gold); }
.highlights__icon .icon { width: 25px; height: 25px; }
.highlights__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5A5047; max-width: 260px; }
.highlights__title { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--c-ink); margin: 0 0 8px; }
.highlights__item--stat .highlights__title { margin: 0; font-style: italic; font-size: 23px; color: var(--c-brown-dk); }

/* Course grid: same structure on every card */
ul.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.course { display: flex; flex-direction: column; background: var(--c-base); border: 1px solid var(--c-line); border-radius: var(--radius-card); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.course:hover { box-shadow: 0 16px 36px rgba(20, 17, 15, .08); transform: translateY(-2px); }
.course__media { position: relative; aspect-ratio: 16 / 10; background: var(--c-stone); overflow: hidden; }
.course__media > .media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.course__media--empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #E8E0D3, #DDD3C3); }
.course__media--empty::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184, 151, 90, .55); border-radius: 8px; }
.course__media--empty::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(184, 151, 90, .25); border-radius: 5px; }
.course__seal { position: relative; z-index: 1; display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--c-gold); background: rgba(245, 243, 238, .55); color: var(--c-gold); }
.course__seal .icon { width: 30px; height: 30px; }
.course__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.course__name { font-family: var(--f-serif); font-size: 20px; line-height: 1.28; letter-spacing: -0.01em; margin: 0 0 8px; }
.course__provider { font-size: 14px; line-height: 1.5; color: #5A5047; margin: 0 0 14px; }
.course__when { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding-top: 14px; border-top: 1px solid var(--c-line); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-brown-dk); }
.course__when-icon { width: 15px; height: 15px; flex: none; color: var(--c-gold); }
.course__text { font-size: 15px; line-height: 1.6; margin: 0; color: var(--c-text); }

@media (max-width: 1100px) {
  ul.highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights__item:nth-child(3)::before { display: none; }
  .highlights__item:nth-child(n+3) { border-top: 1px solid rgba(184, 151, 90, .25); }
  ul.courses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 820px) {
  ul.highlights { grid-template-columns: 1fr; margin: 36px 0 40px; }
  .highlights__item { flex-direction: row; align-items: flex-start; text-align: left; padding: 24px 22px; }
  .highlights__item + .highlights__item::before { display: none; }
  .highlights__item + .highlights__item { border-top: 1px solid rgba(184, 151, 90, .25); }
  .highlights__item--stat { align-items: center; }
  .highlights__icon { width: 46px; height: 46px; }
}
@media (max-width: 600px) {
  ul.courses { grid-template-columns: 1fr; gap: 20px; }
}

.cta--light.cta--bg-base { background: var(--c-base); }
.cta--light.cta--bg-alt { background: var(--c-alt); }

/* Photos, videos and placeholders inside a gold frame follow the frame's rounded corners */
.frame > *, .frame .video__frame, .frame .video__file { border-radius: calc(var(--radius-frame) - 6px); overflow: hidden; }

/* Page top: a real before-and-after case (veneers) */
.frame--case { aspect-ratio: auto; padding: 10px 10px 14px; background: var(--c-base); }
.frame--case > .case-pair { border-radius: 0; overflow: visible; }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } /* side by side, as in the PDF mockups */
.case-pair__shot { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 8px; background: var(--c-stone); }
.case-pair__shot img { width: 100%; height: 100%; object-fit: cover; }
.case-pair__shot span { position: absolute; left: 10px; bottom: 9px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.case-pair__caption { margin: 12px 4px 0; font-size: 12px; line-height: 1.5; color: #5A5047; }
.case-pair__caption a { color: var(--c-brown-dk); text-underline-offset: 2px; }
.frame--case.frame > * { border-radius: 0; overflow: visible; }

/* Option cards (feature_list style "cards") */
ul.option-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 40px; }
.option-card {
  position: relative; display: flex; flex-direction: column; flex: 0 1 calc((100% - 48px) / 3);
  background: #FBFAF7; border: 1px solid var(--c-line); border-radius: var(--radius-card); padding: 30px 28px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.option-cards--2 .option-card { flex-basis: calc((100% - 24px) / 2); }
.option-cards--4 .option-card { flex-basis: calc((100% - 72px) / 4); }
.option-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 17, 15, .08); border-color: rgba(184, 151, 90, .6); }
.option-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid var(--c-gold); border-radius: 50%; background: rgba(184, 151, 90, .1); color: var(--c-gold); margin-bottom: 22px; }
.option-card__icon .icon { width: 25px; height: 25px; }
.option-card__title { font-family: var(--f-serif); font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 10px; }
.option-card__title a { text-decoration: none; }
.option-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.option-card__title a:focus-visible { outline: none; }
.option-card:focus-within { outline: 2px solid var(--c-brown-dk); outline-offset: 3px; }
.option-card__text { font-size: 15.5px; line-height: 1.6; margin: 0; color: var(--c-text); }
.option-card__link { margin-top: auto; padding-top: 22px; font-size: 12px; }
.option-card:hover .option-card__link { color: var(--c-ink); }
.option-card:hover .option-card__link span { transform: translateX(3px); }
@media (max-width: 1100px) {
  .option-card, .option-cards--4 .option-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .option-card, .option-cards--2 .option-card, .option-cards--4 .option-card { flex-basis: 100%; }
  .option-card { padding: 26px 22px 24px; }
}

/* Transparency line: readable size (PDF: one line above the final call to action) */
.transparency { font-size: 15px; line-height: 1.6; }
.cta--light .cta__lead { margin-bottom: 0; color: #2E2823; }
.cta--light .h2 { margin-bottom: 18px; }
@media (max-width: 820px) { .transparency { font-size: 14px; } }

/* Smile Gallery filters and registration lines */
.cases__intro { max-width: 820px; margin-bottom: 28px; }
.case-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.case-filters__btn { min-height: 44px; padding: 0 20px; border: 1px solid #A89A8A; border-radius: 999px; background: transparent; font-weight: 500; font-size: 12.5px; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--c-ink); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.case-filters__btn:hover { border-color: var(--c-ink); }
.case-filters__btn.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-base); }
.case[hidden] { display: none; }
.case__reg { margin: 8px 0 0; font-size: 12px; font-weight: 500; color: var(--c-brown-dk); }
.cases__note { margin-top: 28px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; }
.contact__intro { margin: 0 0 28px; }
/* Contact form: the client's own markup (Bootstrap-style class names from the live page), styled with the site design */
.contact_form_left { width: 100%; }
.contact_form_left .row { margin: 0; padding: 0; }
.contact_form_left .form-content { text-align: left; }
.contact_form_left .form-content .h2 { margin-bottom: 18px; }
.contact_form_left .last-visited-content .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact_form_left .email-content > label { display: block; margin: 0; }
.contact_form_left .email-form { display: block; width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid #B9AC9C; border-radius: var(--radius-btn); background: #FBFAF7; font: inherit; font-size: 16px; color: var(--c-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.contact_form_left .email-form::placeholder { color: #9A8F84; }
.contact_form_left .email-form:focus { outline: none; border-color: var(--c-brown-dk); box-shadow: 0 0 0 3px rgba(138, 111, 78, .18); }
.contact_form_left .label1 { display: block; margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: #A3402E; }
.contact_form_left .continue-btn { margin-top: 24px; text-align: left; }
.contact_form_left .click-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; min-width: 180px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius-btn); background: var(--c-ink); color: var(--c-base); font-family: var(--f-sans); font-weight: 500; font-size: 14px; letter-spacing: var(--track-label); text-transform: uppercase; cursor: pointer; transition: background-color .2s ease; }
.contact_form_left .click-action:hover { background: #2C2622; }
.contact_form_left .click-action:focus-visible { outline: 2px solid var(--c-brown-dk); outline-offset: 3px; }
.contact_form_left .click-action:disabled { opacity: .8; cursor: progress; }
/* The script shows "Processing <i class="fa fa-spinner fa-spin">"; drawn here so Font Awesome is not needed */
.contact_form_left .fa-spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.contact_form_left .fa-spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-card { background: #FBFAF7; border: 1px solid var(--c-line); border-top: 3px solid var(--c-gold); border-radius: var(--radius-card); padding: 30px 28px 28px; }
.contact-card__title { font-family: var(--f-serif); font-size: 26px; letter-spacing: -0.02em; margin-bottom: 18px; }
ul.contact-card__list { display: grid; gap: 12px; margin: 0 0 24px; }
.contact-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.contact-card__list a { text-decoration: none; }
.contact-card__list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-card__icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--c-gold); }
.contact-card__sub { font-weight: 500; font-family: var(--f-sans); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-brown-dk); margin-bottom: 12px; }
.contact-card__hours { margin: 0 0 24px; display: grid; gap: 8px; }
.contact-card__hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--c-line); font-size: 15.5px; }
.contact-card__hours dt, .contact-card__hours dd { margin: 0; }
.contact-card__hours dd { color: var(--c-brown-dk); font-weight: 500; }
.contact__map { margin-top: 24px; aspect-ratio: 4 / 3; }
.contact__map iframe { width: 100%; height: 100%; border: 0; border-radius: calc(var(--radius-frame) - 6px); }
@media (max-width: 1000px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .contact_form_left .last-visited-content .row { grid-template-columns: 1fr; } .contact_form_left .click-action { width: 100%; } }

/* Phone-menu-only items (Home, Contact Us) */
@media (min-width: 1180px) { .nav__item--mobile { display: none; } }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }

/* PDF page-top table: the "Italic line" (one italic sentence saying what patients gain) */
.page-top__line { font-style: italic; }

/* Thank-you page (after the contact form) */
.thank-you { padding-block: clamp(64px, 8vw, 112px); }
.thank-you__inner { max-width: calc(880px + 2 * var(--gutter)); text-align: center; }
.thank-you__icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border: 1px solid var(--c-gold); border-radius: 50%; background: rgba(184, 151, 90, .1); color: var(--c-gold); margin-bottom: 26px; }
.thank-you__icon .icon { width: 34px; height: 34px; }
.thank-you__title { font-family: var(--f-serif); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: var(--track-h2); margin-bottom: 36px; }
.thank-you__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.thank-you__card { display: flex; gap: 16px; align-items: flex-start; background: #FBFAF7; border: 1px solid var(--c-line); border-radius: var(--radius-card); padding: 24px; }
.thank-you__card p { margin: 0; line-height: 1.6; }
.thank-you__lead { font-family: var(--f-serif); font-size: 21px; color: var(--c-ink); }
.thank-you__card-icon { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--c-gold); color: var(--c-gold); }
.thank-you__card-icon .icon { width: 20px; height: 20px; }
.thank-you__info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; padding: 24px; border-top: 3px solid var(--c-gold); background: var(--c-alt); border-radius: var(--radius-card); text-align: left; }
.thank-you__info p { margin: 0 0 4px; }
.thank-you__q, .thank-you__studio { font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-brown-dk); margin-bottom: 8px !important; }
.thank-you__call { font-family: var(--f-serif); font-size: 22px; color: var(--c-ink); }
.thank-you__call a { text-decoration: none; }
.thank-you__buttons { justify-content: center; margin-top: 36px; }
@media (max-width: 700px) { .thank-you__cards, .thank-you__info { grid-template-columns: 1fr; } }

/* Compact page top (pages without a photo, e.g. legal pages) */
.page-top--compact .page-top__panel { display: none; }
.page-top--compact .page-top__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 40px; }
.page-top--compact { border-bottom: 1px solid var(--c-line); background: linear-gradient(180deg, var(--c-base), var(--c-alt)); }

/* Transparency page: treatment panels */
.risks__intro { max-width: 860px; margin-bottom: 26px; }
.risks__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.risks__jump a { padding: 8px 14px; border: 1px solid #B9AC9C; border-radius: 999px; font-weight: 500; font-size: 12.5px; letter-spacing: var(--track-label); text-transform: uppercase; text-decoration: none; color: var(--c-ink); transition: background .2s ease, color .2s ease; }
.risks__jump a:hover { background: var(--c-ink); color: var(--c-base); border-color: var(--c-ink); }
.risks__list .accordion__btn span:first-child { font-family: var(--f-serif); font-size: 22px; }
.risk { scroll-margin-top: 110px; }
.risk__body { max-width: 900px; padding-bottom: 10px; }
.risk__body .h4 { font-family: var(--f-sans); font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-brown-dk); margin: 1.6em 0 .6em; }
.risk__body .h4:first-child { margin-top: 0; }

/* Legal pages */
.legal__grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 780px); gap: 40px 72px; align-items: start; }
.legal__toc { position: sticky; top: 112px; max-height: calc(100vh - 136px); overflow-y: auto; overscroll-behavior: contain; background: #FBFAF7; border: 1px solid var(--c-line); border-top: 3px solid var(--c-gold); border-radius: var(--radius-card); padding: 22px 22px 18px; }
.legal__toc-title { font-weight: 500; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-brown-dk); margin: 0 0 12px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal__toc a { display: block; margin-left: -10px; padding: 4px 8px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; font-size: 14.5px; line-height: 1.4; text-decoration: none; color: var(--c-text); transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.legal__toc a:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
/* the section being read (set by main.js while scrolling) */
.legal__toc a.is-current { color: var(--c-ink); font-weight: 500; background: rgba(184, 151, 90, .14); border-left-color: var(--c-gold); }
.legal__body .prose__h2 { font-size: clamp(26px, calc(0.8vw + 22px), 34px); scroll-margin-top: 110px; }
.legal__body .prose__h2:first-child, .legal__updated + .prose__h2 { margin-top: 0; }
.legal__updated { font-size: 14px; color: var(--c-brown-dk); }
@media (max-width: 960px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; max-height: none; overflow: visible; }
}
.feature-list--cards .feature-list__buttons { justify-content: center; }

/* Live SVG logo: smaller on tablet and phone so the header keeps its height */
@media (max-width: 1179px) { .site-header .logo__img { height: 56px; } }
@media (max-width: 600px) { .site-header .logo__img { height: 50px; } .site-footer__brand .logo__img { height: 80px; } }
