/* ============================================================
   ANAVAH INSTITUTE — Design System
   Palette: Navy / Gold / Sage
   Typography: Cormorant Garamond + DM Sans (loaded via Google Fonts)
============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F4F0E8;
  --bg-alt: #ECE7DC;
  --ink: #0F1E3A;
  --ink-soft: #2A3A5C;
  --ink-muted: #5A6680;
  --gold: #B8924A;
  --gold-light: #D4B581;
  --gold-warm: #E8D5A8;
  --sage: #8A9A7B;
  --sage-light: #C5CFB8;
  --rule: rgba(15, 30, 58, 0.10);
  --rule-strong: rgba(15, 30, 58, 0.25);
  --shadow: 0 1px 2px rgba(15, 30, 58, 0.04), 0 8px 32px rgba(15, 30, 58, 0.06);
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* === WordPress Defaults === */
.wp-caption, .gallery-caption { max-width: 100%; }
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

/* === Typography === */
.serif { font-family: 'Cormorant Garamond', serif; font-weight: 400; letter-spacing: -0.01em; }
.display { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}

/* === Layout === */
.container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
section { position: relative; }
.section-pad { padding: 120px 0; }

/* === Navigation === */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.site-logo {
  display: flex; align-items: baseline; gap: 10px;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.logo-mark { width: 28px; height: 28px; position: relative; align-self: center; }
.logo-mark::before, .logo-mark::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%;
  transform: translate(-50%, -50%);
}
.logo-mark::after { border-color: var(--gold); transform: translate(-30%, -50%); mix-blend-mode: multiply; }
.site-logo .tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted); font-family: 'DM Sans', sans-serif; font-weight: 500;
  border-left: 1px solid var(--rule-strong); padding-left: 10px;
}

/* WP nav menu styling */
.nav-menu { display: flex; align-items: center; gap: 38px; list-style: none; }
.nav-menu li { list-style: none; }
.nav-menu a {
  color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { color: var(--gold); font-weight: 500; }

/* Mobile toggle */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: all 0.3s; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; background: var(--ink); color: var(--bg); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em; border-radius: 2px;
  border: 1px solid var(--ink); transition: all 0.25s ease; cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: white; }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-sm { padding: 6px 12px; font-size: 12px; }

/* === Page Header === */
.page-hero { padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: 0; right: -10%; width: 70%; height: 100%;
  background: radial-gradient(ellipse at top right, var(--bg-warm) 0%, transparent 60%); pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero .hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.page-hero .hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(48px, 6vw, 80px); line-height: 1.02; margin-bottom: 24px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; font-weight: 300; }
.page-hero .sub { font-size: 18px; line-height: 1.7; color: var(--ink-soft); max-width: 600px; }

