/* ============================================================
   HWS — Health · Wealth · Service  |  Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* pillar colors — Health=blue, Wealth=green, Service=purple */
  --health:       #1a4e8a;
  --health-light: #4895ef;
  --wealth:       #2d6a4f;
  --wealth-light: #52b788;
  --service:      #7b2d8b;
  --service-light:#c77dff;
  --gold:         #b8860b;
  /* light theme (default) */
  --bg:           #f7f5f0;
  --bg2:          #eeeae2;
  --surface:      #ffffff;
  --surface2:     #f0ece4;
  --text:         #1a1a1a;
  --muted:        #666;
  --border:       rgba(0,0,0,0.10);
  --shadow:       rgba(0,0,0,0.08);
  --nav-bg:       rgba(247,245,240,0.88);
  --nav-border:   rgba(0,0,0,0.08);
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── DARK THEME ── */
[data-theme="dark"] {
  --bg:           #0d0d0d;
  --bg2:          #141414;
  --surface:      #1e1e1e;
  --surface2:     #252525;
  --text:         #e8e8e8;
  --muted:        #888;
  --border:       rgba(255,255,255,0.08);
  --shadow:       rgba(0,0,0,0.4);
  --nav-bg:       rgba(13,13,13,0.88);
  --nav-border:   rgba(255,255,255,0.08);
  --gold:         #c9a84c;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background .35s, color .35s;
  padding-bottom: 44px; /* room for fixed copyright bar */
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 3px;
  font-family: var(--ff-sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: #000;
  box-shadow: 0 4px 24px rgba(201,168,76,.3);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(201,168,76,.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--muted); background: rgba(0,0,0,.04); }
[data-theme="dark"] .btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }
.btn-pillar {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  margin-top: 1.5rem;
}
.btn-pillar:hover { background: var(--gold); color: #000; }

/* ── SECTION SHARED ── */
.section-label {
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.8;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
#nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  padding: .85rem 2rem;
  border-bottom: 1px solid var(--nav-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Theme toggle ── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .35rem .75rem;
  cursor: pointer;
  font-size: .75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--text); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: inline; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: inline; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-cta {
  padding: .6rem 1.4rem;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: #000 !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: .3s; }
.nav-right { display: flex; align-items: center; gap: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  animation: orbFloat 8s ease-in-out infinite;
}
[data-theme="dark"] .hero-orb { opacity: .35; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--health-light), transparent 70%); top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--wealth-light), transparent 70%); top: 20%; right: -5%; animation-delay: -3s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, var(--service-light), transparent 70%); bottom: 10%; left: 30%; animation-delay: -6s; }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
}
.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25em;
}
.hero-headline .word { opacity: 0; display: inline-block; }
.health-word { color: var(--health-light); }
.wealth-word { color: var(--wealth-light); }
.service-word { color: var(--service-light); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 2;
  opacity: .4;
}
.hero-scroll-hint span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}



/* ============================================================
   MANIFESTO
   ============================================================ */
#manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  font-style: normal;
  line-height: 1.7;
  color: var(--text);
  opacity: 0;
}
.manifesto-quote em { color: var(--gold); font-style: italic; }
.manifesto-attr {
  margin-top: 1.5rem;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
}

/* ============================================================
   PILLARS INTRO
   ============================================================ */
#pillars-intro { text-align: center; }
#pillars-intro .section-body { margin: 0 auto 3rem; }

.loop-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  opacity: 0;
}
.loop-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  min-width: 160px;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  box-shadow: 0 2px 12px var(--shadow);
}
.loop-node:hover { transform: translateY(-6px); }
.node-health { border-color: rgba(72,149,239,.3); }
.node-health:hover { border-color: var(--health-light); }
.node-wealth { border-color: rgba(82,183,136,.3); }
.node-wealth:hover { border-color: var(--wealth-light); }
.node-service { border-color: rgba(199,125,255,.3); }
.node-service:hover { border-color: var(--service-light); }
.loop-icon { font-size: 2rem; }
.loop-node span { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 400; }
.loop-node p { font-size: .8rem; color: var(--muted); text-align: center; }
.loop-arrow { font-size: 1.5rem; color: var(--gold); opacity: .6; }
.loop-arrow-back { display: none; }

/* ============================================================
   PILLAR SECTIONS
   ============================================================ */
