/* ============================================================
   BRIGHTFLOWER STUDIOS — Components
   Hero, cards, audio player, path, products, newsletter, footer
   ============================================================ */


/* ============================================================
   HERO
   ============================================================ */

.homepage-ambient,
.hero,
.hero-destiny-copy,
.hero-explore-copy,
.hero-spectra {
  --hero-edge-pad: clamp(0.75rem, 2.2svh, 2rem);
  --hero-glow-copy-gap: clamp(0.5rem, 1.6svh, 1.4rem);
  --hero-title-size: clamp(1.55rem, min(7.5cqi, 7.1svh), 3.8rem);
  --hero-subtitle-size: clamp(1rem, min(3cqi, 3.6svh), 2.5rem);
  --hero-subtitle-gap: clamp(0.45rem, 1.2svh, 1rem);
  --hero-enter-size: clamp(1.15rem, min(5cqi, 4.6svh), 3.2rem);
  --hero-enter-padding-y: clamp(0.32rem, 0.9svh, 0.7rem);
  --hero-text-button-gap: clamp(0.85rem, 2svh, 2rem);
  --hero-enter-block-size: calc(var(--hero-enter-size) + (var(--hero-enter-padding-y) * 2));
  --hero-reserved-space: calc(
    (var(--hero-edge-pad) * 2) +
    var(--hero-glow-copy-gap) +
    (var(--hero-title-size) * 1.08) +
    var(--hero-subtitle-gap) +
    (var(--hero-subtitle-size) * 1.25) +
    var(--hero-text-button-gap) +
    var(--hero-enter-block-size)
  );
  --hero-glow-size: min(92vw, 48rem, max(13rem, calc(100svh - var(--hero-reserved-space))));
  --hero-glow-half: calc(var(--hero-glow-size) / 2);
  --hero-light-x: 50%;
  --hero-light-y: calc(var(--hero-edge-pad) + var(--hero-glow-half));
  --hero-fire-ring-radius: 0.46;
  --hero-fire-ring-thickness: 0.052;
  --hero-fire-ring-opacity: 0.8;
  --hero-godrays-before-opacity: 0.34;
  --hero-godrays-after-opacity: 0.26;
  --hero-fire-ring-before-opacity: 0.42;
  --hero-fire-ring-after-opacity: 0.26;
  --hero-media-fade-distance-factor: 0.75;
  --hero-logo-reveal-distance-factor: 0.75;
  --hero-explore-reveal-distance-factor: 0.5;
  --hero-guardian-reveal-distance-factor: 1.25;
  --hero-spectra-left: 50%;
  --hero-spectra-bottom: clamp(0.25rem, 0.5vh, 1.5rem);
  --hero-spectra-anchor-x: 50%;
  --hero-spectra-anchor-y: 60%;
  --hero-spectra-width: clamp(10rem, 54vw, 85rem);
  --hero-spectra-opacity: 0.15;
  --hero-spectra-fade-duration: 8s;
  --hero-spectra-fov: 34;
  --hero-spectra-camera-z: 6;
  --hero-spectra-model-scale: 1.6;
  --hero-spectra-rotation-x: 10deg;
  --hero-spectra-rotation-y: 0deg;
  --hero-spectra-rotation-z: 0deg;
  /* ============================================================
       Old rotation details on right side:  
      --hero-spectra-rotation-x: -140deg;
      --hero-spectra-rotation-y: -360deg;
      --hero-spectra-rotation-z: -220deg;
   ============================================================ */
  --hero-spectra-spin-axis-x: 0;
  --hero-spectra-spin-axis-y: 1;
  --hero-spectra-spin-axis-z: 0;
  --hero-spectra-spin-speed: -0.007;
  --hero-spectra-exposure: 1.08;
  --hero-spectra-light-z: 4.2;
  --hero-spectra-key-light: 4.2;
  --hero-spectra-ambient-light: 1.25;
  --hero-spectra-hemi-light: 1.6;
  --hero-spectra-fill-light: 1.4;
  --hero-spectra-bloom-color: #fbfdff;
  --hero-spectra-bloom-opacity: 0.6;
  --hero-spectra-bloom-strength: 0.82;
  --hero-spectra-bloom-scale: 1.01;
  --hero-spectra-bloom-blur: clamp(10px, 0.5vw, 22px);
}

.homepage-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--crystalline);
  container-type: inline-size;
}

body.brightflower-base-page {
  --latest-news-logo-height: clamp(3.56rem, 30.7vw, 15.35rem);
  --latest-news-title-top: calc(var(--hero-small-logo-top, 0.75rem) + (var(--latest-news-logo-height) * 1.10));
  --latest-news-title-size: clamp(2.25rem, 5vw, 5.25rem);
  --latest-news-title-block-size: var(--latest-news-title-size);
  --latest-news-title-flow-gap: clamp(2rem, 7svh, 5rem);
  --latest-news-footer-space: clamp(13.25rem, 11.3vw, 13.55rem);
  overflow-x: hidden;
  background: var(--crystalline);
}

body.brightflower-posts-page {
  --latest-news-title-size: clamp(1.75rem, 4.6vw, 4.00rem);
  --latest-news-title-block-size: calc(var(--latest-news-title-size) * 2.15);
  --posts-card-hide-gap: 12px;
  --posts-card-intrinsic-block-size: calc(clamp(5.5rem, 9.4vw, 9.5rem) + clamp(1rem, 2vw, 1.5rem));
  --posts-open-fade-duration: 0.5s;
  --posts-open-move-duration: 0.5s;
}

.latest-news-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-height: 0;
  overflow: visible;
  pointer-events: none;
}

.latest-news-scene .homepage-ambient,
.latest-news-scene .hero-spectra {
  position: absolute;
  inset: 0;
}

.latest-news-base-page {
  position: relative;
  z-index: 3;
  min-height: max(60dvh, calc(100dvh - var(--latest-news-footer-space)));
  padding: calc(var(--latest-news-title-top) + var(--latest-news-title-block-size) + var(--latest-news-title-flow-gap)) var(--site-gutter) clamp(2rem, 6svh, 4rem);
}

.latest-news-title {
  position: fixed;
  z-index: 4;
  top: var(--latest-news-title-top);
  left: var(--site-gutter);
  right: var(--site-gutter);
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--font-heading);
  font-size: var(--latest-news-title-size);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 1;
  pointer-events: none;
  text-transform: uppercase;
  transition:
    opacity 0.5s ease,
    visibility 0s linear 0s;
  visibility: visible;
}

body.brightflower-posts-page.is-post-inline-scrolled .latest-news-title {
  opacity: 0;
  transition:
    opacity 0.5s ease,
    visibility 0s linear 0.5s;
  visibility: hidden;
}

body.brightflower-base-page .site-footer {
  position: relative;
  z-index: 5;
}

body.brightflower-base-page #shopwp-root {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.posts-archive-list {
  display: grid;
  gap: clamp(0.55rem, 1.1vw, 0.9rem);
  width: 100%;
}

.posts-archive-card {
  --posts-card-media-size: clamp(5.5rem, 9.4vw, 9.5rem);
  display: grid;
  grid-template-columns: var(--posts-card-media-size) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 1.7vw, 1.35rem);
  width: 100%;
  min-height: calc(var(--posts-card-media-size) + clamp(1rem, 2vw, 1.5rem));
  padding: clamp(0.72rem, 1.3vw, 1rem);
  border: 1px solid rgba(42, 85, 127, 0.28);
  border-radius: clamp(1rem, 1.8vw, 1.55rem);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,213,245,.42) 0%, transparent 58%),
    radial-gradient(ellipse at 80% 20%, rgba(213,232,245,.5) 0%, transparent 52%),
    #dce0f4;
  color: var(--deep-blue);
  opacity: 1;
  order: 5;
  text-decoration: none;
  visibility: visible;
  box-shadow: 0 0.7rem 1.8rem rgba(42, 85, 127, 0.07);
  transition:
    border-color 0.2s ease,
    opacity 0.25s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0s;
}

