

:root {
  --cream:      #0d1530;
  --cream-alt:  #162040;
  --white:      #e8edf5;
  --parchment:  #06091a;
  --ink:        #e8edf5;
  --text:       #b0bcd8;
  --muted:      #7a8aaa;
  --gold:       #c8a55a;
  --gold-warm:  #d4ae5a;
  --gold-light: #f0dba8;
  --gold-faint: rgba(200,165,90,0.15);
  --gold-mid:   rgba(74,155,170,0.15);
  --gold-rule:  rgba(74,155,170,0.2);
  --purple:     #3d1a6e;
  --amethyst:   #4a9baa;
  --hero-bg:    #06091a;
  --footer-bg:  #030611;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.85; color: var(--text); background: var(--parchment); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; height: 68px; transition: background 0.35s, box-shadow 0.35s; background: linear-gradient(to bottom, rgba(3,6,17,0.62), transparent); }
.nav.scrolled { background: rgba(6,9,26,0.97); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(200,165,90,0.15); }
.nav-brand { font-family: "Cormorant Garamond", serif; font-size: 19px; font-weight: 500; letter-spacing: 0.03em; color: var(--white); transition: color 0.3s; flex-shrink: 0; }
.nav.scrolled .nav-brand { color: var(--ink); }
.nav-links { display: none; gap: 28px; }
.nav-links a { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover, .nav.scrolled .nav-links a:hover { color: var(--gold-warm); }
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dd-trigger { cursor: default; }
.nav-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(6,9,26,0.97);
  border: 1px solid rgba(200,165,90,0.15);
  backdrop-filter: blur(14px);
  min-width: 270px;
  padding: 14px 0;
  z-index: 250;
}
.nav-dropdown:hover .nav-dd-menu { display: block; }
.nav-dd-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-dd-menu a:hover { color: var(--gold); }
.nav-dd-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-menu-btn { background: none; border: 1px solid rgba(255,255,255,0.28); border-radius: 2px; color: rgba(255,255,255,0.75); font: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 9px 14px; cursor: pointer; }
.nav.scrolled .nav-menu-btn { border-color: var(--gold-faint); color: var(--ink); }
.drawer { display: flex; position: fixed; inset: 0; z-index: 300; background: var(--cream); flex-direction: column; align-items: center; justify-content: center; gap: 40px; opacity: 0; pointer-events: none; transition: opacity 0.28s cubic-bezier(0.16,1,0.3,1); }
.drawer.open { opacity: 1; pointer-events: all; }
.drawer a { font-family: "Cormorant Garamond", serif; font-size: 38px; font-weight: 300; color: var(--ink); }
.drawer-close { position: absolute; top: 20px; right: 32px; background: none; border: none; font: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); cursor: pointer; }

/* TYPE */
.label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--gold-warm); }
.label-light { color: var(--gold-light); }
h1 { font-family: "Cormorant Garamond", serif; font-size: clamp(48px, 8vw, 86px); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; color: var(--white); }
h2 { font-family: "Cormorant Garamond", serif; font-size: clamp(34px, 5vw, 58px); font-weight: 400; line-height: 1.1; color: var(--ink); }
h3 { font-family: "Cormorant Garamond", serif; font-size: clamp(26px, 3vw, 36px); font-weight: 500; line-height: 1.12; color: var(--ink); }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 28px; font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; border-radius: 1px; border: 1px solid transparent; white-space: nowrap; }
.btn-dark    { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-warm); display: inline-flex; align-items: center; gap: 6px; }
.tlink::after { content: '→'; }

/* PAGE HERO */
.page-hero { min-height: 56vh; background: radial-gradient(ellipse 50% 40% at 70% 60%, rgba(187,162,123,0.1), transparent), radial-gradient(ellipse 40% 35% at 20% 30%, rgba(123,79,168,0.25), transparent), linear-gradient(148deg, rgba(46,26,94,0.55) 0%, rgba(6,9,26,0.50) 50%, rgba(107,53,168,0.50) 100%), var(--sws-active-image,url("images/hero-altar.jpg")) center/cover no-repeat; display: flex; flex-direction: column; justify-content: flex-end; padding: 100px 72px 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.03); top: 50%; right: 10%; transform: translateY(-50%); pointer-events: none; }
.page-hero h1 { max-width: 800px; }
.page-hero-sub { font-family: "Cormorant Garamond", serif; font-size: clamp(16px, 2.2vw, 22px); font-weight: 300; color: rgba(255,255,255,0.55); margin-top: 12px; max-width: 640px; line-height: 1.6; }
.breadcrumb { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.35); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* SECTIONS */
.section { padding: 100px 72px; background: var(--cream); }
.section-alt { background: var(--cream-alt); }
.section-border-top { border-top: 1px solid var(--gold-faint); }
.section-border-bottom { border-bottom: 1px solid var(--gold-faint); }

