/* =========================================================
   Inner Path Center — Editorial Sacred Design System
   ========================================================= */

:root {
  /* Palette */
  --c-midnight: #0f1c2e;
  --c-midnight-soft: #1a2a3f;
  --c-midnight-deeper: #08111c;
  --c-cream: #faf6ef;
  --c-cream-warm: #f3ecdf;
  --c-cream-deep: #ebe2cf;
  --c-gold: #c9a961;
  --c-gold-soft: #d9bc7c;
  --c-gold-deep: #a8893f;
  --c-slate: #5f6360;
  --c-slate-dim: #8a8e8b;
  --c-ink: #1a1a1a;
  --c-ink-soft: #3a3a3a;
  --c-line: rgba(15, 28, 46, 0.12);
  --c-line-soft: rgba(15, 28, 46, 0.06);

  /* Typography */
  --f-display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Container */
  --max-w: 1320px;
  --max-w-prose: 640px;
  --max-w-wide: 1080px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-1: 0.18s;
  --t-2: 0.35s;
  --t-3: 0.6s;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(15, 28, 46, 0.04), 0 1px 1px rgba(15, 28, 46, 0.06);
  --sh-2: 0 4px 12px rgba(15, 28, 46, 0.08), 0 2px 4px rgba(15, 28, 46, 0.04);
  --sh-3: 0 24px 48px rgba(15, 28, 46, 0.16), 0 8px 16px rgba(15, 28, 46, 0.08);
}

/* =========================================================
   Reset / Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.11  0 0 0 0 0.18  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; color: var(--c-slate); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--c-midnight); color: var(--c-cream); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  background: var(--c-midnight);
  color: var(--c-cream);
  padding: var(--s-3) var(--s-5);
  z-index: 1000;
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin: 0 0 var(--s-5);
  color: var(--c-midnight);
}

.display-xl {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h1, .display-l {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

h2, .display-m {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.018em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 500;
}

h4 { font-size: 1.375rem; font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin: 0 0 var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--c-gold);
}

.lead {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--c-ink-soft);
  font-style: italic;
}

p { margin: 0 0 var(--s-5); }
strong { font-weight: 600; color: var(--c-midnight); }

blockquote {
  margin: var(--s-7) 0;
  padding: 0;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.32;
  font-weight: 400;
  font-style: italic;
  color: var(--c-midnight);
}
blockquote cite {
  display: block;
  margin-top: var(--s-4);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
}
blockquote cite::before { content: '— '; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}
.container--wide { max-width: var(--max-w-wide); }
.container--prose { max-width: var(--max-w-prose); }

section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-tight { padding-block: clamp(2rem, 5vw, 4rem); }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; gap: var(--s-7); }
.grid-3 { grid-template-columns: 1fr; gap: var(--s-6); }
.grid-4 { grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; grid-template-columns: 1fr; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
  .split--narrow-left { grid-template-columns: 5fr 7fr; }
  .split--narrow-right { grid-template-columns: 7fr 5fr; }
}

.divider {
  height: 1px;
  background: var(--c-line);
  border: 0;
  margin: 0;
}
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  color: var(--c-gold);
  margin: var(--s-7) 0;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-2) var(--ease), background var(--t-2) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  background: rgba(250, 246, 239, 0.95);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s-4);
  gap: var(--s-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-size: 1.375rem;
  letter-spacing: 0.02em;
  color: var(--c-midnight);
  font-weight: 500;
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name small {
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-top: 2px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: var(--s-7);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1024px) { .nav-menu { display: flex; } }
.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-ink-soft);
  position: relative;
  padding-block: var(--s-2);
  transition: color var(--t-1) var(--ease);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-2) var(--ease);
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] { color: var(--c-midnight); }
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  display: none;
  align-items: center;
  gap: var(--s-3);
}
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  color: var(--c-midnight);
  transition: background var(--t-1) var(--ease);
}
.menu-toggle:hover { background: rgba(15, 28, 46, 0.05); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--c-midnight);
  color: var(--c-cream);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform var(--t-3) var(--ease);
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-7);
}
.mobile-drawer-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(250, 246, 239, 0.2);
  color: var(--c-cream);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.mobile-nav a {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 400;
  padding-block: var(--s-3);
  border-bottom: 1px solid rgba(250, 246, 239, 0.08);
  display: block;
  color: var(--c-cream);
}
.mobile-nav a[aria-current="page"] { color: var(--c-gold); }
.mobile-drawer-footer {
  margin-top: auto;
  padding-top: var(--s-7);
  border-top: 1px solid rgba(250, 246, 239, 0.1);
  font-size: 0.875rem;
  color: rgba(250, 246, 239, 0.7);
}
.mobile-drawer-footer a { display: block; margin-top: var(--s-2); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t-2) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--c-midnight);
  color: var(--c-cream);
}
.btn-primary:hover {
  background: var(--c-midnight-deeper);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.btn-gold {
  background: var(--c-gold);
  color: var(--c-midnight);
}
.btn-gold:hover {
  background: var(--c-gold-soft);
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.btn-ghost {
  background: transparent;
  color: var(--c-midnight);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  background: var(--c-midnight);
  color: var(--c-cream);
  border-color: var(--c-midnight);
}
.btn-ghost-light {
  background: transparent;
  color: var(--c-cream);
  border-color: rgba(250, 246, 239, 0.3);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover {
  background: rgba(250, 246, 239, 0.08);
  border-color: var(--c-gold);
  color: var(--c-gold);
  transform: translateY(-1px);
}
.btn-link {
  padding: 0;
  background: transparent;
  border: none;
  color: var(--c-midnight);
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.9375rem;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--c-gold);
}
.btn-link:hover { color: var(--c-gold-deep); }
.btn-large { padding: var(--s-5) var(--s-7); font-size: 0.9375rem; }
.btn .arrow {
  transition: transform var(--t-2) var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   Cosmic zone — Three.js canvas spans hero + intro + pillars
   ========================================================= */
