/* ==========================================================================
   DreamSmile Sections â€” vanilla CSS port of the Next.js/Tailwind build
   ==========================================================================
   Conventions:
   - `.ds-` prefix everywhere
   - Block__element--modifier naming
   - Uses CSS custom properties defined in style.css
   - Breakpoints: 640 (sm), 768 (md), 1024 (lg)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* Read by screen readers, hidden on screen. Also kept in a link's text for
   Google's "descriptive link text" check, e.g. "Learn more<sr> about …</sr>". */
.ds-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* â”€â”€â”€ WP overrides (kill TT5 default spacing + admin-bar offset) â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

main.ds-main,
.wp-block-group.ds-main {
  padding: 0;
  margin: 0;
  max-width: none;
}

body.admin-bar .ds-navbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .ds-navbar { top: 46px; }
}

/* â”€â”€â”€ Utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-wrap {
  max-width: var(--ds-max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.ds-section {
  padding-block: 80px;
  position: relative;
}
@media (min-width: 768px) {
  .ds-section { padding-block: 96px; }
}

.ds-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  /* Bigger little titles so older readers can read them (client request, applies to every kicker). */
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-teal-ink);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ds-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
}

/* Real DreamSmile wordmark image — small inline contexts only (e.g. body copy).
   Section headings still use .ds-brand / .ds-intro-section__script CSS text,
   since the only source is a low-res screenshot crop, not a vector file. */
.ds-wordmark-inline {
  height: 24px;
  width: auto;
  vertical-align: -6px;
  display: inline-block;
}

.ds-italic { font-style: italic; }

/* Skip to content */
.ds-skip {
  position: absolute;
  top: -2.5rem;
  left: 1rem;
  z-index: 100;
  background: var(--ds-teal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--ds-pill-radius);
  transition: top 0.2s;
}
.ds-skip:focus { top: 1rem; }

/* â”€â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 32px;
  border-radius: var(--ds-pill-radius);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
  cursor: pointer;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
}
.ds-btn--solid {
  background: var(--ds-teal);
  color: var(--ds-charcoal);
  border-color: var(--ds-teal);
}
.ds-btn--solid:hover { background: var(--ds-teal-light); border-color: var(--ds-teal-light); color: var(--ds-charcoal); }
/* Phones: long labels ("Find out if you're a candidate for dental implants")
   ran to three lines inside a full-width pill. Less side padding and
   tracking keeps them to one or two. */
@media (max-width: 480px) {
  .ds-btn { padding-left: 22px; padding-right: 22px; letter-spacing: 0.05em; }
}

.ds-btn--outlined {
  background: transparent;
  color: var(--ds-teal-ink);
  border-color: var(--ds-teal);
}
.ds-btn--outlined:hover { background: var(--ds-teal); color: var(--ds-charcoal); }

.ds-btn--outlined-white {
  color: #fff;
  border-color: #fff;
  background: transparent;
}
.ds-btn--outlined-white:hover { background: #fff; color: var(--ds-charcoal); }

.ds-btn--sm { padding: 8px 24px; font-size: 12px; }
.ds-btn--block { display: block; width: 100%; }

/* â”€â”€â”€ Check item (used in hero, patient promise) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ds-check__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ds-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.ds-check__icon svg { width: 12px; height: 12px; color: #fff; }
.ds-check__text { font-size: 14.5px; line-height: 1.5; }

.ds-check--on-dark .ds-check__text { color: rgba(255, 255, 255, 0.9); }

/* â”€â”€â”€ Navbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
  background: #ffffff !important;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.ds-navbar.is-scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.ds-navbar__mega,
.ds-navbar__dropdown-menu {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.ds-navbar__dropdown:hover > .ds-navbar__mega,
.ds-navbar__dropdown:hover > .ds-navbar__dropdown-menu,
.ds-navbar__dropdown.is-open > .ds-navbar__mega,
.ds-navbar__dropdown.is-open > .ds-navbar__dropdown-menu {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.ds-navbar__inner {
  max-width: var(--ds-max-width);
  margin-inline: auto;
  padding-inline: 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ds-navbar__brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: inherit;
}
.ds-navbar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color .2s ease;
}
.ds-navbar__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s ease;
}
.ds-navbar.is-scrolled .ds-navbar__logo { color: var(--ds-charcoal); }
.ds-navbar.is-scrolled .ds-navbar__sub { color: var(--ds-warm-gray); }

/* Transparent-nav state: solid teal pill with white border halo â€” pops on dark hero. */
.ds-navbar__cta {
  color: var(--ds-charcoal);
  border-color: #fff;
}
.ds-navbar__cta:hover { background: #fff; color: var(--ds-charcoal); border-color: #fff; }
/* Scrolled state: flip to outlined â€” transparent bg, teal text, teal border. */
.ds-navbar.is-scrolled .ds-navbar__cta {
  background: transparent;
  color: var(--ds-teal-ink);
  border-color: var(--ds-teal);
}
.ds-navbar.is-scrolled .ds-navbar__cta:hover { background: var(--ds-teal); color: var(--ds-charcoal); border-color: var(--ds-teal); }

@media (max-width: 767px) {
  .ds-navbar__cta { display: none; }
}

.ds-navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
/* Charcoal from the start: the navbar is solid white at every scroll
   position now, and the old white-over-the-hero lines were invisible until
   the visitor scrolled 50px. */
.ds-navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ds-charcoal);
  transition: background-color .2s ease;
}
.ds-navbar.is-scrolled .ds-navbar__toggle span { background: var(--ds-charcoal); }
@media (max-width: 767px) {
  .ds-navbar__toggle { display: flex; }
}

.ds-navbar__mobile {
  display: none;
  background: #fff;
  padding: 16px 24px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.ds-navbar__mobile.is-open { display: block; }
.ds-navbar__mobile-cta { display: block; width: 100%; }

/* â”€â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-footer {
  background: #ffffff !important;
  color: #3a3a3a !important;
  border-top: 1px solid #eaeaea;
  padding-block: 64px;
  position: relative;
  overflow: hidden;
}
.ds-footer__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: rgba(127, 181, 176, 0.08);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.ds-footer__inner {
  max-width: var(--ds-max-width);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}
.ds-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .ds-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ds-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
.ds-footer__brand {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
}
.ds-footer__logo {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #3a3a3a;
  display: block;
  transition: color .3s ease;
}
.ds-footer__brand:hover .ds-footer__logo { color: var(--ds-teal); }
.ds-footer__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #666666;
  display: block;
}
.ds-footer__script {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  color: var(--ds-teal-ink);
  margin: 8px 0;
}
.ds-footer__tag {
  font-size: 13px;
  color: #666666;
  margin: 0;
}
.ds-footer__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ds-teal-ink);
  margin: 0 0 20px;
}
.ds-footer__links p {
  font-size: 14px;
  color: #4a4a4a;
  margin: 0 0 10px;
}
.ds-footer__links a {
  color: #4a4a4a;
  transition: color .2s ease;
}
.ds-footer__links a:hover { color: var(--ds-teal); }

/* Town-page list (SEO tracker R29) — two short columns so eight towns don't
   make the footer the tallest thing on the page. */
.ds-footer__areas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.ds-footer__areas li {
  font-size: 14px;
  margin: 0 0 10px;
}
.ds-footer__areas-all { margin-top: 4px; }

.ds-footer__bottom {
  border-top: 1px solid #eaeaea;
  margin-top: 48px;
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
}
.ds-footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--ds-warm-gray);
}
.ds-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  font-size: 12px;
}
.ds-footer__legal a {
  color: #555555;
  transition: color .2s ease;
}
.ds-footer__legal a:hover { color: var(--ds-teal-dark); }

/* â”€â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Homepage hero only (page heroes size themselves through .ds-hero--sub).
   `background-size: cover` crops by however much the box aspect differs from the
   photo's 2400x1603 (1.497). The box used to be a fixed height, so every window
   width produced a different crop - widen the window and the subjects got sliced
   away, zoom in and the whole photo came back. Tying the height to viewport WIDTH
   holds that crop steady while resizing or zooming.

   Two things have to be true for a width-driven height to actually take effect:

   1. The content has to be able to get shorter than it. Measured in Chrome, the
      hero's own content is 719px tall at 105/110 padding, which is taller than
      any width-derived height below ~1560px - so a plain min-height never
      engaged on a laptop. The padding below scales with width too, which drops
      the content floor to 648px at 1024px and lets the box track the window.
   2. The viewport-height ceiling has to stay out of the way. 86vh was *lower*
      than the width-derived height on ordinary 16:9 and 16:10 windows, so height
      - not width - was driving the crop. The ceiling is now 100vh - 200px
      (Nov 2026), set by the quiz peek rather than the crop: see THE QUIZ PEEK
      below. */
