/* Soul Healing Portal v2 — luxe light-code layer.
   Visual only. Copy, anchors, forms, and prices stay in the page HTML. */

html, body { overflow-x: hidden; }
body { letter-spacing: 0.011em; }
input, textarea, select { letter-spacing: 0; }

h1, h2, h3, .brand { letter-spacing: 0.07em; }
.topline .kicker, .kicker { letter-spacing: 0.36em; }

.panel {
  margin-top: 44px;
  padding: 54px clamp(20px, 5vw, 58px);
}
.topline { padding-top: 48px; }
.mast { padding-top: 20px; }

.divider {
  position: relative;
  width: 168px;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(224,182,92,0.02), rgba(246,231,193,0.95), rgba(224,182,92,0.02));
}
.tone .divider,
.panel .divider {
  background: linear-gradient(90deg, rgba(224,182,92,0.02), rgba(246,231,193,0.95), rgba(224,182,92,0.02));
}
.divider::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #fff8e6, transparent);
  animation: lc-travel 6.4s ease-in-out infinite;
}
@keyframes lc-travel {
  0% { transform: translateX(-16px); opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateX(150px); opacity: 0; }
}

/* Faint sacred-geometry watermark across the full-bleed teal bands. */
.tone-band { overflow: hidden; }
.tone-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(640px, 78vw);
  height: min(640px, 78vw);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23E0B65C' stroke-width='0.45'%3E%3Ccircle cx='100' cy='100' r='28'/%3E%3Ccircle cx='128' cy='100' r='28'/%3E%3Ccircle cx='114' cy='124.2' r='28'/%3E%3Ccircle cx='86' cy='124.2' r='28'/%3E%3Ccircle cx='72' cy='100' r='28'/%3E%3Ccircle cx='86' cy='75.8' r='28'/%3E%3Ccircle cx='114' cy='75.8' r='28'/%3E%3Ccircle cx='100' cy='100' r='56'/%3E%3Ccircle cx='100' cy='100' r='84'/%3E%3Cline x1='100' y1='6' x2='100' y2='194' stroke-width='0.35'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.tone-band.deep::before { top: 18%; opacity: 0.12; }
.tone-band.visual::before { opacity: 0.05; }

.pillar,
.theme-card,
.journey-step,
.faq-item,
.card,
.practice-card,
.stat-card,
.pillar-card,
.season,
.festival-card,
.glance article,
.bio-hold,
.packages li {
  border-color: rgba(176, 132, 48, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 248, 230, 0.28),
    0 20px 44px -30px rgba(40, 30, 10, 0.48),
    0 0 26px rgba(201, 168, 76, 0.07);
}
.card.featured {
  border-color: rgba(166, 122, 42, 0.9);
  box-shadow:
    0 0 0 1px rgba(232, 201, 130, 0.75),
    0 0 0 6px rgba(215, 181, 106, 0.16),
    0 22px 46px -28px rgba(40, 30, 10, 0.5);
}
.hero-cta,
.submit-btn,
.nav-cta {
  box-shadow:
    0 0 0 1px rgba(255, 244, 210, 0.45),
    0 12px 28px -16px rgba(90, 60, 20, 0.85),
    0 0 22px rgba(215, 181, 106, 0.28);
}
.nav-cta { box-shadow: 0 0 16px rgba(201, 168, 76, 0.16); }
.banner-frame {
  box-shadow:
    0 0 0 1px rgba(90, 62, 16, 0.28),
    0 18px 42px -18px rgba(28, 18, 6, 0.55),
    0 0 32px rgba(201, 168, 76, 0.32);
}

/* Header plate. Desktop: photo ~70% wide, centered in a dark-green mat that fits the first viewport.
   Phone: 7% side inset, natural height. The shared sheet is what /shp/partners uses. */