.cosmic-zone {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(201, 169, 97, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #08111c 0%, #0f1c2e 30%, #0a1422 70%, #060c14 100%);
  color: var(--c-cream);
  overflow: hidden;
  isolation: isolate;
}
.cosmic-zone::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(180deg, transparent 0%, var(--c-cream) 100%);
  z-index: 4;
  pointer-events: none;
}
.cosmic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.cosmic-bg .hero-canvas,
.cosmic-bg .hero-svg-fallback {
  position: sticky;
  top: 0;
  display: block;
  width: 100vw !important;
  height: 100vh !important;
  margin-left: calc(-1 * (100vw - 100%) / 2);
}
@supports not (top: 0) {
  .cosmic-bg .hero-canvas { position: fixed; inset: 0; }
}

.cosmic-section {
  position: relative;
  z-index: 2;
  color: var(--c-cream);
  background: transparent;
}
.cosmic-section h1,
.cosmic-section h2,
.cosmic-section h3,
.cosmic-section h4 { color: var(--c-cream); }
.cosmic-section p { color: rgba(250, 246, 239, 0.82); }
.cosmic-section .lead { color: rgba(250, 246, 239, 0.92); }
.cosmic-section .eyebrow { color: var(--c-gold); }
.cosmic-section .eyebrow::before { background: var(--c-gold); }
.cosmic-section strong { color: var(--c-cream); }
.cosmic-section .pillar p { color: rgba(250, 246, 239, 0.7); }
.cosmic-section .pillar-number { color: var(--c-gold); font-style: italic; }
.cosmic-section.pillars { background: transparent; }
.cosmic-section.pillars .pillar:not(:last-child)::after {
  background: rgba(201, 169, 97, 0.18);
}
.gold-em {
  color: var(--c-gold);
  font-style: italic;
  background: linear-gradient(180deg, transparent 60%, rgba(201, 169, 97, 0.15) 60%);
}

/* Scroll cue inside hero (positioned to hero section, below the buttons) */
.hero .scroll-cue {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: rgba(250, 246, 239, 0.55);
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}
.hero .scroll-cue svg { color: var(--c-gold); opacity: 0.65; }
.scroll-cue-dot {
  stroke: var(--c-gold);
  stroke-width: 1.6;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%      { transform: translateY(4px); opacity: 1; }
}
@media (max-width: 640px) {
  .hero .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue-dot { animation: none; }
}

