/* Sacred Medicine Journeys (/medicine/), English.
   Mood: a priestess temple at night, the darkest page on the site. Warm black and brown,
   oxblood, candle gold. Slow smoke, drifting candle light and fine gold dust, thin serif type
   with ornamental gold dividers. Base fonts, header, pills, form fields and footer come from
   ../styles.css (body.sf); this file turns them dark. Patterns borrowed from ../gold-digger/gold-digger.css. */

.md-page {
  --night: #0E0907;          /* warm black: page */
  --earth: #1A100B;          /* deep brown: alternate rooms */
  --earth-2: #24150E;
  --oxblood: #4A0F0C;
  --oxblood-deep: #2A0806;
  --candle: #E8B060;         /* candle flame, decorative only */
  --gold-soft: #F1E2CB;      /* headings on dark (15:1 on --night) */
  --focus: var(--brass-light);
  --line-dark: rgba(220, 196, 143, 0.3);
  background: var(--night);
  color: var(--on-dark);
}
/* The site-wide grain is a dark multiply layer; on this black page a light grain reads better */
.md-page::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.92 0 0 0 0 0.8 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: overlay;
}
.md-page p + p { margin-top: 1.1rem; }
.md-page img, .md-page canvas { display: block; max-width: 100%; }
.md-page .skip-link { background: var(--brass-light); color: var(--black); }

/* ---------- Header and footer, dark ---------- */
.md-page .sf-header { background: rgba(14, 9, 7, 0.92); border-bottom-color: var(--line-dark); }
.md-page .sf-mark, .md-page .sf-nav ul a { color: var(--gold-soft); }
.md-page .sf-mark-by { color: var(--brass-light); }
.md-page .sf-nav ul a { background-image: linear-gradient(var(--brass-light), var(--brass-light)); }
.md-page .sf-nav ul a:hover, .md-page .sf-nav ul a:focus-visible { color: var(--brass-light); }
.md-page .sf-header .pill { background: transparent; border-color: var(--brass-light); color: var(--brass-light); }
.md-page .sf-header .pill:hover, .md-page .sf-header .pill:focus-visible { background: var(--brass-light); color: var(--black); box-shadow: none; }
@media (max-width: 860px) {
  .md-page .sf-burger { color: var(--gold-soft) !important; border-color: rgba(220, 196, 143, 0.6) !important; }
  .js .md-page .sf-nav { background: var(--night); border-bottom-color: var(--line-dark); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.9); }
  .js .md-page .sf-nav ul a { border-bottom-color: rgba(220, 196, 143, 0.2); }
}
.md-page .sf-footer { background: radial-gradient(40% 80% at 50% 0%, rgba(232, 176, 96, 0.14), rgba(232, 176, 96, 0) 70%), var(--black-deep); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.md-page .sf-footer .sf-ornament { color: var(--brass-light); }
.md-page .sf-footer .sf-ornament span { background: linear-gradient(90deg, rgba(220, 196, 143, 0), var(--brass-light)); }
.md-page .sf-footer-script { color: var(--brass-light); }
.md-page .sf-social a { border-color: var(--brass-light); color: var(--brass-light); }
.md-page .sf-social a:hover, .md-page .sf-social a:focus-visible { background: var(--brass-light); color: var(--black); }
.md-page .sf-footer-copy { color: var(--on-dark-muted); }

/* ---------- Shared type ---------- */
.md-kicker { margin-bottom: 1.1rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 700; line-height: 1.6; letter-spacing: 0.34em; text-transform: uppercase; color: var(--brass-light); }
.md-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.1; letter-spacing: 0.005em; color: var(--gold-soft); text-wrap: balance; }
.md-h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass-light); }
.md-lead { margin-top: 1.4rem; font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.6; color: var(--gold-soft); }
.md-punch { margin-top: 1.8rem !important; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem); line-height: 1.35; color: var(--brass-light); text-wrap: balance; }
.md-center { text-align: center; margin-inline: auto; }
.md-small { margin-top: 1.1rem; font-size: 0.86rem; color: var(--on-dark-muted); }