.portal-hero {
  position: relative;
  z-index: 3;
  padding-top: 76px;
  background: #071F1D;
}
.portal-hero::after {
  content: "";
  display: block;
  height: 64px;
  background: linear-gradient(180deg, #0A2A28 0%, #f7f1e4 100%);
}
.portal-hero-frame {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(56vh, 540px);
  background: #0A2A28;
}
.portal-hero-stage {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  min-width: 0;
  width: min(70%, calc((100vh - 76px - 56px) * 1.5));
  width: min(70%, calc((100dvh - 76px - 56px) * 1.5));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 92%, transparent);
  mask-composite: intersect;
  box-shadow: 0 0 22px 4px rgba(255, 196, 90, 0.1);
  animation: portalHalo 12s ease-in-out 5.4s infinite;
}
.portal-hero-stage img {
  transform-origin: center center;
  filter: blur(8px) brightness(0.56);
  opacity: 0.9;
  animation: portalFocus 5.6s cubic-bezier(.45, .04, .2, 1) both;
}
@keyframes portalFocus {
  0%, 22% { filter: blur(8px) brightness(0.56); opacity: 0.9; }
  58% { filter: blur(2.2px) brightness(0.8); opacity: 0.97; }
  100% { filter: none; opacity: 1; }
}
@keyframes portalHalo {
  0%, 100% { box-shadow: 0 0 22px 4px rgba(255, 196, 90, 0.12), 0 0 48px 12px rgba(232, 168, 70, 0.06); }
  50% { box-shadow: 0 0 36px 10px rgba(255, 216, 140, 0.22), 0 0 72px 20px rgba(255, 186, 80, 0.1); }
}
.portal-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 36%, rgba(255, 236, 190, 0) 46%, rgba(255, 250, 230, 0.2) 50%, rgba(255, 236, 190, 0) 54%, transparent 64%);
  background-size: 240% 100%;
  mix-blend-mode: screen;
  animation: lcSheen 18s ease-in-out 5.5s infinite;
}
@keyframes lcSheen {
  0%, 18% { background-position: 130% 0; }
  70%, 100% { background-position: -40% 0; }
}
.portal-hero-stage::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 62%;
  height: 16%;
  z-index: 4;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 246, 214, 0) 44%, rgba(255, 252, 236, 0.42) 50%, rgba(255, 246, 214, 0) 56%, transparent 68%);
  background-size: 220% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  animation: lcTitleSheen 16s ease-in-out 4.8s infinite;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 12%, transparent 30% 70%, #000 88% 100%);
  mask-image: linear-gradient(to bottom, #000 0 12%, transparent 30% 70%, #000 88% 100%);
}
@keyframes lcTitleSheen {
  0%, 22% { background-position: 120% 0; opacity: 0; }
  36% { opacity: 1; }
  78%, 100% { background-position: -30% 0; opacity: 0.7; }
}
.frame-plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
}
.frame-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0.22;
}
.frame-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 48%, rgba(8, 36, 34, 0.45) 0%, rgba(7, 31, 29, 0.78) 58%, rgba(7, 31, 29, 0.92) 100%);
}
#portal-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
}
.portal-hero-stage picture,
.portal-hero-stage img { display: block; width: 100%; max-width: 100%; height: auto; }
.portal-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 47%, rgba(255,214,120,.28), rgba(255,190,90,.08) 22%, transparent 42%);
  opacity: 0.16;
  animation: portalBreathe 11s ease-in-out 5.3s infinite;
}
@keyframes portalBreathe { 0%, 100% { opacity: .16; } 50% { opacity: .32; } }
#portal-dust { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.portal-hero-vig {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 190% 150% at 50% 40%, transparent 72%, rgba(4,20,18,.5) 100%),
    linear-gradient(to bottom, rgba(4,20,18,.32), transparent 14%);
}

/* Full-bleed reference plates between sections. Text sits above the shade. */
.tone.lc-visual { background: transparent; position: relative; }
.lc-visual > *:not(.lc-bleed) { position: relative; z-index: 1; }
.lc-bleed {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.lc-bleed img {
  display: block;
  width: 100%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}
.lc-bleed--portal img { object-position: center 42%; }
.lc-bleed--temple img { object-position: center 46%; }
.lc-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,16,15,0.42) 0%, rgba(5,16,15,0.76) 12%, rgba(5,16,15,0.78) 50%, rgba(5,16,15,0.76) 88%, rgba(5,16,15,0.42) 100%);
}
.lc-visual .vat-note,
.lc-visual .care-note,
.lc-visual .after-note,
.lc-visual .why-note,
.lc-visual .disclosure {
  color: #C6DDD5;
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .lc-parallax img { will-change: transform; }
}

.mast { padding-top: 18px; }

@media (max-width: 720px) {
  .panel { padding: 32px 18px; margin-top: 26px; }
  .topline { padding-top: 28px; }
  .portal-hero { padding-top: 70px; }
  .portal-hero-frame {
    display: block;
    height: auto;
    padding: 8px 7% 8px;
  }
  .portal-hero-stage { width: 100%; animation: none; box-shadow: 0 0 18px 4px rgba(255, 196, 90, 0.16); }
  .portal-hero-stage img { height: 42vh; max-height: 360px; object-fit: cover; object-position: center 58%; }
  .portal-hero::after { height: 48px; }
  .mast { padding-top: 12px; }
  .lc-bleed img { height: 100%; }
  .lc-shade {
    background: linear-gradient(180deg, rgba(5,16,15,0.82) 0%, rgba(5,16,15,0.78) 46%, rgba(5,16,15,0.84) 100%);
  }
  .tone-band::before { width: min(420px, 90vw); height: min(420px, 90vw); opacity: 0.1; }
  h1, h2 { letter-spacing: 0.055em; }
}

@media (prefers-reduced-motion: reduce) {
  .divider::after { animation: none; opacity: 0; }
  .lc-bleed img { height: 100%; transform: none !important; }
  .portal-hero-frame::after,
  .portal-hero-stage::after { animation: none; opacity: 0; }
  .portal-hero-stage { animation: none; box-shadow: 0 0 22px 6px rgba(255, 196, 90, 0.16); }
  .portal-hero-stage img { animation: none !important; filter: none !important; opacity: 1 !important; }
  .portal-hero-glow { animation: none; opacity: 0.22; }
}