/* =========================================================
   Marquee — mantra ribbon
   ========================================================= */
.marquee-section {
  background: var(--c-cream-deep);
  padding-block: var(--s-7);
  border-block: 1px solid var(--c-line-soft);
  overflow: hidden;
  position: relative;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: var(--s-7);
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--c-midnight);
  letter-spacing: -0.01em;
  line-height: 1;
}
.marquee-track .marquee-dot {
  color: var(--c-gold);
  font-style: normal;
  font-size: clamp(1.5rem, 3vw, 2rem);
  transform: translateY(-4px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.hero {
  position: relative;
  padding-block: clamp(5rem, 14vw, 10rem) clamp(4rem, 10vw, 8rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.07;
}

/* Cosmic variant — background handled by .cosmic-zone parent */
.hero--cosmic {
  background: transparent;
  color: var(--c-cream);
  padding-block: clamp(6rem, 16vw, 12rem) clamp(5rem, 12vw, 9rem);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 0;
}
.hero-svg-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5;
}
.hero--cosmic .hero-inner { color: var(--c-cream); }
.hero--cosmic .hero-mark { color: var(--c-gold); opacity: 0.95; filter: drop-shadow(0 0 16px rgba(201, 169, 97, 0.35)); }
.hero--cosmic .eyebrow { color: var(--c-gold); }
.hero--cosmic .eyebrow::before { background: var(--c-gold); }
.hero--cosmic .hero-quote { color: var(--c-cream); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero--cosmic .hero-quote em { background: linear-gradient(180deg, transparent 60%, rgba(201, 169, 97, 0.45) 60%); }
.hero--cosmic .hero-attribution { color: var(--c-gold); }
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-quote {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.018em;
  color: var(--c-midnight);
  max-width: 22ch;
  margin: 0 auto var(--s-7);
  font-style: italic;
}
.hero-quote em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, rgba(201, 169, 97, 0.28) 60%);
}
.hero-attribution {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
  margin-bottom: var(--s-8);
}
.hero-attribution::before {
  content: '— ';
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.hero-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--s-6);
  color: var(--c-gold);
  opacity: 0.85;
}

/* =========================================================
   Pillars (Seeing / Feeling / Knowing)
   ========================================================= */
.pillars {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-warm) 100%);
  position: relative;
}
.pillar-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 768px) {
  .pillar-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}
.pillar {
  text-align: center;
  padding: var(--s-6);
  position: relative;
}
@media (min-width: 768px) {
  .pillar:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--c-line);
  }
}
.pillar-number {
  font-family: var(--f-display);
  font-size: 0.875rem;
  color: var(--c-gold-deep);
  font-style: italic;
  margin-bottom: var(--s-4);
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--s-4);
  font-weight: 400;
}
.pillar p {
  font-size: 0.9375rem;
  color: var(--c-slate);
  max-width: 28ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--c-cream-warm);
  border: 1px solid var(--c-line-soft);
  border-radius: 2px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform var(--t-2) var(--ease), box-shadow var(--t-2) var(--ease), border-color var(--t-2) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--c-gold);
}
.card-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
}
.card h3, .card h4 { margin: 0; }
.card-meta {
  font-size: 0.8125rem;
  color: var(--c-slate);
  display: flex;
  gap: var(--s-3);
  align-items: center;
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line-soft);
}

.service-card {
  background: var(--c-cream-warm);
  border: 1px solid var(--c-line-soft);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all var(--t-2) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  background: var(--c-midnight);
  color: var(--c-cream);
  border-color: var(--c-midnight);
}
.service-card:hover h3 { color: var(--c-cream); }
.service-card:hover .service-icon { color: var(--c-gold); }
.service-card:hover .service-meta { color: rgba(250, 246, 239, 0.6); }
.service-icon {
  width: 40px;
  height: 40px;
  color: var(--c-gold-deep);
  margin-bottom: var(--s-3);
  transition: color var(--t-2) var(--ease);
}
.service-card h3 {
  font-size: 1.625rem;
  margin: 0;
  transition: color var(--t-2) var(--ease);
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.service-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-top: auto;
  padding-top: var(--s-4);
  transition: color var(--t-2) var(--ease);
}

