/* Campaign fills the viewport; no space is reserved for development controls. */
:root{--bar:0px}
/* Mobile ships its final visual container in HTML. It has no layout box on
   desktop; the desktop controller lifts only the glass into the shared stage. */
.touch-visual{display:contents}
.touch-visual>.glass-world{z-index:-1}
.motion-decoder{position:fixed;left:-4px;top:-4px;width:2px;height:2px;opacity:0;pointer-events:none}
/* Content pages scroll together while the glass independently finds its pose. */
body[data-scroll-mode=animated] .hero,
body[data-scroll-mode=animated] .intentions{transform:none;will-change:transform}
body[data-scroll-mode=animated] .intentions{z-index:0;background:transparent}
body[data-scroll-mode=animated] .hero-curtain{display:none}
body[data-reduced] .masthead{position:absolute}
body[data-scroll-mode=native] .glass-world{position:absolute;inset:0 0 auto;height:100svh}
body[data-scroll-mode=native] .hero-curtain{display:none}
.opening-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:right top;pointer-events:none}
/* Height-fit from first paint. The desktop controller refines horizontal
   framing for tall windows and applies identical bounds to all media. */
body:not([data-responsive]) .glass-world{overflow:hidden}
body:not([data-responsive]) .opening-poster{inset:0 auto 0 max(0px,calc(100% - 100svh * 16 / 9));width:auto;max-width:none;height:100%;object-fit:fill}
.glass-world canvas{position:relative}
body[data-motion-painted=true] .opening-poster{visibility:hidden}
body[data-ready=false] .glass-world,body[data-ready=error] .glass-world{position:absolute!important;height:100svh;inset:0 0 auto}
body[data-ready=error] .glass-world canvas{visibility:hidden}
body[data-ready=error] .opening-poster,body[data-reduced=true] .opening-poster{visibility:visible}
body[data-reduced=true] .glass-world canvas{visibility:hidden}
/* An unobtrusive user control, independent of the removed diagnostic toolbar. */
.motion-toggle{--motion-inset:8px;position:absolute;right:var(--motion-inset);bottom:calc(var(--motion-inset) + var(--motion-bottom-gap,0px));display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;color:rgba(65,65,61,.55);background:transparent;border:0;border-radius:50%;transition:color .2s ease}
/* Translucent neutral ink, no disc fill. Visible ring sits 17px from either
   film edge; the surrounding transparent hit area remains easy to click. */
.motion-toggle:hover,.motion-toggle:focus-visible{color:rgba(65,65,61,.8);outline-color:currentColor}
.motion-toggle svg{position:relative;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.motion-toggle svg path{stroke-width:1.2}
.motion-toggle .play-icon{display:none}
.motion-toggle[aria-pressed=true] .pause-icon{display:none}
.motion-toggle[aria-pressed=true] .play-icon{display:block}
.signup-status:empty{min-height:0;margin:0}
@media(max-width:760px){.hero-copy{bottom:32px}}

/* Product photographs float over the optical set; the caption stays still
   during the small landing movement and leaves with the rest of the hero. */
.hero .jewel-window{left:52%;top:30%;width:43%;height:55%;aspect-ratio:auto;overflow:visible;pointer-events:none}
.hero-product-art{width:100%;height:100%;transform:translateY(0)}
.hero-product-art svg{display:block;width:100%;height:100%;overflow:hidden}
.hero-product-details{position:absolute;left:57%;top:16%;width:34%;text-align:center}
.product-intention{font-size:9px;letter-spacing:.2em;text-transform:uppercase;margin:0 0 9px}
.product-name{font:400 clamp(25px,2.3vw,38px)/1.1 Gilda,Georgia,serif;letter-spacing:-.025em;margin:0}
.product-name{padding:0;min-height:44px;background:transparent;border:0;color:inherit}
.hero[data-product=tennis-30] .jewel-window{left:50%;width:46%;top:33%;height:43%}
.hero[data-product=release] .jewel-window{left:46%;width:54%;top:-18%;height:108%}
@media(max-width:760px){
 .hero .jewel-window{left:36%;top:14%;width:60%;height:28%}
 .hero-product-details{left:5%;top:15%;width:34%;text-align:left}
 .product-name{font-size:24px}.product-intention{font-size:8px}
 .hero[data-product=tennis-30] .jewel-window,.hero[data-product=release] .jewel-window{left:36%;top:14%;width:60%;height:28%}
}

/* Large touch tablets use the same composition, with touch-sized controls. */
body[data-tablet-motion] .hero-product-tap{position:absolute;inset:0;width:100%;height:100%;background:transparent;pointer-events:auto}
body[data-tablet-motion] .market-control{min-height:44px}
body[data-tablet-motion] .hero-copy{width:48%}

/* Optional recovery stays below the existing signup confirmation. */
#signup .signup-recovery{display:flex;flex-wrap:wrap;gap:0 18px;margin-top:6px}
#signup .signup-recovery[hidden]{display:none}
#signup .signup-recovery button{background:transparent;border:0;padding:8px 0;min-height:44px;color:inherit;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:3px}
#signup .signup-recovery button:disabled{opacity:.55;cursor:wait}
#signup .signup-recovery p{flex-basis:100%;font-size:11px;line-height:1.5;margin:0}
#signup .signup-recovery p:empty{display:none}