.posts-archive-card:hover,
.posts-archive-card:focus-visible {
  border-color: rgba(42, 85, 127, 0.46);
  box-shadow: 0 0.95rem 2.2rem rgba(42, 85, 127, 0.12);
  color: var(--deep-blue);
  transform: translateY(-1px);
}

.posts-archive-card:focus-visible {
  outline: 2px solid rgba(74, 144, 217, 0.65);
  outline-offset: 0.2rem;
}

.posts-archive-card.is-past-title {
  opacity: 0;
  pointer-events: none;
  transition:
    border-color 0.2s ease,
    opacity 0.25s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.25s;
  visibility: hidden;
}

.posts-archive-card.is-selected-post {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  visibility: visible;
  z-index: 2;
}

.posts-archive-card.is-post-dismissed {
  opacity: 0;
  pointer-events: none;
  transition:
    border-color 0.2s ease,
    opacity var(--posts-open-fade-duration) ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear var(--posts-open-fade-duration);
  visibility: hidden;
}

body.is-post-card-positioned .posts-archive-card.is-selected-post {
  order: 1;
}

body.is-post-card-positioned .posts-archive-card.is-post-dismissed {
  order: 3;
}

body.brightflower-posts-page.is-posts-lazy-ready .posts-archive-card:not(.is-card-loaded):not(.is-selected-post) {
  block-size: var(--posts-card-measured-block-size, var(--posts-card-intrinsic-block-size));
  contain-intrinsic-size: auto var(--posts-card-measured-block-size, var(--posts-card-intrinsic-block-size));
  content-visibility: hidden;
  pointer-events: none;
}

.posts-archive-image {
  display: grid;
  place-items: center;
  width: var(--posts-card-media-size);
  aspect-ratio: 1;
  border-radius: clamp(0.65rem, 1.2vw, 1rem);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.72) 0 16%, transparent 17%),
    radial-gradient(circle at 66% 68%, rgba(232, 213, 245, 0.76) 0 20%, transparent 21%),
    linear-gradient(135deg, rgba(213, 232, 245, 0.96), rgba(245, 213, 232, 0.82) 52%, rgba(213, 245, 232, 0.84));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.58);
  overflow: hidden;
}

.posts-archive-image-post-icon {
  padding: 0;
}

.posts-archive-image-post-icon img {
  transform: scale(1.08);
}

.posts-archive-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.posts-archive-image-alt {
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.7) 0 15%, transparent 16%),
    radial-gradient(circle at 32% 68%, rgba(213, 245, 232, 0.72) 0 22%, transparent 23%),
    linear-gradient(135deg, rgba(245, 213, 232, 0.9), rgba(213, 232, 245, 0.9) 54%, rgba(232, 213, 245, 0.84));
}

.posts-archive-image-third {
  background:
    radial-gradient(circle at 42% 58%, rgba(255, 255, 255, 0.72) 0 14%, transparent 15%),
    radial-gradient(circle at 70% 35%, rgba(213, 232, 245, 0.76) 0 22%, transparent 23%),
    linear-gradient(135deg, rgba(232, 213, 245, 0.9), rgba(213, 245, 232, 0.86) 50%, rgba(245, 213, 232, 0.84));
}

.posts-archive-content {
  display: grid;
  justify-items: start;
  gap: clamp(0.45rem, 0.8vw, 0.62rem);
  min-width: 0;
}

.posts-archive-type {
  display: inline-flex;
  align-items: center;
  min-height: clamp(1.75rem, 2.4vw, 2rem);
  padding: 0 clamp(0.72rem, 1vw, 0.9rem);
  border-radius: 999px;
  background: rgba(226, 229, 235, 0.92);
  color: var(--deep-blue);
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.05vw, 0.88rem);
  font-weight: 600;
  line-height: 1;
}

.posts-archive-title {
  display: block;
  color: var(--deep-blue);
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.posts-archive-date {
  display: block;
  color: var(--deep-blue);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.25vw, 1rem);
  font-weight: 600;
  line-height: 1.3;
}

.posts-inline-post-card {
  order: 6;
  width: 100%;
  max-block-size: 0;
  padding: 0 clamp(1rem, 2.2vw, 2rem);
  border: 1px solid rgba(42, 85, 127, 0.28);
  border-radius: clamp(1rem, 1.8vw, 1.55rem);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,213,245,.42) 0%, transparent 58%),
    radial-gradient(ellipse at 80% 20%, rgba(213,232,245,.5) 0%, transparent 52%),
    #dce0f4;
  color: var(--deep-blue);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-0.35rem);
  visibility: hidden;
  transition:
    max-block-size var(--posts-open-fade-duration) ease,
    opacity var(--posts-open-fade-duration) ease,
    padding var(--posts-open-fade-duration) ease,
    transform var(--posts-open-fade-duration) ease,
    visibility 0s linear var(--posts-open-fade-duration);
}

.posts-inline-post-card:not(.is-post-panel-active) {
  display: none;
}

body.is-post-card-positioned .posts-inline-post-card.is-post-panel-active {
  order: 2;
}

body.is-post-content-ready .posts-inline-post-card.is-post-panel-active {
  max-block-size: var(--posts-inline-panel-block-size, 80rem);
  padding-block: clamp(1rem, 2.2vw, 1.65rem);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  transition:
    max-block-size var(--posts-open-fade-duration) ease,
    opacity var(--posts-open-fade-duration) ease,
    padding var(--posts-open-fade-duration) ease,
    transform var(--posts-open-fade-duration) ease,
    visibility 0s linear 0s;
}

.posts-inline-post-header {
  display: grid;
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.posts-inline-close {
  --posts-inline-close-color: #54b3eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: clamp(0.42rem, 0.8cqi, 0.58rem);
  min-height: clamp(2.15rem, 3.2cqi, 2.55rem);
  padding: clamp(0.38rem, 0.7cqi, 0.5rem) clamp(0.72rem, 1.25cqi, 1rem);
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--posts-inline-close-color);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
  box-shadow: 0 0.5rem 1.5rem rgba(26,58,92,.08);
}

.posts-inline-close .icon {
  position: relative;
  width: clamp(1.55rem, 2.5cqi, 1.85rem);
  height: clamp(1.55rem, 2.5cqi, 1.85rem);
  flex: 0 0 auto;
  border-radius: 999px;
}

.posts-inline-close .lotus-menu-icon,
.posts-inline-close .icon::before,
.posts-inline-close .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.posts-inline-close .lotus-menu-icon {
  display: block;
  background: url("../assets/images/lotus_icon.png") center / contain no-repeat;
  opacity: 0;
  transform: scale(0.86);
}

.posts-inline-close .icon::before,
.posts-inline-close .icon::after {
  left: 0.1rem;
  right: 0.1rem;
  top: 50%;
  bottom: auto;
  height: 0.125rem;
  border-radius: 999px;
  background: var(--posts-inline-close-color);
}

.posts-inline-close .icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.posts-inline-close .icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

.posts-inline-close-text {
  font-size: clamp(0.9rem, 1.25cqi, 1.05rem);
  line-height: 1;
}

.posts-inline-close:focus-visible {
  outline: 2px solid rgba(74, 144, 217, 0.65);
  outline-offset: 0.2rem;
}