/* THE QUIZ PEEK (client ask 1.1, again Nov 2026): on first load the quiz card
   must show under the hero ("wait, what's this down here?"). It kept getting
   lost because nothing reserved room for it. The quiz row's old -50/-70px
   pull-up has been dead since the 1.5.2 seam reset in pages.css
   (.wp-block-group.ds-main > * { margin-block-start: 0 }), and the hero's
   height ignored the window height, so on an ordinary 1920x900-ish window
   the hero alone filled the screen.
   Now the hero leaves 200px of the first screen for the quiz row: its
   min-height is capped at 100vh - 200px, and its paddings scale with the
   window height so the content itself fits under that cap. The quiz row
   starts 40px below the hero, so ~160px of the card shows: the label,
   the title and the first question. The width-driven 46vw still decides
   the height whenever the window is tall enough, so the photo crop stays
   steady there. Checked at 1280x720 up to 1920x1080. */
@media (min-width: 1024px) {
  .ds-hero:not(.ds-hero--sub) {
    min-height: min(46vw, calc(100vh - 200px));
  }
  .ds-hero:not(.ds-hero--sub) .ds-hero__inner {
    /* The navbar (81px) overlays the hero. Nov 2026 feedback (Cris): the
       headline sat ~16px under it on a laptop and wanted more room: this
       leaves ~30-50px of clear space above the H1. */
    padding-top: clamp(112px, 12vh, 140px);
    padding-bottom: clamp(40px, 4vh, 64px);
    /* Same container as the navbar (max-width + 24px), so the copy starts on
       the logo's line. It used to hug the window edge instead (1440px box,
       3.6vw padding), which on a 1440-1920 laptop put it ~30px left of the
       logo: "too aligned to the left" (Cris, Nov 2026). The photo moves right
       with it (below), so the copy still finishes before Dr. Burns' face. */
    max-width: 1320px; /* .ds-navbar__inner, pages.css */
    padding-left: 24px;
  }
}

/* ─── Homepage hero photo + scrim ─────────────────────────────────────────────
   Goal: the copy never lands on Dr. Burns. He occupies 37-50% of the frame and
   the patient 53-72%, so the copy has to finish before the 37% mark.

   Two things had him covered. The scrim held 0.72 alpha out to the 46% mark, so
   it greyed his face at exactly the point the text was also sitting on it; this
   one does its darkening in the first ~28% and then drops away fast, so both
   faces read at full brightness. And the 1200px centred container spent ~130px
   of left margin on nothing while pushing the copy right onto him - the rule in
   the 1024px block above hands that space back.

   Photo, scrim and crop all live here rather than inline on the element so the
   three stay tunable together - the crop below is derived from where the
   subjects sit in this specific frame, so swapping the photo means re-deriving
   it. patterns/hero.php renders an empty .ds-hero__bg. */
.ds-hero:not(.ds-hero--sub) .ds-hero__bg {
  background-image:
    linear-gradient(93deg,
      rgba(58, 58, 58, 1) 0%,
      rgba(58, 58, 58, 1) 3.6%,
      rgba(58, 58, 58, 0.92) 27%,
      rgba(58, 58, 58, 0.58) 38%,
      rgba(58, 58, 58, 0.18) 52%,
      rgba(58, 58, 58, 0.07) 72%,
      rgba(58, 58, 58, 0.13) 100%),
    url('../arrange/hero-shot.webp');
  background-size: auto, cover;
  background-position: center, center 25%;
  background-repeat: no-repeat;
}

/* Sliding the copy left is enough on its own between roughly 1150 and 1800px.
   It is NOT enough at either end, for opposite reasons:

     - Below ~1150 there simply isn't the room. At 1024 the copy ends at 437px
       and his face starts at 379px, and no realistic column width closes that.
       (Narrower still: under 1024 the box gets taller than 1:1.497, so `cover`
       starts fitting the photo by HEIGHT and cropping the sides instead - which
       re-centres him under the bullets, with only ~28px of background-position
       slack to fight it.)
     - Above ~1800 the container is capped at 1440 and centres, so every extra
       100px of window pushes the copy 50px right but only moves his face 37px
       right. The copy gains on him and catches up around 1950.

   So the photo is scaled up just enough to outrun the copy at both ends, and
   left-anchored so the extra width pushes the subjects right rather than
   cropping them off. `100%` wins across the middle, which means the framing
   there is byte-for-byte the plain `cover` crop. max() is continuous at both
   crossovers, so dragging the window resizes without the crop jumping.

   Derivation, if these need re-tuning: the copy ends at
   `padding-left + column`, his face starts at `0.37 x displayed-width`, and we
   want 24px between them.  Phones keep plain `cover` - the copy spans the full
   width there anyway, so the flat scrim does the contrast work instead. */
@media (min-width: 768px) {
  .ds-hero:not(.ds-hero--sub) .ds-hero__bg {
    background-size: auto, max(100%, 1180px + 10vw, 141vw - 740px) auto;
    /* Nudged right (Cris, Nov 2026: "move this patient a little bit over
       here") so Dr. Burns and the patient keep clear of the copy now that it
       starts on the logo's line. The strip this opens on the left (at most
       3.1% of the width, at 768px) sits under the scrim's solid first 3.6%,
       on the charcoal set here, so there is no seam. */
    background-position: center, clamp(24px, 2.6vw, 64px) 25%;
    background-color: var(--ds-charcoal);
  }
  .ds-hero:not(.ds-hero--sub) .ds-hero__content { max-width: 400px; }
}
.ds-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ds-charcoal) 0%, rgba(58,58,58,0.95) 50%, rgba(58,58,58,0.8) 100%);
}
.ds-hero__bg-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.04);
}
.ds-hero__inner {
  position: relative;
  z-index: 10;
  max-width: var(--ds-max-width);
  margin-inline: auto;
  padding: 100px 24px 100px;
  width: 100%;
}
@media (min-width: 768px) {
  .ds-hero__inner { padding-top: 105px; padding-bottom: 110px; }
}
.ds-hero__content {
  max-width: 440px;
  margin-right: auto;
}
@media (min-width: 1024px) {
  .ds-hero__content {
    max-width: 420px;
  }
}
.ds-hero__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  color: #fff;
  line-height: 1.18;
  margin: 0 0 28px;
  font-weight: 500;
}
.ds-hero__title em { font-style: italic; }
.ds-hero__title-accent {
  color: #7FB5B0;
  font-weight: 600;
}
.ds-hero__bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.ds-hero__watermark {
  display: none !important;
}
/* Short desktop windows (laptops at 768-820px tall): a tighter rhythm keeps
   the hero's content under its 100vh - 200px cap, so the quiz card still
   peeks (see THE QUIZ PEEK above). */
@media (min-width: 1024px) and (max-height: 820px) {
  .ds-hero:not(.ds-hero--sub) .ds-hero__title { margin-bottom: 20px; }
  .ds-hero:not(.ds-hero--sub) .ds-hero__bullets { gap: 10px; margin-bottom: 28px; }
}

/* â”€â”€â”€ Sub-hero variant (inner pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Reuses .ds-hero structure; adds label, subtitle, CTA row, slightly less tall */

.ds-hero--sub { min-height: 64vh; }
@media (min-width: 1024px) { .ds-hero--sub { min-height: 68vh; } }

.ds-hero__label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-teal-light);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(127, 181, 176, 0.16);
  border: 1px solid rgba(127, 181, 176, 0.35);
  border-radius: 99px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.ds-hero--sub .ds-hero__title {
  margin: 0 0 20px;
  font-weight: 500;
}
.ds-hero--sub .ds-hero__title em {
  font-style: italic;
  color: var(--ds-teal-light);
}

