
:root {
  color-scheme: dark;
  --night: #070407;
  --night-2: #11070a;
  --mahogany: #22100d;
  --mahogany-2: #3a1c14;
  --ember: #b95c31;
  --ember-2: #e28d4c;
  --gold: #f2c779;
  --gold-soft: #e4b36e;
  --teal: #163d44;
  --teal-2: #0d222d;
  --wine: #4a1720;
  --rose: #ad5b56;
  --paper: #f2d9aa;
  --paper-soft: #cfae78;
  --muted: #a87b5c;
  --line: rgba(241, 184, 106, .22);
  --panel: rgba(14, 8, 10, .68);
  --panel-2: rgba(19, 9, 12, .82);
  --shadow: 0 30px 90px rgba(0, 0, 0, .62);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% -10%, rgba(36, 82, 92, .62), transparent 38rem),
    radial-gradient(circle at 12% 18%, rgba(199, 92, 38, .28), transparent 34rem),
    radial-gradient(circle at 87% 6%, rgba(107, 36, 60, .28), transparent 28rem),
    linear-gradient(180deg, #090507 0%, #0d0508 42%, #060305 100%);
  color: var(--paper);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
}

body::before {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 68px 68px, 68px 68px;
  mask-image: radial-gradient(circle at 50% 10%, black, transparent 70%);
  opacity: .24;
}

body::after {
  opacity: .13;
  background-image:
    radial-gradient(circle at 16% 24%, rgba(255, 216, 154, .34) 0 1px, transparent 1.6px),
    radial-gradient(circle at 74% 18%, rgba(255, 216, 154, .26) 0 1px, transparent 1.8px),
    radial-gradient(circle at 64% 76%, rgba(255, 216, 154, .18) 0 1px, transparent 1.7px);
  background-size: 180px 180px, 230px 230px, 300px 300px;
  animation: starDrift 42s linear infinite;
}

@keyframes starDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-120px,80px,0); } }
@keyframes glowBreath { 0%, 100% { transform: scale(1); opacity: .24; } 50% { transform: scale(1.08); opacity: .38; } }
@keyframes glint { 0%,45% { transform: translateX(-85%) rotate(18deg); opacity: 0; } 56% { opacity: .85; } 72%,100% { transform: translateX(85%) rotate(18deg); opacity: 0; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: rgba(227, 141, 76, .35); color: #ffe1aa; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .17;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.candle-glow { position: fixed; width: 48rem; height: 48rem; border-radius: 50%; filter: blur(42px); opacity: .32; pointer-events: none; z-index: -3; background: radial-gradient(circle, rgba(239, 132, 62, .45), rgba(128, 43, 25, .17) 38%, transparent 69%); animation: glowBreath 7s ease-in-out infinite; }
.candle-glow.one { left: -18rem; top: 16vh; }
.candle-glow.two { right: -20rem; top: 44vh; animation-delay: -2.8s; }
.candle-glow.three { left: 35vw; bottom: -28rem; animation-delay: -4s; }

.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 28px));
  border: 1px solid rgba(239, 191, 119, .18);
  border-radius: 999px;
  background: rgba(9, 5, 7, .68);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 226, 178, .08);
  backdrop-filter: blur(18px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 66px; padding: 9px 10px 9px 18px; }