/* Ornament divider: gold hairline, a small diamond with a halo, gold hairline */
.md-divider { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 1.8rem auto; color: var(--brass-light); }
.md-divider span { width: clamp(3rem, 10vw, 6.5rem); height: 1px; background: linear-gradient(90deg, rgba(220, 196, 143, 0), currentColor); }
.md-divider span:last-child { transform: scaleX(-1); }
.md-divider i { position: relative; width: 0.5rem; height: 0.5rem; border: 1px solid currentColor; transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(220, 196, 143, 0.12), 0 0 14px rgba(232, 176, 96, 0.45); }
.md-divider i::after { content: ""; position: absolute; inset: 0.14rem; background: currentColor; }
.md-divider--left { justify-content: flex-start; margin-left: 0; }
.md-divider--left span:first-child { display: none; }

/* ---------- Layout ---------- */
.md-section { position: relative; padding: var(--section-y) var(--pad-x); }
.md-wrap { max-width: 74rem; margin: 0 auto; }
.md-narrow { max-width: 46rem; margin: 0 auto; }
.md-two { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.md-two--rev > :first-child { order: 2; }

/* Photo frames: arch (temple door) and inset frame, both with an offset gold hairline */
.md-arch { position: relative; margin: 0; justify-self: center; width: min(26rem, 100%); aspect-ratio: 3 / 4.3; }
.md-arch img, .md-arch video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.9); }
.md-arch::before { content: ""; position: absolute; inset: 0; z-index: 0; border: 1px solid var(--brass); border-radius: 999px 999px 0 0; transform: translate(0.85rem, 0.85rem); pointer-events: none; }
.md-frame { position: relative; margin: 0; }
.md-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.2rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.md-frame::before { content: ""; position: absolute; inset: -0.75rem 0.75rem 0.75rem -0.75rem; border: 1px solid var(--brass); border-radius: 1.5rem; pointer-events: none; }
.md-frame--tall { justify-self: center; width: min(28rem, 100%); aspect-ratio: 4 / 5; }
.md-frame--portrait { justify-self: center; width: min(24rem, 100%); aspect-ratio: 2 / 3; }

/* ---------- 1. Hero: the temple at night ---------- */
.md-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(calc(100svh - 4.5rem), 58rem);
  padding: clamp(4.5rem, 9vw, 7rem) var(--pad-x);
  background: radial-gradient(110% 90% at 72% 20%, #2C150D 0%, var(--earth) 40%, var(--night) 100%);
}
.md-hero::after { content: ""; position: absolute; inset: clamp(0.75rem, 1.6vw, 1.25rem); z-index: 4; border: 1px solid rgba(220, 196, 143, 0.28); border-radius: 999px 999px 1.25rem 1.25rem / 14rem 14rem 1.25rem 1.25rem; pointer-events: none; }
.md-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Photo on the right, melting into the dark on the left */
.md-scene-img { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; height: 100%; object-fit: cover; object-position: 40% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%); mask-image: linear-gradient(90deg, transparent 0%, #000 36%); }
.md-glow { position: absolute; left: 48%; top: -25%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(255, 206, 140, 0.24), rgba(232, 176, 96, 0.08) 50%, rgba(232, 176, 96, 0) 75%); mix-blend-mode: screen; }
.md-smoke { position: absolute; inset: -20%; mix-blend-mode: screen; filter: blur(34px); }
.md-smoke--a { background: radial-gradient(34% 22% at 28% 72%, rgba(200, 150, 100, 0.16), rgba(200, 150, 100, 0) 70%), radial-gradient(28% 20% at 62% 40%, rgba(120, 24, 20, 0.32), rgba(120, 24, 20, 0) 70%); }
.md-smoke--b { background: radial-gradient(38% 18% at 72% 82%, rgba(220, 196, 143, 0.12), rgba(220, 196, 143, 0) 70%), radial-gradient(26% 28% at 12% 30%, rgba(90, 16, 11, 0.4), rgba(90, 16, 11, 0) 70%); }
.md-dustfield { position: absolute; inset: 0; width: 100%; height: 100%; }
.md-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 9, 7, 0.9) 0%, rgba(14, 9, 7, 0.55) 34%, rgba(14, 9, 7, 0) 60%), radial-gradient(120% 100% at 62% 40%, rgba(14, 9, 7, 0) 45%, rgba(14, 9, 7, 0.8) 100%); }