.ds-hero__sub {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 32px;
  max-width: 540px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* inline-flex + flex-grow: while both buttons fit they keep their natural
   width; once they wrap (tablets, phones, the narrow split-hero column)
   each grows to the full column, so they stack as two equal pills instead
   of two ragged ones. 26px sides keep the longest pair ("Schedule Free
   Assessment" + "Call") on one row in the 560px desktop column. */
.ds-hero__ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.ds-hero__ctas .ds-btn {
  flex: 1 0 auto;
  padding-left: 26px;
  padding-right: 26px;
}

/* â”€â”€â”€ Quiz & Guide â€” bottom-aligned triptych, center invades hero â”€â”€â”€â”€â”€â”€â”€ */

.ds-quiz-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(127, 181, 176, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(127, 181, 176, 0.04) 0%, transparent 50%),
    #F1F3F2;
  padding-block: 32px;
  position: relative;
  overflow: visible;
  z-index: 5;
}
@media (min-width: 768px) {
  .ds-quiz-section {
    padding-block: 48px 64px;
    /* No negative margin: the old -50/-70px pull-up never applied after the
       1.5.2 seam reset, and with this section's solid grey it would paint over
       the bottom of the hero photo. The peek is the hero's job now (see THE
       QUIZ PEEK). */
  }
  /* Top-aligned â€” quiz card extends down further than iPad + guide */
  .ds-quiz-grid { align-items: start; }
  .ds-quiz-card-wrap { position: relative; z-index: 20; }
  /* iPad in front of the guide ribbon (which sits behind it) */
  .ds-quiz-ipad  { position: relative; z-index: 30; }
  /* Centred on the row like the guide card beside it, rather than pinned to
     the top of the taller quiz card (Cris, Nov 2026: "moved a little bit
     down... center it a little bit more"). Still in front of the guide card. */
  .ds-quiz-ipad  { align-self: center; }
  .ds-guide-card { position: relative; z-index: 10; }
  .ds-quiz-card { min-height: 420px; }
  .ds-guide-card { min-height: 240px; align-self: center; }
}
@media (min-width: 1024px) {
  .ds-quiz-section {
    padding-block: 40px 80px;
  }
  .ds-quiz-card { min-height: 480px; }
  .ds-guide-card { min-height: 280px; }
}

/* Hero needs to allow children to escape its bottom bound */
.ds-hero { overflow: visible !important; }
main.ds-main, .wp-block-group.ds-main { overflow: visible !important; }

.ds-quiz-section__bg { display: none; }
.ds-quiz-section .ds-wrap { position: relative; z-index: 1; }

.ds-quiz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 768px) {
  .ds-quiz-grid {
    grid-template-columns: 1.4fr 1fr 0.9fr;
    column-gap: 0;
    row-gap: 24px;
  }
  .ds-quiz-card-wrap { order: 1; margin-right: 36px; }
  .ds-quiz-ipad      { order: 2; margin-right: 0; }
  .ds-guide-card     { order: 3; }
}
@media (min-width: 1024px) {
  .ds-quiz-grid {
    grid-template-columns: 1.5fr 1.05fr 0.95fr;
  }
  .ds-quiz-card-wrap { margin-right: 48px; }
  .ds-quiz-ipad      { margin-right: 0; }
}

/* â”€â”€â”€ LEFT: Quiz card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-quiz-card-wrap { display: flex; }
.ds-quiz-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFEFE 100%);
  border-radius: 16px;
  padding: 28px 28px 0;
  width: 100%;
  box-shadow:
    0 28px 56px -20px rgba(58, 58, 58, 0.28),
    0 6px 14px -6px rgba(58, 58, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ds-quiz-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 36px 64px -22px rgba(58, 58, 58, 0.34),
    0 8px 18px -6px rgba(58, 58, 58, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
/* Decorative teal corner accent â€” subtle teal glow at top-right */
.ds-quiz-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(127, 181, 176, 0.16), transparent 70%);
  pointer-events: none;
}
.ds-quiz-card__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ds-warm-gray);
}
.ds-quiz-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ds-teal-dark);
  margin: 4px 0 8px;
  line-height: 1.2;
}
.ds-quiz-card__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  color: var(--ds-warm-gray);
  margin: 0 0 18px;
}
.ds-quiz-card__question {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0 0 12px;
}
.ds-quiz-card__options {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-quiz-card__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.ds-quiz-card__option:hover .ds-quiz-card__option-label { color: var(--ds-teal-dark); }
.ds-quiz-card__option--checked { background: rgba(127, 181, 176, 0.10); }
.ds-quiz-card__option--checked .ds-quiz-card__option-label {
  color: var(--ds-teal-dark);
  font-weight: 600;
}
.ds-quiz-radio {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #C9D1D0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
  position: relative;
  transition: border-color .15s ease;
}
.ds-quiz-card__option:hover .ds-quiz-radio { border-color: var(--ds-teal); }
.ds-quiz-radio:checked { border-color: var(--ds-teal); }
.ds-quiz-radio:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ds-teal);
}
.ds-quiz-card__option-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: var(--ds-dark-slate);
  transition: color .15s ease;
}
/* Bottom rule + Next button â”€ teal underscore bar pinned to card bottom-left,
   Next button overlaps it on the right (matches Figma). */
.ds-quiz-card__next-wrap {
  margin-top: auto;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 0 14px;
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.ds-quiz-card__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: var(--ds-teal);
}
.ds-quiz-card__next-wrap .ds-btn {
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 22px -10px rgba(90, 154, 147, 0.6);
  transform: translateY(2px);
}

/* â”€â”€â”€ CENTER: iPad / book preview (no card chrome) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-quiz-ipad {
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.ds-quiz-ipad::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -6px;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(58, 58, 58, 0.28), transparent 70%);
  filter: blur(4px);
  z-index: 0;
  pointer-events: none;
}
.ds-quiz-ipad img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 360px;
  display: block;
  margin-inline: auto;
  /* Placeholder asset (quiz-card.webp) ships with an opaque white background rather
     than a transparent cutout, so round its corners to match the card language and
     avoid a sharp-cornered white box on the section's gray field. Harmless once the
     real transparent guide cover is dropped in. */
  border-radius: 16px;
  filter: drop-shadow(0 24px 32px rgba(58, 58, 58, 0.22)) drop-shadow(0 6px 14px rgba(58, 58, 58, 0.10));
  transition: transform .3s ease, filter .3s ease;
}
.ds-quiz-ipad:hover img {
  transform: translateY(-3px) scale(1.015);
  filter: drop-shadow(0 30px 42px rgba(58, 58, 58, 0.26)) drop-shadow(0 8px 18px rgba(58, 58, 58, 0.12));
}
@media (min-width: 1024px) {
  .ds-quiz-ipad img { max-height: 440px; }
}

/* â”€â”€â”€ RIGHT: Guide CTA card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Mirrors the quiz card's chrome (white bg + soft shadow + teal accent rule)
   so the two cards read as siblings â€” the rule sits at the TOP of the guide
   card, echoing the rule at the BOTTOM of the quiz card. */
.ds-guide-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding: 28px 28px 28px 0;
  background: #DCE0DF;
  border-radius: 12px;
  position: relative;
  /* Extend the gray ribbon leftward behind the iPad */
  margin-left: -80px;
  padding-left: 100px;
  z-index: 1;
  /* The ribbon is darker than the page, so its text takes darker inks to stay
     at 4.5:1. Anything inside that uses --ds-teal-ink picks this up. */
  --ds-teal-ink: #2F6661;
}
@media (min-width: 1024px) {
  .ds-guide-card {
    margin-left: -120px;
    padding-left: 140px;
  }
}
.ds-guide-card::before { display: none; }
.ds-guide-card::before { content: none; }
.ds-guide-card > * { position: relative; z-index: 1; }
.ds-guide-card__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ds-teal-ink);
  line-height: 1.35;
  max-width: 22ch;
  margin-top: 8px;
}
.ds-guide-card__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-dark-slate);
  margin: 0;
  line-height: 1.5;
  max-width: 24ch;
}
.ds-guide-card__cta {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .ds-quiz-card { padding: 20px 18px 0; }
  .ds-quiz-card__next-wrap {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .ds-guide-card { padding: 22px 18px; }
  .ds-quiz-ipad img { max-height: 360px; }
}

/* â”€â”€â”€ Introducing DreamSmile â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-intro-section { background: #fff; padding-block: 80px; }
@media (min-width: 768px) { .ds-intro-section { padding-block: 96px; } }
.ds-intro-section__head { text-align: center; margin-bottom: 56px; }
.ds-intro-section__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-intro-section__script {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--ds-teal-dark);
}
.ds-intro-section__by {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--ds-warm-gray);
  margin: 8px 0 0;
}
.ds-intro-section__valueprop {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ds-teal-ink);
  margin: 6px 0 0;
}
.ds-intro-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.ds-intro-grid .ds-intro-card-wrap {
  flex: 0 0 240px;
}
@media (min-width: 900px) {
  .ds-intro-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    overflow-x: visible;
  }
  .ds-intro-grid .ds-intro-card-wrap {
    flex: 1 1 auto;
  }
}

/* â”€â”€â”€ DreamSmile Is â€” compact editorial zigzag (cap image width, tight gaps) â”€â”€ */

.ds-is-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAF9 100%);
  padding-block: 48px;
}
@media (min-width: 768px) { .ds-is-section { padding-block: 64px; } }

.ds-is-section__head {
  text-align: center;
  margin-bottom: 32px;
  max-width: 700px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .ds-is-section__head { margin-bottom: 40px; }
}
.ds-is-section__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  color: var(--ds-teal);
  margin: 0 0 10px;
  font-weight: 700;
}
.ds-is-section__lede {
  color: var(--ds-warm-gray);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 6px;
}
.ds-is-section__lede--tagline {
  font-size: 14px;
  margin-top: 8px;
  color: var(--ds-dark-slate);
}
.ds-is-section__lede--tagline strong { color: var(--ds-charcoal); font-weight: 700; }
.ds-is-section__strike {
  color: var(--ds-teal);
  font-style: italic;
}
.ds-is-section__hello { font-weight: 700; color: var(--ds-teal); font-style: italic; }

.ds-is-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .ds-is-rows { gap: 32px; }
}