/* === Hero (front page) === */
.hero { padding: 180px 0 120px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 0; right: -10%; width: 70%; height: 100%;
  background: radial-gradient(ellipse at top right, var(--bg-warm) 0%, transparent 60%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 36px; opacity: 0; animation: fadeUp 0.9s 0.1s ease forwards; }
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
h1.hero-title {
  font-size: clamp(56px, 7.2vw, 108px); line-height: 0.98; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.9s 0.2s ease forwards;
}
h1.hero-title em { color: var(--gold); font-style: italic; font-weight: 300; }
.hero-sub { font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 480px; margin-bottom: 40px; opacity: 0; animation: fadeUp 0.9s 0.35s ease forwards; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards; }
.hero-right { position: relative; padding-bottom: 20px; opacity: 0; animation: fadeUp 0.9s 0.65s ease forwards; }

.tagline-card { background: white; border: 1px solid var(--rule); padding: 40px 36px; position: relative; box-shadow: var(--shadow); }
.tagline-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 60px; height: 60px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.tagline-card::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 60px; height: 60px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.tagline-card .label { margin-bottom: 16px; }
.tagline-card .tagline-quote { font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.25; font-style: italic; font-weight: 400; margin-bottom: 24px; }
.tagline-card .credit { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* === Section Headers === */
.section-header { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-header .meta { display: flex; flex-direction: column; gap: 12px; }
.section-header h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.015em;
}
.section-header h2 em { color: var(--gold); font-style: italic; font-weight: 300; }

/* === Problem === */
.problem { background: var(--bg-warm); }
.problem-content { max-width: 880px; margin: 0 auto; text-align: center; }
.problem .big-quote { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.25; font-weight: 300; margin: 40px 0; }
.problem .big-quote em { color: var(--gold); font-style: italic; }

/* === Stats === */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--rule); }
.stat .num { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.stat .desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* === Three Pathways === */
.pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.pathway {
  background: var(--bg); padding: 56px 44px; transition: background 0.4s ease;
  cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.pathway:hover { background: white; }
.pathway-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 22px; color: var(--gold); margin-bottom: 28px; }
.pathway-icon { width: 48px; height: 48px; margin-bottom: 32px; stroke: var(--ink); stroke-width: 1; fill: none; transition: stroke 0.3s; }
.pathway:hover .pathway-icon { stroke: var(--gold); }
.pathway h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 32px; line-height: 1.15; margin-bottom: 18px; }
.pathway p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin-bottom: 28px; flex: 1; }
.pathway-features { list-style: none; margin-bottom: 32px; }
.pathway-features li {
  font-size: 13.5px; color: var(--ink-soft); padding: 8px 0 8px 20px;
  position: relative; border-bottom: 1px solid var(--rule);
}
.pathway-features li:last-child { border-bottom: none; }
.pathway-features li::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 1px; background: var(--gold); }
.pathway-link {
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  border-bottom: 1px solid var(--ink); width: fit-content; transition: all 0.25s ease;
}
.pathway:hover .pathway-link { color: var(--gold); border-bottom-color: var(--gold); gap: 14px; }

/* === Services Grid === */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.service {
  background: var(--bg); padding: 44px 40px;
  display: grid; grid-template-columns: 60px 1fr; gap: 28px; align-items: start;
  transition: background 0.3s ease;
}
.service:hover { background: white; }
.service-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 28px; color: var(--gold); font-weight: 300; }
.service h4 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 400; margin-bottom: 12px; }
.service p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px;
  background: rgba(184, 146, 74, 0.08); color: var(--gold);
  border: 1px solid rgba(184, 146, 74, 0.2); border-radius: 2px;
}
.tag.sage { background: rgba(138, 154, 123, 0.10); color: var(--sage); border-color: rgba(138, 154, 123, 0.25); }

/* === Detail Cards === */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.detail-card { background: white; padding: 40px 36px; border: 1px solid var(--rule); transition: transform 0.3s, box-shadow 0.3s; }
.detail-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.detail-card .label { margin-bottom: 16px; }
.detail-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; margin-bottom: 14px; line-height: 1.2; }
.detail-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.detail-card ul { list-style: none; }
.detail-card ul li { font-size: 13.5px; color: var(--ink-soft); padding: 6px 0 6px 18px; position: relative; }
.detail-card ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--gold); }

