/* ============================================
   SOZARA HEALTH AND LONGEVITY — Design Tokens
   ============================================ */

:root,
[data-theme='light'] {
  /* Surfaces — warmed with a tan/beige undertone instead of cool gray */
  --color-bg: #f9f6f0;
  --color-surface: #ffffff;
  --color-surface-2: #f7f2e8;
  --color-surface-offset: #f0e6d3;
  --color-surface-offset-2: #e6d8bd;
  --color-surface-dynamic: #dcc9a3;
  --color-divider: #ecdfc8;
  --color-border: #ddcba9;

  /* Brand tan/beige — supporting warmth color */
  --color-tan: #ebdcc5;
  --color-tan-soft: #f5eee0;
  --color-tan-deep: #d9c19a;

  /* Warm charcoal — softened version of primary black for dark sections (less cold/dark than pure charcoal) */
  --color-warm-charcoal: #241f18;
  --color-warm-charcoal-2: #332b1f;

  /* Text */
  --color-text: #0e1317;
  --color-text-muted: #55524a;
  --color-text-faint: #948a76;
  --color-text-inverse: #f7f9f8;

  /* Primary Accent — Teal (brand sheet) */
  --color-primary: #0fa192;
  --color-primary-hover: #0c847a;
  --color-primary-active: #0a6a62;
  --color-primary-highlight: #d9ece7;
  --color-primary-on: #ffffff;

  /* Status (used sparingly — forms only) */
  --color-error: #9a3a3a;
  --color-error-highlight: #f3dede;
  --color-success: #0fa192;
  --color-success-highlight: #d9ece7;

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

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

  /* Shadows — cool charcoal tint */
  --shadow-sm: 0 1px 2px oklch(0.15 0.02 220 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.15 0.02 220 / 0.08);
  --shadow-lg: 0 16px 40px oklch(0.15 0.02 220 / 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1280px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Outfit', 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  color-scheme: light;
}

[data-theme='dark'] {
  --color-bg: #1a1712;
  --color-surface: #211d17;
  --color-surface-2: #26221a;
  --color-surface-offset: #2e281e;
  --color-surface-offset-2: #372f22;
  --color-surface-dynamic: #453a29;
  --color-divider: #372f22;
  --color-border: #453a29;

  --color-tan: #ebdcc5;
  --color-tan-soft: #2e281e;
  --color-tan-deep: #b89b6c;

  --color-warm-charcoal: #17130f;
  --color-warm-charcoal-2: #221d15;

  --color-text: #f5f0e6;
  --color-text-muted: #b9ad98;
  --color-text-faint: #83765f;
  --color-text-inverse: #17130f;

  --color-primary: #2bc2ad;
  --color-primary-hover: #52d1bf;
  --color-primary-active: #1fa392;
  --color-primary-highlight: #24352f;
  --color-primary-on: #0e1317;

  --color-error: #e08585;
  --color-error-highlight: #33201f;
  --color-success: #2bc2ad;
  --color-success-highlight: #24352f;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 20px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1a1712;
    --color-surface: #211d17;
    --color-surface-2: #26221a;
    --color-surface-offset: #2e281e;
    --color-surface-offset-2: #372f22;
    --color-surface-dynamic: #453a29;
    --color-divider: #372f22;
    --color-border: #453a29;
    --color-tan: #ebdcc5;
    --color-tan-soft: #2e281e;
    --color-tan-deep: #b89b6c;
    --color-warm-charcoal: #17130f;
    --color-warm-charcoal-2: #221d15;
    --color-text: #f5f0e6;
    --color-text-muted: #b9ad98;
    --color-text-faint: #83765f;
    --color-text-inverse: #17130f;
    --color-primary: #2bc2ad;
    --color-primary-hover: #52d1bf;
    --color-primary-active: #1fa392;
    --color-primary-highlight: #24352f;
    --color-primary-on: #0e1317;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 4px 20px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

/* Type Scale */
:root {
  --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.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(1.65rem, 1.05rem + 2vw, 2.75rem);

  /* 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;
}

/* ============================================
   Global Layout
   ============================================ */

body {
  overflow-x: hidden;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

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

.section-dark {
  background: var(--color-bg-dark, var(--color-text));
  color: var(--color-text-inverse);
}

[data-theme='light'] .section-dark,
:root:not([data-theme]) .section-dark {
  background: linear-gradient(160deg, #241f18 0%, #17130f 100%);
  color: #f5f0e6;
}
[data-theme='dark'] .section-dark {
  background: linear-gradient(160deg, #17130f 0%, #100d0a 100%);
  color: #f5f0e6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.section-dark .eyebrow {
  color: #52d1bf;
}

h1,
.h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-hero);
  letter-spacing: -0.01em;
}
h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-2xl);
  letter-spacing: -0.005em;
}
h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
}
h4,
.h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: -0.005em;
}

p {
  color: var(--color-text-muted);
  max-width: 62ch;
}

.page-intro {
  text-align: center;
}
.page-intro .eyebrow {
  justify-content: center;
}
.page-intro .h1,
.page-intro .lede {
  margin-inline: auto;
}
p.lede {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 48ch;
}

