/* ============================================
   TIDAL WAVE WELLNESS — Design Tokens & Styles
   ============================================ */

/* --- 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.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

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

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --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);

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

  /* Fonts */
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* --- Light Mode (Default) --- */
:root,
[data-theme='light'] {
  --color-bg: #FAFAF8;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F5F4F0;
  --color-text: #0A1628;
  --color-text-muted: #5A6577;
  --color-text-faint: #9CA3AF;
  --color-navy: #0A1628;
  --color-gold: #C9A86C;
  --color-gold-hover: #B8974F;
  --color-border: #E5E3DD;
  --color-divider: #E5E3DD;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12);
}

/* --- Dark Mode --- */
[data-theme='dark'] {
  --color-bg: #0A1020;
  --color-surface: #111827;
  --color-surface-alt: #1A2332;
  --color-text: #E8E6E1;
  --color-text-muted: #8A94A6;
  --color-text-faint: #5A6577;
  --color-navy: #E8E6E1;
  --color-gold: #C9A86C;
  --color-gold-hover: #D4B87E;
  --color-border: #2A3444;
  --color-divider: #2A3444;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0A1020;
    --color-surface: #111827;
    --color-surface-alt: #1A2332;
    --color-text: #E8E6E1;
    --color-text-muted: #8A94A6;
    --color-text-faint: #5A6577;
    --color-navy: #E8E6E1;
    --color-gold: #C9A86C;
    --color-gold-hover: #D4B87E;
    --color-border: #2A3444;
    --color-divider: #2A3444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-32));
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s var(--ease-out);
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.header__logo svg {
  width: 40px;
  height: 40px;
}
.header__logo-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-text);
}

/* ============================================
   LOGO IMAGE — Dark/Light Mode Switching
   ============================================ */
.header__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
/* Light mode: show dark logo, hide white logo */
:root .header__logo-img--dark,
[data-theme='light'] .header__logo-img--dark {
  display: block;
}
:root .header__logo-img--light,
[data-theme='light'] .header__logo-img--light {
  display: none;
}
/* Dark mode: show white logo, hide dark logo */
[data-theme='dark'] .header__logo-img--dark {
  display: none;
}
[data-theme='dark'] .header__logo-img--light {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .header__logo-img--dark {
    display: none;
  }
  :root:not([data-theme]) .header__logo-img--light {
    display: block;
  }
}

/* Footer logo */
.footer__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}


/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
  position: relative;
}
.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
}

/* Services Dropdown */
.nav__item--dropdown {
  position: relative;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms var(--ease-out), visibility 250ms;
  z-index: 110;
}
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
}
.nav__dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.nav__dropdown-link:hover {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-alt);
}

/* CTA Button */
.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;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
  cursor: pointer;
  border: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn--gold {
  background: var(--color-gold);
  color: #0A1628;
}
.btn--gold:hover {
  background: var(--color-gold-hover);
}
.btn--navy {
  background: var(--color-navy);
  color: #FAFAF8;
}
[data-theme='dark'] .btn--navy {
  background: var(--color-gold);
  color: #0A1628;
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  cursor: pointer;
  z-index: 120;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 90;
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
}
.mobile-nav.active {
  display: block;
}
.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mobile-nav__link {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav__sub {
  list-style: none;
  padding-left: var(--space-6);
}
.mobile-nav__sub a {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-decoration: none;
  display: block;
  padding: var(--space-2) 0;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .header__actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0A1628;
  color: #E8E6E1;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer__brand .header__logo-text {
  color: #E8E6E1;
}
.footer__tagline {
  font-size: var(--text-sm);
  color: #8A94A6;
  line-height: 1.6;
}
.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__link {
  font-size: var(--text-sm);
  color: #8A94A6;
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer__link:hover {
  color: #E8E6E1;
}
.footer__bottom {
  border-top: 1px solid #2A3444;
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.footer__copyright {
  font-size: var(--text-xs);
  color: #5A6577;
}
.footer__social {
  display: flex;
  gap: var(--space-4);
}
.footer__social a {
  color: #8A94A6;
  transition: color var(--transition-interactive);
}
.footer__social a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--home {
  min-height: 90vh;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.55) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-16);
  width: 100%;
}
.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: #FFFFFF;
  max-width: 16ch;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}