/* === Signature Programs === */
.signature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.signature { background: white; padding: 48px 40px; border: 1px solid var(--rule); position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.signature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.signature::after { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--gold); transition: height 0.4s; }
.signature:hover::after { height: 100%; }
.signature .label { margin-bottom: 20px; }
.signature h4 { font-family: 'Cormorant Garamond', serif; font-size: 30px; line-height: 1.2; font-weight: 400; margin-bottom: 16px; }
.signature p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; margin-bottom: 24px; }
.signature-components { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
.component { font-size: 12px; color: var(--ink-soft); padding: 5px 12px; background: var(--bg-warm); border-radius: 100px; }

/* === Protocol (dark) === */
.protocol { background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.protocol::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(184,146,74,0.15) 0%, transparent 60%); }
.protocol .label { color: var(--gold-light); }
.protocol-inner { position: relative; z-index: 1; }
.protocol h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(40px,5vw,64px); line-height: 1.05; margin-bottom: 24px; }
.protocol h2 em { color: var(--gold-light); font-style: italic; }
.protocol-sub { font-size: 17px; color: rgba(250,250,247,0.75); max-width: 640px; margin-bottom: 64px; line-height: 1.7; }
.protocol-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.protocol-tabs { display: flex; flex-direction: column; gap: 4px; }
.ptab { display: grid; grid-template-columns: 50px 1fr auto; gap: 20px; padding: 22px 28px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 2px; align-items: center; transition: all 0.3s; cursor: pointer; }
.ptab:hover { background: rgba(255,255,255,0.06); border-color: var(--gold); transform: translateX(4px); }
.ptab .pt-num { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: var(--gold-light); }
.ptab .pt-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: white; }
.ptab .pt-desc { font-size: 13px; color: rgba(250,250,247,0.6); margin-top: 2px; }
.ptab .pt-arrow { color: rgba(255,255,255,0.3); transition: color 0.3s, transform 0.3s; }
.ptab:hover .pt-arrow { color: var(--gold); transform: translateX(4px); }
.protocol-feature { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 40px; }
.protocol-feature h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; margin-bottom: 16px; }
.protocol-feature p { font-size: 14.5px; color: rgba(250,250,247,0.75); line-height: 1.7; margin-bottom: 28px; }
.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li { font-size: 13.5px; color: rgba(250,250,247,0.85); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 12px; }
.feature-list li::before { content: ''; width: 6px; height: 6px; background: var(--gold-light); border-radius: 50%; flex-shrink: 0; }
.feature-list li:last-child { border-bottom: none; }

/* === Mission === */
.mission-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.mission-visual { position: sticky; top: 120px; }
.mission-frame { aspect-ratio: 3/4; background: linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-alt) 100%); border: 1px solid var(--rule); position: relative; overflow: hidden; }
.mission-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.principles { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--rule); }
.principle { display: grid; grid-template-columns: 60px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.principle:last-child { border-bottom: none; }
.principle .pnum { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: 28px; color: var(--gold); }
.principle h5 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.principle p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* === Prose === */
.prose { max-width: 760px; }
.prose p { font-size: 17px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 24px; }
.prose h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; margin: 48px 0 18px; line-height: 1.15; }
.prose h3 em { color: var(--gold); font-style: italic; font-weight: 300; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 8px 0 24px; list-style: none; }
.prose ul li { font-size: 15px; color: var(--ink-soft); padding: 8px 0 8px 20px; position: relative; border-bottom: 1px solid var(--rule); line-height: 1.65; }
.prose ul li:last-child { border-bottom: none; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 1px; background: var(--gold); }

/* === CTA === */
.cta { background: var(--bg-warm); text-align: center; padding: 140px 0; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.cta h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(44px,5.5vw,72px); line-height: 1.05; margin-bottom: 32px; }
.cta h2 em { color: var(--gold); font-style: italic; }
.cta p { font-size: 18px; color: var(--ink-soft); margin-bottom: 48px; line-height: 1.65; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Contact Form === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 400; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 24px; }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-detail .cd-label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.contact-detail a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--rule-strong); border-radius: 4px;
  background: var(--bg); font-family: inherit; font-size: 14px; color: var(--ink); transition: border-color 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--gold); background: white; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === Footer === */
