/* Visitor layout: keep the established artwork size after removing studio controls. */
.profile-display{height:calc(76vh - 84px);max-height:736px;min-height:496px}
.profile-figure{height:100%}
@media(max-width:1000px){.profile-display{min-height:436px}}
@media(max-width:700px){.profile-display{height:calc(68svh - 84px);min-height:386px;max-height:566px}.masthead nav{flex:0 0 100%}}
.custom-dialog-note{line-height:1.8}

/* Product-first browsing and a separate configuration step. */
#productDialog[data-purchase-step=browse] .focus-copy>:not(#focusTitle):not(.price-row):not(#buy){display:none!important}
#productDialog[data-purchase-step=browse] .zoom-tools{display:none}
#productDialog[data-purchase-step=browse] .focus-grid{align-items:center;padding-top:0}
#productDialog[data-purchase-step=browse] .focus-copy h2{font-size:clamp(26px,3vw,42px);margin:0 0 20px}
#productDialog[data-purchase-step=browse] .focus-projection{height:78dvh;max-height:840px;min-height:0;position:relative;top:0}
#productDialog[data-purchase-step=browse] #focusArt{inset:8px!important;width:auto!important;height:auto!important;border:0;box-shadow:none;background:none;border-radius:0;cursor:zoom-in}
#productDialog[data-purchase-step=browse] #focusArt.zoomed{cursor:grab}
#productDialog .close{z-index:30;width:44px;height:44px;min-width:44px;background:#100d17d9;border-radius:50%;backdrop-filter:blur(8px)}
#productDialog .carousel-arrow{width:44px;height:44px;min-width:44px;background:#0d1018df;border:1px solid #badbdc65;border-radius:50%;top:50%;transform:translateY(-50%);font-size:23px}
#productDialog #prev{right:8px;left:auto}#productDialog #next{left:8px;right:auto}
#productDialog[data-purchase-step=options] .focus-grid{align-items:start}
#productDialog[data-purchase-step=options] .carousel-arrow{display:none}
.purchase-back{display:block;font:inherit;font-size:13px;color:#dec692;border:0;border-bottom:1px solid #dec69255;padding:10px 0;margin:0 0 15px;background:transparent}
#productDialog[data-purchase-step=options] .focus-copy>.eyebrow{display:none}
#productDialog[data-purchase-step=options] .focus-copy h2{font-size:clamp(23px,2.2vw,32px)}
#productDialog[data-purchase-step=options] #focusKind{font-size:14px;margin:8px 0 16px}
#productDialog[data-purchase-step=options] .focus-projection{position:sticky;top:8px}
#productDialog[data-purchase-step=options] #buy{margin-top:10px}
#productDialog[data-purchase-step=options] .zoom-tools{display:none}
#productDialog[data-purchase-step=options] #focusArt{inset:18px 12px!important;width:auto!important;height:auto!important}
#productDialog #buy:focus-visible,.purchase-back:focus-visible{outline:2px solid #b5f4ec;outline-offset:4px}

/* Explicit grid tracks prevent short screens from collapsing the merchandise. */
#stage .collection-overlay{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;max-height:none}
#stage .collection-heading{max-width:calc(100% - 100px)}
#stage .collection-heading h2{margin:0;font-size:clamp(22px,2.6vw,38px)}
#stage .collection-footer{display:none}
#stage #products{height:auto;min-height:0;margin:0;align-items:stretch}
#stage #products .projection-card{height:100%;min-height:0;max-height:none;transform:none}
#stage #products .product-main{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;height:100%;min-height:0;padding:0}
#stage #products .product-visual{height:auto;min-height:0;margin:0;position:relative}
#stage #products .product-picture{inset:0!important;width:100%!important;height:100%!important;border:0;box-shadow:none}
#stage #products .product-info{display:flex;align-items:center;padding:5px 6px;gap:12px;margin:0}
#stage #products .product-info h3{min-height:0;font-size:17px;line-height:1.3;margin:0}
#stage #products .product-info strong{font-size:16px;white-space:nowrap}
#stage #products .merch-platform{display:none}

/* The same profile elements have a consistent, accessible reading order. */
.brief-profile{grid-template-areas:'copy display' 'details display' 'gallery display';grid-template-rows:auto auto auto;align-content:center;row-gap:0}
.profile-copy{grid-area:copy;align-self:end}
.profile-display{grid-area:display}
.profile-details{grid-area:details;z-index:2;align-self:start}
.brief-profile>.profile-gallery{grid-area:gallery;z-index:2;justify-self:start;align-self:start;width:max-content;max-width:100%}

@media(max-width:700px){
 /* Use normal flow below the image so there is no empty, fixed-height band. */
 .landing{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;padding:0 0 20px}
 .landing .key-art{position:relative;inset:auto;flex:none;width:100%;height:51.6667vw;max-height:none;background-size:155% auto;background-position:left top;background-color:transparent}
 .landing .hero-shade{inset:0 0 auto;height:51.6667vw;background:linear-gradient(0deg,#09081077,transparent 15%);pointer-events:none}
 .landing .hero-copy{position:relative!important;inset:auto!important;transform:none;width:auto;max-width:none;padding:20px 6vw 0!important;margin:0!important;display:flex;flex-direction:column}
 .landing .series-lock{order:0;margin:0;padding-left:83px}
 .landing .hero-copy h1{font-size:clamp(32px,9.9vw,60px);line-height:1.02;letter-spacing:-.035em}
 .landing .episode-line{order:1;margin:13px 0 0}
 .landing .episode-line>span:first-child{font-size:18px}
 .landing .hero-sentence{order:2;font-size:16px;line-height:1.7;margin:16px 0 18px}
 .landing .hero-copy>.eyebrow{order:3;align-self:flex-start;gap:8px;font-size:10px;letter-spacing:.04em;border:1px solid #d3ae683d;background:linear-gradient(120deg,#bea06612,#8bcfc907);padding:9px 12px;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
 .landing .hero-bottom{position:static;inset:auto;margin:18px 6vw 0;padding:0;justify-content:flex-end}
 .landing .hero-bottom .edition{position:absolute;top:calc(51.6667vw + 29px);left:6vw;width:70px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;direction:rtl;text-align:left;line-height:1.5}
 .landing .hero-bottom .edition i{display:none}
 .landing .hero-bottom .edition>span:first-child{font:11px/1.5 Heebo,Arial,sans-serif;color:#b9a788}
 .landing .hero-bottom .edition>span:last-child{order:-1;font-size:12px;color:#d0bd9a}
 #start.hero-play{--control-size:52px;left:46%;top:29vw;bottom:auto;transform:translateX(-50%);margin:0}
 #start.hero-play:hover{transform:translateX(-50%) scale(1.04)}
 #start.hero-play svg{width:27px;height:27px}
 .brief-profile{padding:42px 6vw 30px;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-areas:'copy' 'display' 'gallery' 'details';grid-template-rows:auto auto auto auto;gap:12px}
 .profile-copy{align-self:auto;max-width:100%}
 .profile-copy h2{font-size:clamp(35px,9.7vw,49px);margin:12px 0 4px;line-height:1.08}
 .profile-copy>.eyebrow{font-size:16px}
 .profile-display{height:clamp(345px,105vw,450px);min-height:0;max-height:none;width:100%;max-width:360px;justify-self:center;margin:0}
 .profile-figure{height:100%;width:100%}
 .brief-profile>.profile-gallery{align-self:center;justify-self:center;width:max-content;max-width:100%;min-height:44px;margin:0 0 6px;padding:8px 2px;font-size:14px;line-height:1.5;gap:12px;text-align:center;white-space:normal;color:#d0c6d6;border-bottom:1px solid color-mix(in srgb,var(--profile-accent),transparent 65%)}
 .profile-gallery span{flex:none}
 .profile-details{margin-top:6px}
 .profile-age{margin:0 0 12px;font-size:15px}
 .profile-bio{font-size:15px;line-height:1.9;margin:0;max-width:none}
 .profile-watermark{bottom:32%;font-size:35vw}
 #profile-batchen h2:before{font-size:20px;margin-bottom:8px}
}

/* On phones the first view is an edge-to-edge product with a small purchase bar.
   Low landscape height is handled independently of viewport width. */
@media(max-width:700px),(max-height:550px) and (orientation:landscape){
 #productDialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;overflow-y:auto;background:#100d17}
 #productDialog[data-purchase-step=browse]{overflow:hidden}
 #productDialog[data-purchase-step=browse] .focus-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;height:100%;min-height:0;padding:0}
 #productDialog[data-purchase-step=browse] .focus-projection{position:relative;top:auto;height:100%;width:100%;max-height:none;min-height:0;border-radius:0;background:none}
 #productDialog[data-purchase-step=browse] #focusArt{inset:0!important;overflow:hidden!important}
 #productDialog[data-purchase-step=browse] .focus-copy{padding:13px 18px max(13px,env(safe-area-inset-bottom));margin:0;background:#14101e;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:15px;row-gap:6px;border-top:1px solid #d4b77725;direction:rtl}
 #productDialog[data-purchase-step=browse] .focus-copy h2{font-size:17px;line-height:1.4;margin:0;max-width:none;grid-column:1;grid-row:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 #productDialog[data-purchase-step=browse] .price-row{grid-column:1;grid-row:2;display:flex;align-items:center;gap:9px;margin:0;flex-wrap:wrap}
 #productDialog[data-purchase-step=browse] .price-row strong{font-size:19px;line-height:1.2}
 #productDialog[data-purchase-step=browse] .price-row span{font-size:10px;line-height:1.2}
 #productDialog[data-purchase-step=browse] #buy{grid-column:2;grid-row:1/3;width:auto;min-width:104px;min-height:46px;margin:0;align-self:center;padding:10px 18px;font-size:15px}
 #productDialog .close{position:fixed;left:max(12px,env(safe-area-inset-left));top:max(12px,env(safe-area-inset-top));margin:0}
 #productDialog[data-purchase-step=options] .focus-grid{padding:0;gap:0;grid-template-columns:minmax(0,1fr)}
 #productDialog[data-purchase-step=options] .focus-projection{position:relative;top:auto;height:42dvh;min-height:210px;border-radius:0}
 #productDialog[data-purchase-step=options] .focus-copy{padding:24px 22px max(24px,env(safe-area-inset-bottom))}
 #productDialog[data-purchase-step=options] #focusTitle{scroll-margin-top:65px;font-size:25px;margin:8px 0}
 #productDialog[data-purchase-step=options] #focusArt{inset:0!important;border:0;box-shadow:none;background:none}
 #productDialog[data-purchase-step=options] .purchase-back{font-size:13px;padding:8px 0;margin:0 0 16px}
 #stage .cinema-top{padding:12px 16px;gap:10px}
 #stage .cinema-top .micro{display:none}
 #stage .cinema-top strong{font-size:12px;line-height:1.3}
 #stage .cinema-top .glass-button{font-size:12px;min-height:38px;padding:7px 10px;gap:6px}
 #stage .collection-overlay{inset:65px 0 74px;gap:10px;max-height:none;justify-content:normal}
 #stage .collection-heading{max-width:none;padding:0 20px;margin:0}
 #stage .collection-heading>div{flex-wrap:nowrap;justify-content:space-between;gap:12px}
 #stage .collection-heading h2{font-size:19px;line-height:1.2;margin:0}
 #stage .collection-heading .merch-it-mark{font-size:12px;padding:7px 9px}
 #stage .collection-heading:after{font-size:10px;margin:6px 0 0}
 #stage #products{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:9vw;gap:6vw;padding:0 9vw 4px;scrollbar-width:none;direction:rtl;overscroll-behavior-x:contain}
 #stage #products[data-cohort=outfits]{direction:rtl}
 #stage #products::-webkit-scrollbar{display:none}
 #stage #products .projection-card{flex:0 0 82vw;scroll-snap-align:center;scroll-snap-stop:always}
 #stage #products .product-main{gap:5px}
 #stage #products .product-info h3{font-size:16px}
 #stage #products .product-info strong{font-size:16px}
 #stage #resume{display:none!important}
 #stage .transport{inset:auto max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));padding:5px 0;gap:10px}
 #stage .transport .iconbutton{min-height:42px;min-width:42px;padding:8px}
 #stage .transport span{font-size:11px}
 #stage #products .product-visual:before{animation:none}
}
@media(max-height:550px) and (orientation:landscape){
 #stage .cinema-top{padding:8px max(18px,env(safe-area-inset-left));align-items:center}
 #stage .cinema-top .glass-button{min-height:32px;font-size:11px;padding:4px 10px}
 #stage .collection-overlay{inset:49px 0 56px;gap:5px}
 #stage .collection-heading{padding:0 max(24px,env(safe-area-inset-right))}
 #stage .collection-heading h2{font-size:16px}
 #stage .collection-heading .merch-it-mark{font-size:11px;padding:4px 8px}
 #stage .collection-heading:after{display:none}
 #stage #products{padding-inline:18vw;scroll-padding-inline:18vw;gap:3vw}
 #stage #products .projection-card{flex-basis:64vw}
 #stage #products .product-info{justify-content:center;gap:18px;padding:2px 0}
 #stage #products .product-info h3,#stage #products .product-info strong{font-size:14px}
 #stage .transport{padding:0;gap:10px;bottom:max(4px,env(safe-area-inset-bottom))}
 #stage .transport .iconbutton{min-height:40px;min-width:40px}
 #productDialog[data-purchase-step=browse] .focus-grid{grid-template-rows:minmax(0,1fr) 68px}
 #productDialog[data-purchase-step=browse] .focus-copy{padding:8px max(22px,env(safe-area-inset-right));column-gap:20px;row-gap:2px}
 #productDialog[data-purchase-step=browse] .focus-copy h2{font-size:15px;-webkit-line-clamp:1}
 #productDialog[data-purchase-step=browse] .price-row strong{font-size:17px}
 #productDialog[data-purchase-step=options] .focus-grid{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:20px;padding:14px 30px}
 #productDialog[data-purchase-step=options] .focus-projection{position:sticky;top:0;height:calc(100dvh - 28px)}
 #productDialog[data-purchase-step=options] .focus-copy{padding:15px 0}
}
@media(max-width:700px) and (orientation:portrait){
 #productDialog[data-purchase-step=options]{overflow:hidden}
 #productDialog[data-purchase-step=options] .focus-grid{height:100%;grid-template-rows:minmax(180px,34dvh) minmax(0,1fr)}
 #productDialog[data-purchase-step=options] .focus-projection{height:100%;min-height:0}
 #productDialog[data-purchase-step=options] .focus-copy{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;border-top:1px solid #d4b77725;padding:16px 22px max(22px,env(safe-area-inset-bottom))}
}
.scene-carousel-arrow{display:none}
@media(max-width:700px),(max-height:550px) and (orientation:landscape){
 .scene-carousel-arrow{position:absolute;top:50%;translate:0 -50%;display:grid;place-items:center;width:44px;height:44px;background:#0d1018e8;color:#eee2c8;border:1px solid #badbdc65;border-radius:50%;font-size:23px;z-index:6}
 .scene-carousel-arrow.previous{right:10px}.scene-carousel-arrow.next{left:10px}
 .scene-carousel-arrow:disabled{opacity:0;pointer-events:none}
 #stage #products .product-picture{translate:0 0!important}
}
@media(max-height:550px) and (orientation:landscape){.scene-carousel-arrow.previous{right:15vw}.scene-carousel-arrow.next{left:15vw}}
#stage .collection-overlay{grid-template-columns:minmax(0,1fr);justify-content:stretch}

/* Full product gallery after the imperial entertainment universe. */
.gallery-showcase{position:relative;padding:clamp(70px,9vw,150px) clamp(18px,5vw,86px);background:radial-gradient(circle at 50% 0,#3a234a42 0,transparent 34%),linear-gradient(180deg,#0b0812,#100b19 55%,#080711);border-top:1px solid #d4b77742;overflow:hidden}
.gallery-showcase:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.38;background-image:radial-gradient(circle,#fae2a8 0 1px,transparent 1.2px);background-size:137px 151px}
.gallery-showcase-heading{position:relative;z-index:1;display:flex;align-items:baseline;justify-content:space-between;gap:24px;max-width:1440px;margin:0 auto clamp(36px,5vw,72px);padding-inline:clamp(2px,2vw,24px)}
.gallery-showcase-heading h2{margin:0;color:#f5e7cf;font-size:clamp(32px,5vw,70px);line-height:1.02}
.gallery-showcase-products{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,52px);max-width:1440px;margin:auto}
.gallery-showcase-empty{min-height:20vh;display:grid;place-items:center;color:#d8c8aa;font-size:18px}
.gallery-showcase-product{position:relative;min-width:0;min-height:min(74vh,760px);padding:clamp(12px,2vw,28px);display:grid;grid-template-rows:minmax(0,1fr) auto;gap:14px;overflow:hidden;text-align:right;color:#f8ebd2;background:linear-gradient(145deg,#21162dce,#0d111bdc);border:1px solid #d4b77745;border-radius:28px;box-shadow:0 30px 75px #0008;cursor:pointer;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}
.gallery-showcase-product:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#f4d49415,transparent 32%,transparent 72%,#8ce6e015);pointer-events:none}
.gallery-showcase-product:hover{transform:translateY(-7px);border-color:#eacb878c;box-shadow:0 42px 90px #000b}
.gallery-showcase-product:focus-visible{outline:3px solid #9bf0e7;outline-offset:4px}
.gallery-showcase-art{position:relative;z-index:1;display:block;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:20px;background:#0a0a12}
.gallery-showcase-art .product-picture,.gallery-showcase-art picture,.gallery-showcase-art img{width:100%;height:100%;object-fit:cover;object-position:center}
.gallery-showcase-details{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:4px 14px;padding:2px 5px 0}
.gallery-showcase-details strong{grid-column:1;font-size:clamp(20px,2vw,31px);line-height:1.15}
.gallery-showcase-details span{grid-column:1;color:#bcb3c9;font-size:14px}
.gallery-showcase-details em{grid-column:2;grid-row:1/3;align-self:center;color:#f0ca77;font-size:clamp(19px,2vw,27px);font-style:normal;white-space:nowrap}
@media(max-width:700px){
 .gallery-showcase{padding:66px 14px 30px}
 .gallery-showcase-heading{display:block;margin-bottom:26px;padding-inline:8px}
 .gallery-showcase-heading .eyebrow{font-size:10px}
 .gallery-showcase-heading h2{margin-top:10px;font-size:clamp(31px,10vw,46px)}
 .gallery-showcase-products{display:grid;grid-template-columns:1fr;gap:18px}
 .gallery-showcase-product{min-height:calc(100svh - 76px);padding:12px;border-radius:24px;scroll-snap-align:center;scroll-snap-stop:always}
 .gallery-showcase-art{border-radius:17px}
 .gallery-showcase-details{padding:4px 6px 2px}
 .gallery-showcase-details strong{font-size:24px}
 .gallery-showcase-details span{font-size:13px}
 .gallery-showcase-details em{font-size:21px}
 html{scroll-snap-type:y proximity}
}
@media(prefers-reduced-motion:reduce){.gallery-showcase-product{transition:none}html{scroll-snap-type:none}}

footer .site-rights{max-width:720px}
footer .site-rights>span{display:block;color:#c7b397;font-size:11px;letter-spacing:.02em}
footer .site-rights p{margin:7px 0 0;color:#a99eac;font-size:11px;line-height:1.8;letter-spacing:0}
footer #motionBtn{flex:none;align-self:flex-start}
@media(max-width:700px){
 footer .site-rights{max-width:none}
 footer .site-rights p{font-size:11px;line-height:1.75}
 footer #motionBtn{margin-top:12px}
}

/* September 25: nested modal scrolling stays inside the visible dialog. */
html.modal-open{overflow:hidden!important;scroll-snap-type:none!important}
body.modal-open{position:fixed!important;width:100%;overflow:hidden!important}
dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#productDialog[data-purchase-step=options]{overflow-y:auto!important;overscroll-behavior-y:contain}
#productDialog[data-purchase-step=options] .focus-grid{height:auto;min-height:100%;grid-template-rows:auto;align-content:start}
#productDialog[data-purchase-step=options] .focus-copy{overflow:visible;min-height:0}
#productDialog[data-purchase-step=options] #focusArt:not(.zoomed){touch-action:pan-y}
.preference-note{font-size:14px;line-height:1.8;color:#d8c8aa}
.interest-success .text-button{display:block;margin:16px auto 0}
@media(max-width:700px) and (orientation:portrait){
 #productDialog[data-purchase-step=options] .focus-projection{height:34dvh;min-height:180px}
}
/* A definite available height prevents percentage image heights collapsing. */
@media(max-height:600px) and (orientation:landscape){
 #stage .collection-overlay{inset:46px 0 52px;height:calc(100dvh - 98px);grid-template-rows:30px minmax(0,1fr);gap:2px}
 #stage #products{display:flex;height:100%;min-height:0;overflow-x:auto;overflow-y:hidden;padding:0 12vw;scroll-padding-inline:12vw;gap:4vw;scroll-snap-type:x mandatory;direction:rtl}
 #stage #products .projection-card{flex:0 0 76vw;width:76vw;height:100%;min-width:0;scroll-snap-align:center}
 #stage #products .product-main{height:100%;grid-template-rows:minmax(0,1fr) 25px;gap:0}
 #stage #products .product-visual{height:100%;min-height:0}
 #stage #products .product-picture{position:absolute!important;inset:0!important;height:100%!important;width:100%!important;transform:none;translate:0 0!important}
 #stage #products .product-picture img,#stage #products .isolated-object{height:100%;width:100%;object-fit:contain}
 #stage .collection-heading{padding:0 12vw;max-width:none;margin:0}
 #stage .collection-heading h2{font-size:15px;margin:0}
 #stage .collection-heading:after{display:none}
 #stage .collection-heading .merch-it-mark{font-size:11px;padding:3px 8px}
 #stage #resume{display:none!important}
 #stage .scene-carousel-arrow{display:grid;top:53%;width:44px;height:44px}
 #stage .scene-carousel-arrow.previous{right:5vw}#stage .scene-carousel-arrow.next{left:5vw}
 #stage .scene-carousel-arrow:disabled{opacity:.25}
}
