/* ==========================================================================
   DR. SMILE — homepage (front-page.php) only.

   Loaded by inc/enqueue.php on is_front_page() alone, so nothing in this file
   can reach the shop archive, PDP, cart, checkout or account templates. All
   class names are new and prefixed, with one deliberate exception: the shared
   .dr-product-card, which is only ever touched here through a .dr-home
   ancestor selector.

   Reads tokens.css throughout. The two homepage-local additions are a larger
   corner radius for feature panels (the 4px card radius reads as "admin table"
   at 500px wide) and a soft elevation ramp.
   ========================================================================== */

.dr-home {
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --lift: 0 18px 44px rgba(2, 27, 32, .10);
  --lift-sm: 0 10px 26px rgba(2, 27, 32, .07);
  --hair: 1px solid var(--border-hairline);
  --gutter: 32px;
}

/* ---- Shared bits -------------------------------------------------------- */

.dr-home .dr-ico { width: 20px; height: 20px; flex: none; }

.dr-kicker {
  display: inline-block;
  font-family: var(--font-sans-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent-gold-text);
  margin: 0 0 14px;
}
.dr-kicker.gold { color: var(--sc-gold); }

.dr-home .dr-sec-title {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--text-heading);
  margin: 0;
}

.dr-sec { padding: clamp(56px, 7vw, 96px) 0; }
.dr-sec-alt { background: var(--surface-alt); }
/* Background comes from .dr-sec-alt when the collections block sits between
   two page-background sections; this stays as the fallback for either order. */
.dr-sec-collections { background: var(--surface-page); }
.dr-sec-alt.dr-sec-collections { background: var(--surface-alt); }

.dr-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
.dr-sec-head > div { max-width: 46ch; }
.dr-sec-lede,
.dr-sec-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
  max-width: 44ch;
}
.dr-sec-sub { margin-top: 14px; }

.dr-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-link);
}
.dr-arrow-link .dr-ico { width: 17px; height: 17px; transition: transform var(--motion-micro) var(--motion-easing); }
.dr-arrow-link:hover { color: var(--accent-gold-text); }
.dr-arrow-link:hover .dr-ico { transform: translateX(4px); }
.dr-arrow-link.light { color: var(--sc-gold); }
.dr-arrow-link.light:hover { color: var(--text-on-dark); }

.dr-home .dr-btn-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border: 1px solid var(--surface-dark);
  border-radius: var(--radius-pill);
  padding: 17px 32px;
  transition: background var(--motion-micro) var(--motion-easing);
}
.dr-home .dr-btn-dark:hover { background: var(--sc-teal-darkest); color: var(--text-on-dark); }

.dr-home .dr-btn-outline {
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-heading);
  border-radius: var(--radius-pill);
  padding: 15px 28px;
  font-weight: 700;
  transition: border-color var(--motion-micro), background var(--motion-micro);
}
.dr-home .dr-btn-outline:hover { border-color: var(--text-heading); background: var(--surface-card); color: var(--text-heading); }
.dr-home .dr-btn-outline.btn-sm { padding: 10px 18px; }

.dr-home .btn-primary { box-shadow: 0 8px 20px rgba(215, 182, 106, .34); transition: transform var(--motion-micro) var(--motion-easing), box-shadow var(--motion-micro); }
.dr-home .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(215, 182, 106, .42); }

/* ==========================================================================
   HERO
   ========================================================================== */

.dr-hero-v4 {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(30, 95, 93, .14), transparent 62%),
    radial-gradient(680px 420px at 4% 104%, rgba(215, 182, 106, .18), transparent 60%),
    linear-gradient(180deg, var(--sc-ivory) 0%, var(--sc-cream) 100%);
  border-bottom: var(--hair);
}

.dr-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 86px) clamp(56px, 6vw, 92px);
}

.dr-hero-title {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--text-heading);
  margin: 0 0 20px;
}
.dr-hero-title em {
  font-style: italic;
  color: var(--sc-teal-link);
}

.dr-hero-lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.66;
  color: var(--text-body);
  max-width: 48ch;
  margin: 0 0 30px;
}

.dr-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.dr-hero-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.dr-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--radius-pill);
  padding: 9px 8px 9px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--motion-micro), transform var(--motion-micro);
}
.dr-cat-pill:hover { border-color: var(--accent); color: var(--text-heading); transform: translateY(-1px); }
.dr-cat-pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.dr-cat-pill .n {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-alt);
  border-radius: 999px;
  padding: 3px 9px;
}