.site-footer { background: var(--ink); color: var(--bg); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.site-footer .site-logo { color: var(--bg); margin-bottom: 20px; }
.site-footer .logo-mark::before, .site-footer .logo-mark::after { border-color: var(--bg); }
.site-footer .logo-mark::after { border-color: var(--gold-light); }
.site-footer .site-logo .tag { color: rgba(250,250,247,0.5); border-left-color: rgba(250,250,247,0.2); }
.footer-blurb { color: rgba(250,250,247,0.65); font-size: 14px; line-height: 1.65; max-width: 320px; margin-bottom: 24px; }
.footer-col h6 { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(250,250,247,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(250,250,247,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(250,250,247,0.5);
}
.contact-line { display: flex; gap: 24px; font-size: 13px; }
.contact-line a { color: rgba(250,250,247,0.7); text-decoration: none; }

/* === Divider === */
.divider { border: none; border-top: 1px solid var(--rule); margin: 80px 0; }

/* === Reveal animation === */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === Mobile === */
@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 50px; }
  .section-pad { padding: 80px 0; }
  .pathways, .services-grid, .signature-grid, .detail-grid { grid-template-columns: 1fr; }
  .protocol-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mission-visual { position: relative; top: 0; }
  .page-hero { padding: 130px 0 60px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   v1.1 — Homepage refresh: animated cloud hero, interactive orb,
   3D service figures, appointments, insurance, contact + map
============================================================ */

/* --- Cloud hero --- */
.hero-clouds { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; color: var(--bg); padding: 140px 0 100px; }
.hero-clouds .sky { position: absolute; inset: -6%; background: url('img/hero-clouds.jpg') center 45% / cover no-repeat; animation: kenburns 32s ease-in-out infinite alternate; will-change: transform; }
.hero-clouds .mist { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 30% 85%, rgba(255,255,255,.45), transparent 70%), radial-gradient(ellipse 50% 35% at 75% 80%, rgba(255,255,255,.35), transparent 70%); animation: mistDrift 26s ease-in-out infinite alternate; mix-blend-mode: screen; pointer-events: none; }
.hero-clouds .mist.two { animation-duration: 38s; animation-direction: alternate-reverse; opacity: .7; }
.hero-clouds .sunglow { position: absolute; left: 50%; top: 42%; width: 900px; height: 900px; margin: -450px 0 0 -450px; background: radial-gradient(circle, rgba(255,205,120,.45) 0%, rgba(255,160,60,.15) 30%, transparent 62%); animation: glow 7s ease-in-out infinite; pointer-events: none; }
.hero-clouds .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,58,.35) 0%, rgba(15,30,58,.15) 45%, rgba(15,30,58,.72) 100%); }
.hero-clouds .container { position: relative; z-index: 2; }
.hero-clouds .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-clouds .label { color: var(--gold-light); }
.hero-clouds h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(56px, 7vw, 104px); line-height: .98; margin: 24px 0 18px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero-clouds h1 em { color: var(--gold-light); font-style: italic; }
.hero-clouds .tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 26px; color: rgba(250,250,247,.9); margin-bottom: 28px; }
.hero-clouds .hero-sub { font-size: 17px; line-height: 1.65; color: rgba(250,250,247,.85); max-width: 480px; margin-bottom: 36px; }
.hero-clouds .btn-ghost { color: var(--bg); border-color: rgba(250,250,247,.6); }
.hero-clouds .btn-ghost:hover { background: var(--bg); color: var(--ink); }
@keyframes kenburns { from { transform: scale(1) translateX(0) } to { transform: scale(1.12) translateX(-2.5%) } }
@keyframes mistDrift { from { transform: translateX(-4%) } to { transform: translateX(4%) } }
@keyframes glow { 0%,100% { opacity: .75; transform: scale(1) } 50% { opacity: 1; transform: scale(1.08) } }

