/*
Theme Name: Glisten Dental
Theme URI: https://glistendental.com/
Description: Obsidian & Gold treatment — black + gold luxury palette with Instrument Serif display. Inspired by Velorah pattern (motionsites.ai luxury category). Reference approved by Dr. Dawood 2026-04-23.
Version: 2.7.0
Author: Glisten Dental
License: Proprietary
Text Domain: glisten-dental
*/

:root {
  /* ═══ OBSIDIAN & GOLD palette — locked 2026-04-23 ═══ */
  --glisten-bg: #0a0a0a;                 /* near-black primary background */
  --glisten-bg-alt: #141414;              /* slightly warmer for alt sections */
  --glisten-surface: #1a1a1a;             /* cards, containers */
  --glisten-surface-raised: #22211d;      /* elevated components */

  --glisten-text: #f5f1e8;                /* warm ivory — softer than pure white */
  --glisten-text-soft: rgba(245, 241, 232, 0.72);
  --glisten-muted: rgba(245, 241, 232, 0.55);
  --glisten-border: rgba(245, 241, 232, 0.08);
  --glisten-border-strong: rgba(245, 241, 232, 0.14);

  --glisten-gold: #c9a46a;                /* antique gold — primary accent */
  --glisten-gold-bright: #e6c888;         /* hover state */
  --glisten-gold-dark: #a8844e;           /* deeper variant */
  --glisten-gold-soft: rgba(201, 164, 106, 0.14);
  --glisten-gold-hairline: rgba(201, 164, 106, 0.3);

  --glisten-danger: #e45858;
  --glisten-success: #6bce9b;

  /* Typography */
  --font-display: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 6rem;
  --space-xxl: 10rem;

  /* Layout */
  --container-max: 1280px;
  --content-max: 70ch;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  /* Shadows — dark-theme appropriate */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 0 40px rgba(201, 164, 106, 0.25);
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--glisten-bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--glisten-text);
  background: var(--glisten-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Stacking: petals above hero bg but below hero content. Petals layer floats over entire page. */
.site-header { position: relative; z-index: 60; }
main { position: relative; z-index: 2; }
.site-footer { position: relative; z-index: 2; }
.hero { z-index: 2; }
.hero__bg { z-index: 0; }
.hero__content { z-index: 55; }
.gold-petals { z-index: 50 !important; }

/* Typography — serif display + sans body */
h1, h2 {
  font-family: var(--font-display);
  color: var(--glisten-text);
  line-height: 1.02;
  margin-top: 0;
  letter-spacing: -0.02em;
  font-weight: 400;
}
h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--glisten-text);
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); margin-bottom: var(--space-md); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: var(--space-sm); }
h3 { font-size: clamp(1.1875rem, 2vw, 1.375rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.0625rem; margin-bottom: var(--space-xs); font-weight: 600; }
em { font-style: italic; color: var(--glisten-gold); }

p { margin-top: 0; margin-bottom: var(--space-sm); color: var(--glisten-text-soft); }
a { color: var(--glisten-gold); text-decoration: none; transition: color 0.2s; border-bottom: 1px solid var(--glisten-gold-soft); padding-bottom: 1px; }
a:hover { color: var(--glisten-gold-bright); border-bottom-color: var(--glisten-gold); }

/* Eyebrow label */
.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--glisten-gold);
  font-weight: 500;
  font-family: var(--font-sans);
  margin-bottom: var(--space-sm);
  display: block;
}

/* Container */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.content-narrow { max-width: var(--content-max); margin: 0 auto; }

/* ═══ Liquid-glass pill — Velorah pattern ═══ */
.liquid-glass {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 1px rgba(245, 241, 232, 0.12),
    inset 0 -1px 1px rgba(245, 241, 232, 0.04);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(245, 241, 232, 0.32) 0%,
    rgba(245, 241, 232, 0.12) 25%,
    rgba(245, 241, 232, 0) 50%,
    rgba(245, 241, 232, 0) 70%,
    rgba(201, 164, 106, 0.35) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1.1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
  border-bottom: none;
  padding-bottom: 1.1rem;
  line-height: 1;
}
.hero__cta .btn {
  padding: 1.25rem 2.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: var(--glisten-gold);
  color: #0a0a0a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--glisten-gold-bright);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 0 60px rgba(201, 164, 106, 0.4);
  border-bottom: none;
}
.btn-ghost {
  background: transparent;
  color: var(--glisten-text);
  border: 1px solid var(--glisten-border-strong);
}
.btn-ghost:hover {
  background: rgba(245, 241, 232, 0.05);
  color: var(--glisten-text);
  border-color: var(--glisten-gold);
  border-bottom: 1px solid var(--glisten-gold);
}
/* Primary CTA fill — used in header "Book Now" + secondary CTAs needing emphasis */
.btn-accent {
  background: var(--glisten-gold);
  color: #0a0a0a;
  border: 1px solid var(--glisten-gold);
  font-weight: 600;
  box-shadow: 0 0 24px rgba(201, 164, 106, 0.18);
}
.btn-accent:hover {
  background: var(--glisten-gold-bright);
  border-color: var(--glisten-gold-bright);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 28px rgba(201, 164, 106, 0.35);
  border-bottom: none;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.02);
  color: var(--glisten-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 232, 0.15);
}
.btn-glass:hover {
  background: rgba(245, 241, 232, 0.08);
  transform: scale(1.02);
  border-color: var(--glisten-gold);
  color: var(--glisten-gold-bright);
  border-bottom: 1px solid var(--glisten-gold);
}