.posts-inline-post-body {
  display: grid;
  gap: clamp(0.9rem, 3.0vw, 2.75rem);
  color: #000;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.62;
}

.post-source-blue {
  color: #00B0F0;
}

.post-source-green {
  color: #00B050;
}

.post-source-purple {
  color: #7030A0;
}

.post-source-fuchsia {
  color: #FF00FF;
}

.post-source-gray {
  color: gray;
}

.post-source-light-gray {
  color: #A6A6A6;
}

.post-source-red {
  color: red;
}

.post-source-underline {
  text-decoration-line: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.16em;
}

.post-source-center {
  text-align: center;
}

.posts-inline-post-body .post-source-extra-space {
  margin-top: 1em;
}

.posts-inline-post-body h3 {
  margin: clamp(0.35rem, 0.8vw, 0.65rem) 0 0;
  color: #000;
  font-family: var(--font-heading);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.posts-inline-post-body a {
  color: blue;
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.posts-inline-post-body a:visited {
  color: #954F72;
}

.posts-inline-post-body ul,
.posts-inline-post-body ol {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
}

.posts-inline-post-body li {
  margin: 0;
}

.posts-inline-post-figure {
  display: grid;
  justify-items: center;
  margin: clamp(0.35rem, 1vw, 0.8rem) 0;
}

.posts-inline-post-figure img {
  display: block;
  width: min(100%, 42rem);
  height: auto;
  border: 1px solid rgba(42, 85, 127, 0.18);
  border-radius: clamp(0.65rem, 1.2vw, 1rem);
}

.posts-inline-post-footer {
  display: grid;
  justify-items: start;
  margin-top: clamp(1.1rem, 2.4vw, 1.75rem);
}

@media (max-width: 36rem) {
  .posts-archive-card {
    --posts-card-media-size: clamp(4.75rem, 24vw, 6.25rem);
    align-items: start;
    gap: 0.85rem;
  }

  .posts-inline-post-card {
    padding-inline: clamp(0.85rem, 4vw, 1rem);
  }
}

body.brightflower-homepage {
  overflow: hidden;
  overflow-x: hidden;
  height: 100vh;
  height: 100svh;
}

.hero-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(248, 250, 255, 0.96);
  pointer-events: auto;
  transition: opacity 0.4s ease-out;
}

.hero-loader.is-fading {
  opacity: 0;
}

.hero-loader.is-spent {
  display: none;
}

.site-header {
  transition: opacity 0.4s ease-out;
}

.brightflower-loading .site-header,
.brightflower-loading .hero-copy {
  opacity: 0;
  pointer-events: none;
}

.brightflower-loading .site-footer {
  visibility: hidden;
  pointer-events: none;
}

.hero-loader-image {
  display: block;
  opacity: 0;
  user-select: none;
}

.hero-loader-text {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(42, 85, 127, 0.78);
}

.hero-scroll-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: var(--hero-edge-pad) clamp(1rem, 3vw, 2rem);
  background: transparent;
  container-type: inline-size;
}