.ds-is-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}
@media (min-width: 768px) {
  .ds-is-row {
    grid-template-columns: minmax(0, 340px) 1fr;
    gap: 36px;
  }
  .ds-is-row--right { grid-template-columns: 1fr minmax(0, 340px); }
  .ds-is-row--right .ds-is-row__media { order: 2; }
  .ds-is-row--right .ds-is-row__text  { order: 1; text-align: right; }
  .ds-is-row--right .ds-is-row__bar { align-self: flex-end; }
}

.ds-is-row__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9efee;
  box-shadow:
    0 16px 32px -16px rgba(58, 58, 58, 0.25),
    0 4px 10px -4px rgba(58, 58, 58, 0.08);
  max-width: 340px;
  width: 100%;
}
.ds-is-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-is-row__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ds-is-row__bar {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--ds-teal);
  border-radius: 999px;
}
.ds-is-row__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--ds-charcoal);
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

/* "Can You See Yourself..." transition heading sits inside the same section */
.ds-is-section__foot {
  text-align: center;
  margin-top: 36px;
}
@media (min-width: 768px) {
  .ds-is-section__foot { margin-top: 48px; }
}
.ds-see-yourself__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  color: var(--ds-teal-dark);
  margin: 0;
}

/* Legacy standalone section â€” kept harmless in case pattern is referenced elsewhere */
.ds-see-yourself {
  text-align: center;
  margin-top: 0;
  padding-block: 0;
}
.ds-see-yourself h2 {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  color: var(--ds-teal-dark);
  font-style: italic;
  margin: 0;
}

/* â”€â”€â”€ Expertise (dark charcoal â€” mid-page grey break per PDF theme 4) â”€â”€â”€â”€ */

.ds-expertise {
  background: var(--ds-charcoal);
  color: #fff;
  padding-block: 72px;
  position: relative;
}
@media (min-width: 768px) { .ds-expertise { padding-block: 88px; } }
.ds-expertise__head { text-align: center; margin-bottom: 32px; }
.ds-expertise__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: #fff;
  margin: 0;
  line-height: 1.18;
}
.ds-pill {
  display: inline-block;
  background: rgba(127, 181, 176, 0.18);
  color: var(--ds-teal-light);
  border: 1px solid rgba(127, 181, 176, 0.35);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 7px 18px;
  border-radius: var(--ds-pill-radius);
  margin-top: 14px;
}
.ds-expertise__video {
  max-width: 520px;
  margin: 0 auto 40px;
}
.ds-expertise__caption {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  margin: 16px auto 0;
  max-width: 620px;
  line-height: 1.55;
}
/* Video frame â€” vertical TikTok clip letterboxed inside a 9/16 dark stage. */
.ds-expertise__video-frame {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -16px rgba(0, 0, 0, 0.6);
}
.ds-expertise__video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0F172A;
  display: block;
}

.ds-expertise__play {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ds-expertise__play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(127, 181, 176, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(90, 154, 147, 0.6);
}
.ds-expertise__play-btn svg {
  width: 24px;
  height: 24px;
  color: #fff;
  margin-left: 4px;
}
.ds-expertise__doctor { text-align: center; margin-bottom: 24px; }
.ds-expertise__doctor h3 {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 22px;
  color: #fff;
  margin: 0;
}
.ds-expertise__doctor p {
  color: rgba(255, 255, 255, 0.65);
  margin: 4px 0 0;
  font-size: 14px;
}
.ds-expertise__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  font-size: 14px;
}
.ds-expertise__rating .ds-rating-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
.ds-expertise__rating .ds-rating-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.ds-stars { display: inline-flex; gap: 2px; }
.ds-stars svg {
  width: 18px;
  height: 18px;
  color: var(--ds-gold);
  fill: currentColor;
}
.ds-read-reviews {
  font-size: 13px;
  color: var(--ds-teal-light);
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
}
.ds-read-reviews:hover { text-decoration: underline; }

/* Stats row â€” inset card inside the dark Expertise section */
.ds-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #fff;
  padding: 36px 24px;
  position: relative;
}
@media (min-width: 768px) { .ds-stats { padding: 40px 32px; } }
.ds-stat {
  text-align: center;
  padding-inline: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ds-stat + .ds-stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.ds-stat__number {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.ds-stat__label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
  margin-top: 4px;
}
.ds-stat__subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.ds-stat__icon { display: none; }
.ds-stat__icon {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 12px;
}
.ds-stat__icon svg { width: 24px; height: 24px; color: var(--ds-teal); }

/* â”€â”€â”€ Primary Services (light teal wash per mockup) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-services {
  background: linear-gradient(180deg, #F2F8F7 0%, #EAF3F1 100%);
  padding-block: 72px;
}
@media (min-width: 768px) { .ds-services { padding-block: 88px; } }
.ds-services__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: var(--ds-teal-dark);
  text-align: center;
  margin: 0 0 40px;
}
.ds-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .ds-services__grid { grid-template-columns: repeat(3, 1fr); }
}
.ds-service-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 24px;
  box-shadow: 0 8px 20px -12px rgba(58, 58, 58, 0.14);
  display: flex;
  flex-direction: column;
}
.ds-service-card__media { margin-bottom: 20px; }
.ds-service-card__media img { border-radius: 10px; }
.ds-service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ds-charcoal);
  margin: 0 8px 10px;
}
.ds-service-card__desc {
  color: var(--ds-warm-gray);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 8px 20px;
}
.ds-service-card .ds-btn {
  margin-inline: 8px;
  margin-top: auto;
  /* stretch = every card's CTA is the same size regardless of label/desc length */
  align-self: stretch;
}
/* On a tablet the cards are ~224px wide, so two labels wrap and "Learn More"
   doesn't. Give all three the two-line height so the row lines up. */
@media (min-width: 768px) and (max-width: 1023px) {
  .ds-service-card .ds-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(2.4em + 28px);
  }
}
/* Same-Day Teeth flag line on the Implants service card (client priority). */
.ds-service-card__flag {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 8px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ds-teal-ink);
}
.ds-service-card__flag svg { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; color: var(--ds-teal); }

/* â”€â”€â”€ Comparison (mockup-true: DreamSmile dominates) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-comparison { background: var(--ds-light-gray); padding-block: 80px; }
@media (min-width: 768px) { .ds-comparison { padding-block: 96px; } }
.ds-comparison__head { text-align: center; margin-bottom: 56px; }
.ds-comparison__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 12px 0 12px;
  line-height: 1.18;
}
/* Mockup uses bold serif "The DreamSmile" â€” same family, full weight, no script */
.ds-comparison__title .ds-comparison__title-emph {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-weight: 700;
  color: var(--ds-charcoal);
}
.ds-comparison__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ds-warm-gray);
  margin: 8px 0 14px;
}
.ds-comparison__divider span {
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(58, 58, 58, 0.25);
}
.ds-comparison__subtitle {
  color: var(--ds-charcoal);
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

.ds-comparison__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .ds-comparison__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.ds-vs {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ds-charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}
.ds-vs--desktop {
  display: none;
}
@media (min-width: 1024px) {
  .ds-vs--desktop {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .ds-vs--mobile { display: none; }
}

.ds-compare-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 32px;
  position: relative;
  height: 100%;
}

/* Primary (DreamSmile) â€” heavy teal outline, slight teal wash, lifted */
.ds-compare-card--primary {
  border: 2px solid var(--ds-teal);
  box-shadow:
    0 28px 60px -22px rgba(90, 154, 147, 0.45),
    0 8px 18px -8px rgba(58, 58, 58, 0.10);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4FAF9 100%);
}
.ds-compare-card--muted {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  box-shadow: none;
  padding-top: 36px;
}
@media (min-width: 1024px) {
  /* Traditional card stays full-size so its rows align line-for-line with the
     DreamSmile card (client: "align this with each other — each line is VS").
     Dominance is carried by the primary card's border, shadow, wash, and badge
     instead of a scale-down, which previously shifted the rows out of line. */
  .ds-compare-card--muted {
    align-self: stretch;
  }
}

.ds-compare-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ds-teal);
  color: var(--ds-charcoal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 16px;
  border-radius: var(--ds-pill-radius);
  box-shadow: 0 8px 16px -4px rgba(90, 154, 147, 0.5);
  white-space: nowrap;
}

.ds-compare-card__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--ds-teal-dark);
  margin: 6px 0 4px;
  line-height: 1.15;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ds-compare-card__title--muted {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  color: var(--ds-warm-gray);
  text-align: center;
}
.ds-compare-card__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ds-warm-gray);
  font-weight: 600;
  margin: 0 0 24px;
  text-align: center;
}
.ds-compare-card--primary .ds-compare-card__kicker { color: var(--ds-charcoal); }