/* ═══ Header ═══ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  pointer-events: none;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem 0.8rem 1.75rem;
  gap: var(--space-md);
  max-width: 1280px;
  margin: 0 auto;
  pointer-events: auto;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--glisten-border);
  border-radius: 100px;
  margin-top: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.site-logo a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--glisten-text);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: none;
  min-width: 0;
}
.site-logo a:hover { color: var(--glisten-gold); border-bottom: none; }
.site-logo__img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 4px;
  flex-shrink: 0;
}
.site-logo__city {
  color: var(--glisten-gold);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-left: 0.625rem;
  border-left: 1px solid rgba(201, 164, 106, 0.35);
  line-height: 1;
  white-space: nowrap;
}
.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--glisten-text);
  line-height: 1;
}
.site-logo__city--inline {
  border-left: none;
  padding-left: 0.25rem;
}
@media (max-width: 480px) {
  .site-logo__img { height: 32px; }
  .site-logo__city { font-size: 0.8125rem; padding-left: 0.5rem; }
}

/* ───── Mobile menu toggle (hamburger) ───── */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 164, 106, 0.35);
  border-radius: 100px;
  width: 40px;
  height: 38px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mobile-menu-toggle:hover { border-color: var(--glisten-gold); background: rgba(201, 164, 106, 0.06); }
.mobile-menu-toggle__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--glisten-gold);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open .mobile-menu-toggle__bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ───── Mobile menu drawer ───── */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* Use pointer-events instead of `visibility: hidden`. Visibility cascades to
     descendants and (on iOS Safari especially) was suppressing pointer-events
     on every link inside the drawer even when the parent flipped to visible.
     pointer-events: none on the parent achieves the same "unclickable when
     closed" without poisoning child cascade. */
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__nav { width: 100%; max-width: 420px; }
.mobile-menu__list,
.mobile-menu .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu__list a,
.mobile-menu .menu a {
  display: block;
  padding: 1rem 1.25rem;
  color: var(--glisten-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(201, 164, 106, 0.12);
  transition: color 0.2s ease, padding 0.2s ease;
}
.mobile-menu__list a:hover,
.mobile-menu .menu a:hover {
  color: var(--glisten-gold);
  padding-left: 1.5rem;
  border-bottom: 1px solid rgba(201, 164, 106, 0.12);
}
.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
  padding: 0 1.25rem;
}
.mobile-menu__cta .btn {
  width: 100%;
  height: 48px;
  padding: 0;
  font-size: 0.875rem;
  /* Center pill text inside the full-width button (defaults to left-align without this) */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
}

