/* The Thunderpot is a quiet, 80%-black impression behind the gathering line. */
.gathering-watermark{position:relative;isolation:isolate;min-height:140px}
.gathering-watermark:after{content:"";position:absolute;left:50%;top:50%;width:25%;aspect-ratio:1;transform:translate(-50%,-50%);background:#333333;mask:url('assets/eranos-icon-29.svg') center/contain no-repeat;-webkit-mask:url('assets/eranos-icon-29.svg') center/contain no-repeat;z-index:-1;pointer-events:none}

/* Preserve the breathing room formerly supplied by the adjacent hero. */
.wood-fascia + .team,.wood-fascia + .intro,.wood-fascia + .careers-box{padding-top:64px}
@media(max-width:800px){.wood-fascia + .team,.wood-fascia + .intro,.wood-fascia + .careers-box{padding-top:48px}}

/* Games: a compact hero and a single physical cartridge size on each viewport. */
[data-page=games] .studio-hero{--cartridge-width:clamp(215px,25vw,370px);min-height:570px;height:570px;overflow:hidden}
[data-page=games] .surfrat-cartridge,[data-page=games] .next-cartridge{width:var(--cartridge-width);height:calc(var(--cartridge-width)*1402/1122)}
[data-page=games] .surfrat-cartridge{left:35%;top:auto;bottom:calc(var(--cartridge-width)*.1024 - 3px);transform:rotate(14deg)}
[data-page=games] .next-cartridge-top{top:-15px;right:7%}
[data-page=games] .next-cartridge-bottom{top:215px;left:61%;right:auto}
[data-page=games] .studio-hero h1{font-size:clamp(48px,5vw,76px)}
@media(min-width:1700px){[data-page=games] .studio-hero{height:630px;min-height:630px}}
@media(max-width:800px){
[data-page=games] .studio-hero{--cartridge-width:clamp(215px,50vw,270px);height:670px;min-height:670px;padding-bottom:0}
[data-page=games] .studio-hero-copy{width:100%;padding:42px 5% 0}
[data-page=games] .studio-hero h1{font-size:clamp(32px,8.5vw,60px)}
[data-page=games] .games-cartridge-stage{position:absolute;inset:0;height:auto;margin:0}
[data-page=games] .surfrat-cartridge{top:auto;bottom:calc(var(--cartridge-width)*.0839 - 3px);left:8%;transform:rotate(11deg)}
[data-page=games] .next-cartridge-top{top:65px;right:-84px}
[data-page=games] .next-cartridge-bottom{top:340px;left:auto;right:-105px}
}
@media(min-width:481px) and (max-width:800px){[data-page=games] .surfrat-cartridge{left:25%}[data-page=games] .next-cartridge-top{right:-36px}[data-page=games] .next-cartridge-bottom{right:-105px;top:295px}}

@media(max-width:800px){.gathering-watermark{padding-right:30%;line-height:1.7}.gathering-watermark:before{flex-shrink:0}.gathering-watermark:after{left:auto;right:0;transform:translateY(-50%)}}

/* Align the visible feet to the final text line, using tightly cropped artwork. */
.gathering-watermark{display:flex;align-items:center;padding-right:0}
.gathering-watermark:after{content:none}
.gathering-lockup{position:relative;width:100%}
.gathering-label{padding-right:30%;line-height:1.7}
.gathering-label:before{flex-shrink:0}
.gathering-pot{position:absolute;right:0;bottom:3px;width:25%;aspect-ratio:588/593;background:#333;mask:url('assets/eranos-watermark-tight.svg') center/contain no-repeat;-webkit-mask:url('assets/eranos-watermark-tight.svg') center/contain no-repeat;pointer-events:none}
