:root{
  --midnight:#050f2e;
  --midnight-2:#0a2358;
  --navy-deep:#04081c;
  --cloud-blue:#1c3c72;
  --cloud-blue-2:#284670;
  --royal:#1d4a8f;
  --royal-deep:#0c2456;
  --gold:#c9a24a;
  --gold-light:#e8cf8a;
  --cream:#f8f5ec;
  --paper:#e5e9f5;        /* moonlit periwinkle: light section background */
  --paper-deep:#d8def0;   /* slightly deeper, for the testimonies band and hover */
  --paper-card:#eff2fa;   /* lighter surface for cards and dialogs */
  --ink:#141a33;
  --line: rgba(255,255,255,0.14);
  --line-dark: rgba(14,34,51,0.14);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --cream:#f7f4ec; }
}
*{box-sizing:border-box;}
.starfield{
  background-color:var(--navy-deep);
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(201,162,74,0.30), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 55%, rgba(29,74,143,0.55), transparent 70%),
    radial-gradient(ellipse 55% 40% at 12% 85%, rgba(28,60,114,0.55), transparent 65%),
    radial-gradient(ellipse 50% 38% at 92% 70%, rgba(40,70,112,0.5), transparent 65%),
    url("assets/star-pattern-1.svg");
  background-repeat:no-repeat, no-repeat, no-repeat, no-repeat, repeat;
  background-size:100% 100%, 100% 100%, 100% 100%, 100% 100%, 340px 340px;
}
.starfield-soft{
  background-color:var(--navy-deep);
  background-image:
    radial-gradient(ellipse 80% 65% at 50% 45%, rgba(29,74,143,0.45), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(28,60,114,0.4), transparent 65%),
    url("assets/star-pattern-2.svg");
  background-repeat:no-repeat, no-repeat, repeat;
  background-size:100% 100%, 100% 100%, 340px 340px;
}
/* one unbroken backdrop behind the Sophia quote, Sacred pathways, Souls along the path,
   and Joining the Sacred Circle sections, instead of each rendering its own copy */
.starfield-group{
  background-color:var(--navy-deep);
  background-image:
    radial-gradient(ellipse 70% 32% at 50% 8%, rgba(29,74,143,0.4), transparent 68%),
    radial-gradient(ellipse 70% 28% at 50% 92%, rgba(29,74,143,0.4), transparent 68%),
    radial-gradient(ellipse 90% 45% at 50% 50%, rgba(29,74,143,0.3), transparent 72%),
    url("assets/star-pattern-2.svg");
  background-repeat:no-repeat, no-repeat, no-repeat, repeat;
  background-size:100% 100%, 100% 100%, 100% 100%, 340px 340px;
}
html{scroll-padding-top: env(safe-area-inset-top, 0px);}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-weight:400;
  -webkit-font-smoothing:antialiased;
}
h1, h2, h3, .serif{ font-family:var(--font-display); }
a{ color:inherit; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1040px; margin:0 auto; padding:0 28px; }
.prose{ max-width:640px; }
/* NAV */
header.nav{
  position:sticky; top:0; z-index:20;
  background:rgba(4,8,28,0.92); backdrop-filter:blur(6px);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px; max-width:1040px; margin:0 auto;
  color:var(--cream);
}
.nav-mark{ display:flex; align-items:baseline; gap:8px; font-family:var(--font-display); font-size:1.08rem; letter-spacing:0.01em; }
.nav-mark .sub{ font-family:var(--font-display); font-size:0.68rem; letter-spacing:0.08em; color:rgba(247,244,236,0.55); }
nav.links{ display:flex; gap:28px; font-size:0.92rem; }
nav.links a{ text-decoration:none; opacity:0.82; transition:opacity .2s; }
nav.links a:hover{ opacity:1; }
.nav-toggle{ display:none; background:none; border:1px solid var(--line); color:var(--cream); border-radius:6px; padding:7px 11px; font-size:1rem; }
@media (max-width:1200px){
  nav.links{ display:none; }
  .nav-toggle{ display:block; }
  nav.links.open{ display:flex; flex-direction:column; gap:0; position:absolute; top:100%; left:0; right:0; background:var(--midnight); padding:8px 28px 20px; }
  nav.links.open a{ padding:12px 0; border-bottom:1px solid var(--line); opacity:1; }
}
/* HERO */
.hero{
  color:var(--cream); text-align:center;
  padding:150px 28px 140px; position:relative;
}
.hero .stars{ font-size:0.75rem; letter-spacing:0.5em; color:var(--gold); opacity:0.7; margin-bottom:16px; }
.hero .eyebrow{ font-size:0.82rem; letter-spacing:0.08em; color:var(--gold-light); margin-bottom:14px; }
.hero h1{ font-size:clamp(2.4rem, 5.5vw, 3.6rem); font-weight:500; margin:0 0 18px; line-height:1.08; }
.hero p.lede{ font-size:1.15rem; color:rgba(247,244,236,0.82); max-width:520px; margin:0 auto 34px; line-height:1.55; }
.btn{
  display:inline-block; text-decoration:none; font-family:var(--font-display);
  font-size:0.95rem; padding:14px 30px; border-radius:2px; transition:transform .18s, background .18s;
}
.btn-primary{ background:linear-gradient(135deg, var(--gold-light), var(--gold)); color:var(--midnight); font-weight:500; box-shadow:0 8px 22px rgba(198,162,68,0.19); }
.btn-primary:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.btn-ghost{ border:1px solid rgba(247,244,236,0.4); color:var(--cream); margin-left:12px; }
.btn-ghost:hover{ border-color:var(--gold-light); color:var(--gold-light); }
.rule-gold{ width:52px; height:2px; background:linear-gradient(90deg, var(--gold), transparent); margin:0 auto 26px; }
.rule-gold.left{ margin:0 0 18px; }
@media (max-width:480px){
  .btn-ghost{ margin-left:0; margin-top:12px; }
}
/* SECTION GENERIC */
section{ padding:84px 28px; }
.section-paper{ background:var(--paper); }
.kicker{ font-size:0.82rem; letter-spacing:0.06em; color:var(--royal); margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.kicker::before{ content:"✦"; font-size:0.7rem; color:var(--gold); }
h2.title{ font-size:clamp(1.7rem,3.4vw,2.3rem); font-weight:500; margin:0 0 22px; line-height:1.2; }
p.body-lg{ font-size:1.08rem; line-height:1.7; color:#3a3f3c; }
#philosophy{ position:relative; overflow:hidden; padding-bottom:30px; }
/* ABOUT US — original centered mission statement, text only */
.about-content{ position:relative; z-index:1; max-width:760px; margin:0 auto; text-align:center; }
.about-content .kicker{ justify-content:center; }
/* The "ABOUT US" eyebrow sits directly above the introduction (no separate
   heading between them), at the shared small .kicker size, with a little
   more room beneath it than the default .kicker spacing so the introduction
   — including its large drop-cap — doesn't feel crowded against it. */
.about-kicker-main{ margin-bottom:20px; }
.about-text{ text-align:left; display:flex; flex-direction:column; gap:14px; }
.about-text p.body-lg{ margin:0; }

/* A thin gold rule marking where the introduction ends and the photograph
   + biographies composition begins — subtle, matching the site's existing
   gold accent, no boxes or backgrounds. */
.about-divider{
  width:120px; height:1px; margin:0 auto 34px; border:none;
  background:linear-gradient(90deg, transparent, rgba(201,162,74,0.65) 50%, transparent);
}

/* ANNA & SEPEHR — a centered, symmetrical composition: photograph on top,
   a shared heading beneath it, then two balanced biography columns split
   by a thin gold vertical rule. Everything shares one centered axis. */
.founders{ position:relative; overflow:hidden; padding-top:14px; padding-bottom:56px; }
.founders-composition{
  position:relative; z-index:1;
  max-width:900px; margin:0 auto; text-align:center;
}
.founders-bios-row{ max-width:720px; margin-left:auto; margin-right:auto; }
/* the photograph itself: no card, frame, or glow panel of its own — the
   image already has a real transparent (alpha-cut) background around
   Sepehr and Anna, so the page's pale lilac background shows straight
   through it with nothing composited on top. (A soft ambient glow div
   was here previously; it was the actual cause of a faint rectangular
   edge visible around the photo, since a CSS blur is rendered up to a
   fixed filter region rather than fading all the way to nothing — so it
   is removed rather than papered over.) The mask below feathers the
   photo's own alpha a little further on every side, not just the bottom,
   so no straight edge of any kind remains, while stopping well short of
   the hat, faces, hands, and shoulders that reach close to the frame. */
/* The photo is used directly as one finished composition (Anna, Sepehr and
   Mount Shasta already combined) rather than split into layers. A baked
   grayscale PNG (assets/founders-fade-mask.png) supplies the edge fade —
   gradual on the sides, only a subtle fade at the top, and a strong fade
   toward the bottom — applied as a CSS luminance mask stretched over the
   whole image via mask-size:100% 100%. A precomputed raster mask was
   adopted instead of a two-gradient mask-composite:intersect approach
   because the gradient-intersect technique rendered a visible hard
   rectangular corner artifact against a vivid, saturated sky in at least
   one browser; the raster mask has no such ambiguity and reproduces the
   exact same falloff shape reliably. Because the fade lives only in this
   one mask layer and Anna and Sepehr sit well inside its fully-opaque
   center, their faces, hair, hats and upper bodies stay completely sharp
   and untouched no matter how the mountain around them fades. */
.founders-scene-unified{
  position:relative; width:100%; max-width:860px; margin:0 auto;
  aspect-ratio:1536/1024;
}
.founders-unified-photo{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:contain; display:block;
  -webkit-mask-image:url("assets/founders-fade-mask.png");
  mask-image:url("assets/founders-fade-mask.png");
  -webkit-mask-size:100% 100%; mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-mode:luminance; mask-mode:luminance;
}
.founders-names-heading{
  font-family:var(--font-display); font-size:1.6rem; font-weight:600;
  color:var(--royal); letter-spacing:0.02em; margin:22px 0 0;
}
.founders-divider-small{
  width:70px; height:1px; margin:18px auto 24px; border:none;
  background:linear-gradient(90deg, transparent, rgba(201,162,74,0.8) 50%, transparent);
}
.founders-bios-row{
  display:flex; align-items:flex-start; justify-content:center; gap:0;
  text-align:left;
}
.founders-bio-block{ flex:1 1 0; min-width:0; }
.founders-bios-divider{
  flex:0 0 auto; width:1px; align-self:stretch; margin:0 40px;
  background:linear-gradient(180deg, transparent, rgba(201,162,74,0.55) 18%, rgba(201,162,74,0.55) 82%, transparent);
}
.founder-desc{
  font-family:var(--font-body); font-size:0.98rem; line-height:1.75;
  color:#3a3f3c; margin:0;
}
.founder-name{
  display:block; font-family:var(--font-display); font-size:0.84rem;
  font-weight:600; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--gold); margin-bottom:8px;
}
@media (max-width:820px){
  .founders-composition{ max-width:480px; }
  .founders-scene-unified{ max-width:100%; }
  .founders-bios-row{ flex-direction:column; gap:26px; }
  .founders-bios-divider{ display:none; }
}
blockquote.mission{
  font-family:var(--font-body); font-style:italic; font-weight:500;
  font-size:clamp(1.3rem,2.6vw,1.7rem); line-height:1.5; color:var(--midnight);
  margin:0; padding-left:28px; border-left:3px solid var(--gold);
}
/* OFFER MODAL */
.modal-overlay{
  display:none; position:fixed; inset:0; background:rgba(4,8,28,0.72);
  z-index:50; align-items:center; justify-content:center; padding:24px;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:var(--paper-card); max-width:480px; width:100%; padding:40px 34px 34px;
  position:relative; border-top:3px solid var(--gold);
  max-height:85vh; overflow-y:auto;
}
.modal-box h3{ font-size:1.35rem; font-weight:500; margin:0 0 14px; }
.modal-box p{ font-size:0.98rem; line-height:1.7; color:#3a3f3c; margin:0 0 14px; }
.modal-close{
  position:absolute; top:16px; right:16px; background:none; border:none;
  font-size:1.4rem; line-height:1; color:#8a8f8c; cursor:pointer; padding:6px;
}
.modal-close:hover{ color:var(--midnight); }
@media (prefers-reduced-motion: no-preference){
  .modal-box{ animation:modalIn .18s ease-out; }
}
@keyframes modalIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
/* PATH / STEPS */
.path{ color:var(--cream); }
.steps{ margin-top:48px; display:flex; flex-direction:column; gap:0; }
.step{ position:relative; display:grid; grid-template-columns:40px 1fr; column-gap:22px; padding:0 0 40px; border:none; }
.step:last-child{ padding-bottom:0; border:none; }
.step::before{
  content:""; position:absolute; left:19px; top:40px; bottom:2px; width:1px;
  background:linear-gradient(180deg, rgba(201,162,74,0.55), rgba(201,162,74,0.12));
}
.step:last-child::before{ display:none; }
.step .num{
  position:relative; z-index:1; font-family:var(--font-display); font-size:1rem; font-weight:500;
  color:var(--gold-light); width:40px; height:40px; border:1px solid rgba(201,162,74,0.75);
  border-radius:50%; background:rgba(4,8,28,0.55); display:flex; align-items:center; justify-content:center;
  box-shadow:0 0 0 5px rgba(4,8,28,0.35);
  align-self:start;
}
.step h3{
  font-family:var(--font-display); font-size:0.98rem; font-weight:500;
  letter-spacing:0.06em; text-transform:uppercase; color:var(--gold-light);
  margin:2px 0 8px;
}
.step p{
  margin:0; font-family:var(--font-body); font-weight:400; font-size:0.98rem;
  color:rgba(240,236,226,0.82); line-height:1.65; max-width:520px;
}
/* ================= Become a Member: one seamless two-step flow ================= */
.member-flow-wrap{ text-align:center; }
.member-gate{ max-width:600px; margin:0 auto; }
.member-gate .mem-intro{ max-width:600px; margin-left:auto; margin-right:auto; }
.member-gate .btn{ width:100%; border:none; cursor:pointer; margin-top:30px; }
.member-signin-link{ display:block; width:100%; margin:18px auto 0; padding:0; background:none; border:none; color:var(--gold-light); text-decoration:underline; text-underline-offset:3px; font-size:0.95rem; cursor:pointer; }
#memberStep1 .member-signin-link{ margin:0 auto 18px; }
.member-signin-note{ font-size:0.88rem; line-height:1.65; color:var(--gold-light); background:rgba(201,162,74,0.12); border:1px solid rgba(201,162,74,0.35); padding:14px 16px; margin-top:18px; text-align:left; }
.modal-cta{ display:block; width:100%; margin-top:24px; border:none; cursor:pointer; }
.member-flow .mem-intro{ max-width:600px; margin-left:auto; margin-right:auto; }
.member-flow .mem-intro + .mem-intro{ margin-top:10px; }
.member-progress{
  display:flex; align-items:center; justify-content:center; gap:14px;
  flex-wrap:wrap; row-gap:14px;
  max-width:760px; margin:38px auto 6px;
}
.member-progress-step{
  display:flex; align-items:center; gap:10px; font-family:var(--font-display);
  font-size:0.8rem; letter-spacing:0.08em; color:rgba(247,244,236,0.4); white-space:nowrap;
}
.member-progress-step .num{
  width:30px; height:30px; border-radius:50%; flex:none;
  border:1px solid rgba(247,244,236,0.28); display:flex; align-items:center; justify-content:center;
  font-size:0.76rem; color:rgba(247,244,236,0.5); transition:border-color .2s, color .2s;
}
.member-progress-step.is-active{ color:var(--gold-light); }
.member-progress-step.is-active .num{ border-color:var(--gold); color:var(--gold-light); }
.member-progress-step.is-done .num{ background:var(--gold); border-color:var(--gold); color:var(--midnight); }
.member-progress-line{ width:56px; height:1px; background:rgba(247,244,236,0.22); transition:background .2s; }
.member-progress-line.is-done{ background:var(--gold); }
@media (max-width:480px){
  .member-progress{ gap:8px; }
  .member-progress-step .label{ display:none; }
  .member-progress-line{ width:34px; }
}
.member-form{ max-width:600px; margin:40px auto 0; text-align:left; }
.member-offer-checks-field{ border:none; padding:0; margin:0 0 18px; }
.member-offer-checks-field legend{
  font-family:var(--font-display); font-size:0.9rem; letter-spacing:0.1em;
  color:rgba(247,244,236,0.95); margin:0 0 6px; padding:0; float:none; width:auto;
}
.member-offer-checks-hint{ font-size:0.85rem; color:rgba(247,244,236,0.55); margin:0 0 12px; font-style:italic; }
.member-offer-checks{ display:grid; gap:11px; }
.member-offer-checks-field .member-offer-checks label{ display:flex; align-items:center; gap:11px; font-size:1rem; color:rgba(247,244,236,0.92); cursor:pointer; }
.member-offer-checks-field .member-offer-checks input{ width:18px; height:18px; flex:none; accent-color:var(--gold); margin:0; }
.member-offer-all{ margin-top:5px; padding-top:11px; border-top:1px solid rgba(247,244,236,0.18); font-weight:600; }
.member-form .btn{ width:100%; border:none; cursor:pointer; }
.member-note{ font-size:0.95rem; color:var(--gold-light); margin-top:14px; display:none; }
.member-panel-title{ font-family:var(--font-display); font-size:1.15rem; font-weight:500; color:var(--cream); margin:0 0 18px; }
.agreement-viewer{
  max-height:320px; overflow-y:auto; border:1px solid rgba(247,244,236,0.22);
  padding:22px 20px; margin-bottom:18px; background:rgba(247,244,236,0.05);
  font-size:0.95rem; line-height:1.7; color:rgba(247,244,236,0.88);
}
.agreement-viewer .agreement-pending{ font-style:italic; color:rgba(247,244,236,0.6); text-align:center; margin:0; }
.agreement-actions{ margin-bottom:20px; }
.member-form .btn-disabled, .member-form .btn[disabled]{ opacity:0.4; cursor:not-allowed; }
.member-form .btn-ghost{ width:auto; margin-left:0; border:1px solid rgba(247,244,236,0.4); color:var(--cream); background:none; }
.consent-row{
  display:flex; gap:11px; align-items:flex-start; margin-bottom:22px;
  font-size:0.92rem; line-height:1.6; color:rgba(247,244,236,0.88); cursor:pointer;
}
.consent-row input{ margin-top:3px; width:17px; height:17px; flex:none; accent-color:var(--gold); }
.consent-row input:disabled + span{ opacity:0.6; }
#memberStep2 .btn + .btn{ margin-top:12px; }
.member-pending-note{
  font-size:0.88rem; line-height:1.65; color:var(--gold-light);
  background:rgba(201,162,74,0.12); border:1px solid rgba(201,162,74,0.35);
  padding:14px 16px; margin-top:18px;
}
/* STEP 3 — Payment: two Stripe Payment Link buttons, side by side on wider screens so "pay in
   full" and "pay a deposit" read as equally-weighted choices, stacked on narrow ones. */
.member-payment-options{ display:flex; gap:14px; margin-top:4px; }
.member-payment-options .member-pay-btn{ width:auto; flex:1 1 0; text-align:center; }
@media (max-width:560px){
  .member-payment-options{ flex-direction:column; }
}
/* STEP 4 — Booking: a framed container for the Calendly inline widget, matching the agreement
   viewer's card treatment so the embed doesn't feel like a foreign element dropped on the page. */
.member-booking-embed{
  border:1px solid rgba(247,244,236,0.22); background:rgba(247,244,236,0.05);
  min-height:120px; margin-bottom:4px;
}
.member-booking-embed:empty{ display:none; }
#memberStep4 .member-pending-note{ margin-top:4px; }
.member-confirm{ text-align:center; }
.member-confirm h3{ font-family:var(--font-display); font-size:1.5rem; font-weight:500; color:var(--gold-light); margin:0 0 16px; }
.member-confirm p{ font-size:1.05rem; line-height:1.7; color:rgba(247,244,236,0.92); margin:0 0 10px; }
/* SAFETY */
.safety-list{ list-style:none; margin:34px 0 0; padding:0; display:grid; gap:18px; }
.safety-list li{ display:grid; grid-template-columns:22px 1fr; gap:14px; font-size:0.98rem; line-height:1.6; color:#3a3f3c; }
.safety-list li::before{ content:""; width:7px; height:7px; margin-top:8px; transform:rotate(45deg); background:var(--gold); }

#safety.safety-redesign .wrap{ max-width:680px; }
#safety .safety-heading{ text-align:center; }
#safety .safety-heading .kicker{ justify-content:center; }
#safety .safety-intro{ margin:0 0 34px; text-align:center; }
#safety .safety-intro p{
  font-family:var(--font-body); font-weight:400; font-style:italic;
  font-size:1.05rem; line-height:1.75; color:rgba(20,26,51,0.78); margin:0;
}

#safety .safety-sections{ display:flex; flex-direction:column; gap:24px; }
#safety .safety-item{ text-align:center; padding-top:24px; border-top:1px solid rgba(201,162,74,0.3); }
#safety .safety-item:first-child{ padding-top:0; border-top:none; }
#safety .safety-item h3{ font-family:var(--font-display); font-size:1.25rem; font-weight:500; color:var(--royal); margin:0; line-height:1.3; }
#safety .safety-item-divider{ width:36px; height:1px; margin:14px auto 20px; background:linear-gradient(90deg, transparent, var(--gold) 50%, transparent); opacity:0.75; }
#safety .safety-item p{
  font-family:var(--font-body); font-weight:400; text-align:center;
  font-size:1.05rem; line-height:1.75; color:var(--ink); margin:0;
}

#safety .safety-notice{
  max-width:560px; margin:34px auto 0; padding:26px 0; text-align:center;
  border-top:1px solid rgba(29,74,143,0.22); border-bottom:1px solid rgba(29,74,143,0.22);
}
#safety .safety-notice-label{
  font-family:var(--font-display); font-size:0.76rem; font-weight:600; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--royal); margin:0 0 12px;
}
#safety .safety-notice p{
  font-family:var(--font-body); font-weight:400;
  font-size:0.93rem; line-height:1.75; color:rgba(20,26,51,0.72); margin:0;
}

#safety .safety-cta{ text-align:center; margin-top:36px; }
#safety .safety-cta .btn{ display:inline-block; }

@media (max-width:600px){
  #safety .safety-sections{ gap:20px; }
  #safety .safety-item{ padding-top:20px; }
  #safety .safety-intro{ margin-bottom:27px; }
  #safety .safety-notice{ margin-top:27px; }
  #safety .safety-cta{ margin-top:26px; }
}
/* CONTACT */
.contact{ color:var(--cream); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:0.85rem; margin-bottom:7px; color:rgba(247,244,236,0.75); }
.field input, .field textarea{
  width:100%; background:rgba(247,244,236,0.06); border:1px solid var(--line);
  color:var(--cream); padding:12px 14px; font-family:var(--font-body); font-size:0.95rem; border-radius:2px;
}
.field input:focus, .field textarea:focus{ outline:2px solid var(--gold); outline-offset:1px; border-color:transparent; }
.field textarea{ resize:vertical; min-height:100px; }
.contact form .btn-primary{ border:none; cursor:pointer; width:100%; }
#form-note{ font-size:0.85rem; color:var(--gold-light); margin-top:14px; display:none; }

