/* Loaded last: content and measured controls determine available space. */
@media(max-width:767px){
  body.homepage .to-hero-copy{display:grid;grid-template-rows:var(--st-hero-title-row,auto) var(--st-hero-description-row,auto) auto;align-items:start;justify-items:start;width:100%}
  body.homepage .to-hero-copy .to-hero-button{align-self:start}
  body.homepage .to-hero-copy :is(h1,h2){align-self:end}
  body.homepage .region.sc-carousel-ready>.to-hero[data-hero-slide="2"] .section-background img{top:0!important;height:100%!important;object-position:center center!important}
  body.homepage .region.sc-carousel-ready>.page-section.to-hero .content-wrapper{align-items:flex-end!important;justify-content:flex-start!important;padding:100px 24px 28px!important}
  body.homepage .region.sc-carousel-ready>.page-section.to-hero .section-background::after{background:linear-gradient(180deg,#08070b30 0%,#08070b05 35%,#08070b85 65%,#08070be6 100%)!important}
  body.homepage .sc-controls{position:relative!important;inset:auto!important;grid-row:2;grid-column:1;height:auto!important;min-height:60px;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;padding:8px 12px;box-sizing:border-box;background:#0a0a0b;pointer-events:auto}
  body.homepage .sc-controls .sc-dots{position:static!important;transform:none!important;display:flex;align-items:center;margin:0}
  body.homepage .sc-controls .st-carousel-pause{position:static!important;flex:none;margin:0}
  body.homepage .sc-controls .st-video-pause{position:static!important;flex:none;margin:0;padding:8px 10px}
}
:root{--st-header-size:104px;--st-buy-size:0px}
@media(max-width:380px){body.homepage .sc-controls{min-height:108px;align-content:center}}
.st-form-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body.st-worklist{padding-top:var(--st-header-size)!important}
html{scroll-padding-top:calc(var(--st-header-size) + 16px);scroll-padding-bottom:calc(var(--st-buy-size) + 16px)}
.st-worklist [id]{scroll-margin-top:calc(var(--st-header-size) + 16px)}
.stc-acc-body[hidden]{display:none!important}
body.st-worklist .stc-acc-item.stc-acc-open .stc-acc-body{max-height:none;overflow:visible}
.st-header nav{flex-wrap:wrap;min-width:0}
.st-header nav a,.st-button,.to-hero-button{white-space:normal;overflow-wrap:anywhere;max-width:100%}
.st-buy-bar{flex-wrap:wrap}
.st-buy-bar>span,.st-buy-bar>button{min-width:0;overflow-wrap:anywhere}
.st-buy-bar>span{flex:1 1 8rem}
.st-buy-bar>button{flex:1 1 10rem}
.st-tier-jump{flex-wrap:wrap}
.st-tier-jump label{white-space:normal;overflow-wrap:anywhere}
.st-tier-jump select{flex:1 1 12rem;max-width:100%}
.home-heading{flex-wrap:wrap}
.home-heading>.home-text-link{flex-shrink:1}
.home-first-actions,.home-first-actions .st-button{min-width:0;max-width:100%}
.home-costume h3,.photo-intro h1,.to-hero-copy{overflow-wrap:anywhere;min-width:0}
/* All slides share one grid cell, so the longest slide sets the row height. */
body.homepage .region.sc-carousel-ready{display:grid;grid-template-columns:minmax(0,1fr)}
body.homepage .region.sc-carousel-ready>.page-section.to-hero{grid-area:1/1;position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:clamp(620px,78vh,820px)!important}
body.homepage .region>.page-section.to-hero .content-wrapper{padding-top:64px!important;padding-bottom:88px!important}
@media(max-width:1279px){:root{--st-header-size:86px}.st-header nav{top:100%;max-height:calc(100dvh - var(--st-header-size))}}
@media(max-width:767px){
  body.homepage .region.sc-carousel-ready>.page-section.to-hero{min-height:clamp(460px,calc(100svh - var(--st-header-size) - 140px),780px)!important}
  body.st-has-buy-bar{padding-bottom:var(--st-buy-size)}
  body.st-has-buy-bar #ask-showtime-widget{bottom:calc(var(--st-buy-size) + 12px)!important;--showtime-clearance:calc(var(--st-buy-size) + 114px)}
  .st-has-buy-bar [id*="showtime"] iframe{bottom:calc(var(--st-buy-size) + 14px)!important}
}
@media(max-width:380px){body.homepage .region.sc-carousel-ready>.page-section.to-hero{min-height:clamp(460px,calc(100svh - var(--st-header-size) - 188px),780px)!important}}
