/* =====================================================
   ROOT VARIABLES — Olivian Design System
   ===================================================== */
:root {
  --color-bg: #FAFAF8;
  --color-bg-alt: #F3F1ED;
  --color-bg-subtle: #EDEBE6;
  --color-surface: #FFFFFF;
  --color-text-primary: #1C2430;
  --color-text-secondary: #4A5568;
  --color-text-muted: #8A9BB0;
  --color-border: #DDD9D1;
  --color-border-light: #EEECE8;
  --color-accent: #7A9E87;
  --color-accent-hover: #5E8570;
  --color-accent-soft: #EAF1EC;
  --color-navy: #1C3A5F;
  --color-navy-soft: #E8EDF3;
  --color-taupe: #B8A898;
  --color-error: #C0392B;
  --color-success: #2E7D52;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --space-11: 160px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.display {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; }
h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.3; font-weight: 500; font-family: 'Cormorant Garamond', serif; }
h4 { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.4; font-weight: 500; font-family: 'DM Sans', sans-serif; }

.body-lg { font-size: 18px; line-height: 1.7; }
.body-sm { font-size: 14px; line-height: 1.6; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-4);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) { .container { padding: 0 48px; } }
@media (min-width: 1024px) { .container { padding: 0 80px; } }

.section { padding: var(--space-5) 0; }
@media (min-width: 768px) { .section { padding: var(--space-6) 0; } }
@media (min-width: 1024px) { .section { padding: 40px 0; } }

.section--alt { background-color: var(--color-bg-alt); }
.section--navy { background-color: var(--color-navy); }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-white { color: #FFFFFF; }

.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.mb-8 { margin-bottom: var(--space-8); }

.max-text { max-width: 680px; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out, padding 0.3s ease-out;
  padding: 22px 0;
}

.nav.scrolled {
  background-color: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-border-light);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  transition: color 0.3s ease-out;
}

.nav__logo em { font-style: normal; color: var(--color-accent); }

.nav.scrolled .nav__logo { color: var(--color-text-primary); }

.nav__links {
  display: none;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) { .nav__links { display: flex; } }

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease-out;
}

.nav__links a:hover { color: #FFFFFF; }

.nav.scrolled .nav__links a { color: var(--color-text-secondary); }
.nav.scrolled .nav__links a:hover { color: var(--color-text-primary); }

.nav__cta { display: none; }
@media (min-width: 900px) { .nav__cta { display: inline-block; } }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

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

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease-out;
}

.nav.scrolled .nav__hamburger span { background-color: var(--color-text-primary); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--color-text-primary);
  transition: color 0.2s ease-out;
}

.mobile-menu a:hover { color: var(--color-accent); }

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text-secondary);
  line-height: 1;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.2s ease-out;
  cursor: pointer;
  border: none;
  text-align: center;
  line-height: 1.3;
}

.btn--primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(122, 158, 135, 0.3);
  color: #FFFFFF;
}

.btn--secondary {
  background-color: transparent;
  border: 1.5px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--secondary-light {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn--secondary-light:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: #FFFFFF;
}

.btn--dark {
  background-color: var(--color-navy);
  color: #FFFFFF;
}

.btn--dark:hover {
  background-color: #152d4a;
  box-shadow: 0 4px 16px rgba(28, 58, 95, 0.3);
  color: #FFFFFF;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy);
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 36, 48, 0.92) 0%, rgba(28, 58, 95, 0.78) 60%, rgba(122, 158, 135, 0.12) 100%);
}

.hero__decoration {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
  display: none;
}

@media (min-width: 900px) { .hero__decoration { display: block; } }

.hero__decoration-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(122, 158, 135, 0.08) 0%, rgba(28, 58, 95, 0.3) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__decoration-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  gap: 20px;
}

.hero__decoration-lines span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), transparent);
  transform-origin: left;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__eyebrow { color: var(--color-accent); }

.hero__headline {
  color: #FFFFFF;
  margin-bottom: var(--space-5);
}

.hero__subheadline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: var(--space-7);
  max-width: 520px;
}

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

.hero__detail {
  margin-top: var(--space-9);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__detail::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* =====================================================
   PROBLEM SECTION
   ===================================================== */
.problem__intro { margin-bottom: var(--space-8); }

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) { .problem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .problem__grid { grid-template-columns: repeat(3, 1fr); } }

.problem__item {
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  border-left: 2px solid var(--color-border);
}

.problem__item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: 0;
}

.problem__item p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* =====================================================
   DIFFERENCE SECTION
   ===================================================== */