@media (max-width: 900px) {
  /* Prevent horizontal page overflow at mobile widths */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  .container { max-width: 100% !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  .mobile-menu-toggle { display: inline-flex !important; position: relative !important; z-index: 100 !important; }
  .header-cta .header-phone { display: none !important; }
  .header-cta .btn-accent { display: none !important; } /* Move CTA into the drawer to keep header tight */
  .site-header__inner { padding: 0.625rem 0.875rem !important; gap: 0.5rem !important; }
  .site-logo__city { font-size: 0.875rem; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; align-items: center; }
.site-nav li { position: relative; }
.site-nav a {
  color: var(--glisten-text-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  border-bottom: none;
  padding: 0.5rem 1.125rem;
  display: inline-block;
  line-height: 1;
}
.site-nav a:hover { color: var(--glisten-gold); border-bottom: none; }

.header-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
/* Shared pill geometry — height + radius + border + transitions only.
   Typography differs intentionally: button is uppercase tracking, phone is natural numeric. */
.header-cta .btn,
.header-cta .header-phone {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.header-cta .btn {
  padding: 0 1.25rem;
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.header-cta .header-phone {
  padding: 0 1.1rem 0 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-feature-settings: "tnum" 1; /* tabular numerals — uniform digit width */
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--glisten-gold);
  text-decoration: none;
  background: transparent;
  border-color: rgba(201, 164, 106, 0.5);
  gap: 0.5rem;
}
.header-cta .header-phone__icon {
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-0.5px);
  color: var(--glisten-gold-bright);
}
.header-cta .header-phone__num {
  letter-spacing: 0.01em;
}
.header-cta .header-phone:hover {
  color: var(--glisten-gold-bright);
  border-color: var(--glisten-gold-bright);
  background: rgba(201, 164, 106, 0.08);
}

/* ───── Language toggle (EN / ES) ───── */
.header-langtoggle {
  height: 38px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glisten-text-soft);
  text-decoration: none;
  border: 1px solid rgba(245, 241, 232, 0.15);
  border-radius: 100px;
  white-space: nowrap;
  transition: all 0.2s ease;
  line-height: 1;
}
.header-langtoggle:hover {
  color: var(--glisten-gold-bright);
  border-color: var(--glisten-gold);
  background: rgba(201, 164, 106, 0.06);
}
.header-langtoggle__current {
  color: var(--glisten-gold);
  font-weight: 700;
}
.header-langtoggle__sep {
  opacity: 0.45;
}
.header-langtoggle__alt {
  opacity: 0.85;
}
@media (max-width: 900px) {
  .header-cta .header-langtoggle { display: none; } /* lives in mobile drawer instead */
}
@media (max-width: 1100px) {
  .header-cta .header-phone__num { display: none; }
  .header-cta .header-phone {
    padding: 0;
    width: 38px;
    justify-content: center;
  }
  .header-cta .header-phone__icon { transform: translateY(0); }
}

/* ═══ Hero — UNIFIED LAYOUT (all viewport widths) ═══════════════════════════
   Goal: photo always shown at NATURAL aspect (1000×662 = 1.51:1), so all 8
   team members + the GLISTEN wall text are visible at every screen size.

   Architecture:
     • Photo container caps at 1000px wide (the image's native resolution)
     • At ≤1000px viewports: photo fills width edge-to-edge
     • At >1000px viewports: photo centered with gutters; gutters filled by a
       large blurred copy of the same photo behind it, so edges feel intentional
       (premium "ambient" effect, not letterbox) */
.hero {
  position: relative;
  display: block;
  background: var(--glisten-bg);
  overflow: hidden;
  padding: clamp(72px, 9vh, 104px) 0 0;
}
/* Ambient blurred backdrop — fills the gutters on wide screens with the photo's
   own warm/dark tones so the design feels intentional rather than letterboxed. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.85)),
    url('/wp-content/uploads/2026/04/glisten-landing-team.jpg');
  background-size: cover, cover;
  background-position: center;
  filter: blur(48px) saturate(0.85);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.hero__bg {
  position: relative;
  inset: auto;
  width: 100%;
  /* Cap at native source size so photo is never upscaled (stays sharp). On wider
     viewports, the photo centers and the blurred backdrop fills the gutters. */
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 1000 / 662;
  z-index: 1;
  background-image:
    /* Soft bottom-fade — photo dissolves into the dark content area below */
    linear-gradient(180deg,
      rgba(10,10,10,0) 0%,
      rgba(10,10,10,0) 78%,
      rgba(10,10,10,0.45) 92%,
      rgba(10,10,10,1)  100%),
    radial-gradient(ellipse 900px 700px at 25% 30%, rgba(201, 164, 106, 0.10) 0%, rgba(201, 164, 106, 0) 60%),
    radial-gradient(ellipse 800px 600px at 75% 80%, rgba(201, 164, 106, 0.08) 0%, rgba(201, 164, 106, 0) 55%),
    url('/wp-content/uploads/2026/04/glisten-landing-team.webp');
  /* Modern browsers: prefer WebP (~54KB vs 189KB JPG) for ~70% LCP byte savings.
     image-set() is supported in iOS Safari 14+ / Chrome / Edge / Firefox 88+. */
  background-image:
    linear-gradient(180deg,
      rgba(10,10,10,0) 0%,
      rgba(10,10,10,0) 78%,
      rgba(10,10,10,0.45) 92%,
      rgba(10,10,10,1)  100%),
    radial-gradient(ellipse 900px 700px at 25% 30%, rgba(201, 164, 106, 0.10) 0%, rgba(201, 164, 106, 0) 60%),
    radial-gradient(ellipse 800px 600px at 75% 80%, rgba(201, 164, 106, 0.08) 0%, rgba(201, 164, 106, 0) 55%),
    image-set(
      url('/wp-content/uploads/2026/04/glisten-landing-team.webp') type('image/webp') 1x,
      url('/wp-content/uploads/2026/04/glisten-landing-team.jpg')  type('image/jpeg') 1x
    );
  /* All layers cover the box; box matches photo aspect, so the JPG fills with no crop */
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-blend-mode: normal, screen, screen, normal;
  background-color: var(--glisten-bg);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}
@keyframes hero-breathe {
  0%   { filter: brightness(1); transform: scale(1); }
  100% { filter: brightness(1.15); transform: scale(1.04); }
}

/* Hero photo (`glisten-landing-team.jpg`) is shared across all 3 sites per
   Anas's call 2026-04-27 evening: keep the team photo even though it carries
   the Gilbert "GLISTEN DENTAL STUDIO" wall sign. Per-site team photo sprint
   would replace it later. The earlier override is removed. */
.hero__bg::before {
  /* subtle noise texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__bg::after {
  /* gentle vignette — softer now that bottom-fade gradient handles the dissolve */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0) 55%, rgba(10,10,10,0.35) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--glisten-text);
  max-width: 880px;
  margin: 0 auto;
  /* Top padding tight — content sits flush below photo, not in a 10rem void.
     The OLD value (--space-xxl) was for the legacy layout where content overlaid
     the bottom of a 100vh hero. New layout puts content in its own block below the
     photo, so it just needs normal section padding. */
  padding: var(--space-md) var(--space-md) var(--space-xl);
}
/* Tight glass scrim — wraps the H1 only, leaving team photo visible around the rest */
.hero__content h1 {
  display: inline-block;
  position: relative;
  color: var(--glisten-text);
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(201, 164, 106, 0.22);
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: fade-rise 0.9s ease-out both;
}
.hero__content h1::after {
  /* Soft gold rim glow */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 164, 106, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__content h1 em {
  font-style: italic;
  color: var(--glisten-gold);
  font-family: var(--font-display);
}

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 400;
  margin-bottom: var(--space-md);
  color: var(--glisten-text);
  letter-spacing: 0.03em;
  animation: fade-rise 0.9s ease-out both;
}
.hero__trust .stars { color: var(--glisten-gold); letter-spacing: 2px; font-size: 0.875rem; }
.hero__trust strong { color: var(--glisten-text); font-weight: 500; }
.hero__trust span.muted { color: var(--glisten-text-soft); }

.hero__subheadline {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--glisten-text-soft);
  margin: var(--space-md) auto var(--space-lg);
  max-width: 58ch;
  line-height: 1.6;
  animation: fade-rise 0.9s ease-out 0.2s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  animation: fade-rise 0.9s ease-out 0.4s both;
}
.hero__fineprint {
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--glisten-muted);
  letter-spacing: 0.08em;
  animation: fade-rise 0.9s ease-out 0.6s both;
}

/* Gold hairline separator */
.gold-rule {
  width: 60px;
  height: 1px;
  background: var(--glisten-gold);
  margin: var(--space-md) auto;
  display: block;
}

/* Staggered entrance animation */
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ GOLD PETAL BACKGROUND — ambient drift (z-index 50 so visible above hero bg) ═══ */
.gold-petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
  will-change: contents;
}
.petal {
  position: absolute;
  top: -8%;
  color: var(--glisten-gold);
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 12px rgba(201, 164, 106, 0.55)) drop-shadow(0 0 4px rgba(230, 200, 136, 0.6));
}
.petal svg { display: block; }

@keyframes petal-drift {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg);   opacity: 0; }
  6%   { opacity: var(--peak-opacity, 0.35); }
  50%  { transform: translate3d(var(--drift-x, 40px), 55vh, 0) rotate(180deg); }
  94%  { opacity: var(--peak-opacity, 0.35); }
  100% { transform: translate3d(var(--end-x, 0), 115vh, 0) rotate(360deg); opacity: 0; }
}
.petal--animate { animation: petal-drift var(--petal-duration, 34s) linear infinite; animation-delay: var(--petal-delay, 0s); }