.pillar-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.pillar-parallax-bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  opacity: .06;
  pointer-events: none;
}
.parallax-img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
}
.pillar-health  { background: linear-gradient(135deg, #ddeeff 0%, var(--bg) 60%); }
.pillar-wealth  { background: linear-gradient(135deg, #d6f0e4 0%, var(--bg) 60%); }
.pillar-service { background: linear-gradient(135deg, #f0d6f5 0%, var(--bg) 60%); }
[data-theme="dark"] .pillar-health  { background: linear-gradient(135deg, #0a1020 0%, var(--bg) 60%); }
[data-theme="dark"] .pillar-wealth  { background: linear-gradient(135deg, #0a1a12 0%, var(--bg) 60%); }
[data-theme="dark"] .pillar-service { background: linear-gradient(135deg, #150a1a 0%, var(--bg) 60%); }

.pillar-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.pillar-content-reverse { direction: rtl; }
.pillar-content-reverse > * { direction: ltr; }

.pillar-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.pillar-title {
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.pillar-health .pillar-title { color: var(--health-light); }
.pillar-wealth .pillar-title { color: var(--wealth-light); }
.pillar-service .pillar-title { color: var(--service-light); }

.pillar-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.pillar-list li { color: var(--text); }
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pillar-list li {
  font-size: .9rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  opacity: .8;
}
.pillar-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: .6;
}

/* Poster stack */
.pillar-posters { display: flex; align-items: center; justify-content: center; }
.poster-stack {
  position: relative;
  width: 280px;
  height: 360px;
}
.poster-card {
  position: absolute;
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 20px 60px var(--shadow);
  transition: transform .4s var(--ease-out);
}
[data-theme="dark"] .poster-card { box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.poster-card.p1 { top: 0; left: 30px; z-index: 3; transform: rotate(-2deg); }
.poster-card.p2 { top: 30px; left: 0; z-index: 2; transform: rotate(1.5deg); }
.poster-card.p3 { top: 60px; left: 50px; z-index: 1; transform: rotate(-1deg); opacity: .7; }
.poster-stack:hover .p1 { transform: rotate(-6deg) translateY(-10px); }
.poster-stack:hover .p2 { transform: rotate(4deg) translateX(-10px); }
.poster-stack:hover .p3 { transform: rotate(-3deg) translateY(10px); }

/* ============================================================
   STATS
   ============================================================ */
#stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: 0;
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-num::after { content: '+'; font-size: .6em; opacity: .6; }
.stat-label {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ============================================================
   LIBRARY
   ============================================================ */
#library { background: var(--bg2); }
#library .section-inner { padding-bottom: 5rem; }

.library-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  opacity: 0;
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--ff-sans);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.lib-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--surface);
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.lib-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.lib-item:hover img { transform: scale(1.06); }
.lib-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity .3s;
}
.lib-item:hover .lib-overlay { opacity: 1; }
.lib-overlay span {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: #fff;
}
.lib-item.hidden { display: none; }

/* ============================================================
   JOIN / CTA
   ============================================================ */
#join {
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem;
  text-align: center;
  background: var(--bg);
}
.join-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.join-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
  pointer-events: none;
}
.join-orb-1 { width: 500px; height: 500px; background: var(--health-light); top: -20%; left: -20%; }
.join-orb-2 { width: 400px; height: 400px; background: var(--service-light); bottom: -20%; right: -10%; }

.join-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  opacity: 0;
}
.join-body {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
}
.join-form {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  opacity: 0;
}
.join-input {
  padding: .85rem 1.5rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--ff-sans);
  font-size: .9rem;
  width: 300px;
  max-width: 100%;
  outline: none;
  transition: border-color .2s;
}
.join-input:focus { border-color: var(--gold); }
.join-fine {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .05em;
  opacity: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
}
.footer-links { display: flex; flex-direction: column; gap: .75rem; }
.footer-links h4 {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: .25rem;
}
.footer-links a {
  font-size: .875rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

/* ── Fixed copyright bar ── */
#copyright-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: .6rem 1.5rem;
  text-align: center;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .03em;
  transition: background .35s, border-color .35s;
}
#copyright-bar .heart { color: #e53e3e; }
.copy-ver {
  position: absolute;
  left: 1.5rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
}

/* ============================================================
   GSAP INITIAL STATES
   ============================================================ */
[data-gsap="fade-up"] { opacity: 0; transform: translateY(30px); }
[data-gsap="fade-right"] { opacity: 0; transform: translateX(-40px); }
[data-gsap="fade-left"] { opacity: 0; transform: translateX(40px); }

/* ── Light theme section-title / muted text contrast ── */
.section-title { color: var(--text); }
.manifesto-quote { color: var(--text); }
.join-title { color: var(--text); }
.pillar-title { color: var(--text); } /* overridden per-pillar below */
.pillar-health .pillar-title { color: var(--health-light); }
.pillar-wealth .pillar-title { color: var(--wealth-light); }
.pillar-service .pillar-title { color: var(--service-light); }
/* In light mode darken pillar titles for readability */
body:not([data-theme="dark"]) .pillar-health .pillar-title  { color: var(--health); }
body:not([data-theme="dark"]) .pillar-wealth .pillar-title  { color: var(--wealth); }
body:not([data-theme="dark"]) .pillar-service .pillar-title { color: var(--service); }
body:not([data-theme="dark"]) .health-word  { color: var(--health); }
body:not([data-theme="dark"]) .wealth-word  { color: var(--wealth); }
body:not([data-theme="dark"]) .service-word { color: var(--service); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pillar-content { grid-template-columns: 1fr; gap: 3rem; }
  .pillar-content-reverse { direction: ltr; }
  .pillar-posters { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .stat-divider { display: none; }
  .loop-arrow-back { display: block; }
  .theme-toggle span { display: none; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .poster-stack { width: 220px; height: 280px; }
  .poster-card { width: 170px; }
}

/* ============================================================
   V2 — HERO IMAGE BACKGROUND
   ============================================================ */
.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 30%;
  transform-origin: center center;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,245,240,.72) 0%,
    rgba(247,245,240,.55) 50%,
    rgba(247,245,240,.85) 100%
  );
}
[data-theme="dark"] .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,.75) 0%,
    rgba(13,13,13,.55) 50%,
    rgba(13,13,13,.88) 100%
  );
}
/* orbs sit on top of image */
#hero .hero-bg { z-index: 1; }
#hero .hero-content { z-index: 3; }
#hero .hero-scroll-hint { z-index: 3; }
#hero .hero-poster-strip { z-index: 2; }

/* hero tagline */
.hero-tagline {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0;
  letter-spacing: .02em;
}

/* ============================================================
   V2 — TRIAGE SECTION
   ============================================================ */
#triage {
  background: var(--bg);
}
.triage-inner {
  text-align: center;
}
.triage-body {
  margin: 0 auto 3rem;
}
.triage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.triage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  opacity: 0;
  transform: translateY(30px);
}
.triage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
}
.triage-need:hover  { border-color: var(--health-light); }
.triage-give:hover  { border-color: var(--service-light); }
.triage-biz:hover   { border-color: var(--wealth-light); }
.triage-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.triage-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: .75rem;
  color: var(--text);
}
.triage-card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
}
.triage-card .btn-pillar {
  margin-top: 1.5rem;
  display: inline-flex;
}