.section-dark p {
  color: #b9c2c1;
}
.section-dark p.lede {
  color: #f2f5f4;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-on);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: oklch(from var(--color-text) l c h / 0.28);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.section-dark .btn-outline {
  color: #f2f5f4;
  border-color: oklch(1 0 0 / 0.28);
}
.section-dark .btn-outline:hover {
  border-color: #52d1bf;
  color: #52d1bf;
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding-inline: var(--space-4);
}
.btn-ghost:hover {
  color: var(--color-primary);
}

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.6);
  transition:
    transform 0.3s var(--ease-in-out),
    box-shadow 0.3s var(--ease-in-out);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}
.brand-mark img {
  height: 44px;
  width: auto;
  display: block;
}
.brand-mark .logo-dark {
  display: none;
}
[data-theme='dark'] .brand-mark .logo-light {
  display: none;
}
[data-theme='dark'] .brand-mark .logo-dark {
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav-links a {
  color: var(--color-text-muted);
  position: relative;
  padding-block: var(--space-1);
}
.nav-links a:hover {
  color: var(--color-text);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--color-primary);
  transition: right var(--transition-interactive);
}
.nav-links a:hover::after {
  right: 0;
}

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  position: relative;
}
.theme-toggle:hover {
  color: var(--color-primary);
  background: var(--color-surface-offset);
}
.theme-toggle .icon-moon {
  display: none;
}
[data-theme='dark'] .theme-toggle .icon-sun {
  display: none;
}
[data-theme='dark'] .theme-toggle .icon-moon {
  display: block;
}

.nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text);
}
.nav-toggle:hover {
  background: var(--color-surface-offset);
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-actions .btn-primary {
    display: none;
  }
  .brand-mark img {
    height: 36px;
  }
}

/* Mobile nav sheet */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-24) var(--space-6) var(--space-8);
  gap: var(--space-6);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.mobile-nav .btn {
  align-self: flex-start;
  margin-top: var(--space-4);
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #f2f5f4;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, oklch(0.14 0.03 55 / 0.3) 0%, oklch(0.13 0.035 55 / 0.5) 55%, oklch(0.11 0.04 55 / 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-24) var(--space-16);
  width: 100%;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #52d1bf;
  margin-bottom: var(--space-6);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52d1bf;
  box-shadow: 0 0 0 4px oklch(0.75 0.13 178 / 0.18);
}
.hero h1 {
  color: #f7f9f8;
  max-width: 32ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  text-align: center;
}
.hero .lede {
  color: #e2d9c8;
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  text-align: center;
}
.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-10);
  max-width: 50ch;
}
.hero-pillars li {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2d9c8;
  padding-right: var(--space-5);
}
.hero-pillars li::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #52d1bf;
}
.hero-pillars li:last-child {
  padding-right: 0;
}
.hero-pillars li:last-child::after {
  display: none;
}
@media (max-width: 640px) {
  .hero-pillars {
    gap: var(--space-3) var(--space-4);
  }
  .hero-pillars li {
    padding-right: var(--space-4);
    font-size: 0.68rem;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}
.hero .btn-outline {
  color: #f2f5f4;
  border-color: oklch(1 0 0 / 0.32);
}
.hero .btn-outline:hover {
  border-color: #52d1bf;
  color: #52d1bf;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
  border-top: 1px solid oklch(1 0 0 / 0.16);
  padding-top: var(--space-6);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.hero-meta-item .label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa19d;
}
.hero-meta-item .value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #f2f5f4;
}

/* ============================================
   Manifesto / Pull Quote
   ============================================ */

.manifesto {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 860px) {
  .manifesto {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    gap: var(--space-16);
  }
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.005em;
}
.manifesto-quote em {
  font-style: italic;
  color: var(--color-primary);
}
.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding-top: var(--space-3);
}

/* ============================================
   Functional Medicine as Primary Care
   ============================================ */

/* Founder introduction keeps existing public marketing and theme tokens. */
.founder-welcome {
  background: var(--color-surface);
  border-block: 1px solid var(--color-divider);
}
.founder-welcome-heading {
  max-width: 680px;
  margin: 0 auto var(--space-8);
  text-align: center;
}
.founder-welcome-heading .eyebrow { justify-content: center; }
.founder-welcome-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  margin-block: var(--space-4);
}
.founder-welcome-heading > p:last-child { color: var(--color-text-muted); }
.founder-film { max-width: 960px; margin-inline: auto; }
.founder-player {
  position: relative;
  background: #0e1317;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.founder-player video { display: block; width: 100%; aspect-ratio: 1918 / 1080; object-fit: contain; }
.founder-play {
  position: absolute;
  inset: auto auto 72px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: var(--space-4) var(--space-6);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: var(--radius-full);
  color: #0e1317;
  background: #f9f6f0;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
}
.founder-play:hover { background: #d9ece7; }
.founder-play:focus-visible { outline: 3px solid white; outline-offset: 5px; }
.founder-play[hidden], .founder-video-error[hidden] { display: none; }
.founder-play[disabled] { cursor: wait; }
.founder-play svg { flex-shrink: 0; }
.founder-play-duration { margin-left: var(--space-2); font-weight: 400; }
.founder-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-6);
}
.founder-caption strong { display: block; font-size: var(--text-lg); font-weight: 500; }
.founder-caption span, .founder-caption p { color: var(--color-text-muted); font-size: var(--text-sm); }
.founder-caption p { max-width: 290px; text-align: right; }
.founder-video-error {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.founder-video-error a { text-decoration: underline; }
@media (max-width: 640px) {
  .founder-caption { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .founder-caption p { max-width: none; text-align: left; }
  .founder-play { inset: auto auto 52px 16px; padding: var(--space-3) var(--space-4); gap: var(--space-2); }
  .founder-play svg { width: 22px; height: 22px; }
}

.fm-section {
  background: var(--color-tan-soft);
}
.fm-grid {
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 860px) {
  .fm-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: var(--space-16);
    align-items: start;
  }
}
.fm-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 560px) {
  .fm-features {
    grid-template-columns: 1fr 1fr;
  }
}
.fm-feature-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.fm-feature h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.fm-feature p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ============================================
   Assessment Promo
   ============================================ */