/* --- Interactive orb (v1.2: orbiting nodes, card on hover only) --- */
.orb-stage { position: relative; height: 480px; display: grid; place-items: center; perspective: 1200px; }
.orb { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; transition: transform .2s ease-out; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid; transition: opacity .35s, filter .35s, border-width .35s; }
.ring-outer { border: 1px dashed rgba(250,250,247,.35); inset: -28px; animation: spinA 42s linear infinite reverse; }
.ring-mind  { border-color: #fff; animation: spinA 22s linear infinite; }
.ring-body  { border-color: var(--gold-light); inset: 30px; animation: spinB 18s linear infinite; }
.ring-coord { border-color: var(--sage-light); inset: 60px; animation: spinC 26s linear infinite; }
.core { position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 36px 10px rgba(212,181,129,.45); transition: transform .35s, box-shadow .35s; }
@keyframes spinA { from { transform: rotateX(65deg) rotateZ(0) } to { transform: rotateX(65deg) rotateZ(360deg) } }
@keyframes spinB { from { transform: rotateY(65deg) rotateZ(0) } to { transform: rotateY(65deg) rotateZ(-360deg) } }
@keyframes spinC { from { transform: rotateX(30deg) rotateY(45deg) rotateZ(0) } to { transform: rotateX(30deg) rotateY(45deg) rotateZ(360deg) } }

/* Orbiting nodes — positioned by JS */
.orb-node { position: absolute; top: 50%; left: 50%; z-index: 4; display: flex; align-items: center; gap: 10px; background: none; border: none; padding: 6px 10px; margin: 0; cursor: pointer; color: #fff; font-family: 'DM Sans', sans-serif; will-change: transform; transition: opacity .3s; }
.orb-node .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(15,30,58,.55), 0 0 14px currentColor; transition: transform .3s, box-shadow .3s; }
.orb-node span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.6); white-space: nowrap; }
.orb-node.n-body { color: var(--gold-light); }
.orb-node.n-coord { color: var(--sage-light); }
.orb-node:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 100px; }
.orb-node:hover .dot, .orb-node.active .dot { transform: scale(1.6); box-shadow: 0 0 0 5px rgba(15,30,58,.6), 0 0 22px currentColor; }

/* Active states */
.orb-stage[data-active] .ring { opacity: .18; filter: blur(.5px); }
.orb-stage[data-active] .orb-node { opacity: .3; }
.orb-stage[data-active] .orb-node.active { opacity: 1; }
.orb-stage[data-active="mind"] .ring-mind, .orb-stage[data-active="body"] .ring-body, .orb-stage[data-active="coord"] .ring-coord { opacity: 1; filter: none; border-width: 2.5px; animation-duration: 8s; }
.orb-stage[data-active="coord"] .core { transform: scale(1.8); box-shadow: 0 0 60px 18px rgba(212,181,129,.6); }

/* Info card — hidden until a node is hovered/clicked */
.orb-card { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) translateY(10px); width: 300px; background: rgba(250,250,247,.97); border: 1px solid var(--gold); box-shadow: var(--shadow); padding: 18px 22px; z-index: 6; text-align: center; color: var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .35s ease; }
.orb-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 28px; height: 28px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.orb-card .label { display: block; margin-bottom: 6px; font-size: 10px; color: var(--gold); }
.orb-card-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; line-height: 1.1; margin-bottom: 8px; }
.orb-card p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }
.orb-stage[data-active] .orb-card { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Mission strip --- */
.mission-strip { text-align: center; padding: 100px 0 80px; }
.mission-strip h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(44px,5.5vw,72px); margin-bottom: 24px; }
.mission-strip p { font-size: 20px; line-height: 1.6; color: var(--ink-soft); max-width: 720px; margin: 0 auto 40px; }
.mission-strip strong { color: var(--ink); }

/* --- About (Philip) --- */
.about-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--bg); }
.about-photo { position: relative; min-height: 560px; overflow: hidden; perspective: 1000px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .6s ease; transform: scale(1.02); }
.about-band:hover .about-photo img { transform: scale(1.07); }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--ink) 100%); pointer-events: none; }
.about-copy { padding: 90px 80px; display: flex; flex-direction: column; justify-content: center; }
.about-copy .label { color: var(--gold-light); margin-bottom: 20px; }
.about-copy h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(44px,5vw,68px); line-height: 1; margin-bottom: 8px; }
.about-copy h2 em { color: var(--gold-light); font-style: italic; }
.about-copy .role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,250,247,.55); margin-bottom: 28px; }
.about-copy p { font-size: 17px; line-height: 1.75; color: rgba(250,250,247,.85); margin-bottom: 18px; }
.about-copy .btn-gold { align-self: flex-start; margin-top: 12px; }