/* ============================================================
   V2 — FLYWHEEL SECTION
   ============================================================ */
#flywheel {
  background: var(--bg2);
}
.flywheel-body {
  margin: 0 auto 3rem;
}
.flywheel-stages {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.flywheel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  opacity: .5;
  padding: 0 .5rem;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(30px);
}
.flywheel-stage {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  opacity: 0;
  transform: translateY(30px);
}
.flywheel-stage:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}
.stage-health { border-top: 3px solid var(--health-light); }
.stage-wealth { border-top: 3px solid var(--wealth-light); }
.stage-service { border-top: 3px solid var(--service-light); }

.stage-num {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: .5rem;
  opacity: .12;
  color: var(--text);
}
.stage-icon { font-size: 2rem; margin-bottom: .75rem; }
.stage-title {
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: .25rem;
  color: var(--text);
}
.stage-pillar {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.stage-health .stage-pillar { color: var(--health-light); }
.stage-wealth .stage-pillar { color: var(--wealth-light); }
.stage-service .stage-pillar { color: var(--service-light); }
body:not([data-theme="dark"]) .stage-health .stage-pillar { color: var(--health); }
body:not([data-theme="dark"]) .stage-wealth .stage-pillar { color: var(--wealth); }
body:not([data-theme="dark"]) .stage-service .stage-pillar { color: var(--service); }

.stage-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.stage-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.stage-list li {
  font-size: .82rem;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
  opacity: .7;
}
.stage-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: .5;
}
.flywheel-loop-label {
  text-align: center;
  margin-top: 2rem;
  font-size: .8rem;
  color: var(--muted);
  font-style: italic;
  opacity: 0;
  transform: translateY(20px);
}

/* ============================================================
   V2 — PROJECTS SECTION
   ============================================================ */
#projects {
  background: var(--bg);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  opacity: 0;
  transform: translateY(30px);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}
.project-card-placeholder {
  border-style: dashed;
  opacity: 0;
}
.project-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  padding-top: .2rem;
}
.project-body { flex: 1; }
.project-tag {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.project-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: .6rem;
  color: var(--text);
}
.project-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.project-status {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 20px;
}
.coming-soon {
  background: rgba(201,168,76,.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.3);
}
.project-link {
  font-size: .8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .05em;
  transition: opacity .2s;
}
.project-link:hover { opacity: .7; }

/* ============================================================
   V2 — RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 900px) {
  .triage-cards   { grid-template-columns: 1fr; }
  .flywheel-stages { flex-direction: column; }
  .flywheel-arrow { transform: rotate(90deg); padding: .25rem 0; }
  .projects-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .project-card { flex-direction: column; }
}