.ds-compare-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Fixed row height so the Nth feature lines up across both cards. */
.ds-compare-item { display: flex; align-items: flex-start; gap: 14px; min-height: 68px; }
.ds-compare-item__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.ds-compare-item__icon--check { background: var(--ds-teal); }
.ds-compare-item__icon--x { background: var(--ds-red); }
.ds-compare-item__icon svg { width: 14px; height: 14px; color: #fff; }
.ds-compare-item__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--ds-charcoal);
  font-size: 14.5px;
  margin: 0;
}
.ds-compare-card--muted .ds-compare-item__title { color: var(--ds-dark-slate); }
.ds-compare-item__desc {
  color: var(--ds-warm-gray);
  font-size: 13px;
  margin: 4px 0 0;
  line-height: 1.5;
}
.ds-comparison__cta { text-align: center; margin-top: 56px; }
/* A dark pill to stand apart from the teal cards. .ds-btn--solid's text is
   charcoal, so it needs white text here or the label disappears (SEO team,
   Nov 2026). */
.ds-comparison__cta .ds-btn {
  background: var(--ds-charcoal);
  border-color: var(--ds-charcoal);
  color: #fff;
}
.ds-comparison__cta .ds-btn:hover,
.ds-comparison__cta .ds-btn:focus-visible { background: #2d2d2d; border-color: #2d2d2d; color: #fff; }

/* â”€â”€â”€ Burns Protocol â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-protocol {
  background: var(--ds-charcoal);
  color: #fff;
  /* Shorter top padding — client: "big margin between the top and YOUR JOURNEY". */
  padding: 52px 0 80px;
}
@media (min-width: 768px) { .ds-protocol { padding: 60px 0 96px; } }
.ds-protocol__head { text-align: center; margin-bottom: 24px; }
/* Larger label so older readers can read it (client request). */
.ds-protocol__head .ds-label {
  color: var(--ds-teal-light);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.ds-protocol__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: #fff;
  margin: 12px 0 16px;
}
.ds-protocol__lede {
  color: rgba(255, 255, 255, 0.6);
  max-width: 640px;
  margin: 0 auto 16px;
}
.ds-protocol__pill {
  display: inline-block;
  background: rgba(127, 181, 176, 0.2);
  color: var(--ds-teal-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: var(--ds-pill-radius);
  border: 1px solid rgba(127, 181, 176, 0.3);
}
.ds-protocol__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 56px;
}
@media (min-width: 1024px) {
  .ds-protocol__grid { grid-template-columns: 1fr 1fr; }
}
.ds-protocol__photo {
  display: none;
}
@media (min-width: 1024px) {
  .ds-protocol__photo { display: block; position: sticky; top: 96px; }
}

.ds-steps {
  display: flex;
  flex-direction: column;
}
.ds-step {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
}
/* The section's own padding closes the list; 32px more after step 6 left
   ~110px of empty charcoal before the Warranty. */
.ds-step:last-child { padding-bottom: 0; }
.ds-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--ds-teal), transparent);
  opacity: 0.25;
}
.ds-step__num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ds-teal);
  background: var(--ds-charcoal);
  color: var(--ds-teal);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.ds-step__body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 6px 0 6px;
}
/* Larger, higher-contrast body — client: "the text is too small". */
.ds-step__body p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 8px;
}
.ds-step__link {
  display: inline-block;
  color: var(--ds-teal);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color .2s ease;
}
.ds-step__link:hover { color: var(--ds-teal-light); }

/* â”€â”€â”€ Warranty â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-warranty {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
}
@media (min-width: 768px) { .ds-warranty { padding-block: 96px; } }
.ds-warranty__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F1F5F9, #E2E8F0, #F1F5F9);
}
.ds-warranty__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
}
.ds-warranty__inner { position: relative; z-index: 1; }
.ds-warranty__head { text-align: center; margin-bottom: 56px; }
.ds-warranty__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: var(--ds-charcoal);
  margin: 0;
}
.ds-warranty__sub {
  color: var(--ds-warm-gray);
  margin-top: 12px;
}
.ds-warranty__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .ds-warranty__grid { grid-template-columns: repeat(3, 1fr); }
}
.ds-tier {
  background: #fff;
  color: var(--ds-charcoal);
  border-radius: var(--ds-card-radius);
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  position: relative;
}
.ds-tier--recommended {
  background: var(--ds-teal-dark);
  color: #fff;
  padding-block: 48px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  z-index: 1;
}
@media (min-width: 768px) {
  .ds-tier--recommended { margin-block: -16px; }
}
.ds-tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ds-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 16px;
  border-radius: var(--ds-pill-radius);
}
.ds-tier__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--ds-warm-gray);
  margin: 0 0 4px;
}
.ds-tier--recommended .ds-tier__label { color: rgba(255, 255, 255, 0.5); }
.ds-tier__name {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ds-charcoal);
  margin: 0 0 24px;
}
.ds-tier--recommended .ds-tier__name { color: #fff; }
.ds-tier__rows > * + * { margin-top: 16px; padding-top: 16px; border-top: 1px solid #F1F5F9; }
.ds-tier--recommended .ds-tier__rows > * + * { border-color: rgba(255, 255, 255, 0.2); }
.ds-tier__row-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--ds-warm-gray);
  margin: 0;
}
.ds-tier--recommended .ds-tier__row-label { color: rgba(255, 255, 255, 0.6); }
.ds-tier__row-value {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 0;
}
.ds-warranty__cta { text-align: center; margin-top: 56px; }

/* â”€â”€â”€ Patient Promise â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-promise {
  position: relative;
  overflow: hidden;
  padding-block: 80px;
  color: #fff;
}
@media (min-width: 768px) { .ds-promise { padding-block: 96px; } }
.ds-promise__bg { position: absolute; inset: 0; background: var(--ds-charcoal); }
.ds-promise__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ds-charcoal) 0%, rgba(58,58,58,0.95) 50%, rgba(58,58,58,0.7) 100%);
}
.ds-promise__photo {
  display: none;
}
@media (min-width: 1024px) {
  .ds-promise__photo {
    display: block;
    position: absolute;
    inset: 0 0 0 50%;
    background: rgba(71, 85, 105, 0.3);
  }
  .ds-promise__photo::after {
    content: "Patient Photo";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.1);
  }
}
.ds-promise__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ds-max-width);
  margin-inline: auto;
  padding-inline: 24px;
}
.ds-promise__content { max-width: 560px; }
.ds-promise__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: #fff;
  margin: 0 0 36px;
}
.ds-promise__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* â”€â”€â”€ Frustrations (dark charcoal, per mockup) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-frustrations {
  background: var(--ds-charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 80px;
  position: relative;
}
@media (min-width: 768px) { .ds-frustrations { padding-block: 96px; } }
.ds-frustrations__head { text-align: center; margin-bottom: 48px; }
.ds-frustrations__head .ds-label { color: var(--ds-teal-light); }
.ds-frustrations__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  color: #fff;
  margin: 12px 0 12px;
  line-height: 1.2;
}
.ds-frustrations__sub {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.6);
}
.ds-frustrations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .ds-frustrations__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ds-frustrations__grid { grid-template-columns: repeat(3, 1fr); }
}
/* Pain -> solution bridge callout between the frustration grid and the CTA. */
.ds-frustrations__bridge {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 22px 28px;
  border-radius: var(--ds-card-radius);
  background: rgba(127, 181, 176, 0.10);
  border: 1px solid rgba(127, 181, 176, 0.30);
  text-align: center;
}
.ds-frustrations__bridge p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  line-height: 1.6;
}
.ds-frustrations__bridge strong { color: var(--ds-teal-light); font-weight: 700; }

.ds-frustration-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--ds-card-radius);
  padding: 24px;
  transition: background-color .2s ease, border-color .2s ease;
}
.ds-frustration-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(127, 181, 176, 0.35);
}
.ds-frustration-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  font-size: 15px;
}
.ds-frustration-card__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}
.ds-frustrations__cta { text-align: center; margin-top: 56px; }

/* â”€â”€â”€ Testimonials â€” 3-of-5 carousel, landscape 16:9 with custom play btn â”€â”€â”€ */

.ds-testimonials {
  background: #fff;
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .ds-testimonials { padding-block: 96px; } }

.ds-testimonials__head {
  text-align: center;
  margin-bottom: 40px;
}
.ds-testimonials__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: var(--ds-teal-dark);
  margin: 0;
  line-height: 1.2;
}
.ds-testimonials__sub {
  color: var(--ds-warm-gray);
  margin-top: 10px;
  font-size: 14px;
}

.ds-testi-rail {
  --visible: 3;
  --gap: 24px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 0 32px;
  outline: none;
}
.ds-testi-rail:focus-visible { outline: 2px solid var(--ds-teal); outline-offset: 8px; border-radius: 20px; }
@media (max-width: 899px) { .ds-testi-rail { --visible: 2; --gap: 20px; } }
@media (max-width: 599px) { .ds-testi-rail { --visible: 1; --gap: 16px; } }

