/* Photography albums and printed-story samples. Kept separate from the shared hero and packages. */
.photo-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px;margin:0;padding:2px 0 26px}
.photo-album-card{min-width:0;margin:0}
.photo-album-open{position:relative;display:block;width:100%;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#28392e;text-align:left;font-family:var(--sans);cursor:pointer;-webkit-appearance:none;appearance:none}
.photo-album-cover{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:#efeee8}
.photo-album-cover img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;transition:transform .35s ease;cursor:pointer}
.photo-album-open-mark{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:32px;height:32px;background:#fbfaf3eb;color:#263c30;font:400 22px/1 var(--sans);transition:background .2s ease}
.photo-album-open:focus-visible{outline:2px solid #ab9472;outline-offset:5px}
.photo-album-open:focus-visible .photo-album-cover img{transform:scale(1.02)}
@media(hover:hover){
 .photo-album-open:hover .photo-album-cover img{transform:scale(1.02)}
 .photo-album-open:hover .photo-album-open-mark{background:#fff}
}

.photo-theme-gallery{
 padding:clamp(24px,4vw,42px) 0 12px;
 border-top:1px solid #dfe3d8;
}
.photo-theme-gallery h2{
 margin:0 0 clamp(16px,2vw,24px);
 font-size:clamp(26px,3vw,38px);
 line-height:1.15;
}
/* A native dialog keeps the full photograph visible without cropping. */
.photo-album-viewer{position:fixed;inset:0;z-index:1000;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;overscroll-behavior:contain;background:#14221b;color:#fbfaf4}
.photo-album-viewer::backdrop{background:#0b1511f5;backdrop-filter:none}
.photo-viewer-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:16px;width:100%;height:100%;max-width:1600px;margin:0 auto;padding:18px 26px 15px}
.photo-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:22px;min-width:0}
.photo-viewer-header h2{margin:0;color:#fbfaf4;font:650 25px/1.2 var(--display);letter-spacing:-.025em;overflow-wrap:anywhere}
.photo-viewer-header [data-photo-viewer-close],.photo-viewer-stage>button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #ffffff40;border-radius:0;background:transparent;color:#fbfaf4;font:400 24px/1 var(--sans);cursor:pointer;transition:background .2s ease,border-color .2s ease}
.photo-viewer-header [data-photo-viewer-close]{font-size:29px}
.photo-viewer-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:20px;min-width:0;min-height:0}
.photo-viewer-stage>button{align-self:center}
.photo-viewer-image{touch-action:pan-y pinch-zoom;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;margin:0;overflow:hidden}
.photo-viewer-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;cursor:default}
.photo-viewer-thumbnails{display:flex;align-items:center;justify-content:flex-start;justify-content:safe center;gap:9px;width:100%;max-width:100%;min-width:0;margin:0 auto;padding:4px 3px 6px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#788775 transparent}
.photo-viewer-thumbnails>button{display:block;flex:0 0 48px;width:48px;height:64px;min-width:48px;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#26372c;opacity:.6;cursor:pointer;transition:opacity .2s ease}
.photo-viewer-thumbnails>button img{display:block;width:100%;height:100%;object-fit:cover}
.photo-viewer-thumbnails>button[aria-current="true"]{outline:2px solid #fbfaf4;outline-offset:2px;opacity:1}
.photo-album-viewer button:focus-visible{outline:2px solid #e8d4af;outline-offset:3px}
.photo-viewer-header [data-photo-viewer-close]:hover,.photo-viewer-stage>button:hover{background:#ffffff14;border-color:#ffffffa6}
.photo-viewer-stage>button:disabled{opacity:.28;cursor:default;background:transparent;border-color:#ffffff26}
.photo-viewer-thumbnails>button:hover{opacity:1}
.photo-viewer-live{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}

/* Small, clearly provisional printed editions, presented from top to bottom. */
.photo-keepsakes{padding:30px 0 35px;border-top:1px solid #dfe3d8;scroll-margin-top:94px}
.photo-keepsakes-heading{display:grid;grid-template-columns:1fr 1.2fr;align-items:end;gap:46px;margin-bottom:25px}
.photo-development-label{display:inline-block;margin:0 0 12px;padding:4px 8px;border:1px solid #d8ddce;background:#f5f4ed;color:#64745b;font:600 10px/1.4 var(--sans)}
.photo-keepsakes-heading h2{margin:0;color:#28392e;font:750 31px/1.12 var(--display);letter-spacing:-.035em}
.photo-keepsakes-heading>p{max-width:600px;margin:0;color:#68745f;font:14px/1.65 var(--sans)}
.photo-edition-list{display:grid;gap:0}
.photo-edition{display:grid;grid-template-columns:280px minmax(0,1fr);align-items:center;gap:46px;min-width:0;padding:25px 0;border-top:1px solid #e1e4dc}
.photo-edition:last-child{border-bottom:1px solid #e1e4dc}
.photo-edition-preview{width:100%;max-width:260px;min-width:0;justify-self:start}
.photo-edition-preview .photo-album-cover{aspect-ratio:3/4;background:#fff}
.photo-edition-preview .photo-album-cover img{object-fit:contain}
.photo-edition-preview .photo-album-open-mark{right:9px;bottom:9px;border:1px solid #dfe3d8;background:#fbfaf3ed}
.photo-edition-copy{min-width:0;max-width:650px}
.photo-edition-copy h3{margin:0 0 12px;color:#28392e;font:700 28px/1.15 var(--display);letter-spacing:-.03em}
.photo-edition-copy p{max-width:590px;margin:0 0 16px;color:#68745f;font:14px/1.7 var(--sans)}
.photo-edition-copy>span{display:block;color:#7b8573;font:500 11px/1.5 var(--sans)}

@media(min-width:768px) and (max-width:1099px){
 .photo-album-grid{gap:25px 18px}
 .photo-keepsakes-heading{gap:28px}
 .photo-edition{grid-template-columns:240px minmax(0,1fr);gap:32px}
 .photo-edition-preview{max-width:240px}
}
@media(max-width:767px){
 .photo-album-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px;padding:0 0 22px}
 .photo-album-open-mark{right:8px;bottom:8px;width:29px;height:29px;font-size:20px}
 .photo-keepsakes{padding:25px 0 28px}
 .photo-keepsakes-heading{grid-template-columns:1fr;gap:16px;margin-bottom:22px}
 .photo-keepsakes-heading h2{font-size:28px}
 .photo-keepsakes-heading>p{font-size:13px;line-height:1.65}
 .photo-development-label{margin-bottom:10px}
 .photo-edition{grid-template-columns:200px minmax(0,1fr);gap:25px;padding:22px 0}
 .photo-edition-preview{max-width:200px}
 .photo-edition-copy h3{font-size:25px;margin-bottom:10px}
 .photo-edition-copy p{font-size:13px;line-height:1.65;margin-bottom:13px}
 .photo-edition-copy>span{font-size:10px}
 .photo-viewer-shell{gap:12px;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}
 .photo-viewer-header{gap:12px}
 .photo-viewer-header h2{font-size:21px}
 .photo-viewer-stage{position:relative;display:block}
 .photo-viewer-stage>button{position:absolute;top:50%;z-index:1;transform:translateY(-50%);background:#14221bbd;border-color:#ffffff4d}
 .photo-viewer-stage>[data-photo-viewer-prev]{left:0}
 .photo-viewer-stage>[data-photo-viewer-next]{right:0}
 .photo-viewer-thumbnails{gap:8px;padding-top:4px;padding-bottom:5px}
 .photo-viewer-thumbnails>button{flex-basis:42px;width:42px;min-width:42px;height:56px}
}
@media(max-width:599px){
 .photo-edition{grid-template-columns:minmax(0,1fr);gap:19px;padding:22px 0 25px}
 .photo-edition-preview{max-width:220px}
 .photo-edition-copy h3{font-size:24px}
 .photo-edition-copy p{max-width:440px}
}
@media(max-width:359px){
 .photo-album-grid{grid-template-columns:minmax(0,1fr);gap:25px}
 .photo-viewer-header h2{font-size:19px}
 .photo-viewer-shell{padding-left:10px;padding-right:10px}
 .photo-keepsakes-heading h2{font-size:26px}
 .photo-edition-preview{max-width:200px}
}
@media(max-height:520px) and (orientation:landscape){
 .photo-viewer-shell{gap:8px;padding:10px 18px}
 .photo-viewer-header h2{font-size:18px}
 .photo-viewer-thumbnails{gap:8px;padding:3px 3px 4px}
 .photo-viewer-thumbnails>button{flex-basis:34px;width:34px;min-width:34px;height:44px}
}
@media(prefers-reduced-motion:reduce){
 .photo-album-cover img,.photo-album-open-mark,.photo-album-viewer button{transition:none}
}