/* Public "Connect With Us" contact section */
#contact{ padding-top:66px; padding-bottom:66px; }
#contact.section-paper .wrap{ max-width:620px; }
#contact .contact-heading{ text-align:center; }
#contact .contact-heading .kicker{ justify-content:center; }
#contact .contact-heading .title{ margin-bottom:14px; }
#contact .contact-intro{ margin:0 0 24px; text-align:center; }
#contact .contact-intro p{
  font-family:var(--font-body); font-weight:400; font-style:italic;
  font-size:1.05rem; line-height:1.7; color:rgba(20,26,51,0.78); margin:0;
}
#contact .contact-divider{
  width:40px; height:1px; margin:0 auto 32px;
  background:linear-gradient(90deg, transparent, var(--gold) 50%, transparent); opacity:0.75;
}
#contact .contact-form{ max-width:500px; margin:0 auto; text-align:left; }
#contact .contact-field{ margin-bottom:15px; }
#contact .contact-field label{ display:block; font-size:0.85rem; margin-bottom:6px; color:var(--royal); }
#contact .contact-field input,
#contact .contact-field select,
#contact .contact-field textarea{
  width:100%; background:rgba(29,74,143,0.05); border:1px solid rgba(29,74,143,0.28);
  color:var(--ink); padding:12px 14px; font-family:var(--font-body); font-size:0.95rem; border-radius:2px;
  box-sizing:border-box;
}
#contact .contact-field select{ cursor:pointer; }
#contact .contact-field textarea{ resize:vertical; min-height:110px; }
#contact .contact-field input:focus,
#contact .contact-field select:focus,
#contact .contact-field textarea:focus{ outline:2px solid var(--gold); outline-offset:1px; border-color:transparent; }
#contact .contact-form .btn{ width:100%; border:none; cursor:pointer; margin-top:4px; box-sizing:border-box; }
#contact .contact-note{ font-size:0.92rem; color:var(--royal); margin-top:12px; display:none; text-align:center; }
#contact .contact-privacy{
  text-align:center; font-size:0.85rem; line-height:1.6; color:rgba(20,26,51,0.6);
  max-width:460px; margin:22px auto 0;
}
#contact .contact-privacy a{ color:var(--royal); text-decoration:underline; text-underline-offset:3px; }

@media (max-width:600px){
  #contact{ padding-top:56px; padding-bottom:56px; }
  #contact .contact-intro{ margin-bottom:20px; }
  #contact .contact-divider{ margin-bottom:26px; }
}

footer{ color:rgba(247,244,236,0.55); text-align:center; padding:56px 28px 56px; font-size:0.85rem; border-top:1px solid rgba(201,162,74,0.25); }
footer .fine{ margin-top:10px; max-width:520px; margin-left:auto; margin-right:auto; line-height:1.6; }
@media (prefers-reduced-motion: reduce){
  .btn-primary:hover{ transform:none; }
}
/* Anchor jumps land below the sticky nav */
section[id]{ scroll-margin-top:68px; }
/* Phones: avoid doubled side padding, keep watermark from crowding text */
@media (max-width:600px){
  section{ padding:64px 0; }
  .wrap{ padding:0 24px; }
  .hero{ padding-left:24px; padding-right:24px; }
    .founders-photo{ width:290px; }
}
/* ---- Language switch ---- */
.nav-actions{ display:flex; align-items:center; gap:10px; }
nav.links{ margin-inline-start:auto; margin-inline-end:24px; }
.lang-toggle{
  background:none; border:1px solid var(--line); color:var(--cream);
  border-radius:6px; padding:7px 13px; font-size:0.9rem; cursor:pointer; font-family:inherit;
  transition:border-color .18s, color .18s;
}
.lang-toggle:hover, .lang-toggle:focus-visible{ border-color:var(--gold-light); color:var(--gold-light); }
@media (max-width:1000px){
  nav.links{ margin:0; }
}
/* ---- Farsi typography ---- */
/* letter-spacing breaks Persian letter joining, so switch it off */
html[lang="fa"] *{ letter-spacing:0 !important; }
html[lang="fa"] body{ line-height:1.8; }
html[lang="fa"] .kicker{ font-size:0.95rem; }
html[lang="fa"] p.body-lg, html[lang="fa"] .step p{ line-height:1.95; }
html[lang="fa"] h1, html[lang="fa"] h2.title{ line-height:1.45; }
html[lang="fa"] blockquote.mission{ font-style:normal; line-height:1.9; }
/* ---- Right-to-left layout ---- */
[dir="rtl"] .btn-ghost{ margin-left:0; margin-right:12px; }
@media (max-width:480px){
  [dir="rtl"] .btn-ghost{ margin-right:0; }
}
[dir="rtl"] blockquote.mission{ padding-left:0; padding-right:28px; border-left:none; border-right:3px solid var(--gold); }
[dir="rtl"] @media (max-width:600px){
  [dir="rtl"] }
