/* ============================================================
   BRENDA POWERS — rdhguru.com
   Brand: Forest Green · Gold · Cream
   Fonts: Cormorant Garamond (display) + Work Sans (body)
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem + 0.25vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw,  1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw,    1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem + 1.25vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem + 2.5vw,   3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem + 4vw,       5rem);
  --text-hero: clamp(3rem,     0.5rem + 7vw,     8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;

  /* Easing */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-inout:  cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Work Sans', 'Helvetica Neue', sans-serif;
}

/* ── Light Mode (default) ───────────────────────────────────── */
:root, [data-theme='light'] {
  /* Surfaces — warm cream / ivory */
  --color-bg:              #F8F4EE;
  --color-surface:         #FAF7F2;
  --color-surface-2:       #FCFAF7;
  --color-surface-offset:  #F2EDE5;
  --color-surface-dynamic: #EBE4DA;
  --color-divider:         #DDD6CB;
  --color-border:          #D4CBBC;

  /* Text */
  --color-text:         #1C1A16;
  --color-text-muted:   #6B6459;
  --color-text-faint:   #B0A898;
  --color-text-inverse: #F8F4EE;

  /* Brand */
  --color-primary:          #1E4B3C;
  --color-primary-hover:    #163829;
  --color-primary-active:   #0D2418;
  --color-primary-highlight: #C5D9D1;

  --color-gold:          #C8962A;
  --color-gold-hover:    #B07E1A;
  --color-gold-active:   #956A10;
  --color-gold-highlight: #FBF3E2;

  /* Gold gradient — gleaming sweep from rich gold to bright highlight */
  --gold-gradient:        linear-gradient(135deg, #A87220 0%, #C8962A 30%, #E8BC50 55%, #C8962A 75%, #A87220 100%);
  --gold-gradient-hover:  linear-gradient(135deg, #956410 0%, #B07E1A 30%, #D9A83A 55%, #B07E1A 75%, #956410 100%);
  --gold-text:            #000000;

  --color-accent: var(--color-gold);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30,20,10,0.08);
  --shadow-md: 0 4px 16px rgba(30,20,10,0.10);
  --shadow-lg: 0 12px 40px rgba(30,20,10,0.14);
}

/* ── Dark Mode ──────────────────────────────────────────────── */
[data-theme='dark'] {
  --color-bg:              #161210;
  --color-surface:         #1C1814;
  --color-surface-2:       #201C18;
  --color-surface-offset:  #1A1612;
  --color-surface-dynamic: #2A2420;
  --color-divider:         #2C2620;
  --color-border:          #3C3428;

  --color-text:         #E8E0D4;
  --color-text-muted:   #8C8070;
  --color-text-faint:   #5C5044;
  --color-text-inverse: #161210;

  --color-primary:          #2E6E57;
  --color-primary-hover:    #3A8A6E;
  --color-primary-active:   #4AA682;
  --color-primary-highlight: #1E3830;

  --color-gold:          #D9A83A;
  --color-gold-hover:    #E8BE5A;
  --color-gold-active:   #F2D07A;
  --color-gold-highlight: #2C2010;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #161210;
    --color-surface:         #1C1814;
    --color-surface-2:       #201C18;
    --color-surface-offset:  #1A1612;
    --color-surface-dynamic: #2A2420;
    --color-divider:         #2C2620;
    --color-border:          #3C3428;
    --color-text:         #E8E0D4;
    --color-text-muted:   #8C8070;
    --color-text-faint:   #5C5044;
    --color-text-inverse: #161210;
    --color-primary:          #2E6E57;
    --color-primary-hover:    #3A8A6E;
    --color-primary-active:   #4AA682;
    --color-primary-highlight: #1E3830;
    --color-gold:          #D9A83A;
    --color-gold-hover:    #DFC080;
    --color-gold-active:   #EDD494;
    --color-gold-highlight: #3A2E1C;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
  }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive), transform 300ms var(--ease-out);
  overflow: hidden;
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) clamp(var(--space-4), 4vw, var(--space-10));
  gap: var(--space-3);
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.header-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.header-logo-title {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── Location tag ── */
.header-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-weight: 400;
}

