/* The link media selects this layout before JS. hero-entry then locks that
   choice to preserve signup state when the viewport changes. */
body[data-layout] .hero-curtain,body[data-layout] .glass-world canvas{display:none}
body[data-layout]{--bar:0px;--gutter:24px;overflow-x:clip}
body[data-layout] .scroll-track,body[data-layout] .stage{position:relative;height:auto;padding:0;overflow:clip}
body[data-layout] .hero{position:relative;inset:auto;display:flex;flex-direction:column;height:auto;min-height:0;overflow:clip;transform:none}
body[data-layout] .hero::before,body[data-layout] .hero-copy::before{display:none}
body[data-layout] .masthead{position:absolute;inset:24px var(--gutter) auto;height:32px;pointer-events:none}
body[data-layout] .wordmark{width:clamp(178px,28vw,280px);pointer-events:auto}
body[data-layout] .touch-visual{display:block;position:relative;height:clamp(330px,98vw,570px);width:100%;overflow:hidden;isolation:isolate}
body[data-layout] .glass-world{position:absolute!important;inset:0!important;width:100%;height:100%!important;z-index:0;overflow:hidden}
body[data-layout] .opening-poster,body[data-layout] .touch-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center;visibility:visible}
body[data-layout] .touch-film{opacity:0}
body[data-layout] .glass-world[data-playing=true] .touch-film{opacity:1}
body[data-layout] .hero .jewel-window{position:absolute;z-index:1;left:32%;top:23%;width:61%;height:60%;pointer-events:none;overflow:visible}
body[data-layout] .hero[data-product=tennis-30] .jewel-window{left:12%;width:83%;top:40%;height:32%}
body[data-layout] .hero[data-product=release] .jewel-window{left:30%;width:69%;top:-12%;height:109%}
body[data-layout] .hero-product-tap{position:absolute;inset:0;width:100%;height:100%;background:transparent;pointer-events:auto}
body[data-layout] .hero-product-details{z-index:2;left:var(--gutter);top:auto;bottom:28px;width:44%;text-align:left;text-shadow:0 0 18px #efeee9}
body[data-layout] .product-intention{font-size:9px;margin-bottom:0}
body[data-layout] .product-name{font-size:29px}
body[data-layout] .motion-toggle{z-index:3;bottom:8px;right:8px}
body[data-layout] .hero-copy{position:relative;inset:auto;width:auto;max-width:none;padding:30px var(--gutter) 42px;background:var(--paper);text-shadow:none}
body[data-layout] .hero-copy .eyebrow{display:block;font-size:9px}
body[data-layout] .hero h1{font-size:clamp(48px,12.4vw,82px);line-height:1;margin:14px 0 18px;letter-spacing:-.05em}
body[data-layout] .hero .invitation{display:block;font-size:13px;margin:0 0 4px;max-width:39ch}
body[data-layout] .hero form{max-width:none}
body[data-layout] .market-row{margin:0}
body[data-layout] .market-control{min-height:44px;font-size:12px!important}
body[data-layout] .signup-line{padding:0;gap:0;background:transparent}
body[data-layout] .signup-line input{font-size:16px;padding:12px 10px 12px 0;min-height:48px}
body[data-layout] .signup-line button{font-size:12px;min-height:48px;padding:0 13px}
body[data-layout] .signup-line button span{margin-left:9px}
body[data-layout] .signup-consent{font-size:11px;line-height:1.6;max-width:50ch}
body[data-layout] .explore-link{font-size:13px;min-height:44px;margin-top:20px;padding:9px 0}
body[data-layout] .intentions{position:relative;inset:auto;transform:none;height:auto;min-height:0;padding:38px var(--gutter) 32px;z-index:1;scroll-margin-top:0;border-top:1px solid #bdc5b866}
body[data-layout] .collection-heading{display:block;margin-bottom:28px}
body[data-layout] .collection-heading .eyebrow{display:block;font-size:9px}
body[data-layout] .collection-heading h2{font-size:34px;max-width:14ch}
body[data-layout][data-layout=grid] .collections{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:30px 16px}
body[data-layout][data-layout=grid] .collection{display:flex;flex-direction:column;gap:12px;border:0;padding:0}
body[data-layout][data-layout=grid] .image-switch{order:-1;flex:none;aspect-ratio:4/5;width:100%;min-height:0}
/* Desktop's editorial crops exceed the narrower portrait cards. On touch,
   contain the original photographs and leave room for the caption and dots. */
body[data-layout] .product-mat .product-image{inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;padding:8px 6px 28px;transform:none}
body[data-layout][data-layout=grid] .collection-info{flex:1;padding:0;min-height:0}
body[data-layout][data-layout=grid] .collection-number{display:none}
body[data-layout][data-layout=grid] .collection h3{font-size:clamp(24px,5.7vw,36px)!important;line-height:1.1}
body[data-layout] .full-copy{display:none}
body[data-layout] .short-copy{display:inline}
body[data-layout] .collection-copy{display:block;font-size:12px!important;line-height:1.55;margin:9px 0 12px}
body[data-layout] .image-caption{font-size:9px;left:6px;bottom:8px;max-width:70%;padding:3px 4px}
body[data-layout] .image-dots{right:10px;bottom:17px}
body[data-layout] .image-dots i{width:5px;height:5px}
body[data-layout] .collection-footer{font-size:10px;line-height:1.6;margin-top:30px;gap:20px}
body[data-layout] .collection-footer p{max-width:22ch}
body[data-layout] #market{font-size:16px}
body[data-layout] #market option{padding:10px}
body[data-layout] #market-picker{padding:12px;max-height:calc(100dvh - 24px);overflow:auto}
body[data-layout] .market-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
body[data-layout] #market-picker-title{font-size:11px;margin:0 8px}
body[data-layout] .market-close{display:grid;place-items:center;width:44px;height:44px;flex:none;font-size:24px;font-weight:300;color:#526657}
/* Tablet PDP; the compact phone arrangement below keeps its selector in view. */
body[data-layout] .collection-popup[data-design=square-shelf]{width:min(820px,100%);height:100dvh;max-height:100dvh;margin:auto;border-radius:0;overflow:auto}
body[data-layout] [data-design=square-shelf] .popup-shell{padding:0 var(--gutter) calc(26px + env(safe-area-inset-bottom))}
body[data-layout] [data-design=square-shelf] .popup-header{position:sticky;z-index:4;top:0;background:#f4f2ec;padding:12px 0;margin:0 0 12px}
body[data-layout] [data-design=square-shelf] .square-shelf-layout{display:flex;flex-direction:column;gap:24px;max-width:none}
body[data-layout] [data-design=square-shelf] .square-visual{width:100%;align-self:stretch;order:0}
body[data-layout] [data-design=square-shelf] .square-shelf-info{width:100%;gap:20px;padding:0;order:1}
body[data-layout] [data-design=square-shelf] .square-details{order:0}
body[data-layout] [data-design=square-shelf] .square-product-shelf{order:1}
body[data-layout] [data-design=square-shelf] .popup-introduction{margin:0;padding:0 0 18px}
body[data-layout] [data-design=square-shelf] .popup-introduction h2{font-size:34px;margin-bottom:8px}
body[data-layout] .popup-preview-note,body[data-layout] .popup-count,body[data-layout] .selection-position{font-size:12px;line-height:1.6}
body[data-layout] [data-design=square-shelf] .square-details .popup-piece-title h3{font-size:30px}
body[data-layout] .popup-piece-title p{font-size:12px}
body[data-layout] [data-design=square-shelf] .square-details .pdp-detail-copy{font-size:13px;margin:12px 0}
body[data-layout] [data-design=square-shelf] .square-product-shelf{margin:0;padding:0}
body[data-layout] [data-design=square-shelf] .pictured-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body[data-layout] [data-design=square-shelf] .pictured-products button{max-width:none;min-width:0}
body[data-layout] [data-design=square-shelf] .pictured-product-name{font-size:17px}
body[data-layout] .pictured-product-name small{font-size:11px}
body[data-layout] .pdp-main .popup-photo figcaption{font-size:11px;padding:12px 42px 12px 12px}
@media(max-width:699px){
 /* Share one small viewport between artwork and signup. The artwork yields
    space first; larger text or form feedback can still grow the page. */
 body[data-layout] .hero{display:grid;grid-template-rows:minmax(160px,1fr) auto;height:var(--touch-hero-height,100svh);min-height:min-content;overflow:visible}
 body[data-layout] .touch-visual{height:auto;min-height:160px}
 body[data-layout] .hero-copy{padding:18px var(--gutter) 14px}
 body[data-layout] .hero h1{font-size:clamp(40px,11.8vw,64px);line-height:.98;margin:8px 0 10px}
 body[data-layout] .hero .invitation{line-height:1.5;margin-bottom:4px}
 body[data-layout] .price-guide{margin-bottom:6px}
 body[data-layout] .signup-consent{margin-top:8px;font-size:11px;line-height:1.45}
 body[data-layout] .explore-link{margin-top:8px;min-height:44px;padding:6px 0}
 body[data-layout] .hero-product-details{bottom:18px}
 body[data-layout] .product-name{font-size:27px}

 /* One viewport for the square image, its name and all 2–3 alternatives.
    The square uses the remaining height, rather than pushing its selector
    below the screen. Duplicate editorial copy stays on the collection page. */
 body[data-layout] [data-design=square-shelf] .popup-shell{height:100%;display:flex;flex-direction:column;padding:0 20px max(14px,env(safe-area-inset-bottom))}
 body[data-layout] [data-design=square-shelf] .popup-header{position:relative;flex:none;padding:8px 0;margin:0}
 body[data-layout] [data-design=square-shelf] .popup-content{flex:1;min-height:0}
 body[data-layout] [data-design=square-shelf] .square-shelf-layout{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(120px,1fr) auto auto;gap:10px}
 body[data-layout] [data-design=square-shelf] .square-shelf-info,
 body[data-layout] [data-design=square-shelf] .square-details{display:contents}
 body[data-layout] [data-design=square-shelf] .popup-introduction{grid-row:1;order:0;padding:0;border:0}
 body[data-layout] [data-design=square-shelf] .popup-count,
 body[data-layout] [data-design=square-shelf] .pdp-detail-intention,
 body[data-layout] [data-design=square-shelf] .pdp-detail-copy,
 body[data-layout] [data-design=square-shelf] .selection-position,
 body[data-layout] [data-design=square-shelf] .square-nav-label{display:none}
 body[data-layout] [data-design=square-shelf] .popup-introduction h2{font-size:28px;line-height:1.1;margin:0 0 4px}
 body[data-layout] [data-design=square-shelf] .popup-preview-note{font-size:11px;line-height:1.4;margin:0;max-width:none}
 body[data-layout] [data-design=square-shelf] .square-visual{grid-row:2;order:0;display:grid;place-items:center;container-type:size;width:100%;height:100%;min-height:0;align-self:stretch}
 body[data-layout] [data-design=square-shelf] .pdp-main{width:min(100cqw,100cqh);height:auto;aspect-ratio:1}
 body[data-layout] [data-design=square-shelf] .pdp-main svg{padding:14px 14px 34px}
 body[data-layout] [data-design=square-shelf] .pdp-main .popup-photo figcaption{font-size:10px;padding:8px 38px 8px 10px}
 body[data-layout] [data-design=square-shelf] .pdp-main .image-dots{bottom:12px}
 body[data-layout] [data-design=square-shelf] .popup-piece-title{grid-row:3;min-height:0;order:0}
 body[data-layout] [data-design=square-shelf] .square-details .popup-piece-title h3{font-size:25px;margin:0 0 2px}
 body[data-layout] [data-design=square-shelf] .popup-piece-title p{font-size:11px;margin:0}
 body[data-layout] [data-design=square-shelf] .square-product-shelf{grid-row:4;order:0}
 body[data-layout] [data-design=square-shelf] .pictured-products{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-layout] [data-design=square-shelf] .pictured-products button{padding-bottom:5px}
 body[data-layout] [data-design=square-shelf] .pictured-product-image{width:min(100%,76px)}
 body[data-layout] [data-design=square-shelf] .pictured-product-name{font-size:14px;line-height:1.15;margin-top:5px}
 body[data-layout] [data-design=square-shelf] .pictured-product-name small{font-size:10px;margin-top:3px}
}
@media(max-width:699px) and (max-height:600px){
 body[data-layout]{--gutter:20px}
 body[data-layout] .masthead{top:14px}
 body[data-layout] .hero-copy{padding-top:12px;padding-bottom:10px}
 body[data-layout] .hero h1{font-size:40px;margin:6px 0 8px}
 body[data-layout] .hero .invitation{font-size:12px;margin-bottom:2px}
 body[data-layout] .price-guide{font-size:11px}
 body[data-layout] .hero-product-details{bottom:12px}
 body[data-layout] .product-name{font-size:24px}
 body[data-layout] .explore-link{margin-top:4px}
 body[data-layout] [data-design=square-shelf] .pictured-product-image{width:min(100%,60px)}
 body[data-layout] [data-design=square-shelf] .square-shelf-layout{gap:8px}
}
@media(min-width:700px){
 body[data-layout]{--gutter:48px}
 body[data-layout] .hero-copy{padding-top:38px;padding-bottom:56px}
 body[data-layout] .hero form{max-width:550px}
 body[data-layout] .hero .invitation{font-size:16px;max-width:45ch}
 body[data-layout] .product-name{font-size:37px}
 body[data-layout] .hero-product-details{bottom:38px}
 body[data-layout] .collection-heading{display:flex;align-items:end;gap:32px}
 body[data-layout] .collection-heading h2{font-size:43px}
 body[data-layout][data-layout=grid] .collections{gap:34px 28px}
 body[data-layout] .collection-copy{font-size:14px!important}
 body[data-layout][data-layout=grid] .collection-info{min-height:148px}
}
@media(min-width:1000px) and (orientation:landscape){
 body[data-layout] .hero{min-height:740px;height:var(--touch-hero-height,100svh);display:block}
 body[data-layout] .touch-visual{position:absolute;inset:0;width:100%;height:100%}
 body[data-layout] .hero-copy{background:transparent;position:relative;padding:150px 0 60px var(--gutter);width:48%}
 body[data-layout] #signup::before{display:block}
 body[data-layout] .hero h1{font-size:clamp(60px,6.5vw,92px)}
 body[data-layout] .hero form{max-width:440px}
 body[data-layout] .hero .jewel-window{top:30%;height:56%;left:52%;width:43%}
 body[data-layout] .hero-product-details{left:57%;top:16%;bottom:auto;width:34%;text-align:center}
 body[data-layout] .hero[data-product=release] .jewel-window{top:-12%;height:110%;left:46%;width:54%}
 body[data-layout] .hero[data-product=tennis-30] .jewel-window{left:50%;width:46%;top:40%;height:40%}
 body[data-layout] .touch-film,body[data-layout] .opening-poster{object-position:right center}
}
/* Portrait tablets need the same balance as phones: artwork yields height,
   while the form and larger text can grow naturally without being clipped. */
@media(max-width:999px),(orientation:portrait){
 body[data-layout] .hero{display:grid;grid-template-rows:minmax(160px,1fr) auto;height:var(--touch-hero-height,100svh);min-height:min-content;overflow:visible}
 body[data-layout] .touch-visual{height:auto;min-height:160px}
}
@media(min-width:700px) and (max-width:1100px) and (orientation:portrait){
 body[data-layout] .hero-copy{padding-top:22px;padding-bottom:18px}
 body[data-layout] .hero h1{font-size:clamp(56px,8.8vw,86px);margin:10px 0 14px}
 body[data-layout] .hero .invitation{font-size:14px;margin-bottom:4px}
 body[data-layout] .explore-link{margin-top:12px}
}
