/* The single website and its film share one surface. Scope every override to
   this section, leaving the other website examples and galleries untouched. */
body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single],
body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single].is-hero-dive > .website-design-pair__portal-pin {
  --design-copy-stacked: 0;
  display: grid;
  /* Equal side tracks keep the artwork at the viewport's true center. */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 4vw, 72px);
  padding: clamp(32px, 4svh, 56px) max(6vw, calc((100vw - 1440px) / 2));
}

body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single].is-hero-dive {
  /* Extend only the fully enlarged movie, keeping the approach unchanged. */
  --hero-dive-hold-views: 1.2;
  display: block;
  padding: 0;
}

body.service-website-page #website-quiet-life-showcase-float .website-design-pair__heading {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  color: #243a46;
  text-align: left;
  pointer-events: none;
  transform: translateX(clamp(-56px, -3.5vw, -24px));
}

body.service-website-page #website-quiet-life-showcase-float .website-design-pair__title {
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.9;
  letter-spacing: .09em;
  white-space: nowrap;
}

body.service-website-page #website-quiet-life-showcase-float .website-design-pair__title span {
  display: block;
}

body.service-website-page #website-quiet-life-showcase-float .website-design-pair__composition {
  display: block;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: min(44vw, 600px, var(--design-page-width, 600px));
  max-width: none;
  margin: 0;
}

body.service-website-page #website-quiet-life-showcase-float .website-design-pair__page--front {
  width: 100%;
  margin: 0;
  transform: none;
}

body.service-website-page #website-quiet-life-showcase-float:not(.is-hero-dive) .website-design-pair__film-play {
  grid-column: 2;
  grid-row: 2;
  margin-top: 40px;
}

@media (max-width: 900px) {
  body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single],
  body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single].is-hero-dive > .website-design-pair__portal-pin {
    --design-copy-stacked: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 28px;
    padding: 28px 24px;
  }

  body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single].is-hero-dive {
    padding: 0;
  }

  body.service-website-page #website-quiet-life-showcase-float .website-design-pair__heading {
    justify-self: center;
    width: 100%;
    max-width: 500px;
    padding-top: 20px;
    text-align: center;
    transform: translateY(24px);
  }

  body.service-website-page #website-quiet-life-showcase-float .website-design-pair__title {
    writing-mode: horizontal-tb;
    font-size: clamp(20px, 5.1vw, 24px);
    line-height: 1.55;
    letter-spacing: .035em;
    white-space: normal;
  }

  body.service-website-page #website-quiet-life-showcase-float .website-design-pair__composition {
    grid-column: 1;
    grid-row: 1;
    width: min(78vw, 360px, var(--design-page-width, 360px));
    max-width: calc(100% - 40px);
  }

  body.service-website-page #website-quiet-life-showcase-float:not(.is-hero-dive) .website-design-pair__film-play {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }
}

/* On unusually short screens, allow the introduction to pass naturally before
   zooming. Keep the single page legible instead of squeezing it to a sliver. */
@media (max-width: 900px) and (max-height: 540px) {
  body.service-website-page #website-quiet-life-showcase-float[data-eluna-design-single].is-hero-dive > .website-design-pair__portal-pin {
    height: 640px;
    top: min(0px, calc(100svh - 640px));
  }

  body.service-website-page #website-quiet-life-showcase-float .website-design-pair__composition {
    width: min(64vw, 240px, var(--design-page-width, 240px));
  }
}