.ds-testi-rail__viewport {
  overflow: hidden;
  margin-inline: 60px;
}
@media (max-width: 699px) { .ds-testi-rail__viewport { margin-inline: 0; } }

.ds-testi-rail__track {
  display: flex;
  gap: var(--gap);
  transition: transform .4s cubic-bezier(.2,.9,.3,1);
  will-change: transform;
  align-items: flex-start;
}

.ds-testi-card {
  flex: 0 0 calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Meta sits tight under the frame â€” stars â†’ name â†’ role with small gaps. */
.ds-testi-card__meta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ds-testi-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F172A;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.28), 0 4px 10px -4px rgba(15, 23, 42, 0.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ds-testi-card:hover .ds-testi-card__frame {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(15, 23, 42, 0.38), 0 6px 14px -6px rgba(15, 23, 42, 0.16);
}
.ds-testi-card__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.28) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity .3s ease;
}
.ds-testi-card.is-playing .ds-testi-card__frame::before { opacity: 0; }
.ds-testi-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0F172A;
  display: block;
}
.ds-testi-card.is-playing .ds-testi-card__video { object-fit: contain; }

/* Centered play-button overlay (white ring + white triangle) */
.ds-testi-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  z-index: 2;
  transition: background .2s ease, transform .2s ease, border-color .2s ease, opacity .3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.ds-testi-card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.ds-testi-card__play:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ds-charcoal);
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #fff;
}
.ds-testi-card.is-playing .ds-testi-card__play { opacity: 0; pointer-events: none; }

.ds-testi-card .ds-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--ds-gold);
}
.ds-testi-card .ds-stars svg { width: 18px; height: 18px; fill: currentColor; }
.ds-testi-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--ds-charcoal);
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.01em;
}
.ds-testi-card__role {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--ds-warm-gray);
  margin: 2px 0 0;
  line-height: 1.3;
}

/* Arrow navs â€” positioned outside the viewport on desktop, inside on mobile */
.ds-testi-rail__nav {
  position: absolute;
  /* top: is set by JS to frame-center; fallback to roughly 1/3 down the rail */
  top: 30%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid rgba(127, 181, 176, 0.3);
  color: var(--ds-charcoal);
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.28), 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease, opacity .2s ease;
}
.ds-testi-rail__nav:hover:not([disabled]) {
  background: var(--ds-teal);
  color: #fff;
  border-color: var(--ds-teal);
  transform: translateY(-50%) scale(1.06);
}
.ds-testi-rail__nav:focus-visible {
  outline: 2px solid var(--ds-teal);
  outline-offset: 3px;
}
.ds-testi-rail__nav[disabled] { opacity: 0.35; cursor: default; }
.ds-testi-rail__nav svg { width: 22px; height: 22px; }
.ds-testi-rail__nav--prev { left: 0; }
.ds-testi-rail__nav--next { right: 0; }
@media (max-width: 699px) {
  .ds-testi-rail__nav { top: auto; bottom: -4px; transform: none; width: 40px; height: 40px; }
  .ds-testi-rail__nav:hover:not([disabled]) { transform: scale(1.06); }
  .ds-testi-rail__nav svg { width: 18px; height: 18px; }
  .ds-testi-rail__nav--prev { left: 8px; }
  .ds-testi-rail__nav--next { right: 8px; }
  .ds-testi-rail { padding-bottom: 56px; }
}

/* Dots indicator. Each dot draws 9px but takes a 24px tap: the padding is
   clear because the background is clipped to the content box. */
.ds-testi-rail__dots {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 12px;
}
.ds-testi-rail__dots button {
  box-sizing: content-box;
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 0;
  background: #C9D2D1;
  background-clip: content-box;
  padding: 7.5px;
  cursor: pointer;
  transition: width .28s ease, background .28s ease, transform .2s ease;
}
.ds-testi-rail__dots button:hover { background-color: var(--ds-teal-light); transform: scale(1.15); }
.ds-testi-rail__dots button.is-active { background-color: var(--ds-teal); width: 30px; }

/* CTA below the carousel */
.ds-testimonials__cta { text-align: center; margin-top: 40px; }
.ds-testimonials__cta .ds-btn--outlined {
  border: 1.5px solid var(--ds-teal);
  color: var(--ds-teal-dark);
  background: transparent;
}
.ds-testimonials__cta .ds-btn--outlined:hover {
  background: var(--ds-teal);
  color: #fff;
  border-color: var(--ds-teal);
}

/* â”€â”€â”€ About Dr. Burns (dark charcoal per mockup) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-about {
  background: var(--ds-charcoal);
  color: rgba(255, 255, 255, 0.78);
  padding-block: 80px;
}
.ds-about .ds-label { color: var(--ds-teal); }
@media (min-width: 768px) { .ds-about { padding-block: 96px; } }
.ds-about__head {
  text-align: left;
  margin-bottom: 32px;
}
.ds-about__head .ds-label { color: var(--ds-teal-light); }
.ds-about__title {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: #fff;
  margin: 10px 0 0;
  line-height: 1.18;
}
.ds-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .ds-about__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}
.ds-about__bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.ds-about__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.ds-about__credential {
  display: inline-flex;
  align-items: center;
  background: var(--ds-teal-light);
  color: var(--ds-charcoal);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  border-radius: var(--ds-pill-radius);
  border: 0;
}
.ds-about__quote {
  max-width: 768px;
  margin: 56px auto 0;
  text-align: left;
  position: relative;
  padding: 28px 28px 28px 72px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.ds-about__quote-mark {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: 96px;
  color: rgba(127, 181, 176, 0.55);
  position: absolute;
  top: 0;
  left: 18px;
  line-height: 1;
  user-select: none;
}
.ds-about__quote-body { padding-top: 0; }
.ds-about__quote-text {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}
.ds-about__quote-cite {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 12px;
  font-style: normal;
}

/* â”€â”€â”€ Scroll reveal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ds-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.ds-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .ds-reveal, .ds-reveal.is-visible { transition: none; opacity: 1; transform: none; }
}

/* â”€â”€â”€ Real asset support (images + icons) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Navbar logo: hand-set Playfair + small italic teal "J." sitting top-left of "burns" */
.ds-navbar__logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  display: inline-flex;
  align-items: flex-start;
  transition: color .3s ease;
}
.ds-navbar__logo-j {
  font-style: italic;
  font-size: 0.5em;
  color: var(--ds-teal-light);
  margin-right: 2px;
  line-height: 1;
}
.ds-navbar__logo-name { font-style: normal; }
.ds-navbar.is-scrolled .ds-navbar__logo { color: var(--ds-charcoal); }
.ds-navbar.is-scrolled .ds-navbar__logo-j { color: var(--ds-teal); }

/* Introducing DreamSmile â€” 4 patient cards */
.ds-intro-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--ds-card-radius);
  display: block;
}

/* DreamSmile Is â€” pill+image rows: media styling defined earlier; kept here as no-op */

/* Primary Services â€” 3 cards */
.ds-service-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--ds-card-radius);
  display: block;
}

/* Burns Protocol â€” photo fills steps column on desktop, bounded portrait below */
.ds-protocol__grid { align-items: stretch; }

/* Mobile default: bounded portrait */
.ds-protocol__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Desktop: photo wrapper stretches to match steps column height;
   image is absolutely positioned so its intrinsic size can't push the cell taller. */
@media (min-width: 1024px) {
  .ds-protocol__photo {
    position: relative;
    align-self: stretch;
    overflow: hidden;
    border-radius: 16px;
    display: block;
    top: 0;
  }
  .ds-protocol__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }
}

/* About Dr. Burns â€” photo fills bio column naturally, no arbitrary min/max */
.ds-about__grid { align-items: stretch; }
.ds-about__photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  align-self: stretch;
}
@media (min-width: 1024px) {
  .ds-about__photo { aspect-ratio: auto; max-height: none; }
}
/* Stacked (tablet/phone): full column width plus the 480px height cap
   turned this 4:5 portrait into a 720x480 strip that cut off the top of
   Dr. Burns's head and blew the 571px file up 1.26x. Keep it 4:5. */
@media (max-width: 1023px) {
  .ds-about__photo { max-width: 384px; }
}

/* Credential badges â€” icon + text pair */
.ds-about__credential {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
}
/* Labels, not buttons. Filled #A8D5D0 pills next to the solid teal "Schedule
   to Meet Dr. Burns" button read as four more buttons (Cris, Nov 2026: "this
   also looks like a button... not enough contrast between this and the
   button"). A thin outline on the dark panel keeps them as badges and leaves
   the one real button as the only filled shape. */