.difference__intro { margin-bottom: var(--space-8); }

.difference__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) { .difference__grid { grid-template-columns: repeat(2, 1fr); } }

.difference__card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(28, 36, 48, 0.05);
  transition: box-shadow 0.2s ease-out;
}

.difference__card:hover { box-shadow: 0 4px 20px rgba(28, 36, 48, 0.1); }

.difference__card h3 {
  font-size: 20px;
  margin-bottom: var(--space-3);
}

.difference__card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

/* =====================================================
   MEMBERSHIP OVERVIEW
   ===================================================== */
.membership__intro { margin-bottom: var(--space-8); }

.membership__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) { .membership__items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .membership__items { grid-template-columns: repeat(4, 1fr); } }

.membership__item {
  padding: var(--space-6) var(--space-5);
  background-color: var(--color-bg-alt);
  border-radius: 8px;
  text-align: center;
}

.membership__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--space-5);
  color: var(--color-accent);
}

.membership__item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: var(--space-3);
}

.membership__item p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* =====================================================
   PHYSICIAN SECTION
   ===================================================== */
.physician {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) { .physician { grid-template-columns: 5fr 7fr; gap: var(--space-10); } }

.physician__photo-wrap {
  position: relative;
}

.physician__photo-wrap::after {
  content: '';
  position: absolute;
  top: -14px;
  right: -14px;
  bottom: 14px;
  left: 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  z-index: -1;
}

.physician__photo-wrap img,
.physician__photo-placeholder {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.physician__photo-placeholder {
  background-color: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

.physician__eyebrow { margin-bottom: var(--space-3); }

.physician__name { margin-bottom: var(--space-3); }

.physician__title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.physician__bio {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
  font-size: 16px;
}

.physician__credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border-light);
}

.physician__credentials li {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.physician__credentials li::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: 9px;
  flex-shrink: 0;
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust {
  background-color: var(--color-navy);
  padding: var(--space-8) 0;
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7) var(--space-8);
  justify-content: center;
  align-items: center;
}

.trust__item { text-align: center; }

.trust__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: var(--space-2);
}

.trust__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  display: block;
}

.trust__divider {
  width: 1px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767px) { .trust__divider { display: none; } }

/* =====================================================
   FINAL CTA
   ===================================================== */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: var(--space-5); }

.final-cta__body {
  color: var(--color-text-secondary);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto var(--space-5);
  line-height: 1.7;
}

.final-cta__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.final-cta__note {
  margin-top: var(--space-6);
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background-color: var(--color-navy);
  padding: 48px 0 28px;
}

.page-hero__eyebrow { color: var(--color-accent); }
.page-hero__headline { color: #FFFFFF; margin-bottom: var(--space-5); }
.page-hero__body { color: rgba(255, 255, 255, 0.7); font-size: 18px; line-height: 1.75; max-width: 580px; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-bio { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 768px) { .about-bio { grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: start; } }

.about-bio__photo { position: relative; }
.about-bio__photo img,
.about-bio__photo-placeholder {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}
.about-bio__photo-placeholder {
  background-color: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

.about-bio__content p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
  font-size: 16px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

@media (min-width: 640px) { .credentials-grid { grid-template-columns: repeat(2, 1fr); } }

.credential-item {
  padding: var(--space-5);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.credential-item__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.credential-item__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: var(--space-1);
}

.credential-item__sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

.philosophy-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

@media (min-width: 768px) { .philosophy-items { grid-template-columns: repeat(3, 1fr); } }

.philosophy-item { border-top: 2px solid var(--color-accent); padding-top: var(--space-5); }
.philosophy-item h4 { font-size: 17px; margin-bottom: var(--space-3); font-family: 'Cormorant Garamond', serif; font-weight: 500; }
.philosophy-item p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.7; }

/* =====================================================
   MEMBERSHIP PAGE
   ===================================================== */
.services-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) { .services-section { grid-template-columns: repeat(2, 1fr); } }

.service-group { }
.service-group__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.service-group h3 {
  font-size: 22px;
  margin-bottom: var(--space-4);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-list li {
  font-size: 15px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.6;
}

.service-list li::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: 10px;
  flex-shrink: 0;
}

.pricing-card {
  background-color: var(--color-navy);
  border-radius: 12px;
  padding: 36px;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.pricing-card__amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: var(--space-5);
}

.pricing-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1;
}

.pricing-card__period {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card__features li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.pricing-card__features li::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: 10px;
  flex-shrink: 0;
}