.hero-glow {
  position: absolute;
  z-index: 3;
  top: var(--hero-light-y);
  left: var(--hero-light-x);
  width: var(--hero-glow-size);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.brightflower-intro-active .hero-glow {
  animation: hero-glow-in 3.0s ease-out 1.0s forwards;
}

.section,
.section-full,
.lotus-divider,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero-followup {
  --hero-followup-delay: 360svh;
  margin-top: var(--hero-followup-delay);
}

.hero-scroll-reserve {
  position: relative;
  z-index: 1;
  height: 0;
  pointer-events: none;
}

.hero-glow-image {
  width: 100%;
  height: auto;
}

.hero-destiny-copy {
  --hero-destiny-reveal-distance-factor: 0.55;
  --hero-destiny-pinned-gap: 36px;
  position: fixed;
  z-index: 2;
  top: 50%;
  left: var(--hero-light-x);
  width: min(calc(100% - 2rem), 92rem);
  transform: translate(-50%, -50%);
  color: var(--deep-blue);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform, visibility;
}

.hero-destiny-copy p {
  margin: 0;
}

.hero-destiny-headline {
  display: inline-block;
  font-size: clamp(1.25rem, 2.25vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.hero-destiny-brand {
  color: #00AEEF;
}

.hero-destiny-headline .hero-destiny-brand {
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  line-height: 1;
}

.hero-destiny-details {
  margin-top: clamp(0.8rem, 2.2vh, 1.45rem);
}

.hero-destiny-company {
  color: #00AEEF;
  font-size: clamp(1.35rem, 2.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero-destiny-publishing {
  margin-top: 0.35rem;
  color: var(--deep-blue);
  font-size: clamp(1.25rem, 2.35vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero-destiny-description {
  margin-top: 0.55rem;
  color: var(--deep-blue);
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  font-weight: 400;
  line-height: 1.36;
}

.hero-destiny-description span {
  display: inline;
}

.hero-explore-copy {
  --hero-explore-long-paragraph-width: min(calc(100% - 6rem), 84rem);
  --hero-explore-copy-top: 58%;
  --hero-explore-copy-gap: clamp(1.4rem, 3.5vh, 2.6rem);
  --hero-explore-screen-padding: clamp(0.6rem, 1.6vw, 1.4rem);
  --hero-explore-bottom-clearance: clamp(0.5rem, 2vh, 1.5rem);
  --hero-explore-expand-btn-area: clamp(3rem, 6vh, 4.5rem);
  position: fixed;
  z-index: 2;
  top: var(--hero-explore-copy-top);
  bottom: calc(var(--hero-footer-height, 0px) + var(--hero-explore-bottom-clearance));
  left: 50%;
  width: min(calc(100% - 2rem), 92rem);
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  will-change: opacity, visibility;
}

.hero-explore-copy p {
  margin-inline: auto;
}

.hero-explore-base-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.6rem, 1.6vh, 1.2rem);
  width: 100%;
  flex: 0 0 auto;
}

.hero-explore-expand-btn,
.hero-explore-collapse-btn {
  --hero-expand-btn-fs: clamp(1.25rem, 2.35vw, 2.2rem);
  --hero-expand-arrow-size: clamp(1.75rem, 3.3vw, 3rem);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 0.6vh, 0.5rem);
  margin: clamp(0.6rem, 1.8vh, 1.2rem) auto 0;
  padding: clamp(0.25rem, 0.8vh, 0.5rem) clamp(0.6rem, 1.5vw, 1rem);
  background: transparent;
  border: 0;
  color: var(--deep-blue, #2a557f);
  font-family: var(--font-heading, inherit);
  font-size: var(--hero-expand-btn-fs);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  cursor: pointer;
  transition: opacity 0.4s ease, color 0.2s ease, transform 0.2s ease;
  will-change: opacity, transform;
}

.hero-explore-expand-btn {
  opacity: 0;
  pointer-events: none;
  align-self: center;
  flex: 0 0 auto;
}

.hero-explore-expand-btn.is-ready {
  opacity: 1;
  pointer-events: auto;
  animation: hero-welcome-bob 13s linear infinite;
}

.hero-explore-collapse-btn {
  animation: hero-hide-bob 11.6s linear infinite;
}

@keyframes hero-welcome-bob {
  0%, 30%, 100%   { translate: 0 0; }
  31%             { translate: 0 0.4em; }
  32%, 74%        { translate: 0 0; }
  75%             { translate: 0 0.34em; }
  76%, 100%       { translate: 0 0; }
}

@keyframes hero-hide-bob {
  0%, 30%, 100%   { translate: 0 0; }
  31%             { translate: 0 -0.36em; }
  32%, 73%        { translate: 0 0; }
  74%             { translate: 0 -0.3em; }
  75%, 100%       { translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-explore-expand-btn.is-ready,
  .hero-explore-collapse-btn {
    animation: none;
  }
}

.hero-explore-expand-btn:hover,
.hero-explore-expand-btn:focus-visible,
.hero-explore-collapse-btn:hover,
.hero-explore-collapse-btn:focus-visible {
  color: var(--aquatone, #4a90d9);
  transform: translateY(-1px);
  outline: none;
}

.hero-explore-arrow {
  width: var(--hero-expand-arrow-size);
  height: var(--hero-expand-arrow-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

body.is-explore-expanded .hero-explore-expand-btn {
  display: none;
}

.hero-explore-collapse-btn {
  margin-top: clamp(1.2rem, 3vh, 2rem);
}

.hero-explore-expandable {
  --hero-explore-paragraph-gap: clamp(1.4rem, 3.2vh, 2.35rem);
  width: min(100%, 72rem);
  max-width: 100%;
  margin: 0 auto;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: var(--hero-explore-paragraph-gap);
  text-align: center;
}

body.is-explore-expanded .hero-explore-expandable {
  display: flex;
}

.hero-explore-expandable .hero-guardian-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--hero-explore-paragraph-gap);
  width: 100%;
  margin: calc(var(--hero-explore-paragraph-gap) * 0.5) auto 0;
  text-align: center;
}

/* Stagger reveal is driven by GSAP via --stagger-fade. Scroll fade is handled
   by the fixed expanded pane's viewport clipping mask, not per-line scroll
   calculations. */
.hero-explore-expandable .hero-explore-lede,
.hero-explore-expandable .hero-explore-intro,
.hero-explore-expandable .hero-explore-identity,
.hero-explore-expandable .hero-explore-body,
.hero-explore-expandable .hero-guardian-intro,
.hero-explore-expandable .hero-guardian-summary,
.hero-explore-expandable .hero-guardian-list li,
.hero-explore-expandable .hero-guardian-disclaimer,
.hero-explore-expandable .hero-explore-collapse-btn {
  opacity: var(--stagger-fade, 1);
}

.hero-guardian-disclaimer {
  margin: clamp(0.6rem, 1.4vh, 1.1rem) 0 0;
  padding-top: 0;
}

.hero-explore-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0;
  text-align: center;
}

/* ============================================================
   EXPANDED PAGE STATE
   Locks page scroll and makes the welcome copy a fixed scroll pane. The pane
   starts below the pinned destiny copy, so the browser clips text before it can
   paint over the pinned text.
   ============================================================ */

body.is-explore-expanded,
body.brightflower-homepage.is-explore-expanded,
body.brightflower-homepage.brightflower-hero-entered.is-explore-expanded {
  overflow: hidden;
  overflow-x: hidden;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
}

body.is-explore-expanded .hero {
  display: none;
}

body.brightflower-hero-entered .hero {
  pointer-events: none;
}

body.is-explore-expanded .hero-destiny-copy {
  z-index: 3;
}

body.is-explore-expanded .hero-explore-copy {
  --hero-explore-pane-fade: clamp(2.25rem, 7vh, 4.5rem);
  --hero-explore-pane-inline-padding: clamp(1rem, 3vw, 2rem);
  --hero-explore-pane-start-padding: calc(var(--hero-explore-pane-fade) + clamp(0.75rem, 2.2vh, 1.75rem));
  position: fixed;
  z-index: 2;
  top: var(--hero-explore-expanded-top, 12rem);
  bottom: 0;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  margin: 0;
  padding-inline: var(--hero-explore-pane-inline-padding);
  padding-top: var(--hero-explore-pane-start-padding);
  padding-bottom: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-items: center;
  pointer-events: auto;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.72) 1.5rem,
    #000 var(--hero-explore-pane-fade),
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.72) 1.5rem,
    #000 var(--hero-explore-pane-fade),
    #000 100%
  );
}

body.is-explore-expanded .hero-explore-copy > .site-footer,
body.brightflower-homepage.brightflower-hero-entered.is-explore-expanded.brightflower-hero-pinned-footer .hero-explore-copy > .site-footer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  align-self: stretch;
  width: auto;
  margin: clamp(2rem, 6vh, 4rem) calc(0px - var(--hero-explore-pane-inline-padding)) 0;
  transform: none;
  z-index: 1;
  text-align: left;
}

body.is-explore-expanded .hero-explore-copy > .site-footer .footer-brand,
body.is-explore-expanded .hero-explore-copy > .site-footer .footer-col {
  text-align: left;
}

body.is-explore-expanded .hero-explore-copy > .site-footer p {
  margin-inline: 0;
}

body.is-explore-expanded .hero-explore-expand-area {
  flex: 0 0 auto;
  min-height: 0;
  margin: clamp(1.5rem, 4vh, 2.5rem) 0;
  pointer-events: auto;
}

.hero-explore-lede {
  margin-block: 0;
  font-size: clamp(1.05rem, 1.75vw, 1.75rem);
  font-weight: 400;
  line-height: 1.28;
}

.hero-explore-accent,
.hero-explore-identity {
  color: #00AEEF;
  font-weight: 700;
}

.hero-explore-intro,
.hero-explore-body,
.hero-guardian-copy {
  font-size: clamp(1rem, 1.55vw, 1.55rem);
  font-weight: 400;
  line-height: 1.36;
}

.hero-explore-intro {
  margin-block: 0;
  padding-top: 0;
}

.hero-explore-identity {
  margin-block: 0;
  font-size: clamp(1.05rem, 1.75vw, 1.75rem);
  line-height: 1.28;
  text-wrap: balance;
}

.hero-explore-body {
  margin-block: 0;
  padding-top: 0;
}

.hero-explore-body strong {
  font-weight: 700;
}

.hero-explore-years {
  font-size: 0.72em;
}

.hero-explore-base-copy {
  will-change: opacity, visibility;
}

.hero-guardian-copy {
  width: var(--hero-explore-long-paragraph-width);
  max-width: 100%;
  margin: 0 auto;
  color: inherit;
  text-align: center;
}

.hero-guardian-copy p {
  margin: 0;
}

.hero-guardian-summary {
  padding-top: 0;
}

.hero-guardian-list {
  display: grid;
  gap: var(--hero-explore-paragraph-gap);
  margin: 0;
  padding-left: 0;
  text-align: left;
  list-style: none;
}

.hero-guardian-line {
  display: block;
  will-change: opacity;
}

.hero-guardian-list .hero-guardian-line {
  display: block;
  position: relative;
  padding-left: 1.5rem;
}

.hero-guardian-list .hero-guardian-line::before {
  content: '•';
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: currentColor;
  font-weight: 700;
  line-height: inherit;
}

.hero-guardian-accent {
  color: #00AEEF;
  font-weight: 700;
}

.hero-guardian-green {
  color: #00B050;
  font-weight: 700;
}

.hero-guardian-small {
  font-size: 0.72em;
}

.hero-small-logo {
  --hero-small-logo-top: 0.75rem;
  position: fixed;
  z-index: 91;
  top: var(--hero-small-logo-top);
  left: 50%;
  width: clamp(3.25rem, 28vw, 14rem);
  aspect-ratio: 821 / 900;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateX(-50%);
  will-change: opacity, visibility;
}

body.brightflower-homepage:not(.brightflower-hero-entered) .hero-small-logo {
  opacity: 0;
  visibility: hidden;
}

.hero-small-logo-background,
.hero-small-logo-mark {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-small-logo-background {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100%;
  max-width: none;
  object-fit: fill;
  opacity: 1;
  transition:
    opacity 0.5s ease,
    visibility 0s linear 0s;
  transform: translate(-50%, -50%);
  visibility: visible;
}

.hero-small-logo-mark {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition:
    opacity 0.5s ease,
    visibility 0s linear 0s;
  visibility: visible;
  width: 100%;
}

body.brightflower-posts-page.is-post-inline-scrolled .hero-small-logo-background,
body.brightflower-posts-page.is-post-inline-scrolled .hero-small-logo-mark {
  opacity: 0;
  transition:
    opacity 0.5s ease,
    visibility 0s linear 0.5s;
  visibility: hidden;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  top: calc(var(--hero-edge-pad) + var(--hero-glow-size) + var(--hero-glow-copy-gap));
  bottom: calc(var(--hero-edge-pad) + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  width: min(calc(100% - 2rem), 72rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  text-align: center;
}

@keyframes hero-glow-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


/* === SWIRLING GRADIENT ORBS === */

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-godrays {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-godrays::before {
  content: '';
  position: absolute;
  inset: -4vmax;
  opacity: var(--hero-godrays-before-opacity);
  transform-origin: var(--hero-light-x) var(--hero-light-y);
  background:
    radial-gradient(circle at var(--hero-light-x) var(--hero-light-y), rgba(255,255,255,0.76) 0 6%, rgba(255,238,188,0.34) 12%, transparent 32%),
    repeating-conic-gradient(from 0turn at var(--hero-light-x) var(--hero-light-y),
      rgba(255,245,205,0.22) 0turn 0.000425turn,
      transparent 0.00065turn 0.00225turn),
    repeating-conic-gradient(from 0.004turn at var(--hero-light-x) var(--hero-light-y),
      rgba(205,230,255,0.16) 0turn 0.000275turn,
      transparent 0.000475turn 0.001425turn),
    repeating-conic-gradient(from 0.011turn at var(--hero-light-x) var(--hero-light-y),
      rgba(255,255,255,0.12) 0turn 0.000175turn,
      transparent 0.000325turn 0.0008turn);
  -webkit-mask-image: radial-gradient(circle at var(--hero-light-x) var(--hero-light-y), #000 0 42%, rgba(0,0,0,0.55) 56%, transparent 72%);
  mask-image: radial-gradient(circle at var(--hero-light-x) var(--hero-light-y), #000 0 42%, rgba(0,0,0,0.55) 56%, transparent 72%);
  filter: blur(5px);
  animation:
    godray-fallback-drift 54s ease-in-out infinite alternate,
    godray-fallback-shimmer-rays 14.4s ease-in-out infinite alternate;
}

.hero-godrays::after {
  content: '';
  position: absolute;
  inset: -2vmax;
  opacity: var(--hero-godrays-after-opacity);
  background:
    radial-gradient(circle at var(--hero-light-x) var(--hero-light-y), rgba(255,255,255,0.24) 0 8%, rgba(255,239,196,0.15) 20%, rgba(205,230,255,0.08) 42%, transparent 62%);
  filter: blur(14px);
  animation:
    godray-fallback-drift 66s ease-in-out infinite alternate-reverse,
    godray-fallback-shimmer-wash 18.6s ease-in-out infinite alternate;
}

.hero-godrays::before,
.hero-godrays::after {
  transition: opacity 1.0s ease-out;
}

.hero-godrays.is-webgl-ready::before,
.hero-godrays.is-webgl-ready::after {
  opacity: 0;
}

.hero-godrays canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(4px);
  transform: scale(1.01);
  transform-origin: center;
  opacity: 0;
  transition: opacity 1.0s ease-out;
}

.hero-godrays.is-webgl-ready canvas {
  opacity: 1;
}

.hero-fire-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-fire-ring::before,
.hero-fire-ring::after {
  content: '';
  position: absolute;
  top: var(--hero-light-y);
  left: var(--hero-light-x);
  width: calc(var(--hero-glow-size) * 0.74);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-fire-ring::before {
  opacity: var(--hero-fire-ring-before-opacity);
  background:
    conic-gradient(from 0.08turn,
      transparent 0turn,
      rgba(255,238,180,0.9) 0.055turn,
      rgba(245,170,205,0.58) 0.12turn,
      transparent 0.18turn,
      rgba(255,255,255,0.78) 0.23turn,
      rgba(204,226,255,0.5) 0.31turn,
      transparent 0.4turn,
      rgba(255,210,156,0.82) 0.48turn,
      rgba(224,216,255,0.54) 0.57turn,
      transparent 0.66turn,
      rgba(255,244,205,0.86) 0.76turn,
      rgba(245,170,205,0.52) 0.86turn,
      transparent 1turn);
  -webkit-mask-image: radial-gradient(circle, transparent 0 43%, #000 49% 61%, rgba(0,0,0,0.45) 70%, transparent 78%);
  mask-image: radial-gradient(circle, transparent 0 43%, #000 49% 61%, rgba(0,0,0,0.45) 70%, transparent 78%);
  filter: blur(7px) brightness(1.12);
  animation:
    hero-fire-ring-turn 40s linear infinite,
    hero-fire-ring-pulse 4.6s ease-in-out infinite alternate;
}

.hero-fire-ring::after {
  opacity: var(--hero-fire-ring-after-opacity);
  background:
    radial-gradient(circle,
      transparent 0 52%,
      rgba(255,244,205,0.16) 54%,
      transparent 58%,
      rgba(204,226,255,0.06) 60%,
      transparent 63%),
    radial-gradient(circle, transparent 0 36%, rgba(255,239,186,0.34) 48%, rgba(245,170,205,0.22) 62%, rgba(204,226,255,0.1) 72%, transparent 84%);
  filter: blur(18px);
  animation:
    hero-fire-ring-energy-pulse 36s ease-in-out infinite,
    hero-fire-ring-halo-pulse 5.8s ease-in-out infinite alternate-reverse;
}

.hero-fire-ring::before,
.hero-fire-ring::after {
  transition: opacity 1.0s ease-out;
}

.hero-fire-ring.is-webgl-ready::before,
.hero-fire-ring.is-webgl-ready::after {
  opacity: 0;
}

.hero-fire-ring.is-webgl-ready::after {
  animation: none;
}

.hero-fire-ring canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(3px);
  transform: scale(1.01);
  transform-origin: center;
  opacity: 0;
  transition: opacity 1.0s ease-out;
}

.hero-fire-ring.is-webgl-ready canvas {
  opacity: 1;
}

.hero-flash {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}

.hero-flash.is-fading {
  opacity: 0;
}

.hero-flash.is-spent {
  display: none;
}

.hero-flash canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-spectra {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--hero-spectra-fade-duration) ease-out,
    visibility 0s linear var(--hero-spectra-fade-duration);
}

.hero-spectra.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.hero-spectra.is-instant {
  transition-duration: 0s;
}

.hero-spectra canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-spectra-bloom-canvas {
  z-index: 1;
  opacity: var(--hero-spectra-bloom-opacity);
  filter: blur(var(--hero-spectra-bloom-blur));
  mix-blend-mode: screen;
}

.hero-spectra-main-canvas {
  z-index: 2;
  opacity: var(--hero-spectra-opacity);
}

.hero-spectra-frame {
  position: absolute;
  bottom: var(--hero-spectra-bottom);
  left: var(--hero-spectra-left);
  width: var(--hero-spectra-width);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 700px) {
  .hero-spectra {
    --hero-spectra-bottom: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-spectra {
    display: none;
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

@keyframes godray-fallback-drift {
  0%   { transform: rotate(-2deg) scale(1); }
  100% { transform: rotate(3deg) scale(1.03); }
}

@keyframes godray-fallback-shimmer-rays {
  0%   { filter: brightness(0.9) blur(5px); }
  45%  { filter: brightness(1.22) blur(4px); }
  100% { filter: brightness(0.98) blur(6px); }
}

@keyframes godray-fallback-shimmer-wash {
  0%   { filter: brightness(0.92) blur(14px); }
  45%  { filter: brightness(1.18) blur(13px); }
  100% { filter: brightness(1) blur(15px); }
}

@keyframes hero-fire-ring-turn {
  0%   { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

@keyframes hero-fire-ring-pulse {
  0%   { filter: brightness(0.9) blur(8px); }
  55%  { filter: brightness(1.2) blur(6px); }
  100% { filter: brightness(1.02) blur(9px); }
}

@keyframes hero-fire-ring-halo-pulse {
  0%   { filter: brightness(0.92) blur(18px); }
  55%  { filter: brightness(1.14) blur(16px); }
  100% { filter: brightness(1) blur(19px); }
}

@keyframes hero-fire-ring-energy-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.95); opacity: 0.2; }
  48%  { opacity: 0.34; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.12; }
}

/* Violet — large, top-left drift */
.orb-1 {
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, rgba(190, 140, 230, 0.7) 0%, rgba(190, 140, 230, 0) 65%);
  top: -20%;
  left: -15%;
  animation: orb-drift-1 18s ease-in-out infinite alternate;
}

/* Rose — medium, top-right swirl */
.orb-2 {
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(circle, rgba(230, 150, 190, 0.65) 0%, rgba(230, 150, 190, 0) 65%);
  top: -10%;
  right: -15%;
  animation: orb-drift-2 22s ease-in-out infinite alternate;
}

/* Ice blue — large, bottom-center rise */
.orb-3 {
  width: 65vmax;
  height: 65vmax;
  background: radial-gradient(circle, rgba(120, 180, 240, 0.6) 0%, rgba(120, 180, 240, 0) 65%);
  bottom: -25%;
  left: 10%;
  animation: orb-drift-3 20s ease-in-out infinite alternate;
}

/* Lavender — medium, center-right float */
.orb-4 {
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(circle, rgba(160, 150, 230, 0.55) 0%, rgba(160, 150, 230, 0) 65%);
  top: 25%;
  right: 0%;
  animation: orb-drift-4 25s ease-in-out infinite alternate;
}

/* Aquatone — accent, center-left */
.orb-5 {
  width: 35vmax;
  height: 35vmax;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.45) 0%, rgba(74, 144, 217, 0) 65%);
  top: 35%;
  left: -8%;
  animation: orb-drift-5 16s ease-in-out infinite alternate;
}

/* Pearl/gold — warmth, bottom-right */
.orb-6 {
  width: 45vmax;
  height: 45vmax;
  background: radial-gradient(circle, rgba(220, 195, 160, 0.5) 0%, rgba(220, 195, 160, 0) 65%);
  bottom: -15%;
  right: -10%;
  animation: orb-drift-6 24s ease-in-out infinite alternate;
}


/* === ORB DRIFT KEYFRAMES ===
   Each orb follows a unique slow path.
   translate + rotate creates the swirling look. */

@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(8vw, 12vh) rotate(40deg) scale(1.05); }
  66%  { transform: translate(-5vw, 8vh) rotate(-20deg) scale(0.95); }
  100% { transform: translate(12vw, -5vh) rotate(60deg) scale(1.08); }
}

@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(-10vw, 8vh) rotate(-50deg) scale(1.1); }
  66%  { transform: translate(5vw, -6vh) rotate(30deg) scale(0.92); }
  100% { transform: translate(-8vw, 15vh) rotate(-70deg) scale(1.05); }
}

@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(10vw, -10vh) rotate(35deg) scale(1.08); }
  66%  { transform: translate(-8vw, -5vh) rotate(-25deg) scale(0.95); }
  100% { transform: translate(5vw, -18vh) rotate(50deg) scale(1.02); }
}

@keyframes orb-drift-4 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-12vw, -10vh) rotate(80deg); }
  100% { transform: translate(8vw, 12vh) rotate(-40deg); }
}