/* Word-by-word hero reveal */
.hero__content h1 { opacity: 1; }
.hero__content h1 .word {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(30px);
  animation: word-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__content h1 .word em { color: var(--glisten-gold); font-style: italic; }
@keyframes word-in {
  0%   { opacity: 0; filter: blur(14px); transform: translateY(30px); }
  60%  { opacity: 0.6; filter: blur(4px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Gold shimmer on bright text accents */
@keyframes gold-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-gold {
  background: linear-gradient(90deg,
    var(--glisten-gold) 0%,
    var(--glisten-gold-bright) 20%,
    #f0dba5 40%,
    var(--glisten-gold-bright) 60%,
    var(--glisten-gold) 80%,
    var(--glisten-gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gold-shimmer 6s ease-in-out infinite;
}

/* Scroll-reveal for cards (stagger via index) */
.card-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.card-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle gold pulse for the hero trust pill */
@keyframes trust-glow {
  0%, 100% { box-shadow: inset 0 1px 1px rgba(245, 241, 232, 0.12), 0 0 0 rgba(201, 164, 106, 0); }
  50%      { box-shadow: inset 0 1px 1px rgba(245, 241, 232, 0.12), 0 0 28px rgba(201, 164, 106, 0.18); }
}
.hero__trust { animation: fade-rise 0.9s ease-out both, trust-glow 5s ease-in-out 1s infinite; }

/* Service card hover — gold edge sweep */
.service-card { overflow: hidden; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glisten-gold), transparent);
  transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover::before { left: 100%; }

/* Gold-rule animated expand in on reveal */
.gold-rule { transform: scaleX(0); transform-origin: center; animation: rule-expand 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards; }
@keyframes rule-expand { to { transform: scaleX(1); } }

/* Founder quote fade-in when scrolled into view */
.founder__quote { position: relative; }

/* Count-up number animation target */
.count-up { display: inline-block; min-width: 2ch; }

/* ═══ Sections ═══ */
.section {
  padding: var(--space-xl) 0;
  position: relative;
  background: var(--glisten-bg);
  border-top: 1px solid var(--glisten-border);
}
.section--alt { background: var(--glisten-bg-alt); }
.section--dark { background: var(--glisten-surface); }

.section > .container { position: relative; z-index: 1; }

/* Gold geometric decorations */
.gold-mark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--glisten-gold);
  opacity: 0.3;
}
.gold-mark--tl { top: var(--space-lg); left: 4%; }
.gold-mark--tr { top: var(--space-lg); right: 5%; }
.gold-mark--bl { bottom: var(--space-lg); left: 6%; }
.gold-mark--br { bottom: var(--space-lg); right: 4%; }
.gold-mark svg { display: block; }

/* ═══ Welcome ═══ */
.welcome { text-align: center; }
.welcome h2 em { font-style: italic; color: var(--glisten-gold); }

/* ═══ Founder section ═══ */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: center;
}
.founder__photo {
  position: relative;
}
.founder__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
  filter: contrast(1.05);
}
.founder__photo::before {
  content: '';
  position: absolute;
  inset: -10px -10px auto auto;
  width: 60%;
  height: 60%;
  border-top: 1px solid var(--glisten-gold);
  border-right: 1px solid var(--glisten-gold);
  z-index: -1;
  opacity: 0.5;
}
.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--glisten-text);
  margin: var(--space-md) 0;
  font-weight: 400;
  position: relative;
  padding-left: var(--space-md);
}
.founder__quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 3px; height: 1.5em;
  background: var(--glisten-gold);
}

/* ═══ Service grid ═══ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.service-card {
  padding: var(--space-md);
  border: 1px solid var(--glisten-border);
  border-radius: var(--radius-md);
  background: var(--glisten-bg-alt);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  border-bottom: 1px solid var(--glisten-border);
  padding-bottom: var(--space-md);
}
.service-card:hover {
  border-color: var(--glisten-gold);
  background: var(--glisten-surface);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(201,164,106,0.08);
  border-bottom: 1px solid var(--glisten-gold);
}
.service-card__icon {
  font-size: 1.5rem;
  color: var(--glisten-gold);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.02em;
}
.service-card__number {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--glisten-gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--glisten-text);
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.01em;
}
.service-card__desc { color: var(--glisten-text-soft); font-size: 0.9375rem; margin-bottom: 0; line-height: 1.65; }
.service-card__link {
  font-size: 0.75rem;
  color: var(--glisten-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: none;
}
.service-card:hover .service-card__link { color: var(--glisten-gold-bright); border-bottom: none; }

/* ═══ Why cards ═══ */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.why-card {
  background: var(--glisten-bg-alt);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glisten-border);
  position: relative;
}
.why-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--glisten-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
}
.why-card h3 { margin-top: 0; font-size: 1.0625rem; color: var(--glisten-text); font-family: var(--font-sans); }
.why-card p { margin-bottom: 0; color: var(--glisten-text-soft); font-size: 0.9375rem; line-height: 1.7; }

/* ═══ FAQ ═══ */
.faq-item {
  border-bottom: 1px solid var(--glisten-border);
  padding: var(--space-md) 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--glisten-text);
  font-weight: 400;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--glisten-gold); font-size: 1.75rem;
  font-family: var(--font-sans); font-weight: 300;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__answer { padding-top: var(--space-sm); color: var(--glisten-text-soft); font-size: 0.9375rem; line-height: 1.8; }

