/* Complete photographic frames: preserve native aspect ratios, never stretch individual mouldings. */
.photo-mount,.fixed-frame,.film-player{--frame:url('frame-floral-landscape.webp');--ratio:3/2;--left:8.1%;--right:8.4%;--top:13.1%;--bottom:12.9%;position:relative;display:block;width:100%;aspect-ratio:var(--ratio);padding:0;border:0;border-image:none;background:none;box-shadow:none;filter:drop-shadow(1px 4px 3px #0004)}
.photo-mount:after,.fixed-frame:after,.film-player:after{content:'';position:absolute;inset:0;background:var(--frame) center/contain no-repeat;border:0;border-image:none;pointer-events:none;z-index:3}
.photo-print .photo-mount>img,.people-photo .photo-mount>img,.visit .photo-print .photo-mount>img,.film-player>img,.film-player>video{position:absolute;left:var(--left);top:var(--top);width:calc(100% - var(--left) - var(--right));height:calc(100% - var(--top) - var(--bottom));border:0;padding:0;aspect-ratio:auto;object-fit:cover;opacity:1;filter:none}
.people-photo .photo-mount,.frame-laurel{--frame:url('frame-laurel-portrait.webp');--ratio:2/3;--left:12.6%;--right:12.9%;--top:15.2%;--bottom:9.3%}
.visit .photo-mount,.frame-shell{--frame:url('frame-shell-square.webp');--ratio:1;--left:16.7%;--right:17%;--top:19%;--bottom:16%}
.film-player{--frame:url('frame-oak-landscape.webp');--ratio:3/2;--left:9.8%;--right:9.8%;--top:15%;--bottom:15.2%}
.film-player>video{object-fit:contain;background:#111}
.film-caption{inset:auto 15% 23%;background:none;display:block;color:#fff;text-shadow:0 2px 5px #000}
.film-caption strong{display:inline-block;background:#17271ee8;padding:9px 16px;font-size:clamp(18px,2.4vw,30px)}
.film-caption p{display:table;margin:7px auto 0;padding:7px 12px;color:#171b18;text-shadow:none;background:#fff4de;font-size:13px}
.photo-print{transform:rotate(-2deg)}.people-photo{transform:rotate(2deg);max-width:410px}.visit .photo-print{transform:rotate(-2deg);max-width:470px}
/* Three stable frames; crossfade only the image layers inside each aperture. */
.gallery-exhibition{width:90%;max-width:1280px;position:relative;z-index:2;outline-offset:8px}
.gallery-wall{display:grid;grid-template-columns:1.2fr .78fr 1fr;gap:22px;align-items:center;min-width:0;padding:28px 0 15px}
.gallery-display{display:block;width:100%;padding:0;border:0;background:none;box-shadow:none;min-width:0;color:var(--ink);cursor:zoom-in;align-self:center;transform:rotate(-2deg)}
.gallery-display:nth-child(2){transform:rotate(2deg)}.gallery-display:nth-child(3){transform:rotate(-1deg)}
.photo-window{position:absolute;left:var(--left);right:var(--right);top:var(--top);bottom:var(--bottom);display:block;overflow:hidden}
.photo-window img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s ease;filter:none;aspect-ratio:auto}
.photo-window .gallery-front,.photo-window img.is-visible{opacity:1}
.photo-window img:not(.is-visible).has-faded{opacity:0}
.gallery-label{display:table;position:relative;isolation:isolate;margin:12px auto 0;padding:12px 16px;max-width:95%;font:italic 16px/1.35 Georgia,serif}
.gallery-label:before{content:'';position:absolute;inset:0;border:12px solid transparent;border-image:url('pale-paper.webp') 110 fill stretch;z-index:-1}
.gallery-controls{margin:20px 0 10px}.gallery-count{min-width:130px}.gallery-controls button{touch-action:manipulation}
.gallery-heading{position:relative;z-index:3}.gallery-section{padding-bottom:100px}
@media(prefers-reduced-motion:reduce){.photo-window img{transition:none}}
/* A few grounded object groups, kept out of the reading areas. */
.collection-object{position:absolute;display:block;height:auto;max-width:none;pointer-events:none;z-index:3;filter:drop-shadow(2px 6px 3px #0003)}
.people{padding-bottom:130px;padding-top:50px}.people-fern{width:19%;left:-9%;top:0;z-index:2}.people-washstand{width:22%;left:-9%;bottom:45px}
.gallery-radio{width:13%;max-width:190px;right:0;bottom:5px;z-index:2;transform:rotate(6deg)}
.film{width:82%;padding-top:40px;padding-bottom:130px;gap:3%;grid-template-columns:.42fr 1fr}
.film-intro{position:relative;z-index:2}.film-player{z-index:2}.film-cabinet{width:20%;left:-10%;bottom:5px;z-index:3}.film-shell{width:13%;right:5%;bottom:55px}.film .shop-object{right:-8%;width:14%;bottom:115px}
.visit{padding-top:40px;padding-bottom:130px}.visit-vase{width:16%;left:-7%;bottom:25px}.visit .visit-dog{width:17%;bottom:25px;right:-6%}
.contact{position:relative;z-index:2;padding-bottom:0}
/* The page ends with a proper composition rather than an empty patterned strip. */
.site-ending{max-width:1440px;margin:-10px auto 0;position:relative;isolation:isolate;min-height:430px;padding:150px 0 60px;overflow:clip}
.ending-objects{position:absolute;inset:0;pointer-events:none;z-index:-1}
.site-ending .collection-object{filter:drop-shadow(2px 7px 4px #0004)}
.ending-scroll{width:38%;left:32%;bottom:0;z-index:0;transform:rotate(-8deg)}
.ending-wicker{width:30%;left:-3%;bottom:-20px;z-index:1}.ending-vase{width:16%;left:3%;bottom:90px;z-index:2}.ending-bowl{width:23%;left:-2%;bottom:5px;z-index:3}
.ending-pitcher{width:19%;right:0;bottom:30px;z-index:2}.ending-pot{width:18%;right:13%;bottom:0;z-index:3}.ending-cup{width:15%;left:20%;bottom:0;z-index:4}
.site-ending footer{position:relative;width:59%;max-width:800px;margin:0 auto;display:flex;text-align:center;justify-content:center;gap:14px;padding:35px 30px;z-index:2}
.site-ending footer .footer-name{font-size:44px;flex-basis:100%;letter-spacing:-2px}.site-ending footer p{font-size:18px;flex-basis:100%}.site-ending footer div{margin:0;justify-content:center}.site-ending footer small{font-size:12px;line-height:1.5}
@media(max-width:900px){.gallery-wall{gap:12px}.gallery-label{font-size:14px;padding:10px}.people-washstand{width:24%}.film{grid-template-columns:.45fr 1fr}.site-ending{min-height:350px;padding-top:100px;padding-bottom:60px}.site-ending footer{width:60%}.ending-vase{width:19%}}
@media(max-width:600px){
.photo-mount,.fixed-frame,.film-player{padding:0;border:0}.photo-mount:after,.fixed-frame:after,.film-player:after{border:0}
.people{padding-top:35px;padding-bottom:100px}.people-photo{max-width:300px;width:90%}.people-fern{width:29%;left:-9%;top:10px}.people-washstand{width:29%;left:-7%;bottom:12px}.people .shop-object{bottom:5px}
.gallery-wall{grid-template-columns:1fr 1fr;gap:20px 10px;padding:10px 0}.gallery-display:first-child{grid-column:1/-1;width:90%;max-width:360px;justify-self:center}.gallery-display:nth-child(2){width:80%;justify-self:center}.gallery-display:nth-child(3){width:100%;justify-self:center}.gallery-label{font-size:13px;margin-top:5px;padding:8px 11px}.gallery-exhibition{width:88%}.gallery-controls{margin-top:20px}.gallery-section{padding-bottom:95px}.gallery-radio{width:22%;bottom:4px;right:-1%}
.film{display:flex;width:88%;padding-top:15px;padding-bottom:100px;gap:12px}.film-intro{width:86%;padding:25px}.film-player{width:100%}.film-caption{bottom:22%;left:12%;right:12%}.film-caption strong{font-size:18px;padding:6px 10px}.film-caption p{font-size:11px;padding:5px 8px}.film-cabinet{width:26%;left:-3%;bottom:10px}.film-shell{width:18%;right:7%;bottom:30px}.film .shop-object{width:19%;right:-4%;bottom:80px}
.visit{padding-top:20px;padding-bottom:115px}.visit-vase{width:28%;left:-6%;bottom:4px}.visit .visit-dog{width:27%;right:-6%;bottom:4px}
.site-ending{margin-top:10px;min-height:490px;padding:70px 0 145px}.site-ending footer{width:78%;padding:30px 20px}.site-ending footer .footer-name{font-size:39px}.site-ending footer p{font-size:16px}.site-ending footer div{font-size:14px}.site-ending footer small{font-size:11px}
.ending-vase{width:25%;left:-3%;bottom:115px}.ending-wicker{width:48%;left:-10%;bottom:0}.ending-bowl{width:38%;left:-7%;bottom:35px}.ending-pitcher{width:31%;right:-5%;bottom:55px}.ending-pot{width:27%;right:16%;bottom:10px}.ending-cup{width:24%;left:23%;bottom:20px}.ending-scroll{width:64%;left:20%;bottom:0}
}

@media(min-width:601px){.people-fern{left:-4%;width:22%}.people-washstand{left:-3%;width:25%}}