.assessment-promo {
  background: var(--color-tan-soft);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
[data-theme='dark'] .assessment-promo {
  background: var(--color-surface);
}
/* Warm tan utility — for accent sections that benefit from warmth */
.bg-tan { background: var(--color-tan); }
[data-theme='dark'] .bg-tan { background: var(--color-surface-offset); }
.assessment-promo-inner {
  display: grid;
  gap: var(--space-10);
  background: var(--color-tan);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-12), 7vw, var(--space-16));
  margin-block: clamp(var(--space-10), 6vw, var(--space-14));
}
[data-theme='dark'] .assessment-promo-inner {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-tan-deep);
}
@media (min-width: 860px) {
  .assessment-promo-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}
.assessment-promo-text .eyebrow {
  color: #6b5a35;
}
[data-theme='dark'] .assessment-promo-text .eyebrow {
  color: var(--color-primary);
}
.assessment-promo-text h2 {
  color: #241d10;
}
[data-theme='dark'] .assessment-promo-text h2 {
  color: var(--color-text);
}
.assessment-promo-text .lede {
  color: #4a3f28;
}
[data-theme='dark'] .assessment-promo-text .lede {
  color: var(--color-text-muted);
}
.assessment-promo-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.assessment-promo-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: oklch(1 0 0 / 0.35);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #241d10;
}
[data-theme='dark'] .assessment-promo-item {
  background: oklch(1 0 0 / 0.06);
  color: var(--color-text);
}
.assessment-promo-item span {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: var(--text-sm);
}

/* ============================================
   Memberships — Tier Sections
   ============================================ */

.tier-section {
  border-top: 1px solid var(--color-divider);
}
.tier-section-head {
  max-width: 42rem;
  margin-bottom: var(--space-10);
}

/* Tab bar — segmented pill control (Men / Women / Primary Care) */
.tier-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--color-surface-offset);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-12);
}
.tier-tab {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  transition: background 0.2s ease, color 0.2s ease;
}
.tier-tab:hover {
  color: var(--color-text);
}
.tier-tab.is-active {
  background: var(--color-warm-charcoal);
  color: var(--color-text-inverse);
}
.tier-panel[hidden] {
  display: none;
}
.tier-panel-head {
  max-width: 46rem;
  margin-bottom: var(--space-10);
}

.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 720px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tier cards — badge ribbon, checklist, dark inverted top tier */
.tier-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.tier-card-badge {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: var(--space-8);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary-on);
  background: var(--color-primary);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}
.tier-card.is-featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.tier-card.is-dark {
  /* Fixed brand charcoal/white — intentionally does NOT flip with light/dark theme,
     so this "concierge" card always reads as a premium dark card. */
  background: #0e1317;
  border-color: #0e1317;
  color: #f7f9f8;
}
.tier-card.is-dark .tier-card-badge {
  background: #d9c19a;
  color: #0e1317;
}
.tier-card.is-dark .tier-card-eyebrow {
  color: #d9c19a;
}
.tier-card.is-dark h3,
.tier-card.is-dark p,
.tier-card.is-dark .tier-features li {
  color: #f7f9f8;
}
.tier-card.is-dark .tier-features li::before {
  color: #2bc2ad;
}
.tier-card.is-dark .btn-outline {
  color: #f7f9f8;
  border-color: rgba(247, 249, 248, 0.35);
}
.tier-card.is-dark .btn-outline:hover {
  background: rgba(247, 249, 248, 0.1);
}
.tier-card-eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}
.tier-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
}
.tier-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex-grow: 1;
}
.tier-features li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}
.tier-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-primary);
  font-weight: 700;
}
.tier-card .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* Every plan includes — shared checklist card beneath the tier grid */
.plan-includes {
  margin-top: var(--space-10);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
}
.plan-includes h4 {
  margin-bottom: var(--space-1);
}
.plan-includes > p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.plan-includes-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3) var(--space-8);
}
@media (min-width: 640px) {
  .plan-includes-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.plan-includes-grid li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.plan-includes-grid li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   Services — Editorial Rows
   ============================================ */

.service-row {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
  border-bottom: 1px solid var(--color-divider);
}
.service-row:first-of-type {
  border-top: 1px solid var(--color-divider);
}
@media (min-width: 860px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .service-row.is-reversed .service-row-media {
    order: 2;
  }
  .service-row.is-reversed .service-row-text {
    order: 1;
  }
}
.service-row-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-in-out);
}
.service-row:hover .service-row-media img {
  transform: scale(1.04);
}
.service-row-index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
  display: block;
}
.service-row-text h3 {
  margin-bottom: var(--space-4);
}
.service-row-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-5);
}
.tag {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
}