@keyframes orb-drift-5 {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(15vw, 5vh) rotate(-60deg); }
  100% { transform: translate(8vw, -10vh) rotate(45deg); }
}

@keyframes orb-drift-6 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-10vw, -8vh) rotate(55deg) scale(1.1); }
  100% { transform: translate(-5vw, -15vh) rotate(-30deg) scale(0.95); }
}

.hero-title {
  --hero-text-color: var(--deep-blue);
  --hero-neon-stroke-size: 0.025em;
  --hero-neon-rose: rgba(245, 155, 197, 0.68);
  --hero-neon-cyan: rgba(92, 205, 217, 0.76);
  --hero-rose-opacity: 0;
  --hero-rose-reveal: 100%;
  --hero-rose-x: -0.035em;
  --hero-cyan-opacity: 0;
  --hero-cyan-reveal: 100%;
  --hero-cyan-x: 0.04em;
  position: relative;
  z-index: 1;
  isolation: isolate;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: var(--hero-title-size);
  line-height: 1.08;
  letter-spacing: clamp(0.035em, 0.45cqi, 0.12em);
  max-width: 100%;
  color: var(--hero-text-color);
  text-transform: uppercase;
  text-wrap: balance;
  opacity: 0;
  transform: none;
  animation: fade-up 0.6s ease-out 1.6s forwards;
}