/* ── Header right actions ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.btn-contact {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-text);
  background: var(--gold-gradient);
  background-size: 200% 100%;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(200,150,42,0.3);
  transition: background-position 400ms ease, transform 150ms ease, box-shadow 150ms ease;
  position: relative;
  overflow: hidden;
}

.btn-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 500ms ease;
}

.btn-contact:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,150,42,0.45);
}

.btn-contact:hover::after {
  background-position: 200% 0;
}

.btn-contact:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(200,150,42,0.25);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}

/* ── Hamburger — always visible ── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border: none;
  background: none;
  border-radius: var(--radius-md);
  transition: background 150ms var(--ease-out);
}

.hamburger:hover {
  background: var(--color-primary-highlight);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 220ms var(--ease-out);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Phone CTA in header ── */
.btn-header-contact {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-text);
  background: var(--gold-gradient);
  background-size: 200% 100%;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(200,150,42,0.3);
  position: relative;
  overflow: hidden;
  transition: background-position 400ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.btn-header-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 500ms ease;
}

.btn-header-contact:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,150,42,0.45);
}

.btn-header-contact:hover::after {
  background-position: 200% 0;
}

.btn-header-contact:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .header-location { display: none; }
}

@media (max-width: 480px) {
  .header-logo-text { display: none; }
  .btn-header-contact { display: none; }
}

/* ── Drawer overlay ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 299;
  animation: overlay-in 250ms var(--ease-out) forwards;
}

.drawer-overlay.open {
  display: block;
}

@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Slide-out drawer ── */
.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 90vw;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  overflow: hidden;
}

.site-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.drawer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 150ms, color 150ms;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.drawer-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--color-primary);
  background: var(--color-primary-highlight);
}

/* BioBalance accordion group */
.drawer-group {
  display: flex;
  flex-direction: column;
}

.drawer-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 150ms;
}

.drawer-group-trigger:hover {
  background: var(--color-primary-highlight);
}

.drawer-group-trigger svg {
  transition: transform 250ms var(--ease-out);
  flex-shrink: 0;
  color: var(--color-gold);
}

.drawer-group-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.drawer-group-items {
  display: none;
  flex-direction: column;
  padding-left: var(--space-4);
  padding-bottom: var(--space-2);
  border-left: 2px solid var(--color-primary-highlight);
  margin-left: var(--space-4);
  margin-top: var(--space-1);
}

.drawer-group-items.open {
  display: flex;
}

.drawer-sublink {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 150ms, color 150ms;
}

.drawer-sublink:hover,
.drawer-sublink.active {
  color: var(--color-primary);
  background: var(--color-primary-highlight);
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-bg);
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.4;
  transition: color 150ms;
}

a.drawer-contact-item:hover {
  color: var(--color-primary);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.page-content {
  padding-top: 73px; /* header height */
}

/* Page transitions */
.page {
  display: none;
  opacity: 0;
}

.page.active {
  display: block;
  animation: page-in 400ms var(--ease-out) forwards;
}

@keyframes page-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero-video-wrap {
  position: relative;
  width: 100%;
  height: calc(100svh - 73px);
  min-height: 500px;
  overflow: hidden;
  background: var(--color-primary);
}

/* Mobile: reduce hero height so content below is visible above the fold */
@media (max-width: 768px) {
  .hero-video-wrap {
    height: 68svh;
    min-height: 380px;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 75, 60, 0.45) 0%,
    rgba(20, 30, 20, 0.30) 60%,
    rgba(0,0,0,0.10) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-16) clamp(var(--space-8), 8vw, var(--space-32));
  max-width: var(--content-wide);
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.75);
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 6vw, 6rem);
  font-weight: 500;
  color: #F8F4EE;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 14ch;
}

.hero-headline em {
  font-style: italic;
  color: #D4B87A;
}

.hero-sub {
  font-size: var(--text-base);
  color: rgba(248, 244, 238, 0.80);
  max-width: 44ch;
  margin-bottom: var(--space-8);
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Scroll cue chevron */
.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 2;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-8);
  background: var(--gold-gradient);
  background-size: 200% 100%;
  color: var(--gold-text);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  box-shadow: 0 2px 12px rgba(200,150,42,0.35), var(--shadow-md);
  transition: background-position 400ms ease, transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
}