.ds-about__credential {
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(168, 213, 208, 0.38);
  font-weight: 600;
  cursor: default;
}
.ds-about__credential-icon { color: var(--ds-teal-light); }
.ds-about__credential-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--ds-teal);
}
.ds-about__credential-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* "Learn more about Dr. Burns" CTA — every-page about section deep-link */
.ds-about__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ds-teal-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 181, 176, 0.5);
  padding-bottom: 4px;
  transition: color .15s ease, border-color .15s ease, gap .18s ease;
}
.ds-about__more svg {
  flex-shrink: 0;
  transition: transform .18s ease;
}
.ds-about__more:hover {
  color: var(--ds-teal);
  border-bottom-color: var(--ds-teal);
  gap: 10px;
}
.ds-about__more:hover svg { transform: translateX(2px); }

/* Frustrations â€” uniform custom SVG icons (on dark bg) */
.ds-frustration-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(127, 181, 176, 0.18);
  color: var(--ds-teal-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background-color .2s ease, color .2s ease;
}
.ds-frustration-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.ds-frustration-card:hover .ds-frustration-card__icon {
  background: var(--ds-teal);
  color: #fff;
}

/* Patient Promise â€” framed image section (text/CTA are in the image) */
.ds-promise-image {
  padding: 64px 24px;
  background: linear-gradient(180deg, var(--ds-off-white) 0%, #EDF3F2 100%);
  display: block;
}
.ds-promise-image__bg {
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin-inline: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(58, 58, 58, 0.18), 0 8px 20px rgba(58, 58, 58, 0.08);
}
@media (max-width: 767px) {
  .ds-promise-image { padding: 40px 16px; }
  .ds-promise-image__bg { border-radius: 12px; }
}

/* Warranty â€” framed image section (tiers + CTA are in the image) */
.ds-warranty-image {
  padding: 64px 24px;
  background: linear-gradient(180deg, #F0F5F4 0%, var(--ds-off-white) 100%);
  display: block;
}
.ds-warranty-image__bg {
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin-inline: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(58, 58, 58, 0.15), 0 8px 20px rgba(58, 58, 58, 0.06);
}
@media (max-width: 767px) {
  .ds-warranty-image { padding: 40px 16px; }
  .ds-warranty-image__bg { border-radius: 12px; }
}

/* DREAMSMILE-COMPARISON-CENTER-V2 */
.ds-compare-card--primary .ds-compare-card__title,
.ds-compare-card--primary .ds-compare-card__kicker {
  text-align: center;
}
/* /DREAMSMILE-COMPARISON-CENTER-V2 */

/* DREAMSMILE-EXPERTISE-LANDSCAPE */
.ds-expertise__video { max-width: 800px !important; }
.ds-expertise__video-frame { aspect-ratio: 16 / 9 !important; }
.ds-expertise__video-el { object-fit: contain !important; }
/* /DREAMSMILE-EXPERTISE-LANDSCAPE */

/* ==========================================================================
   DREAMSMILE-MOBILE-V1 — phone-only responsive fixes (≤767px)
   Patches stats grid, hero watermark overlap, footer glow overflow,
   comparison/about padding squeeze, warranty tier transition zone.
   ========================================================================== */

@media (max-width: 767px) {
  /* Stats — stack 3-col → 1-col, swap column borders for top borders */
  .ds-stats {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 18px;
  }
  .ds-stat + .ds-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
  }

  /* Hero — kill min-height + watermark on phones, trim vertical padding */
  .ds-hero { min-height: auto; }
  .ds-hero__watermark { display: none; }
  /* Top padding has to clear the 81px fixed navbar; at 72px the first line
     of the headline sat under it. */
  .ds-hero__inner { padding: 104px 20px 88px; }
  /* The inline 100deg gradient thins to alpha .34 on the right — fine on
     desktop where text stops at 620px, but on phones the bullets span the
     full width and white text drops below 3:1 there. Extra flat scrim. */
  #hero .ds-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(58, 58, 58, 0.56); }

  /* Footer — fixed 600px glow overflows narrow viewports */
  .ds-footer__glow { width: min(100%, 360px); height: 140px; }

  /* Comparison cards — heavy padding squeezes 360px screens */
  .ds-compare-card { padding: 28px 20px; }
  .ds-compare-card__badge { top: -12px; font-size: 10px; padding: 4px 10px; }
  .ds-comparison__cta { margin-top: 36px; }

  /* About — quote padding/max-width too generous on phones */
  .ds-about__quote {
    padding: 22px 18px 22px 52px;
    max-width: 100%;
  }

  /* Guide card — kill desktop-only "extend ribbon left" trick (margin-left:-80px
     was hanging the card off the viewport edge on phones). Re-center the layout
     and beef up the CTA so the card reads as its own thing on mobile, not a
     leftover sibling of the quiz card. */
  .ds-guide-card {
    margin-left: 0;
    padding: 28px 22px 26px;
    text-align: center;
    align-items: center;
    background: linear-gradient(135deg, #DCE0DF 0%, #E8ECEB 100%);
    border-radius: 14px;
    gap: 14px;
    box-shadow: 0 12px 28px -18px rgba(58, 58, 58, 0.18);
  }
  .ds-guide-card__label {
    max-width: 100%;
    font-size: 12px;
    letter-spacing: 0.18em;
    margin-top: 0;
  }
  .ds-guide-card__heading {
    max-width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--ds-charcoal);
    line-height: 1.35;
  }
  .ds-guide-card__cta {
    align-self: stretch;
    width: 100%;
    margin-top: 6px;
    padding-block: 12px;
    background: var(--ds-teal);
    color: var(--ds-charcoal);
    border-color: var(--ds-teal);
  }
  .ds-guide-card__cta:hover {
    background: var(--ds-teal-light);
    border-color: var(--ds-teal-light);
    color: var(--ds-charcoal);
  }
}

/* Warranty recommended tier — neutralise -16px lift through tablet zone */
@media (max-width: 899px) {
  .ds-tier--recommended { margin-block: 0; }
}
/* /DREAMSMILE-MOBILE-V1 */

/* ════════════════════════════════════════════════════════════════════════
   BURNS-WEBSITE-NOTES PASS — brand lockup, navbar/hero phone, "As Seen On"
   media chips, DreamSmile-is compact bullets, Introducing kicker.
   ════════════════════════════════════════════════════════════════════════ */

/* Generic trademark superscript.
   Client note (2026-08-04): "trademarks are usually small little letters" —
   the mark must read as a quiet legal notation, never as part of the wordmark.
   Sized to sit alongside .ds-brand__tm (0.30em) and .ds-intro-section__tm
   (0.26em); line-height:0 keeps the raised mark from padding out the line box
   of the large Playfair headings this lands in. */
.ds-tm,
.ds-footer__tm {
  font-size: 0.36em;
  vertical-align: super;
  line-height: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 1px;
}

/* Brand wordmark lockup — clean brand sans "DreamSmile" + small ™ */
.ds-brand { display: inline-flex; align-items: baseline; white-space: nowrap; font-weight: 700; }
.ds-brand__word { font-family: 'Montserrat', 'Segoe UI', -apple-system, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.ds-brand__dream { color: var(--ds-teal, #7FB5B0); }
.ds-brand__smile { color: #3A3A3A; }
.ds-brand__tm {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.38em;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
  margin-left: 2px;
}

/* Comparison section: brand styling and official logo */
.ds-comparison__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
}
/* The asset is transparent now, so the logo no longer sits in a white box on
   the light-grey section and can carry a bit more size in the heading. */
.ds-comparison__title-logo {
  height: clamp(34px, 4vw, 48px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
}
.ds-compare-card__logo {
  height: clamp(34px, 3.8vw, 42px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.ds-compare-card__title--brand {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

/* Expertise "Changing lives, one DreamSmile at a time" on dark panel */
.ds-expertise__doctor .ds-brand__dream { color: var(--ds-teal-light, #A8D5D0); }
.ds-expertise__doctor .ds-brand__smile { color: #ffffff; }
.ds-expertise__doctor .ds-brand__tm { color: rgba(255, 255, 255, 0.7); }

/* ─── Navbar phone (upper-right) ─────────────────────────────────────────── */
.ds-navbar__actions { display: flex; align-items: center; gap: 16px; }
.ds-navbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3A3A3A !important;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: color .2s ease;
  white-space: nowrap;
}
.ds-navbar__phone svg { color: var(--ds-teal-dark) !important; flex: 0 0 auto; }
.ds-navbar__phone:hover { color: var(--ds-teal) !important; }
.ds-navbar.is-scrolled .ds-navbar__phone { color: #3A3A3A !important; }
.ds-navbar.is-scrolled .ds-navbar__phone svg { color: var(--ds-teal-dark) !important; }
.ds-navbar.is-scrolled .ds-navbar__phone:hover { color: var(--ds-teal) !important; }
@media (max-width: 767px) { .ds-navbar__phone { display: none; } }
.ds-navbar__mobile-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ds-teal-dark);
}
.ds-navbar__mobile-phone svg { color: var(--ds-teal); flex: 0 0 auto; }

/* ─── Hero CTA group + "or call" phone ───────────────────────────────────── */
.ds-hero__cta-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
/* Homepage hero button: white with teal text and a teal outline, like the
   navbar's Schedule button once the page scrolls, so it stands out on the
   dark photo (requested Nov 2026, after Cris's contrast note). Teal-ink on
   white is ~5:1. Hover fills it teal, as the navbar button does. */
.ds-hero:not(.ds-hero--sub) .ds-hero__cta-group .ds-btn--solid {
  background: #fff;
  color: var(--ds-teal-ink);
  border-color: var(--ds-teal);
}
.ds-hero:not(.ds-hero--sub) .ds-hero__cta-group .ds-btn--solid:hover,
.ds-hero:not(.ds-hero--sub) .ds-hero__cta-group .ds-btn--solid:focus-visible {
  background: var(--ds-teal);
  color: var(--ds-charcoal);
  border-color: var(--ds-teal);
}
.ds-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: color .2s ease;
}
.ds-hero__phone strong { color: #fff; font-weight: 700; }
.ds-hero__phone svg { color: var(--ds-teal-light); flex: 0 0 auto; }
.ds-hero__phone:hover { color: var(--ds-teal-light); }
.ds-hero__asterisk { color: var(--ds-teal-light); font-weight: 700; }
.ds-hero__watermark-tm { font-size: 0.34em; vertical-align: super; }

/* ─── Expertise "As Seen On" media chips (placeholder logos) ──────────────── */
.ds-expertise__media {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 16px;
}
.ds-expertise__media-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
}
.ds-expertise__media-logo svg { color: var(--ds-teal-light); flex: 0 0 auto; }
.ds-expertise__media-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: left;
}
.ds-expertise__media-name small { display: block; font-weight: 500; opacity: 0.55; font-size: 10px; letter-spacing: 0.04em; }
.ds-expertise__media-note {
  margin: 14px auto 0;
  max-width: 520px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ─── DreamSmile-is: compact bullets + one watermarked photo ──────────────── */
.ds-is-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  max-width: 940px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .ds-is-compact { grid-template-columns: 1.05fr 0.95fr; gap: 44px; }
}
.ds-is-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ds-is-benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid rgba(127, 181, 176, 0.22);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ds-is-benefit:hover {
  transform: translateX(4px);
  border-color: var(--ds-teal);
  box-shadow: 0 6px 20px rgba(127, 181, 176, 0.12);
}
.ds-is-benefit__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ds-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ds-is-benefit__icon svg { width: 18px; height: 18px; color: #fff; }
.ds-is-benefit__text {
  font-family: 'Amiri', 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--ds-charcoal);
  line-height: 1.25;
}
.ds-is-benefit__text strong { color: var(--ds-teal-dark); font-weight: 700; }
.ds-is-figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(58, 58, 58, 0.35);
}
.ds-is-figure img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.ds-is-figure__watermark {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.ds-is-figure__watermark sup { font-size: 0.32em; vertical-align: super; }

/* ─── Introducing: centered kicker over the logo wordmark ─────────────────── */
.ds-intro-section__kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ds-warm-gray);
  margin: 0 0 8px;
}
.ds-intro-section__script {
  font-family: 'Dancing Script', cursive;
  font-style: normal;
  font-weight: 700;
  font-size: 1.5em;
  color: var(--ds-teal-dark);
}
.ds-intro-section__tm {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.26em;
  font-weight: 600;
  vertical-align: super;
  color: var(--ds-teal-dark);
  margin-left: 2px;
}

/* About: schedule CTA + "learn more" link row (Burns-notes: add a CTA) */
/* The badge rows and the button row sit on one even 12px rhythm (was 10px
   between badges and 4px above the button, which read as cramped and uneven).
   The badges are outlined, so the filled button stands apart on its own. */
.ds-about__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 12px; }

/* ════════════════════════════════════════════════════════════════════════
   SPLIT-PANEL SUB-HERO — client: "text on one side with a solid background,
   image on the other, so the image isn't greyed out." Charcoal text panel |
   clean photo. Only a short top gradient sits over the image so the fixed
   navbar stays legible without greying the whole picture. All ~30 sub-pages
   + the 3 implant deep-dives render via ds_render_split_hero().
   ════════════════════════════════════════════════════════════════════════ */
.ds-hero--split {
  display: block;        /* override base .ds-hero flex/overlay */
  min-height: 0;
  overflow: hidden;
  background: var(--ds-charcoal);
}
.ds-hero-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .ds-hero-split { grid-template-columns: 1.03fr 1fr; align-items: stretch; min-height: 60vh; }
}
.ds-hero-split__panel {
  background: var(--ds-charcoal);
  display: flex;
  align-items: center;
  padding: 104px 24px 48px;   /* top clears the 80px fixed navbar */
}
@media (min-width: 900px) {
  .ds-hero-split__panel { padding: 120px clamp(32px, 5vw, 64px) 72px clamp(24px, 6vw, 96px); }
}
.ds-hero-split__panel .ds-hero__content { max-width: 560px; width: 100%; }
.ds-hero-split__media {
  position: relative;
  min-height: 280px;
  background-color: var(--ds-charcoal);  /* fallback if the image is missing */
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 900px) { .ds-hero-split__media { min-height: 100%; } }
/* Top scrim only — keeps the navbar readable over the photo. */
.ds-hero-split__media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(58, 58, 58, 0.72) 0%, rgba(58, 58, 58, 0) 100%);
  pointer-events: none;
}
/* Soft seam between the charcoal panel and the photo (desktop only). */
@media (min-width: 900px) {
  .ds-hero-split__media::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 96px;
    background: linear-gradient(90deg, var(--ds-charcoal) 0%, rgba(58, 58, 58, 0) 100%);
    pointer-events: none;
  }
}
.ds-hero-split__watermark {
  display: none !important;
}