/* ═══ Testimonials ═══ */
.testimonial {
  background: var(--glisten-bg-alt);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glisten-border);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: var(--space-sm);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--glisten-gold);
  line-height: 1;
  font-style: italic;
}
.testimonial__stars { color: var(--glisten-gold); letter-spacing: 2px; margin-bottom: var(--space-sm); font-size: 0.875rem; padding-top: var(--space-sm); }
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--glisten-text);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
}
.testimonial__author {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--glisten-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ═══ Scroll fade — base ═══ */
.js-enabled .section:not(.in-view) { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.section.in-view { opacity: 1; transform: none; transition: opacity 0.8s ease, transform 0.8s ease; }

/* ═══ Dramatic scroll-reveal animations (per-section choreography) ═══════════
   Each section gets its own entrance choreography keyed off the .in-view class
   that JS adds when the section enters viewport. */

/* ── Welcome / "Dentistry, elevated" — image slides from left, text from right */
.js-enabled .welcome:not(.in-view) .welcome-image {
  opacity: 0;
  transform: translateX(-70px) scale(0.94);
  filter: blur(8px);
}
.js-enabled .welcome:not(.in-view) .welcome-text {
  opacity: 0;
  transform: translateX(60px);
}
.welcome.in-view .welcome-image,
.welcome.in-view .welcome-text {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  transition:
    opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}
.welcome.in-view .welcome-text { transition-delay: 0.18s; }

/* ── Founder / Dr. Dawood section — photo blur-up, quote slides in delayed */
.js-enabled section.section--alt:has(.founder):not(.in-view) .founder__photo {
  opacity: 0;
  transform: translateY(60px) scale(0.92);
  filter: blur(12px);
}
.js-enabled section.section--alt:has(.founder):not(.in-view) .founder__quote,
.js-enabled section.section--alt:has(.founder):not(.in-view) .eyebrow,
.js-enabled section.section--alt:has(.founder):not(.in-view) #founder-heading,
.js-enabled section.section--alt:has(.founder):not(.in-view) .founder + p,
.js-enabled section.section--alt:has(.founder):not(.in-view) blockquote.founder__quote ~ p {
  opacity: 0;
  transform: translateX(50px);
}
section.section--alt:has(.founder).in-view .founder__photo {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: all 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
section.section--alt:has(.founder).in-view .founder__quote,
section.section--alt:has(.founder).in-view .eyebrow,
section.section--alt:has(.founder).in-view #founder-heading,
section.section--alt:has(.founder).in-view blockquote.founder__quote ~ p {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1), transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}
section.section--alt:has(.founder).in-view .eyebrow      { transition-delay: 0.20s; }
section.section--alt:has(.founder).in-view #founder-heading { transition-delay: 0.30s; }
section.section--alt:has(.founder).in-view .founder__quote { transition-delay: 0.45s; }
section.section--alt:has(.founder).in-view blockquote.founder__quote ~ p { transition-delay: 0.60s; }

/* ── Service cards / "Every service, under one roof" — make existing card-reveal MORE dramatic */
.card-reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.94);
  filter: blur(10px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}
.card-reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Add a gold-edge sweep on each service-card AS IT REVEALS (stagger via JS index) */
.service-card.in-view::before {
  animation: card-edge-sweep 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes card-edge-sweep {
  0%   { left: -100%; opacity: 0; }
  50%  { opacity: 0.6; }
  100% { left: 100%; opacity: 0; }
}

/* ── "Why us" cards — 6-up grid with same dramatic reveal + numerical badge highlight */
.why-card {
  position: relative;
  overflow: hidden;
}
.why-card.in-view .why-card__num,
.why-card .why-card__num {
  /* Subtle gold pulse on the numeric badge once revealed */
  transition: color 0.6s ease, text-shadow 0.6s ease;
}
.why-card.in-view .why-card__num {
  text-shadow: 0 0 18px rgba(201, 164, 106, 0.45);
}

/* ── Section eyebrows + headings get a smooth blur-up entrance */
.js-enabled .section:not(.in-view) .eyebrow,
.js-enabled .section:not(.in-view) > .container > .content-narrow > h2,
.js-enabled .section:not(.in-view) > .container > .content-narrow > p {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
}
.section.in-view .eyebrow,
.section.in-view > .container > .content-narrow > h2,
.section.in-view > .container > .content-narrow > p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section.in-view .eyebrow                              { transition-delay: 0.05s; }
.section.in-view > .container > .content-narrow > h2   { transition-delay: 0.18s; }
.section.in-view > .container > .content-narrow > p    { transition-delay: 0.32s; }

/* ── Gold rule under section H2s draws across when section enters view */
.section.in-view .gold-rule {
  animation: gold-rule-expand 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
  transform-origin: center;
}

/* Reduced-motion: kill all dramatic transforms but keep simple opacity */
@media (prefers-reduced-motion: reduce) {
  .js-enabled .welcome:not(.in-view) .welcome-image,
  .js-enabled .welcome:not(.in-view) .welcome-text,
  .js-enabled section.section--alt:has(.founder):not(.in-view) .founder__photo,
  .js-enabled section.section--alt:has(.founder):not(.in-view) .founder__quote,
  .js-enabled .section:not(.in-view) .eyebrow,
  .js-enabled .section:not(.in-view) > .container > .content-narrow > h2,
  .js-enabled .section:not(.in-view) > .container > .content-narrow > p,
  .card-reveal {
    transform: none;
    filter: none;
  }
  .service-card.in-view::before { animation: none; }
}

/* ═══ Footer ═══ */
.site-footer {
  background: var(--glisten-bg);
  color: var(--glisten-text-soft);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--glisten-border);
}
.site-footer a { color: var(--glisten-text-soft); text-decoration: none; border-bottom: none; }
.site-footer a:hover { color: var(--glisten-gold); border-bottom: none; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.site-footer__col h4,
.site-footer__col .site-footer__col-title {
  color: var(--glisten-gold);
  margin-bottom: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: var(--space-xs); font-size: 0.9375rem; }
.site-footer__bottom {
  border-top: 1px solid var(--glisten-border);
  padding-top: var(--space-md);
  font-size: 0.75rem;
  color: var(--glisten-muted);
  text-align: center;
  letter-spacing: 0.1em;
}
/* Underline footer-bottom links so they're distinguishable from surrounding
   muted copyright text (Lighthouse link-in-text-block: copy is #8b8984,
   links would otherwise read as #b3b0aa with only 1.61:1 contrast). */
.site-footer__bottom a {
  text-decoration: underline;
  text-decoration-color: var(--glisten-gold-soft);
  text-underline-offset: 3px;
  border-bottom: none;
}
.site-footer__bottom a:hover {
  text-decoration-color: var(--glisten-gold);
  color: var(--glisten-gold-bright);
}

/* Breadcrumb */
.breadcrumb { font-size: 0.75rem; color: var(--glisten-muted); margin-bottom: var(--space-md); letter-spacing: 0.1em; text-transform: uppercase; }
.breadcrumb a { color: var(--glisten-muted); border-bottom: none; }
.breadcrumb a:hover { color: var(--glisten-gold); border-bottom: none; }
.breadcrumb__separator { margin: 0 var(--space-xs); color: var(--glisten-gold); }

/* Page content */
.page-content { padding: var(--space-lg) 0 var(--space-xl); }
.page-content h2, .page-content h3 { margin-top: var(--space-lg); }
.page-content h2 em, .page-content h3 em { color: var(--glisten-gold); font-style: italic; }
.page-content ul, .page-content ol { padding-left: 1.5em; line-height: 1.85; color: var(--glisten-text-soft); }
.page-content ul li, .page-content ol li { margin-bottom: 0.5rem; }
.page-content ul li::marker { color: var(--glisten-gold); }
.page-content ol li::marker { color: var(--glisten-gold); font-family: var(--font-display); font-style: italic; }
.page-content p { color: var(--glisten-text-soft); line-height: 1.8; }
.page-content strong { color: var(--glisten-text); font-weight: 600; }
.page-content blockquote {
  border-left: 3px solid var(--glisten-gold);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--glisten-text);
  background: var(--glisten-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.page-content blockquote.testimonial {
  background: var(--glisten-bg-alt);
  border: 1px solid var(--glisten-border);
  border-left: 3px solid var(--glisten-gold);
}
.page-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.page-content table { width: 100%; border-collapse: collapse; margin: var(--space-md) 0; }
.page-content th, .page-content td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--glisten-border); color: var(--glisten-text-soft); }
.page-content th { background: var(--glisten-bg-alt); color: var(--glisten-gold); font-weight: 500; font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.page-content a {
  color: var(--glisten-gold);
  text-decoration: underline;
  text-decoration-color: var(--glisten-gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  border-bottom: none;
}
.page-content a:hover {
  color: var(--glisten-gold-bright);
  text-decoration-color: var(--glisten-gold);
}

/* Buttons inside post content must NOT inherit the gold-link styling — that
   was rendering "Call ###-###-####" pills as gold-on-gold (invisible).
   Reset border-bottom and re-apply each variant's intended text color. */
.page-content a.btn,
.page-content a.btn:hover { border-bottom: none; padding-bottom: 1.1rem; text-decoration: none; }
.page-content a.btn-primary,
.page-content a.btn-primary:hover,
.page-content a.btn-accent,
.page-content a.btn-accent:hover { color: #0a0a0a; }
.page-content a.btn-ghost,
.page-content a.btn-glass,
.page-content a.btn-outline { color: var(--glisten-text); }
.page-content a.btn-ghost:hover,
.page-content a.btn-glass:hover { color: var(--glisten-gold-bright); }
.page-content a.btn-outline:hover { color: var(--glisten-gold-bright); }

/* ═══ Page hero (interior page top block) ═══ */
.page-hero {
  padding: calc(var(--space-xxl) + 48px) 0 var(--space-xl);
  background: var(--glisten-bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--glisten-border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 25% 40%, rgba(201, 164, 106, 0.10) 0%, rgba(201, 164, 106, 0) 65%),
    radial-gradient(ellipse 500px 400px at 80% 70%, rgba(201, 164, 106, 0.06) 0%, rgba(201, 164, 106, 0) 55%);
  z-index: 0;
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { margin-bottom: var(--space-md); max-width: 22ch; }
.page-hero__lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--glisten-text-soft);
  line-height: 1.55;
  max-width: 60ch;
  margin-bottom: var(--space-md);
}
.page-hero .gold-rule { margin: var(--space-md) 0 var(--space-lg); }
.page-hero .hero__cta { justify-content: flex-start; }

/* ═══ Team member hero (split portrait + bio) ═══ */
.team-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
}
.team-hero__photo { position: relative; }
.team-hero__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: block;
  filter: contrast(1.05);
}
.team-hero__photo::before {
  content: '';
  position: absolute;
  top: -14px; right: -14px;
  width: 50%; height: 50%;
  border-top: 1px solid var(--glisten-gold);
  border-right: 1px solid var(--glisten-gold);
  opacity: 0.6;
  z-index: -1;
}
.team-hero__photo::after {
  content: '';
  position: absolute;
  bottom: -14px; left: -14px;
  width: 50%; height: 50%;
  border-bottom: 1px solid var(--glisten-gold);
  border-left: 1px solid var(--glisten-gold);
  opacity: 0.6;
  z-index: -1;
}
.team-hero__role {
  color: var(--glisten-gold);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 var(--space-md);
  letter-spacing: 0;
}
.team-hero__excerpt {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--glisten-text-soft);
  margin-bottom: var(--space-md);
}
@media (max-width: 900px) {
  .team-hero { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* ═══ Info aside (cost, credentials, insurance callouts) ═══ */
.info-aside {
  background: var(--glisten-bg-alt);
  border: 1px solid var(--glisten-border);
  border-left: 3px solid var(--glisten-gold);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}
.info-aside h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--glisten-gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.info-aside h3 em { color: var(--glisten-gold-bright); }
.info-aside p:last-child { margin-bottom: 0; }

/* ═══ Urgent banner (emergency pages top) ═══ */
.urgent-banner {
  background: linear-gradient(135deg, rgba(228, 88, 88, 0.14), rgba(201, 164, 106, 0.08));
  border: 1px solid rgba(228, 88, 88, 0.35);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-md);
  margin-bottom: var(--space-lg);
  text-align: center;
  position: relative;
}
.urgent-banner strong {
  color: #ff8a8a;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.urgent-banner a {
  color: var(--glisten-gold-bright);
  font-weight: 600;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--glisten-gold);
  padding-bottom: 2px;
}