/* Gleam sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 500ms ease;
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(200,150,42,0.5), var(--shadow-lg);
}

.btn-primary:hover::after {
  background-position: 200% 0;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(200,150,42,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-8);
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 300ms ease, border-color 300ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 300ms ease;
  border-radius: inherit;
}

.btn-outline:hover {
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(200,150,42,0.4);
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline span, .btn-outline svg {
  position: relative;
  z-index: 1;
  color: inherit;
}

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-sm {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
}

.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.container-narrow {
  max-width: var(--content-default);
  margin: 0 auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* Section headline */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.section-title em {
  font-style: italic;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

/* Two-column split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}

.split-layout.reverse {
  direction: rtl;
}
.split-layout.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .split-layout, .split-layout.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Photo */
.photo-block {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-surface-offset);
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}

.photo-block:hover img {
  transform: scale(1.03);
}

/* Photo accent frame */
.photo-block::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(180,145,88,0.2);
  pointer-events: none;
}

/* ============================================================
   SERVICE CARDS — HOME
   ============================================================ */
/* Forest background section */
.section--forest-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(15, 38, 28, 0.72), rgba(15, 38, 28, 0.72)),
    url('assets/ai-mt-baldy-services-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section--forest-bg .service-card {
  background: rgba(248, 244, 238, 0.92);
  border-color: rgba(180, 145, 88, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.section--forest-bg .service-card:hover {
  background: rgba(248, 244, 238, 0.98);
  border-color: var(--color-gold);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  cursor: pointer;
  transition:
    box-shadow 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    background 200ms var(--ease-out);
  text-decoration: none;
  display: block;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-gold);
  background: var(--color-surface-2);
}

.service-card:active {
  transform: translateY(-1px);
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: var(--space-5);
  color: var(--color-gold);
}

.service-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  margin-top: var(--space-5);
  letter-spacing: 0.02em;
  text-decoration: none;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--color-primary);
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0 clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><circle cx="30" cy="30" r="1" fill="rgba(180,145,88,0.15)"/></svg>');
  opacity: 0.4;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.page-hero-label {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(180,145,88,0.85);
  font-weight: 500;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(180,145,88,0.85);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #F8F4EE;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 22ch;
}

.page-hero-title em {
  font-style: italic;
  color: #D4B87A;
}

.page-hero-sub {
  font-size: var(--text-base);
  color: rgba(248, 244, 238, 0.75);
  max-width: 52ch;
  line-height: 1.7;
}

/* Decorative leaf — right side of page hero */
.page-hero-deco {
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: 35%;
  max-width: 360px;
  opacity: 0.07;
}

/* ============================================================
   ABOUT PAGE — QUOTE BLOCK
   ============================================================ */
.blockquote-feature {
  background: var(--color-surface-offset);
  border-left: 3px solid var(--color-gold);
  padding: var(--space-8) var(--space-10);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-block: var(--space-10);
}

.blockquote-feature p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  max-width: 54ch;
}

.blockquote-feature cite {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-4);
  font-style: normal;
  font-weight: 500;
}

/* ============================================================
   WHAT'S INCLUDED — CHECKLIST SECTION
   ============================================================ */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.includes-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.includes-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.includes-item p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
   SUITED FOR CALLOUT
   ============================================================ */
.suited-callout {
  background: linear-gradient(135deg, var(--color-primary) 0%, #163829 100%);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12)) clamp(var(--space-8), 5vw, var(--space-12));
  color: #F8F4EE;
  position: relative;
  overflow: hidden;
}

.suited-callout::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  padding-bottom: 50%;
  border-radius: var(--radius-full);
  background: rgba(180,145,88,0.08);
  pointer-events: none;
}

.suited-callout h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-5);
  color: #D4B87A;
}

.suited-callout ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.suited-callout ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(248, 244, 238, 0.85);
  line-height: 1.6;
}