.dr-hero-assure {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(215, 182, 106, .45);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.dr-hero-assure li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}
.dr-hero-assure .dr-ico { color: var(--sc-teal-link); width: 18px; height: 18px; }

/* ---- Hero art stack ---- */

.dr-hero-art { position: relative; padding-left: 26px; }

/* The source hero image carries roughly a fifth of empty shelf below the
   products, so the frame crops rather than reserving dead space for it. */
.dr-hero-frame {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--lift);
  border: 1px solid rgba(255, 255, 255, .7);
}
.dr-hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  display: block;
}

.dr-hero-stat {
  position: absolute;
  top: 18px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  box-shadow: var(--lift-sm);
}
.dr-hero-stat .stars { color: var(--sc-gold); letter-spacing: 1px; font-size: 13px; }
.dr-hero-stat strong { font-size: 15px; color: var(--text-heading); }
.dr-hero-stat .meta { font-size: 12px; color: var(--text-muted); }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.dr-trustbar { background: var(--surface-dark); color: var(--text-on-dark); }
.dr-trustbar .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  padding-block: 20px;
}
.dr-trustbar .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .92;
}
.dr-trustbar .dr-ico { color: var(--sc-gold); width: 19px; height: 19px; }

/* ==========================================================================
   COLLECTION CARDS  (replaces the old .concern-grid sitemap block)
   ========================================================================== */

.dr-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.dr-collection {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion-component) var(--motion-easing),
              box-shadow var(--motion-component) var(--motion-easing),
              border-color var(--motion-micro);
}
.dr-collection:hover {
  transform: translateY(-5px);
  box-shadow: var(--lift);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border-hairline));
}

.dr-collection .media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-alt);
  background: linear-gradient(160deg,
              color-mix(in srgb, var(--accent) 13%, #fff) 0%,
              color-mix(in srgb, var(--accent) 5%, #fff) 100%);
}
.dr-collection .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 620ms var(--motion-easing);
}
/* Product cut-outs are transparent PNGs — contain them on the tinted ground
   instead of cropping a floating tube to the bleed. */
.dr-collection .media img[src$=".png"] { object-fit: contain; padding: 8% 14%; }
.dr-collection:hover .media img { transform: scale(1.045); }

.dr-collection .media .index {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-serif-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255, 255, 255, .88);
  border-radius: 999px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
}

.dr-collection .body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid var(--accent);
}
.dr-collection .title {
  font-family: var(--font-serif-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.9px;
  line-height: 1.1;
  margin: 0 0 10px;
}
.dr-collection .title a { color: var(--text-heading); }
.dr-collection .title a:hover { color: var(--accent); }
.dr-collection .blurb {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0 0 18px;
}
.dr-collection .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.dr-collection .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-heading);
  background: var(--surface-page);
  border: var(--hair);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  transition: border-color var(--motion-micro), color var(--motion-micro);
}
.dr-collection .chip:hover { border-color: var(--accent); color: var(--accent); }
.dr-collection .chip .n { font-size: 10.5px; color: var(--text-muted); font-weight: 700; }
.dr-collection .dr-arrow-link {
  margin-top: auto;
  padding-top: 18px;
  border-top: var(--hair);
}

/* ==========================================================================
   PRODUCT GRID + RAIL
   ========================================================================== */

.dr-home .dr-product-card {
  border-radius: var(--r-md);
  transition: transform var(--motion-component) var(--motion-easing),
              box-shadow var(--motion-component) var(--motion-easing),
              border-color var(--motion-micro);
}
.dr-home .dr-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-sm);
  border-color: #D9D1C5;
}
.dr-home .dr-product-card .visual { overflow: hidden; }
.dr-home .dr-product-card .visual img { transition: transform 560ms var(--motion-easing); }
.dr-home .dr-product-card:hover .visual img { transform: scale(1.05); }
.dr-home .dr-product-card .flag { border-radius: var(--radius-pill); padding: 6px 12px; }
.dr-home .dr-product-card .name { font-size: 22px; }
.dr-home .dr-product-card .buy-row .btn { flex: none; }

.dr-home-grid { gap: clamp(16px, 1.8vw, 24px); }

.dr-rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-block: 6px 20px;
}
.dr-rail::-webkit-scrollbar { display: none; }
.dr-rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 258px);
  gap: clamp(16px, 1.8vw, 22px);
  align-items: stretch;
}
.dr-rail-track > * { scroll-snap-align: start; }