.brand, .footer__brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; color: #f2d39a; font-weight: 800; }
.brand img, .footer__brand img { width: 38px; height: 38px; filter: drop-shadow(0 0 18px rgba(229, 133, 68, .35)); }
.nav__links { display: flex; align-items: center; justify-content: center; gap: 2px; color: rgba(234, 198, 141, .76); font-size: .82rem; }
.nav__links a { border-radius: 999px; padding: 10px 11px; transition: background .25s ease, color .25s ease; white-space: nowrap; }
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a.is-active { color: #ffe1aa; background: rgba(255, 210, 141, .09); outline: none; }
.nav__cta { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 18px; color: #25130d; background: linear-gradient(135deg, #f3cd83, #bd6738 88%); box-shadow: 0 13px 34px rgba(197, 87, 45, .28), inset 0 1px 0 rgba(255,255,255,.28); font-weight: 800; transition: transform .25s ease, filter .25s ease; white-space: nowrap; }
.nav__cta:hover { transform: translateY(-1px); filter: brightness(1.08); }
.nav__toggle { display: none; border: 1px solid rgba(242,199,121,.22); color: var(--paper); background: rgba(242,199,121,.06); border-radius: 999px; padding: 10px 13px; }
.nav__actions { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; padding: 0 14px; border: 1px solid rgba(242,199,121,.22); color: #f2d6a2; background: rgba(242,199,121,.055); box-shadow: inset 0 1px 0 rgba(255,234,189,.08); font-weight: 900; cursor: pointer; transition: transform .24s ease, border-color .24s ease, background .24s ease, color .24s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(242,199,121,.38); background: rgba(242,199,121,.09); }
.theme-toggle__icon { display: inline-grid; place-items: center; width: 18px; height: 18px; font-size: 1rem; line-height: 1; }
.theme-toggle__icon--light { display: none; }
.mode-art--light { display: none; }
html[data-theme="light"] .mode-art--dark { display: none; }
html[data-theme="light"] .mode-art--light { display: block; }
html[data-theme="light"] .theme-toggle__icon--dark { display: none; }
html[data-theme="light"] .theme-toggle__icon--light { display: inline-grid; }


.hero { position: relative; min-height: 100svh; padding: 142px 0 70px; display: grid; align-items: center; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 36%, rgba(24, 68, 77, .54), transparent 44%), radial-gradient(ellipse at 41% 66%, rgba(181, 83, 39, .22), transparent 42%); pointer-events: none; z-index: -2; }
.hero__grid, .page-hero__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 74px); align-items: center; }
.hero h1, .page-hero h1, .section-title, .display, .cta-card h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; color: #f7dfb2; text-wrap: balance; }
.hero h1 { margin: 0; font-size: clamp(2.15rem, 3.8vw, 4.05rem); line-height: .96; max-width: 760px; text-shadow: 0 0 34px rgba(238, 144, 70, .18); }
.hero__lead { margin: 28px 0 0; max-width: 680px; color: rgba(235, 206, 159, .82); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.7; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-soft); letter-spacing: .18em; text-transform: uppercase; font-weight: 800; font-size: .76rem; margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); box-shadow: 0 0 16px rgba(242, 199, 121, .75); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ""; width: 38px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); box-shadow: 0 0 16px rgba(242, 199, 121, .75); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.center-actions { justify-content: center; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; border-radius: 999px; padding: 0 22px; font-weight: 800; overflow: hidden; border: 0; cursor: pointer; transition: transform .24s ease, border-color .24s ease, background .24s ease; }
.button--primary { color: #22110c; background: linear-gradient(135deg, #f7d690, #dc8950 55%, #9b4c31); box-shadow: 0 20px 56px rgba(218, 113, 58, .32), inset 0 1px 0 rgba(255,255,255,.36); }
.button--primary::after { content: ""; position: absolute; inset: -80% -20%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent); transform: translateX(-80%) rotate(18deg); animation: glint 5s ease-in-out infinite; }
.button--ghost { color: #f2d6a2; background: rgba(242, 199, 121, .055); border: 1px solid rgba(242, 199, 121, .26); box-shadow: inset 0 1px 0 rgba(255, 234, 189, .08); }
.button:hover { transform: translateY(-2px); }
.sanctuary-card, .artifact-card, .stat-card, .quote-card { position: relative; border-radius: 38px; padding: 12px; background: linear-gradient(135deg, rgba(255, 222, 164, .28), rgba(255,255,255,0) 30%, rgba(226, 125, 66, .18)), rgba(12, 6, 8, .5); box-shadow: var(--shadow), 0 0 0 1px rgba(238, 184, 112, .16); }
.sanctuary-card::before, .artifact-card::before { content: ""; position: absolute; inset: -7% -5% auto; height: 44%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 177, 93, .23), transparent 68%); filter: blur(24px); pointer-events: none; }
.sanctuary-card__frame { position: relative; overflow: hidden; border-radius: 30px; background: #0c0608; min-height: 420px; box-shadow: inset 0 0 0 1px rgba(255, 226, 178, .09); }
.sanctuary-card__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1.42; filter: saturate(1.08) contrast(1.03); }
.sanctuary-card__frame.small-frame { min-height: 350px; }
.sanctuary-card__veil { position: absolute; inset: 0; background: radial-gradient(circle at 52% 74%, transparent 0 30%, rgba(3,2,4,.15) 49%, rgba(3,2,4,.58) 100%), linear-gradient(180deg, rgba(255, 210, 141, .06), transparent 40%); pointer-events: none; }
.float-note { position: absolute; left: clamp(14px, 3vw, 30px); bottom: clamp(14px, 3vw, 30px); width: min(420px, calc(100% - 28px)); border: 1px solid rgba(244, 198, 130, .2); border-radius: 24px; padding: 16px 18px; background: rgba(10, 5, 8, .68); backdrop-filter: blur(16px); box-shadow: 0 22px 44px rgba(0,0,0,.32), inset 0 1px 0 rgba(255, 234, 189, .08); color: rgba(242, 217, 170, .78); line-height: 1.55; }
.float-note span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 800; margin-bottom: 8px; }
.artifact-card { display: grid; place-items: center; min-height: 420px; }
.artifact-card img { max-height: 370px; filter: drop-shadow(0 20px 60px rgba(0,0,0,.35)); }
.stat-card, .quote-card { min-height: 330px; display: grid; place-items: center; text-align: center; padding: 42px; background: radial-gradient(circle at 50% 30%, rgba(242, 199, 121, .14), transparent 55%), rgba(12,6,8,.62); }
.stat-card__number { font-family: var(--serif); font-size: clamp(5rem, 9vw, 9rem); line-height: .82; color: #f7d690; text-shadow: 0 0 42px rgba(218,113,58,.28); }
.stat-card__label, .quote-card p { margin: 20px 0 0; color: rgba(235,206,159,.78); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.6; max-width: 540px; }
.quote-card p { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.85rem); line-height: 1.2; color: #f7dfb2; }

.page-hero { position: relative; padding: 132px 0 58px; min-height: 52svh; display: grid; align-items: center; }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.45rem); line-height: 1; max-width: 820px; }
.page-hero p:not(.eyebrow) { margin: 28px 0 0; max-width: 760px; color: rgba(235,206,159,.8); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.72; }