.suited-callout ul li::before {
  content: '—';
  color: rgba(180,145,88,0.7);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

/* Monogram divider */
.monogram-divider {
  display: flex;
  align-items: center;
  padding: 28px 60px;
  background: var(--color-surface-offset);
}

.monogram-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent 0%, #B49158 40%, #B49158 100%);
}

.monogram-divider-line:last-child {
  --dir: left;
}

.monogram-divider-mark {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  margin: 0 24px;
  border-radius: 50%;
}

.testimonials-section {
  background-color: var(--color-surface-offset);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='200'%3E%3Cpath d='M45 195 C45 175 44 155 43 130 C42 112 42 95 45 80' stroke='rgba(30,75,60,0.16)' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M44 178 C33 172 25 160 28 152 C34 156 42 168 44 178Z' fill='rgba(30,75,60,0.13)'/%3E%3Cpath d='M44 166 C55 160 63 148 60 140 C54 144 47 156 44 166Z' fill='rgba(30,75,60,0.11)'/%3E%3Cpath d='M44 153 C32 146 24 133 27 125 C33 130 43 143 44 153Z' fill='rgba(30,75,60,0.13)'/%3E%3Cpath d='M43 141 C55 134 63 121 60 113 C54 118 46 131 43 141Z' fill='rgba(30,75,60,0.11)'/%3E%3Cpath d='M43 127 C31 120 23 106 26 98 C32 103 43 117 43 127Z' fill='rgba(30,75,60,0.13)'/%3E%3Cpath d='M43 114 C54 107 61 93 58 85 C52 90 44 104 43 114Z' fill='rgba(30,75,60,0.11)'/%3E%3Cpath d='M44 97 C40 86 40 73 44 66 C48 73 48 86 44 97Z' fill='rgba(30,75,60,0.12)'/%3E%3Cpath d='M135 95 C135 75 134 55 133 30 C132 12 132 -5 135 -20' stroke='rgba(30,75,60,0.16)' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M134 78 C123 72 115 60 118 52 C124 56 132 68 134 78Z' fill='rgba(30,75,60,0.13)'/%3E%3Cpath d='M134 66 C145 60 153 48 150 40 C144 44 137 56 134 66Z' fill='rgba(30,75,60,0.11)'/%3E%3Cpath d='M134 53 C122 46 114 33 117 25 C123 30 133 43 134 53Z' fill='rgba(30,75,60,0.13)'/%3E%3Cpath d='M133 41 C145 34 153 21 150 13 C144 18 136 31 133 41Z' fill='rgba(30,75,60,0.11)'/%3E%3Cpath d='M133 27 C121 20 113 6 116 -2 C122 3 133 17 133 27Z' fill='rgba(30,75,60,0.13)'/%3E%3Cpath d='M134 -3 C130 -14 130 -27 134 -34 C138 -27 138 -14 134 -3Z' fill='rgba(30,75,60,0.12)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 200px;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  color: var(--color-gold);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.testimonial-attribution {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================================
   CONTACT CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1A3E2E 100%);
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  text-align: center;
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: #F8F4EE;
  margin-bottom: var(--space-4);
}

.cta-strip p {
  font-size: var(--text-base);
  color: rgba(248,244,238,0.75);
  margin-bottom: var(--space-8);
  max-width: 48ch;
  margin-inline: auto;
}

.cta-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-8);
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(248,244,238,0.8);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.cta-contact-item:hover {
  color: #D4B87A;
}

.cta-contact-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111009;
  color: rgba(248,244,238,0.6);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0 var(--space-8);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: var(--space-8);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(248,244,238,0.9);
  letter-spacing: 0.01em;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(248,244,238,0.45);
  letter-spacing: 0.06em;
}

.footer-bio {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(248,244,238,0.5);
  max-width: 30ch;
}

.footer-col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}

.footer-links li a, .footer-links li span {
  font-size: var(--text-sm);
  color: rgba(248,244,238,0.55);
  text-decoration: none;
  cursor: pointer;
}

.footer-links li a:hover, .footer-links li span:hover {
  color: rgba(180,145,88,0.9);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(248,244,238,0.35);
}

.footer-domain {
  font-size: var(--text-xs);
  color: rgba(180,145,88,0.55);
  letter-spacing: 0.06em;
}