.md-hero-copy { position: relative; z-index: 5; width: 100%; max-width: 74rem; margin: 0 auto; }
.md-hero-copy > * { max-width: 36rem; }
.md-hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 1.3rem + 5vw, 5.6rem); line-height: 1.02; letter-spacing: 0.01em; color: var(--gold-soft); text-wrap: balance; }
.md-hero-title em { display: block; margin-top: 0.12em; font-style: italic; color: var(--brass-light); text-shadow: 0 0 40px rgba(232, 176, 96, 0.35); }
.md-hero-text { color: var(--on-dark); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.75; }
.md-pill { margin-top: 2.2rem; border-color: var(--brass-light); background: var(--brass-light); color: var(--black); }
.md-pill:hover, .md-pill:focus-visible { background: transparent; color: var(--brass-light); box-shadow: 0 0 0 6px rgba(220, 196, 143, 0.14), 0 0 40px rgba(232, 176, 96, 0.3); }

/* ---------- 2. Opening ---------- */
.md-open { background: linear-gradient(180deg, var(--night), var(--earth)); }
.md-open .md-divider { margin-top: 0; }
.md-open .md-narrow > p:not(.md-lead) { margin-top: 1.4rem; color: var(--on-dark); }
.md-open-photo { width: min(60rem, 100%); margin: clamp(3.5rem, 7vw, 5.5rem) auto 0; aspect-ratio: 1400 / 932; }
.md-open-photo img { object-position: 35% 40%; }

/* ---------- 3. For you, if.. ---------- */
.md-for { background: var(--earth); }
.md-list { margin-top: 2rem; }
.md-list li { position: relative; padding: 1rem 0 1rem 2.4rem; border-top: 1px solid var(--line-dark); color: var(--on-dark); }
.md-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.md-list li::before { content: ""; position: absolute; left: 0.25rem; top: 1.7rem; width: 0.5rem; height: 0.5rem; border: 1px solid var(--brass-light); transform: rotate(45deg); box-shadow: 0 0 10px rgba(232, 176, 96, 0.35); }

/* ---------- 4. Deeper capacity: oxblood velvet ---------- */
.md-velvet { overflow: hidden; background: radial-gradient(60% 70% at 85% 20%, rgba(232, 176, 96, 0.12), rgba(232, 176, 96, 0) 70%), linear-gradient(165deg, #5A120E 0%, var(--oxblood) 40%, var(--oxblood-deep) 100%); box-shadow: inset 0 0 14rem rgba(8, 3, 2, 0.65); }
.md-velvet p:not(.md-kicker):not(.md-lead) { color: var(--on-dark); }
.md-velvet .md-frame::before { border-color: var(--brass-light); }

/* ---------- 5. The temple ---------- */
.md-temple { background: radial-gradient(50% 50% at 20% 60%, rgba(232, 176, 96, 0.08), rgba(232, 176, 96, 0) 70%), var(--night); }
.md-temple p:not(.md-kicker):not(.md-lead):not(.md-punch) { color: var(--on-dark); }
.md-pair { position: relative; width: min(30rem, 100%); justify-self: center; padding-bottom: 3rem; }
.md-arch--big { width: 82%; justify-self: start; margin: 0; }
.md-arch--small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; }
.md-arch--small img { border: 0.4rem solid var(--night); }
.md-arch--small::before { display: none; }

/* ---------- 6. Integration ---------- */
.md-after { background: linear-gradient(180deg, var(--night), var(--earth-2)); }

/* ---------- 7. The prayer: a centred poem in candlelight ---------- */
.md-prayer { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(100svh, 52rem); padding: var(--section-y) var(--pad-x); background: var(--night); text-align: center; }
.md-prayer-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; opacity: 0.5; }
.md-prayer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 50%, rgba(14, 9, 7, 0.55), rgba(14, 9, 7, 0.92) 100%), linear-gradient(180deg, var(--earth-2), rgba(14, 9, 7, 0) 25%, rgba(14, 9, 7, 0) 75%, var(--night)); }
.md-prayer::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: min(60rem, 140%); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(232, 176, 96, 0.14), rgba(232, 176, 96, 0) 70%); pointer-events: none; }
.md-prayer-inner { max-width: 44rem; }
.md-prayer .md-kicker { margin-bottom: 0; }
.md-poem { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.2rem); line-height: 1.5; color: var(--gold-soft); }
.md-poem p + p { margin-top: 1.3em; }
.md-poem p:last-child { color: var(--brass-light); }

