/* Burton & Found — Adaptive Experience 2026
   Viewport/content-first layouts: phone, tablet, laptop, ultrawide, reflow/zoom.
   Pointer and motion media queries adapt interaction to actual user capabilities.
   Loaded LAST to correct legacy sizing rules without altering catalogue data. */
:root{--adaptive-gutter:clamp(16px,2.5vw,38px)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:clamp(72px,9vw,105px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0}
img,svg,video,canvas{max-width:100%}
main,main>section,.section-wrap,.pt-width,.product-grid,.product-card,.pt-workspace,.pt-card-layout,.pt-card-fields,.pt-card-preview{min-width:0}
main h1,main h2,main h3,main p,.product-title,.detail-copy{overflow-wrap:break-word}
[hidden]{display:none!important}
.mobile-nav[hidden]{display:none!important}
.mobile-nav{max-height:calc(100dvh - 96px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(24px,env(safe-area-inset-bottom))}
.mobile-nav a{min-height:48px;display:flex;align-items:center;border-bottom:1px solid rgba(28,48,42,.09)}
.mobile-nav-btn{width:44px;height:44px;min-width:44px;padding:10px;background:transparent;cursor:pointer}
.mobile-nav-btn span{height:2px;margin:5px 0}
.header-actions{flex-shrink:0}
.header{min-width:0}
.logo{min-width:0}
.logo-words strong{white-space:nowrap}
button,input,select,textarea{max-width:100%}
.search-controls,.tabs,.toolbar,.detail-grid,.pt-controls,.pt-card-actions{min-width:0}
.search-controls input,.search-controls select,.pt-field-row input,.pt-card-fields input,.pt-card-fields textarea{min-width:0}
.product-media img{object-fit:contain}
.product-dialog,.info-dialog{max-width:min(1030px,calc(100dvw - 24px));max-height:min(92dvh,920px);overscroll-behavior:contain}
.info-dialog{max-width:min(610px,calc(100dvw - 24px))}
.zoom-dialog{max-width:calc(100dvw - 20px);max-height:calc(100dvh - 20px)}
.cart-drawer{height:100dvh;bottom:auto;max-width:100dvw}
.cart-items{overscroll-behavior:contain}
/* Correct historic fixed-column overflow in the collector-card layout at tablet widths. */
.pt-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,410px)}
.pt-card-layout>*,.pt-workspace>*,.pt-game-layout>*{min-width:0}
.pt-card-fields input,.pt-card-fields textarea,.pt-card-fields select{width:100%;min-width:0}
.pt-card-preview{max-width:100%;min-width:0}
.pt-preview-head{flex-wrap:wrap;overflow-wrap:anywhere}
.pt-preview-head span{max-width:100%}
.pt-hero-content,.hollywood-editorial,.hero-content,.feature-content,.about-copy{min-width:0}
.pt-hero-art{overflow:hidden}
.pt-section-heading h2,.pt-hero h1,.pt-intro h2,.hollywood-editorial h2{overflow-wrap:break-word}
.pt-controls .pt-button,.pt-mini-btn,.pt-game-choices button,.pt-era-filter button{min-height:44px}
.pt-drop label.pt-button{min-height:48px}
.pt-scan-panel textarea{font-size:16px}
/* Tablet and small-laptop navigation, avoids crowding at 1000–1120px. */
@media(max-width:1120px){
 .header .main-nav{display:none}
 .header .mobile-nav-btn{display:block}
 .mobile-nav{top:86px}
 .pt-header .pt-back{margin-left:auto}
 .pt-header .header-actions{margin-left:0}
 .pt-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,350px);gap:22px}
 .pt-card-fields{padding:clamp(14px,2vw,25px)}
 .pt-card-preview{padding:clamp(12px,1.7vw,20px)}
}
/* Tablet portrait: prioritize readable copy and unclipped filters over fitting more columns. */
@media(min-width:701px) and (max-width:930px){
 .header{padding-inline:clamp(20px,3vw,32px)}
 .header-actions{gap:13px}
 .section-wrap{padding-inline:clamp(20px,3vw,32px)}
 .hero-content{padding:clamp(45px,6vw,80px) clamp(24px,4vw,40px)}
 .hero-lede{font-size:clamp(16px,2.1vw,19px)}
 .hero h1{font-size:clamp(56px,7.5vw,83px)}
 .hero-visual{min-height:550px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
 .product-media{height:clamp(285px,35vw,370px)}
 .toolbar{flex-direction:column;align-items:stretch;gap:16px}
 .search-controls{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
 .search-controls .search-field{grid-column:span 2}
 .search-controls select{width:100%;min-width:0;max-width:100%;height:46px}
 .tabs{width:100%;justify-content:flex-start}
 .pt-hero{grid-template-columns:51% 49%}
 .pt-hero h1{font-size:clamp(51px,7vw,70px)}
 .pt-lede{font-size:17px}
 .pt-card-layout{grid-template-columns:minmax(0,1fr) minmax(0,42%);gap:18px}
 .pt-game-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.5fr)}
 .pt-card-preview h3{font-size:clamp(22px,3.3vw,32px)}
 .pt-preview-photo{height:clamp(190px,31vw,270px)}
}
@media(max-width:700px){
 :root{--adaptive-gutter:18px}
 .topline{min-height:28px;height:auto;padding:7px 10px;text-align:center}
 .header{padding-left:max(13px,env(safe-area-inset-left));padding-right:max(13px,env(safe-area-inset-right));gap:8px}
 .header .mobile-nav-btn{display:block}
 .header-actions{gap:7px}
 .mobile-nav{top:73px}
 .hero-content{padding-inline:max(18px,env(safe-area-inset-left))}
 .hero h1{font-size:clamp(52px,10.8vw,77px);line-height:1.02;letter-spacing:-.063em}
 .hero-lede{font-size:clamp(16px,4vw,18px)}
 .hero-ctas{flex-wrap:wrap;align-items:flex-start}
 .hero-proof{gap:clamp(7px,2vw,18px)}
 .hero-proof small{font-size:10px}
 .hero-visual{min-height:clamp(345px,100vw,490px);height:clamp(345px,100vw,490px)}
 .hollywood-editorial h2{font-size:clamp(45px,9.5vw,70px)}
 .hollywood-editorial{padding-inline:clamp(20px,5vw,30px)}
 .hollywood-visual{min-height:clamp(345px,110vw,510px);height:clamp(345px,110vw,510px)}
 .section-wrap{padding-inline:clamp(16px,4.5vw,25px)}
 .category-title{font-size:clamp(22px,5.5vw,29px)}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}
 .product-media{height:clamp(220px,60vw,320px)}
 .product-card{min-width:0}
 .product-title{font-size:clamp(18px,4.7vw,21px)}
 .card-provenance{font-size:11px}
 .product-price-row{flex-wrap:wrap;gap:8px}
 .add-small{min-height:44px;min-width:44px}
 .tab{min-height:44px}
 .search-controls input,.search-controls select{min-height:46px}
 .search-controls .search-field{min-width:0}
 .detail-hero-img{max-height:min(53dvh,500px);height:auto;max-width:100%}
 .detail-media{padding:clamp(16px,4vw,30px)}
 .detail-copy{padding:clamp(24px,5vw,35px)}
 .product-dialog{width:100%;max-height:calc(100dvh - 18px)}
 .cart-bottom{padding-bottom:max(20px,env(safe-area-inset-bottom))}
 .pt-header{gap:8px}
 .pt-hero h1{font-size:clamp(50px,11vw,76px)}
 .pt-hero-content{padding:clamp(38px,8vw,57px) 20px}
 .pt-hero-art{min-height:clamp(310px,80vw,430px)}
 .pt-desk,.pt-collector{padding-block:clamp(45px,9vw,75px)}
 .pt-workspace,.pt-card-layout,.pt-game-layout{grid-template-columns:minmax(0,1fr)}
 .pt-card-preview{max-width:min(100%,460px);width:100%}
 .pt-scan-panel,.pt-results-panel,.pt-card-fields{min-width:0}
 .pt-card-fields{padding:clamp(14px,4vw,25px)}
 .pt-panel-header{flex-wrap:wrap}
 .pt-drop{min-height:240px}
 .pt-era-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pt-game-board{min-height:0}
 .pt-button{min-height:46px}
 .pt-mini-btn{min-height:44px}
}
@media(max-width:420px){
 .header{padding-inline:12px}
 .logo{gap:7px}
 .logo img{width:37px;height:37px;flex-shrink:0}
 .logo-words strong{font-size:clamp(18px,5.1vw,22px)}
 .logo-words small{font-size:7px;letter-spacing:.08em}
 .header-actions{gap:4px}
 .bag-btn{padding:0 8px;min-height:42px;letter-spacing:0;font-size:10px}
 .bag-btn span{width:22px;height:22px}
 .mobile-nav-btn{width:44px;height:44px;min-width:44px;padding:11px}
 .hero h1{font-size:clamp(50px,12.2vw,66px)}
 .hero-content{padding-top:48px;padding-bottom:40px}
 .hero-proof{padding-top:29px}
 .section-top h2,.shop-heading h2,.archive-top h2{font-size:clamp(38px,10vw,49px)}
 .tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .tab{font-size:11px;line-height:1.3;padding:9px 5px;white-space:normal}
 .search-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .search-controls .search-field{grid-column:1/-1}
 .search-controls .collection-field{grid-column:1/-1}
 .search-controls .decade-field{grid-column:1}
 .search-controls #catalogSort{grid-column:2}
 .search-controls select{width:100%;min-width:0}
 .pt-header .pt-back{display:none}
 .pt-hero h1{font-size:clamp(47px,12vw,61px)}
 .pt-intro h2,.pt-section-heading h2{font-size:clamp(39px,10vw,52px)}
 .pt-drop{margin:12px;min-height:225px;padding:12px}
 .pt-example{margin-inline:12px}
 .pt-controls{margin-inline:12px}
 .pt-controls .pt-button{width:100%;flex:1 1 100%}
 .pt-card-preview{padding:12px;border-width:6px}
 .pt-preview-head{font-size:9px}
 .pt-preview-photo{height:250px}
 .pt-game-board{padding:14px}
 .pt-initial-picks{max-width:100%;flex-wrap:wrap;justify-content:center}
 .pt-initial-picks img{width:clamp(54px,17vw,80px);height:clamp(84px,27vw,125px)}
 .pt-era-grid{gap:9px}
 .pt-era-object img{height:clamp(130px,38vw,170px)}
 .pt-mark-stamp{right:3%;bottom:2%}
}
/* Ultra-narrow portrait and severe zoom: allow single-column product browsing. */
@media(max-width:350px){
 .logo-words small{display:none}
 .logo-words strong{font-size:18px}
 .header .bag-btn{font-size:0;gap:5px;min-width:47px;padding:0 7px}
 .header .bag-btn:before{content:'BAG';font-size:9px;letter-spacing:0}
 .hero h1{font-size:clamp(45px,14vw,54px)}
 .product-grid{grid-template-columns:minmax(0,1fr)}
 .product-media{height:330px}
 .product-card{max-width:420px;width:100%;margin-inline:auto}
 .product-title{font-size:22px}
 .product-desc{font-size:13px;min-height:0}
 .pt-band span{min-width:100%}
}
/* Mobile landscape: fit controls while retaining comfortable text and vertical reading. */
@media(max-height:470px) and (orientation:landscape) and (max-width:950px){
 .header{height:64px}
 .mobile-nav{top:64px;max-height:calc(100dvh - 64px)}
 .hero-content{padding-top:34px;padding-bottom:32px}
 .hero-visual{min-height:300px;height:300px}
 .pt-hero-content{padding-block:35px}
 .pt-hero-art{min-height:330px}
 .product-dialog{max-height:96dvh}
 .detail-hero-img{max-height:66dvh}
}
/* Touch uses larger targets; mouse and stylus keep natural hover behavior. */
@media(pointer:coarse){
 .header button,.mobile-nav a,.pt-back,.pt-game-choices button,.pt-era-filter button,.pt-mini-btn,.pt-example button{min-height:44px}
 .pt-game-choices button{padding:12px}
 input[type=search],input[type=text],input[type=email],textarea,select{font-size:max(16px,1rem)}
 button,.btn,.tab,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
}
@media(hover:none){.product-card:hover .product-media img,.pt-button:hover,.pt-era-object:hover{transform:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.hero-photo,.hollywood-cinema-frame,.hollywood-inset{transition:none!important}}