/* ============================================================
   ORAL SYSTEMIC — SYSTEM CARDS
   ============================================================ */
.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.system-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.system-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.system-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme='dark'] .system-card-icon {
  background: var(--color-primary-highlight);
  color: var(--color-gold);
}

.system-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.system-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.system-card ul li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
  line-height: 1.5;
}

.system-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* ============================================================
   PHILOSOPHY STRIP
   ============================================================ */
.philosophy-strip {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}

.philosophy-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  text-align: center;
}

@media (max-width: 640px) {
  .philosophy-items {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.philosophy-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-style: italic;
}

.philosophy-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-inline: auto;
}

/* ============================================================
   CREDENTIALS / STATS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
  margin-block: var(--space-10);
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

[data-theme='dark'] .stat-number {
  color: var(--color-gold);
}

.stat-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================================
   GENERATED IMAGES
   ============================================================ */
.generated-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Full bleed divider image */
.full-bleed-img {
  width: 100%;
  height: clamp(240px, 30vw, 440px);
  object-fit: cover;
  display: block;
}

/* ============================================================
   BREADCRUMB / PAGE NAV
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
}

.breadcrumb a, .breadcrumb span {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb-sep {
  opacity: 0.4;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ============================================================
   OZONE / CLINICAL PHILOSOPHY BLOCK
   ============================================================ */
.philosophy-block {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  color: #F8F4EE;
  position: relative;
  overflow: hidden;
}

.philosophy-block::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  padding-bottom: 50%;
  border-radius: var(--radius-full);
  background: rgba(180,145,88,0.06);
}

.philosophy-block h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: #D4B87A;
  margin-bottom: var(--space-5);
}

.philosophy-block p {
  font-size: var(--text-base);
  color: rgba(248,244,238,0.8);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.philosophy-block p:last-child { margin-bottom: 0; }

/* ============================================================
   MOBILE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .hero-headline { max-width: 20ch; }
  /* Tighten hero text on small screens */
  .hero-eyebrow { font-size: 0.65rem; margin-bottom: var(--space-2); }
  .hero-sub { font-size: 0.9rem; max-width: 36ch; margin-bottom: var(--space-5); }
  .hero-content { padding: var(--space-8) var(--space-6); }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}


/* ============================================================
   SCROLL-DRIVEN ANIMATIONS
   Intersection Observer — fade-rise base, stagger, text reveal
   ============================================================ */

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-text span, .reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Base: Fade + Rise ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1500ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1500ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Staggered cascade for card grids ─────────────────────── */
.reveal-stagger {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1400ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay steps — applied via JS */
.reveal-stagger[data-delay="1"] { transition-delay: 120ms; }
.reveal-stagger[data-delay="2"] { transition-delay: 240ms; }
.reveal-stagger[data-delay="3"] { transition-delay: 360ms; }
.reveal-stagger[data-delay="4"] { transition-delay: 480ms; }
.reveal-stagger[data-delay="5"] { transition-delay: 600ms; }
.reveal-stagger[data-delay="6"] { transition-delay: 720ms; }

/* ── Line-by-line text reveal for headings ────────────────── */
.reveal-text {
  overflow: visible;
}

.reveal-text span.text-line {
  display: block;
  overflow: hidden;
  line-height: 1.2;
}

.reveal-text span.text-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 1400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-text.is-visible span.text-line-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each line */
.reveal-text.is-visible span.text-line:nth-child(1) .text-line-inner { transition-delay: 0ms; }
.reveal-text.is-visible span.text-line:nth-child(2) .text-line-inner { transition-delay: 200ms; }
.reveal-text.is-visible span.text-line:nth-child(3) .text-line-inner { transition-delay: 400ms; }

/* ── Slide from left ─────────────────────────────────────── */
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition:
    opacity 1600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Slide from right ─────────────────────────────────────── */
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition:
    opacity 1600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Image reveal: scale-in ───────────────────────────────── */
.reveal-img {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1600ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1600ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

/* ── CTA contact button (replaces mailto: links in strips) ── */
.cta-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--gold-gradient);
  background-size: 200% 100%;
  border: none;
  color: var(--gold-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(200,150,42,0.3);
  position: relative;
  overflow: hidden;
  transition: background-position 400ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.cta-contact-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 500ms ease;
}

.cta-contact-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(200,150,42,0.45);
}