/* ═══ First-aid section (emergency pages) ═══ */
.first-aid {
  background: var(--glisten-bg-alt);
  border: 1px solid var(--glisten-border);
  border-left: 4px solid var(--glisten-gold);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
}
.first-aid h2 {
  margin-top: 0;
  color: var(--glisten-gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

/* ═══ Booking CTA (shared final block) ═══ */
.booking-cta {
  background: linear-gradient(135deg, var(--glisten-bg) 0%, var(--glisten-surface) 100%);
  border: 1px solid var(--glisten-gold-hairline);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0 var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.booking-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 400px 200px at 50% 100%, rgba(201, 164, 106, 0.14) 0%, rgba(201, 164, 106, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.booking-cta > * { position: relative; z-index: 1; }
.booking-cta h3 {
  color: var(--glisten-text);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--space-sm);
}
.booking-cta h3 em { color: var(--glisten-gold); font-style: italic; }
.booking-cta p { color: var(--glisten-text-soft); margin-bottom: var(--space-md); font-size: 1rem; }
.booking-cta .hero__cta { justify-content: center; }

/* ═══ FAQ section wrapper on interior pages ═══ */
.faq-section { margin: var(--space-xl) 0 var(--space-lg); }
.faq-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.faq-section h2 em { color: var(--glisten-gold); font-style: italic; }

/* NAP */
.nap-block {
  background: var(--glisten-bg-alt);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glisten-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin: var(--space-md) 0;
}
.nap-block h4 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--glisten-gold);
  margin-bottom: var(--space-xs);
  font-weight: 500;
  font-family: var(--font-sans);
}
.nap-block p { margin: 0; color: var(--glisten-text); font-weight: 400; font-family: var(--font-display); font-size: 1.0625rem; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--glisten-gold); outline-offset: 3px; border-radius: var(--radius-sm); }
.skip-link { position: absolute; left: -9999px; z-index: 999; background: var(--glisten-gold); color: var(--glisten-bg); padding: var(--space-sm); }
.skip-link:focus { left: 0; top: 0; }

