/* Member-only ceremony teachings: cards on /ceremonies/ and the three teaching pages */
.teach-section{ padding:84px 28px; }
.teach-section[hidden]{ display:none !important; }
.teach-cards{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:44px 36px; max-width:1100px; margin:44px auto 0; align-items:stretch; }
/* the same arch framing as the Sophia-Christos offerings: gold line, navy edge, ivory inner arch */
.teach-card{ display:flex; padding:10px; background:rgba(18,38,92,.35); border:1px solid rgba(201,162,74,.8); border-radius:999px 999px 6px 6px; box-shadow:0 0 60px rgba(201,162,74,.09), 0 36px 70px rgba(0,0,0,.45); }
.teach-card-in{ flex:1; display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0; padding:12px 26px 34px; border-radius:999px 999px 2px 2px; background:linear-gradient(180deg,#f3effa 0%,#ece6f3 55%,#f6f1e8 100%); color:#1a2150; }
.teach-arch{ display:block; width:100%; border-radius:999px 999px 4px 4px; overflow:hidden; margin-bottom:20px; }
.teach-arch img{ display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; }
.teach-card h3{ font-family:var(--font-display); font-size:1.45rem; font-weight:500; color:#1a2150; margin:0 0 4px; }
.teach-card-sub{ font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:#7a5a14; margin:0 0 12px; }
.teach-card-sum{ font-size:.98rem; line-height:1.65; color:#2a3158; margin:0 0 14px; flex:1; }
.teach-card-more{ font-family:var(--font-display); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; color:#7a5a14; text-decoration:none; border-bottom:1px solid rgba(122,90,20,.5); padding-bottom:2px; margin-bottom:18px; }
.teach-card-more:hover{ color:#1a2150; border-color:#1a2150; }
.teach-ask{ display:inline-block; padding:13px 24px; font-family:var(--font-display); font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; text-decoration:none; color:#14183f; background:linear-gradient(180deg,#e8cf8a,#c9a24a); border-radius:2px; text-align:center; }
.teach-ask:hover{ filter:brightness(1.06); }
.teach-ask.is-done{ background:none; color:#2a3158; border:1px solid rgba(26,33,80,.35); cursor:default; filter:none; }
@media (max-width:980px){ .teach-cards{ grid-template-columns:1fr; max-width:420px; } }

.teach-hero{ text-align:center; padding:120px 24px 46px; }
.teach-hero .kicker{ margin-bottom:10px; }
.teach-hero h1{ margin:0 0 6px; }
.teach-hero .lede{ margin:0 auto; max-width:560px; }
.teach-figure{ max-width:480px; margin:0 auto 6px; padding:10px; border:1px solid rgba(184,150,74,.75); border-radius:999px 999px 6px 6px; background:rgba(18,38,92,.35); box-shadow:0 0 60px rgba(201,162,74,.09), 0 36px 70px rgba(0,0,0,.35); }
.teach-figure img{ display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:999px 999px 2px 2px; }
.teach-article{ max-width:720px; margin:0 auto; padding:56px 24px 90px; color:#2a2f33; }
.teach-article h2{ font-family:var(--font-display); font-size:1.3rem; letter-spacing:.04em; color:var(--midnight); margin:38px 0 10px; }
.teach-article p, .teach-article li{ font-size:1.08rem; line-height:1.8; }
.teach-article ul{ padding-inline-start:1.2em; }
.teach-article li{ margin:0 0 .6em; }
.teach-lede{ font-size:1.25rem !important; font-style:italic; color:var(--midnight); }
.teach-notice{ margin:40px 0 18px; padding:18px 22px; border:1px solid rgba(201,162,74,0.7); background:rgba(201,162,74,0.1); }
.teach-notice h2{ margin:0 0 8px; font-size:1rem; letter-spacing:.14em; text-transform:uppercase; }
.teach-notice p{ font-size:1rem; margin:0 0 .7em; }
.teach-sources{ font-size:.92rem !important; color:#555; }
.teach-gate{ max-width:560px; margin:0 auto; padding:70px 24px 110px; text-align:center; color:#2a2f33; }
.teach-gate[hidden], .teach-article[hidden], .teach-figure[hidden]{ display:none !important; }
.teach-gate h2{ font-family:var(--font-display); color:var(--midnight); }
.teach-gate .btn{ margin-top:12px; }

.teach-cta{ max-width:720px; margin:-30px auto 0; padding:0 24px 90px; text-align:center; color:#2a2f33; }
.teach-cta[hidden]{ display:none !important; }
.teach-cta p{ font-size:1.1rem; line-height:1.7; margin:0 0 14px; }

button.teach-ask{ border:0; cursor:pointer; font-family:var(--font-display); }
button.teach-ask:disabled{ cursor:default; }
.teach-ask-note{ margin:12px 0 0; font-size:.9rem; line-height:1.55; color:#2a3158; }
.teach-cta .teach-ask-note{ color:#2a2f33; }

/* ===== Member view of the Ceremonies page: intro, arches, preparation, photographic portal, footer ===== */
.ce-safety, .ce-j{ display:none; }
.ce-member main{ display:flex; flex-direction:column; }
.ce-member main > .rts-hero, .ce-member main > #how, .ce-member main > #prepare{ display:none; }
/* one continuous deep navy with faint stars: no glows or per-section gradients that could show as bands */
.ce-member main > #teachings{ order:-1; padding:112px 28px 120px; background:var(--navy-deep) url("/assets/star-pattern-2.svg") repeat 0 0 / 340px 340px; }
.ce-member #teachings .teach-cards{ margin-top:56px; }
.ce-member #teachings .rts-lead{ max-width:620px; margin-left:auto; margin-right:auto; }
.ce-member .ce-safety{ display:block; max-width:700px; margin:120px auto 0; text-align:center; }
.ce-member .ce-safety .title{ margin-top:10px; }
.ce-member .ce-safety .rts-lead{ margin:18px auto 0; font-size:1.02rem; line-height:1.85; }
.ce-member .ce-safety-extra{ margin:20px auto 0; max-width:560px; font-style:italic; color:rgba(247,244,236,.72); line-height:1.7; }
.ce-member .ce-safety-link{ display:inline-block; margin-top:14px; font-family:var(--font-display); font-size:.82rem; font-weight:600; letter-spacing:.18em; color:var(--gold-light,#e4cf9a); text-decoration:none; padding-bottom:4px; border-bottom:1px solid rgba(228,207,154,.55); transition:color .25s ease, border-color .25s ease, text-shadow .25s ease; }
.ce-member .ce-safety-link:hover, .ce-member .ce-safety-link:focus-visible{ color:#f6e8bd; border-bottom-color:#f6e8bd; text-shadow:0 0 14px rgba(214,185,120,.45); outline:none; }
/* portal: the original photograph, full width, under a dark overlay, fading in from the navy above and out into the footer */
.ce-member main > #join{ order:99; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:780px !important; padding:150px 24px !important; background:var(--navy-deep) url("/assets/star-pattern-2.svg") repeat 0 0 / 340px 340px !important; }
.ce-member #join::before{ left:50% !important; right:auto; transform:translateX(-50%) !important; width:min(100%,1040px) !important; opacity:.62; background-size:cover; background-position:center 28%;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%); mask-image:linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%); -webkit-mask-composite:source-in; mask-composite:intersect; }
.ce-member #join::after{ background:radial-gradient(ellipse 60% 55% at 50% 50%, rgba(4,8,28,.62), rgba(4,8,28,.25) 100%) !important; }
.ce-member #join > *{ position:relative; z-index:1; }
.ce-member #join .rts-join-title, .ce-member #join .rule-gold, .ce-member #join .rts-hero-tags, .ce-member #join .rts-join-note{ display:none; }
.ce-member #join .ce-j{ display:block; }
.ce-member #join .kicker.ce-j{ display:flex; justify-content:center; color:var(--gold-light,#e4cf9a); font-weight:600; letter-spacing:.2em; font-size:.8rem; }
.ce-member #join .ce-j-title{ font-size:clamp(1.9rem,4.4vw,2.8rem); font-weight:500; color:var(--gold-light,#e4cf9a); margin:10px 0 0; line-height:1.25; }
.ce-member #join .ce-j-sub{ max-width:520px; margin:18px auto 34px; font-size:1.05rem; line-height:1.75; color:rgba(247,244,236,.88); text-shadow:0 1px 12px rgba(4,8,28,.7); }
.ce-member #join .hero-cta{ display:flex; justify-content:center; width:100%; margin:0 auto; }
.ce-member #join .hero-cta .cta-dash{ display:flex !important; 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; white-space:nowrap; box-sizing:border-box; }
@media (max-width:980px){ .ce-member main > #teachings{ padding:88px 20px 84px; } .ce-member .ce-safety{ margin-top:84px; } .ce-member main > #join{ min-height:640px !important; padding:110px 22px !important; } }

/* READ ABOUT THE CEREMONY link: same font, slightly larger and darker so it reads clearly */
.teach-card-more{ font-size:.8rem; letter-spacing:.12em; color:#6b4c0c; border-bottom-color:rgba(107,76,12,.65); }

/* BOOK A CALL: the homepage gold button (foil fill, soft glow on hover / focus / press), identical on all three cards */
.teach-card .teach-ask.btn{ display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100% !important; max-width:230px !important; min-width:0 !important; height:50px; padding:0 12px !important; margin:0 auto !important;
  font-size:.82rem !important; letter-spacing:.14em !important; font-weight:700 !important; white-space:nowrap; text-transform:uppercase; color:#14183f; border:1px solid transparent; border-radius:2px;
  background:#d9a63a url("/assets/rts-gold-foil.webp") center / cover no-repeat; transition:filter .28s ease, box-shadow .28s ease; -webkit-tap-highlight-color:transparent; }
@media (hover:hover){ .teach-card .teach-ask.btn:hover{ filter:brightness(1.09); transform:none; box-shadow:0 8px 22px rgba(198,162,68,.19), 0 0 20px rgba(214,185,120,.26); } }
@media (hover:none){ .teach-card .teach-ask.btn:hover{ filter:none; transform:none; } }
.teach-card .teach-ask.btn:active{ filter:brightness(1.06); transform:none; box-shadow:0 0 22px rgba(214,185,120,.3); }
.teach-card .teach-ask.btn:focus-visible{ outline:2px solid var(--gold-light,#e4cf9a); outline-offset:3px; filter:brightness(1.09); transform:none; }
@media (prefers-reduced-motion:reduce){ .teach-card .teach-ask.btn{ transition:none; } }

/* ===== Rich ceremony card (Bufo): same pattern as the Sophia-Christos session cards. The arch never changes size; the detail opens in a panel under the row of arches. ===== */
.teach-card.is-rich .teach-card-in{ align-items:center; text-align:center; padding:16px 26px 36px; background:linear-gradient(180deg,#fdf9ef 0%,#f9f2e2 60%,#f6eddb 100%); }
.teach-card.is-rich{ background:rgba(18,38,92,.28); }
.cx-arch{ display:block; width:100%; margin:0 0 26px; border-radius:999px 999px 4px 4px; overflow:hidden; }
.cx-arch img{ display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; object-position:50% 50%; }
.cx-kick{ font-family:var(--font-display); font-size:.62rem; letter-spacing:.24em; color:#8a6a2c; margin:0 0 8px; text-align:center; }
.teach-card.is-rich h3{ color:#9a7632; font-size:1.6rem; letter-spacing:.2em; text-align:center; margin:0 0 8px; }
.cx-sub{ text-align:center; font-family:var(--font-display); font-weight:500; font-size:.98rem; letter-spacing:.02em; color:#5a4616; margin:0 0 18px; }
.cx-price{ text-align:center; width:100%; font-family:var(--font-display); font-size:1.02rem; font-weight:700; letter-spacing:.05em; white-space:nowrap; color:#1b2554; margin:0 0 20px; padding:14px 0; border-top:1px solid rgba(138,106,44,.35); border-bottom:1px solid rgba(138,106,44,.35); }
.cx-top{ width:100%; }
.cx-prev{ font-size:1.02rem; line-height:1.7; color:#1b2554; margin:0 0 6px; text-align:center; }

/* BOOK A CALL on the Bufo arch: the Sophia-Christos card button (navy, gold letters, thin gold border; gold foil on hover / focus / press) */
.cx-book{ display:flex; align-items:center; justify-content:center; box-sizing:border-box; width:100%; max-width:260px; min-height:46px; margin:0 auto; padding:13px 20px; font-family:var(--font-display); font-size:.7rem; font-weight:400; letter-spacing:.2em; text-transform:uppercase; text-decoration:none; white-space:nowrap; border-radius:2px;
  background:#0b1642; color:var(--gold-light,#e8cf8a); border:1px solid var(--gold,#c9a24a); box-shadow:none; -webkit-tap-highlight-color:transparent; transition:transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease; }
.cx-book:hover, .cx-book:focus-visible, .cx-book:active{
  background:#d9a63a url("/assets/rts-gold-foil.webp") center / cover no-repeat; color:#0b1642; border-color:var(--gold-light,#e8cf8a); filter:none; }
.cx-book:hover{ transform:translateY(-2px); }
.cx-book:focus-visible{ outline:2px solid var(--gold-light,#e8cf8a); outline-offset:3px; }
@media (hover:none){ .cx-book:hover{ transform:none; } }
@media (prefers-reduced-motion:reduce){ .cx-book{ transition:none; } .cx-book:hover{ transform:none; } }

.teach-card.is-rich .teach-card-more{ margin:auto 0 20px; color:#6b4c0c; }
a.cx-book{ -webkit-appearance:none; }
.cx-hero[hidden], .cx-main[hidden]{ display:none !important; }

/* ===== Dedicated ceremony page (Bufo) ===== */
.cx-hero{ padding:92px 28px 76px; text-align:left; }
.cx-hero-in{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:64px; align-items:center; max-width:1060px; margin:0 auto; }
.cx-back{ display:inline-block; font-family:var(--font-display); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:rgba(232,215,170,.8); text-decoration:none; border-bottom:1px solid transparent; padding-bottom:3px; margin-bottom:34px; transition:color .25s ease, border-color .25s ease; }
.cx-back:hover, .cx-back:focus-visible{ color:#f6e8bd; border-bottom-color:rgba(246,232,189,.6); outline:none; }
.cx-hero-kick{ font-family:var(--font-display); font-size:.74rem; letter-spacing:.3em; color:var(--gold-light,#e8cf8a); margin:0 0 8px; }
.cx-hero h1{ font-size:clamp(3.2rem,8vw,5.4rem); letter-spacing:.14em; line-height:1.05; margin:0 0 12px; }
.cx-hero-sub{ font-family:var(--font-display); font-size:clamp(1.1rem,2.2vw,1.45rem); color:#f1e3b8; margin:0 0 8px; letter-spacing:.02em; }
.cx-hero .rule-gold{ margin:22px 0 22px; margin-left:0; margin-right:auto; }
.cx-hero-price{ font-family:var(--font-display); font-size:1.3rem; font-weight:700; letter-spacing:.06em; color:var(--cream,#f7f4ec); margin:0 0 26px; }
.cx-cta{ display:flex; }
.cx-cta .cx-book{ margin:0; max-width:260px; }
.cx-hero-fig{ margin:0; padding:10px; max-width:430px; justify-self:center; width:100%; border:1px solid rgba(201,162,74,.8); border-radius:999px 999px 6px 6px; background:rgba(18,38,92,.35); box-shadow:0 0 60px rgba(201,162,74,.09), 0 36px 70px rgba(0,0,0,.45); }
.cx-hero-fig img{ display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; object-position:42% 50%; border-radius:999px 999px 2px 2px; }

.cx-main{ background:linear-gradient(180deg,#fdf9ef 0%,#f8f0de 100%); padding:84px 28px 96px; color:#1b2554; }
.cx-main-in{ max-width:1040px; margin:0 auto; }
.cx-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 72px; margin:0 0 60px; }
.cx-sec h2{ font-family:var(--font-display); font-size:1.5rem; font-weight:500; letter-spacing:.03em; color:#8a6a2c; margin:0 0 20px; padding-bottom:12px; border-bottom:1px solid rgba(138,106,44,.35); }
.cx-sec p{ font-size:1.12rem; line-height:1.85; color:#1b2554; margin:0 0 16px; }
.cx-sec ul{ list-style:none; margin:0; padding:0; }
.cx-sec li{ position:relative; padding-left:26px; font-size:1.12rem; line-height:1.7; color:#1b2554; margin:0 0 14px; }
.cx-sec li::before{ content:""; position:absolute; left:5px; top:.66em; width:7px; height:7px; border-radius:50%; background:#b8964a; }
.cx-grid-tint{ gap:28px 40px; align-items:stretch; }
.cx-grid-tint .cx-sec{ padding:30px 34px 22px; border-radius:14px; }
.cx-grid-tint .cx-sec h2{ font-size:1.25rem; }
.cx-grid-tint .cx-seek{ background:rgba(201,162,74,.14); border:1px solid rgba(138,106,44,.35); }
.cx-grid-tint .cx-note{ background:#0b1642; border:1px solid rgba(201,162,74,.65); }
.cx-grid-tint .cx-note h2{ color:var(--gold-light,#e8cf8a); border-bottom-color:rgba(232,207,138,.35); }
.cx-grid-tint .cx-note p{ color:#f3e3b4; font-weight:600; }
.cx-wide{ margin:0 0 56px; }
.cx-disclaimer{ margin:0; padding-top:34px; border-top:1px solid rgba(138,106,44,.3); }
.cx-disclaimer h2{ font-size:1.05rem; border-bottom:0; padding-bottom:0; margin-bottom:10px; }
.cx-disclaimer p{ font-size:.92rem; line-height:1.7; color:rgba(27,37,84,.75); max-width:820px; }
.cx-bottom{ margin-top:56px; text-align:center; }
.cx-bottom .cx-cta{ justify-content:center; }
.cx-back-dark{ color:#8a6a2c; margin:26px 0 0; }
.cx-back-dark:hover, .cx-back-dark:focus-visible{ color:#0b1642; border-bottom-color:#0b1642; }
.cx-gate-wrap:has(#teachGate[hidden]){ display:none; }
@media (max-width:860px){
  .cx-hero{ padding:104px 22px 56px; text-align:center; }
  .cx-hero-in{ grid-template-columns:1fr; gap:34px; }
  .cx-hero-fig{ order:-1; max-width:340px; }
  .cx-hero .rule-gold{ margin-left:auto; }
  .cx-cta{ justify-content:center; }
  .cx-back{ margin-bottom:22px; }
  .cx-main{ padding:56px 22px 72px; }
  .cx-grid{ grid-template-columns:1fr; gap:44px; margin-bottom:44px; }
  .cx-grid-tint{ gap:22px; }
  .cx-grid-tint .cx-sec{ padding:24px 22px 16px; }
  .cx-sec p, .cx-sec li{ font-size:1.07rem; }
}
@media (prefers-reduced-motion:reduce){ .cx-back{ transition:none; } }
/* Bufo page hero: calm navy starfield (no busy artwork behind the photograph and title) */
.hero.starfield.cx-hero{ min-height:0; align-items:stretch; justify-content:flex-start; background-color:var(--navy-deep);
  background-image:radial-gradient(ellipse 60% 70% at 72% 48%, rgba(29,74,143,.34), transparent 70%), url("/assets/star-pattern-2.svg"); background-repeat:no-repeat, repeat; background-size:100% 100%, 340px 340px; background-position:center, 0 0; }
.cx-hero > *{ width:100%; }
@media (max-width:700px){ .hero.starfield.cx-hero{ background-image:radial-gradient(ellipse 100% 55% at 50% 30%, rgba(29,74,143,.34), transparent 70%), url("/assets/star-pattern-2.svg"); background-size:100% 100%, 340px 340px; } }
.teach-card.is-rich .cx-top{ flex:1; }
.teach-card.is-rich .teach-card-more{ margin:12px 0 20px; }

/* ===== Bufo page refinement: one centred container, readable measure, coordinated ivory-and-gold boxes ===== */
.cx-main{ padding:64px 28px 72px; }
.cx-main-in{ max-width:920px; }
.cx-grid{ gap:0 56px; margin:0 0 44px; align-items:start; }
.cx-sec h2{ font-size:1.4rem; line-height:1.3; margin:0 0 18px; padding-bottom:12px; }
.cx-sec p{ font-size:1.08rem; line-height:1.8; margin:0 0 14px; }
.cx-sec li{ font-size:1.08rem; line-height:1.7; margin:0 0 12px; }
.cx-grid-tint{ gap:24px 28px; align-items:stretch; margin-bottom:52px; }
.cx-grid-tint .cx-sec{ padding:28px 30px 16px; border-radius:12px; background:linear-gradient(180deg,#fffcf4,#fbf3e1); border:1px solid rgba(184,150,74,.6); box-shadow:0 1px 0 rgba(255,255,255,.7) inset; }
.cx-grid-tint .cx-sec h2{ font-size:1.2rem; color:#8a6a2c; border-bottom:1px solid rgba(138,106,44,.3); }
.cx-grid-tint .cx-note h2{ color:#8a6a2c; border-bottom-color:rgba(138,106,44,.3); }
.cx-grid-tint .cx-seek, .cx-grid-tint .cx-note{ background:linear-gradient(180deg,#fffcf4,#fbf3e1); border:1px solid rgba(184,150,74,.6); }
.cx-grid-tint .cx-note p{ color:#1b2554; font-weight:400; }
.cx-wide{ max-width:680px; margin:0 auto 34px; }
.cx-disclaimer{ max-width:680px; margin:0 auto; padding:26px 0 0; border-top:1px solid rgba(138,106,44,.3); }
.cx-disclaimer h2{ font-size:1.05rem; color:#8a6a2c; margin:0 0 8px; }
.cx-disclaimer p{ font-size:1rem; line-height:1.75; color:#2f3868; max-width:none; margin:0; }
.cx-bottom{ margin-top:52px; }
.cx-back-dark{ margin:22px 0 0; }
@media (max-width:860px){
  .cx-main{ padding:48px 22px 60px; }
  .cx-grid{ gap:36px; margin-bottom:36px; }
  .cx-grid-tint{ gap:18px; margin-bottom:40px; }
  .cx-grid-tint .cx-sec{ padding:22px 22px 12px; }
  .cx-wide{ margin-bottom:28px; }
  .cx-bottom{ margin-top:40px; }
}
/* the generic section padding must not inset the text columns */
.cx-main .cx-sec:not(.cx-seek):not(.cx-note){ padding:0; }
.cx-grid-tint{ margin-bottom:60px; }
.cx-wide{ margin-bottom:40px; }
@media (max-width:860px){ .cx-grid-tint{ margin-bottom:44px; } .cx-wide{ margin-bottom:32px; } }

/* ===== Bufo hero refinement: smaller arch, whole photograph (same square framing as the Bufo card), closer to the text, more compact ===== */
.hero.starfield.cx-hero{ padding:56px 28px 44px; }
.cx-hero-in{ grid-template-columns:minmax(0,1fr) 350px; gap:48px; max-width:940px; align-items:center; }
.cx-hero-fig{ max-width:350px; width:350px; justify-self:start; }
.cx-hero-fig img{ aspect-ratio:1/1; object-position:50% 50%; }
.cx-back{ margin-bottom:22px; }
.cx-hero-sub{ margin:0 0 4px; }
.cx-hero .rule-gold{ margin:16px 0 16px; margin-left:0; margin-right:auto; }
.cx-hero-price{ margin:0 0 18px; }
@media (max-width:860px){
  .hero.starfield.cx-hero{ padding:84px 22px 40px; }
  .cx-hero-in{ grid-template-columns:1fr; gap:26px; max-width:none; }
  .cx-hero-fig{ order:-1; max-width:290px; width:100%; justify-self:center; }
  .cx-back{ margin-bottom:16px; }
  .cx-hero .rule-gold{ margin-left:auto; }
}
@media (min-width:861px){ .cx-hero-in{ grid-template-columns:auto 350px; justify-content:center; gap:48px; } .cx-hero-text{ max-width:560px; } }

/* Bufo hero: arch a little closer to the text (gap 48px -> 40px) */
@media (min-width:861px){ .cx-hero-in{ gap:40px; } }

/* ===== Bufo page: visual refinement (layout and colour only) ===== */
.cx-hero-in{ gap:20px; }
@media (min-width:861px){ .cx-hero-in{ gap:20px; } }
.cx-main{ --cx-gold:#9a7d3f; background:#f0f4f5; }
/* the paired sections share rows: headings, dividers and first lines of text start at the same heights */
.cx-grid{ grid-template-rows:auto 1fr; align-items:stretch; }
.cx-grid > .cx-sec{ display:grid; grid-row:span 2; grid-template-rows:subgrid; align-content:start; }
.cx-grid > .cx-sec > h2{ margin:0 0 18px; }
.cx-sec h2{ color:var(--cx-gold); border-bottom:1px solid var(--cx-gold); }
.cx-sec p{ line-height:1.8; }
.cx-sec li{ line-height:1.8; }
.cx-col-body > :first-child{ margin-top:0; }
.cx-sec li::before{ background:var(--cx-gold); }
.cx-grid-tint .cx-sec, .cx-grid-tint .cx-seek, .cx-grid-tint .cx-note{ background:#f7f9fa; border:1px solid var(--cx-gold); border-radius:12px; box-shadow:none; padding:26px 30px 14px; }
.cx-grid-tint .cx-sec h2, .cx-grid-tint .cx-note h2{ color:var(--cx-gold); border-bottom:1px solid var(--cx-gold); font-size:1.2rem; }
.cx-grid-tint .cx-note p{ color:#1b2554; font-weight:400; }
.cx-disclaimer{ border-top:1px solid var(--cx-gold); }
.cx-disclaimer h2{ color:var(--cx-gold); border-bottom:0; }
.cx-back-dark{ color:var(--cx-gold); }
/* rhythm */
.cx-main{ padding:56px 28px 64px; }
.cx-grid{ margin:0 0 40px; }
.cx-grid-tint{ margin-bottom:44px; gap:24px 28px; }
.cx-wide{ margin-bottom:26px; }
.cx-disclaimer{ padding-top:22px; }
.cx-bottom{ margin-top:48px; }
.cx-back-dark{ margin:20px 0 0; }
@media (max-width:860px){
  .hero.starfield.cx-hero .cx-hero-in{ gap:26px; }
  .cx-grid{ grid-template-rows:none; gap:32px; margin-bottom:32px; }
  .cx-grid > .cx-sec{ display:block; grid-row:auto; }
  .cx-grid-tint{ gap:18px; margin-bottom:36px; }
  .cx-grid-tint .cx-sec{ padding:22px 22px 10px; }
  .cx-main{ padding:44px 22px 56px; }
  .cx-wide{ margin-bottom:24px; }
  .cx-bottom{ margin-top:40px; }
}
@media (min-width:861px){ .cx-grid-tint{ gap:24px 56px; } }
.cx-grid > .cx-sec{ row-gap:0; }

/* Background colour back to the warm cream (layout, alignment and gold accents from the latest version are kept) */
.cx-main{ background:linear-gradient(180deg,#fdf9ef 0%,#f8f0de 100%); }
.cx-grid-tint .cx-sec, .cx-grid-tint .cx-seek, .cx-grid-tint .cx-note{ background:linear-gradient(180deg,#fffcf4,#fbf3e1); }

/* Kambo card: a longer price line wraps inside the arch instead of running past it (the Bufo price is unaffected) */
.cx-price{ white-space:normal; text-wrap:balance; line-height:1.35; }

/* ===== The three ceremony arches as one aligned collection =====
   On desktop the cards share one set of grid rows (subgrid), so photographs, kickers, titles, subtitles, price dividers,
   descriptions, SHOW MORE links and BOOK A CALL buttons all line up; each row is as tall as its longest content. */
.teach-card.is-plain .teach-card-in{ background:linear-gradient(180deg,#f3effa 0%,#ece6f3 55%,#f6f1e8 100%); }
.teach-card.is-plain h3{ text-transform:uppercase; }
.teach-card.is-rich .teach-card-more{ justify-self:center; align-self:start; margin:14px 0 20px; font-size:.74rem; letter-spacing:.2em; color:#7a5a14; border-bottom:1px solid rgba(154,118,50,.6); padding-bottom:3px; text-align:center; }
.teach-card.is-rich .teach-card-more:hover, .teach-card.is-rich .teach-card-more:focus-visible{ color:#1a2150; border-bottom-color:#1a2150; }
.cx-book-gap{ display:block; min-height:46px; }
@media (min-width:981px){
  .teach-cards{ gap:0 36px; grid-auto-rows:auto; }
  .teach-card.is-rich{ display:grid; grid-row:span 8; grid-template-rows:subgrid; row-gap:0; }
  .teach-card.is-rich .teach-card-in{ display:grid; grid-row:1 / -1; grid-template-rows:subgrid; grid-template-columns:minmax(0,1fr); row-gap:0; align-items:start; justify-items:stretch; }
  .teach-card.is-rich .cx-top{ flex:none; }
  .teach-card.is-rich .cx-price{ align-self:stretch; box-sizing:border-box; }
  .teach-card.is-rich .cx-book{ align-self:end; }
}
.teach-card.is-rich .cx-price{ display:flex; align-items:center; justify-content:center; }

/* Hero price line wraps evenly on small screens */
.cx-hero-price{ text-wrap:balance; }
@media (max-width:980px){ .teach-card.is-rich .teach-card-more{ align-self:center; } }

/* Links to the Safety & Preparation page: under the three arches, and near the booking section on the Bufo and Kambo pages */
.ce-safety-below{ display:none; }
.ce-member .ce-safety-below{ display:block; margin:44px 0 0; text-align:center; }
.ce-member .ce-safety-below .ce-safety-link{ margin-top:0; font-size:.74rem; font-weight:400; letter-spacing:.2em; text-transform:uppercase; }
.cx-bottom .cx-safety{ margin:22px 0 0; }
.cx-bottom .cx-safety .cx-back{ margin:0; }
.cx-bottom .cx-safety + p .cx-back{ margin-top:20px; }

/* Kambo hero in the same proportions as Bufo: the longer subtitle wraps evenly onto two lines (same type size) and the text column
   keeps Bufo's width, so the arch sits at the same distance and position on both pages */
@media (min-width:861px){
  body[data-teach-slug="kambo"] .cx-hero-sub{ max-width:17em; text-wrap:balance; }
  body[data-teach-slug="kambo"] .cx-hero-text{ min-width:25.4rem; }
}
.cx-bottom .cx-safety .cx-back{ border-bottom-color:rgba(154,125,63,.55); }

/* Safety & Preparation link now sits just above the final BOOK A CALL button */
.cx-bottom .cx-safety{ margin:0 0 28px; }

/* Yaseen hero: same text-column width as Bufo and Kambo, so the arch sits at the same position and distance on all three pages */
@media (min-width:861px){ body[data-teach-slug="yaseen"] .cx-hero-text{ min-width:25.4rem; } }

/* EXPERIMENT (card interiors only): soft champagne-ivory with a blush undertone at the top, creamy pinkish-yellow in the middle,
   and the faintest pale lilac-pink at the bottom. Same gradient on all three arches. */
.teach-card.is-rich .teach-card-in{
  background:linear-gradient(180deg, #fdf8ee 0%, #fcf4e9 26%, #faf0e2 52%, #f9ede4 76%, #f4eaed 100%);
}

/* Bufo and Kambo description pages: the content area uses the same soft gradient mood as the arches (champagne ivory with a blush
   undertone, creamy pinkish-yellow, and a whisper of pale lilac-pink at the foot). The boxes stay light and clean with their gold borders. */
body[data-teach-slug="bufo"] .cx-main, body[data-teach-slug="kambo"] .cx-main{
  background:linear-gradient(180deg, #fdf8ee 0%, #fcf4e9 26%, #faf0e2 52%, #f9ede4 76%, #f4eaed 100%);
}
body[data-teach-slug="bufo"] .cx-grid-tint .cx-sec, body[data-teach-slug="kambo"] .cx-grid-tint .cx-sec,
body[data-teach-slug="bufo"] .cx-grid-tint .cx-seek, body[data-teach-slug="kambo"] .cx-grid-tint .cx-seek,
body[data-teach-slug="bufo"] .cx-grid-tint .cx-note, body[data-teach-slug="kambo"] .cx-grid-tint .cx-note{
  background:linear-gradient(180deg, rgba(255,253,248,.92), rgba(254,248,238,.86));
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 8px 24px rgba(138,106,60,.07);
}

/* Hero photo arches: no separate blue fill inside the gold frame. The frame is transparent, so the space around the photograph is
   exactly the hero's own deep navy. Padding, gold outline, proportions and the photograph are unchanged. */
.cx-hero-fig{ background:transparent; }

/* Hero BOOK A CALL (dark hero only): resting colour = the Sacred Ceremonies compact-list cards (.off-row, styles.css: rgba(12,22,56,.55)),
   thin antique-gold border and gold lettering as before. Hover / focus / press: the site's warm gold (copied from the Energy Healing gold
   button, .eh-cta-gold) with deep navy lettering and its soft golden glow. Size, type and position are unchanged. The cream-section
   buttons and the arch buttons keep their own navy. */
.cx-hero .cx-book{ background:rgba(12,22,56,.55); box-shadow:0 0 0 rgba(214,185,120,0); transition:background .35s ease, color .35s ease, border-color .35s ease, filter .28s ease, box-shadow .28s ease, transform .2s ease; }
.cx-hero .cx-book:hover, .cx-hero .cx-book:focus-visible, .cx-hero .cx-book:active{
  background:linear-gradient(rgba(232,214,164,.5),rgba(232,214,164,.5)), #d9a63a url("/assets/rts-gold-foil.webp") center / cover no-repeat;
  color:#14183f; border-color:var(--gold-light,#e8cf8a); box-shadow:0 8px 22px rgba(198,162,68,.19), 0 0 20px rgba(214,185,120,.26); filter:brightness(1.09); }
.cx-hero .cx-book:active{ transform:scale(.97); filter:brightness(1.18); box-shadow:0 0 26px rgba(214,185,120,.5); }
@media (hover:none){ .cx-hero .cx-book:hover{ transform:none; } .cx-hero .cx-book:active{ transform:scale(.97); } }
@media (prefers-reduced-motion:reduce){ .cx-hero .cx-book:active{ transform:none; } }