/* =========================================================
   Book / Product
   ========================================================= */
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: start;
  padding-block: var(--s-9);
  border-bottom: 1px solid var(--c-line);
}
.book:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .book { grid-template-columns: 5fr 7fr; gap: var(--s-9); }
}
.book-cover {
  background: linear-gradient(135deg, var(--c-midnight) 0%, var(--c-midnight-soft) 100%);
  aspect-ratio: 5/7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7);
  position: relative;
  overflow: hidden;
  color: var(--c-cream);
  text-align: center;
  box-shadow: var(--sh-3);
  border: 1px solid rgba(201, 169, 97, 0.3);
}
.book-cover::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 97, 0.35);
  pointer-events: none;
}
.book-cover-text {
  position: relative;
  z-index: 2;
}
.book-cover-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-5);
  color: var(--c-gold);
}
.book-cover-title {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-5);
  color: var(--c-cream);
}
.book-cover-author {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 169, 97, 0.85);
}
.book-content h2 { margin-bottom: var(--s-3); }
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* =========================================================
   Blog
   ========================================================= */
.post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.post-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  padding-block: var(--s-7);
  border-bottom: 1px solid var(--c-line);
  transition: padding-left var(--t-2) var(--ease);
}
.post-item:hover { padding-left: var(--s-4); }
.post-item:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .post-item {
    grid-template-columns: 200px 1fr auto;
    gap: var(--s-7);
    align-items: center;
  }
}
.post-date {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold-deep);
}
.post-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.18;
  font-weight: 400;
  color: var(--c-midnight);
  margin: 0 0 var(--s-3);
}
.post-excerpt {
  font-size: 0.9375rem;
  color: var(--c-slate);
  margin: 0;
  line-height: 1.6;
}
.post-listen {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-midnight);
  white-space: nowrap;
}
.post-listen svg { color: var(--c-gold-deep); }

/* =========================================================
   Forms
   ========================================================= */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.field input,
.field textarea,
.field select {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-midnight);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  padding: var(--s-3) 0;
  outline: none;
  transition: border-color var(--t-2) var(--ease);
  border-radius: 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--c-gold); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-status {
  padding: var(--s-4);
  border-radius: 2px;
  font-size: 0.9375rem;
  margin-bottom: var(--s-5);
}
.form-status--success { background: rgba(94, 128, 78, 0.12); color: #3d5d2f; border: 1px solid rgba(94, 128, 78, 0.3); }
.form-status--error   { background: rgba(168, 60, 50, 0.1); color: #8a3027; border: 1px solid rgba(168, 60, 50, 0.3); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--c-midnight);
  color: rgba(250, 246, 239, 0.75);
  padding-block: clamp(3rem, 6vw, 5rem) var(--s-6);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7); }
}
.footer-brand {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-cream);
  margin-bottom: var(--s-4);
}
.footer-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: rgba(250, 246, 239, 0.7);
  max-width: 36ch;
  margin-bottom: var(--s-5);
}
.footer-col-title {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer-list a {
  font-size: 0.9375rem;
  color: rgba(250, 246, 239, 0.7);
  transition: color var(--t-1) var(--ease);
}
.footer-list a:hover { color: var(--c-gold); }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(250, 246, 239, 0.5);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(250, 246, 239, 0.08);
}
.footer-meta a:hover { color: var(--c-gold); }
.nonprofit-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* =========================================================
   Utilities
   ========================================================= */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-7 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--s-5); }
.mb-7 { margin-bottom: var(--s-7); }
.bg-midnight { background: var(--c-midnight); color: var(--c-cream); }
.bg-midnight h1, .bg-midnight h2, .bg-midnight h3 { color: var(--c-cream); }
.bg-midnight .eyebrow { color: var(--c-gold); }
.bg-cream-warm { background: var(--c-cream-warm); }
.no-bullets { list-style: none; padding: 0; margin: 0; }

/* =========================================================
   Reveal on scroll — more cinematic
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease),
    filter 1.1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Card tilt on hover (cheap CSS-only) */