/* --- Services with 3D figures --- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--rule); }
.svc-row:last-child { border-bottom: none; }
.svc-row.flip .svc-fig { order: 2; }
.svc-copy h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(38px,4.2vw,56px); line-height: 1.05; margin-bottom: 20px; }
.svc-copy h3 em { color: var(--gold); font-style: italic; }
.svc-copy p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); }
.svc-copy strong { color: var(--ink); font-weight: 600; }
.svc-fig { perspective: 1100px; }
.fig3d { transform-style: preserve-3d; transition: transform .25s ease; will-change: transform; }
.fig3d svg { width: 100%; height: auto; display: block; overflow: visible; }
.fig3d text { font-family: 'DM Sans', sans-serif; }
.fig3d .serif { font-family: 'Cormorant Garamond', serif; }
/* Figure 1: clinic circles */
.fig-clinic .node { transition: transform .35s cubic-bezier(.2,.9,.3,1.3), filter .35s; transform-box: fill-box; transform-origin: center; cursor: pointer; }
.fig-clinic .node:hover { transform: translateY(-10px) scale(1.06); filter: drop-shadow(0 12px 18px rgba(15,30,58,.18)); }
.fig-clinic .node circle { fill: #fff; stroke-width: 2.5; }
.fig-clinic .hub circle { stroke: var(--gold); fill: var(--bg-warm); animation: hubPulse 4s ease-in-out infinite; }
@keyframes hubPulse { 0%,100% { stroke-width: 2.5 } 50% { stroke-width: 5 } }
.fig-clinic .link { stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 4 6; animation: dash 6s linear infinite; opacity: .7; }
@keyframes dash { to { stroke-dashoffset: -60 } }
/* Figure 2: wellness wheel */
.fig-wheel .petal { transition: transform .35s cubic-bezier(.2,.9,.3,1.3), opacity .3s; transform-box: fill-box; transform-origin: center; cursor: pointer; opacity: .85; }
.fig-wheel:hover .petal { opacity: .45; }
.fig-wheel .petal:hover { opacity: 1; transform: scale(1.12); }
.fig-wheel .dim-label { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.fig-wheel .dim-desc { font-size: 8.5px; fill: var(--ink-muted); }
.fig-wheel .center { font-size: 22px; letter-spacing: .18em; fill: var(--ink); font-weight: 500; }
.fig-wheel .wheel { animation: slowSpin 90s linear infinite; transform-origin: 250px 250px; }
@keyframes slowSpin { to { transform: rotate(360deg) } }
/* Figure 3: outcomes triangle */
.fig-tri .arrow { stroke: var(--gold); fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 3s ease forwards; }
.fig-tri .arrow.a2 { animation-delay: .5s } .fig-tri .arrow.a3 { animation-delay: 1s }
@keyframes draw { to { stroke-dashoffset: 0 } }
.fig-tri .box { transition: transform .35s cubic-bezier(.2,.9,.3,1.3); transform-box: fill-box; transform-origin: center; cursor: pointer; }
.fig-tri .box:hover { transform: translateY(-8px) scale(1.05); }
.fig-tri .box rect { fill: var(--ink); }
.fig-tri .box text { fill: #fff; font-size: 11px; font-weight: 500; }
.fig-tri .tri { fill: var(--bg-warm); stroke: var(--gold); stroke-width: 2; }

/* --- Appointments (dark) --- */
.appts { background: var(--ink); color: var(--bg); }
.appts .label { color: var(--gold-light); }
.appts h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(44px,5.5vw,72px); text-align: center; margin: 12px 0 70px; }
.appts h2 em { color: var(--gold-light); font-style: italic; }
.appt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.appt-col { background: var(--ink); padding: 48px 40px; transition: background .3s; }
.appt-col:hover { background: rgba(255,255,255,.04); }
.appt-col h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 34px; margin-bottom: 8px; }
.appt-col .for { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.appt-col ul { list-style: none; }
.appt-col li { font-size: 14.5px; padding: 10px 0 10px 20px; position: relative; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(250,250,247,.88); }
.appt-col li:last-child { border-bottom: none; }
.appt-col li::before { content: ''; position: absolute; left: 0; top: 19px; width: 8px; height: 1px; background: var(--gold-light); }
.appt-cta { text-align: center; margin-top: 56px; }

/* --- Insurance --- */
.insurance { background: var(--bg-warm); padding: 90px 0; }
.insurance .row { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.insurance h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(32px,3.6vw,48px); line-height: 1.2; max-width: 760px; }
.insurance h2 em { color: var(--gold); font-style: italic; }

/* --- Contact + map --- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.map-embed { margin-top: 100px; height: 460px; border: 1px solid var(--rule); filter: grayscale(.35) saturate(.8); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.legal-links { display: flex; gap: 24px; }
.legal-links a { color: rgba(250,250,247,.7); text-decoration: none; font-size: 12px; letter-spacing: .06em; }

@media (max-width: 980px) {
  .hero-clouds { min-height: auto; padding: 120px 0 70px; }
  .hero-clouds .hero-grid, .svc-row, .contact-wrap, .about-band, .insurance .row { grid-template-columns: 1fr; }
  .svc-row.flip .svc-fig { order: 0; }
  .about-photo { min-height: 420px; } .about-photo::after { background: linear-gradient(180deg, transparent 70%, var(--ink) 100%); }
  .about-copy { padding: 50px 24px; }
  .appt-grid { grid-template-columns: 1fr; }
  .orb-stage { height: 420px; } .orb { width: 220px; height: 220px; }
  .orb-card { width: 260px; }
}
@media (prefers-reduced-motion: reduce) { .ring, .orb, .sky, .mist, .sunglow, .wheel { animation: none !important; } }

.nav-cta { display:none; margin-left:16px; }
@media (max-width:980px){ .nav-cta{ display:inline-flex; } }

/* --- Eight dimensions list (mission) --- */
.dims-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); max-width: 1100px; margin: 0 auto 48px; text-align: left; }
.dims-list li { background: var(--bg); padding: 22px 22px 24px; transition: background .3s; }
.dims-list li:hover { background: white; }
.dims-list strong { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 22px; color: var(--ink); margin-bottom: 6px; position: relative; padding-left: 18px; }
.dims-list strong::before { content: ''; position: absolute; left: 0; top: 13px; width: 10px; height: 1px; background: var(--gold); }
.dims-list span { display: block; font-size: 13px; line-height: 1.55; color: var(--ink-muted); padding-left: 18px; }
@media (max-width: 980px) { .dims-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dims-list { grid-template-columns: 1fr; } }