.hero-subtitle {
  --hero-text-color: var(--text-muted);
  --hero-shine-opacity: 0;
  --hero-shine-x: 135%;
  position: relative;
  z-index: 1;
  isolation: isolate;
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: var(--hero-subtitle-size);
  line-height: 1.25;
  max-width: 100%;
  color: var(--hero-text-color);
  margin-top: var(--hero-subtitle-gap);
  letter-spacing: clamp(0.02em, 0.12cqi, 0.04em);
  font-style: italic;
  text-wrap: balance;
  opacity: 0;
  transform: none;
  animation: fade-up 0.6s ease-out 2s forwards;
}

.hero-shine-text::after {
  content: attr(data-hero-text);
  position: absolute;
  inset: 0;
  z-index: 2;
  color: transparent;
  pointer-events: none;
  text-align: inherit;
  text-transform: inherit;
  text-wrap: inherit;
  background:
    linear-gradient(100deg,
      rgba(255,255,255,0) 0%,
      rgba(185,226,245,0.18) 37%,
      rgba(255,255,255,0.92) 50%,
      rgba(101,190,210,0.22) 61%,
      rgba(255,255,255,0) 74%);
  background-size: 230% 100%;
  background-repeat: no-repeat;
  background-position: var(--hero-shine-x) 50%;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: var(--hero-shine-opacity);
  filter: none;
  will-change: opacity, background-position;
}