/* ============================================
   Philosophy — Full bleed + numbered list
   ============================================ */

.philosophy {
  position: relative;
  color: #f2f5f4;
}
.philosophy-media {
  position: absolute;
  inset: 0;
}
.philosophy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.philosophy-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, oklch(0.13 0.03 55 / 0.92) 0%, oklch(0.13 0.035 55 / 0.84) 45%, oklch(0.32 0.05 75 / 0.72) 100%);
}
.philosophy-inner {
  position: relative;
  z-index: 1;
}
.philosophy-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}
@media (min-width: 760px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
  }
}
.pillar {
  border-top: 1px solid oklch(1 0 0 / 0.2);
  padding-top: var(--space-5);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #52d1bf;
  display: block;
  margin-bottom: var(--space-3);
}
.pillar h4 {
  color: #f2f5f4;
  margin-bottom: var(--space-2);
}
.pillar p {
  color: #b9c2c1;
  font-size: var(--text-sm);
}

/* ============================================
   Provider / About
   ============================================ */

.provider {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 860px) {
  .provider {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: var(--space-16);
    align-items: start;
  }
}
.provider-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.provider-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.provider-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.provider-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.credential-item {
  flex: 1 1 200px;
}
.credential-item .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  display: block;
}
.credential-item .label {
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

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

.faq-list {
  border-top: 1px solid var(--color-divider);
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
}
.faq-question:hover {
  color: var(--color-primary);
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-in-out);
}
.faq-item[data-open='true'] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-in-out);
}
.faq-item[data-open='true'] .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer p {
  padding-bottom: var(--space-6);
  max-width: 68ch;
}

/* ============================================
   Waitlist / Contact
   ============================================ */

.waitlist {
  position: relative;
  color: #f2f5f4;
}
.waitlist-media {
  position: absolute;
  inset: 0;
}
.waitlist-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.waitlist-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.14 0.03 55 / 0.88) 0%, oklch(0.14 0.035 55 / 0.8) 100%);
}
.waitlist-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .waitlist-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-20);
  }
}
.waitlist-info,
.waitlist-form {
  min-width: 0;
}
.waitlist-info h1,
.waitlist-info h2 {
  color: #f7f9f8;
}
.waitlist-info h1 {
  font-size: var(--text-hero);
}
.waitlist-info p {
  color: #c3cccb;
}
.waitlist-location {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.location-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.location-row svg {
  flex-shrink: 0;
  color: #52d1bf;
  margin-top: 2px;
}
.location-row .label {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fa19d;
  display: block;
  margin-bottom: 2px;
}
.location-row .value {
  color: #f2f5f4;
  font-weight: 500;
}

.waitlist-form {
  background: oklch(0.98 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
}
.form-grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 560px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.field input,
.field select,
.field textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.field label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b9c2c1;
}
.field input,
.field select,
.field textarea {
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: #f7f9f8;
  font-size: var(--text-base);
  min-height: 48px;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7c8a87;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid #52d1bf;
  outline-offset: 2px;
  border-color: #52d1bf;
}
.field select option {
  color: #0e1317;
}
.form-note {
  font-size: var(--text-xs);
  color: #8fa19d;
  margin-top: var(--space-2);
}
.form-submit {
  margin-top: var(--space-2);
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8) var(--space-4);
}
.form-success.is-visible {
  display: block;
}
.form-success .check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-highlight, oklch(0.75 0.13 178 / 0.16));
  color: #52d1bf;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}
.form-success h3 {
  color: #f7f9f8;
  margin-bottom: var(--space-2);
}
.form-success p {
  color: #c3cccb;
  max-width: 40ch;
  margin-inline: auto;
}
.waitlist-form.is-submitted .form-grid,
.waitlist-form.is-submitted .form-submit,
.waitlist-form.is-submitted .form-note {
  display: none;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-8);
}
.footer-top {
  display: grid;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}
@media (min-width: 760px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.footer-brand img {
  height: 54px;
  width: auto;
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  max-width: 34ch;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================
   Scroll Reveal
   ============================================ */

.reveal {
  opacity: 1;
}
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* ============================================
   Skip Link
   ============================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-primary-on);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 999;
  font-size: var(--text-sm);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-4);
}

/* ============================================
   Membership additions (Sept 2026)
   ============================================ */

.tier-grid--single {
  grid-template-columns: minmax(0, 520px) !important;
  justify-content: center;
}

.tier-upgrade-note {
  margin-top: var(--space-7);
  text-align: center;
  color: var(--color-text-muted, var(--color-text));
  font-size: var(--text-base);
  max-width: 62ch;
  margin-inline: auto;
}