/* ============================================================
   MIA WIDGET — text + voice (bottom-right)
============================================================ */
#mia { position: fixed; right: 20px; bottom: 20px; z-index: 9999; font-family: 'DM Sans', sans-serif; }
.mia-fab { position: relative; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border: none; border-radius: 100px; background: var(--gold); color: #fff; cursor: pointer; box-shadow: 0 8px 28px rgba(15,30,58,.28); transition: background .25s, transform .25s; }
.mia-fab:hover { background: var(--ink); transform: translateY(-2px); }
.mia-fab.open { background: var(--ink); }
.mia-fab-label { font-size: 13px; font-weight: 500; letter-spacing: .03em; }
.mia-fab-ring { position: absolute; inset: -4px; border-radius: 100px; border: 1.5px solid var(--gold-light); animation: miaPulse 2.6s ease-out infinite; pointer-events: none; }
.mia-fab.open .mia-fab-ring { display: none; }
@keyframes miaPulse { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.35); opacity: 0 } }

.mia-panel { position: absolute; right: 0; bottom: 68px; width: 360px; max-height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--rule); box-shadow: 0 24px 64px rgba(15,30,58,.22); border-radius: 8px; overflow: hidden; animation: miaIn .3s ease; }
.mia-panel[hidden] { display: none; }
@keyframes miaIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.mia-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--bg); }
.mia-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-family: 'Cormorant Garamond', serif; font-size: 20px; }
.mia-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; line-height: 1; }
.mia-sub { font-size: 11px; color: rgba(250,250,247,.6); margin-top: 3px; letter-spacing: .04em; }
.mia-close { margin-left: auto; background: none; border: none; color: rgba(250,250,247,.7); font-size: 24px; cursor: pointer; line-height: 1; }
.mia-close:hover { color: #fff; }
.mia-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.mia-msg { display: flex; flex-direction: column; max-width: 88%; }
.mia-msg.user { align-self: flex-end; align-items: flex-end; }
.mia-bubble { padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-bottom-left-radius: 3px; white-space: pre-wrap; }
.mia-msg.user .mia-bubble { background: var(--ink); color: var(--bg); border-color: var(--ink); border-bottom-left-radius: 12px; border-bottom-right-radius: 3px; }
.mia-msg.typing .mia-bubble { display: flex; gap: 4px; padding: 12px 14px; }
.mia-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: miaDot 1.2s infinite; }
.mia-msg.typing span:nth-child(2) { animation-delay: .2s } .mia-msg.typing span:nth-child(3) { animation-delay: .4s }
@keyframes miaDot { 0%,60%,100% { opacity: .3; transform: translateY(0) } 30% { opacity: 1; transform: translateY(-3px) } }
.mia-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mia-action { font-size: 12px; font-weight: 500; padding: 6px 12px; border-radius: 100px; background: var(--gold); color: #fff; text-decoration: none; }
.mia-action:hover { background: var(--ink); }
.mia-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.mia-chips[hidden] { display: none; }
.mia-chips button { font-family: inherit; font-size: 12px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--rule-strong); background: #fff; color: var(--ink-soft); cursor: pointer; }
.mia-chips button:hover { border-color: var(--gold); color: var(--gold); }
.mia-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--rule); background: #fff; }
.mia-input input { flex: 1; border: 1px solid var(--rule-strong); border-radius: 100px; padding: 10px 14px; font-family: inherit; font-size: 13.5px; color: var(--ink); background: var(--bg); }
.mia-input input:focus { outline: none; border-color: var(--gold); background: #fff; }
.mia-input button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.mia-input button:hover { background: var(--gold); }
.mia-voice { display: flex; align-items: center; gap: 12px; padding: 10px 14px 12px; background: var(--bg-warm); border-top: 1px solid var(--rule); }
.mia-voice-btn { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 12.5px; font-weight: 500; padding: 8px 14px 8px 8px; border-radius: 100px; border: 1px solid var(--gold); background: #fff; color: var(--ink); cursor: pointer; transition: all .25s; }
.mia-voice-btn:hover { background: var(--gold); color: #fff; }
.mia-mic { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; }
.mia-voice-btn.live { background: var(--ink); color: #fff; border-color: var(--ink); }
.mia-voice-btn.live .mia-mic { background: #B85A5A; animation: miaLive 1.4s ease-in-out infinite; }
@keyframes miaLive { 0%,100% { box-shadow: 0 0 0 0 rgba(184,90,90,.5) } 50% { box-shadow: 0 0 0 8px rgba(184,90,90,0) } }
.mia-voice-note { font-size: 11px; color: var(--ink-muted); font-style: italic; }
@media (max-width: 480px) { #mia { right: 12px; bottom: 12px; } .mia-panel { width: calc(100vw - 24px); bottom: 64px; } .mia-fab-label { display: none; } .mia-fab { padding: 0 16px; } }
