/* Gallery 06: the scene itself carries its position; detail actions remain. */
html[data-reduced=false] :is(.about,.sound,.creators,.brands) .scene-bottom{justify-content:flex-end}
html[data-reduced=false] .producers.scene .scene-bottom{justify-content:flex-start;min-height:0}
html[data-reduced=false] .spaces.scene .scene-bottom{justify-content:flex-end;min-height:0}
@media(max-width:680px){
 html[data-reduced=false] .brands .pin{grid-template-rows:auto auto minmax(0,1fr) auto}
 html[data-reduced=false] .spaces .pin{grid-template-rows:auto auto minmax(0,1fr) auto}
 html[data-reduced=false] .spaces .scene-bottom{display:none}
 html[data-reduced=false] .producers .scene-bottom .small-note{max-width:none}
}
@media(min-width:500px) and (max-width:680px) and (max-height:520px){
 html[data-reduced=false] .spaces.scene .pin{grid-template-rows:auto minmax(0,1fr) 44px}
}

/* Gallery 07: balance the introduction against the two profile portraits. */
@media (min-width:681px){
 html[data-reduced=false] .producers .producers-heading{top:54%;transform:translateY(-50%)}
}
@media (min-width:681px) and (min-height:521px){
 html[data-reduced=false] .producers .producer-wall{top:29%;bottom:14%}
}
@media (max-width:499px),(max-width:680px) and (min-height:521px){
 html[data-reduced=false] .producers .producer{height:min(89%,86vw)}
 html[data-reduced=false] .producers .producer.blink{top:max(5%,calc((100% - 86vw)*.3))}
}
.producers .portrait-open:focus-visible{outline-offset:-4px}

/* The closing line takes the foreground as the record drops into shadow. */
.hero-scrim{display:none}
html[data-reduced=false] .hero .hero-scrim{
 display:block;position:absolute;inset:0;z-index:3;pointer-events:none;opacity:var(--q);
 background:radial-gradient(ellipse 94% 49% at 36% 52%,#161814f5 0%,#161814eb 40%,#161814a6 66%,#16181400 100%);
}
html[data-reduced=false] .hero .hero-end{
 top:52%;left:var(--pad);right:var(--pad);margin:0;color:#fff6e9;
 font-size:clamp(46px,8.1vw,130px);font-weight:600;line-height:1.1;
 letter-spacing:-.072em;text-shadow:0 2px 24px #1119;pointer-events:none;
 transform:translateY(calc(-50% + (1 - var(--q))*22px));
}
.hero-end span,.hero-end strong{display:block;white-space:nowrap}
.hero-end strong{color:#ffad84;font-weight:850}
@media (max-width:680px){
 html[data-reduced=false] .hero .hero-end{font-size:clamp(29px,10.4vw,66px);line-height:1.16}
}
@media (max-height:520px){
 html[data-reduced=false] .hero .hero-end{font-size:clamp(27px,6.5vw,66px);top:55%}
}

/* Gallery 08: give the headline and the next step their own space. */
.hero .hero-bottom {
 display: grid;
 justify-items: start;
 row-gap: 14px;
 padding-bottom: 6px;
}
.hero .hero-copy h2 {
 font-size: clamp(34px, 4.15vw, 66px);
}
.hero .scroll-cue {
 position: static;
 gap: 14px;
}
@media (max-width: 680px) {
 .hero .hero-copy h2 { font-size: clamp(29px, 8.9vw, 42px); }
 .hero .hero-bottom { row-gap: 10px; }
}
@media (min-width: 500px) and (max-height: 520px) {
 html[data-reduced=false] .hero .hero-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 14px;
  padding-bottom: 0;
 }
 html[data-reduced=false] .hero .hero-copy h2 { font-size: clamp(24px, 4.6vw, 32px); }
 html[data-reduced=false] .hero .scroll-cue { position: static; justify-self: end; }
}

/* Gallery 09: fit the portrait composition between the wordmark and tagline. */
@media (max-width: 680px) and (orientation: portrait) and (min-height: 540px) {
 .hero .hero-stage {
  inset-block: calc(var(--head) + 42px + 16.7vw)
   calc(var(--safe-bottom) + 69px + clamp(58px, 18vw, 84px));
  container-type: size;
  --disc-size: min(90vw, 84cqh);
  --disc-right: max(4vw, calc((100vw - var(--disc-size)) * .4));
 }
 .hero .record {
  width: var(--disc-size);
  height: var(--disc-size);
  right: var(--disc-right);
  top: calc(50% - var(--disc-size) / 2);
 }
 .hero .sun {
  width: calc(var(--disc-size) * 1.04);
  height: calc(var(--disc-size) * 1.04);
  right: calc(var(--disc-right) - 1.4vw);
  top: calc(50% - var(--disc-size) * .56);
 }
}