/* ═══ Motion polish — interactive luxe layer ═══════════════════════════════
   Idle gold pulses, gold-light sweeps on hover, corner brackets that draw in,
   and deeper lifts. Designed to feel premium without being gimmicky.
   Dr. Dawood ("Revan") is the audience — these read on small phones too. */

/* Idle pulse on primary gold CTAs — subtle eye-magnet that doesn't get annoying */
@keyframes accent-idle-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(201, 164, 106, 0.18); }
  50%      { box-shadow: 0 0 36px rgba(201, 164, 106, 0.34), 0 0 60px rgba(201, 164, 106, 0.16); }
}
.btn-accent {
  animation: accent-idle-pulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Diagonal gold-light sweep across primary CTAs on hover */
.btn-accent::before,
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}
.btn-accent:hover::before,
.btn-primary:hover::before { transform: translateX(130%); }

/* Bigger lift, bigger gold halo, slight scale-up — overrides earlier hover rules */
.btn-accent:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow:
    0 14px 44px rgba(201, 164, 106, 0.45),
    0 0 80px rgba(201, 164, 106, 0.22);
  animation-play-state: paused;
}
.btn-accent:active,
.btn-primary:active {
  transform: translateY(0) scale(0.97);
  transition: transform 0.08s ease;
}

/* Ghost button — gold radial bloom from center on hover + crisp gold border glow */
.btn-ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(201, 164, 106, 0.20) 0%,
    rgba(201, 164, 106, 0) 70%);
  transform: scale(0);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}
.btn-ghost:hover::before { transform: scale(2.2); }
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201, 164, 106, 0.22);
}

/* Service cards — gold corner brackets draw in + deeper lift on hover */
.service-card { isolation: isolate; }
.service-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background:
    linear-gradient(to right,  var(--glisten-gold) 0 24px, transparent 24px) top    left  / 24px 1.5px no-repeat,
    linear-gradient(to bottom, var(--glisten-gold) 0 24px, transparent 24px) top    left  / 1.5px 24px no-repeat,
    linear-gradient(to left,   var(--glisten-gold) 0 24px, transparent 24px) bottom right / 24px 1.5px no-repeat,
    linear-gradient(to top,    var(--glisten-gold) 0 24px, transparent 24px) bottom right / 1.5px 24px no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.service-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(201, 164, 106, 0.14);
}