.dr-rail-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  border: 1px dashed color-mix(in srgb, var(--text-heading) 32%, transparent);
  border-radius: var(--r-md);
  color: var(--text-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  transition: background var(--motion-micro), border-color var(--motion-micro);
}
.dr-rail-end:hover { background: var(--surface-card); border-color: var(--text-heading); color: var(--text-heading); }
.dr-rail-end .dr-ico { width: 22px; height: 22px; }

.dr-rail-hint {
  display: none;
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   FLAGSHIP SPOTLIGHT
   ========================================================================== */

.dr-spot {
  background:
    radial-gradient(720px 480px at 22% 20%, rgba(30, 95, 93, .55), transparent 65%),
    var(--surface-dark);
  color: var(--text-on-dark);
}
.dr-spot-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(52px, 6.5vw, 92px);
}

.dr-spot-media { position: relative; display: grid; place-items: center; min-height: 260px; }
.dr-spot-media .halo {
  position: absolute;
  inset: 8% 6%;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 45%, rgba(215, 182, 106, .30), rgba(215, 182, 106, 0) 68%);
}
.dr-spot-media img {
  position: relative;
  max-height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .38));
}

.dr-spot-cat {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(251, 247, 239, .68);
  margin-bottom: 10px;
}
.dr-home .dr-spot .dr-sec-title,
.dr-spot-title {
  font-family: var(--font-serif-display);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.03;
  letter-spacing: -.04em;
  color: var(--text-on-dark);
  margin: 0 0 16px;
}
.dr-spot-lede {
  font-size: 17px;
  line-height: 1.62;
  opacity: .84;
  margin: 0 0 26px;
  max-width: 46ch;
}

.dr-spot-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 26px;
  margin: 0 0 24px;
  padding: 22px 0;
  border-block: 1px solid rgba(251, 247, 239, .18);
}
.dr-spot-facts dt {
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sc-gold);
  margin-bottom: 6px;
}
.dr-spot-facts dd { margin: 0; font-size: 14.5px; line-height: 1.5; opacity: .9; }

.dr-spot-trust { font-size: 14px; line-height: 1.6; opacity: .7; margin: 0 0 26px; max-width: 50ch; }

.dr-spot-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.dr-spot-buy .price { font-size: 26px; font-weight: 700; color: var(--text-on-dark); }
.dr-spot-buy .price del { opacity: .55; font-size: 18px; font-weight: 400; margin-right: 6px; }
.dr-spot-buy .price ins { text-decoration: none; }

/* ==========================================================================
   ROUTINE SETS
   ========================================================================== */

.dr-sec-sets { background: var(--surface-page); }

.dr-sets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.dr-set {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--motion-component) var(--motion-easing),
              box-shadow var(--motion-component) var(--motion-easing);
}
.dr-set:hover { transform: translateY(-5px); box-shadow: var(--lift); }

/* Composed from the set's own product images on a tinted accent ground —
   see the note in front-page.php on why the bundle-*.webp comps are not used. */
.dr-set .media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(160deg,
              color-mix(in srgb, var(--accent) 14%, #fff) 0%,
              color-mix(in srgb, var(--accent) 5%, #fff) 100%);
}
.dr-set .media .stack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 8% 7%;
  transition: transform 620ms var(--motion-easing);
}
/* Equal-width slots that the images sit inside, so a tall product cannot
   overflow the panel and get sheared off by the card's overflow:hidden. */
.dr-set .media .piece {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dr-set .media .piece + .piece { margin-left: -4%; }
.dr-set .media .piece img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(2, 27, 32, .12));
}
/* A slight height stagger reads as a styled group shot rather than a row of
   thumbnails; the middle piece sits tallest. */
.dr-set .media .piece:nth-child(1) img { max-height: 86%; }
.dr-set .media .piece:nth-child(2) img { max-height: 100%; }
.dr-set .media .piece:nth-child(3) img { max-height: 90%; }
.dr-set:hover .media .stack { transform: scale(1.04); }
.dr-set .save {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--sc-gold);
  color: var(--cta-text);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.dr-set .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.dr-set .name {
  font-family: var(--font-serif-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.9px;
  color: var(--text-heading);
  margin: 0 0 14px;
}

.dr-set .contents { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); margin: 0 0 20px; }

