.bh-scened {
  position: relative;
  isolation: isolate;
}

.bh-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  pointer-events: none;
}

.bh-hero > .bh-scene {
  z-index: 1;
}

.bh-scene__item {
  position: absolute;
  display: block;
}

.bh-scene__item img {
  display: block;
  inline-size: 100%;
  block-size: auto;
}

.bh-scene__lights {
  position: absolute;
  inset-inline: 0;
  inset-block-start: var(--bh-lights-top, 0);
  block-size: 70px;
  background: url("scenery/lights.svg") var(--bh-lights-x, 0) 0 / 180px 70px repeat-x;
}

.bh-scene__thatch {
  position: absolute;
  inset-inline: -4px;
  inset-block-start: 0;
  block-size: 104px;
  background: var(--bh-tex-thatch-fringe) 0 0 / 532px 104px repeat-x;
  filter: drop-shadow(0 12px 10px rgb(0 0 0 / 42%));
}

.bh-scened--thatch {
  --bh-lights-top: 64px;
}

.bh-section.bh-scened--thatch {
  padding-block-start: calc(var(--bh-space-2xl) + 128px);
}

.bh-scened--lights:not(.bh-scened--thatch, .bh-hero) {
  padding-block-start: calc(var(--bh-space-3xl) + 24px);
}

.bh-hero {
  --bh-lights-top: 124px;
}

.bh-scene__canopy--l {
  inline-size: min(52vw, 900px);
  inset-inline-start: -23vw;
  inset-block-start: -16%;
}

.bh-scene__canopy--r {
  inline-size: min(46vw, 820px);
  inset-inline-end: -15vw;
  inset-block-start: -12%;
}

.bh-scene__canopy {
  filter: brightness(0.6);
}

@media (max-width: 600px) {
  .bh-scene__canopy--l {
    inline-size: 92vw;
    inset-inline-start: -56vw;
    inset-block-start: -7%;
  }

  .bh-scene__canopy--r {
    inline-size: 84vw;
    inset-inline-end: -52vw;
    inset-block-start: -5%;
  }

  .bh-hero {
    --bh-lights-top: 104px;
  }
}

.bh-scened--grove {
  --bh-shore-h: calc(var(--bh-wa) * 1.35);
  --bh-ground: calc(var(--bh-wa) * 0.5);
  --bh-wa: clamp(118px, 14vw, 250px);
  --bh-wb: clamp(84px, 9.5vw, 170px);
  --bh-wc: clamp(140px, 17vw, 300px);
  --bh-xa: 4%;
  --bh-xb: calc(4% + var(--bh-wa) * 0.8);
  --bh-xc: 3%;
  padding-block-start: calc(var(--bh-space-2xl) + 128px);
  padding-block-end: calc(var(--bh-shore-h) + clamp(120px, 12vw, 220px));
  background-color: #cfeaf8;
  background-image: linear-gradient(180deg, rgb(90 170 230 / 22%), rgb(255 255 255 / 0%) 45%), var(--bh-tex-sky);
  background-size: auto, cover;
  background-position: 0 0, 50% 0;
  color: #0f2a4a;
  --bh-ink: #0f2a4a;
  --bh-ink-soft: #16345a;
  --bh-muted: #1f3b5c;
  --bh-line: rgb(15 42 74 / 22%);
  --bh-accent-text: #5c1f00;
  --bh-focus: #0f2a4a;
}

.bh-scened--grove .bh-title :is(em, i, strong, b) {
  color: #a3155a;
}

.bh-scened--grove :is(.bh-reviews__quotemark, .bh-reviews__star--on) {
  color: #a3155a;
}

.bh-scene__shore {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  block-size: var(--bh-shore-h);
  background: var(--bh-tex-shore) 0 0 / auto 100% repeat-x, var(--bh-tex-sand-light) 0 100% / 768px auto;
}

.bh-scene__palm--a {
  inline-size: calc(var(--bh-wa) * 2.628);
  inset-inline-start: var(--bh-xa);
  inset-block-end: calc(var(--bh-ground) - var(--bh-wa) * 0.448);
}

.bh-scene__palm--b {
  inline-size: calc(var(--bh-wb) * 2.196);
  inset-inline-start: var(--bh-xb);
  inset-block-end: calc(var(--bh-ground) + var(--bh-wa) * 0.07 - var(--bh-wb) * 0.311);
  filter: saturate(0.85) blur(0.6px);
}