/* ---------- 8. Love from clients ---------- */
.md-love { background: var(--earth); }
.md-quote { margin: 0; }
.md-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.4; color: var(--gold-soft); text-wrap: balance; }
.md-love .md-narrow::before { content: ""; display: block; width: 1px; height: 4rem; margin: 0 auto 2rem; background: linear-gradient(180deg, rgba(220, 196, 143, 0), var(--brass-light)); }

/* ---------- 9. Care & safety ---------- */
.md-care { background: linear-gradient(180deg, var(--earth), var(--night)); }
.md-arch--care { width: min(22rem, 100%); }

/* ---------- 10. Waitlist ---------- */
.md-waitlist {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--section-y) var(--pad-x);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(232, 176, 96, 0.16), rgba(232, 176, 96, 0) 70%),
    linear-gradient(180deg, var(--oxblood-deep), var(--night) 70%);
}
.md-dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--dust); background-size: var(--dust-size); opacity: 0.7; }
.md-wait-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.md-arch--wait { width: min(24rem, 100%); }
.md-arch--wait::before { border-color: var(--brass-light); }
.md-card { position: relative; padding: clamp(2.4rem, 5vw, 3.8rem); border: 1px solid var(--brass); outline: 1px solid rgba(220, 196, 143, 0.5); outline-offset: -12px; background: rgba(14, 9, 7, 0.6); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 120px -40px rgba(232, 176, 96, 0.35); }
.md-corner { position: absolute; width: 1.6rem; height: 1.6rem; border: 0 solid var(--brass-light); }
.md-corner--tl { top: 20px; left: 20px; border-top-width: 1px; border-left-width: 1px; }
.md-corner--tr { top: 20px; right: 20px; border-top-width: 1px; border-right-width: 1px; }
.md-corner--bl { bottom: 20px; left: 20px; border-bottom-width: 1px; border-left-width: 1px; }
.md-corner--br { bottom: 20px; right: 20px; border-bottom-width: 1px; border-right-width: 1px; }
.md-wait-text { margin-top: 1.2rem; color: var(--on-dark); }
.md-form { margin-top: 2rem; }
.md-page .gift-submit { background: var(--brass-light); color: var(--black); }
.md-page .gift-submit::before { background: var(--paper); }
.md-page .gift-submit:hover, .md-page .gift-submit:focus-visible { color: var(--black); }
.md-page .gift-success { margin-top: 1.5rem; color: var(--gold-soft); }