.dr-set .foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.dr-set .prices { display: flex; align-items: baseline; gap: 10px; }
.dr-set .price { font-size: 21px; font-weight: 700; color: var(--text-heading); }
.dr-set .was { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.dr-set .acts { display: flex; align-items: center; gap: 8px; }

/* ==========================================================================
   THREE STEPS
   ========================================================================== */

.dr-steps { background: var(--surface-alt); padding: clamp(56px, 7vw, 92px) 0; }
.dr-steps-head { text-align: center; max-width: 42ch; margin: 0 auto clamp(30px, 3.6vw, 46px); }

.dr-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.dr-step {
  position: relative;
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--r-lg);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.dr-step .ring {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sc-teal-link) 10%, #fff);
  color: var(--sc-teal-link);
  margin-bottom: 18px;
}
.dr-step .ring .dr-ico { width: 22px; height: 22px; }
.dr-step .no {
  position: absolute;
  top: 24px; right: 26px;
  font-family: var(--font-serif-display);
  font-size: 30px;
  color: var(--border-hairline);
  line-height: 1;
}
.dr-step h3 {
  font-family: var(--font-sans-ui);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 10px;
}
.dr-step p { font-size: 14.5px; line-height: 1.62; color: var(--text-body); margin: 0; }

.dr-steps-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: clamp(28px, 3vw, 40px);
}

/* ==========================================================================
   PILLARS
   ========================================================================== */

.dr-pillars { background: var(--surface-dark); color: var(--text-on-dark); }
.dr-pillars .shell {
  padding-block: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(0, 1.65fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.dr-home .dr-pillars .dr-sec-title { color: var(--text-on-dark); }
.dr-pillars .intro p { font-size: 16px; line-height: 1.68; opacity: .8; margin: 18px 0 0; max-width: 40ch; }
.dr-pillars .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px 36px; }
.dr-pillars .pillar { padding-top: 20px; border-top: 1px solid rgba(215, 182, 106, .45); }
.dr-pillars .no { font-size: 12px; letter-spacing: 1.8px; font-weight: 800; color: var(--sc-gold); margin-bottom: 12px; }
.dr-pillars h3 { font-family: var(--font-sans-ui); font-size: 17px; font-weight: 800; margin: 0 0 10px; color: var(--text-on-dark); }
.dr-pillars p { font-size: 14.5px; line-height: 1.62; opacity: .76; margin: 0; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */

.dr-voices { background: var(--surface-page); padding: clamp(56px, 7vw, 92px) 0; }
.dr-voices-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-bottom: clamp(24px, 3vw, 38px);
}
.dr-voices-head .dr-kicker { margin-bottom: 0; }
.dr-voices-head .score { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-muted); }
.dr-voices-head .score .stars { color: var(--sc-gold); letter-spacing: 2px; }
.dr-voices-head .score strong { font-size: 17px; color: var(--text-heading); }

.dr-voices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.dr-voice {
  margin: 0;
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--r-lg);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.dr-voice .stars { color: var(--sc-gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 16px; }
.dr-voice blockquote {
  margin: 0 0 20px;
  font-family: var(--font-serif-display);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.4px;
  color: var(--text-heading);
  flex: 1;
}
.dr-voice figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: var(--hair); }
.dr-voice .avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 999px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--sc-teal-link) 12%, #fff);
  color: var(--sc-teal-link);
  font-weight: 800;
  font-size: 15px;
}
.dr-voice figcaption strong { display: block; font-size: 13.5px; color: var(--text-heading); }
.dr-voice figcaption em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.dr-faq { background: var(--surface-alt); }
.dr-faq .shell {
  padding-block: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.dr-faq-aside p { font-size: 15px; line-height: 1.65; color: var(--text-body); margin: 16px 0 24px; max-width: 34ch; }
.dr-faq-list details {
  background: var(--surface-card);
  border: var(--hair);
  border-radius: var(--r-md);
  padding: 4px 20px;
  margin-bottom: 10px;
  transition: border-color var(--motion-micro);
}
.dr-faq-list details[open] { border-color: color-mix(in srgb, var(--sc-gold) 60%, var(--border-hairline)); }
.dr-faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-heading);
}
.dr-faq-list summary::-webkit-details-marker { display: none; }
.dr-faq-list summary::after {
  content: '';
  position: absolute;
  right: 4px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -6px;
  border-right: 2px solid var(--accent-gold-text);
  border-bottom: 2px solid var(--accent-gold-text);
  transform: rotate(45deg);
  transition: transform var(--motion-micro) var(--motion-easing);
}
.dr-faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.dr-faq-list p { font-size: 14.5px; line-height: 1.7; color: var(--text-body); margin: 0 0 18px; max-width: 62ch; }