.pricing-card__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-8);
  }
  .process__step:nth-child(odd):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-8) / 2);
  }
}

.process__step {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.process__step:first-child { border-top: 1px solid var(--color-border-light); }

@media (min-width: 768px) {
  .process__step {
    grid-template-columns: 60px 1fr;
    gap: var(--space-5);
    align-items: start;
  }
}

.process__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
  padding-top: 4px;
}

.process__step h3 { margin-bottom: 6px; font-size: 20px; }
.process__step p { color: var(--color-text-secondary); line-height: 1.6; font-size: 15px; }

/* =====================================================
   FAQ
   ===================================================== */
.faq__list { max-width: 760px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid var(--color-border-light); }

.faq__question {
  width: 100%;
  text-align: left;
  padding: var(--space-4) 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  transition: color 0.2s ease-out;
}

.faq__question:hover { color: var(--color-accent); }

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease-out;
  color: var(--color-accent);
}

.faq__item.open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq__item.open .faq__answer { max-height: 600px; }

.faq__answer-inner {
  padding-bottom: var(--space-4);
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-size: 15px;
}

/* =====================================================
   JOIN / FUNNEL
   ===================================================== */
.join-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-9);
}

@media (min-width: 900px) { .join-layout { grid-template-columns: 7fr 5fr; align-items: start; } }

.funnel {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(28, 36, 48, 0.07);
}

@media (max-width: 640px) { .funnel { padding: 32px 24px; } }

.funnel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.funnel__step-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.funnel__progress {
  height: 2px;
  background-color: var(--color-border);
  border-radius: 2px;
  margin-bottom: var(--space-7);
  overflow: hidden;
}

.funnel__progress-fill {
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: width 0.4s ease-out;
  width: 20%;
}

.funnel__step { display: none; }
.funnel__step.active { display: block; }

.funnel__step-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: var(--space-3);
}

.funnel__step-sub {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: var(--space-6);
  line-height: 1.65;
}

.funnel__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.funnel__option { position: relative; }

.funnel__option input[type="checkbox"],
.funnel__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.funnel__option label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  font-size: 15px;
  color: var(--color-text-primary);
}

.funnel__option label:hover {
  border-color: var(--color-accent);
  background-color: var(--color-accent-soft);
}

.funnel__option input:checked + label {
  border-color: var(--color-accent);
  background-color: var(--color-accent-soft);
}

.funnel__check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-border);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-out;
}

.funnel__option input:checked + label .funnel__check {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.funnel__check svg {
  width: 10px;
  height: 10px;
  color: white;
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.funnel__option input:checked + label .funnel__check svg { opacity: 1; }

.funnel__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.funnel__back {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease-out;
}

.funnel__back:hover { color: var(--color-text-primary); }

.funnel__field { margin-bottom: var(--space-5); }

.funnel__field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.funnel__field input,
.funnel__field select,
.funnel__field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--color-text-primary);
  background-color: var(--color-surface);
  transition: border-color 0.2s ease-out;
  outline: none;
  -webkit-appearance: none;
}

.funnel__field input:focus,
.funnel__field select:focus,
.funnel__field textarea:focus {
  border-color: var(--color-accent);
}

.funnel__field input::placeholder,
.funnel__field textarea::placeholder {
  color: var(--color-text-muted);
}

.funnel__field textarea { resize: vertical; min-height: 100px; }

.funnel__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.funnel__success {
  text-align: center;
  padding: var(--space-7) 0;
}

.funnel__success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  color: var(--color-accent);
}

.funnel__success h3 { font-size: 28px; margin-bottom: var(--space-4); }
.funnel__success p { color: var(--color-text-secondary); line-height: 1.7; }

.join-sidebar {}
.join-sidebar__card {
  background-color: var(--color-bg-alt);
  border-radius: 8px;
  padding: 36px;
  margin-bottom: var(--space-5);
}

.join-sidebar__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: var(--space-5);
}

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

.join-sidebar__list li {
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.6;
}

.join-sidebar__list li::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: 9px;
  flex-shrink: 0;
}

.join-sidebar__note {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background-color: var(--color-text-primary);
  padding: var(--space-9) 0 var(--space-7);
}

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

@media (min-width: 768px) { .footer__grid { grid-template-columns: 5fr 2fr 2fr 2fr; } }

.footer__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  max-width: 280px;
}

.footer__col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--space-5);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease-out;
}

.footer__col ul a:hover { color: #FFFFFF; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: space-between;
  align-items: flex-start;
}