/* ---------- Motion: slow smoke, breathing candle light. Only when welcome. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .md-smoke--a { animation: md-drift-a 44s ease-in-out infinite alternate; }
  .md-smoke--b { animation: md-drift-b 58s ease-in-out infinite alternate; }
  .md-glow { animation: md-flicker 8s steps(1, end) infinite, md-breathe 12s ease-in-out infinite alternate; }
  .md-prayer::after { animation: md-breathe 14s ease-in-out infinite alternate; }
  .md-hero-copy > * { animation: md-rise 1.6s var(--ease-out) both; }
  .md-hero-copy > :nth-child(2) { animation-delay: 0.15s; }
  .md-hero-copy > :nth-child(3) { animation-delay: 0.35s; }
  .md-hero-copy > :nth-child(4) { animation-delay: 0.5s; }
  .md-hero-copy > :nth-child(5) { animation-delay: 0.65s; }
  .md-scene-img { animation: md-fade 2.4s var(--ease-fade) both; }
}
@keyframes md-drift-a { from { transform: translate3d(-4%, 2%, 0) scale(1); } to { transform: translate3d(5%, -4%, 0) scale(1.12); } }
@keyframes md-drift-b { from { transform: translate3d(4%, -2%, 0) scale(1.1); } to { transform: translate3d(-5%, 3%, 0) scale(1); } }
@keyframes md-flicker { 0%, 100% { opacity: 1; } 29% { opacity: 0.85; } 31% { opacity: 1; } 63% { opacity: 0.92; } 65% { opacity: 0.98; } 87% { opacity: 0.88; } 89% { opacity: 1; } }
@keyframes md-breathe { from { filter: brightness(0.9); } to { filter: brightness(1.1); } }
@keyframes md-rise { from { opacity: 0; transform: translateY(1.4rem); } to { opacity: 1; transform: none; } }
@keyframes md-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .md-wait-grid { grid-template-columns: minmax(0, 1fr); max-width: 38rem; margin-inline: auto; }
  .md-arch--wait { width: min(18rem, 72%); }
}
@media (max-width: 860px) {
  .md-two { grid-template-columns: minmax(0, 1fr); }
  .md-two--rev > :first-child { order: 0; }
  .md-arch, .md-frame--tall, .md-frame--portrait { width: min(20rem, 80%); }
  .md-pair { width: min(24rem, 92%); }
  .md-pair .md-arch--big { width: 78%; justify-self: start; }
  .md-pair .md-arch--small { width: 44%; }
  /* Hero: photo on top, words below in the dark */
  .md-hero { justify-content: flex-end; min-height: min(calc(100svh - 4rem), 52rem); padding-top: clamp(18rem, 78vw, 28rem); padding-bottom: clamp(3rem, 8vw, 4.5rem); }
  .md-scene-img { width: 100%; bottom: 30%; height: 70%; object-position: 40% 22%; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .md-vignette { background: linear-gradient(180deg, rgba(14, 9, 7, 0) 0%, rgba(14, 9, 7, 0.35) 35%, rgba(14, 9, 7, 0.9) 62%, rgba(14, 9, 7, 0.98) 100%), radial-gradient(120% 90% at 50% 25%, rgba(14, 9, 7, 0) 40%, rgba(14, 9, 7, 0.7) 100%); }
  .md-glow { left: 10%; width: 90%; }
  .md-hero::after { border-radius: 999px 999px 1rem 1rem / 9rem 9rem 1rem 1rem; }
}
@media (max-width: 560px) {
  .md-hero .md-pill { width: 100%; }
  .md-card { padding: 2.6rem 1.4rem 2.2rem; outline-offset: -9px; }
  .md-corner--tl, .md-corner--tr { top: 15px; } .md-corner--bl, .md-corner--br { bottom: 15px; }
  .md-corner--tl, .md-corner--bl { left: 15px; } .md-corner--tr, .md-corner--br { right: 15px; }
  .md-kicker { letter-spacing: 0.24em; }
  .md-list li { padding-left: 2rem; }
  .md-poem p { text-wrap: balance; }
}

/* 17 Nov 2026: interactive magic (magic.js) */
.md-glitter { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.md-river { position: relative; min-height: clamp(20rem, 50vw, 34rem); display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 60% at 50% 70%, rgba(214, 160, 80, 0.16), rgba(11, 7, 5, 0) 70%), #0b0705; }
.md-river-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.8); }
.md-river::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11, 7, 5, 0) 40%, rgba(11, 7, 5, 0.75) 100%), linear-gradient(180deg, rgba(11, 7, 5, 0.85) 0%, rgba(11, 7, 5, 0) 22%, rgba(11, 7, 5, 0) 78%, rgba(11, 7, 5, 0.9) 100%); pointer-events: none; }
.md-river-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.md-river-inner { position: relative; z-index: 2; text-align: center; padding: 2rem 1rem; pointer-events: none; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7); }
.md-river-hint { margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 236, 190, 0.85); }
@media (prefers-reduced-motion: reduce) { .md-river-hint { display: none; } .md-river { cursor: auto; } }
@media (prefers-reduced-motion: reduce) { video.md-river-img { display: none; } .md-river { background: url("../images/medicine/golden-river-glitter-poster.jpg") center / cover, #0b0705; } }
.md-quote--long { margin-top: 2.6rem; }
.md-quote--long p { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem); line-height: 1.7; }
.md-quote footer { margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-light, #DCC48F); }

/* 6b. Light body: fine gold geometry breathing on a dark band (lightbody.js) */
.md-lightbody { position: relative; height: min(100svh, 52rem); background: radial-gradient(45% 55% at 50% 50%, rgba(140, 96, 40, 0.32), rgba(14, 9, 7, 0) 70%), #0b0806; overflow: hidden; }
.md-lightbody-canvas { display: block; width: 100%; height: 100%; }
/* the light body inside the private retreat arch */
.md-arch .md-lightbody { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 999px 999px 0 0; box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.9); }

/* ===== 19 Nov 2026: more variety, inspired by layered course pages. Each room gets its own shape. ===== */

/* 2. Words over a sunlit river, full width */
.md-veil { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(100svh, 46rem); padding: var(--section-y) var(--pad-x); background: var(--night); }
.md-veil-bg { position: absolute; inset: -2%; z-index: -2; width: 104%; height: 104%; max-width: none; object-fit: cover; object-position: 60% 60%; filter: blur(3px) saturate(1.05); }
.md-veil::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(14, 9, 7, 0.55), rgba(14, 9, 7, 0.88) 100%), linear-gradient(180deg, var(--night) 0%, rgba(14, 9, 7, 0) 18%, rgba(14, 9, 7, 0) 82%, var(--earth) 100%); }
.md-veil .md-divider { margin-top: 0; }
.md-veil .md-lead { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7); }
.md-veil .md-narrow > p:not(.md-lead) { margin-top: 1.4rem; color: var(--on-dark); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8); }