.section { position: relative; padding: clamp(74px, 10vw, 132px) 0; }
.section--tight { padding-top: clamp(56px, 8vw, 96px); }
.section--ambient { background: linear-gradient(180deg, rgba(242,199,121,.035), rgba(20,9,12,.18), rgba(242,199,121,.02)); border-block: 1px solid rgba(242,199,121,.08); }
.section-heading { max-width: 820px; margin-bottom: 36px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.7rem); line-height: 1.06; }
.section-copy { margin: 20px 0 0; color: rgba(235, 206, 159, .72); font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.75; max-width: 760px; }
.center .section-copy { margin-inline: auto; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 6vw, 76px); align-items: start; }
.split--center { align-items: center; }
.copy-column p { margin: 0 0 18px; color: rgba(235,206,159,.78); font-size: clamp(1.04rem, 1.5vw, 1.18rem); line-height: 1.78; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--gold); font-weight: 800; margin-top: 24px; }
.text-link:hover { color: #ffe1aa; }

.card-grid, .mini-grid, .principle-grid, .tier-grid { display: grid; gap: 18px; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.six-up { margin-top: 34px; }
.mini-grid { grid-template-columns: repeat(3, 1fr); }
.principle-grid { grid-template-columns: repeat(3, 1fr); }
.tier-grid { grid-template-columns: repeat(4, 1fr); }
.ritual-card, .principle, .tier, .road-card, .list-panel, .application-form, .application-aside, .table-card, .feature-panel, .cta-card, .path-step, .movement { border: 1px solid rgba(242, 199, 121, .15); background: linear-gradient(180deg, rgba(255, 218, 157, .065), rgba(255,255,255,0)), var(--panel); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 234, 189, .07); }
.ritual-card, .principle, .tier, .road-card { padding: 28px; min-height: 220px; }
.ritual-card h3, .principle h3, .tier span, .road-card h3, .path-step h3, .movement h3, .list-panel h2, .application-aside h3 { margin: 0; color: #f6dca7; font-size: 1.22rem; }
.ritual-card p, .principle p, .tier p, .road-card p, .path-step p, .movement p { color: rgba(235,206,159,.72); line-height: 1.65; margin: 12px 0 0; }
.movement-time { display: block; color: #f7d690; font-weight: 900; margin-bottom: 5px; }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(242,199,121,.08); border: 1px solid rgba(242,199,121,.16); margin-bottom: 18px; box-shadow: 0 0 24px rgba(218,113,58,.1); }
.principle span, .road-card span, .movement span, .path-step span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; border-radius: 999px; background: rgba(242,199,121,.08); border: 1px solid rgba(242,199,121,.18); color: var(--gold); font-weight: 900; margin-bottom: 20px; }
.tier { min-height: 240px; }
.tier span { display: block; color: var(--gold-soft); font-size: .84rem; text-transform: uppercase; letter-spacing: .14em; }
.tier strong { display: block; font-family: var(--serif); font-size: clamp(2.35rem, 3.8vw, 3.75rem); line-height: .92; color: #f7dfb2; margin-top: 18px; }
.tier strong .per-month { display: inline; margin-left: 3px; color: rgba(235,206,159,.62); font-family: var(--sans); font-size: .28em; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.tier em { display: block; margin-top: 6px; color: rgba(235,206,159,.58); font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.tier.featured { background: radial-gradient(circle at 50% 0%, rgba(242,199,121,.18), transparent 60%), rgba(28,13,13,.86); border-color: rgba(242,199,121,.32); }

.feature-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 66px); padding: clamp(30px, 5vw, 52px); align-items: center; }
.feature-panel--image img { border-radius: var(--radius-lg); box-shadow: 0 26px 70px rgba(0,0,0,.35); background: rgba(6,3,5,.6); }
.care-list { display: grid; gap: 12px; }
.care-list div { display: grid; gap: 5px; padding: 18px; border-radius: 18px; background: rgba(242,199,121,.045); border: 1px solid rgba(242,199,121,.10); }
.care-list strong { color: #f7d690; }
.care-list span { color: rgba(235,206,159,.72); line-height: 1.5; }

.movement-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.movement-strip--three { grid-template-columns: repeat(3, 1fr); }
.movement { padding: 24px; min-height: 240px; }
.pathway { display: grid; gap: 14px; }
.pathway--wide { margin-top: 34px; grid-template-columns: repeat(4, 1fr); }
.path-step { padding: 24px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tag-cloud span { border-radius: 999px; padding: 12px 16px; background: rgba(242,199,121,.06); border: 1px solid rgba(242,199,121,.14); color: rgba(242,217,170,.82); }

.table-card { overflow: hidden; padding: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid rgba(242,199,121,.1); }
th { color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; background: rgba(242,199,121,.055); }
td { color: rgba(235,206,159,.74); line-height: 1.58; }
td:first-child { color: #f7d690; font-weight: 800; white-space: nowrap; }
.table-note { display: inline-block; margin-left: 8px; color: rgba(235,206,159,.58); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list-panel { padding: clamp(28px, 4vw, 42px); }
.list-panel--quiet { background: linear-gradient(180deg, rgba(76,151,157,.08), rgba(255,255,255,0)), rgba(11,7,10,.68); }
.list-panel--wide { max-width: 960px; margin-inline: auto; }
.list-panel ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list-panel li { position: relative; padding-left: 28px; color: rgba(235,206,159,.75); line-height: 1.58; }
.list-panel li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--ember-2); box-shadow: 0 0 14px rgba(226,141,76,.55); }

.application-shell { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 22px; align-items: start; }
.application-form { padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; }
.form-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.65rem, 2.6vw, 2.45rem); line-height: 1.04; color: #f7dfb2; letter-spacing: -.045em; }
.form-intro p:not(.eyebrow), .microcopy { color: rgba(235,206,159,.68); line-height: 1.6; }
.application-form label { display: grid; gap: 8px; color: #f6dca7; font-weight: 800; }
.application-form input, .application-form textarea { width: 100%; border-radius: 18px; border: 1px solid rgba(242,199,121,.16); background: rgba(8,5,8,.72); color: var(--paper); padding: 15px 16px; outline: none; box-shadow: inset 0 1px 0 rgba(255,234,189,.05); }
.application-form input:focus, .application-form textarea:focus { border-color: rgba(242,199,121,.42); box-shadow: 0 0 0 4px rgba(242,199,121,.08); }
.application-form textarea { resize: vertical; }
.application-form fieldset { border: 1px solid rgba(242,199,121,.16); border-radius: 22px; padding: 18px; display: grid; gap: 12px; }
.application-form legend { color: var(--gold); font-weight: 900; padding: 0 8px; }
.application-form .check { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: rgba(235,206,159,.78); font-weight: 500; }
.application-form .check input { width: 18px; height: 18px; padding: 0; margin-top: 3px; accent-color: var(--gold); }
.application-aside { padding: 30px; position: sticky; top: 108px; }
.application-aside ol { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 12px; color: rgba(235,206,159,.76); line-height: 1.55; }
.sealed-note { margin-top: 24px; padding: 18px; border-radius: 20px; background: rgba(242,199,121,.07); border: 1px solid rgba(242,199,121,.15); color: #f7d690; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }

.final-cta { padding-top: clamp(30px, 6vw, 74px); }
.cta-card { text-align: center; padding: clamp(42px, 7vw, 82px); background: radial-gradient(circle at 50% 0%, rgba(242,199,121,.18), transparent 58%), linear-gradient(180deg, rgba(80,27,19,.56), rgba(10,5,8,.72)); }
.cta-card h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3.25rem); line-height: 1; }
.cta-card p:not(.eyebrow) { margin: 22px auto 0; max-width: 760px; color: rgba(235,206,159,.76); font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.7; }

.footer { padding: 70px 0 56px; border-top: 1px solid rgba(242,199,121,.1); background: rgba(5,3,5,.44); }
.footer__grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 34px; }
.footer p { max-width: 560px; color: rgba(235,206,159,.65); line-height: 1.65; }
.footer h3 { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.footer a:not(.footer__brand) { display: block; color: rgba(235,206,159,.72); margin: 10px 0; }
.footer a:hover { color: #ffe1aa; }
.microcopy { font-size: .92rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 1080px) {
  .nav { border-radius: 32px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { position: absolute; left: 14px; right: 14px; top: calc(100% + 10px); display: none; padding: 12px; border: 1px solid rgba(242,199,121,.16); border-radius: 26px; background: rgba(9,5,7,.94); backdrop-filter: blur(18px); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 16px; }
  .hero__grid, .page-hero__grid, .split, .feature-panel, .application-shell { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .page-hero { padding-top: 130px; }
  .card-grid, .principle-grid, .tier-grid, .tier-grid--four, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .movement-strip, .pathway--wide { grid-template-columns: repeat(2, 1fr); }
  .footer__grid, .two-lists { grid-template-columns: 1fr; }
  .application-aside { position: static; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .nav__inner { padding-left: 12px; }
  .brand span { display: none; }
  .nav__cta { padding-inline: 14px; }
  .theme-toggle { width: 44px; padding-inline: 0; }
  .theme-toggle__text { display: none; }
  .nav__actions { gap: 6px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .hero { min-height: auto; padding-bottom: 54px; }
  .sanctuary-card__frame { min-height: 300px; }
  .float-note { position: relative; left: auto; bottom: auto; margin: -84px 14px 14px; width: auto; }
  .card-grid, .principle-grid, .tier-grid, .tier-grid--four, .mini-grid, .movement-strip, .movement-strip--three, .pathway--wide { grid-template-columns: 1fr; }
  th, td { padding: 16px 14px; }
  table { font-size: .92rem; }
  .table-card { overflow-x: auto; }
  .cta-card { padding-inline: 24px; }
  .footer { padding-bottom: 40px; }
}


/* Light / watercolor mode */
html[data-theme="light"] {
  color-scheme: light;
  --night: #fff8ea;
  --night-2: #fff2df;
  --mahogany: #ffd8c8;
  --mahogany-2: #ffd5e3;
  --ember: #f36f5f;
  --ember-2: #ff8da5;
  --gold: #e8952f;
  --gold-soft: #db5f8a;
  --teal: #45b7bb;
  --teal-2: #227989;
  --wine: #7f3d6c;
  --rose: #e66f9a;
  --paper: #294f58;
  --paper-soft: #60747b;
  --muted: #6d7c80;
  --line: rgba(56, 143, 158, .22);
  --panel: rgba(255, 255, 255, .66);
  --panel-2: rgba(255, 255, 255, .82);
  --shadow: 0 28px 76px rgba(57, 112, 139, .18), 0 10px 30px rgba(220, 92, 130, .10);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 9% 14%, rgba(255, 154, 188, .45), transparent 28rem),
    radial-gradient(circle at 91% 7%, rgba(105, 214, 207, .48), transparent 30rem),
    radial-gradient(circle at 80% 82%, rgba(255, 211, 103, .42), transparent 32rem),
    radial-gradient(circle at 22% 86%, rgba(182, 162, 255, .34), transparent 30rem),
    linear-gradient(180deg, #fff8e9 0%, #effbf7 45%, #fff3f7 100%);
  color: #294f58;
}

html[data-theme="light"] body::before {
  background-image:
    url("watercolor-wash.svg"),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .68) 0 2px, transparent 2.2px),
    radial-gradient(circle at 72% 32%, rgba(255, 153, 188, .28) 0 3px, transparent 3.3px);
  background-repeat: no-repeat, repeat, repeat;
  background-size: cover, 140px 140px, 210px 210px;
  mask-image: none;
  opacity: .7;
  mix-blend-mode: multiply;
}

html[data-theme="light"] body::after {
  opacity: .32;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 126, 164, .34) 0 2px, transparent 2.5px),
    radial-gradient(circle at 74% 18%, rgba(73, 190, 185, .30) 0 2px, transparent 2.5px),
    radial-gradient(circle at 62% 76%, rgba(248, 190, 69, .25) 0 2px, transparent 2.5px);
  background-size: 190px 190px, 260px 260px, 330px 330px;
  animation-duration: 60s;
}

html[data-theme="light"] .grain {
  opacity: .22;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .candle-glow {
  filter: blur(34px);
  opacity: .48;
  background: radial-gradient(circle, rgba(255, 151, 177, .48), rgba(255, 226, 137, .24) 42%, transparent 70%);
}
html[data-theme="light"] .candle-glow.two { background: radial-gradient(circle, rgba(93, 209, 202, .42), rgba(175, 163, 255, .22) 42%, transparent 70%); }
html[data-theme="light"] .candle-glow.three { background: radial-gradient(circle, rgba(255, 210, 101, .40), rgba(255, 130, 161, .18) 42%, transparent 70%); }

html[data-theme="light"] ::selection { background: rgba(255, 129, 161, .35); color: #153f49; }

html[data-theme="light"] .nav {
  border-color: rgba(54, 156, 168, .28);
  background: rgba(255, 251, 239, .76);
  box-shadow: 0 18px 58px rgba(84, 142, 165, .16), inset 0 1px 0 rgba(255, 255, 255, .72);
}
html[data-theme="light"] .brand,
html[data-theme="light"] .footer__brand { color: #1f6f7c; }
html[data-theme="light"] .brand img,
html[data-theme="light"] .footer__brand img { filter: drop-shadow(0 8px 16px rgba(255, 126, 164, .25)) saturate(1.1); }
html[data-theme="light"] .nav__links { color: rgba(38, 82, 91, .76); }
html[data-theme="light"] .nav__links a:hover,
html[data-theme="light"] .nav__links a:focus-visible,
html[data-theme="light"] .nav__links a.is-active { color: #184b57; background: rgba(255, 151, 188, .18); }
html[data-theme="light"] .nav__cta {
  color: #ffffff;
  background: linear-gradient(135deg, #ff7fa3, #f7b84f 55%, #49c3bd);
  box-shadow: 0 13px 30px rgba(242, 118, 151, .24), inset 0 1px 0 rgba(255,255,255,.42);
}
html[data-theme="light"] .nav__toggle,
html[data-theme="light"] .theme-toggle {
  color: #235a65;
  border-color: rgba(66, 176, 185, .28);
  background: rgba(255, 255, 255, .46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 8px 20px rgba(94, 157, 174, .10);
}
html[data-theme="light"] .theme-toggle:hover { background: rgba(255, 232, 239, .7); border-color: rgba(236, 107, 150, .32); }

html[data-theme="light"] .hero::before,
html[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse at 76% 34%, rgba(99, 214, 207, .32), transparent 45%),
    radial-gradient(ellipse at 38% 70%, rgba(255, 143, 180, .28), transparent 43%),
    radial-gradient(ellipse at 50% 8%, rgba(255, 225, 128, .22), transparent 40%);
}
html[data-theme="light"] .hero h1,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .section-title,
html[data-theme="light"] .display,
html[data-theme="light"] .cta-card h2,
html[data-theme="light"] .form-intro h2 {
  color: #174a56;
  text-shadow: 0 2px 0 rgba(255,255,255,.52), 0 20px 70px rgba(92, 193, 191, .20);
}
html[data-theme="light"] .hero__lead,
html[data-theme="light"] .page-hero p:not(.eyebrow),
html[data-theme="light"] .section-copy,
html[data-theme="light"] .copy-column p,
html[data-theme="light"] .cta-card p:not(.eyebrow),
html[data-theme="light"] .form-intro p:not(.eyebrow),
html[data-theme="light"] .microcopy {
  color: rgba(39, 78, 87, .76);
}
html[data-theme="light"] .eyebrow { color: #db5f8a; }
html[data-theme="light"] .eyebrow::before { background: linear-gradient(90deg, transparent, #49bdb8); box-shadow: 0 0 14px rgba(73, 189, 184, .45); }
html[data-theme="light"] .eyebrow.centered::after { background: linear-gradient(90deg, #f2b640, transparent); box-shadow: 0 0 14px rgba(242, 182, 64, .42); }

html[data-theme="light"] .button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, #ff789d, #f7bd4d 55%, #4fc8c1);
  box-shadow: 0 20px 48px rgba(239, 108, 147, .22), inset 0 1px 0 rgba(255,255,255,.46);
}
html[data-theme="light"] .button--primary::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent); }
html[data-theme="light"] .button--ghost {
  color: #245d68;
  background: rgba(255, 255, 255, .48);
  border-color: rgba(65, 180, 187, .26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 12px 26px rgba(77, 144, 162, .08);
}

html[data-theme="light"] .sanctuary-card,
html[data-theme="light"] .artifact-card,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .quote-card,
html[data-theme="light"] .ritual-card,
html[data-theme="light"] .principle,
html[data-theme="light"] .tier,
html[data-theme="light"] .road-card,
html[data-theme="light"] .list-panel,
html[data-theme="light"] .application-form,
html[data-theme="light"] .application-aside,
html[data-theme="light"] .table-card,
html[data-theme="light"] .feature-panel,
html[data-theme="light"] .cta-card,
html[data-theme="light"] .path-step,
html[data-theme="light"] .movement {
  border-color: rgba(66, 176, 185, .20);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 132, 170, .18), transparent 30%),
    radial-gradient(circle at 82% 2%, rgba(79, 202, 194, .18), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.46)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.78);
}
html[data-theme="light"] .ritual-card:nth-child(3n+1),
html[data-theme="light"] .movement:nth-child(3n+1),
html[data-theme="light"] .path-step:nth-child(odd) { border-radius: 34px 25px 42px 30px; }
html[data-theme="light"] .ritual-card:nth-child(3n+2),
html[data-theme="light"] .movement:nth-child(3n+2),
html[data-theme="light"] .path-step:nth-child(even) { border-radius: 25px 40px 30px 42px; }
html[data-theme="light"] .sanctuary-card::before,
html[data-theme="light"] .artifact-card::before { background: radial-gradient(ellipse, rgba(255, 136, 171, .28), rgba(88, 208, 202, .18) 45%, transparent 70%); }
html[data-theme="light"] .sanctuary-card__frame {
  background: #fff8ec;
  box-shadow: inset 0 0 0 1px rgba(73, 189, 184, .16);
}
html[data-theme="light"] .sanctuary-card__veil {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.12)), radial-gradient(circle at 50% 74%, transparent 0 45%, rgba(255,255,255,.18) 72%);
}
html[data-theme="light"] .float-note {
  border-color: rgba(236, 107, 150, .22);
  background: rgba(255, 252, 244, .78);
  color: rgba(39, 78, 87, .78);
  box-shadow: 0 18px 38px rgba(93, 148, 164, .14), inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .float-note span,
html[data-theme="light"] .text-link { color: #d85c86; }
html[data-theme="light"] .text-link:hover { color: #138892; }
html[data-theme="light"] .artifact-card img { filter: drop-shadow(0 18px 42px rgba(71, 130, 148, .18)); }
html[data-theme="light"] .feature-panel--image img { background: rgba(255,255,255,.6); box-shadow: 0 24px 62px rgba(84, 143, 163, .16); }
html[data-theme="light"] .stat-card__number,
html[data-theme="light"] .tier strong { color: #174a56; text-shadow: 0 12px 42px rgba(92, 193, 191, .18); }
html[data-theme="light"] .stat-card__label,
html[data-theme="light"] .quote-card p,
html[data-theme="light"] .ritual-card p,
html[data-theme="light"] .principle p,
html[data-theme="light"] .tier p,
html[data-theme="light"] .road-card p,
html[data-theme="light"] .path-step p,
html[data-theme="light"] .movement p { color: rgba(39, 78, 87, .72); }
html[data-theme="light"] .quote-card p { color: #34505a; }
html[data-theme="light"] .ritual-card h3,
html[data-theme="light"] .principle h3,
html[data-theme="light"] .tier span,
html[data-theme="light"] .road-card h3,
html[data-theme="light"] .path-step h3,
html[data-theme="light"] .movement h3,
html[data-theme="light"] .list-panel h2,
html[data-theme="light"] .application-aside h3 { color: #19515d; }
html[data-theme="light"] .movement-time,
html[data-theme="light"] .care-list strong,
html[data-theme="light"] td:first-child,
html[data-theme="light"] .sealed-note { color: #d85c86; }
html[data-theme="light"] .card-icon,
html[data-theme="light"] .principle span,
html[data-theme="light"] .road-card span,
html[data-theme="light"] .movement span,
html[data-theme="light"] .path-step span {
  color: #225c67;
  background: rgba(255, 255, 255, .62);
  border-color: rgba(236, 107, 150, .22);
  box-shadow: 0 10px 24px rgba(233, 109, 147, .12);
}
html[data-theme="light"] .tier span { color: #d85c86; }
html[data-theme="light"] .tier strong .per-month,
html[data-theme="light"] .tier em,
html[data-theme="light"] .table-note { color: rgba(39, 78, 87, .52); }
html[data-theme="light"] .tier.featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 207, 96, .35), transparent 54%),
    radial-gradient(circle at 90% 10%, rgba(84, 207, 201, .20), transparent 40%),
    rgba(255,255,255,.76);
  border-color: rgba(255, 126, 164, .34);
}
html[data-theme="light"] .section--ambient {
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 232, 239, .42), rgba(224, 250, 246, .32));
  border-block-color: rgba(65, 180, 187, .16);
}
html[data-theme="light"] .list-panel--quiet { background: linear-gradient(180deg, rgba(97, 209, 202, .16), rgba(255,255,255,.42)), rgba(255,255,255,.62); }
html[data-theme="light"] .list-panel li { color: rgba(39, 78, 87, .74); }
html[data-theme="light"] .list-panel li::before { background: #ff7fa3; box-shadow: 0 0 14px rgba(255, 127, 163, .42); }
html[data-theme="light"] .tag-cloud span {
  background: rgba(255,255,255,.56);
  border-color: rgba(66,176,185,.22);
  color: rgba(38, 82, 91, .78);
}
html[data-theme="light"] th,
html[data-theme="light"] td { border-bottom-color: rgba(65, 180, 187, .14); }
html[data-theme="light"] th { color: #1c7783; background: rgba(80, 198, 192, .12); }
html[data-theme="light"] td { color: rgba(39, 78, 87, .74); }
html[data-theme="light"] .application-form label { color: #19515d; }
html[data-theme="light"] .application-form input,
html[data-theme="light"] .application-form textarea {
  border-color: rgba(66, 176, 185, .24);
  background: rgba(255, 255, 255, .72);
  color: #244d56;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
html[data-theme="light"] .application-form input:focus,
html[data-theme="light"] .application-form textarea:focus { border-color: rgba(236, 107, 150, .42); box-shadow: 0 0 0 4px rgba(236,107,150,.12); }
html[data-theme="light"] .application-form fieldset { border-color: rgba(66,176,185,.22); }
html[data-theme="light"] .application-form legend { color: #d85c86; }
html[data-theme="light"] .application-form .check,
html[data-theme="light"] .application-aside ol { color: rgba(39, 78, 87, .76); }
html[data-theme="light"] .application-form .check input { accent-color: #ff7fa3; }
html[data-theme="light"] .sealed-note {
  background: rgba(255, 232, 239, .62);
  border-color: rgba(236,107,150,.22);
}
html[data-theme="light"] .cta-card {
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 127, 163, .24), transparent 50%),
    radial-gradient(circle at 70% 12%, rgba(75, 203, 196, .22), transparent 52%),
    linear-gradient(180deg, rgba(255, 253, 246, .82), rgba(255, 240, 246, .68));
}
html[data-theme="light"] .footer {
  border-top-color: rgba(65, 180, 187, .16);
  background: rgba(255, 248, 235, .62);
}
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer a:not(.footer__brand) { color: rgba(39, 78, 87, .68); }
html[data-theme="light"] .footer h3 { color: #d85c86; }
html[data-theme="light"] .footer a:hover { color: #138892; }

@media (max-width: 1080px) {
  html[data-theme="light"] .nav__links {
    border-color: rgba(66,176,185,.22);
    background: rgba(255, 251, 239, .96);
    box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