/* Service card link arrow slides right on hover */
.service-card__link::after {
  content: '\2192'; /* → */
  display: inline-block;
  margin-left: 0.45rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .service-card__link::after { transform: translateX(7px); }

/* Header phone icon shake on hover — playful nudge to call */
@keyframes phone-shake {
  10%, 90% { transform: translate3d(-1px, 0, 0) rotate(-2deg); }
  20%, 80% { transform: translate3d(2px, 0, 0)  rotate(3deg); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0) rotate(-4deg); }
  40%, 60% { transform: translate3d(3px, 0, 0) rotate(4deg); }
}
.header-cta .header-phone:hover .header-phone__icon {
  animation: phone-shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* Header Book Now pill inherits the idle pulse; a touch faster + tighter */
.header-cta .btn-accent {
  animation: accent-idle-pulse 3s ease-in-out infinite;
}

/* Respect users who opt out of motion */
@media (prefers-reduced-motion: reduce) {
  .btn-accent,
  .header-cta .btn-accent { animation: none; }
  .btn-accent::before,
  .btn-primary::before,
  .btn-ghost::before,
  .service-card::after { display: none; }
  .header-cta .header-phone:hover .header-phone__icon { animation: none; }
  .btn-accent:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .service-card:hover { transform: none; }
}

/* ═══ Desktop hero — FULL-BLEED CINEMATIC ═══════════════════════════════════
   At ≥1024px viewports, restore the dramatic full-screen photo with content
   overlaid at the bottom (the "ideal" desktop look). Photo cover-fills the
   viewport; H1 + reviews pill + CTAs sit in a glass scrim at the lower portion
   over a heavy bottom gradient. Mobile/tablet keeps the stacked photo-then-content
   layout from the base rules above. */
@media (min-width: 1024px) {
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* push content to bottom of viewport */
    align-items: center;
    padding: clamp(72px, 9vh, 104px) 0 0;
    overflow: hidden;
  }
  /* Hide the blurred ambient backdrop — full-bleed cover photo replaces it */
  .hero::before { display: none; }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    z-index: 0;
    /* Heavier dark gradient at bottom — content sits over this for legibility */
    background-image:
      linear-gradient(180deg,
        rgba(10,10,10,0.10) 0%,
        rgba(10,10,10,0.15) 35%,
        rgba(10,10,10,0.55) 72%,
        rgba(10,10,10,0.92) 100%),
      radial-gradient(ellipse 900px 700px at 25% 30%, rgba(201, 164, 106, 0.12) 0%, rgba(201, 164, 106, 0) 60%),
      radial-gradient(ellipse 800px 600px at 75% 80%, rgba(201, 164, 106, 0.10) 0%, rgba(201, 164, 106, 0) 55%),
      url('/wp-content/uploads/2026/04/glisten-landing-team.jpg');
    background-size: cover, cover, cover, cover;
    /* center 35% — keeps both rows of faces visible when cover-cropped to viewport */
    background-position: center, center, center, center 35%;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    /* Tight bottom padding pushes content down toward viewport bottom — H1 lands
       over Dr. Dawood's coat/chest instead of over her face */
    padding: 0 var(--space-md) var(--space-md);
    max-width: 760px;
  }
  /* Tighten the glass scrim around H1 — slimmer padding makes the scrim hug the
     text more closely. NO max-width so the H1 keeps its natural 2-line break
     ("Gilbert's most trusted" / "luxury dentist.") instead of awkwardly stacking
     into 3 lines. The reduced bottom padding above pushes content lower so the
     scrim now lands over Dr. Dawood's coat rather than her face. */
  .hero__content h1 {
    padding: 0.85rem 1.4rem;
    line-height: 1.05;
  }

  /* ─── Dramatic on-load entrance sequence ─────────────────────────────────
     Stagger so the eye lands sequentially: rating → headline → tagline → CTAs */
  .hero__trust {
    animation: hero-trust-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }
  .hero__content h1 {
    /* Override the base fade-rise with a more dramatic blur-in / scale + letter-spacing settle */
    animation: hero-h1-dramatic 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
  }
  /* Gold underline draws across under the H1 after it lands */
  .hero__content h1::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(201,164,106,0.85) 50%, transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(201, 164, 106, 0.5);
    animation: hero-h1-underline 1.0s cubic-bezier(0.22, 1, 0.36, 1) 1.85s forwards;
  }
  .hero__subheadline {
    animation: fade-rise 1.0s cubic-bezier(0.22, 1, 0.36, 1) 2.05s both;
  }
  .hero__cta {
    animation: fade-rise 1.0s cubic-bezier(0.22, 1, 0.36, 1) 2.35s both;
  }
  .hero__fineprint {
    animation: fade-rise 1.0s cubic-bezier(0.22, 1, 0.36, 1) 2.65s both;
  }
  .gold-rule {
    animation: gold-rule-expand 0.9s cubic-bezier(0.22, 1, 0.36, 1) 2.0s both;
    transform-origin: center;
  }
}

@keyframes hero-h1-dramatic {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.94);
    letter-spacing: 0.06em;
    filter: blur(14px);
  }
  55% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: -0.01em;
    filter: blur(0);
  }
}
@keyframes hero-trust-in {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-h1-underline {
  0%   { width: 0; opacity: 0; }
  100% { width: 70%; opacity: 1; }
}
@keyframes gold-rule-expand {
  0%   { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(1); opacity: 1; }
}

/* Mobile */
@media (max-width: 900px) {
  :root { --space-xl: 4rem; --space-xxl: 6rem; }
  .site-nav { display: none; }
  .founder { grid-template-columns: 1fr; gap: var(--space-md); }
  /* Hero is unified across all widths — only mobile-specific tweaks here */
  .hero__bg {
    /* Disable breathe animation on small screens — perceived zoom on phones is jarring */
    animation: none;
    transform: none;
  }
  .hero__content {
    padding: var(--space-md) var(--space-md) var(--space-lg);
    max-width: 100%;
  }
  .hero__trust {
    margin-bottom: var(--space-sm);
    padding: 0.4rem 0.875rem;
    font-size: 0.75rem;
  }
  .hero__trust .stars { font-size: 0.8125rem; letter-spacing: 1.5px; }
  .header-cta .btn { padding: 0.625rem 1rem; font-size: 0.75rem; }
  .gold-mark { display: none; }
}

@media (max-width: 600px) {
  .hero__content {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  .hero__content h1 {
    padding: 0.9rem 1.1rem;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
}

/* ──────────────────────────────────────────────────────────
   Print stylesheet — for patients who print directions, hours,
   pricing, or membership pages from the office or at home.
   Drops nav/footer/animations, forces black-on-white, expands
   anchor href values inline so paper readers can still call.
   ────────────────────────────────────────────────────────── */
@media print {
  :root,
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
    filter: none !important;
  }

  /* Hide chrome that doesn't help on paper */
  .site-header,
  .site-nav,
  .site-footer,
  .glisten-petals,
  .gold-petal,
  .hero__bg,
  .hero__media,
  .hero-cta,
  .booking-bar,
  .skip-link,
  video,
  iframe,
  button,
  .btn--primary,
  .btn--secondary,
  noscript,
  .floating-call,
  [aria-hidden="true"] {
    display: none !important;
  }

  /* Keep main content readable, full-bleed on paper */
  main,
  .container,
  article,
  .hero,
  .hero__content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
    color: #000 !important;
  }

  p, blockquote, pre, table, ul, ol {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Render link target in parens after anchor text — patients
     printing directions or hours need the URL/phone visible */
  a[href^="http"]:after,
  a[href^="tel:"]:after,
  a[href^="mailto:"]:after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444 !important;
  }
  a[href^="tel:"]:after {
    content: " — " attr(href);
  }

  /* Force the practice phone + address to stand out */
  .site-phone,
  .nap,
  .footer__nap,
  address {
    font-weight: 700 !important;
    color: #000 !important;
  }

  /* Avoid weird widow/orphan splits on cards/sections */
  section,
  .card,
  .why-card {
    break-inside: avoid;
  }

  @page {
    margin: 0.75in 0.625in;
  }
}