.hero-neon-text::before,
.hero-neon-text::after {
  content: attr(data-hero-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  pointer-events: none;
  text-align: inherit;
  text-transform: inherit;
  text-wrap: inherit;
  filter: blur(0.012em);
  will-change: opacity, clip-path, transform;
}

.hero-neon-text::before {
  opacity: var(--hero-rose-opacity);
  -webkit-text-stroke: var(--hero-neon-stroke-size) var(--hero-neon-rose);
  clip-path: inset(0 var(--hero-rose-reveal) 0 0);
  text-shadow:
    0 0 0.16em rgba(245, 155, 197, 0.34),
    0 0 0.52em rgba(245, 155, 197, 0.22);
  transform: translateX(var(--hero-rose-x));
}

.hero-neon-text::after {
  opacity: var(--hero-cyan-opacity);
  -webkit-text-stroke: calc(var(--hero-neon-stroke-size) * 0.78) var(--hero-neon-cyan);
  clip-path: inset(0 var(--hero-cyan-reveal) 0 0);
  text-shadow:
    0 0 0.16em rgba(92, 205, 217, 0.34),
    0 0 0.5em rgba(213, 232, 245, 0.34);
  transform: translateX(var(--hero-cyan-x));
}

/* === HERO ENTER BUTTON + AURORA TEXT EFFECT === */

.hero-enter {
  --hero-enter-fs: var(--hero-enter-size);
  --hero-enter-ls: clamp(0.18em, 0.5cqi, 0.34em);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: var(--hero-enter-padding-y) clamp(0.6rem, 1.8cqi, 1.2rem);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: var(--hero-enter-ls);
  font-size: var(--hero-enter-fs);
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, filter 0.3s ease;
  will-change: opacity, transform;
}

.hero-enter.is-ready {
  pointer-events: auto;
}

.hero-enter:hover,
.hero-enter:focus-visible {
  outline: none;
  transform: translateY(-0.1em);
  filter: brightness(1.08) saturate(1.15);
}

.hero-enter:focus-visible .hero-enter-stack {
  outline: 2px solid rgba(74, 144, 217, 0.55);
  outline-offset: 0.45em;
  border-radius: 0.35em;
}

.hero-enter-stack {
  position: relative;
  display: inline-block;
  line-height: 1;
  isolation: isolate;
}

.hero-enter-stack::before,
.hero-enter-stack::after {
  content: '';
  position: absolute;
  left: 50%;
  width: calc(100% + clamp(0.5rem, 1.6cqi, 1.2rem));
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-enter-stack::before {
  bottom: calc(100% + clamp(0.15rem, 0.5cqi, 0.4rem));
}

.hero-enter-stack::after {
  top: calc(100% + clamp(0.15rem, 0.5cqi, 0.4rem));
}

.hero-enter-layer {
  display: inline-block;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-repeat: no-repeat;
  background-size: 260% 260%;
  will-change: background-position;
}

.hero-enter-layer-1 {
  background-image: radial-gradient(circle, rgba(86, 195, 215, 1) 0%, rgba(86, 195, 215, 0) 55%);  /* mandala outer-ring teal */
  animation: hero-aurora-pos-1 12s ease-in-out infinite alternate;
}

.hero-enter-layer-2,
.hero-enter-layer-3,
.hero-enter-layer-4 {
  position: absolute;
  inset: 0;
}

.hero-enter-layer-2 {
  background-image: radial-gradient(circle, rgba(232, 132, 178, 1) 0%, rgba(232, 132, 178, 0) 55%);  /* mandala petal rose */
  animation: hero-aurora-pos-2 14s ease-in-out infinite alternate;
}

.hero-enter-layer-3 {
  background-image: radial-gradient(circle, rgba(232, 192, 110, 1) 0%, rgba(232, 192, 110, 0) 55%);  /* mandala center peach/gold */
  animation: hero-aurora-pos-3 9s ease-in-out infinite alternate;
}

.hero-enter-layer-4 {
  background-image: radial-gradient(circle, rgba(174, 142, 220, 1) 0%, rgba(174, 142, 220, 0) 55%);  /* mandala accent lavender */
  animation: hero-aurora-pos-4 16s ease-in-out infinite alternate;
}

@keyframes hero-aurora-pos-1 {
  0%   { background-position: 0% 30%; }
  35%  { background-position: 100% 0%; }
  70%  { background-position: 40% 100%; }
  100% { background-position: 0% 30%; }
}

@keyframes hero-aurora-pos-2 {
  0%   { background-position: 100% 0%; }
  40%  { background-position: 0% 80%; }
  75%  { background-position: 70% 100%; }
  100% { background-position: 100% 0%; }
}

@keyframes hero-aurora-pos-3 {
  0%   { background-position: 50% 100%; }
  30%  { background-position: 100% 60%; }
  60%  { background-position: 0% 0%; }
  100% { background-position: 50% 100%; }
}

@keyframes hero-aurora-pos-4 {
  0%   { background-position: 100% 100%; }
  45%  { background-position: 30% 0%; }
  80%  { background-position: 0% 60%; }
  100% { background-position: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter-layer {
    animation: none !important;
  }
}

@media (max-width: 26.25em) {
  .hero {
    padding-inline: 1rem;
  }
}

@media (max-height: 34em) {
  .homepage-ambient,
  .hero,
  .hero-destiny-copy,
  .hero-explore-copy,
  .hero-spectra {
    --hero-edge-pad: clamp(0.45rem, 1.5svh, 0.9rem);
    --hero-glow-copy-gap: clamp(0.3rem, 1svh, 0.7rem);
    --hero-subtitle-gap: clamp(0.3rem, 0.8svh, 0.65rem);
    --hero-text-button-gap: clamp(0.45rem, 1.3svh, 0.9rem);
    --hero-title-size: clamp(1.35rem, min(7.5cqi, 6.6svh), 3.3rem);
    --hero-subtitle-size: clamp(0.95rem, min(3cqi, 3.2svh), 2.1rem);
    --hero-enter-size: clamp(1rem, min(4.5cqi, 4svh), 2.6rem);
    --hero-enter-padding-y: clamp(0.24rem, 0.75svh, 0.52rem);
  }
}

@media (max-width: 56.25em) {
  .hero-destiny-copy {
    width: min(calc(100% - 2rem), 44rem);
    text-wrap: balance;
  }

  .hero-destiny-headline {
    display: block;
    font-size: 1.4rem;
    white-space: normal;
  }

  .hero-destiny-headline .hero-destiny-brand {
    font-size: 1.55rem;
  }

  .hero-destiny-details {
    margin-top: 1.35rem;
  }

  .hero-destiny-company {
    font-size: 1.55rem;
  }

  .hero-destiny-publishing {
    font-size: 1.4rem;
  }

  .hero-destiny-description {
    font-size: 1.05rem;
  }

  .hero-explore-copy {
    width: min(calc(100% - 2rem), 44rem);
  }

  .hero-explore-lede,
  .hero-explore-intro,
  .hero-explore-body,
  .hero-guardian-copy {
    font-size: 1rem;
  }

  .hero-explore-identity {
    font-size: 1.1rem;
  }

}

@media (max-width: 33.75em) {
  .hero-destiny-copy {
    line-height: 1.36;
  }

  .hero-destiny-headline {
    font-size: 1.05rem;
  }

  .hero-destiny-headline .hero-destiny-brand {
    font-size: 1.2rem;
  }

  .hero-destiny-company {
    font-size: 1.2rem;
  }

  .hero-destiny-publishing {
    font-size: 1.12rem;
  }

  .hero-destiny-description {
    font-size: 0.95rem;
  }

  .hero-explore-lede,
  .hero-explore-intro,
  .hero-explore-body,
  .hero-guardian-copy {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .hero-explore-identity {
    margin-top: 1.05rem;
    font-size: 0.95rem;
  }

  .hero-guardian-list {
    padding-left: 0.9rem;
  }
}

@keyframes fade-up {
  0%   { opacity: 0; transform: none; }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-guardian-copy,
  .hero-explore-copy,
  .hero-small-logo,
  .hero-destiny-copy {
    opacity: 1;
    visibility: visible;
  }

  .hero-neon-text,
  .hero-shine-text {
    opacity: 1 !important;
    color: var(--hero-text-color) !important;
    -webkit-text-stroke: 0 transparent !important;
    filter: none !important;
    text-shadow: none !important;
    transform: none !important;
  }

  .hero-neon-text::before,
  .hero-neon-text::after,
  .hero-shine-text::after {
    display: none !important;
  }
}

/* Scroll indicator (mouse icon) */
.hero-scroll {
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 2.5rem;
  width: max-content;
  margin-inline: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
  animation: fade-up 0.6s ease-out 2.6s forwards;
}

.hero-scroll.is-dismissed {
  opacity: 0;
  animation: none;
}

.hero-scroll span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(74, 144, 217, 0.3);
  border-radius: 14px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--aquatone);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  50%      { top: 18px; opacity: 0.3; }
}


/* ============================================================
   LOTUS DIVIDER
   ============================================================ */

.lotus-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0;
}

.lotus-divider::before,
.lotus-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.lotus-divider svg {
  width: 28px; height: 28px;
  opacity: 0.25;
}


/* ============================================================
   NEWS / CONTENT CARDS
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 58, 92, 0.08);
}

.card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--helo-ice), var(--helo-lavender), var(--helo-rose));
  background-size: 200% 200%;
  animation: helio-shift 15s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

.card-image .card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  color: var(--deep-blue);
}

.card-body  { padding: 1.5rem; }

.card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--aquatone);
  margin-top: 1rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.6rem; }


/* ============================================================
   FEATURED TECHNIQUE BAND
   ============================================================ */

.technique-band {
  background: linear-gradient(
    135deg,
    rgba(232, 213, 245, 0.15),
    rgba(213, 232, 245, 0.2),
    rgba(245, 213, 232, 0.1)
  );
  border-top: 1px solid rgba(229, 231, 235, 0.5);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.technique-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .technique-inner { grid-template-columns: 1fr; }
}

.technique-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}