/* OVERVIEW — intro strip */
.overview {
  padding: 72px;
  background: var(--cream);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.overview p { font-size: 16px; color: var(--text); line-height: 1.85; }
.overview p + p { margin-top: 14px; }

/* TEACHINGS — editorial rows */
.teaching-row {
  padding: 80px 72px;
  border-bottom: 1px solid var(--gold-faint);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 64px;
  align-items: start;
}
.teaching-row:nth-child(even) { background: var(--cream-alt); }
.teaching-row:nth-child(odd)  { background: var(--cream); }

.teaching-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--gold-faint);
  line-height: 1;
  padding-top: 4px;
}
.teaching-body { }
.teaching-body h3 { color: var(--ink); margin-bottom: 16px; }
.teaching-body .teaching-q {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--amethyst);
  border-left: 2px solid var(--gold-faint);
  padding-left: 18px;
  margin-bottom: 24px;
  line-height: 1.38;
}
.teaching-body p { font-size: 16px; color: var(--text); line-height: 1.85; max-width: 620px; }
.teaching-body p + p { margin-top: 14px; }

/* INTEGRATION */
.integration { padding: 100px 72px; background: var(--cream); border-top: 1px solid var(--gold-faint); border-bottom: 1px solid var(--gold-faint); }
.integration h2 { max-width: 700px; margin: 16px 0 36px; }
.integration p  { max-width: 620px; font-size: 16px; color: var(--muted); line-height: 1.85; }
.integration p + p { margin-top: 14px; }

/* CTA */
.cta-section { background: var(--cream-alt); padding: 100px 72px; text-align: center; border-top: 1px solid var(--gold-faint); }
.cta-section h2 { max-width: 720px; margin: 16px auto 20px; font-style: italic; }
.cta-section p  { max-width: 520px; margin: 0 auto; font-size: 16px; color: var(--muted); line-height: 1.85; }

/* FOOTER */
.footer { background: var(--footer-bg); padding: 80px 72px 48px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-wordmark { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 400; color: var(--white); display: block; margin-bottom: 10px; }
.footer-tagline { font-family: "Cormorant Garamond", serif; font-size: 15px; font-style: italic; color: rgba(187,162,123,0.55); max-width: 240px; line-height: 1.5; }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(187,162,123,0.6); margin-bottom: 18px; }
.footer-col nav { display: grid; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 36px; font-size: 11px; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.22); }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* RESPONSIVE */
@media (min-width: 1040px) { .nav-links { display: flex; } .nav-menu-btn { display: none; } }
@media (max-width: 1039px) {
  .nav, .page-hero, .section, .overview, .integration, .cta-section, .footer { padding-left: 40px; padding-right: 40px; }
  .teaching-row { padding: 64px 40px; grid-template-columns: 1fr; gap: 24px; }
  .teaching-num { font-size: 48px; }
  .overview { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 767px) {
  .nav { padding: 0 20px; height: 60px; }
  .page-hero, .section, .overview, .teaching-row, .integration, .cta-section, .footer { padding-left: 24px; padding-right: 24px; }
  .page-hero { padding-top: 96px; padding-bottom: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* SCROLL REVEAL */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: 0.08s; }
  .reveal.d2 { transition-delay: 0.16s; }
  .reveal.d3 { transition-delay: 0.24s; }
  .reveal.d4 { transition-delay: 0.32s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.btn { transition: transform 0.18s cubic-bezier(0.16,1,0.3,1), box-shadow 0.18s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(91,45,142,0.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
body { min-width: 320px; }
  .footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.28); text-align: center; max-width: 600px; margin: 0 auto 24px; line-height: 1.7; padding: 0 20px; }