/* 3. For you: a warm light room, photos scattered around the list */
.md-for--light { --sand: #F1E6D3; position: relative; overflow: hidden; background: radial-gradient(60% 60% at 50% 40%, #FBF4E8, var(--sand) 70%), var(--sand); color: #3A2418; }
.md-for--light .md-h2 { color: #2A160E; }
.md-for--light .md-h2 em { color: #8A5A1E; }
.md-for-inner { position: relative; z-index: 2; max-width: 40rem; margin: 0 auto; }
.md-checks { margin-top: 2.4rem; }
.md-checks li { padding: 0.95rem 0 0.95rem 2.6rem; border-top: 1px solid rgba(138, 90, 30, 0.22); color: #3A2418; font-size: 1.05rem; line-height: 1.6; }
.md-checks li:last-child { border-bottom: 1px solid rgba(138, 90, 30, 0.22); }
.md-checks li::before { left: 0; top: 1.15rem; width: 1.3rem; height: 1.3rem; border: 1px solid #8A5A1E; border-radius: 50%; transform: none; box-shadow: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%238A5A1E' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.md-float { position: absolute; z-index: 1; margin: 0; box-shadow: 0 30px 60px -30px rgba(60, 30, 10, 0.55); }
.md-float img { width: 100%; height: 100%; object-fit: cover; }
.md-float--a { left: max(2vw, calc(50% - 40rem)); top: 12%; width: clamp(9rem, 15vw, 15rem); aspect-ratio: 3 / 4.4; rotate: -4deg; }
.md-float--a img { border-radius: 999px 999px 0 0; }
.md-float--b { right: max(2vw, calc(50% - 40rem)); bottom: 10%; width: clamp(9rem, 16vw, 16rem); aspect-ratio: 4 / 5; rotate: 3deg; border: 0.5rem solid #FBF4E8; }
@media (max-width: 1100px) {
  .md-float { position: relative; left: auto; right: auto; top: auto; bottom: auto; display: inline-block; width: min(11rem, 40vw); vertical-align: top; }
  .md-for--light { text-align: center; }
  .md-float--b { margin-left: -1.5rem; margin-top: 2.5rem; }
  .md-for-inner { margin-top: 2.5rem; text-align: left; }
  .md-for-inner .md-h2 { text-align: center; }
}

/* 4. Capacity: the serpent fills the right of the room, words on velvet */
.md-bleed { padding-block: clamp(5rem, 11vw, 9rem); }
.md-bleed-img { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); opacity: 0.9; }
.md-bleed .md-wrap { position: relative; z-index: 1; }
.md-bleed-copy { max-width: 34rem; }
@media (max-width: 860px) {
  .md-bleed { padding-top: 0; }
  .md-bleed-img { position: relative; width: calc(100% + 2 * var(--pad-x)); margin: 0 calc(-1 * var(--pad-x)) 2.5rem; height: 26rem; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
}

/* 5. The temple: crystal archway behind everything, words in a glass panel */
.md-temple--room { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) var(--pad-x); background: var(--night); }
.md-temple-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; opacity: 0.55; }
.md-temple--room::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 45%, rgba(14, 9, 7, 0.25), rgba(14, 9, 7, 0.85) 100%), linear-gradient(180deg, var(--night), rgba(14, 9, 7, 0) 20%, rgba(14, 9, 7, 0) 80%, var(--night)); }
.md-glass { max-width: 44rem; margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; border: 1px solid rgba(220, 196, 143, 0.35); border-radius: 999px 999px 1.4rem 1.4rem / 12rem 12rem 1.4rem 1.4rem; background: rgba(14, 9, 7, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9); }
.md-glass { padding-top: clamp(4rem, 9vw, 6rem); }
.md-glass p:not(.md-kicker):not(.md-lead) { color: var(--on-dark); }
.md-punch--big { max-width: 46rem; margin: clamp(3rem, 7vw, 5rem) auto 0 !important; font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); text-shadow: 0 0 40px rgba(232, 176, 96, 0.35); }

/* 6. After: her altar large, a light card overlapping its edge */
.md-overlap { background: linear-gradient(180deg, var(--night), var(--earth-2)); }
.md-overlap-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.md-overlap-photo { grid-column: 1 / span 6; grid-row: 1; margin: 0; aspect-ratio: 4 / 5; }
.md-overlap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; border-radius: 999px 999px 0 0; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95); }
.md-overlap-card { grid-column: 6 / span 7; grid-row: 1; z-index: 1; padding: clamp(2.2rem, 5vw, 3.6rem); background: #F1E6D3; color: #3A2418; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.md-overlap-card .md-kicker { color: #8A5A1E; }
.md-overlap-card .md-h2 { color: #2A160E; }
.md-overlap-card .md-h2 em { color: #8A5A1E; }
.md-overlap-card .md-lead { color: #3A2418; }
@media (max-width: 860px) {
  .md-overlap-photo { grid-column: 1 / -1; width: min(22rem, 86%); justify-self: center; }
  .md-overlap-card { grid-column: 1 / -1; grid-row: 2; margin: -4rem 0.5rem 0; }
}
/* tweaks: brighter backgrounds, love from clients as a light room */
.md-veil::before { background: radial-gradient(55% 60% at 50% 50%, rgba(14, 9, 7, 0.62), rgba(14, 9, 7, 0.25) 100%), linear-gradient(180deg, var(--night) 0%, rgba(14, 9, 7, 0) 16%, rgba(14, 9, 7, 0) 84%, var(--earth) 100%); }
.md-temple-bg { opacity: 0.8; }
.md-love { background: radial-gradient(60% 70% at 50% 30%, #FBF4E8, #F1E6D3 75%); }
.md-love .md-kicker { color: #8A5A1E; }
.md-love .md-quote p { color: #2A160E; }
.md-love .md-quote--long p { color: #4A3020; }
.md-love .md-quote footer { color: #8A5A1E; }
.md-love .md-narrow::before { background: linear-gradient(180deg, rgba(138, 90, 30, 0), #8A5A1E); }
/* her own photos: mirror floating beside the temple panel, hands with cacao above care */
.md-temple--room { display: grid; }
.md-temple-float { position: absolute; left: max(2rem, calc(50% - 38rem)); top: 50%; z-index: 1; width: clamp(10rem, 16vw, 15rem); aspect-ratio: 2 / 3; margin: 0; translate: 0 -50%; rotate: -3deg; border: 0.45rem solid rgba(241, 230, 211, 0.92); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.95); }
.md-temple-float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1180px) {
  .md-temple-float { position: relative; left: auto; top: auto; translate: none; justify-self: center; width: min(13rem, 56vw); margin-bottom: -2.5rem; z-index: 2; }
}
.md-care-photo { width: min(30rem, 100%); margin: 0 auto 2.6rem; aspect-ratio: 5 / 4; }
.md-care-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 1.2rem 1.2rem / 14rem 14rem 1.2rem 1.2rem; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