.footer__legal {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.7;
  max-width: 680px;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 16px; }

/* =====================================================
   ACCESSIBILITY WIDGET
   ===================================================== */
.a11y-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  font-family: 'DM Sans', sans-serif;
}

.a11y-widget__toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(28, 36, 48, 0.25);
  transition: all 0.2s ease-out;
  color: #FFFFFF;
  margin-left: auto;
}

.a11y-widget__toggle:hover {
  background-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(122, 158, 135, 0.35);
  transform: scale(1.05);
}

.a11y-widget__toggle[aria-expanded="true"] {
  background-color: var(--color-accent);
}

.a11y-widget__toggle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.a11y-widget__panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 240px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(28, 36, 48, 0.14);
  padding: 20px;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  pointer-events: none;
}

.a11y-widget__panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.a11y-widget__panel[hidden] {
  display: block !important;
  opacity: 0;
  pointer-events: none;
}

.a11y-widget__heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.a11y-widget__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.a11y-widget__option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-align: left;
  transition: all 0.2s ease-out;
}

.a11y-widget__option:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
  background-color: var(--color-accent-soft);
}

.a11y-widget__option[aria-pressed="true"] {
  border-color: var(--color-accent);
  background-color: var(--color-accent-soft);
  color: var(--color-accent-hover);
}

.a11y-widget__option-icon {
  font-size: 15px;
  line-height: 1;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.a11y-widget__reset {
  width: 100%;
  padding: 8px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--color-text-muted);
  cursor: pointer;
  text-align: center;
  border-top: 1px solid var(--color-border-light);
  padding-top: 12px;
  transition: color 0.2s ease-out;
}

.a11y-widget__reset:hover { color: var(--color-text-primary); }

/* =====================================================
   ACCESSIBILITY MODE OVERRIDES
   ===================================================== */

/* — Large Text — */
html.a11y-large-text { font-size: 120%; }

/* — High Contrast — */
html.a11y-high-contrast {
  --color-bg: #FFFFFF;
  --color-bg-alt: #EFEFEF;
  --color-bg-subtle: #E0E0E0;
  --color-surface: #FFFFFF;
  --color-text-primary: #000000;
  --color-text-secondary: #111111;
  --color-text-muted: #444444;
  --color-border: #333333;
  --color-border-light: #AAAAAA;
  --color-accent: #005A30;
  --color-accent-hover: #003D20;
  --color-accent-soft: #D4EDDA;
  --color-navy: #00264D;
}

html.a11y-high-contrast .hero { background-color: #000000; }
html.a11y-high-contrast .trust { background-color: #000000; }
html.a11y-high-contrast .hero__headline,
html.a11y-high-contrast .page-hero__headline { color: #FFFFFF; }
html.a11y-high-contrast .hero__subheadline,
html.a11y-high-contrast .page-hero__body { color: #EEEEEE; }
html.a11y-high-contrast .nav { background-color: rgba(0,0,0,0.96) !important; }
html.a11y-high-contrast .nav__logo,
html.a11y-high-contrast .nav__links a { color: #FFFFFF !important; }
html.a11y-high-contrast .footer { background-color: #000000; }

/* — Reduce Motion — */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

html.a11y-reduce-motion .fade-up {
  opacity: 1 !important;
  transform: none !important;
}

/* — Dyslexia-Friendly Font — */
html.a11y-dyslexia-font body,
html.a11y-dyslexia-font p,
html.a11y-dyslexia-font li,
html.a11y-dyslexia-font button,
html.a11y-dyslexia-font input,
html.a11y-dyslexia-font select,
html.a11y-dyslexia-font textarea,
html.a11y-dyslexia-font label {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  letter-spacing: 0.06em !important;
  word-spacing: 0.15em !important;
  line-height: 2 !important;
}

html.a11y-dyslexia-font h1,
html.a11y-dyslexia-font h2,
html.a11y-dyslexia-font h3,
html.a11y-dyslexia-font h4,
html.a11y-dyslexia-font .display {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  letter-spacing: 0.03em !important;
  font-weight: 700 !important;
}

/* — Highlight Links — */
html.a11y-highlight-links a:not(.btn):not(.nav__logo):not(.mobile-menu a) {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  background-color: #FFF3B0 !important;
  color: #1C2430 !important;
  padding: 0 3px !important;
  border-radius: 2px !important;
}

html.a11y-highlight-links .footer a {
  background-color: rgba(255, 243, 176, 0.15) !important;
  color: #FFFFFF !important;
}