.cta-contact-btn:hover::after {
  background-position: 200% 0;
}

/* ── Form wrapper section ───────────────────────────────── */
.contact-form-section {
  background: var(--color-bg);
  padding: var(--space-16) 0 var(--space-20);
}

.contact-form-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.contact-form-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* ── Form card ──────────────────────────────────────────── */
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(180,145,88,0.18);
  border-radius: 6px;
  padding: clamp(2rem, 6vw, 3.5rem);
  box-shadow: 0 4px 32px rgba(30,75,60,0.07);
}

/* ── Field group ────────────────────────────────────────── */
.form-field {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid rgba(30,75,60,0.2);
  border-radius: 3px;
  outline: none;
  transition: border-color 250ms ease, box-shadow 250ms ease;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,75,60,0.10);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* two-column row on wider screens */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Submit button ──────────────────────────────────────── */
.form-submit {
  width: 100%;
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-8);
  background: var(--gold-gradient);
  background-size: 200% 100%;
  color: var(--gold-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(200,150,42,0.3);
  position: relative;
  overflow: hidden;
  transition: background-position 400ms ease, transform 200ms ease, box-shadow 200ms ease, opacity 300ms ease;
}

.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 500ms ease;
}

.form-submit:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(200,150,42,0.45);
}

.form-submit:hover::after { background-position: 200% 0; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Success / error states ─────────────────────────────── */
.form-success,
.form-error {
  display: none;
  text-align: center;
  padding: var(--space-6);
  border-radius: 4px;
  margin-top: var(--space-6);
  font-size: var(--text-base);
}

.form-success {
  background: rgba(30,75,60,0.07);
  border: 1px solid rgba(30,75,60,0.25);
  color: var(--color-primary);
}

.form-error {
  background: rgba(180,0,0,0.06);
  border: 1px solid rgba(180,0,0,0.2);
  color: #9b1c1c;
}

.form-success.visible,
.form-error.visible {
  display: block;
}

/* ── Field validation hints ─────────────────────────────── */
.form-input.invalid,
.form-textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}

.form-field-error {
  display: none;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: #c0392b;
}

.form-field-error.visible {
  display: block;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-body {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-4) 0 var(--space-16);
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--color-primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}

.legal-body p { margin-bottom: var(--space-4); }

.legal-body ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-body ul li {
  margin-bottom: var(--space-2);
}

.legal-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-body code {
  font-family: monospace;
  background: rgba(30,75,60,0.07);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.88em;
}

/* Inline button-links inside legal copy */
.legal-inline-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
  line-height: inherit;
}

/* Cookie table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin-top: var(--space-4);
}

.legal-table th {
  background: rgba(30,75,60,0.07);
  color: var(--color-primary);
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: 500;
  border-bottom: 1px solid rgba(30,75,60,0.2);
}

.legal-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(30,75,60,0.08);
  vertical-align: top;
}

@media (max-width: 600px) {
  .legal-table { font-size: var(--text-xs); }
  .legal-table th, .legal-table td { padding: var(--space-2) var(--space-2); }
}

/* ── Footer legal nav ───────────────────────────────────── */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.footer-legal-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 200ms ease;
}

.footer-legal-link:hover { color: var(--color-gold); }

@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: var(--space-3); }
}

/* ── prefers-reduced-motion override ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger, .reveal-left, .reveal-right,
  .reveal-text, .reveal-img {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .text-line-inner {
    transition: none !important;
    transform: none !important;
  }
}



/* ============================================================
   TESTIMONIAL MARQUEE (infinite scroll)
   ============================================================ */