.bh-scene__ball {
  inline-size: calc(var(--bh-wa) * 0.5);
  inset-inline-start: calc(var(--bh-xa) + var(--bh-wa) * 1.05);
  inset-block-end: calc(var(--bh-ground) - var(--bh-wa) * 0.13);
}

.bh-scene__palm--c {
  inline-size: calc(var(--bh-wc) * 2.361);
  inset-inline-start: calc(100% - var(--bh-xc) - var(--bh-wc));
  inset-block-end: calc(var(--bh-ground) - var(--bh-wc) * 0.375);
}

@media (max-width: 600px) {
  .bh-scened--grove {
    --bh-wa: 30vw;
    --bh-wb: 19vw;
    --bh-wc: 34vw;
    --bh-xa: -3%;
    --bh-xb: calc(-3% + var(--bh-wa) * 0.78);
    --bh-xc: -5%;
    padding-block-end: calc(var(--bh-shore-h) + 32vw);
  }
}

.bh-scene__crown {
  inline-size: clamp(250px, 34vw, 560px);
  inset-block-start: calc(clamp(250px, 34vw, 560px) * -0.34);
  inset-inline-end: calc(clamp(250px, 34vw, 560px) * -0.2);
  filter: drop-shadow(26px 34px 14px rgb(84 58 16 / 24%));
}

.bh-scene__crown img {
  transform: rotate(158deg);
}

.bh-scened--crown {
  padding-block-start: max(var(--bh-space-3xl), clamp(250px, 34vw, 560px) * 0.64);
}

@media (min-width: 1100px) {
  .bh-scened--crown {
    padding-block-start: var(--bh-space-3xl);
  }
}

.bh-scene__board {
  inline-size: clamp(64px, 6.4vw, 112px);
  inset-inline-start: max(1.5rem, 50% - 34rem);
  inset-block-end: 40px;
  transform: rotate(-6deg);
  transform-origin: 50% 100%;
  filter: drop-shadow(3px 2px 3px rgb(84 58 16 / 30%));
}

.bh-scene__dune {
  position: absolute;
  inset-inline-start: calc(max(1.5rem, 50% - 34rem) + clamp(64px, 6.4vw, 112px) * 0.5);
  inset-block-end: 22px;
  inline-size: calc(clamp(64px, 6.4vw, 112px) * 1.6);
  block-size: clamp(30px, 3vw, 44px);
  background: radial-gradient(closest-side, rgb(120 92 48 / 34%) 0%, rgb(120 92 48 / 18%) 45%, rgb(120 92 48 / 0%) 100%);
  transform: translateX(-50%);
}

.bh-scene__boardshadow {
  position: absolute;
  inset-inline-start: calc(max(1.5rem, 50% - 34rem) + clamp(64px, 6.4vw, 112px) * 0.5);
  inset-block-end: 34px;
  inline-size: calc(clamp(64px, 6.4vw, 112px) * 1.6);
  block-size: 16px;
  background: linear-gradient(90deg, rgb(70 50 20 / 30%), rgb(70 50 20 / 0%));
  border-radius: 50%;
  transform: skewX(-38deg);
  transform-origin: 0 50%;
}

@media (max-width: 899px) {
  .bh-scene__board,
  .bh-scene__dune,
  .bh-scene__boardshadow { display: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bh-scene__canopy img {
      animation: bh-scene-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }

    .bh-scene__crown {
      animation: bh-scene-sway linear both;
      animation-timeline: view();
    }
  }
}

@keyframes bh-scene-drift {
  to { transform: translate3d(0, -7%, 0); }
}

@keyframes bh-scene-sway {
  from { transform: translate3d(0, -12px, 0); }
  to { transform: translate3d(0, 12px, 0); }
}

.bh-albums.bh-tone--deep {
  --bh-deep-tex: var(--bh-tex-bamboo-mat-dark);
  --bh-deep-scrim: rgb(6 20 36 / 30%);
  background-color: #0b1f33;
}

.bh-albums.bh-tone--deep .bh-title :is(em, i, strong, b) {
  color: #e6fdff;
  text-shadow: 0 0 2px #fff, 0 0 8px #29e0f0, 0 0 18px rgb(41 224 240 / 75%), 0 0 36px rgb(41 200 240 / 45%);
}

.bh-gi {
  display: block;
  inline-size: 1em;
  block-size: 1em;
  fill: currentcolor;
}