[dir="rtl"] .modal-close{ right:auto; left:16px; }
[dir="rtl"] .field input[type="email"]{ text-align:right; }
/* ================= Sacred / traditional typography ================= */
:root{
  --font-display:'Cinzel', 'Cormorant SC', 'Times New Roman', serif;   /* inscriptional Roman capitals */
  --font-body:'EB Garamond', 'Cormorant Garamond', Georgia, 'Times New Roman', serif; /* old-style book face */
}
html[lang="ru"]{ --font-display:'Cormorant SC', 'Times New Roman', serif; }
/* Cyrillic small capitals */
html[lang="fa"]{
  --font-display:'Noto Naskh Arabic', 'Amiri', Tahoma, serif;              /* classical Naskh calligraphy */
  --font-body:'Noto Naskh Arabic', 'Amiri', Tahoma, serif;
}
html{ font-size:112.5%; }
body{ line-height:1.6; }
h1, h2, h3{ font-weight:500; letter-spacing:0.04em; }
.hero h1{ font-size:clamp(2rem, 5vw, 3.1rem); letter-spacing:0.07em; line-height:1.25; }
h2.title{ font-size:clamp(1.4rem, 3vw, 1.9rem); line-height:1.4; }
.hero p.lede{ font-size:1.2rem; line-height:1.6; }
p.body-lg{ line-height:1.75; }
.step h3, .modal-box h3{ font-size:1.2rem; }
/* small ceremonial labels in the display face */
nav.links a, .kicker, .btn, .field label, .lang-toggle, .nav-mark .sub{
  font-family:var(--font-display);
}
nav.links a{ font-size:0.78rem; letter-spacing:0.1em; }
.kicker{ font-size:0.76rem; letter-spacing:0.2em; }
.btn{ font-size:0.8rem; letter-spacing:0.14em; padding:15px 30px; }
.field label{ font-size:0.78rem; letter-spacing:0.1em; }
.nav-mark{ font-size:1rem; letter-spacing:0.08em; }
.nav-mark .sub{ font-size:0.62rem; letter-spacing:0.16em; }
.lang-toggle{ font-size:0.78rem; letter-spacing:0.1em; }
blockquote.mission{ font-size:clamp(1.3rem, 2.6vw, 1.65rem); line-height:1.5; }
/* illuminated first letter, in the manner of old manuscripts */
/* Farsi: calligraphic face, no letter-spacing, no drop cap */
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3{ font-weight:700; }
html[lang="fa"] body{ line-height:1.9; }
html[lang="fa"] p.body-lg, html[lang="fa"] .step p{ line-height:2; }
html[lang="fa"] .hero h1, html[lang="fa"] h2.title{ line-height:1.6; }
html[lang="fa"] nav.links a, html[lang="fa"] .btn, html[lang="fa"] .kicker{ font-size:1rem; }
html[lang="fa"] .btn{ font-weight:700; }
#philosophy p.body-lg:first-of-type::first-letter{
  font-family:var(--font-display); float:left; font-size:3.7em; line-height:0.8;
  padding:0.07em 0.1em 0 0; color:var(--royal); font-weight:600;
}
html[lang="fa"] #philosophy p.body-lg:first-of-type::first-letter{
  font-family:inherit; float:none; font-size:inherit; line-height:inherit; padding:0; color:inherit; font-weight:inherit;
}
/* ---- Language menu ---- */
.lang-switch{ position:relative; }
.lang-toggle .caret{ margin-inline-start:6px; font-size:0.7rem; }
.lang-menu{
  position:absolute; top:calc(100% + 8px); inset-inline-end:0; z-index:40;
  min-width:150px; margin:0; padding:6px; list-style:none;
  background:var(--navy-deep); border:1px solid rgba(201,162,74,0.4); border-radius:6px;
  box-shadow:0 14px 34px rgba(0,0,0,0.5);
}
.lang-menu button{
  width:100%; display:block; text-align:start; background:none; border:none; cursor:pointer;
  color:var(--cream); padding:10px 12px; border-radius:4px; font-size:1.05rem; line-height:1.3;
  font-family:'EB Garamond', Georgia, serif;
}
.lang-menu button[lang="fa"]{ font-family:'Noto Naskh Arabic', 'Amiri', Tahoma, serif; font-size:1.15rem; }
.lang-menu button[lang="ru"]{ font-family:'EB Garamond', 'Times New Roman', serif; }
.lang-menu button:hover, .lang-menu button:focus-visible{ background:rgba(201,162,74,0.16); outline:none; }
.lang-menu button[aria-current="true"]{ color:var(--gold-light); }
.lang-menu button[aria-current="true"]::after{ content:" ✓"; }
/* Keep the brand on one line on small screens */
.nav-mark{ white-space:nowrap; }
@media (max-width:520px){
  .nav-mark .sub{ display:none; }
}
/* ================= Readability ================= */
body{ font-weight:500; }
html[lang="fa"]{ font-size:118%; }
/* body copy: bigger, sturdier, darker on light sections */
p.body-lg{ font-size:1.2rem; line-height:1.75; color:#141a33; }
.safety-list li{ font-size:1.12rem; line-height:1.65; color:#141a33; }
.modal-box p{ font-size:1.1rem; line-height:1.75; color:#141a33; }
.hero p.lede{ font-size:1.3rem; line-height:1.6; color:rgba(247,244,236,0.96); max-width:560px; text-shadow:0 1px 10px rgba(4,8,28,0.85); }
.step h3, /* body copy on dark sections: near-white */
.path p.body-lg{ color:rgba(247,244,236,0.94); }
.step p{ font-size:1.08rem; line-height:1.65; color:rgba(247,244,236,0.93); max-width:520px; }
.field label{ font-size:0.9rem; color:rgba(247,244,236,0.95); }
.field input, .field textarea{ font-size:1.1rem; background:rgba(247,244,236,0.1); border-color:rgba(247,244,236,0.3); }
#form-note{ font-size:1.05rem; }
footer{ color:rgba(247,244,236,0.78); font-size:0.95rem; }
/* small labels: larger, less spread out, heavier */
nav.links a{ font-size:0.88rem; letter-spacing:0.08em; font-weight:500; opacity:1; color:var(--cream); }
.kicker{ font-size:0.86rem; letter-spacing:0.14em; font-weight:600; }
.btn{ font-size:0.9rem; letter-spacing:0.1em; font-weight:600; }
.lang-toggle{ font-size:0.86rem; }
.lang-menu button{ font-size:1.12rem; }
/* less clutter behind text */
/* Russian: the display face is delicate, so make it sturdier and larger */
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3{ font-weight:700; }
html[lang="ru"] nav.links a, html[lang="ru"] .btn, html[lang="ru"] .kicker, html[lang="ru"] .field label, html[lang="ru"] .lang-toggle{ font-weight:700; font-size:1rem; letter-spacing:0.06em; }
html[lang="ru"] .nav-mark{ font-weight:700; font-size:1.1rem; }
html[lang="ru"] .nav-mark .sub{ font-size:0.85rem; }
html[lang="ru"] .step .num{ font-weight:700; }
/* Farsi: larger calligraphic text */
html[lang="fa"] nav.links a, html[lang="fa"] .btn, html[lang="fa"] .kicker, html[lang="fa"] .field label{ font-size:1.05rem; font-weight:700; }
/* ================= Golden brand name ================= */
.nav-mark [data-i18n="brand.name"]{ color:var(--gold-light); }
.nav-mark .sub{ color:rgba(232,207,138,0.85); font-size:0.7rem; }
.hero h1{ color:var(--gold-light); }
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .hero h1{
    background:linear-gradient(180deg, #f8e7ad 0%, #e6c66c 52%, #c9a24a 100%);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    filter:drop-shadow(0 2px 16px rgba(201,162,74,0.3));
  }
}
/* Russian navigation: longer words, so slightly tighter */
html[lang="ru"] nav.links{ gap:20px; }
html[lang="ru"] nav.links a{ font-size:0.92rem; letter-spacing:0.03em; }
@media (min-width:1001px){
  html[lang="ru"] .nav-mark .sub{ display:none; }
}
.hero h1{ font-weight:600; }
/* Phones: keep the hero compact so the buttons stay close to the first screen */
@media (max-width:600px){
  .hero{ padding-top:96px; padding-bottom:88px; }
  .hero p.lede{ font-size:1.14rem; line-height:1.55; margin-bottom:26px; }
}
/* ================= The crest in the footer, with its natural glow ================= */
.hero{ overflow:hidden; }
.hero > *{ position:relative; z-index:1; }
footer{ position:relative; overflow:hidden; }
footer > *{ position:relative; z-index:1; }
.crest-wrap{ position:relative; width:fit-content; margin:0 auto 24px; z-index:0 !important; }
.crest-wrap img.crest{
  display:block; width:170px; height:auto; aspect-ratio:1 / 1; object-fit:cover;
  border-radius:50%; margin:0; box-shadow:none;
  border:1px solid rgba(240,214,140,0.55);
  /* outer halo only: a separate box-shadow around the circle; the artwork itself is never filtered */
  box-shadow:0 0 8px rgba(255,226,160,0.34), 0 0 26px rgba(255,205,120,0.18);
}
/* warm light that fades away gradually, with no visible edge */
.crest-wrap::before{
  content:""; position:absolute; inset:-170px; border-radius:50%; z-index:-1; pointer-events:none;
  background:radial-gradient(circle closest-side,
    rgba(255,236,190,0.37) 0%, rgba(255,222,150,0.24) 22%, rgba(250,205,120,0.128) 38%,
    rgba(240,190,105,0.06) 52%, rgba(230,180,100,0.02) 66%, rgba(230,180,100,0) 80%);
  animation:glow-breathe 10s ease-in-out infinite;
}
@keyframes glow-breathe{ 0%,100%{ opacity:0.88; transform:scale(0.985); } 50%{ opacity:1; transform:scale(1.02); } }
@media (prefers-reduced-motion: reduce){
  .crest-wrap::before{ animation:none; }
}
@media (max-width:600px){
  .crest-wrap img.crest{ width:140px; }
  .crest-wrap::before{ inset:-140px; }
}
/* ================= Testimonies ================= */
.testimonials{ background:var(--paper-deep); border-top:1px solid var(--line-dark); }
.testi-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:28px; margin-top:46px; }
.testi{
  margin:0; position:relative; padding:44px 30px 28px; background:var(--paper-card);
  border:1px solid rgba(201,162,74,0.7);
  box-shadow:inset 0 0 0 5px var(--paper-card), inset 0 0 0 6px rgba(201,162,74,0.45);
}
.testi::before{
  content:"\201C"; position:absolute; top:6px; inset-inline-start:24px;
  font-family:var(--font-display); font-size:4.4rem; line-height:1; color:var(--gold);
}
html[lang="fa"] .testi::before, html[lang="ru"] .testi::before{ content:"\00AB"; }
.testi blockquote{
  margin:0 0 20px; font-family:var(--font-body); font-style:italic; font-weight:500;
  font-size:1.22rem; line-height:1.7; color:#141a33;
}
.testi figcaption{ font-family:var(--font-display); font-size:0.86rem; letter-spacing:0.1em; color:var(--royal); font-weight:600; }
html[lang="fa"] .testi blockquote{ font-style:normal; line-height:2; }
html[lang="fa"] .testi figcaption{ font-size:1rem; font-weight:700; }
html[lang="ru"] .testi figcaption{ font-size:1rem; font-weight:700; letter-spacing:0.05em; }
/* Hero text: the same book face as the About paragraph ("Sophia Ministry exists to hold sacred space...") */
.hero p.lede{
  font-family:var(--font-body); font-weight:500; font-size:1.45rem;
  letter-spacing:0; line-height:1.6; max-width:600px;
}
html[lang="fa"] .hero p.lede{ font-size:1.5rem; line-height:2; }
@media (max-width:600px){
  .hero p.lede{ font-size:1.25rem; line-height:1.6; }
  html[lang="fa"] .hero p.lede{ font-size:1.3rem; }
}
/* ================= The four elemental forces (kept very faint) ================= */
/* Fire (membership) and water (contact) rise from the bottom of their sections */
.el-fire, .el-water{ position:relative; overflow:hidden; }
.el-fire > .wrap, .el-water > .wrap{ position:relative; z-index:1; }
.el-fire::before, .el-water::before{
  content:""; position:absolute; left:0; right:0; bottom:0; z-index:0; pointer-events:none;
  background-repeat:no-repeat; background-position:center bottom; background-size:100% 100%;
  -webkit-mask-image:linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
          mask-image:linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
}
.el-fire::before{  height:230px; background-image:url("assets/fire-pattern.svg");  opacity:0.30; }
.el-water::before{ height:210px; background-image:url("assets/water-pattern.svg"); opacity:0.24; }
@media (max-width:700px){
  .el-fire::before, .el-water::before{ height:150px; }
}
/* ================= Reach out: one centered column, sized to its content ================= */
.contact{ padding-top:76px; padding-bottom:88px; }
.contact-card{ max-width:560px; margin:0 auto; text-align:center; }
.contact-card .kicker{ justify-content:center; }
.contact-card form{ text-align:start; }
.contact-card #form-note{ text-align:center; }
:root{
  --cosmos:url("assets/hero-basilica.webp");          /* top section */
  --cosmos-gate:url("assets/cosmos-gate.webp");   /* membership gateway band */
}
/* ================= Hero: cosmic artwork as the background ================= */
.hero.starfield{
  background-color:#04081c;
  background-image:
    radial-gradient(ellipse 38% 54% at 50% 52%, rgba(3,7,26,0.66) 0%, rgba(3,7,26,0.44) 50%, rgba(3,7,26,0) 100%),
    var(--cosmos);
  background-repeat:no-repeat, no-repeat;
  background-size:100% 100%, cover;
  background-position:center, center;
}
/* narrow screens see only the middle of the artwork, so widen the calm patch behind the text */
@media (max-width:700px){
  .hero.starfield{
    background-image:
      radial-gradient(ellipse 95% 62% at 50% 50%, rgba(3,7,26,0.78) 0%, rgba(3,7,26,0.56) 55%, rgba(3,7,26,0.18) 100%),
      var(--cosmos);
    background-repeat:no-repeat, no-repeat;
    background-size:100% 100%, cover;
    background-position:center, center;
  }
}
/* Keep the long Russian title in the calm centre of the artwork, on two lines */
html[lang="ru"] .hero h1{ max-width:15em; margin-left:auto; margin-right:auto; }
/* A fine gold line where the artwork meets the light section */
.hero{ border-bottom:1px solid rgba(201,162,74,0.55); }
/* ================= Social icons ================= */
.social{ display:flex; justify-content:center; gap:14px; }
.social a{
  width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-light); border:1px solid rgba(201,162,74,0.65); background:rgba(4,8,28,0.35);
  transition:color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.social svg{ width:22px; height:22px; }
.social a:hover, .social a:focus-visible{
  color:#fff; border-color:var(--gold-light); transform:translateY(-2px);
  box-shadow:0 0 18px rgba(232,207,138,0.38);
}
.social a:focus-visible{ outline:2px solid var(--gold-light); outline-offset:3px; }
.social-footer{ margin:0 auto 22px; }
footer .fine{ margin-top:0; }
@media (prefers-reduced-motion: reduce){
  .social a{ transition:color .2s, border-color .2s, box-shadow .2s; }
  .social a:hover, .social a:focus-visible{ transform:none; }
}
/* ================= Membership call: a gateway at dawn ================= */
.portal{
  position:relative; overflow:hidden; text-align:center; color:var(--cream);
  padding:120px 28px 110px;
  background-color:#04081c;
  background-image:
    radial-gradient(ellipse 62% 75% at 50% 100%, rgba(255,214,140,0.30) 0%, rgba(255,214,140,0) 72%),
    linear-gradient(to bottom, rgba(4,8,28,0.78) 0%, rgba(4,8,28,0.40) 55%, rgba(4,8,28,0.55) 100%),
    var(--cosmos-gate);
  background-repeat:no-repeat;
  background-size:100% 100%, 100% 100%, min(190%, 2500px) auto;
  background-position:center, center, 50% 100%;
  border-top:1px solid rgba(201,162,74,0.45);
  border-bottom:1px solid rgba(201,162,74,0.45);
}
.gate{
  position:relative; max-width:660px; margin:0 auto; padding:74px 40px 54px;
  background:rgba(5,9,30,0.68);
  -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px);
  border:1px solid rgba(201,162,74,0.7);
  box-shadow:
    inset 0 0 0 6px rgba(5,9,30,0.68), inset 0 0 0 7px rgba(201,162,74,0.4),
    0 26px 70px rgba(0,0,0,0.5), 0 0 70px rgba(232,190,110,0.12);
}
/* a glowing seal sitting on the top edge of the frame */
.gate-seal{
  position:absolute; top:-34px; left:50%; transform:translateX(-50%);
  width:68px; height:68px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:#070c2a; border:1px solid rgba(232,207,138,0.8);
  box-shadow:0 0 0 5px rgba(5,9,30,0.85), 0 0 30px rgba(255,214,140,0.38);
  color:var(--gold-light);
}
.gate-seal svg{ width:28px; height:28px; }
.gate .kicker{ justify-content:center; color:var(--gold-light); }
.gate h2.title{ color:var(--cream); margin-bottom:20px; }
.gate p.body-lg{ color:rgba(247,244,236,0.95); max-width:520px; margin:0 auto 34px; }
@media (max-width:600px){
  .portal{ padding:96px 20px 80px; background-size:100% 100%, 100% 100%, cover; }
  .gate{ padding:66px 24px 44px; }
}
/* ================= Community photos ================= */
.gallery{ color:var(--cream); }
.gallery h2.title{ color:var(--cream); }
.gallery .kicker{ color:var(--gold-light); }
.gallery p.body-lg.gallery-note{ font-family:var(--font-body); font-weight:400; line-height:1.75; color:rgba(240,236,226,0.86); max-width:640px; margin:0; text-align:left; }
/* a sliding row: exactly 3 uniform boxes visible at a time, the rest reached by scrolling/dragging sideways */
.gallery-grid{
  display:flex; flex-wrap:nowrap; gap:28px; margin-top:44px;
  overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  padding-bottom:16px;
}
.gallery-grid::-webkit-scrollbar{ height:8px; }
.gallery-grid::-webkit-scrollbar-track{ background:rgba(247,244,236,0.08); border-radius:4px; }
.gallery-grid::-webkit-scrollbar-thumb{ background:rgba(201,162,74,0.55); border-radius:4px; }
.gallery-grid::-webkit-scrollbar-thumb:hover{ background:rgba(201,162,74,0.8); }
.gallery-wrap{ position:relative; }
.gallery-arrow{
  position:absolute; top:50%; z-index:2; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(4,8,28,0.55); border:1px solid rgba(201,162,74,0.55); color:rgba(232,207,138,0.85);
  cursor:pointer; padding:0; backdrop-filter:blur(2px);
  transition:background-color .35s ease, border-color .35s ease, color .35s ease, opacity .35s ease;
}
.gallery-arrow svg{ width:16px; height:16px; }
.gallery-arrow:hover{ background:rgba(4,8,28,0.8); border-color:rgba(232,207,138,0.9); color:#fbe9c2; }
.gallery-arrow:focus-visible{ outline:2px solid rgba(232,207,138,0.85); outline-offset:2px; }
.gallery-arrow-prev{ left:-6px; }
.gallery-arrow-next{ right:-6px; }
.gallery-arrow[disabled]{ opacity:0.3; cursor:default; }
.gallery-dots{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:18px; }
.gallery-dot{
  width:6px; height:6px; border-radius:50%; padding:0; border:1px solid rgba(201,162,74,0.6);
  background:transparent; cursor:pointer; transition:background-color .35s ease, transform .35s ease;
}
.gallery-dot.is-active{ background:rgba(232,207,138,0.9); transform:scale(1.25); }
@media (max-width:700px){
  .gallery-arrow{ display:none; }
  .gallery-dots{ display:none; }
}
/* every box is the same size and shape; the photo inside is cropped to fill it */
.photo{
  flex:0 0 calc((100% - 56px) / 3); aspect-ratio:4 / 5; scroll-snap-align:start;
  --frame:30px;
  position:relative; margin:0; box-sizing:border-box; overflow:hidden; border-radius:2px;
  padding:calc(var(--frame) * .96);          /* the photo sits just inside the gilded frame */
  background:transparent;                     /* no hard box behind the frame, so its outer edge can melt away */
  transition:transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease, filter .6s ease;
}
/* the gilded frame, drawn over the photo's edges (9-slice, so it fits any size) */
.photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  border:solid transparent; border-width:var(--frame);
  border-image:url(assets/frame-plain-gold.webp) 34 / var(--frame) round;
  opacity:.95; filter:none;
  /* the outer edge of the frame fades softly into the page */
  --fade:calc(var(--frame) * .55);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fade)),linear-gradient(to left,transparent,#000 var(--fade)),linear-gradient(to bottom,transparent,#000 var(--fade)),linear-gradient(to top,transparent,#000 var(--fade));
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 var(--fade)),linear-gradient(to left,transparent,#000 var(--fade)),linear-gradient(to bottom,transparent,#000 var(--fade)),linear-gradient(to top,transparent,#000 var(--fade));
  mask-composite:intersect;
  z-index:2;                                          /* always above the photo's inner shadow */
  transition:opacity .6s ease;
}
/* the picture melts gently into the frame instead of ending on a hard edge */
.photo::before{
  content:""; position:absolute; inset:var(--frame); z-index:1; pointer-events:none;
  box-shadow:inset 0 0 14px 3px rgba(8,8,11,.6);
}
.photo:hover::after{ opacity:1; }
.photo:hover{
  transform:scale(1.015);
  filter:brightness(1.06);
}
@media (prefers-reduced-motion:reduce){
  .photo{ transition:none; }
  .photo:hover{ transform:none; }
}
.photo img{ display:block; width:100%; height:100%; object-fit:cover; object-position:50% 28%; transition:transform .6s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion:reduce){ .photo img{ transition:none; } }
@media (max-width:820px){
  .photo{ flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width:640px){
  .gallery-grid{ gap:16px; }
  .photo{ flex-basis: 78%; --frame:24px; }
}
/* ================= Warm glow around the gold title ================= */
/* (drop-shadow, not text-shadow: the title is gold-gradient text, and only drop-shadow follows it) */
.hero h1{
  filter:
    drop-shadow(0 0 5px rgba(255,222,150,0.30))
    drop-shadow(0 0 18px rgba(240,195,105,0.38))
    drop-shadow(0 0 46px rgba(232,180,90,0.29));
}
@media (max-width:600px){
  .hero h1{
    filter:
      drop-shadow(0 0 4px rgba(255,222,150,0.30))
      drop-shadow(0 0 13px rgba(240,195,105,0.38))
      drop-shadow(0 0 30px rgba(232,180,90,0.29));
  }
}
/* ================= Hero: tall enough to show the whole artwork ================= */
/* The artwork is about twice as wide as it is tall. On wide screens the section used to be
   much shorter than that, so the top and bottom of the picture were cut off. Now the section
   is as tall as the picture at that width (never taller than the screen), and its content
   stays centred. */
.hero{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  min-height:min(56.3vw, calc(100vh - 70px));
}
@supports (height:100svh){
  .hero{ min-height:min(56.3vw, calc(100svh - 70px)); }
}
.hero-cta{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.hero-cta .btn, .hero-cta .btn-ghost{ margin:0; }
[dir="rtl"] .hero-cta .btn-ghost{ margin:0; }
/* ================= New copy: layout for multi-paragraph sections ================= */
/* Hero: a bold opening line, then a quieter line beneath it */
.hero p.lede{ margin:0 auto 14px; }
.hero p.lede.lede-sub{
  font-size:1.12rem; line-height:1.65; font-weight:400; margin:0 auto 34px;
  color:rgba(247,244,236,0.92); max-width:600px;
}
html[lang="fa"] .hero p.lede.lede-sub{ font-size:1.3rem; line-height:2; }
@media (max-width:600px){
  .hero p.lede.lede-sub{ font-size:1rem; margin-bottom:26px; }
  html[lang="fa"] .hero p.lede.lede-sub{ font-size:1.15rem; }
}
/* paragraphs that follow each other read as one passage */
p.body-lg + p.body-lg{ margin-top:0; }
#philosophy blockquote.mission{ margin-top:34px !important; }
.mem-intro{
  font-family:var(--font-body); font-weight:400; line-height:1.75;
  color:rgba(240,236,226,0.86); max-width:680px; margin:0 0 20px; text-align:left;
}
.mem-intro:last-of-type{ margin-bottom:0; }
.mem-intro:last-of-type{ margin-bottom:0; }
/* Offerings: four longer descriptions read better in two columns */
/* Community: a short lead line above the paragraph */
.gallery p.body-lg.gallery-lead{
  font-family:var(--font-body); font-size:1.45rem; font-style:italic; font-weight:400;
  line-height:1.5; letter-spacing:0.01em; margin:18px 0 18px; color:var(--gold-light);
}
html[lang="fa"] .gallery p.body-lg.gallery-lead{ font-style:normal; font-size:1.7rem; }
.gallery p.body-lg.gallery-note:not(.gallery-lead){ max-width:640px; }
/* Membership circle: three short lines, then the button */
.gate p.body-lg{ margin:0 auto 14px; }
.gate p.body-lg:last-of-type{ margin-bottom:34px; }
/* Safety: paragraphs, then the checklist */
#safety p.body-lg{ margin-bottom:16px; }
#safety .safety-list{ margin-top:30px; }
/* Contact: the invitation above the form */
.contact-card .contact-intro{
  max-width:520px; margin:0 auto 12px; font-size:1.18rem; line-height:1.7; color:rgba(247,244,236,0.95);
}
.contact-card .contact-intro-last{ font-style:italic; margin-bottom:32px; color:var(--gold-light); }
html[lang="fa"] .contact-card .contact-intro-last{ font-style:normal; }
/* Closing invocation, above the logo */
.invocation{
  max-width:560px; margin:0 auto 34px; padding:0 8px;
  font-family:var(--font-body); font-style:italic; font-weight:500;
  font-size:1.3rem; line-height:1.65; color:var(--gold-light);
  text-shadow:0 0 22px rgba(232,190,110,0.23);
}
html[lang="fa"] .invocation{ font-style:normal; font-size:1.45rem; line-height:2; }
@media (max-width:600px){
  .invocation{ font-size:1.15rem; margin-bottom:28px; }
  html[lang="fa"] .invocation{ font-size:1.25rem; }
}
/* ================= Ministry copy update ================= */
[hidden]{ display:none !important; }
/* line breaks that are part of the wording (hero headline, quote, closing blessing) */
.hero p.lede:not(.lede-sub), blockquote.mission, .invocation{ white-space:pre-line; }
.off-intro{ max-width:660px; margin:0 0 4px; }
/* offering pop-up */
.modal-box .modal-sub{
  font-family:var(--font-display); font-size:0.8rem; font-weight:600; letter-spacing:0.14em;
  color:var(--royal); margin:-6px 0 16px; line-height:1.6;
}
.modal-box .modal-feature{
  margin-top:22px; padding-top:18px; border-top:1px solid rgba(201,162,74,0.55);
  font-style:italic; font-size:1.25rem; color:var(--royal);
}
html[lang="ru"] .modal-box .modal-sub{ font-size:0.95rem; font-weight:700; letter-spacing:0.06em; }
html[lang="fa"] .modal-box .modal-sub{ font-size:1.05rem; font-weight:700; }
html[lang="fa"] .modal-box .modal-feature{ font-style:normal; }
/* offering pop-up: latest programs list */
.modal-programs{
  margin-top:22px; padding-top:18px; border-top:1px solid rgba(201,162,74,0.35);
}
.modal-programs-title{
  font-family:var(--font-display); font-size:0.78rem; font-weight:600; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--gold); margin:0 0 14px;
}
.program-item{ margin:0 0 16px; padding:0 0 16px; border-bottom:1px solid rgba(20,26,51,0.08); }
.program-item:last-child{ margin-bottom:0; padding-bottom:0; border-bottom:none; }
.program-name{
  font-family:var(--font-display); font-size:1rem; font-weight:600; color:var(--midnight);
  margin:0 0 3px;
}
.program-when{
  font-family:var(--font-body); font-style:italic; font-size:0.85rem; color:var(--royal);
  margin:0 0 6px;
}
.program-desc{ font-size:0.92rem; line-height:1.6; color:#3a3f3c; margin:0; }
/* membership steps with a second line */
.step .step-note{
  margin-top:9px; font-family:var(--font-body); font-style:italic; font-weight:400;
  font-size:0.87rem; line-height:1.55; color:rgba(232,207,138,0.82);
}
html[lang="fa"] .step .step-note{ font-style:normal; }
/* member portal: one or two buttons */
.gate-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
/* contact */
.contact-card .contact-sub{
  font-family:var(--font-display); font-size:1rem; font-weight:500; letter-spacing:0.14em;
  color:var(--gold-light); margin:-8px 0 26px;
}
html[lang="fa"] .contact-card .contact-sub{ font-size:1.25rem; font-weight:700; }
html[lang="ru"] .contact-card .contact-sub{ font-size:1.1rem; font-weight:700; letter-spacing:0.05em; }
.form-privacy{
  max-width:520px; margin:20px auto 0; text-align:center;
  font-size:0.98rem; line-height:1.65; color:rgba(247,244,236,0.85);
}
.form-privacy a{ color:var(--gold-light); text-decoration:underline; text-underline-offset:3px; }
/* footer: links, disclaimers, copyright */
.footer-links{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:14px 38px; margin:4px auto 26px; }
.footer-links a{
  font-family:var(--font-display); font-size:0.85rem; font-weight:600; letter-spacing:0.1em;
  color:var(--cream); text-decoration:none; padding:4px 2px; border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.footer-links a:hover, .footer-links a:focus-visible{ color:var(--gold-light); border-bottom-color:var(--gold-light); outline:none; }
html[lang="fa"] .footer-links a{ font-size:1.05rem; font-weight:700; }
html[lang="ru"] .footer-links a{ font-size:0.98rem; font-weight:700; letter-spacing:0.05em; }
.footer-disclaimer{ max-width:650px; margin:0 auto; }
.footer-disclaimer p{ margin:0; font-weight:400; font-size:0.88rem; line-height:1.7; color:rgba(247,244,236,0.84); text-align:center; }
footer .copyright{ margin:14px 0 0; font-size:0.78rem; color:rgba(247,244,236,0.64); }
/* Simplified footer: shorter disclaimer means less vertical space is needed overall */
footer{ padding:50px 28px 36px; }
/* ================= Legal pages (Privacy Policy, Terms of Use) ================= */
a.nav-mark{ color:var(--gold-light); text-decoration:none; }
.legal-back{
  font-family:var(--font-display); font-size:0.82rem; font-weight:600; letter-spacing:0.1em;
  color:var(--cream); text-decoration:none; border:1px solid rgba(255,255,255,0.3);
  padding:8px 14px; border-radius:6px; transition:color .2s, border-color .2s;
}
.legal-back:hover, .legal-back:focus-visible{ color:var(--gold-light); border-color:var(--gold-light); outline:none; }
.legal-hero{ text-align:center; color:var(--cream); padding:84px 28px 68px; }
.legal-hero .kicker{ justify-content:center; color:var(--gold-light); }
.legal-hero h1{
  font-family:var(--font-display); font-weight:600; font-size:clamp(2rem, 4.5vw, 3rem);
  letter-spacing:0.06em; color:var(--gold-light); margin:8px 0 14px;
  text-shadow:0 0 26px rgba(232,190,110,0.27);
}
.legal-hero p{ max-width:640px; margin:0 auto; font-size:1.15rem; line-height:1.7; color:rgba(247,244,236,0.93); }
.legal-body{ padding:64px 28px 96px; background:var(--paper); }
.legal-body .wrap{ max-width:780px; padding:0; }
.legal-body h2{ font-size:1.55rem; margin:46px 0 12px; line-height:1.35; }
.legal-body h2:first-of-type{ margin-top:8px; }
.legal-body p, .legal-body li{ font-size:1.12rem; line-height:1.78; color:#141a33; }
.legal-body p{ margin:0 0 14px; }
.legal-body ul{ margin:0 0 16px; padding-left:1.3em; }
.legal-body li{ margin-bottom:8px; }
.legal-body a{ color:var(--royal); text-decoration:underline; text-underline-offset:3px; }
.legal-meta{ font-style:italic; color:#232b47; margin-bottom:26px; }
/* the notice at the top of each page, and the markers the owner must resolve */
.draft-banner{
  border:1px solid #8f6a12; background:#fbf4d8;
  padding:18px 20px; margin:0 0 34px; border-radius:4px;
}
.draft-banner strong{ font-family:var(--font-display); letter-spacing:0.08em; color:#4a3a10; }
.draft-banner p{ margin:8px 0 0; font-size:1.05rem; }
mark.owner-input, mark.legal-review{
  background:#fdf7df; color:#3d2f08; font-weight:600;
  border:1px solid #8f6a12; border-radius:3px; padding:1px 7px;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}
mark.legal-review{ background:#e9f0fc; color:#0f2a55; border-color:#1d4a8f; }
.legal-footer{ text-align:center; padding:48px 28px 52px; }
.legal-footer .footer-links{ margin-bottom:18px; }
/* keeps a quoted name together on one line */
.nobr{ white-space:nowrap; }

/* ================= The Sophia passage: same night sky and rising flame as "Entering the circle" ================= */
.sophia-band{ text-align:center; color:var(--cream); padding:116px 28px 150px; position:relative; }
/* Shared seam line: marks the boundary between sections that share one continuous starfield background */
.sophia-band::after, #offerings::after, .gallery::after, .contact::after{
  content:""; position:absolute; left:0; right:0; bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(212,174,88,0.55) 50%, transparent);
}
.gallery, .contact{ position:relative; }
.sophia-quote{
  max-width:1000px; margin:0 auto; padding:0 6px;
  font-family:var(--font-body); font-style:italic; font-weight:500;
  font-size:clamp(1.3rem, 2.05vw, 1.85rem); line-height:1.95; letter-spacing:0.01em;
  color:var(--cream); white-space:pre-line; text-wrap:balance;
}
.sophia-quote::before, .sophia-quote::after{
  content:""; display:block; height:20px; background:url("assets/divider-line.svg") center / 300px 20px no-repeat;
}
.sophia-quote::before{ margin-bottom:46px; }
.sophia-quote::after{ margin-top:46px; }
html[lang="fa"] .sophia-quote{ font-style:normal; line-height:2.2; font-size:clamp(1.4rem, 2.2vw, 2rem); }
html[lang="ru"] .sophia-quote{ line-height:1.85; font-size:clamp(1.2rem, 1.8vw, 1.45rem); }
@media (max-width:600px){
  .sophia-band{ padding:84px 22px 118px; }
  .sophia-quote{ line-height:1.85; }
  .sophia-quote::before{ margin-bottom:34px; } .sophia-quote::after{ margin-top:34px; }
}

/* ================= Sacred pathways: golden doorway gallery ================= */
#offerings{
  position:relative; overflow:hidden;
  padding:112px 0 132px;
  color:var(--cream);
}
#offerings > .wrap{ position:relative; z-index:1; }
#offerings .kicker{ color:var(--gold-light); }
#offerings p.body-lg{ font-weight:400; line-height:1.8; color:rgba(240,236,226,0.86); }
.pathways{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:64px 72px; margin-top:56px; align-items:stretch; }

.pathway{
  position:relative; display:flex; flex-direction:column; align-items:center; text-align:center;
  width:100%; height:100%; margin:0; padding:0; cursor:pointer;
  font:inherit; color:var(--cream);
  background:transparent; border:none; border-radius:0;
}
.pathway:focus-visible{ outline:2px solid rgba(232,207,138,0.85); outline-offset:8px; border-radius:4px; }

/* the complete golden doorway, shown in full at its own proportions */
.pathway-photo{
  position:relative; display:block; width:100%; max-width:400px;
  aspect-ratio:462 / 622;
}
/* the wide ambient bleed: warm light spilling out of the recess onto the surrounding
   celestial wall, plus a soft shadow pooling in the ground beneath the archway. The
   carved recess itself — the shadow/warm-bounce shading right at the doorway's edge
   — is now baked directly into the image (same alpha field as the mask, so the photo,
   its colour, and its transparency all fade out together with zero seam), so this
   layer only needs to be a soft, generic ambient glow behind it. */
.pathway-photo::before{
  content:""; position:absolute; inset:-24%; z-index:-1; pointer-events:none;
  background:
    radial-gradient(ellipse 62% 52% at 50% 46%, rgba(214,175,92,0.18), transparent 72%),
    radial-gradient(ellipse 56% 18% at 50% 95%, rgba(3,6,18,0.5), transparent 76%);
  filter:blur(30px);
}
.pathway-photo img{
  display:block; width:100%; height:100%; object-fit:contain;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,0.4));
  transition:transform .9s cubic-bezier(.22,.61,.36,1), filter .9s ease;
  /* fade the left and right edges of the doorway into the celestial background,
     so the photo's straight sides never read as a hard rectangular cut */
  -webkit-mask-image:radial-gradient(ellipse 64% 66% at 50% 68%, #000 0%, #000 30%, rgba(0,0,0,.96) 38%, rgba(0,0,0,.88) 46%, rgba(0,0,0,.74) 54%, rgba(0,0,0,.58) 62%, rgba(0,0,0,.42) 70%, rgba(0,0,0,.27) 78%, rgba(0,0,0,.15) 86%, rgba(0,0,0,.06) 93%, transparent 100%), linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 5%, #000 17%, #000 83%, rgba(0,0,0,.45) 95%, transparent 100%), linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.5) 95%, transparent 100%);
          mask-image:radial-gradient(ellipse 64% 66% at 50% 68%, #000 0%, #000 30%, rgba(0,0,0,.96) 38%, rgba(0,0,0,.88) 46%, rgba(0,0,0,.74) 54%, rgba(0,0,0,.58) 62%, rgba(0,0,0,.42) 70%, rgba(0,0,0,.27) 78%, rgba(0,0,0,.15) 86%, rgba(0,0,0,.06) 93%, transparent 100%), linear-gradient(to right, transparent 0%, rgba(0,0,0,.45) 5%, #000 17%, #000 83%, rgba(0,0,0,.45) 95%, transparent 100%), linear-gradient(to bottom, #000 0%, #000 88%, rgba(0,0,0,.5) 95%, transparent 100%);
  -webkit-mask-composite:source-in, source-in;
          mask-composite:intersect, intersect;
}
/* a soft warm catch-light rising through the upper doorway, screened on top so it
   lightens rather than darkens — the impression of light living inside the portal */
.pathway-highlight{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:radial-gradient(ellipse 30% 40% at 50% 26%, rgba(255,224,150,0.24), transparent 70%);
  mix-blend-mode:screen;
  opacity:0.55;
  transition:opacity .9s ease, background .9s ease;
}
.pathway-photo::before{ transition:background .9s ease; }

/* Doors that swing open on hover to reveal a photo living inside the archway
   (currently used by the Sacred Ceremonies door). The door artwork is split into
   three layers using the shared SVG clip-paths defined at the top of the page:
   a static frame (the stone carving, with the door-leaf area clipped away), two
   independently-hinged leaves cut to the same shape as that hole, and the reveal
   photo sitting behind all of it, clipped to the full archway silhouette. */
.pathway-photo-reveal{ perspective:1400px; }
.pathway-photo-reveal .pathway-door-frame,
.pathway-photo-reveal .pathway-leaf{
  position:absolute; inset:0; width:100%; height:100%;
}
.pathway-photo-reveal .pathway-door-frame{ -webkit-clip-path:url(#archHole); clip-path:url(#archHole); }
/* Each leaf is a real slab with thickness: a front face, a darker back face (what you see once the
   door has swung past 90 degrees) and a gilded edge along the free side. The wrapper has no
   clip-path / filter / opacity, because those would flatten its 3D children; the clipping lives on
   the faces instead. */
.pathway-photo-reveal{ --door-t:5px; }
.pathway-leaf{
  transform-style:preserve-3d;
  transition:transform 1.5s cubic-bezier(.3,.05,.2,1);
  will-change:transform;
}
.pathway-leaf img.leaf-front,
.pathway-leaf img.leaf-back{
  position:absolute; inset:0; width:100%; height:100%;
  transition:filter 1.5s ease;
}
.pathway-leaf img.leaf-front{ backface-visibility:hidden; -webkit-backface-visibility:hidden; }
/* the back face is the same silhouette pushed back by the door's thickness; seen from behind (once
   the door has swung open) it shows through as a darker, mirrored wood panel */
.pathway-leaf img.leaf-back{ backface-visibility:visible; -webkit-backface-visibility:visible; }
.pathway-leaf-left img{ -webkit-clip-path:url(#archLeafLeft); clip-path:url(#archLeafLeft); }
.pathway-leaf-right img{ -webkit-clip-path:url(#archLeafRight); clip-path:url(#archLeafRight); }
.pathway-photo-reveal .pathway-leaf img.leaf-front{ transform:translateZ(calc(var(--door-t) / 2)) !important; }
.pathway-photo-reveal .pathway-leaf img.leaf-back{
  transform:translateZ(calc(var(--door-t) / -2)) !important;
  filter:brightness(.42) sepia(.55) saturate(1.2);
}
/* the door's free edge, at the seam: a vertical plane --door-t deep, turned to face sideways */
.pathway-leaf .leaf-edge{
  position:absolute; left:50.43%; top:59.65%; height:38.91%; width:var(--door-t);
  margin-left:calc(var(--door-t) / -2);
  transform:rotateY(90deg);
  background:linear-gradient(180deg,#b8934d 0%,#7d5a24 22%,#523914 60%,#2e1f0a 100%);
  box-shadow:inset 0 0 0 1px rgba(214,175,92,.28);
  pointer-events:none;
}
.pathway-leaf-left{ transform-origin:36.8% 55%; }
.pathway-leaf-right{ transform-origin:64.07% 55%; }
/* the front face dims a little as the door turns away from the light */
.pathway:hover .pathway-leaf img.leaf-front, .pathway:focus-visible .pathway-leaf img.leaf-front, .pathway.door-open .pathway-leaf img.leaf-front{
  filter:brightness(.7) drop-shadow(0 18px 30px rgba(0,0,0,0.4));
}
.pathway:hover .pathway-leaf-left, .pathway:focus-visible .pathway-leaf-left, .pathway.door-open .pathway-leaf-left{ transform:rotateY(-98deg); }
.pathway:hover .pathway-leaf-right, .pathway:focus-visible .pathway-leaf-right, .pathway.door-open .pathway-leaf-right{ transform:rotateY(98deg); }
.pathway-reveal{
  /* Sized to the arch opening's own bounding box (not the full door image) and
     clipped to that opening's exact silhouette, so the photo becomes the whole
     interior of the arch — no rectangular card, no empty space underneath. */
  position:absolute;
  left:36.80%; top:59.65%; width:27.27%; height:38.91%;
  -webkit-clip-path:url(#archFullTight); clip-path:url(#archFullTight);
  z-index:-1; opacity:0; transition:opacity .8s ease .15s;
  background:#0c0a05;
}
.pathway:hover .pathway-reveal, .pathway:focus-visible .pathway-reveal, .pathway.door-open .pathway-reveal{ opacity:1; }
.pathway-reveal img{
  /* object-fit:cover fills the entire arch opening top-to-bottom and
     side-to-side with no gaps; object-position is tuned per door below so the
     subject that matters for that photo stays in frame after cropping.
     --reveal-zoom is an extra per-door zoom multiplier (1 = no extra zoom)
     layered on top of the existing open/close scale animation. */
  width:100%; height:100%; object-fit:cover; object-position:50% 50%; display:block;
  filter:none; mask-image:none; -webkit-mask-image:none;
  --reveal-zoom:1;
  transform:scale(calc(1.06 * var(--reveal-zoom)));
  transition:transform 1.3s cubic-bezier(.22,.61,.36,1);
}
.pathway:hover .pathway-reveal img, .pathway:focus-visible .pathway-reveal img, .pathway.door-open .pathway-reveal img{ transform:scale(var(--reveal-zoom)); }
/* Per-door focal points: keep each photo's key subject (faces, hands, the
   mountain) in frame once object-fit:cover crops away what doesn't fit. */
.pathway[data-offer="ceremony"] .pathway-reveal img{ object-position:50% 50%; }
.pathway[data-offer="retreats"] .pathway-reveal img{ object-position:50% 32%; }
.pathway[data-offer="energy"] .pathway-reveal img{ object-position:50% 22%; }
/* Return to Self: zoomed in so Sepehr reads at roughly the same visual size
   as the people in the other doors. transform-origin matches object-position
   so the zoom pulls in around him and the mountain (rather than the arch's
   geometric center), and both are shifted toward the middle of the frame
   rather than the right edge, while still keeping his whole seated
   silhouette — head to crossed legs — in view. */
.pathway[data-offer="guidance"] .pathway-reveal img{
  object-position:83% 65%;
  transform-origin:83% 65%;
  --reveal-zoom:1.22;
}
/* a soft inner shadow along the archway, so the reveal photo reads as recessed
   behind the doors rather than pasted flat on top of them */
.pathway-photo-reveal::after{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  -webkit-clip-path:url(#archFull); clip-path:url(#archFull);
  box-shadow:inset 0 22px 40px rgba(0,0,0,0.55), inset 0 -14px 30px rgba(0,0,0,0.35);
  opacity:0; transition:opacity .8s ease;
}
.pathway:hover .pathway-photo-reveal::after, .pathway:focus-visible .pathway-photo-reveal::after, .pathway.door-open .pathway-photo-reveal::after{ opacity:1; }
/* Blue portal: while a door is open, smoke and rays of light pour out of the doorway in every direction
   (up over the carved stone, out to the sides, down to the sill) and merge into one glow. The layer is
   larger than the door; its middle is masked clear so the photo inside stays sharp. Pure CSS. */
.portal-smoke{
  position:absolute; inset:-30%; z-index:2; pointer-events:none;
  opacity:0; transition:opacity 1.8s ease .15s;
  -webkit-mask-image:radial-gradient(ellipse 19.1% 19.8% at 50% 52.5%, transparent 96%, #000 128%, #000 175%, transparent 250%);
          mask-image:radial-gradient(ellipse 19.1% 19.8% at 50% 52.5%, transparent 96%, #000 128%, #000 175%, transparent 250%);
}
/* rays of light radiating from the doorway, slowly turning and breathing */
.portal-smoke::before{
  content:""; position:absolute; inset:0;
  background:conic-gradient(from 0deg at 50% 68%, transparent 0.0deg, rgba(160,215,255,0.24) 1.3deg, transparent 2.6deg, transparent 6.5deg, rgba(160,215,255,0.19) 7.4deg, transparent 8.3deg, transparent 14.5deg, rgba(160,215,255,0.13) 15.4deg, transparent 16.2deg, transparent 22.3deg, rgba(160,215,255,0.14) 23.8deg, transparent 25.3deg, transparent 28.7deg, rgba(160,215,255,0.14) 30.2deg, transparent 31.7deg, transparent 39.6deg, rgba(160,215,255,0.29) 40.8deg, transparent 41.9deg, transparent 48.7deg, rgba(160,215,255,0.29) 50.4deg, transparent 52.2deg, transparent 57.6deg, rgba(160,215,255,0.17) 58.4deg, transparent 59.2deg, transparent 67.4deg, rgba(160,215,255,0.18) 68.4deg, transparent 69.4deg, transparent 73.1deg, rgba(160,215,255,0.23) 75.3deg, transparent 77.5deg, transparent 81.6deg, rgba(160,215,255,0.22) 83.4deg, transparent 85.3deg, transparent 90.5deg, rgba(160,215,255,0.16) 91.4deg, transparent 92.2deg, transparent 95.6deg, rgba(160,215,255,0.18) 97.5deg, transparent 99.5deg, transparent 105.0deg, rgba(160,215,255,0.17) 106.8deg, transparent 108.6deg, transparent 114.3deg, rgba(160,215,255,0.17) 116.5deg, transparent 118.6deg, transparent 125.8deg, rgba(160,215,255,0.28) 127.5deg, transparent 129.3deg, transparent 135.5deg, rgba(160,215,255,0.29) 137.5deg, transparent 139.5deg, transparent 144.2deg, rgba(160,215,255,0.26) 145.2deg, transparent 146.1deg, transparent 151.7deg, rgba(160,215,255,0.13) 152.7deg, transparent 153.7deg, transparent 159.6deg, rgba(160,215,255,0.23) 161.5deg, transparent 163.5deg, transparent 171.0deg, rgba(160,215,255,0.24) 173.3deg, transparent 175.6deg, transparent 180.5deg, rgba(160,215,255,0.20) 182.3deg, transparent 184.1deg, transparent 190.6deg, rgba(160,215,255,0.21) 192.8deg, transparent 195.0deg, transparent 203.7deg, rgba(160,215,255,0.25) 205.6deg, transparent 207.5deg, transparent 210.8deg, rgba(160,215,255,0.27) 212.7deg, transparent 214.6deg, transparent 223.6deg, rgba(160,215,255,0.24) 224.8deg, transparent 226.1deg, transparent 231.4deg, rgba(160,215,255,0.15) 232.2deg, transparent 233.0deg, transparent 238.7deg, rgba(160,215,255,0.26) 239.7deg, transparent 240.6deg, transparent 244.0deg, rgba(160,215,255,0.20) 245.0deg, transparent 245.9deg, transparent 250.4deg, rgba(160,215,255,0.20) 252.7deg, transparent 255.0deg, transparent 258.5deg, rgba(160,215,255,0.27) 260.2deg, transparent 261.9deg, transparent 270.2deg, rgba(160,215,255,0.20) 272.5deg, transparent 274.7deg, transparent 279.4deg, rgba(160,215,255,0.29) 280.8deg, transparent 282.1deg, transparent 290.4deg, rgba(160,215,255,0.17) 291.5deg, transparent 292.5deg, transparent 296.5deg, rgba(160,215,255,0.23) 297.7deg, transparent 298.8deg, transparent 304.8deg, rgba(160,215,255,0.20) 306.0deg, transparent 307.2deg, transparent 310.2deg, rgba(160,215,255,0.29) 311.6deg, transparent 313.0deg, transparent 319.4deg, rgba(160,215,255,0.23) 321.4deg, transparent 323.3deg, transparent 329.4deg, rgba(160,215,255,0.28) 331.3deg, transparent 333.3deg, transparent 336.6deg, rgba(160,215,255,0.27) 338.7deg, transparent 340.8deg, transparent 349.1deg, rgba(160,215,255,0.14) 350.5deg, transparent 351.9deg, transparent 357.3deg, rgba(160,215,255,0.14) 359.2deg, transparent 361.1deg);
  filter:blur(3.5px); mix-blend-mode:screen;
  transform-origin:50% 68%;
  animation:portalRays 60s linear infinite, portalBreathe 5s ease-in-out infinite alternate;
}
/* a broad blue bloom that ties the smoke and rays together */
.portal-smoke::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse 34% 36% at 50% 62%, rgba(110,175,255,.3) 0%, rgba(60,115,255,.2) 45%, rgba(30,70,220,.07) 72%, transparent 100%);
  filter:blur(14px); mix-blend-mode:screen;
  animation:portalBreathe 6s ease-in-out infinite alternate;
}
.portal-smoke i{
  position:absolute; left:calc((30 + var(--x)) * .625%); top:calc((30 + var(--y)) * .625%);
  width:20%; height:13%; margin:-6.5% 0 0 -10%;
  border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(170,220,255,.55) 0%, rgba(80,145,255,.34) 36%, rgba(35,80,230,.12) 62%, transparent 76%);
  filter:blur(11px); mix-blend-mode:screen;
  transform:scale(calc(var(--s) * .8));
  animation:portalSmoke 8s ease-in-out var(--d) infinite alternate;
}
@keyframes portalSmoke{
  0%  { transform:translate(0,0) scale(calc(var(--s) * .8)) rotate(0deg); opacity:.6; }
  50% { opacity:1; }
  100%{ transform:translate(var(--dx), var(--dy)) scale(calc(var(--s) * 1.3)) rotate(22deg); opacity:.65; }
}
@keyframes portalRays{ to{ transform:rotate(360deg); } }
@keyframes portalBreathe{ from{ opacity:.65; } to{ opacity:1; } }
.pathway:hover .portal-smoke, .pathway:focus-visible .portal-smoke, .pathway.door-open .portal-smoke{ opacity:.58; }
@media (prefers-reduced-motion: reduce){ .portal-smoke i, .portal-smoke::before, .portal-smoke::after{ animation:none; } .portal-smoke{ transition:none; } }
/* a sliver of light in the seam between the closed doors: baked faintly into the artwork,
   this overlay only intensifies it on hover/focus, aligned to the same seam position */
.pathway-seam-glow{
  position:absolute; left:50.43%; top:59.65%; bottom:1%; width:10px;
  transform:translateX(-50%);
  background:linear-gradient(180deg, rgba(255,215,106,0) 0%, rgba(245,199,107,0.5) 55%, rgba(255,215,106,0.9) 100%);
  filter:blur(7px);
  opacity:0; mix-blend-mode:screen; pointer-events:none;
  transition:opacity .9s ease;
}
.pathway:hover .pathway-seam-glow, .pathway:focus-visible .pathway-seam-glow{ opacity:1; }
/* once the doors actually open onto a photo, the seam no longer needs its own
   beam of light down the middle — the revealed photo lights the whole archway */
.pathway-opens:hover .pathway-seam-glow, .pathway-opens:focus-visible .pathway-seam-glow, .pathway-opens.door-open .pathway-seam-glow{ opacity:0; }
.pathway-door-title{
  position:absolute; left:50%; transform:translate(-50%, -50%);
  z-index:2; width:76%; text-align:center; pointer-events:none;
  /* Resting position: the same settled spot the title already sits at,
     closed or open — tuned per door below so it clears that photo's key
     elements. On activation, every door adds the exact same small upward
     lift (see the shared hover/open rule), rather than jumping to a
     different spot per door, so all four move by an identical distance. */
  top:29%;
  transition:transform .9s cubic-bezier(.22,.61,.36,1);
}
/* One shared, subtle lift for every door on activation: ~12px upward via
   transform, same duration and easing for all four — not a percentage, so
   the on-screen distance is identical regardless of each title's own
   resting spot above. */
.pathway:hover .pathway-door-title,
.pathway:focus-visible .pathway-door-title,
.pathway.door-open .pathway-door-title{
  transform:translate(-50%, calc(-50% - 12px));
}
.pathway[data-offer="energy"] .pathway-door-title{ top:31%; }
.pathway-door-title::before{
  content:""; position:absolute; left:50%; top:50%; transform:translate(-50%, -50%);
  width:132%; height:210%; z-index:-1;
  background:radial-gradient(ellipse 60% 55% at 50% 50%, rgba(4,8,28,0.5), transparent 72%);
}
.pathway-door-title h3{
  margin:0; font-family:var(--font-display); font-weight:500;
  font-size:0.98rem; letter-spacing:0.09em; line-height:1.4; text-transform:uppercase;
  color:#f8ecd0;
  text-shadow:0 2px 8px rgba(0,0,0,0.85), 0 0 20px rgba(0,0,0,0.55);
}
.pathway:hover .pathway-door-title h3, .pathway:focus-visible .pathway-door-title h3, .pathway.door-open .pathway-door-title h3{ color:#fff6e0; }

/* the text, held below the doorway, never over it */
.pathway-content{
  display:flex; flex-direction:column; align-items:center; flex:1;
  width:100%; max-width:440px; margin:0 auto;
  padding:26px 28px 0;
}
.pathway-divider{
  position:relative; width:54px; height:9px; margin:16px auto 20px;
}
.pathway-divider::before{
  content:""; position:absolute; top:50%; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(201,162,74,0.42), transparent);
}
.pathway-divider::after{
  content:""; position:absolute; top:50%; left:50%; width:7px; height:7px;
  transform:translate(-50%,-50%) rotate(45deg);
  border:1px solid rgba(201,162,74,0.6);
  background:transparent;
}
.pathway-body{ display:block; width:100%; }
.pathway-body{ display:flex; flex-direction:column; align-items:center; flex:1; }
.pathway-sub{
  margin:0; font-family:var(--font-display); font-size:0.72rem; font-weight:600;
  letter-spacing:0.18em; line-height:1.75; text-transform:uppercase; color:rgba(232,207,138,0.78);
}
.pathway-body p{ margin:0 0 18px; max-width:420px; font-size:1.02rem; font-weight:400; letter-spacing:0.005em; line-height:1.7; color:rgba(240,236,226,0.86); }
.pathway-body .pathway-avail{ font-style:italic; font-weight:400; font-size:0.95rem; color:rgba(232,207,138,0.8); }
.pathway .more{
  margin-top:auto; padding-top:6px; padding-bottom:30px; font-family:var(--font-display); font-size:0.78rem; font-weight:600;
  letter-spacing:0.18em; text-transform:uppercase; color:rgba(232,207,138,0.85);
  transition:color .45s ease;
}
.pathway:hover .more, .pathway:focus-visible .more{ color:#fbe9c2; }
.pathway .more::after{ content:" →"; display:inline-block; transition:transform .45s ease; }
.pathway:hover .more::after, .pathway:focus-visible .more::after{ transform:translateX(4px); }
[dir="rtl"] .pathway .more::after{ content:" ←"; }
[dir="rtl"] .pathway:hover .more::after, [dir="rtl"] .pathway:focus-visible .more::after{ transform:translateX(-4px); }
@media (prefers-reduced-motion: reduce){
  .pathway-photo img{ transition:none; }
  .pathway .more{ transition:none; }
  .pathway .more::after{ transition:none; }
  .pathway-seam-glow{ transition:none; }
  .pathway-leaf, .pathway-leaf img, .pathway-reveal, .pathway-reveal img, .pathway-photo-reveal::after{ transition:none; }
}
@media (max-width:820px){
  #offerings{ padding:84px 0 96px; }
  .pathways{ grid-template-columns:minmax(0, 1fr); gap:44px; margin-top:46px; }
  .pathway-photo{ max-width:242px; }
  .pathway-content{ padding:24px 16px 0; }
  .pathway-door-title h3{ font-size:0.86rem; letter-spacing:0.07em; }
  .pathway-body p{ font-size:1.02rem; line-height:1.7; }
}
html[lang="fa"] .pathway-door-title h3{ font-size:1.1rem; font-weight:700; }
html[lang="fa"] .pathway-sub{ font-size:1.05rem; font-weight:700; }
html[lang="fa"] .pathway-body p{ font-size:1.22rem; line-height:2; }
html[lang="fa"] .pathway-body .pathway-avail{ font-style:normal; }
html[lang="fa"] .pathway .more{ font-size:1.05rem; font-weight:700; }
html[lang="ru"] .pathway-door-title h3{ font-size:0.98rem; font-weight:700; }
html[lang="ru"] .pathway-sub{ font-size:0.95rem; font-weight:700; letter-spacing:0.06em; }
html[lang="ru"] .pathway .more{ font-size:0.95rem; font-weight:700; letter-spacing:0.06em; }
@media (max-width:820px){ html[lang="fa"] .pathway-door-title h3{ font-size:0.95rem; } html[lang="ru"] .pathway-door-title h3{ font-size:0.88rem; } }

/* robustness on very small screens */
.pathway{ min-width:0; overflow-wrap:break-word; }
@media (max-width:340px){ .hero h1{ font-size:1.7rem; } .pathway-content{ padding-left:14px; padding-right:14px; } }

/* ---- Member login ---- */
.member-signin-form{ margin:18px auto 0; max-width:420px; text-align:start; display:flex; flex-direction:column; gap:10px; }
.member-signin-form[hidden]{ display:none; }
.member-signin-form label{ font-size:0.88rem; color:var(--gold-light); letter-spacing:0.04em; }
.member-signin-form input{ width:100%; padding:13px 14px; font:inherit; font-size:1rem; color:var(--royal-deep); background:#f4f6fc; border:1px solid rgba(201,162,74,0.55); border-radius:2px; }
.member-signin-form input:focus{ outline:2px solid var(--gold); outline-offset:1px; }
.member-signin-form .btn{ width:100%; }
.member-account-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px 18px; margin:0 auto 22px; padding:10px 16px; max-width:760px; font-size:0.9rem; color:var(--gold-light); border:1px solid rgba(201,162,74,0.3); background:rgba(201,162,74,0.08); }
.member-account-bar[hidden]{ display:none; }
.member-account-bar .member-signin-link{ display:inline; width:auto; margin:0; font-size:0.9rem; }

/* MEMBER HOME — one card per offering, with its own state and action. */
.member-home .mem-intro{ margin-bottom:22px; }
.member-offer-list{ display:grid; gap:14px; }
.member-offer-card{
  display:flex; gap:16px; align-items:center; justify-content:space-between;
  border:1px solid rgba(247,244,236,0.22); background:rgba(247,244,236,0.05);
  padding:18px 20px; text-align:start;
}
.member-offer-card h4{ font-family:var(--font-display); font-size:1.2rem; font-weight:500; color:var(--gold-light); margin:0 0 4px; }
.member-offer-card .member-offer-status{ margin:0; font-size:0.9rem; line-height:1.55; color:rgba(247,244,236,0.82); }
.member-offer-card .btn{ width:auto; flex:none; margin:0; text-align:center; }
.member-offer-card .member-offer-status.is-ok{ color:var(--gold-light); }
@media (max-width:560px){
  .member-offer-card{ flex-direction:column; align-items:stretch; }
  .member-offer-card .btn{ width:100%; }
}
.member-home-signin{
  display:flex; flex-wrap:wrap; gap:6px 12px; align-items:center;
  font-size:0.9rem; color:var(--gold-light);
  background:rgba(201,162,74,0.12); border:1px solid rgba(201,162,74,0.35);
  padding:12px 16px; margin-bottom:18px; text-align:start;
}
.member-back{ display:block; margin-top:22px; }
.member-confirm .btn{ width:auto; margin-top:14px; }
.member-flow [hidden]{ display:none !important; }

.member-policy{ margin:0 auto 22px; max-width:560px; padding:14px 18px; border:1px solid rgba(201,162,74,0.4); background:rgba(201,162,74,0.08); text-align:start; }
.member-policy h4{ margin:0 0 6px; font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--gold-light); font-weight:600; }
.member-policy p{ margin:0; font-size:0.95rem; line-height:1.65; }

.member-offer-note{ margin:8px 0 0; padding:9px 12px; font-size:0.9rem; line-height:1.55; white-space:pre-line; color:var(--gold-light); border-inline-start:2px solid rgba(201,162,74,0.7); background:rgba(201,162,74,0.07); }

/* Choose between booking options (e.g. Energy Healing: one-to-one or weekly group) */
.book-chooser{ display:flex; flex-wrap:wrap; gap:.6rem; margin:0 0 1rem; }
.book-chooser[hidden]{ display:none; }
.book-choice{ flex:1 1 12rem; padding:.8rem 1rem; border:1px solid rgba(255,255,255,.25); border-radius:999px; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.book-choice:hover{ border-color:rgba(255,255,255,.55); }
.book-choice.is-active{ background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.7); }

/* the grand door: tone the bright marble down to a moonlit stone; it warms up as the doors open */
.pathway-photo img.pathway-door-frame{ filter:brightness(.8) saturate(.95) !important; transform:none !important; transition:filter 1.6s ease !important; }
.pathway:hover .pathway-photo img.pathway-door-frame, .pathway:focus-visible .pathway-photo img.pathway-door-frame, .pathway.door-open .pathway-photo img.pathway-door-frame{ filter:brightness(.88) saturate(1) !important; }
.pathway-photo .pathway-leaf img.leaf-front{ filter:brightness(.8) saturate(.95); }
.pathway:hover .pathway-leaf img.leaf-front, .pathway:focus-visible .pathway-leaf img.leaf-front, .pathway.door-open .pathway-leaf img.leaf-front{ filter:brightness(.6); }
.pathway-door-title{ top:41%; }
.pathway[data-offer="energy"] .pathway-door-title{ top:41%; }
/* the portal's smoke, rays and bloom radiate from the doorway (centre 50% / 68% of the larger layer) */
.portal-smoke{
  -webkit-mask-image:radial-gradient(ellipse 9% 12.5% at 50% 68%, transparent 96%, #000 150%, #000 330%, transparent 520%);
          mask-image:radial-gradient(ellipse 9% 12.5% at 50% 68%, transparent 96%, #000 150%, #000 330%, transparent 520%);
}
.portal-smoke::before{ background-position:50% 68%; transform-origin:50% 68%; }

/* The light inside each door comes alive once the doors open. Each photograph has its own light source
   (--sx / --sy, as a share of the doorway): a pulsing core, a wide breathing bloom and slowly turning rays.
   The retreat's source is its campfire instead: a flickering flame, firelight on the faces and rising embers. */
.pathway-sun{
  position:absolute; left:var(--sx,50%); top:var(--sy,15%); width:300%; aspect-ratio:1; transform:translate(-50%,-50%);
  pointer-events:none; opacity:0; mix-blend-mode:screen; transition:opacity 1.4s ease .8s;
}
/* core + bloom */
.pathway-sun::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle, rgba(255,252,238,1) 0, rgba(255,236,172,.95) 2.4%, rgba(255,196,98,.7) 6.5%, rgba(255,140,56,.38) 14%, rgba(255,112,40,.16) 26%, transparent 44%);
  animation:sunPulse 3s ease-in-out infinite alternate;
}
/* rays */
.pathway-sun::after{
  content:""; position:absolute; inset:0;
  background:conic-gradient(from 0deg, transparent 0.0deg, rgba(255,228,155,0.82) 1.1deg, transparent 2.3deg, transparent 10.2deg, rgba(255,228,155,0.66) 11.4deg, transparent 12.5deg, transparent 20.1deg, rgba(255,228,155,0.68) 20.9deg, transparent 21.7deg, transparent 29.3deg, rgba(255,228,155,0.54) 30.9deg, transparent 32.4deg, transparent 37.1deg, rgba(255,228,155,0.71) 37.8deg, transparent 38.5deg, transparent 48.2deg, rgba(255,228,155,0.83) 48.8deg, transparent 49.5deg, transparent 60.3deg, rgba(255,228,155,0.47) 61.7deg, transparent 63.1deg, transparent 71.4deg, rgba(255,228,155,0.43) 72.0deg, transparent 72.6deg, transparent 80.3deg, rgba(255,228,155,0.41) 81.2deg, transparent 82.0deg, transparent 87.7deg, rgba(255,228,155,0.78) 88.8deg, transparent 90.0deg, transparent 97.1deg, rgba(255,228,155,0.62) 98.3deg, transparent 99.5deg, transparent 108.0deg, rgba(255,228,155,0.53) 109.4deg, transparent 110.8deg, transparent 118.0deg, rgba(255,228,155,0.78) 119.8deg, transparent 121.6deg, transparent 132.6deg, rgba(255,228,155,0.50) 134.0deg, transparent 135.5deg, transparent 141.7deg, rgba(255,228,155,0.74) 142.6deg, transparent 143.6deg, transparent 148.1deg, rgba(255,228,155,0.57) 149.1deg, transparent 150.2deg, transparent 160.1deg, rgba(255,228,155,0.40) 161.9deg, transparent 163.6deg, transparent 173.6deg, rgba(255,228,155,0.61) 174.4deg, transparent 175.3deg, transparent 185.7deg, rgba(255,228,155,0.43) 187.4deg, transparent 189.2deg, transparent 196.0deg, rgba(255,228,155,0.52) 197.3deg, transparent 198.7deg, transparent 208.1deg, rgba(255,228,155,0.83) 208.9deg, transparent 209.6deg, transparent 215.9deg, rgba(255,228,155,0.51) 217.4deg, transparent 218.9deg, transparent 223.7deg, rgba(255,228,155,0.76) 224.5deg, transparent 225.2deg, transparent 229.6deg, rgba(255,228,155,0.60) 230.4deg, transparent 231.2deg, transparent 239.1deg, rgba(255,228,155,0.46) 240.0deg, transparent 240.8deg, transparent 249.9deg, rgba(255,228,155,0.59) 251.3deg, transparent 252.7deg, transparent 257.5deg, rgba(255,228,155,0.84) 258.3deg, transparent 259.2deg, transparent 265.1deg, rgba(255,228,155,0.80) 266.6deg, transparent 268.2deg, transparent 274.3deg, rgba(255,228,155,0.78) 275.2deg, transparent 276.0deg, transparent 282.8deg, rgba(255,228,155,0.85) 284.2deg, transparent 285.5deg, transparent 290.2deg, rgba(255,228,155,0.75) 291.1deg, transparent 292.0deg, transparent 297.8deg, rgba(255,228,155,0.43) 298.8deg, transparent 299.7deg, transparent 305.8deg, rgba(255,228,155,0.51) 306.5deg, transparent 307.2deg, transparent 315.3deg, rgba(255,228,155,0.60) 316.6deg, transparent 318.0deg, transparent 324.6deg, rgba(255,228,155,0.66) 326.3deg, transparent 328.1deg, transparent 335.5deg, rgba(255,228,155,0.47) 337.1deg, transparent 338.7deg, transparent 344.0deg, rgba(255,228,155,0.51) 345.7deg, transparent 347.4deg, transparent 357.1deg, rgba(255,228,155,0.82) 357.9deg, transparent 358.8deg);
  -webkit-mask-image:radial-gradient(circle, #000 2%, rgba(0,0,0,.75) 16%, rgba(0,0,0,.3) 30%, transparent 44%);
          mask-image:radial-gradient(circle, #000 2%, rgba(0,0,0,.75) 16%, rgba(0,0,0,.3) 30%, transparent 44%);
  filter:blur(1.2px);
  animation:sunRays 40s linear infinite, sunShimmer 2.2s ease-in-out infinite alternate;
}
@keyframes sunPulse{ from{ transform:scale(.82); opacity:.78; } to{ transform:scale(1.22); opacity:1; } }
@keyframes sunRays{ to{ transform:rotate(360deg); } }
@keyframes sunShimmer{ from{ opacity:.6; } to{ opacity:1; } }
.pathway:hover .pathway-sun, .pathway:focus-visible .pathway-sun, .pathway.door-open .pathway-sun{ opacity:1; }
.pathway[data-offer="ceremony"]{ --sx:44%; --sy:40.5%; }
.pathway[data-offer="energy"]{ --sx:55.5%; --sy:40.5%; }
.pathway[data-offer="guidance"]{ --sx:70%; --sy:31%; }

/* RETREATS: the campfire is the light */
.pathway[data-offer="retreats"]{ --sx:56%; --sy:66%; }
.pathway[data-offer="retreats"] .pathway-sun{ width:240%; }
.pathway[data-offer="retreats"] .pathway-sun::before{
  background:
    radial-gradient(circle at 50% 50%, rgba(255,246,214,1) 0, rgba(255,214,120,.95) 2%, rgba(255,160,56,.75) 5.5%, rgba(255,104,28,.42) 12%, rgba(230,70,20,.18) 24%, transparent 44%);
  animation:fireFlicker .85s ease-in-out infinite alternate;
  transform-origin:50% 56%;
}
/* firelight washing over the circle: slower and wider than the flame */
.pathway[data-offer="retreats"] .pathway-sun::after{
  -webkit-mask-image:none; mask-image:none; filter:none;
  background:radial-gradient(ellipse 30% 24% at 50% 50%, rgba(255,150,60,.42), rgba(255,100,30,.16) 55%, transparent 100%);
  animation:fireGlow 2.4s ease-in-out infinite alternate;
}
@keyframes fireFlicker{
  0%  { transform:scale(.88,.94); opacity:.82; filter:brightness(.95); }
  35% { transform:scale(1.06,1.14); opacity:1; filter:brightness(1.22); }
  60% { transform:scale(.96,1.04); opacity:.9; filter:brightness(1.02); }
  100%{ transform:scale(1.1,1.2); opacity:1; filter:brightness(1.28); }
}
@keyframes fireGlow{ from{ opacity:.6; transform:scale(.94); } to{ opacity:1; transform:scale(1.1); } }
/* rising embers */
.pathway[data-offer="retreats"] .pathway-reveal::after{
  content:""; position:absolute; left:calc(var(--sx) - 11%); top:calc(var(--sy) - 4%); width:22%; height:38%;
  background:
    radial-gradient(circle, #ffd27a 0 1.4px, transparent 2.2px) 20% 90% / 100% 100% no-repeat,
    radial-gradient(circle, #ffb04a 0 1.2px, transparent 2px) 62% 70% / 100% 100% no-repeat,
    radial-gradient(circle, #ffe3a0 0 1px, transparent 1.8px) 40% 55% / 100% 100% no-repeat,
    radial-gradient(circle, #ff9a3c 0 1.3px, transparent 2px) 78% 40% / 100% 100% no-repeat,
    radial-gradient(circle, #ffd27a 0 1px, transparent 1.8px) 30% 25% / 100% 100% no-repeat;
  mix-blend-mode:screen; pointer-events:none; opacity:0;
  transform:translate(0,0);
}
.pathway[data-offer="retreats"]:hover .pathway-reveal::after, .pathway[data-offer="retreats"]:focus-visible .pathway-reveal::after, .pathway[data-offer="retreats"].door-open .pathway-reveal::after{
  animation:embersRise 3.2s ease-out .9s infinite;
}
@keyframes embersRise{
  0%  { opacity:0; transform:translate(0,14%); }
  15% { opacity:1; }
  100%{ opacity:0; transform:translate(6%,-70%); }
}
@media (prefers-reduced-motion: reduce){
  .pathway-sun::before, .pathway-sun::after, .pathway[data-offer="retreats"] .pathway-reveal::after{ animation:none !important; }
}

/* CEREMONIES: the sun sits on the black stone at the heart of the ankh.
   ENERGY HEALING: the sun sits on Anna's hand above the seated woman's head. */
.pathway[data-offer="ceremony"] .pathway-sun, .pathway[data-offer="energy"] .pathway-sun{ width:170%; }
/* livelier sun on the stone and on the hand: a deeper breathing pulse, quicker turning rays, shimmering light */
.pathway[data-offer="ceremony"] .pathway-sun::before, .pathway[data-offer="energy"] .pathway-sun::before{
  animation:sunBreathe 2.4s ease-in-out infinite alternate;
}
.pathway[data-offer="ceremony"] .pathway-sun::after, .pathway[data-offer="energy"] .pathway-sun::after{
  animation:sunRays 18s linear infinite, sunShimmer 1.4s ease-in-out infinite alternate;
}
@keyframes sunBreathe{
  0%  { transform:scale(.7);  opacity:.7;  filter:brightness(.9); }
  50% { transform:scale(1.15); opacity:1;  filter:brightness(1.25); }
  100%{ transform:scale(1.45); opacity:.92; filter:brightness(1.4); }
}
@media (prefers-reduced-motion: reduce){
  .pathway[data-offer="ceremony"] .pathway-sun::before, .pathway[data-offer="ceremony"] .pathway-sun::after,
  .pathway[data-offer="energy"] .pathway-sun::before, .pathway[data-offer="energy"] .pathway-sun::after{ animation:none !important; }
}

/* more rays: a longer main set, plus a second, finer set turning the other way */
.pathway[data-offer="ceremony"] .pathway-sun, .pathway[data-offer="energy"] .pathway-sun{ width:260%; }
.pathway[data-offer="ceremony"] .pathway-sun::after, .pathway[data-offer="energy"] .pathway-sun::after{
  -webkit-mask-image:radial-gradient(circle, #000 1.5%, rgba(0,0,0,.9) 12%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.18) 40%, transparent 50%);
          mask-image:radial-gradient(circle, #000 1.5%, rgba(0,0,0,.9) 12%, rgba(0,0,0,.5) 28%, rgba(0,0,0,.18) 40%, transparent 50%);
}
.pathway[data-offer="ceremony"] .pathway-reveal::after, .pathway[data-offer="energy"] .pathway-reveal::before{
  content:""; position:absolute; left:var(--sx); top:var(--sy); width:200%; aspect-ratio:1;
  transform:translate(-50%,-50%); pointer-events:none; mix-blend-mode:screen; opacity:0; transition:opacity 1.4s ease .8s;
  background:repeating-conic-gradient(from 3deg, rgba(255,236,170,.7) 0 .7deg, transparent .7deg 6.5deg);
  -webkit-mask-image:radial-gradient(circle, #000 1%, rgba(0,0,0,.6) 14%, rgba(0,0,0,.2) 30%, transparent 46%);
          mask-image:radial-gradient(circle, #000 1%, rgba(0,0,0,.6) 14%, rgba(0,0,0,.2) 30%, transparent 46%);
  filter:blur(.8px); animation:sunRaysBack 55s linear infinite, sunShimmer 1.9s ease-in-out infinite alternate;
}
.pathway[data-offer="ceremony"]:hover .pathway-reveal::after, .pathway[data-offer="ceremony"]:focus-visible .pathway-reveal::after, .pathway[data-offer="ceremony"].door-open .pathway-reveal::after,
.pathway[data-offer="energy"]:hover .pathway-reveal::before, .pathway[data-offer="energy"]:focus-visible .pathway-reveal::before, .pathway[data-offer="energy"].door-open .pathway-reveal::before{ opacity:1; }
@keyframes sunRaysBack{ from{ transform:translate(-50%,-50%) rotate(0); } to{ transform:translate(-50%,-50%) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce){
  .pathway[data-offer="ceremony"] .pathway-reveal::after, .pathway[data-offer="energy"] .pathway-reveal::before{ animation:none !important; }
}
/* the hand sits on a bright area: let its light add up so the rays still show */
.pathway[data-offer="energy"] .pathway-sun, .pathway[data-offer="energy"] .pathway-reveal::before{ mix-blend-mode:plus-lighter; }
.pathway[data-offer="energy"] .pathway-reveal::before{ background:repeating-conic-gradient(from 3deg, rgba(255,214,130,.85) 0 .8deg, transparent .8deg 6.5deg); }
.pathway[data-offer="energy"] .pathway-sun::after{ filter:blur(1.2px) brightness(1.25); }

/* Energy Healing planning steps and the member's session list */
.plan-step{ margin:0 0 1.6rem; }
.plan-step h4{ display:flex; align-items:center; gap:.7rem; margin:0 0 .8rem; font-weight:500; }
.plan-num{ display:inline-flex; align-items:center; justify-content:center; width:1.8rem; height:1.8rem; border-radius:50%; border:1px solid rgba(232,200,120,.6); color:#e8c878; font-size:.9rem; flex:none; }
.plan-hint{ margin:0 0 .8rem; }
.plan-date{ padding:.8rem 1rem; border:1px solid rgba(255,255,255,.3); border-radius:12px; background:rgba(255,255,255,.06); color:inherit; font:inherit; color-scheme:dark; min-width:12rem; }
.plan-picked{ margin-top:1rem; padding:1rem 1.2rem; border:1px solid rgba(232,200,120,.45); border-radius:12px; background:rgba(232,200,120,.08); }
.plan-picked[hidden]{ display:none; }
.plan-picked p{ margin:0 0 .8rem; }
.member-sessions{ list-style:none; margin:.5rem 0 0; padding:0; }
.member-sessions li{ font-size:.92rem; opacity:.9; padding:.15rem 0; }
.member-sessions li::before{ content:"✦ "; color:#e8c878; }

/* the open-days calendar shown before paying */
.plan-cal{ max-width:380px; margin:0 auto 1rem; padding:1rem; border:1px solid rgba(255,255,255,.2); border-radius:14px; background:rgba(255,255,255,.04); }
.plan-cal[hidden]{ display:none; }
.plan-cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.7rem; }
.plan-cal-head button{ width:2.2rem; height:2.2rem; border-radius:50%; border:1px solid rgba(255,255,255,.3); background:transparent; color:inherit; font-size:1.2rem; cursor:pointer; }
.plan-cal-head button:disabled{ opacity:.3; cursor:default; }
.plan-cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center; }
.plan-cal-dow{ font-size:.75rem; opacity:.6; padding:.2rem 0; }
.plan-cal-day{ aspect-ratio:1; border:1px solid transparent; border-radius:50%; background:transparent; color:inherit; font:inherit; opacity:.35; cursor:default; }
.plan-cal-day.is-open{ opacity:1; border-color:rgba(232,200,120,.55); background:rgba(232,200,120,.1); cursor:pointer; }
.plan-cal-day.is-open:hover{ background:rgba(232,200,120,.25); }
.plan-cal-day.is-picked{ background:#e8c878; color:#0b1330; border-color:#e8c878; font-weight:600; }
.plan-cal-times{ margin:.8rem 0 0; text-align:center; }
.plan-note{ font-size:.95rem; color:var(--gold-light); margin:0 0 .8rem; }
.plan-live-btn{ display:block; margin:0 auto 1rem; } .plan-live-btn[hidden]{ display:none; }

/* ===== Community gallery: full-size photo viewer ===== */
.gallery-grid .photo{ cursor:zoom-in; }
.gl-lightbox{ position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; background:rgba(4,8,28,.94); padding:24px; }
.gl-lightbox[hidden]{ display:none; }
.gl-lb-img{ max-width:min(92vw,1200px); max-height:90vh; width:auto; height:auto; object-fit:contain; border:1px solid rgba(201,162,74,.45); box-shadow:0 10px 50px rgba(0,0,0,.5); }
.gl-lb-close,.gl-lb-nav{ position:absolute; appearance:none; background:none; border:0; color:var(--gold-light,#e8cf8a); cursor:pointer; line-height:1; opacity:.8; }
.gl-lb-close:hover,.gl-lb-nav:hover,.gl-lb-close:focus-visible,.gl-lb-nav:focus-visible{ opacity:1; outline:none; }
.gl-lb-close{ top:14px; right:20px; font-size:2.4rem; padding:6px 10px; }
.gl-lb-nav{ top:50%; transform:translateY(-50%); font-size:3rem; padding:12px 16px; }
.gl-lb-prev{ left:8px; } .gl-lb-next{ right:8px; }
@media (max-width:640px){ .gl-lightbox{ padding:12px; } .gl-lb-nav{ font-size:2.4rem; padding:8px; } .gl-lb-img{ max-width:96vw; } }

/* ===== Sacred pathways: doorways about 28% larger (same artwork, so the arch openings grow with them) ===== */
.pathway-photo{ max-width:512px; }
@media (min-width:821px){
  .pathways{ width:min(1180px, calc(100vw - 48px)); margin-left:calc(50% - min(590px, 50vw - 24px)); gap:64px 64px; }
}
@media (max-width:820px){
  .pathway-photo{ max-width:310px; }
  .pathways{ gap:52px; }
}

/* ===== Sacred pathways refinement: keep the doorway opening large, dissolve the outer stonework into the sky ===== */
.pathway-photo{ max-width:512px; }
.pathway-photo > img, .pathway-leaf > img{
  -webkit-mask-image:
    radial-gradient(ellipse 60% 64% at 50% 68%, #000 0%, #000 34%, rgba(0,0,0,.9) 46%, rgba(0,0,0,.7) 58%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.2) 82%, transparent 96%),
    linear-gradient(to right, transparent 12%, rgba(0,0,0,.5) 21%, #000 32%, #000 68%, rgba(0,0,0,.5) 79%, transparent 88%),
    linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,.5) 94%, transparent 100%);
          mask-image:
    radial-gradient(ellipse 60% 64% at 50% 68%, #000 0%, #000 34%, rgba(0,0,0,.9) 46%, rgba(0,0,0,.7) 58%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.2) 82%, transparent 96%),
    linear-gradient(to right, transparent 12%, rgba(0,0,0,.5) 21%, #000 32%, #000 68%, rgba(0,0,0,.5) 79%, transparent 88%),
    linear-gradient(to bottom, #000 0%, #000 86%, rgba(0,0,0,.5) 94%, transparent 100%);
  -webkit-mask-composite:source-in, source-in;
          mask-composite:intersect, intersect;
}
/* softer ambient glow */
.pathway-photo{ max-width:450px; }
.pathway-photo::before{
  inset:-18%;
  background:
    radial-gradient(ellipse 58% 48% at 50% 46%, rgba(214,175,92,0.085), transparent 72%),
    radial-gradient(ellipse 56% 18% at 50% 95%, rgba(3,6,18,0.4), transparent 76%);
}
.pathway:hover .portal-smoke, .pathway:focus-visible .portal-smoke, .pathway.door-open .portal-smoke{ opacity:.4; }
/* compact rows: pull the doorway art's empty top/bottom margins in */
.pathway-photo{ margin-top:-34px; margin-bottom:-40px; }
@media (min-width:821px){
  .pathways{ width:min(1100px, calc(100vw - 48px)); margin-left:calc(50% - min(550px, 50vw - 24px)); gap:20px 40px; }
}
@media (max-width:820px){
  .pathway-photo{ max-width:290px; margin-top:-22px; margin-bottom:-26px; }
  .pathways{ gap:20px; }
}

/* ================= Hero: blue-and-gold sanctuary artwork ================= */
/* a light navy veil, strongest behind the text and fading out toward the architecture */
.hero.starfield{
  background-image:radial-gradient(ellipse 46% 60% at 50% 52%, rgba(4,10,38,.74) 0%, rgba(4,10,38,.5) 58%, rgba(4,10,38,0) 100%), var(--cosmos);
  background-repeat:no-repeat, no-repeat;
  background-size:100% 100%, cover;
  background-position:center, 50% 30%;
}
@media (max-width:700px){
  .hero.starfield{
    background-image:radial-gradient(ellipse 100% 64% at 50% 50%, rgba(4,10,38,.66) 0%, rgba(4,10,38,.46) 60%, rgba(4,10,38,.16) 100%), var(--cosmos);
    background-position:center, 50% 28%;
  }
}

/* ================= Hero → About Us: luminous sky ================= */
:root{ --navy-text:#1d2a4d; }
.hero{ border-bottom:0; }
/* the hero's lower edge dissolves into the pale sky below */
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:clamp(110px,15vw,210px); z-index:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(201,220,243,0) 0%, rgba(201,220,243,.05) 14%, rgba(201,220,243,.16) 30%, rgba(201,220,243,.36) 48%, rgba(201,220,243,.62) 66%, rgba(201,220,243,.86) 84%, #c9dcf3 100%);
}
/* the sky rises out of the same tone, so there is no visible edge between hero and About Us */
#philosophy{ position:relative; }
#philosophy::before{ content:""; position:absolute; left:0; right:0; top:0; height:clamp(90px,13vw,180px); z-index:0; pointer-events:none;
  background:linear-gradient(180deg, #c9dcf3 0%, rgba(201,220,243,.82) 22%, rgba(201,220,243,.52) 48%, rgba(201,220,243,.22) 74%, rgba(201,220,243,0) 100%); }
/* hero copy sits a little lower, in the darker middle of the sanctuary */
.hero.starfield{ padding-top:calc(150px + clamp(34px,4.6vw,66px)); padding-bottom:140px; }
@media (max-width:700px){ .hero.starfield{ padding-top:calc(150px + 26px); } }
/* the supplied cloudscape (with its side ornaments), softened and mirrored so it runs the full height of both sections without a seam */
#philosophy, #founders{
  background-size:100% auto; background-repeat:repeat-y;
}
#philosophy{ background-position:center bottom; padding-bottom:22px; }
#founders .founder-bio h4, #founders .founder-bio .role, #founders [class*="founder"] .label{ color:#a67a22; }
#philosophy p.body-lg{ color:var(--navy-text); }
#philosophy .about-content, #founders .wrap{ position:relative; z-index:1; }
#founders .about-divider{ margin-top:0; margin-bottom:6px; }
.founders-scene-unified{ margin-top:14px; }
/* the portrait carries its own soft transparent edges, so it needs no mask or blend */
.founders-unified-photo{ -webkit-mask-image:none; mask-image:none; mix-blend-mode:normal; }
@media (max-width:700px){
}

/* hero title: clearer against the architecture */
.hero.starfield h1{ text-shadow:none; background:linear-gradient(180deg,#fff2c4 0%,#f3d77e 55%,#dcb455 100%); -webkit-background-clip:text; background-clip:text; filter:drop-shadow(0 1px 2px rgba(4,10,38,.9)) drop-shadow(0 3px 14px rgba(4,10,38,.75)) drop-shadow(0 0 22px rgba(240,195,105,.2)); }
.hero.starfield p.lede{ text-shadow:0 1px 10px rgba(4,10,38,.85); }
.hero.starfield{ background-image:radial-gradient(ellipse 50% 58% at 50% 54%, rgba(4,10,38,.8) 0%, rgba(4,10,38,.56) 58%, rgba(4,10,38,0) 100%), var(--cosmos); }
@media (max-width:700px){ .hero.starfield{ background-image:radial-gradient(ellipse 100% 64% at 50% 50%, rgba(4,10,38,.7) 0%, rgba(4,10,38,.5) 60%, rgba(4,10,38,.18) 100%), var(--cosmos); } }

/* portrait: wider, so Mount Shasta stays clearly visible behind them */
.founders-composition{ max-width:1020px; }
.founders-scene-unified{ max-width:960px; margin-top:6px; }
@media (max-width:820px){ .founders-composition{ max-width:560px; } .founders-scene-unified{ max-width:calc(100% + 28px); margin-left:-14px; margin-right:-14px; } }
.founders-bios-row, .founders-names-heading, .founders-divider-small{ max-width:820px; margin-left:auto; margin-right:auto; }

/* clearer blue sky behind the portrait, and a cooler (less cream) About Us overall */
@media (max-width:700px){
}

/* ===== About Us: one continuous blue sky, taken from the Mount Shasta portrait ===== */
#philosophy, #founders{
  background-color:#9dbbe3;
  background-image:url("assets/about-clouds.webp");
  background-size:100% auto; background-repeat:repeat-y; background-position:center top;
}
#philosophy{
  background-image:url("assets/about-clouds.webp"), linear-gradient(180deg, #c9dcf3 0%, #a9c4e8 14%, #94b4e0 45%, #8eb0de 100%);
  background-size:100% auto, 100% 100%; background-repeat:repeat-y, no-repeat; background-position:center bottom, center;
}
#founders{
  background-image:url("assets/about-clouds.webp"), linear-gradient(180deg, #8eb0de 0%, #93b3df 35%, #a3c0e6 75%, #b9d0ee 100%);
  background-size:100% auto, 100% 100%; background-repeat:repeat-y, no-repeat; background-position:center top, center;
}
#philosophy p.body-lg{ color:#14224a; }
@media (max-width:700px){
  #philosophy, #founders{ background-size:160% auto, 100% 100%; }
  #philosophy{ background-image:url("assets/about-clouds.webp"), linear-gradient(180deg, #c9dcf3 0%, #a9c4e8 10%, #9ab9e3 50%, #94b4e0 100%); }
  #founders{ background-image:url("assets/about-clouds.webp"), linear-gradient(180deg, #94b4e0 0%, #96b6e1 35%, #a6c2e7 75%, #b9d0ee 100%); }
}
/* bios read cleanly on the blue */
.founders-bio-block p{ color:#17244a; }
.founders-bio-block h4, .founders-bio-block .founders-bio-label, .founders-bio-block [class*="label"], .founders-bio-block h3{ color:#8a5f12; }
.founders-bio-block .founder-name{ color:#8a5f12; }
.founders-bio-block .founder-desc{ color:#17244a; }
#founders{ padding-top:0; }

/* ===== About Us: one continuous photograph (blue sky → Sepehr & Anna with Mount Shasta → clouds) ===== */
.about-sky{ position:relative; isolation:isolate; overflow:hidden; overflow:clip; background:#a6c4ee; --S:1; --cx:.5; --yA:60; }
#philosophy, #founders{ background:none; background-image:none; }
.founders-scene-unified{
  position:relative; width:100vw; max-width:none; margin:58px 0 0 calc(50% - 50vw);
  aspect-ratio:auto; height:calc(var(--S) * 100vw * (941 - var(--yA)) / 1672);
}
.founders-scene-unified::before{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  width:calc(var(--S) * 100vw); height:calc(var(--S) * 100vw * 5041 / 1672);
  left:calc(50vw - var(--cx) * var(--S) * 100vw);
  top:calc(-1 * var(--S) * 100vw * (2400 + var(--yA)) / 1672);
  background:url("assets/about-photo-sky.webp") center / 100% 100% no-repeat;
}
.founders-photo-label{ position:absolute; inset:0; }
.founders-composition{ max-width:1020px; }
/* the intro copy sits on the upper sky: a faint blue veil keeps it crisp, no hard edges */
#philosophy .about-content{ position:relative; }
#philosophy .about-content::before{
  content:""; position:absolute; z-index:-1; left:-8%; right:-8%; top:-6%; bottom:-6%; pointer-events:none;
  background:radial-gradient(ellipse 50% 50% at 50% 50%, rgba(214,230,252,.50) 0%, rgba(214,230,252,.30) 55%, rgba(214,230,252,0) 100%);
}
#philosophy p.body-lg{ color:#10204a; }
@media (max-width:820px){
  .about-sky{ --S:2; --cx:.472; --yA:150; }
  .founders-composition{ max-width:none; }
}
.about-sky #philosophy, .about-sky #founders{ overflow:visible; }
.about-sky .founders-composition, .about-sky #founders .wrap{ z-index:auto; }

/* ===== Hero → About Us: the floor dissolves into the real sky beneath it ===== */
/* The sky (About Us) starts 130px higher, underneath the hero; the hero's last 130px fade out by mask,
   so the floor melts into the actual sky colour at any screen size, with no matching colours or edge line. */
:root{ --melt:130px; }
.hero::after{ content:none; display:none; }
#philosophy::before{ content:none; display:none; }
.hero{
  position:relative; z-index:1;
  -webkit-mask-image:linear-gradient(180deg,#000 0,#000 calc(100% - var(--melt)),rgba(0,0,0,.86) calc(100% - var(--melt) * .78),rgba(0,0,0,.6) calc(100% - var(--melt) * .55),rgba(0,0,0,.32) calc(100% - var(--melt) * .32),rgba(0,0,0,.12) calc(100% - var(--melt) * .14),rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(180deg,#000 0,#000 calc(100% - var(--melt)),rgba(0,0,0,.86) calc(100% - var(--melt) * .78),rgba(0,0,0,.6) calc(100% - var(--melt) * .55),rgba(0,0,0,.32) calc(100% - var(--melt) * .32),rgba(0,0,0,.12) calc(100% - var(--melt) * .14),rgba(0,0,0,0) 100%);
}
.about-sky{ margin-top:calc(-1 * var(--melt)); }
#philosophy{ padding-top:calc(var(--melt) + clamp(30px,3.4vw,48px)); }
.founders-scene-unified{ margin-top:-24px; }
.about-sky{ --yA:150; }
@media (max-width:820px){ .about-sky{ --yA:190; } }
@media (max-width:600px){ :root{ --melt:90px; } }

/* ===== About Us refinements: slightly higher, larger and richer text ===== */
:root{ --melt:130px; }
#philosophy{ padding-top:calc(var(--melt) + clamp(0px,0.6vw,10px)); }
#philosophy p.body-lg{ font-size:1.32rem; line-height:1.82; color:#0b1738; text-shadow:none; }
.about-sky .founders-scene-unified{ margin-top:-24px; }
@media (max-width:820px){ #philosophy p.body-lg{ font-size:1.26rem; line-height:1.78; } }
@media (max-width:600px){ #philosophy{ padding-top:calc(var(--melt) - 6px); } #philosophy p.body-lg{ font-size:1.2rem; } }

/* ===== About Us: final refinements ===== */
#philosophy{ padding-top:calc(var(--melt) - 30px); }
#philosophy p.body-lg{ font-size:1.4rem; }
@media (max-width:820px){ #philosophy p.body-lg{ font-size:1.34rem; } }
@media (max-width:600px){ #philosophy{ padding-top:calc(var(--melt) - 34px); } #philosophy p.body-lg{ font-size:1.27rem; } }
#philosophy .about-kicker-main{ font-size:1.02rem; letter-spacing:0.26em; font-weight:700; color:#9c6f12; justify-content:center; text-shadow:none; }
#philosophy .about-kicker-main::before{ color:#9c6f12; }
html[lang="fa"] #philosophy .about-kicker-main{ letter-spacing:0; font-size:1.2rem; }
/* the portrait keeps its place on the page: the text block gained height, so the gap above the scene absorbs it */
.about-sky .founders-scene-unified{ margin-top:-74px; }
@media (max-width:600px){ .about-sky .founders-scene-unified{ margin-top:-60px; } }

/* ===== About Us: READ MORE / READ LESS ===== */
.about-more{ display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .7s cubic-bezier(.4,0,.2,1), opacity .6s ease; }
.about-more.is-open{ grid-template-rows:1fr; opacity:1; }
.about-more-inner{ overflow:hidden; min-height:0; }
.about-more:not(.is-open) .about-more-inner{ visibility:hidden; transition:visibility 0s .7s; }
.about-more-btn{
  display:block; margin:14px auto 0; padding:8px 14px; background:none; border:0; cursor:pointer;
  font-family:var(--font-display, Georgia, serif); font-size:.95rem; font-weight:700; letter-spacing:.26em; text-transform:uppercase;
  color:#9c6f12; transition:color .25s ease, letter-spacing .25s ease;
}
.about-more-btn:hover, .about-more-btn:focus-visible{ color:#6f4c08; letter-spacing:.3em; outline:none; }
.about-more-btn:focus-visible{ text-decoration:underline; text-underline-offset:6px; }
html[lang="fa"] .about-more-btn{ letter-spacing:0; font-size:1.1rem; }
/* collapsed: the portrait comes up close beneath the button; expanded: it keeps its earlier place */
.about-sky .founders-scene-unified{ margin-top:6px; transition:margin-top .7s cubic-bezier(.4,0,.2,1); }
.about-sky.about-open .founders-scene-unified{ margin-top:-30px; }
.about-more-btn{ margin-bottom:0; }
@media (prefers-reduced-motion:reduce){ .about-more, .about-sky .founders-scene-unified{ transition:none; } }
/* paragraphs inside the collapsible block keep the same rhythm; only the very first paragraph takes the drop-cap */
.about-more-inner{ display:flex; flex-direction:column; gap:14px; }
.about-more-inner p.body-lg{ margin:0; }
#philosophy .about-more p.body-lg::first-letter{ font-family:inherit; float:none; font-size:inherit; line-height:inherit; padding:0; color:inherit; font-weight:inherit; }

/* About Us heading and Read More: same gold as the "Aya Sophia Ministry" title */
#philosophy .about-kicker-main, .about-more-btn{
  color:#e6c66c;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  #philosophy .about-kicker-main, .about-more-btn{
    background:linear-gradient(180deg,#f8e7ad 0%,#e6c66c 52%,#c9a24a 100%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
  }
}
#philosophy .about-kicker-main::before{ color:#e6c66c; }
.about-more-btn{ width:fit-content; }

/* Collapsed About Us: portrait sits closer under the intro text (less empty sky) */
.about-sky .founders-scene-unified{ margin-top:-50px; }
.about-sky.about-open .founders-scene-unified{ margin-top:-30px; }
@media (max-width:600px){ .about-sky .founders-scene-unified{ margin-top:-40px; } .about-sky.about-open .founders-scene-unified{ margin-top:-30px; } }

/* Sophia invocation: golden like the "Aya Sophia Ministry" title, in a more refined italic serif */
.sophia-quote{
  font-family:'Cormorant Garamond','EB Garamond',Georgia,serif; font-style:italic; font-weight:600;
  font-size:clamp(1.55rem, 2.5vw, 2.25rem); line-height:1.7; letter-spacing:.012em;
  color:var(--gold-light);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .sophia-quote{
    background:linear-gradient(180deg,#f8e7ad 0%,#e6c66c 52%,#c9a24a 100%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
    filter:drop-shadow(0 0 5px rgba(255,222,150,.22)) drop-shadow(0 0 18px rgba(240,195,105,.24));
  }
}
html[lang="fa"] .sophia-quote{ font-family:'Noto Naskh Arabic','Amiri',serif; font-style:normal; font-weight:400; }
html[lang="ru"] .sophia-quote{ font-size:clamp(1.4rem,2.1vw,1.8rem); line-height:1.6; }
@media (max-width:600px){ .sophia-quote{ font-size:1.4rem; line-height:1.65; } }
.sophia-quote{ white-space:normal; text-wrap:balance; max-width:920px; }

/* Community photos: no golden frame; the photograph fills its box */
.photo{ --frame:0px; padding:0; border-radius:3px; }
.photo::after, .photo::before{ content:none; display:none; }

/* Community photos: a custom, slim golden frame (gilt rule, dark mat, fine inner line, corner brackets) */
.photo{
  --frame:0px; --g1:#f8e7ad; --g2:#c9a24a; --g3:#8f6a22;
  padding:10px; border-radius:0; overflow:hidden;
  border:1px solid transparent;
  border-image:linear-gradient(135deg,var(--g1) 0%,var(--g2) 30%,var(--g3) 52%,var(--g1) 75%,var(--g2) 100%) 1;
  background:linear-gradient(180deg,rgba(10,18,52,.9),rgba(5,9,30,.95));
  box-shadow:0 18px 38px rgba(0,0,0,.5), 0 0 28px rgba(201,162,74,.09);
}
/* fine inner line just around the picture */
.photo::after{
  content:""; display:block; position:absolute; inset:10px; z-index:2; pointer-events:none;
  border:1px solid rgba(232,207,138,.6); box-shadow:inset 0 0 0 1px rgba(4,8,28,.35);
  -webkit-mask-image:none; mask-image:none; border-image:none; opacity:1;
}
/* gilt corner brackets on the outer mat */
.photo::before{
  content:""; display:block; position:absolute; inset:3px; z-index:3; pointer-events:none; box-shadow:none;
  --c:rgba(248,231,173,.95); --l:14px;
  background:
    linear-gradient(var(--c),var(--c)) top left/var(--l) 2px no-repeat, linear-gradient(var(--c),var(--c)) top left/2px var(--l) no-repeat,
    linear-gradient(var(--c),var(--c)) top right/var(--l) 2px no-repeat, linear-gradient(var(--c),var(--c)) top right/2px var(--l) no-repeat,
    linear-gradient(var(--c),var(--c)) bottom left/var(--l) 2px no-repeat, linear-gradient(var(--c),var(--c)) bottom left/2px var(--l) no-repeat,
    linear-gradient(var(--c),var(--c)) bottom right/var(--l) 2px no-repeat, linear-gradient(var(--c),var(--c)) bottom right/2px var(--l) no-repeat;
}
.photo:hover{ box-shadow:0 22px 44px rgba(0,0,0,.55), 0 0 36px rgba(232,200,120,.22); }
@media (max-width:640px){ .photo{ padding:8px; } .photo::after{ inset:8px; } }

/* Sophia invocation: the same book face as the hero line "A sanctuary for remembrance, healing", still gold */
.sophia-quote{
  font-family:var(--font-body); font-style:normal; font-weight:500;
  font-size:clamp(1.45rem, 2.3vw, 2rem); line-height:1.65; letter-spacing:0;
}
html[lang="fa"] .sophia-quote{ font-family:var(--font-body); font-weight:400; }
html[lang="ru"] .sophia-quote{ font-size:clamp(1.35rem,2vw,1.7rem); }
@media (max-width:600px){ .sophia-quote{ font-size:1.3rem; line-height:1.65; } }

/* Sophia invocation: same size as the About Us paragraphs */
.sophia-quote, html[lang="ru"] .sophia-quote{ font-size:1.4rem; line-height:1.75; }
@media (max-width:820px){ .sophia-quote, html[lang="ru"] .sophia-quote{ font-size:1.34rem; } }
@media (max-width:600px){ .sophia-quote, html[lang="ru"] .sophia-quote{ font-size:1.27rem; line-height:1.7; } }

/* ================= Membership gate: what it opens / how it works ================= */
.member-gate{ max-width:760px; }
.member-gate .mg-free{ margin:12px 0 0; font-size:0.9rem; letter-spacing:0.08em; color:var(--gold-light); font-style:italic; }
.mg-block{ margin-top:54px; text-align:left; }
.mg-h{ font-family:var(--font-display); font-weight:500; font-size:1.05rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--gold-light); text-align:center; margin:0 0 26px; }
.mg-h::after{ content:""; display:block; width:64px; height:1px; margin:14px auto 0; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.mg-opens,.mg-steps{ list-style:none; margin:0; padding:0; display:grid; gap:22px; }
.mg-opens{ grid-template-columns:repeat(3,1fr); }
.mg-opens li{ text-align:center; padding:26px 18px 24px; border:1px solid rgba(201,162,74,0.35); border-radius:999px 999px 10px 10px; background:linear-gradient(180deg,rgba(201,162,74,0.07),rgba(4,8,28,0)); }
.mg-star{ display:block; color:var(--gold-light); font-size:0.9rem; margin-bottom:14px; }
.mg-opens strong,.mg-steps strong{ display:block; font-family:var(--font-display); font-weight:500; letter-spacing:0.06em; color:var(--cream); margin-bottom:8px; }
.mg-opens span:not(.mg-star),.mg-steps div span{ display:block; font-size:0.97rem; line-height:1.65; color:rgba(247,244,236,0.8); }
.mg-steps{ gap:0; max-width:620px; margin:0 auto; }
.mg-steps li{ display:flex; gap:20px; align-items:flex-start; padding:20px 0; border-bottom:1px solid rgba(247,244,236,0.12); }
.mg-steps li:last-child{ border-bottom:none; }
.mg-num{ flex:none; width:42px; height:42px; border-radius:50%; border:1px solid var(--gold); color:var(--gold-light); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:0.82rem; letter-spacing:0.06em; }
.mg-note{ text-align:center; font-size:0.9rem; line-height:1.7; color:rgba(247,244,236,0.65); margin:22px auto 0; max-width:560px; }
.mg-note a{ color:var(--gold-light); }
@media (max-width:760px){
  .mg-opens{ grid-template-columns:1fr; }
  .mg-opens li{ border-radius:40px 40px 10px 10px; }
}

/* ================= Agreement: read, then sign on the page ================= */
.agreement-viewer{ max-height:min(62vh,540px); font-size:1rem; line-height:1.75; text-align:left; outline:none; }
.agreement-viewer:focus-visible{ border-color:var(--gold-light); }
.agreement-viewer h4{ font-family:var(--font-display); font-weight:500; letter-spacing:0.06em; color:var(--gold-light); margin:1.4em 0 .5em; }

.agreement-viewer p,.agreement-viewer li{ margin:0 0 1em; }
.agreement-meta{ font-size:0.85rem; letter-spacing:0.08em; color:rgba(247,244,236,0.55); margin:-6px 0 12px; }
.agreement-hint{ font-size:0.9rem; font-style:italic; color:rgba(247,244,236,0.6); margin:0 0 16px; }
.agreement-hint.is-done{ color:var(--gold-light); }
.sign-block{ margin-top:6px; padding-top:22px; border-top:1px solid rgba(247,244,236,0.14); }
.sign-block[hidden]{ display:none; }
.sign-preview{ min-height:3.1rem; margin:-4px 0 6px; padding:6px 4px 2px; border-bottom:1px solid rgba(201,162,74,0.5); font-family:var(--font-body); font-style:italic; font-size:2rem; line-height:1.3; color:var(--gold-light); overflow-wrap:anywhere; }
.sign-date{ margin:8px 0 22px; font-size:0.9rem; color:rgba(247,244,236,0.6); }
.sign-block input:disabled{ opacity:0.5; cursor:not-allowed; }
/* printing the agreement (Print / save as PDF): hide the site, show only the agreement on white */
#agreementPrint{ display:none; }
@media print{
  body.printing-agreement > *{ display:none !important; }
  body.printing-agreement > #agreementPrint{ display:block !important; background:#fff; color:#000; font-family:Georgia,serif; font-size:12pt; line-height:1.55; padding:0; }
  body.printing-agreement{ background:#fff !important; }
  #agreementPrint h1{ font-size:18pt; margin:0 0 6pt; }
  #agreementPrint h4{ font-size:13pt; margin:14pt 0 4pt; }
}

/* ================= Member login (top left) + dashboard ================= */
.nav-member{ display:inline-flex; align-items:center; gap:8px; background:none; border:1px solid var(--line); color:var(--cream); border-radius:6px; padding:7px 13px; font-family:inherit; font-size:0.78rem; letter-spacing:0.1em; cursor:pointer; white-space:nowrap; transition:border-color .18s,color .18s; }
.nav-member svg{ width:17px; height:17px; flex:none; }
.nav-member:hover,.nav-member:focus-visible{ border-color:var(--gold-light); color:var(--gold-light); }
@media (max-width:640px){
  .nav-member{ padding:8px 10px; }
  .nav-member span{ display:none; }
  .nav-member svg{ width:20px; height:20px; }
}
body.mdash-open{ overflow:hidden; }
.mdash{ position:fixed; inset:0; z-index:60; }
.mdash[hidden]{ display:none; }
.mdash-backdrop{ position:absolute; inset:0; background:rgba(2,4,14,0.66); backdrop-filter:blur(3px); }
.mdash-panel{ position:absolute; top:0; bottom:0; inset-inline-start:0; width:min(430px,100%); overflow-y:auto; padding:34px 28px 28px; background:linear-gradient(180deg,#071236,#04081c); border-inline-end:1px solid rgba(201,162,74,0.45); box-shadow:0 0 60px rgba(0,0,0,0.6); text-align:start; animation:mdashIn .28s ease; }
@keyframes mdashIn{ from{ transform:translateX(-24px); opacity:0; } to{ transform:none; opacity:1; } }
[dir="rtl"] .mdash-panel{ animation-name:mdashInR; }
@keyframes mdashInR{ from{ transform:translateX(24px); opacity:0; } to{ transform:none; opacity:1; } }
.mdash-x{ position:absolute; top:12px; inset-inline-end:14px; background:none; border:none; color:var(--cream); font-size:1.9rem; line-height:1; cursor:pointer; opacity:.8; }
.mdash-x:hover{ opacity:1; color:var(--gold-light); }
.mdash-panel .kicker{ color:var(--gold-light); margin:0 0 6px; }
.mdash-title{ font-family:var(--font-display); font-weight:500; font-size:1.7rem; color:var(--gold-light); margin:0 0 6px; }
.mdash-email{ margin:0 0 20px; font-size:0.92rem; color:rgba(247,244,236,0.65); overflow-wrap:anywhere; }
.mdash-sec{ margin:0 0 26px; padding:0; max-width:none; }
.mdash-sec h3{ font-family:var(--font-display); font-weight:500; font-size:0.86rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--cream); margin:0 0 10px; padding-bottom:9px; border-bottom:1px solid rgba(201,162,74,0.35); }
.mdash-sec ul{ list-style:none; margin:0; padding:0; }
.mdash-sec li{ display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:11px 0; border-bottom:1px solid rgba(247,244,236,0.08); }
.mdash-i-main strong{ display:block; font-weight:500; font-size:0.98rem; color:rgba(247,244,236,0.95); }
.mdash-i-main span{ display:block; font-size:0.86rem; color:rgba(247,244,236,0.6); margin-top:2px; }
.mdash-sec li em{ font-style:normal; font-size:0.8rem; letter-spacing:0.06em; color:var(--gold-light); white-space:nowrap; }
.mdash-empty{ margin:0; font-size:0.93rem; font-style:italic; color:rgba(247,244,236,0.55); }
.mdash-foot{ padding-top:6px; }
.mdash-foot .btn{ width:100%; border:none; cursor:pointer; }

/* footer notice */
.footer-disclaimer .footer-notice{ margin-top:16px; font-size:0.82rem; line-height:1.75; color:rgba(247,244,236,0.7); }

/* registration: type-the-code + agreement acknowledgement */
.captcha-row{ display:flex; align-items:center; gap:12px; margin-bottom:10px; flex-wrap:wrap; }
.captcha-img{ min-width:180px; min-height:56px; border:1px solid rgba(201,162,74,0.45); border-radius:6px; overflow:hidden; display:flex; align-items:center; justify-content:center; font-size:0.82rem; color:rgba(247,244,236,0.6); padding:0; }
.captcha-img svg{ display:block; max-width:100%; height:auto; }
.captcha-new{ background:none; border:none; color:var(--gold-light); text-decoration:underline; text-underline-offset:3px; cursor:pointer; font-size:0.9rem; padding:4px 2px; }
#mCaptcha{ text-transform:uppercase; letter-spacing:0.28em; max-width:240px; }
.member-agree-row{ margin:6px 0 14px; }
.member-agree-row a{ color:var(--gold-light); text-decoration:underline; text-underline-offset:3px; }
.agreement-peek{ max-height:260px; overflow-y:auto; margin:0 0 18px; padding:16px 18px; border:1px solid rgba(247,244,236,0.22); background:rgba(247,244,236,0.05); font-size:0.93rem; line-height:1.7; color:rgba(247,244,236,0.88); }
.agreement-peek[hidden]{ display:none; }
.agreement-peek .agreement-pending{ margin:0; font-style:italic; color:rgba(247,244,236,0.6); text-align:center; }
.agreement-viewer h3,.agreement-peek h3{ font-family:var(--font-display); font-weight:500; font-size:1.05rem; letter-spacing:0.05em; color:var(--cream); margin:0 0 1em; }
.agreement-viewer hr,.agreement-peek hr{ border:none; height:1px; margin:2em 0; background:linear-gradient(90deg,transparent,rgba(201,162,74,0.6),transparent); }
.agreement-peek h4{ font-family:var(--font-display); font-weight:500; letter-spacing:0.05em; color:var(--gold-light); margin:1.3em 0 .4em; }
.agreement-peek p{ margin:0 0 1em; }

/* header spacing: brand and links never touch or wrap */
.nav-row{ max-width:1240px; gap:24px; }
.nav-mark,.nav-mark span{ white-space:nowrap; }
nav.links{ gap:clamp(16px,2vw,28px); white-space:nowrap; flex-wrap:nowrap; }
nav.links a{ white-space:nowrap; }
.nav-actions{ flex:none; }

/* MEMBER HOME (signed in): welcome + dashboard button; home sign-in box with code field */
.member-welcome{ margin:6px 0 4px; text-align:center; }
.member-welcome .btn{ width:auto; }
.member-home-code{ flex-basis:100%; display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; margin-top:6px; }
.member-home-code label{ flex-basis:100%; font-size:0.8rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--cream); }
.member-home-code input{ flex:1 1 140px; min-width:0; }
.member-home-code .btn{ width:auto; margin:0; }
.mdash-offers{ gap:10px; }
.mdash-offers .member-offer-card{ flex-direction:column; align-items:stretch; padding:14px 16px; }
.mdash-offers .member-offer-card .btn{ width:100%; }
.mdash-panel .member-sessions li{ color:var(--cream); opacity:.9; border:0; }
.mdash-panel .member-offer-card .btn-ghost{ width:100%; margin:0; background:none; border:1px solid rgba(247,244,236,0.4); color:var(--cream); }
.mdash-panel .member-offer-card .btn-ghost:hover{ border-color:var(--gold-light); color:var(--gold-light); }
.mdash-panel .member-offer-card .btn-disabled{ opacity:.55; cursor:not-allowed; }
.mdash-panel .member-offer-card .member-offer-note{ color:var(--gold-light); }
.member-home-signin .member-home-code{ flex-direction:row; align-items:center; justify-content:flex-start; }
.member-home-signin .member-home-code input{ flex:1 1 160px; height:46px; padding:0 12px; width:auto; max-width:240px; letter-spacing:.2em; text-align:center; }
.member-home-signin .member-home-code .btn{ flex:none; }
.member-home-signin .member-home-code .member-signin-link{ flex-basis:auto; }

/* Founders: link to each person's own page, under the short bio */
.founder-link{ display:inline-block; margin-top:14px; font-family:var(--font-display); font-size:0.78rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:#7a5a14; text-decoration:none; border-bottom:1px solid rgba(201,162,74,0.5); padding-bottom:2px; }
.founder-link:hover{ color:var(--midnight); border-color:var(--midnight); }

/* Pay / book panels shown inside the member dashboard */
.mdash [hidden]{ display:none !important; }
.mdash-panel{ transition:width .2s ease; }
.mdash-panel.is-flow{ width:min(760px,100%); }
.mdash-flow{ text-align:start; }
.mdash-flow .member-form{ max-width:none; margin:0; text-align:start; }
.mdash-flow .member-panel-title, .mdash-flow h3{ text-align:start; }
.mdash-flow .btn{ max-width:100%; }
.mdash-flow iframe, .mdash-flow .calendly-inline-widget{ max-width:100%; }
#mdashNote{ margin:0 0 16px; }
.mdash-flow, .mdash-flow p, .mdash-flow li, .mdash-flow label, .mdash-flow .body-lg, .mdash-flow .member-policy p{ color:var(--cream); }
.mdash-flow .member-panel-title, .mdash-flow h3, .mdash-flow h4{ color:var(--gold-light); }
.mdash-flow .member-note{ color:var(--gold-light); }
.mdash-flow .member-policy h4{ color:var(--gold-light); }

/* Offering doors: titles in the same gold as the Sophia invocation (gradient text, soft dark halo for legibility on the photos) */
.pathway-door-title h3, .pathway:hover .pathway-door-title h3, .pathway:focus-visible .pathway-door-title h3, .pathway.door-open .pathway-door-title h3{
  color:#e6c66c; text-shadow:none;
}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .pathway-door-title h3, .pathway:hover .pathway-door-title h3, .pathway:focus-visible .pathway-door-title h3, .pathway.door-open .pathway-door-title h3{
    background:linear-gradient(180deg,#f8e7ad 0%,#e6c66c 52%,#c9a24a 100%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
    filter:drop-shadow(0 1px 3px rgba(0,0,0,.95)) drop-shadow(0 0 7px rgba(0,0,0,.8)) drop-shadow(0 0 14px rgba(0,0,0,.55));
  }
}
.pathway-door-title h3{ font-weight:700; }

/* Offerings: view switch (doors / compact list) */
.off-view{ display:flex; justify-content:center; gap:0; margin:26px auto 0; width:fit-content; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.off-view-btn{ display:inline-flex; align-items:center; justify-content:center; background:none; border:0; color:var(--cream); padding:9px 18px; cursor:pointer; transition:background .18s,color .18s; }
.off-view-btn.is-active{ background:linear-gradient(135deg,#f8e7ad,#c9a24a); color:#0b1230; }
.off-view-btn:not(.is-active):hover{ color:var(--gold-light); }
.off-list{ list-style:none; margin:34px auto 30px; padding:0; width:min(920px, calc(100vw - 40px)); display:grid; gap:12px; }
.off-list[hidden], #offerGrid[hidden]{ display:none !important; }
.off-row{ width:100%; display:grid; grid-template-columns:minmax(150px,240px) 1fr auto; align-items:center; gap:8px 22px; text-align:start; background:rgba(12,22,56,.55); border:1px solid rgba(201,162,74,.35); border-radius:10px; padding:16px 20px; cursor:pointer; color:var(--cream); font-family:inherit; transition:border-color .18s, background .18s; }
.off-row:hover, .off-row:focus-visible{ border-color:var(--gold-light); background:rgba(20,34,82,.7); }
.off-row-title{ font-family:var(--font-display); font-size:1rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; background:linear-gradient(180deg,#f8e7ad 0%,#e6c66c 52%,#c9a24a 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.off-row-desc{ font-size:.95rem; line-height:1.5; color:#d9d3c4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.off-row-go{ color:var(--gold-light); font-size:1.3rem; }
@media (max-width:700px){ .off-row{ grid-template-columns:1fr auto; } .off-row-desc{ grid-column:1 / -1; grid-row:2; } .off-row-go{ grid-row:1; grid-column:2; } }
.off-view-btn svg{ width:20px; height:20px; display:block; }

/* Compact list: a small arch picture leads each row so the list stays visual */
.off-row.has-pic{ grid-template-columns:64px minmax(150px,240px) 1fr auto; }
.off-row-pic{ display:block; width:64px; height:84px; border-radius:999px 999px 6px 6px; overflow:hidden; border:1px solid rgba(201,162,74,.6); box-shadow:0 0 14px rgba(201,162,74,.14); background:#0b1230; }
.off-row-pic img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:700px){ .off-row.has-pic{ grid-template-columns:56px 1fr auto; } .off-row.has-pic .off-row-pic{ grid-row:1 / span 2; width:56px; height:74px; } .off-row.has-pic .off-row-title{ grid-column:2; grid-row:1; } .off-row.has-pic .off-row-go{ grid-column:3; grid-row:1; } .off-row.has-pic .off-row-desc{ grid-column:2 / -1; grid-row:2; } }

/* Space between the view switch and the cards/doors below it (the arches and stars above them must not touch it) */
.off-view + .eh-cards, .off-view + .eh-doors, .off-view + .teach-cards{ margin-top:56px; }
.off-view{ margin-bottom:6px; }

/* Community photos: a carved, three-dimensional frame. Mitred gilt moulding (light from the top-left), a recessed
   mat with a shadow falling onto the picture, and a lift with a slight tilt on hover. The photographs themselves are untouched. */
.gallery-grid{ perspective:1400px; padding-top:30px; padding-bottom:56px; margin-top:14px; }
.photo{
  --bev:14px; padding:0; border-radius:2px; overflow:visible;
  border:var(--bev) solid; border-image:none;
  border-color:#f6e2a2 #b88a32 #5f4313 #d2ac52;          /* top, right, bottom, left: the four mitred sides of the moulding */
  background:#05091e;
  box-shadow:
    0 2px 0 rgba(255,244,200,.35) inset,                  /* bright lip on the outer edge */
    0 26px 38px -12px rgba(0,0,0,.75), 0 10px 16px rgba(0,0,0,.45),   /* the frame standing off the wall */
    0 0 34px rgba(201,162,74,.16);
  transform-style:preserve-3d; transform:translateZ(0);
  transition:transform .55s cubic-bezier(.22,.61,.36,1), box-shadow .55s ease, filter .55s ease;
}
/* recessed inner edge of the moulding + shadow cast onto the picture (the picture sits below the frame) */
.photo::before{
  content:""; display:block; position:absolute; inset:0; z-index:2; pointer-events:none; background:none; --c:initial;
  border:3px solid; border-color:#3f2c0c #9c7529 #f0d890 #6d4f17;
  box-shadow:inset 0 10px 18px -4px rgba(0,0,0,.75), inset 10px 0 16px -6px rgba(0,0,0,.55), inset 0 0 26px rgba(0,0,0,.35);
}
.photo::after{ content:none; display:none; }
.photo img{ position:relative; z-index:1; }
.photo:hover{
  transform:translateY(-8px) rotateX(2.5deg) scale(1.012); filter:brightness(1.05);
  box-shadow:
    0 2px 0 rgba(255,244,200,.45) inset,
    0 38px 50px -14px rgba(0,0,0,.8), 0 14px 20px rgba(0,0,0,.45),
    0 0 44px rgba(232,200,120,.28);
}
@media (prefers-reduced-motion:reduce){ .photo:hover{ transform:none; } }
@media (max-width:640px){ .photo{ --bev:10px; padding:0; } .photo::after{ inset:auto; } }

.member-offer-more{ display:block; margin:14px auto 0; width:auto; text-align:center; font-size:.9rem; }

/* First-visit welcome invitation: hosts the real registration flow */
.welcome-pop{ position:fixed; inset:0; z-index:300; background:rgba(4,8,28,.78); display:flex; align-items:flex-start; justify-content:center; padding:24px 16px; overflow-y:auto; animation:welcomeIn .4s ease; }
@keyframes welcomeIn{ from{opacity:0} to{opacity:1} }
body.welcome-open{ overflow:hidden; }
.welcome-card{ position:relative; width:100%; max-width:640px; margin:auto; background:#0b1236; color:#f3e9d2; border:1px solid rgba(214,185,120,.7); box-shadow:0 24px 70px rgba(0,0,0,.6); text-align:center; }
.welcome-head{ background:#14215a; padding:34px 28px 26px; border-bottom:3px solid #d6b978; }
.welcome-head h2{ margin:0; color:#f3e9d2; font-size:1.75rem; line-height:1.25; font-weight:600; }
.welcome-body{ padding:26px 30px 24px; }
.welcome-body > p{ margin:0 0 12px; line-height:1.6; color:#d8d3c4; }
.welcome-body .welcome-lead{ font-size:1.25rem; font-style:italic; color:#f3e9d2; }
.welcome-flow .member-form{ margin:22px auto 0; }
.welcome-flow #memberTitle, .welcome-flow #memberIntroBlock{ display:none; }
.welcome-flow .member-flow-wrap, .welcome-flow{ text-align:left; }
.welcome-link{ display:block; margin:18px auto 0; background:none; border:0; color:#f3e9d2; text-decoration:underline; cursor:pointer; font:inherit; font-size:.95rem; }
.welcome-later{ color:#a9a79c; font-size:.85rem; }
.welcome-x{ position:absolute; top:6px; right:12px; background:none; border:0; color:#f3e9d2; font-size:2rem; line-height:1; cursor:pointer; z-index:2; }
[dir="rtl"] .welcome-x{ right:auto; left:12px; }
@media(max-width:640px){ .welcome-pop{ padding:0; } .welcome-body{ padding:22px 16px; } .welcome-head h2{ font-size:1.4rem; } }

.plan-time-row{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:8px 0 4px; }
.plan-time{ padding:9px 14px; background:none; border:1px solid rgba(214,185,120,.6); color:#f3e9d2; border-radius:3px; cursor:pointer; font:inherit; }
.plan-time:hover{ border-color:#e8cf95; }
.plan-time.is-picked{ background:linear-gradient(135deg,#e8cf95,#c9a24a); color:#10183a; font-weight:700; }

/* Gold foil texture on every gold button */
.btn-primary{ background:#d9a63a url("/assets/rts-gold-foil.webp") center / cover no-repeat; }
.off-view-btn.is-active{ background:linear-gradient(135deg, var(--gold-light), var(--gold)); color:var(--midnight); }

/* Community gallery: clean arched frames, a fine double line in muted champagne-gold (no ornaments), the photographs untouched */
.gallery-grid{ --cg:222,200,142; padding-left:10px; padding-right:10px; margin-left:-10px; margin-right:-10px; scroll-padding-inline:10px; }
.gallery-grid .photo{
  --bev:0px; border:1px solid rgba(var(--cg),.88); border-image:none; border-radius:999px 999px 6px 6px; overflow:visible; background:#05091e;
  box-shadow:0 22px 44px -14px rgba(0,0,0,.6),0 0 14px rgba(var(--cg),.12);
  transform-style:flat; transform:none; }
.gallery-grid .photo::before{ content:""; display:block; position:absolute; inset:-8px; z-index:2; pointer-events:none; background:none; box-shadow:none;
  border:1px solid rgba(var(--cg),.68); border-radius:999px 999px 12px 12px; }
.gallery-grid .photo::after{ content:none; display:none; }
.gallery-grid .photo img{ border-radius:inherit; }
.gallery-grid .photo:hover{ transform:translateY(-6px); filter:brightness(1.05);
  box-shadow:0 30px 52px -14px rgba(0,0,0,.65),0 0 20px rgba(var(--cg),.2); }
@media (prefers-reduced-motion:reduce){ .gallery-grid .photo:hover{ transform:none; } }
@media (max-width:640px){ .gallery-grid .photo::before{ inset:-7px; } }

/* Sepehr & Anna: names and READ MORE links centred in each column (biographies stay left-aligned) */
.founders-bio-block{ display:flex; flex-direction:column; }
.founders-bio-block .founder-name{ text-align:center; }
.founders-bio-block .founder-desc{ margin-bottom:14px; }
.founders-bio-block .founder-link{ margin-top:auto; align-self:center; }
.founders-bios-row{ align-items:stretch; }
@media (max-width:820px){ .founders-bio-block .founder-link{ margin-top:0; } }
.founders-divider-small{ margin-bottom:40px; }
.founders-bio-block .founder-link{ color:#9a7420; border-bottom-color:rgba(168,128,40,.75); }
.founders-bio-block .founder-link:hover{ color:#7a5a14; border-bottom-color:#7a5a14; }

/* What membership opens: living-light hover (same family as the Return to Self arched cards) */
.mg-opens li{ position:relative; isolation:isolate; cursor:default; outline:none;
  transition:transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease, border-color .45s ease; }
.mg-opens li::before{ content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .6s ease;
  background:radial-gradient(ellipse 85% 70% at 50% 18%, rgba(232,207,149,.22), rgba(201,162,74,.08) 55%, rgba(201,162,74,0) 100%); }
.mg-star{ transition:color .45s ease, text-shadow .45s ease, transform .45s ease; }
.mg-opens li:hover, .mg-opens li:focus-visible, .mg-opens li.is-lit{ transform:translateY(-5px) scale(1.025); border-color:rgba(232,207,149,.9);
  box-shadow:0 0 0 1px rgba(232,207,149,.28), 0 0 34px rgba(232,180,90,.26), 0 12px 30px rgba(4,8,28,.4), inset 0 0 30px rgba(232,180,90,.1); }
.mg-opens li:hover::before, .mg-opens li:focus-visible::before, .mg-opens li.is-lit::before{ opacity:1; }
.mg-opens li:hover .mg-star, .mg-opens li:focus-visible .mg-star, .mg-opens li.is-lit .mg-star{ color:#fff3cf; text-shadow:0 0 12px rgba(255,226,150,.95), 0 0 26px rgba(232,180,90,.7); transform:scale(1.18); }
@media (prefers-reduced-motion:reduce){
  .mg-opens li, .mg-opens li::before, .mg-star{ transition:none; }
  .mg-opens li:hover, .mg-opens li:focus-visible, .mg-opens li.is-lit{ transform:none; }
  .mg-opens li:hover .mg-star, .mg-opens li:focus-visible .mg-star, .mg-opens li.is-lit .mg-star{ transform:none; }
}

/* RTL: the Latin wordmark "Aya Sophia MINISTRY" keeps its reading order */
html[dir="rtl"] .nav-mark{ direction:ltr; }

/* footer: roomier links, easier legal text on small screens */
@media (max-width:600px){ .footer-links{ gap:16px 30px; } .footer-disclaimer p{ font-size:.94rem; line-height:1.75; } .footer-disclaimer .footer-notice{ font-size:.88rem; line-height:1.8; } footer .copyright{ font-size:.82rem; } }

/* ===== About Us: lake-and-mountain photograph replaces the painted sky and the couple's portrait ===== */
.about-sky .founders-scene-unified{
  height:max(70vw, 400px);
  background:url("assets/about-lake.webp") center / cover no-repeat;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.55) 9%,#000 22%,#000 82%,rgba(0,0,0,.5) 93%,rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.55) 9%,#000 22%,#000 82%,rgba(0,0,0,.5) 93%,rgba(0,0,0,0) 100%);
}
.about-sky .founders-scene-unified::before{ content:none; display:none; }
.about-sky .founders-scene-unified, .about-sky.about-open .founders-scene-unified{ margin-top:34px; }
@media (max-width:600px){ .about-sky .founders-scene-unified, .about-sky.about-open .founders-scene-unified{ margin-top:30px; } }

.photo-credit{margin-top:6px;opacity:.7;font-size:.85em}

/* "Where should I begin?" guide */
.begin-pop .welcome-card{ max-width:560px; }
.begin-q{ font-size:1.2rem; font-style:italic; color:#f3e9d2; margin:0 0 16px; }
.begin-opts{ display:flex; flex-direction:column; gap:10px; }
.begin-opt{ padding:13px 16px; background:none; border:1px solid rgba(214,185,120,.6); color:#f3e9d2; border-radius:3px; cursor:pointer; font:inherit; }
.begin-opt:hover, .begin-opt:focus-visible{ border-color:#e8cf95; background:rgba(214,185,120,.12); }
.begin-rec{ margin:0; color:#a9a79c; font-size:.9rem; letter-spacing:.06em; }
.begin-res{ margin:6px 0 10px; color:#e8cf95; font-size:1.5rem; font-weight:600; }
.begin-desc{ margin:0 0 20px; }
.begin-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.begin-pop .begin-body{ text-align:center; }
.begin-btn{ background:none; cursor:pointer; font-family:var(--font-display); font-size:0.95rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:14px 30px; min-width:272px; }

body:not(.op-page):not(.eh-page) .hero-cta{ flex-direction:column; align-items:center; }
/* About Us photo in right-to-left languages: the full-width trick must offset the right edge, not the left */
[dir="rtl"] .about-sky .founders-scene-unified{ margin-left:0; margin-right:calc(50% - 50vw); }

/* ===== Global "Become a Member" button: one component for every page ===== */
.btn.btn-member{
  display:inline-flex; align-items:center; justify-content:center; text-align:center;
  width:fit-content !important; max-width:100%; min-width:264px; box-sizing:border-box;
  margin-left:auto; margin-right:auto;
  padding:16px 40px !important; border:none; border-radius:2px; cursor:pointer;
  font-family:var(--font-display); font-size:0.9rem !important; font-weight:600 !important;
  letter-spacing:0.14em !important; text-transform:uppercase; line-height:1.25; white-space:normal;
  color:var(--midnight); text-decoration:none;
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn.btn-member:hover, .btn.btn-member:focus-visible{ filter:brightness(1.07); transform:translateY(-1px); box-shadow:0 10px 26px rgba(198,162,68,0.3); }
.btn.btn-member:focus-visible{ outline:2px solid var(--gold-light); outline-offset:3px; }
@media (max-width:600px){ .btn.btn-member{ min-width:0; width:100% !important; max-width:340px; padding:16px 24px !important; } }
@media (prefers-reduced-motion: reduce){ .btn.btn-member:hover, .btn.btn-member:focus-visible{ transform:none; } }
/* Membership page: benefit titles and steps */
.mg-opens strong, .mg-steps strong{ text-transform:uppercase; letter-spacing:0.1em; font-size:0.95rem; line-height:1.4; }
.mg-opens li{ display:flex; flex-direction:column; align-items:center; justify-content:flex-start; }
.mg-opens li > div{ text-align:center; }

.member-gate .mem-intro{ text-align:center; }
#safety .safety-cta .btn.btn-member{ display:inline-flex; }
.member-gate .btn.btn-member{ margin-top:30px; }

/* Ceremonies and Retreats hero: the two buttons sit side by side, identical in size */
.op-page .hero-cta{ flex-direction:row; align-items:center; justify-content:center; gap:14px; }
.op-page .hero-cta .btn, .op-page .hero-cta .btn.btn-member{ box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; width:250px !important; min-width:0 !important; height:54px; padding:0 20px !important; margin:0 !important; line-height:1.2; text-align:center; }
@media (max-width:600px){ .op-page .hero-cta{ flex-direction:column; } .op-page .hero-cta .btn, .op-page .hero-cta .btn.btn-member{ width:100% !important; max-width:300px; } }
/* Ceremonies hero: the photograph is anchored low so the cross and the hand sit above the buttons */
.op-page[data-meta="cer"]{ --op-hero-pos:86%; }
.op-page[data-meta="cer"] .rts-hero .hero-cta{ margin-top:70px; }

/* Sacred pathways refinement: full descriptions in the list, slightly larger arch pictures, calmer active toggle */
.off-list{ width:min(980px, calc(100vw - 40px)); gap:14px; }
.off-row.has-pic{ grid-template-columns:78px minmax(150px,240px) 1fr auto; gap:8px 26px; padding:16px 24px; }
.off-row-pic{ width:78px; height:102px; }
.off-row-desc{ display:block; -webkit-line-clamp:unset; overflow:visible; font-size:1rem; line-height:1.6; max-width:none; }
.off-row-go{ align-self:center; }
@media (max-width:700px){
  .off-row.has-pic{ grid-template-columns:64px 1fr auto; padding:16px 16px; gap:6px 16px; }
  .off-row.has-pic .off-row-pic{ width:64px; height:84px; grid-row:1 / span 2; }
  .off-row.has-pic .off-row-desc{ grid-column:2 / -1; font-size:.96rem; }
}
.off-view{ border-color:rgba(201,162,74,.45); }
.off-view-btn.is-active{ background:rgba(201,162,74,.2); color:var(--gold-light); box-shadow:inset 0 0 0 1px rgba(201,162,74,.55); }

/* Find your path: options are direct links; finer gold borders, balanced spacing */
.begin-opts{ gap:12px; }
.begin-opt{ display:block; text-align:center; text-decoration:none; padding:14px 18px; line-height:1.4; border:.75px solid rgba(214,185,120,.55); border-radius:3px; }
.begin-opt:hover, .begin-opt:focus-visible{ border-color:rgba(232,207,149,.9); }
.begin-q{ margin:0 0 20px; }
@media(max-width:640px){ .begin-opt{ padding:13px 14px; } }

/* Donate: thin gold-outlined nav item, homepage button and the "Sacred Reciprocity" band */

.donate-band{ text-align:center; padding:70px 20px 64px; }
.donate-band .kicker{ margin-bottom:8px; }
.donate-band h2{ margin:0 0 14px; }
.donate-band p{ max-width:560px; margin:0 auto 26px; line-height:1.8; opacity:.92; }
.btn.btn-member.donate-hero{ background:rgba(6,10,30,.4); color:var(--cream,#f7f4ec); border:1px solid rgba(214,185,120,.85); margin-left:0; }
.btn.btn-member.donate-hero:hover{ background:rgba(201,162,74,.22); }
.donate-band .btn.btn-member{ background:none; color:var(--cream,#f7f4ec); border:1px solid rgba(214,185,120,.85); margin-left:0; }
.donate-band .btn.btn-member:hover{ background:rgba(201,162,74,.18); }
.donate-band{ color:#f3e9d2; }
.donate-band h2{ color:#f7f4ec; }
.donate-band .kicker{ display:block; text-align:center; color:#e4cf9a; }
.donate-band p{ color:#f3e9d2; }
/* Make a donation: slightly smaller, thin gold outline, centered under the two main buttons */
.btn.btn-member.donate-hero{ font-size:.82em; padding-top:.62em; padding-bottom:.62em; width:min(100%,256px) !important; white-space:nowrap; letter-spacing:.14em; min-width:0 !important; box-sizing:border-box; padding-left:12px; padding-right:12px; align-self:center; margin:2px auto 0; border-width:.75px; }

/* ===== Sophia invocation: opens Sacred Pathways: the original luminous gold, light classical serif, one fine line above ===== */
#offerings{ padding-top:64px; }
#offerings .sophia-quote.off-quote{
  max-width:600px; margin:0 auto 94px; padding:0 6px; text-align:center; text-wrap:balance; white-space:normal;
  font-family:var(--font-body); font-style:normal; font-weight:400; font-size:1.2rem; line-height:1.66; letter-spacing:0;
  background:linear-gradient(180deg,#f8e7ad 0%,#e6c66c 52%,#c9a24a 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:#e6c66c;
  filter:drop-shadow(0 0 4px rgba(255,222,150,.16)) drop-shadow(0 0 14px rgba(240,195,105,.16));
}
#offerings .sophia-quote.off-quote::before{ content:""; display:block; width:56px; height:1px; margin:0 auto 24px;
  background:linear-gradient(90deg, rgba(230,198,108,0), #e6c66c 50%, rgba(230,198,108,0)); -webkit-text-fill-color:initial; }
#offerings .sophia-quote.off-quote::after{ content:none; display:none; }
html[lang="ru"] #offerings .sophia-quote.off-quote{ font-size:1.12rem; }
html[lang="fa"] #offerings .sophia-quote.off-quote{ font-size:1.2rem; line-height:2; }
@media (max-width:600px){
  #offerings{ padding-top:40px; }
  #offerings .sophia-quote.off-quote{ font-size:1.04rem; line-height:1.58; margin-bottom:58px; max-width:320px; }
  #offerings .sophia-quote.off-quote::before{ margin-bottom:18px; width:48px; }
  html[lang="ru"] #offerings .sophia-quote.off-quote{ font-size:.98rem; }
}
/* a little less air around the founders block */
.founders-divider-small{ margin-bottom:26px; }
#founders{ padding-bottom:44px; }
@media (max-width:600px){ .founders-divider-small{ margin-bottom:18px; } #founders{ padding-bottom:36px; } }

/* ===== Hero buttons: one consistent hover / focus language (default appearance unchanged) ===== */
.hero-cta .begin-btn, .hero-cta .btn.donate-hero, .hero-cta .btn.cta-join{ -webkit-tap-highlight-color:transparent; }
.hero-cta .begin-btn, .hero-cta .btn.donate-hero{
  transition:border-color .28s ease, box-shadow .28s ease, background-image .28s ease; background-image:linear-gradient(rgba(201,162,74,0),rgba(201,162,74,0));
}
.hero-cta .btn.cta-join{ transition:filter .28s ease, box-shadow .28s ease; }
/* mouse: Find your path + Make a donation share the same gold border and soft glow; Become a member brightens gently */
@media (hover:hover){
  .hero-cta .begin-btn:hover, .hero-cta .btn.donate-hero:hover{
    border-color:var(--gold-light,#e4cf9a); color:var(--cream,#f7f4ec); transform:none; filter:none;
    background-image:linear-gradient(rgba(201,162,74,.12),rgba(201,162,74,.12));
    box-shadow:0 0 0 1px rgba(228,207,154,.28), 0 0 20px rgba(214,185,120,.26);
  }
  .hero-cta .btn.cta-join:hover{ filter:brightness(1.09); transform:none; box-shadow:0 8px 22px rgba(198,162,68,.19); }
}
/* touch: no sticky hover; the buttons return to their resting look as soon as the finger lifts */
@media (hover:none){
  .hero-cta .begin-btn:hover{ border-color:rgba(247,244,236,.4); color:var(--cream,#f7f4ec); }
  .hero-cta .btn.donate-hero:hover{ background-color:rgba(6,10,30,.4); transform:none; filter:none; box-shadow:none; }
  .hero-cta .btn.cta-join:hover{ filter:none; transform:none; box-shadow:0 8px 22px rgba(198,162,68,.19); }
}
/* keyboard: the same visible gold ring on all three */
.hero-cta .begin-btn:focus-visible, .hero-cta .btn.donate-hero:focus-visible, .hero-cta .btn.cta-join:focus-visible{ outline:2px solid var(--gold-light,#e4cf9a); outline-offset:3px; }
.hero-cta .begin-btn:focus-visible, .hero-cta .btn.donate-hero:focus-visible{ border-color:var(--gold-light,#e4cf9a); box-shadow:0 0 18px rgba(214,185,120,.26); transform:none; filter:none; }
.hero-cta .btn.cta-join:focus-visible{ filter:brightness(1.09); transform:none; }
@media (prefers-reduced-motion:reduce){ .hero-cta .begin-btn, .hero-cta .btn.donate-hero, .hero-cta .btn.cta-join{ transition:none; } }

/* ===== Founders "Read more" links: slightly stronger muted gold, one consistent underline ===== */
.founders-bio-block .founder-link{ color:#7f5c14; font-size:.8rem; border-bottom:1px solid rgba(127,92,20,.6); transition:color .25s ease, border-color .25s ease; }
.founders-bio-block .founder-link:hover, .founders-bio-block .founder-link:focus-visible{ color:#5a400b; border-bottom-color:#5a400b; }
@media (max-width:820px){ .founders-bio-block .founder-link{ margin-top:4px; } }

/* Homepage hero: the three buttons share one exact size. */
body:not(.op-page):not(.eh-page) .hero-cta .begin-btn,
body:not(.op-page):not(.eh-page) .hero-cta .btn.cta-join,
body:not(.op-page):not(.eh-page) .hero-cta .btn.btn-member.donate-hero{
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  width:272px !important; max-width:100% !important; min-width:0 !important; height:54px; padding:0 14px !important;
  margin:0 !important; font-size:.9rem !important; letter-spacing:.12em !important; line-height:1.2;
  text-align:center; white-space:nowrap; border-width:1px; align-self:center;
}

/* ===== Founders: the photograph of Anna and Sepehr beside the lake (used as supplied, no filters) ===== */
.about-sky .founders-scene-unified{
  height:clamp(520px, 70vw, 1000px);
  background:url("assets/founders-lake-couple-2.webp") 22% 100% / cover no-repeat;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,#000 9%,#000 74%,rgba(0,0,0,.96) 77%,rgba(0,0,0,.88) 80%,rgba(0,0,0,.76) 83%,rgba(0,0,0,.62) 86%,rgba(0,0,0,.47) 89%,rgba(0,0,0,.32) 92%,rgba(0,0,0,.19) 94.5%,rgba(0,0,0,.09) 97%,rgba(0,0,0,.03) 99%,rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,#000 9%,#000 74%,rgba(0,0,0,.96) 77%,rgba(0,0,0,.88) 80%,rgba(0,0,0,.76) 83%,rgba(0,0,0,.62) 86%,rgba(0,0,0,.47) 89%,rgba(0,0,0,.32) 92%,rgba(0,0,0,.19) 94.5%,rgba(0,0,0,.09) 97%,rgba(0,0,0,.03) 99%,rgba(0,0,0,0) 100%);
}
@media (min-width:700px){ .about-sky .founders-scene-unified{ background-position:0% 100%; } }
@media (min-width:1100px){ .about-sky .founders-scene-unified{ background-position:center 100%; } }
.about-sky .founders-names-heading{ margin-top:6px; text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:699px){ .about-sky .founders-scene-unified{ height:max(96vw, 340px); background-position:20% 100%; } }
@media (max-width:480px){ .about-sky .founders-names-heading{ font-size:1.3rem; letter-spacing:.05em; white-space:nowrap; } }

/* ===== Founders biographies: two equal columns, names centred, Read More links level, fine gold divider ===== */
.about-sky .founders-bios-row{ max-width:860px; align-items:stretch; }
.about-sky .founders-bio-block{ flex:1 1 0; display:flex; flex-direction:column; padding:0 8px; }
.about-sky .founder-name{ text-align:center; margin-bottom:12px; }
.about-sky .founder-desc{ font-size:1.02rem; line-height:1.8; color:#2b3340; text-align:left; }
.about-sky .founder-link{ margin-top:auto; padding-top:18px; align-self:center; }
.about-sky .founders-bios-divider{ margin:34px 36px 6px; width:1px; align-self:stretch; background:linear-gradient(180deg, rgba(201,162,74,0), rgba(201,162,74,.55) 14%, rgba(201,162,74,.55) 86%, rgba(201,162,74,0)); }
@media (max-width:820px){
  .about-sky .founders-bios-row{ flex-direction:column; gap:0; }
  .about-sky .founders-bio-block{ padding:0; }
  .about-sky .founders-bios-divider{ display:block; width:56px; height:1px; margin:30px auto; align-self:center; background:linear-gradient(90deg, transparent, rgba(201,162,74,.7) 50%, transparent); }
}


/* ===== About Us + Founders: the original deep sky blue (recovered from assets/about-photo-sky.webp, commits ba44225..91371eb),
   easing into the clear sky blue sampled from the Mount Shasta photograph (#8cb9ef, the clear sky above the mountain; one shared blue for the lower intro and the founders area) ===== */
.about-sky{ --pt:31%; --pb:81%; }
@media (max-width:1000px){ .about-sky{ --pt:35%; --pb:68%; } }
@media (max-width:600px){ .about-sky{ --pt:45%; --pb:66%; } }
.about-sky{
  background:linear-gradient(180deg,
    #538cd1 0,
    #4e85c9 calc((var(--pt) - 20%) * .3),
    #4785cb calc((var(--pt) - 20%) * .6),
    #417cc1 calc(var(--pt) - 20%),
    #4a84c8 calc(var(--pt) - 15%),
    #5a91d3 calc(var(--pt) - 10%),
    #70a2e0 calc(var(--pt) - 6%),
    #7fb2ee calc(var(--pt) - 3%),
    #8cb9ef var(--pt),
    #8cb9ef 100%);
}

/* clean blue veil behind the intro text (was a pale milky tint) */
#philosophy .about-content::before{ background:radial-gradient(ellipse 50% 50% at 50% 50%, rgba(140,185,239,.50) 0%, rgba(140,185,239,.30) 55%, rgba(140,185,239,0) 100%); }
/* gold labels in the founders area: a shade deeper so they stay readable on the clearer blue */
.about-sky .founders-bio-block .founder-name{ color:#6f4c08; }
.about-sky .founders-bio-block .founder-link{ color:#6f4c08; border-bottom-color:rgba(111,76,8,.7); }

/* ===== Final refinements: clearer fade, heading lower, tidier biographies, readable gold labels ===== */
/* bottom of the portrait: a shorter, clearer fade so less of the white clothing is washed toward the sky blue */
.about-sky .founders-scene-unified{
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,#000 9%,#000 84%,rgba(0,0,0,.9) 87%,rgba(0,0,0,.72) 90%,rgba(0,0,0,.5) 93%,rgba(0,0,0,.26) 96%,rgba(0,0,0,.08) 98.5%,rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,#000 9%,#000 84%,rgba(0,0,0,.9) 87%,rgba(0,0,0,.72) 90%,rgba(0,0,0,.5) 93%,rgba(0,0,0,.26) 96%,rgba(0,0,0,.08) 98.5%,rgba(0,0,0,0) 100%);
}
/* heading sits lower, clearly on the blue */
.about-sky .founders-names-heading{ margin-top:34px; }
.about-sky .founders-divider-small{ margin:20px auto 30px; }
.about-sky .founders-bios-row{ padding-bottom:6px; }
.about-sky .founder-link{ padding-top:22px; }
/* gold labels: the website's own deeper gold for READ MORE, the hero-title gold with a soft shadow for ABOUT US */
.about-more-btn{ background:none; -webkit-background-clip:border-box; background-clip:border-box; -webkit-text-fill-color:currentColor; color:#6f4c08; }
.about-more-btn:hover, .about-more-btn:focus-visible{ color:#4a3205; }
#philosophy .about-kicker-main{ background:linear-gradient(180deg,#fff2c4 0%,#f3d77e 55%,#dcb455 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; filter:drop-shadow(0 1px 2px rgba(8,22,60,.55)); }

/* Founders photo, bottom edge: two alpha masks intersected (no colour is added anywhere).
   1) a vertical mask, clear through the first 88% and then a smoothstep dissolve to the bottom edge;
   2) an elliptical mask centred on the couple, so the rocks and water at the lower right dissolve earlier along a soft curve
      and the edge never reads as one straight horizontal line. */
.about-sky .founders-scene-unified{
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,#000 9%,#000 88.0%,rgba(0,0,0,0.980) 89.0%,rgba(0,0,0,0.926) 90.0%,rgba(0,0,0,0.844) 91.0%,rgba(0,0,0,0.741) 92.0%,rgba(0,0,0,0.624) 93.0%,rgba(0,0,0,0.500) 94.0%,rgba(0,0,0,0.376) 95.0%,rgba(0,0,0,0.259) 96.0%,rgba(0,0,0,0.156) 97.0%,rgba(0,0,0,0.074) 98.0%,rgba(0,0,0,0.020) 99.0%,rgba(0,0,0,0.000) 100.0%),radial-gradient(ellipse 80% 100% at 40% 24%,#000 0,#000 82%,rgba(0,0,0,.85) 88%,rgba(0,0,0,.64) 94%,rgba(0,0,0,.4) 100%,rgba(0,0,0,.2) 106%,rgba(0,0,0,.07) 112%,rgba(0,0,0,0) 118%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,0) 0,#000 9%,#000 88.0%,rgba(0,0,0,0.980) 89.0%,rgba(0,0,0,0.926) 90.0%,rgba(0,0,0,0.844) 91.0%,rgba(0,0,0,0.741) 92.0%,rgba(0,0,0,0.624) 93.0%,rgba(0,0,0,0.500) 94.0%,rgba(0,0,0,0.376) 95.0%,rgba(0,0,0,0.259) 96.0%,rgba(0,0,0,0.156) 97.0%,rgba(0,0,0,0.074) 98.0%,rgba(0,0,0,0.020) 99.0%,rgba(0,0,0,0.000) 100.0%),radial-gradient(ellipse 80% 100% at 40% 24%,#000 0,#000 82%,rgba(0,0,0,.85) 88%,rgba(0,0,0,.64) 94%,rgba(0,0,0,.4) 100%,rgba(0,0,0,.2) 106%,rgba(0,0,0,.07) 112%,rgba(0,0,0,0) 118%);
  -webkit-mask-composite:source-in;
  mask-composite:intersect;
}

/* ===== About Us: one champagne gold for the label and the READ MORE link; content group 25px lower ===== */
#philosophy .about-kicker-main, .about-more-btn{
  background:none; -webkit-background-clip:border-box; background-clip:border-box;
  -webkit-text-fill-color:currentColor; color:#C9A46D; filter:none; text-shadow:none;
}
#philosophy .about-kicker-main::before{ color:#C9A46D; }
.about-more-btn:hover, .about-more-btn:focus-visible{ color:#C9A46D; }
#philosophy{ padding-top:calc(var(--melt) - 5px); }
@media (max-width:600px){ #philosophy{ padding-top:calc(var(--melt) + 8px); } }

/* ===== Gold family, solid colours only: soft muted gold for ABOUT US; one deeper solid gold for names, READ MORE links, arrows and underlines ===== */
:root{ --gold-soft:#D4B87A; --gold-solid:#7F6008; }
#philosophy .about-kicker-main, #philosophy .about-kicker-main::before{ color:var(--gold-soft); }
.about-more-btn,
.about-sky .founders-bio-block .founder-name,
.about-sky .founders-bio-block .founder-link{
  background:none !important; -webkit-background-clip:border-box; background-clip:border-box;
  -webkit-text-fill-color:currentColor; color:var(--gold-solid); filter:none; text-shadow:none;
}
.about-sky .founders-bio-block .founder-link, .about-sky .founders-bio-block .founder-link:hover{ border-bottom:1px solid var(--gold-solid); }
.about-more-btn:hover, .about-more-btn:focus-visible, .about-sky .founders-bio-block .founder-link:hover{ color:var(--gold-solid); }

/* ===== Shared footer refinement: compact, legal text secondary yet legible; all content and links unchanged ===== */
footer{ padding:38px 24px 26px; }
.invocation{ margin-bottom:22px; }
.crest-wrap{ margin-bottom:16px; }
.social-footer{ margin-bottom:10px; }
.social-footer a{ width:42px; height:42px; }
.social-footer svg{ width:20px; height:20px; }
.footer-links{ gap:2px 24px; margin:0 auto 12px; }
.footer-links a{ font-size:.8rem; padding:9px 4px; line-height:1.25; }
html[lang="fa"] .footer-links a{ font-size:.95rem; }
html[lang="ru"] .footer-links a{ font-size:.88rem; }
.footer-disclaimer{ max-width:700px; }
.footer-disclaimer p, .footer-disclaimer .footer-notice{ font-size:12.5px; line-height:1.45; font-weight:400; color:rgba(232,228,216,.66); }
.footer-disclaimer .footer-notice{ margin-top:8px; }
html[lang="fa"] .footer-disclaimer p, html[lang="fa"] .footer-disclaimer .footer-notice{ font-size:13.5px; line-height:1.7; }
footer .copyright{ margin:8px 0 0; font-size:11.5px; line-height:1.4; color:rgba(232,228,216,.56); }
footer .copyright.photo-credit{ margin-top:1px; }
.legal-footer{ padding:30px 20px 26px; }
@media (max-width:600px){
  footer{ padding:22px 16px 14px; }
  footer .invocation{ font-size:15.5px; line-height:1.45; margin:0 auto 10px; padding:0; }
  html[lang="fa"] footer .invocation{ font-size:16.5px; line-height:1.75; }
  .crest-wrap{ margin-bottom:10px; }
  .crest-wrap img.crest{ width:92px; }
  .crest-wrap::before{ inset:-92px; }
  .social-footer{ margin-bottom:4px; }
  .social-footer a{ width:38px; height:38px; }
  .social-footer svg{ width:18px; height:18px; }
  .footer-links{ gap:0 16px; margin-bottom:6px; }
  .footer-links a{ font-size:12.5px; padding:10px 3px; letter-spacing:.07em; }
  html[lang="fa"] .footer-links a{ font-size:13.5px; }
  html[lang="ru"] .footer-links a{ font-size:12.5px; letter-spacing:.03em; }
  .footer-disclaimer{ max-width:none; }
  .footer-disclaimer p, .footer-disclaimer .footer-notice{ font-size:12px; line-height:1.4; }
  .footer-disclaimer .footer-notice{ margin-top:6px; }
  html[lang="fa"] .footer-disclaimer p, html[lang="fa"] .footer-disclaimer .footer-notice{ font-size:13px; line-height:1.6; }
  footer .copyright{ font-size:11px; margin-top:6px; }
}

/* Signed-in members: the "BECOME A MEMBER" button is swapped for a "MY PORTAL" button (class cta-dash). member-state.js shows it as inline-block, which
   dropped its label to the top of the fixed-height hero buttons. Keep the same centred inline-flex layout as the other buttons. */
.is-member .btn.cta-dash{ display:inline-flex !important; align-items:center; justify-content:center; }