.tc-marquee-outer {
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tc-marquee-track {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

/* Pause on hover */
.tc-marquee-outer:hover .tc-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Each card — fixed comfortable width */
.tc-marquee-track .testimonial-card {
  width: 340px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .tc-marquee-track .testimonial-card { width: 280px; }
  .tc-marquee-track { gap: var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .tc-marquee-track { animation: none; }
  .tc-marquee-outer {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Formspree Ajax — field-level error spans (content injected dynamically) */
[data-fs-error]:not(:empty) {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: #c0392b;
}

/* aria-invalid set by Formspree on invalid fields */
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.10);
}

/* Submit button disabled state during submission */
.form-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */

.ty-section {
  min-height: calc(100vh - 73px);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  padding: var(--space-16) 0;
}

.ty-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

@media (max-width: 780px) {
  .ty-inner {
    grid-template-columns: 1fr;
  }
  .ty-photo-col { order: 2; }
  .ty-content-col { order: 1; }
}

/* ── Photo column ── */
.ty-photo-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(30,75,60,0.14);
  aspect-ratio: 4/5;
}

.ty-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ty-photo-caption {
  margin-top: var(--space-4);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-gold);
}

/* ── Content column ── */
.ty-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(30,75,60,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.ty-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.ty-heading em {
  color: var(--color-gold);
  font-style: italic;
}

.ty-lead {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  font-weight: 400;
}

.ty-body {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* ── Phone block ── */
.ty-phone-block {
  padding: var(--space-5) var(--space-6);
  background: #fff;
  border: 1px solid rgba(180,145,88,0.2);
  border-radius: 4px;
  margin-bottom: var(--space-8);
}

.ty-phone-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.ty-phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 200ms ease;
}

.ty-phone-link:hover { color: var(--color-gold); }
.ty-phone-link svg { flex-shrink: 0; }

.ty-phone-sub {
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.05em;
}

/* ── Action buttons ── */
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.faq-section { padding: var(--space-16) 0 var(--space-20); }

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Group heading ── */
.faq-group { margin-bottom: var(--space-12); }

.faq-group-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--color-primary);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid rgba(180,145,88,0.25);
}

/* ── Each accordion item ── */
.faq-item {
  border-bottom: 1px solid rgba(30,75,60,0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  transition: color 200ms ease;
}

.faq-question:hover { color: var(--color-primary); }

.faq-question[aria-expanded="true"] { color: var(--color-primary); }

/* ── BP mark toggle icon ── */
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  transition: transform 400ms cubic-bezier(0.16,1,0.3,1), background 250ms ease, border-color 250ms ease;
}

.faq-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition: transform 400ms cubic-bezier(0.16,1,0.3,1);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.faq-question[aria-expanded="true"] .faq-icon img {
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

/* ── Answer panel ── */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 500ms cubic-bezier(0.16,1,0.3,1), padding 300ms ease;
  padding: 0;
}

.faq-answer.open {
  max-height: 600px;
  padding-bottom: var(--space-6);
}

.faq-answer p {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Photo breaks ── */
.faq-photo-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin: var(--space-16) 0 var(--space-24);
  padding: var(--space-10) var(--space-8);
  background: #fff;
  border-radius: 6px;
  border: 1px solid rgba(180,145,88,0.12);
  box-shadow: 0 4px 24px rgba(30,75,60,0.06);
}

.faq-photo-break img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  display: block;
  margin-bottom: var(--space-5);
}

/* Portrait photo (photo-80 teeth model) — taller crop, centered so nothing is cut off */
.faq-photo-break img.faq-img-portrait {
  aspect-ratio: 3/4;
  object-position: center center;
  margin-bottom: var(--space-5);
}

.faq-photo-caption p:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.faq-photo-attr {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 500;
}

/* Flip layout for right-aligned photo break */
.faq-photo-break--right .faq-photo-caption--right {
  order: -1;
  text-align: right;
}

@media (max-width: 640px) {
  .faq-photo-break {
    grid-template-columns: 1fr;
    padding: var(--space-6);
  }
  .faq-photo-break--right .faq-photo-caption--right {
    order: 1;
    text-align: left;
  }
}

/* ── CTA at bottom ── */
.faq-cta {
  text-align: center;
  padding: var(--space-16) var(--space-6);
  background: rgba(30,75,60,0.04);
  border-radius: 6px;
  margin-top: var(--space-10);
}

.faq-cta p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  margin-top: var(--space-3);
}