.provider-oversight {
  margin-top: var(--space-10);
  padding: var(--space-8) var(--space-8);
  background: var(--color-surface, transparent);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.provider-oversight p {
  max-width: 78ch;
  margin-inline: auto;
  text-align: center;
  font-size: var(--text-lg, 1.125rem);
  line-height: 1.65;
  color: var(--color-text);
}

/* ============================================
   Footer trust / certification logos
   ============================================ */

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  flex-wrap: wrap;
  padding: var(--space-8) 0;
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.trust-logos .trust-logo-label {
  font-size: var(--text-xs, 0.75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted, var(--color-text));
  opacity: 0.72;
}
.trust-logos img {
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 200ms ease;
  filter: none;
}
[data-theme='dark'] .trust-logos img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.trust-logos img:hover { opacity: 1; }

@media (max-width: 640px) {
  .trust-logos { gap: var(--space-8); padding: var(--space-6) 0; }
  .trust-logos img { height: 44px; }
}

/* ============================================================
   SERVICE / FAQ / 404 / SERVICE-AREAS — appended 2026-09-13
   ============================================================ */

/* Service hero */
.svc-hero { position: relative; overflow: hidden; min-height: 62vh; display: grid; place-items: end start; color: #fff; padding: var(--space-14) 0; }
.svc-hero-media { position: absolute; inset: 0; }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,25,25,.10) 0%, rgba(20,25,25,.55) 55%, rgba(20,25,25,.75) 100%); }
.svc-hero-inner { position: relative; z-index: 2; padding-inline: var(--container-gutter, 24px); }
.svc-hero-inner .eyebrow { color: #fff; }
.svc-hero-inner .eyebrow .eyebrow-dot { display: inline-block; width: 6px; height: 6px; background: var(--teal, #0fa192); border-radius: 999px; margin-right: 8px; }
.svc-hero-inner h1 { color: #fff; }
.svc-hero-inner .lede { color: rgba(255,255,255,.92); }

/* Alternating content blocks */
.svc-block { padding-block: var(--space-14); }
.svc-block.bg-tan { background: var(--tan-warm, #f6efe6); }
[data-theme="dark"] .svc-block.bg-tan { background: var(--charcoal-800, #1a1a1a); }
.svc-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) 1.3fr; gap: var(--space-10); align-items: start; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; gap: var(--space-8); } }
.svc-grid > div:first-child h2 { max-width: 100% !important; font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.2; }
@media (min-width: 1100px) { .svc-grid > div:first-child h2 { max-width: 22ch !important; } }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.svc-list li { position: relative; padding-left: 1.75rem; font-size: 1.0625rem; line-height: 1.7; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 12px; height: 2px; background: var(--teal, #0fa192); }

/* FAQ accordion (used on service pages + FAQ page) */
.svc-faqs { display: grid; gap: var(--space-4); }
.svc-faq { border: 1px solid var(--line, rgba(0,0,0,.10)); border-radius: 12px; background: var(--bg-elev, #fff); overflow: hidden; }
[data-theme="dark"] .svc-faq { background: var(--charcoal-700, #222); border-color: rgba(255,255,255,.10); }
.svc-faq[open] { box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.svc-faq > summary { list-style: none; cursor: pointer; padding: var(--space-6) var(--space-7); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.svc-faq > summary::-webkit-details-marker { display: none; }
.svc-faq > summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--teal, #0fa192); transition: transform .2s ease; }
.svc-faq[open] > summary::after { content: "−"; }
.svc-faq > summary h3 { margin: 0; font-size: 1.0625rem; font-weight: 500; }
.svc-faq-body { padding: 0 var(--space-7) var(--space-6); }
.svc-faq-body p { margin: 0; line-height: 1.7; color: var(--text-muted, #555); }
[data-theme="dark"] .svc-faq-body p { color: rgba(255,255,255,.80); }

/* Service areas grid */
.service-areas { padding-block: var(--space-12); }
.service-areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-3) var(--space-6); margin-top: var(--space-8); }
.service-areas-grid span { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--text-muted, #555); }
.service-areas-grid span::before { content: ""; width: 6px; height: 6px; background: var(--teal, #0fa192); border-radius: 999px; flex-shrink: 0; }
[data-theme="dark"] .service-areas-grid span { color: rgba(255,255,255,.75); }

/* 404 page */
.err-hero { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--space-14) 0; }
.err-code { font-family: var(--font-display, 'Outfit', sans-serif); font-size: clamp(6rem, 18vw, 12rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--teal, #0fa192); }
.err-actions { margin-top: var(--space-8); display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }

/* Service hero outline button on dark backdrop */
.svc-hero .btn-outline {
  color: #f2f5f4;
  border-color: oklch(1 0 0 / 0.32);
  background: transparent;
}
.svc-hero .btn-outline:hover {
  border-color: #52d1bf;
  color: #52d1bf;
}

/* ---------- Service pages: breathing room + comfortable side padding ---------- */
.svc-hero .container,
.svc-block .container {
  padding-inline: clamp(1.5rem, 5vw, 3.5rem);
}
.svc-hero { padding: clamp(var(--space-14), 12vw, var(--space-20)) 0; }
.svc-hero-inner { padding-block: var(--space-10); }
.svc-block { padding-block: clamp(var(--space-12), 8vw, var(--space-20)); }
.svc-block .svc-grid > div { padding-block: var(--space-2); }
.svc-block p { max-width: 65ch; }

/* FAQ page: vertical centering + section rhythm */
.faq-section { padding-block: clamp(var(--space-12), 7vw, var(--space-16)); }
.faq-section .container { padding-inline: clamp(1.5rem, 5vw, 3rem); }
.faq-section > .container { max-width: 860px; }
.faq-section h2 { margin-block: var(--space-4) var(--space-8); text-align: center; }
.faq-section .eyebrow { display: block; text-align: center; }
.faq-hero { padding-block: clamp(var(--space-16), 10vw, var(--space-24)); text-align: center; }
.faq-hero .container { padding-inline: clamp(1.5rem, 5vw, 3rem); }

/* Waitlist / bottom-CTA: force white subtitle over dark bg-image */
.waitlist .lede,
.waitlist p.lede {
  color: #ffffff !important;
}



/* ---------- Florida service areas page ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--space-6); margin-top: var(--space-10); }
.area-card { background: var(--color-surface, #fff); border: 1px solid var(--color-border, rgba(0,0,0,.08)); border-radius: 14px; padding: var(--space-6); }
.area-card h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 var(--space-3); }
.area-card > p { color: var(--color-text-muted, #555); font-size: 0.975rem; line-height: 1.6; margin: 0 0 var(--space-4); }
.area-metro { font-size: 0.95rem; font-weight: 600; margin: var(--space-4) 0 var(--space-2); }
.area-pop { font-weight: 400; color: var(--color-text-muted, #666); font-size: 0.85rem; }
.area-cities { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.area-cities li { font-size: 0.875rem; padding: 4px 10px; border-radius: 999px; background: rgba(15,161,146,.08); color: var(--color-text, #222); }
.area-source { margin-top: var(--space-6); font-size: 0.8125rem; color: var(--color-text-muted, #666); }
.area-faq + .area-faq { margin-top: var(--space-6); }
.area-faq h3 { font-size: 1.125rem; line-height: 1.35; margin: 0 0 var(--space-2); }
.area-faq p { font-size: 1.0625rem; line-height: 1.7; margin: 0; }
.service-areas-more { margin-top: var(--space-8); }
[data-theme="dark"] .area-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .area-cities li { color: rgba(255,255,255,.85); background: rgba(15,161,146,.18); }


/* Social profile links (footer + contact) */
.footer-phone { margin-top: var(--space-3); font-weight: 500; }
.footer-phone a { color: inherit; text-decoration: none; }
.footer-phone a:hover { color: var(--color-primary); }
.social-links { display: flex; gap: var(--space-2); list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--color-divider); color: var(--color-text-muted);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.social-links a:hover, .social-links a:focus-visible { color: var(--color-primary); border-color: var(--color-primary); }
.social-links--contact { margin-top: var(--space-2); }
.social-links--contact a { border-color: oklch(1 0 0 / 0.22); color: #f2f5f4; }
.social-links--contact a:hover, .social-links--contact a:focus-visible { color: #52d1bf; border-color: #52d1bf; }

/* Licensure & NPI identifiers on About */
.provider-identifiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-4); margin: var(--space-6) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--color-divider); }
.provider-identifiers dt { font-size: var(--text-xs); letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-faint); }
.provider-identifiers dd { margin: var(--space-1) 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Secondary provider (Medical Director) — mirrors the lead clinician layout */
.provider-section--secondary { padding-top: 0; }
.provider-section--secondary .provider { padding-top: var(--space-12); border-top: 1px solid var(--color-divider); }
@media (min-width: 860px) {
  .provider--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .provider--reverse .provider-media { order: 2; }
  .provider--reverse .provider-text { order: 1; align-self: center; }
}

/* Contact form: consent, errors, spam trap */
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-5); font-size: var(--text-sm); line-height: 1.5; color: #d7dedc; cursor: pointer; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: #0fa192; }
.form-consent a { color: #52d1bf; text-decoration: underline; }
.form-error { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md, 8px); background: oklch(0.55 0.16 25 / 0.18); border: 1px solid oklch(0.7 0.14 25 / 0.5); color: #fbe3df; font-size: var(--text-sm); }
.form-error a { color: #fff; text-decoration: underline; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }

/* Clinic address in footer */
.footer-address { font-style: normal; line-height: 1.5; }
.footer-address a { color: inherit; }

/* ============================================
   Aesthetics page (2026-11) — St. Augustine in-clinic focus
   ============================================ */
.aes-hero { padding-block: clamp(var(--space-12), 8vw, var(--space-20)); background: var(--color-surface-2); border-bottom: 1px solid var(--color-divider); }
.aes-hero .container, .aes-gold-section .container, .aes-mn .container, .aes-services-section .container { padding-inline: clamp(1.5rem, 5vw, 3.5rem); }
.aes-hero-grid { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.aes-hero .eyebrow-dot { display: inline-block; width: 6px; height: 6px; background: var(--color-primary); border-radius: 999px; }
.aes-hero-services { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.aes-hero-services a { display: inline-block; padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; color: var(--color-text); text-decoration: none; background: var(--color-surface); transition: border-color .2s, color .2s; }
.aes-hero-services a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.aes-hero-actions { margin-top: var(--space-8); display: flex; gap: var(--space-4); flex-wrap: wrap; }
.aes-hero-media { margin: 0; }
.aes-hero-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); display: block; }
.aes-hero-media figcaption { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-text-muted); letter-spacing: 0.04em; }
@media (max-width: 900px) { .aes-hero-grid { grid-template-columns: 1fr; } .aes-hero-media { order: -1; } }

/* Gold membership — fixed premium charcoal, independent of theme */
.aes-gold-section { padding-block: clamp(var(--space-10), 6vw, var(--space-16)); }
.aes-gold { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-8), 4vw, var(--space-16)); background: #0e1317; color: #f7f9f8; border-radius: var(--radius-xl); padding: clamp(var(--space-8), 5vw, var(--space-16)); border: 1px solid #d9c19a55; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.aes-gold::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: linear-gradient(90deg, #d9c19a, #b89b6c 60%, transparent); }
.aes-gold-badge { display: inline-block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #0e1317; background: #d9c19a; padding: var(--space-1) var(--space-4); border-radius: var(--radius-full); }
.aes-gold h2 { color: #f7f9f8; margin-top: var(--space-5); max-width: 18ch; }
.aes-gold-price { margin-top: var(--space-5); display: flex; align-items: baseline; gap: var(--space-1); }
.aes-gold-amount { font-family: var(--font-display); font-size: clamp(2.75rem, 5vw, 3.75rem); font-weight: 400; line-height: 1; color: #d9c19a; }
.aes-gold-term { font-size: var(--text-base); color: #c9c3b6; }
.aes-gold-lede { margin-top: var(--space-5); color: #dcd8cf; font-size: 1.0625rem; line-height: 1.7; max-width: 52ch; }
.aes-gold-side { display: flex; flex-direction: column; justify-content: center; gap: var(--space-8); }
.aes-gold-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.aes-gold-list li { position: relative; padding-left: var(--space-8); color: #dcd8cf; line-height: 1.55; }
.aes-gold-list li strong { color: #f7f9f8; font-weight: 600; }
.aes-gold-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #0e1317; background: #d9c19a; border-radius: 999px; }
.aes-gold-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.btn-gold { background: #d9c19a; color: #0e1317; border: 1px solid #d9c19a; }
.btn-gold:hover { background: #e6d3b0; border-color: #e6d3b0; color: #0e1317; }
.aes-gold .btn-outline { color: #f7f9f8; border-color: rgba(247,249,248,.35); background: transparent; }
.aes-gold .btn-outline:hover { background: rgba(247,249,248,.1); color: #fff; }
@media (max-width: 900px) { .aes-gold { grid-template-columns: 1fr; } }

/* Signature services */
.aes-section-head { max-width: 62ch; margin-bottom: var(--space-10); }
.aes-section-head p { margin-top: var(--space-4); color: var(--color-text-muted); font-size: 1.0625rem; line-height: 1.7; }
.aes-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.aes-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); scroll-margin-top: 140px; }
.aes-card-num { font-family: var(--font-display); font-size: var(--text-sm); letter-spacing: .1em; color: var(--color-primary); }
.aes-card h3 { font-size: var(--text-xl); }
.aes-card p { color: var(--color-text-muted); line-height: 1.65; }
.aes-card-list { list-style: none; padding: var(--space-4) 0 0; margin: 0; border-top: 1px solid var(--color-divider); display: grid; gap: var(--space-2); align-content: start; flex-grow: 1; }
.aes-card-list li { position: relative; padding-left: var(--space-6); font-size: var(--text-sm); line-height: 1.5; }
.aes-card-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-primary); font-weight: 700; }
.aes-card-link { font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); text-decoration: none; }
.aes-card-link:hover { text-decoration: underline; }
@media (max-width: 960px) { .aes-cards { grid-template-columns: 1fr; } }

/* Microneedling deep dive */
.aes-mn { scroll-margin-top: 120px; }
.aes-mn-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.aes-mn-text p { margin-top: var(--space-5); font-size: 1.0625rem; line-height: 1.75; }
.aes-mn-media { margin: 0; }
.aes-mn-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); display: block; }
.aes-mn-why { margin-top: clamp(var(--space-12), 6vw, var(--space-16)); max-width: 72ch; }
.aes-mn-why h3, .aes-mn-details h3 { margin-bottom: var(--space-4); }
.aes-mn-why > p { font-size: 1.0625rem; line-height: 1.75; }
.aes-mn-why .svc-list { margin-block: var(--space-6); }
.aes-areas { margin-top: var(--space-12); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.aes-area { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-8); border-top: 3px solid var(--color-primary); }
.aes-area-label { display: block; font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.aes-area p { color: var(--color-text-muted); line-height: 1.65; }
.aes-mn-details { margin-top: var(--space-12); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); }
.aes-note { margin-top: var(--space-6); padding: var(--space-5); border-left: 3px solid var(--color-tan-deep); background: var(--color-surface); border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.aes-inline-cta { margin-top: var(--space-12); display: flex; flex-wrap: wrap; gap: var(--space-4); }
@media (max-width: 900px) { .aes-mn-intro, .aes-mn-details { grid-template-columns: 1fr; } .aes-areas { grid-template-columns: 1fr; } }

/* Services page — aesthetics row Gold note */
.service-gold-note { margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: #0e1317; color: #dcd8cf; font-size: var(--text-sm); line-height: 1.55; }
.service-gold-note strong { color: #d9c19a; }

/* New-member Tox offer highlight */
.aes-promo { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-6); padding: var(--space-3) var(--space-4); background: var(--color-primary-highlight); border: 1px solid var(--color-primary); border-radius: var(--radius-md); font-size: var(--text-sm); line-height: 1.45; color: var(--color-text); max-width: 60ch; }
.aes-promo strong { color: var(--color-primary-active); font-weight: 700; }
[data-theme="dark"] .aes-promo strong { color: var(--color-primary); }
.aes-promo-tag { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--color-primary); color: var(--color-primary-on); padding: 2px var(--space-3); border-radius: var(--radius-full); white-space: nowrap; }
.aes-promo--compact { margin: var(--space-5) 0 0; }
.aes-card-promo { color: var(--color-primary-active); }
[data-theme="dark"] .aes-card-promo { color: var(--color-primary); }
.aes-hero .container { max-width: var(--content-wide); }
.aes-hero-media img { aspect-ratio: 4 / 3.2; object-position: 40% 30%; }
@media (min-width: 901px) { .aes-hero-actions .btn { white-space: nowrap; } }

/* New-member Tox offer ribbon — fixed charcoal & champagne gold, independent of theme */
.aes-offer { position: relative; overflow: hidden; background: #0e1317; color: #f7f9f8; padding-block: clamp(var(--space-8), 4vw, var(--space-12)); border-bottom: 1px solid #d9c19a40; }
.aes-offer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 140% at 12% 50%, rgba(217,193,154,.22), transparent 60%), radial-gradient(40% 120% at 100% 0%, rgba(15,161,146,.18), transparent 60%); pointer-events: none; }
.aes-offer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #d9c19a 20%, #f1e2c4 50%, #b89b6c 80%, transparent); }
.aes-offer .container { max-width: var(--content-wide); padding-inline: clamp(1.5rem, 5vw, 3.5rem); }
.aes-offer-inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(var(--space-6), 4vw, var(--space-12)); }
.aes-offer-price { font-family: var(--font-display); font-weight: 300; font-size: clamp(4rem, 9vw, 7rem); line-height: .9; letter-spacing: -0.04em; background: linear-gradient(180deg, #f6e7c8 0%, #d9c19a 55%, #a88a5a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: flex-start; padding-right: clamp(var(--space-4), 3vw, var(--space-10)); border-right: 1px solid #d9c19a55; }
.aes-offer-dollar { font-size: .42em; margin-top: .18em; margin-right: .04em; }
.aes-offer-unit { font-size: .2em; align-self: flex-end; margin-bottom: .45em; margin-left: .25em; letter-spacing: .02em; font-weight: 400; }
.aes-offer-tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #0e1317; background: linear-gradient(90deg, #e9d6b1, #d9c19a); padding: 4px var(--space-4); border-radius: var(--radius-full); }
.aes-offer-title { margin-top: var(--space-4); color: #f7f9f8; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.2; max-width: 30ch; }
.aes-offer-title span { color: #e6cf9f; font-weight: 500; }
.aes-offer-sub { margin-top: var(--space-3); color: #c9c3b6; font-size: var(--text-sm); line-height: 1.6; max-width: 60ch; }
.aes-offer-actions { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.aes-offer-actions .btn-gold { padding-inline: var(--space-8); box-shadow: 0 8px 24px rgba(217,193,154,.25); white-space: nowrap; }
.aes-offer-link { color: #e6cf9f; font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
.aes-offer-link:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .aes-offer-inner { grid-template-columns: auto 1fr; }
  .aes-offer-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: var(--space-5); }
}
@media (max-width: 560px) {
  .aes-offer-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .aes-offer-price { border-right: 0; border-bottom: 1px solid #d9c19a55; padding: 0 0 var(--space-4); font-size: 4.5rem; }
}

/* Services page compact offer */
.aes-offer-mini { margin-top: var(--space-5); display: flex; align-items: center; gap: var(--space-5); padding: var(--space-4) var(--space-5); background: #0e1317; border-radius: var(--radius-md); border: 1px solid #d9c19a55; color: #dcd8cf; font-size: var(--text-sm); line-height: 1.5; position: relative; overflow: hidden; }
.aes-offer-mini::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 160% at 0% 50%, rgba(217,193,154,.2), transparent 60%); pointer-events: none; }
.aes-offer-mini > * { position: relative; }
.aes-offer-mini-price { font-family: var(--font-display); font-weight: 300; font-size: 2.5rem; line-height: 1; color: #e6cf9f; white-space: nowrap; }
.aes-offer-mini-price small { font-size: .4em; margin-left: 2px; }
.aes-offer-mini .aes-offer-tag { display: table; margin-bottom: var(--space-2); font-size: 0.625rem; padding: 2px var(--space-3); }
.aes-offer-mini strong { color: #f7f9f8; }
@media (max-width: 560px) { .aes-offer-copy .aes-offer-tag { letter-spacing: .08em; font-size: 0.625rem; } }

/* Offer call-to-schedule line */
.aes-offer-call { margin-top: var(--space-4); font-size: var(--text-base); color: #dcd8cf; line-height: 1.5; }
.aes-offer-call a { color: #e6cf9f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.aes-offer-call a.aes-offer-phone { text-decoration: none; white-space: nowrap; }
.aes-offer-call a.aes-offer-phone strong { color: #f7f9f8; font-size: 1.15em; letter-spacing: .01em; }
.aes-offer-call a:hover { color: #f7f9f8; }
.aes-offer-or { margin-inline: var(--space-1); color: #b9b4aa; }
.aes-offer-mini-call { display: block; margin-top: var(--space-2); }
.aes-offer-mini-call a { color: #e6cf9f; font-weight: 600; }
.aes-offer-mini-call a[href^="tel"] { text-decoration: none; white-space: nowrap; }