.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Interior Page Hero (smaller) */
.hero--interior {
  min-height: 50vh;
}
.hero--interior .hero__title {
  font-size: var(--text-2xl);
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero--home {
    min-height: 80vh;
  }
  .hero__title {
    font-size: var(--text-2xl);
  }
  .hero--interior .hero__title {
    font-size: var(--text-xl);
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: left;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}
.section-header--center {
  text-align: center;
}
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
}
.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
a.card,
.card[href] {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.card:hover,
.card[href]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card__body {
  padding: var(--space-6);
}
.card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.card__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.service-card__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.service-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
.two-col--reverse {
  direction: rtl;
}
.two-col--reverse > * {
  direction: ltr;
}
.two-col__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.two-col__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.two-col__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .two-col--reverse {
    direction: ltr;
  }
}

/* ============================================
   CREDENTIALS / TRUST
   ============================================ */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
}
.credential-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}

/* ============================================
   DIFFERENTIATORS
   ============================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}
.diff-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.diff-item__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 400;
}
.diff-item__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.diff-item__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: #0A1628;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  text-align: center;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}
.cta-section__text {
  font-size: var(--text-base);
  color: #8A94A6;
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  counter-reset: step;
}
.step {
  counter-increment: step;
  position: relative;
  padding-top: var(--space-8);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 400;
  position: absolute;
  top: 0;
}
.step__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.step__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   BLOG LAYOUTS
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

/* Article Layout */
.article-layout {
  max-width: 740px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.article-header {
  margin-bottom: var(--space-10);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.article-meta__divider {
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-text-faint);
}
.article-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.article-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: var(--space-10);
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.article-content h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.article-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.article-content ul,
.article-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.article-content li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}
.article-content a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-content a:hover {
  color: var(--color-gold-hover);
}

/* Pull Quote */
.pull-quote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-6);
  margin-block: var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.contact-info__item {
  display: flex;
  gap: var(--space-4);
}
.contact-info__icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}
.contact-info__text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.form-group input,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Map placeholder */
.map-container {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: var(--color-surface);
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.faq-answer__inner {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   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 100%;
  }
}
@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

/* ============================================
   UTILITY
   ============================================ */
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }
.bg-alt { background: var(--color-surface-alt); }
.bg-navy { background: #0A1628; color: #E8E6E1; }

/* Divider line */
.divider {
  height: 1px;
  background: var(--color-border);
  border: none;
  margin-block: var(--space-2);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-gold);
  color: #0A1628;
  font-weight: 600;
  border-radius: var(--radius-md);
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-4);
}

/* Person Bio Card */
.bio-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  align-items: start;
}
.bio-card__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.bio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bio-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.bio-card__role {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.bio-card__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .bio-card {
    grid-template-columns: 1fr;
  }
  .bio-card__img {
    max-width: 200px;
  }
}

/* Peptide/Service detail lists */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.detail-item {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.detail-item__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.detail-item__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Blog tags */
.tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  background: oklch(from var(--color-gold) l c h / 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* Related articles */
.related-articles {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-10);
  margin-top: var(--space-10);
}

/* ============================
   Blog Post Article Page
   ============================ */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(var(--space-8), 4vw, var(--space-16)) var(--space-6);
}
.blog-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem);
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.blog-article h3 {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}
.blog-article p {
  max-width: none;
  margin-bottom: var(--space-5);
  line-height: 1.8;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.blog-article ul, .blog-article ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}
.blog-article li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.blog-article li::marker {
  color: var(--color-gold);
}
.blog-article .blog-meta {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  color: var(--color-text-faint);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.blog-article a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-article a:hover {
  color: var(--color-gold-hover);
}
.blog-article blockquote {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: oklch(from var(--color-gold) l c h / 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text);
}
.blog-article strong {
  font-weight: 600;
  color: var(--color-text);
}
.blog-hero {
  background: var(--color-navy);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) var(--space-6) clamp(var(--space-10), 4vw, var(--space-16));
}
[data-theme='dark'] .blog-hero {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.blog-hero__inner {
  max-width: 780px;
  margin: 0 auto;
}
.blog-hero .tag {
  margin-bottom: var(--space-4);
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #FAFAF8;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
[data-theme='dark'] .blog-hero h1 {
  color: var(--color-text);
}
.blog-hero__meta {
  font-size: var(--text-sm);
  color: oklch(0.75 0.01 260);
}
[data-theme='dark'] .blog-hero__meta {
  color: var(--color-text-faint);
}

/* Blog article related posts */
.blog-related {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-12);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-10);
}
.blog-related h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-6);
}
.blog-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.blog-related-card {
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.blog-related-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}
.blog-related-card .tag {
  margin-bottom: var(--space-2);
  font-size: 0.65rem;
}
.blog-related-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.3;
}