.service-card,
.book-cover,
.tier {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card { will-change: transform; }
.service-card:hover {
  transform: translateY(-4px) rotateX(2deg) rotateY(-1deg);
}
.book-cover {
  transition: transform var(--t-3) var(--ease), box-shadow var(--t-3) var(--ease);
  will-change: transform;
}
.book-cover:hover {
  transform: translateY(-6px) rotateY(-3deg) rotateX(2deg);
  box-shadow: 0 32px 64px rgba(15, 28, 46, 0.32), 0 12px 24px rgba(15, 28, 46, 0.16);
}

/* =========================================================
   Page-specific
   ========================================================= */
.page-header {
  padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
}
.page-header h1 {
  max-width: 18ch;
  margin-inline: auto;
}
.page-header p {
  max-width: 52ch;
  margin: var(--s-5) auto 0;
  font-size: 1.0625rem;
  color: var(--c-slate);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-9);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row.reverse > :first-child { order: 2; }
}

.portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--c-midnight) 0%, var(--c-midnight-soft) 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.portrait-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  font-family: var(--f-display);
}
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
  filter: contrast(1.02) saturate(0.96);
}
.portrait::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  z-index: 2;
  pointer-events: none;
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 28, 46, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
.portrait-caption {
  position: absolute;
  left: var(--s-5);
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 3;
  color: var(--c-cream);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.portrait-caption small {
  display: block;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 4px;
}

/* Stats bar */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  padding: var(--s-7) var(--s-6);
  background: var(--c-midnight);
  color: var(--c-cream);
  text-align: center;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-number {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.7);
}

/* Donation tiers */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px) { .tiers { grid-template-columns: repeat(4, 1fr); } }
.tier {
  border: 1px solid var(--c-line);
  padding: var(--s-6);
  text-align: center;
  background: var(--c-cream);
  transition: all var(--t-2) var(--ease);
  cursor: pointer;
}
.tier:hover, .tier.is-active {
  background: var(--c-midnight);
  color: var(--c-cream);
  border-color: var(--c-midnight);
  transform: translateY(-2px);
}
.tier-amount {
  font-family: var(--f-display);
  font-size: 2.25rem;
  color: var(--c-midnight);
  margin-bottom: var(--s-2);
}
.tier:hover .tier-amount, .tier.is-active .tier-amount { color: var(--c-gold); }
.tier-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
}
.tier:hover .tier-label, .tier.is-active .tier-label { color: rgba(250, 246, 239, 0.85); }

/* Info card (visit hours, address) */
.info-card {
  background: var(--c-cream-warm);
  padding: var(--s-7);
  border-left: 2px solid var(--c-gold);
}
.info-row {
  display: flex;
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--c-line-soft);
  align-items: flex-start;
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row:first-child { padding-top: 0; }
.info-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
  font-weight: 500;
  min-width: 100px;
}
.info-value { color: var(--c-midnight); flex: 1; }
.info-value strong { display: block; margin-bottom: var(--s-1); }

/* Quote section */
.pull {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--c-midnight);
  color: var(--c-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pull::before, .pull::after {
  content: '"';
  position: absolute;
  font-family: var(--f-display);
  font-size: 18rem;
  line-height: 1;
  color: var(--c-gold);
  opacity: 0.08;
  pointer-events: none;
}
.pull::before { top: -20px; left: 6%; }
.pull::after { bottom: -160px; right: 6%; }
.pull-quote {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.32;
  font-weight: 400;
  font-style: italic;
  max-width: 24ch;
  margin: 0 auto var(--s-6);
  position: relative;
  z-index: 2;
  color: var(--c-cream);
}
.pull-attribution {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  position: relative;
  z-index: 2;
}
.pull-attribution::before { content: '— '; }

/* CTA strip */
.cta-strip {
  background: var(--c-cream-deep);
  padding-block: var(--s-9);
  text-align: center;
}
.cta-strip h2 { max-width: 18ch; margin-inline: auto; margin-bottom: var(--s-5); }
.cta-strip p { max-width: 50ch; margin: 0 auto var(--s-6); color: var(--c-slate); }
.cta-strip-actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; }