/* ============================================================
   AUDIO PLAYER
   ============================================================ */

.audio-player {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.play-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--deep-blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.play-btn:hover { background: var(--aquatone); }
.play-btn svg   { width: 18px; height: 18px; fill: white; }

.audio-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.audio-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.audio-bar-fill {
  height: 100%;
  width: 35%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--helo-violet), var(--aquatone), var(--helo-rose));
  background-size: 200% 100%;
  animation: spectrum-flow 4s linear infinite;
}

.audio-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}


/* ============================================================
   NEWCOMER PATH CARDS
   ============================================================ */

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 768px) {
  .path-grid { grid-template-columns: 1fr; }
}

.path-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.path-card:hover {
  border-color: var(--aquatone);
  box-shadow: 0 8px 30px rgba(74, 144, 217, 0.1);
}

.path-step {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aquatone);
  margin-bottom: 0.8rem;
}

.path-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.path-icon.read     { background: rgba(74, 144, 217, 0.1); }
.path-icon.practice { background: rgba(139, 92, 246, 0.1); }
.path-icon.watch    { background: rgba(245, 213, 232, 0.4); }

.path-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.path-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Connectors between path cards (desktop only) */
.path-connector { display: none; }

@media (min-width: 769px) {
  .path-connector {
    display: block;
    position: absolute;
    top: 50%;
    width: calc(33.33% - 1.5rem);
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--aquatone), var(--border));
    opacity: 0.3;
  }
  .path-connector:first-of-type { left: calc(33.33% + 0.2rem); }
  .path-connector:last-of-type  { left: calc(66.66% + 0.2rem); }
}


/* ============================================================
   PRODUCT CARDS
   ============================================================ */

.product-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 58, 92, 0.08);
}

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--helo-pearl), var(--helo-ice));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-image .placeholder {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--deep-blue);
  text-align: center;
  opacity: 0.5;
}

.product-body { padding: 1.2rem 1.5rem; }

.product-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--deep-blue);
  font-size: 0.95rem;
}


/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  background: var(--surface);
}

/* Iridescent gradient border */
.newsletter::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, var(--helo-violet), var(--helo-rose), var(--helo-ice), var(--helo-lavender));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.newsletter h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.newsletter p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--crystalline);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--aquatone); }

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  background: var(--deep-blue);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--aquatone); }


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--deep-blue);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  padding: clamp(1.1rem, 2.4vw, 2rem) clamp(1.25rem, 3.5vw, 2.5rem);
  --hero-footer-progress: 0;
}

body.brightflower-hero-pinned-footer .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  transform: translateY(calc((1 - var(--hero-footer-progress, 0)) * 100%));
  will-change: transform;
}

body.brightflower-hero-pinned-footer .footer-grid {
  gap: clamp(0.75rem, 1.8vw, 1.3rem);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(15rem, 1.25fr) minmax(17rem, 1fr) minmax(14rem, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

/* Prevent grid items from expanding their column to fit the widest unbreakable
   word (default min-width: auto = min-content). Long words break instead. */
.footer-grid > .footer-brand,
.footer-grid > .footer-col {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* In the wrapped 2-col layout, anchor the Contact block to the right edge of
     its grid cell so it mirrors the left-anchored Brand block. Text inside
     stays left-aligned so the labels (Email:, Phone:, Hours:) line up. */
  .footer-col-contact {
    justify-self: end;
  }

  /* In the wrapped 2-col layout, Legal takes the full footer width and the
     three links spread out horizontally; copyright drops to its own line. */
  .footer-col-legal {
    grid-column: 1 / -1;
  }

  .footer-col-legal ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem clamp(1.25rem, 3.5vw, 2.5rem);
  }

  .footer-col-legal ul li {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .footer-col-legal ul li.footer-col-legal-copyright {
    flex: 1 0 100%;
    margin-top: 0.4rem;
  }
}
@media (max-width: 480px) {
  .hero-explore-copy {
    --hero-explore-bottom-clearance: clamp(4rem, 14vh, 7rem);
    z-index: 0;
  }

  .hero-destiny-copy {
    z-index: 0;
  }

  /* Stack the three column blocks one under the other; each block fills the
     full grid-cell width so its text wraps inside (instead of overflowing)
     and is left-aligned. */
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: clamp(1.35rem, 5vw, 2rem);
  }

  body.brightflower-hero-pinned-footer .footer-grid {
    row-gap: clamp(1.35rem, 5vw, 2rem);
  }

  /* Reset the 2-col overrides so all three columns stretch to fill the cell. */
  .footer-col-contact { justify-self: stretch; }
  .footer-col-legal { grid-column: auto; }

  .footer-brand,
  .footer-col {
    text-align: left;
  }

  /* Legal links anchor to the left (was center at this width). */
  .footer-col-legal ul {
    justify-content: flex-start;
  }

  /* Allow the copyright to wrap when the line is wider than the column. */
  .footer-copyright {
    white-space: normal;
  }

  body.brightflower-homepage:not(.brightflower-hero-entered) {
    overflow: hidden;
    overflow-x: hidden;
    height: 100vh;
    height: 100svh;
  }

  /* At single-column width the footer is taller than the viewport. After the
     hero is entered, unlock body scroll so the footer can sit below the hero. */
  body.brightflower-homepage.brightflower-hero-entered {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }

  body.brightflower-homepage.brightflower-hero-entered.brightflower-hero-pinned-footer .site-footer {
    position: static;
    transform: none;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand .brand-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.92rem;
  opacity: 0.7;
}

.footer-description {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.6;
}

.footer-description span {
  display: block;
}

.footer-copyright {
  display: block;
  max-width: 100%;
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: 0.88rem;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (min-width: 30.0625em) {
  .footer-copyright {
    white-space: nowrap;
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.65rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.35rem; }

.footer-col ul li a {
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: 0.88rem;
  transition: opacity 0.2s;
}
.footer-col ul li a:hover { opacity: 1; color: var(--text-on-dark); }
