
/* Healing Spirit / Unique Cinematic Backgrounds V2 */
body.hs-scene {
  background-color: #081725 !important;
  isolation: isolate;
}

body.hs-scene::before {
  content: "";
  position: fixed;
  inset: -18px;
  z-index: -1;
  background-image:
    linear-gradient(
      180deg,
      rgba(5,15,26,.70),
      rgba(8,21,34,.79) 48%,
      rgba(5,14,25,.87)
    ),
    var(--hs-scene-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(9px);
  pointer-events: none;
}

body.hs-scene main {
  background: transparent !important;
}

body.hs-scene main > section:not(:first-child) {
  background: rgba(9,24,39,.78) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-top: 1px solid rgba(218,177,121,.12);
}

body.hs-scene main > section:not(:first-child) p,
body.hs-scene main > section:not(:first-child) li {
  text-shadow: 0 1px 4px rgba(0,0,0,.22);
}

body.hs-scene main > section:not(:first-child) .card,
body.hs-scene main > section:not(:first-child) .panel,
body.hs-scene main > section:not(:first-child) article {
  background-color: rgba(10,27,43,.65);
  border-color: rgba(219,177,123,.2);
}

@media (max-width: 700px) {
  body.hs-scene::before {
    inset: -12px;
    filter: blur(6px);
  }
  body.hs-scene main > section:not(:first-child) {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8,23,38,.85) !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.hs-scene main > section:not(:first-child) {
    backdrop-filter: none;
    background: #10283e !important;
  }
}

body.hs-scene-home { --hs-scene-image: url('/assets/images/atmospheric/home.png'); }

body.hs-scene-start { --hs-scene-image: url('/assets/images/atmospheric/start.png'); }

body.hs-scene-guided { --hs-scene-image: url('/assets/images/atmospheric/guided.png'); }

body.hs-scene-wisdom { --hs-scene-image: url('/assets/images/atmospheric/wisdom.png'); }

body.hs-scene-daily20 { --hs-scene-image: url('/assets/images/atmospheric/daily20.png'); }

body.hs-scene-daily21 { --hs-scene-image: url('/assets/images/atmospheric/daily21.png'); }

body.hs-scene-quiet { --hs-scene-image: url('/assets/images/atmospheric/quiet.png'); }

body.hs-scene-journey { --hs-scene-image: url('/assets/images/atmospheric/journey.png'); }

body.hs-scene-studio { --hs-scene-image: url('/assets/images/atmospheric/studio.png'); }

body.hs-scene-academy { --hs-scene-image: url('/assets/images/atmospheric/academy.png'); }

body.hs-scene-community { --hs-scene-image: url('/assets/images/atmospheric/community.png'); }

body.hs-scene-about { --hs-scene-image: url('/assets/images/atmospheric/about.png'); }

body.hs-scene-contact { --hs-scene-image: url('/assets/images/atmospheric/contact.png'); }


/* HS_VISIBLE_BACKGROUND_FIX_V21_START */

/* Use the image as a genuine page background rather than
   placing it behind the body in a negative stacking layer. */
html:has(body.hs-scene) {
  background-color: #081725;
}

body.hs-scene {
  background-color: #081725 !important;
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 15, 27, .34) 0%,
      rgba(7, 20, 33, .39) 50%,
      rgba(5, 15, 27, .46) 100%
    ),
    var(--hs-scene-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  isolation: auto !important;
}

/* Disable the old invisible background layer. */
body.hs-scene::before {
  content: none !important;
  display: none !important;
}

/* Reveal the image through the existing content sections. */
body.hs-scene main {
  background: transparent !important;
}