/* ==========================================================================
   WAITLIST
   ========================================================================== */

.dr-signup { background: var(--surface-darkest); color: var(--text-on-dark); }
.dr-signup .shell {
  padding-block: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.dr-home .dr-signup .dr-sec-title { color: var(--text-on-dark); }
.dr-signup-copy > p { font-size: 16px; line-height: 1.68; opacity: .82; margin: 16px 0 28px; max-width: 46ch; }

.dr-signup-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; margin-bottom: 14px; }
.dr-signup-form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(251, 247, 239, .3);
  border-radius: var(--radius-pill);
  background: rgba(251, 247, 239, .07);
  color: var(--text-on-dark);
  font-family: var(--font-sans-ui);
  font-size: 15px;
}
.dr-signup-form input::placeholder { color: rgba(251, 247, 239, .5); }
.dr-signup-form input:focus { outline: 2px solid var(--sc-gold); outline-offset: 2px; }
.dr-signup-note { font-size: 13px; color: var(--sc-gold); margin: 0; }

.dr-waves { display: flex; flex-direction: column; gap: 12px; }
.dr-wave {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(251, 247, 239, .06);
  border: 1px solid rgba(251, 247, 239, .15);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.dr-wave .no { font-family: var(--font-serif-display); font-size: 28px; color: var(--sc-gold); line-height: 1; flex: none; }
.dr-wave .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.dr-wave .top strong { font-size: 16px; font-weight: 800; }
.dr-wave p { margin: 0; font-size: 13.5px; line-height: 1.6; opacity: .76; }
.dr-wave .tag {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 11px;
}
.dr-wave .tag-live { background: var(--sc-gold); color: var(--cta-text); }
.dr-wave .tag-open { background: var(--sc-teal-link); color: var(--text-on-dark); }
.dr-wave .tag-soon { background: rgba(251, 247, 239, .16); color: var(--text-on-dark); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  /* Three cards in a two-column grid would leave the last one stranded at
     half width, so it turns side-on and takes the full row instead. */
  .dr-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dr-collection:last-child { grid-column: 1 / -1; flex-direction: row; }
  .dr-collection:last-child .media { flex: 0 0 42%; aspect-ratio: auto; }
  .dr-collection:last-child .body { border-top: 0; border-left: 3px solid var(--accent); }
  .dr-pillars .shell,
  .dr-faq .shell,
  .dr-signup .shell { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .dr-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .dr-hero-art { padding: 0 0 30px; max-width: 560px; }
  .dr-hero-stat { top: 14px; left: 0; }
  .dr-spot-inner { grid-template-columns: 1fr; gap: 36px; }
  .dr-spot-media { order: -1; }
  .dr-spot-media img { max-height: 320px; }
  .dr-trustbar .shell { justify-content: flex-start; gap: 12px 24px; }
  .dr-trustbar .item { font-size: 10.5px; letter-spacing: 1.2px; }
}

@media (max-width: 760px) {
  .dr-collections { grid-template-columns: 1fr; }
  .dr-collection:last-child { flex-direction: column; }
  .dr-collection:last-child .media { flex: none; }
  .dr-collection:last-child .body { border-left: 0; border-top: 3px solid var(--accent); }
  .dr-collection .media { aspect-ratio: 16 / 10; }
  .dr-rail-hint { display: block; }
  .dr-sec-head { align-items: flex-start; }
  .dr-hero-assure { gap: 10px 20px; }
}

@media (max-width: 560px) {
  .dr-home { --gutter: 20px; }
  .dr-hero-cta .btn { flex: 1 1 100%; }
  /* Five stacked rows is a lot of vertical spend for a trust strip. */
  .dr-trustbar .shell { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .dr-trustbar .item:last-child { grid-column: 1 / -1; }
  .dr-hero-stat { padding: 8px 13px; }
  .dr-hero-stat .meta { display: none; }
  .dr-rail-track { grid-auto-columns: minmax(230px, 230px); }
  .dr-home .dr-product-card .name { font-size: 19px; }
  .dr-set .name,
  .dr-collection .title { font-size: 24px; }
  .dr-voice blockquote { font-size: 19px; }
  .dr-spot-buy { gap: 14px; }
  .dr-spot-buy .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dr-home *,
  .dr-home *::before,
  .dr-home *::after { transition: none !important; animation: none !important; }
  .dr-home .dr-collection:hover,
  .dr-home .dr-set:hover,
  .dr-home .dr-product-card:hover { transform: none; }
}