/* October 19 recording fixes. Desktop changes are scoped to the reported sections.
   Phone feedback is pending; preserve the approved phone composition. */
@media(min-width:761px){
 .home-repair #pieces .shelf.even{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:24px}
 .home-repair #pieces .shelf.even figure{width:auto;min-width:0}
 .home-repair #pieces .shelf.even img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;padding:0}
 .home-repair #pieces .shelf.even figure.cutout img{object-fit:contain}
 .home-repair .doors .door .pic{width:100%;height:360px;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
 .home-repair .doors .door .pic.photo img{width:auto;height:100%;max-width:100%;object-fit:contain;aspect-ratio:auto}
 .home-repair .doors .door .pic:not(.photo) img{height:100%;width:auto;max-width:100%;object-fit:contain}
 .golf-repair #replicas>.wrap>.section-head{display:block}
 .golf-repair #replicas>.wrap>.section-head p{max-width:100%;width:100%}
 .replicas-repair #stanley-cup .obj,.replicas-repair #hickok-cup .obj{width:360px;height:480px;max-width:100%;background:var(--field);overflow:hidden}
 .replicas-repair #stanley-cup .obj img,.replicas-repair #hickok-cup .obj img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover}
 .replicas-repair #stanley-cup .obj img{object-fit:contain}
 .commissions-repair .hero .product-review-grid{display:flex;flex-direction:column;align-items:stretch;gap:36px}
 .commissions-repair .hero .hero-copy{order:-1;align-self:stretch}
 .commissions-repair .hero .hero-copy .lead{max-width:85ch}
 .commissions-repair .hero .shelf.even:has(figure:nth-child(3)){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
 .commissions-repair .hero .shelf.even img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
 .about-repair .hero-copy{display:block}
 .about-repair .hero-copy h1{max-width:24ch;margin-bottom:24px}
 .about-repair .hero-copy .lead{max-width:90ch}
 .about-repair .hero-copy .actions{margin-top:24px}
 /* Definite stage height prevents Safari shrinking a portrait player to a strip. */
 .craft-lightbox{width:min(92vw,1100px);height:90vh;height:90dvh;max-height:90dvh;overflow:hidden}
 .craft-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
 .craft-lightbox-head,.craft-lightbox-foot{min-height:0}
 .craft-lightbox-stage{width:100%;height:100%;min-height:0;overflow:hidden;padding:16px}
 .craft-lightbox-stage video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
}

/* Phone recording: constrain nested tracks, keep copy first, and allow native swipes. */
.product-review-grid,.product-review-grid>*{min-width:0}
.hero.product-review-hero .wrap{grid-template-columns:minmax(0,1fr)}
.marquee.tap-scroll .track{animation:none!important;transform:none!important}
.marquee-hint{display:none}
@media(max-width:760px){
 .hero.product-review-hero .product-review-grid{width:100%;min-width:0;align-items:stretch}
 .hero.product-review-hero .hero-copy{width:100%;max-width:100%;min-width:0;align-self:stretch;grid-column:auto;grid-row:auto}
 .hero.product-review-hero .hero-copy h1{overflow-wrap:break-word}
 .hero.product-review-hero .shelf.even,.hero.product-review-hero .shelf.even:has(figure:nth-child(3)){width:100%;max-width:100%;min-width:0;display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;touch-action:pan-x pan-y;scroll-snap-type:x mandatory;margin:0;padding:0 0 14px;scrollbar-width:thin;scrollbar-color:var(--champagne) transparent}
 .hero.product-review-hero .shelf.even figure{flex:0 0 78%;width:78%;min-width:0;scroll-snap-align:center}
 .hero.product-review-hero .shelf.even img{width:100%;height:auto;aspect-ratio:720/1162;object-fit:cover;object-position:center}
 .hero.product-review-hero .shelf.even figure.cutout img{object-fit:contain}
 .home-repair #pieces .shelf.even figure{flex:0 0 225px;width:225px}
 .home-repair #pieces .shelf.even img{width:225px;height:300px;aspect-ratio:3/4;object-fit:cover}
 .home-repair #pieces .shelf.even figure.cutout img{object-fit:contain}
 .door .txt{border-top:0!important}
 .commission-media{grid-template-columns:minmax(0,1fr);gap:24px;justify-items:center;align-items:center}
 .commission-media .photo{width:100%}
 .commission-media .cup.film{width:min(72%,260px);height:auto;aspect-ratio:720/1272;padding:0;position:relative;overflow:hidden}
 .commission-media .cup.film .craft-poster{position:absolute;inset:0;width:100%;height:100%}
 .commission-media .cup.film img{width:100%;height:100%;object-fit:cover}
 .process-band .corporate-frames{scrollbar-width:thin;scrollbar-color:var(--champagne) transparent}
 .phone-swipe-hint{display:block;font-size:.85rem;margin:8px 0 16px;color:var(--muted-light)}
 .hand-chasing h2{font-size:clamp(17px,4.1vw,25px);white-space:nowrap;max-width:none}
 .hand-chasing h2 span{display:inline}
 .hand-chasing .wrap{gap:20px}
}
@media(min-width:761px){.phone-swipe-hint{display:none}}
#provenance{scroll-margin-top:100px}

@media(max-width:760px){
 .hero.product-review-hero .shelf.even,.hero.product-review-hero .shelf.even:has(figure:nth-child(3)){justify-content:safe center}
 .hero.product-review-hero .shelf.even figure{width:calc(360px * var(--ar,.75));flex:0 0 calc(360px * var(--ar,.75))}
 .hero.product-review-hero .shelf.even img{height:360px;aspect-ratio:var(--photo-ratio);object-fit:cover}
 .hero.product-review-hero .shelf.even figure.cutout{width:270px;flex-basis:270px}
}