body.hs-scene main > section,
body.hs-scene main > div,
body.hs-scene main > article {
  background: rgba(8, 22, 36, .56) !important;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Alternating translucent layers create visual separation. */
body.hs-scene main > section:nth-child(even) {
  background: rgba(7, 19, 32, .68) !important;
}

body.hs-scene main > section:nth-child(odd) {
  background: rgba(8, 23, 38, .48) !important;
}

/* Keep cards readable without concealing the full page. */
body.hs-scene main .card,
body.hs-scene main .panel,
body.hs-scene main .hsm-card,
body.hs-scene main .answer {
  background-color: rgba(10, 27, 44, .82) !important;
}

/* The navigation remains solid enough for readability. */
body.hs-scene .hs-luxe-header {
  background: rgba(8, 22, 36, .97) !important;
}

/* Make the atmospheric photograph visible on smaller screens. */
@media (max-width: 800px) {
  body.hs-scene {
    background-attachment: scroll !important;
    background-position: center top !important;
  }

  body.hs-scene main > section,
  body.hs-scene main > div,
  body.hs-scene main > article {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(8, 22, 36, .62) !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.hs-scene main > section,
  body.hs-scene main > div,
  body.hs-scene main > article {
    backdrop-filter: none;
    background-color: rgba(8, 22, 36, .9) !important;
  }
}

/* HS_VISIBLE_BACKGROUND_FIX_V21_END */


/* HS_SOLID_PURPLE_V3_START */

html:has(body.hs-scene),
body.hs-scene {
  background: #180f2b !important;
  background-color: #180f2b !important;
  background-image: none !important;
  background-attachment: scroll !important;
}

/* Remove the previous photographic atmosphere. */
body.hs-scene::before,
body.hs-scene::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Give all main page sections a consistent plum tone. */
body.hs-scene main {
  background: #180f2b !important;
  background-image: none !important;
  color: #f4eff9;
}

body.hs-scene main > section,
body.hs-scene main > div,
body.hs-scene main > article,
body.hs-scene main > section:nth-child(even),
body.hs-scene main > section:nth-child(odd) {
  background: #211534 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: rgba(216,183,126,.18);
}

/* Subtle differentiation for content cards. */
body.hs-scene main .card,
body.hs-scene main .panel,
body.hs-scene main .hsm-card,
body.hs-scene main .answer {
  background: #291b40 !important;
  background-image: none !important;
  border-color: rgba(216,183,126,.28);
}

/* Maintain readable copy. */
body.hs-scene main h1,
body.hs-scene main h2,
body.hs-scene main h3 {
  color: #f4eff9;
}

body.hs-scene main p,
body.hs-scene main li {
  color: #ded5e9;
}

/* Keep champagne-gold brand accents. */
body.hs-scene main a:not(.hs-luxe-cta) {
  text-underline-offset: 4px;
}

/* Header adopts the new purple identity. */
body.hs-scene .hs-luxe-header {
  background: #130c23 !important;
  border-bottom-color: rgba(216,183,126,.35);
}

/* Footer */
body.hs-scene footer {
  background: #130c23;
  border-color: rgba(216,183,126,.22);
}

@media(max-width:700px) {
  body.hs-scene main > section,
  body.hs-scene main > div,
  body.hs-scene main > article {
    background: #211534 !important;
  }
}

/* HS_SOLID_PURPLE_V3_END */


/* HS_MIDNIGHT_PURPLE_V4_START */

html:has(body.hs-scene),
body.hs-scene {
  background: #0b0614 !important;
  background-color: #0b0614 !important;
  background-image: none !important;
}

body.hs-scene::before,
body.hs-scene::after {
  content: none !important;
  display: none !important;
}

body.hs-scene main {
  background: #0b0614 !important;
  background-image: none !important;
}

/* Deep purple throughout all main sections. */
body.hs-scene main > section,
body.hs-scene main > div,
body.hs-scene main > article,
body.hs-scene main > section:nth-child(odd),
body.hs-scene main > section:nth-child(even) {
  background-color: #130b23 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Preserve the cinematic homepage hero photograph. */
body.hs-scene main .hero,
body.hs-scene main [class*="hero"] {
  background-image: revert-layer;
}

/* Subtle dark plum content cards. */
body.hs-scene main .card,
body.hs-scene main .panel,
body.hs-scene main .hsm-card,
body.hs-scene main .answer {
  background-color: #201332 !important;
  background-image: none !important;
  border-color: rgba(216,183,126,.25);
}

body.hs-scene main h1,
body.hs-scene main h2,
body.hs-scene main h3 {
  color: #f4eff9;
}

body.hs-scene main p,
body.hs-scene main li {
  color: #ddd4e8;
}

/* Consistent midnight navigation. */
body.hs-scene .hs-luxe-header {
  background: #0d0719 !important;
  border-bottom: 1px solid rgba(216,183,126,.3);
}

/* Consistent midnight footer. */
body.hs-scene footer {
  background: #0d0719 !important;
  border-color: rgba(216,183,126,.2);
}

/* HS_MIDNIGHT_PURPLE_V4_END */