/* Navbar & Footer Logo Image styling (BURNS-WEBSITE-NOTES PASS) */
.ds-navbar__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.ds-navbar__logo-img:hover {
  transform: scale(1.02);
}
.ds-footer__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  display: inline-block;
}

/* Service footnotes style (de-emphasized client bibliography) */
.ds-service-footnotes {
  padding-block: 24px;
  background: var(--ds-off-white);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ds-service-footnotes__inner {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--ds-warm-gray);
  line-height: 1.6;
}
.ds-service-footnotes__text {
  margin: 0 0 8px 0;
}
.ds-service-footnotes__link {
  color: var(--ds-teal-ink);
  text-decoration: underline;
  transition: color 0.15s ease;
}
.ds-service-footnotes__link:hover {
  color: var(--ds-charcoal);
}
.ds-service-footnotes__disclaimer {
  margin: 0;
  font-style: italic;
  opacity: 1;
}

/* ─── Smile Reveal — AI smile preview (agency embed, under the quiz row) ─── */

.ds-smile-reveal {
  background: #fff;
  padding-block: 56px;
}
@media (min-width: 768px) { .ds-smile-reveal { padding-block: 80px; } }
.ds-smile-reveal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .ds-smile-reveal__grid { grid-template-columns: 5fr 7fr; gap: 56px; }
}
.ds-smile-reveal__title {
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  margin: 10px 0 12px;
  text-wrap: balance;
}
.ds-smile-reveal__title .ds-italic { color: var(--ds-teal-ink); }
.ds-smile-reveal__sub { margin: 0 0 20px; }
.ds-smile-reveal__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ds-smile-reveal__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--ds-charcoal);
  line-height: 1.45;
}
.ds-smile-reveal__num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--ds-teal);
  color: var(--ds-teal-dark);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.ds-smile-reveal__note {
  font-size: 13px;
  font-style: italic;
  color: var(--ds-warm-gray);
  margin: 0;
}
.ds-smile-reveal__embed iframe {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
  border-radius: var(--ds-card-radius);
  background: var(--ds-light-gray);
  box-shadow:
    0 24px 48px -24px rgba(15, 23, 42, 0.25),
    0 0 0 1px rgba(127, 181, 176, 0.18);
}

/* ─── Free Guide (ebook) — charcoal break between Services and Introducing ─── */

.ds-ebook {
  background: var(--ds-charcoal);
  color: #fff;
  padding-block: 56px;
}
@media (min-width: 768px) { .ds-ebook { padding-block: 72px; } }
.ds-ebook__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .ds-ebook__grid { grid-template-columns: 2fr 3fr; gap: 56px; }
}
.ds-ebook__media {
  margin: 0;
  max-width: 220px;
  justify-self: center;
}
@media (min-width: 768px) { .ds-ebook__media { max-width: 420px; } }
.ds-ebook__media img {
  width: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}
.ds-ebook .ds-label { color: var(--ds-teal-light); }
.ds-ebook__title {
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  color: #fff;
  margin: 10px 0 8px;
}
.ds-ebook__title .ds-italic { color: var(--ds-teal-light); }
.ds-ebook__sub {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 18px;
}
.ds-ebook__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ds-ebook__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  line-height: 1.45;
}
.ds-ebook__num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ds-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
