/* Personal photographs, composed within the existing mountain world. */
.photo-home .hero{height:calc(100svh - 106px);min-height:610px;max-height:none;padding-top:65px}
.photo-home .hero-copy{max-width:580px}
.photo-home .cat-ledge{transform:scale(.72);transform-origin:right bottom;bottom:34px}
.photo-home .cloud-companion{top:38px}
.photo-banner{padding-top:12px;margin-bottom:110px}
.photo-frame{margin:0;min-width:0}
.photo-open{display:block;position:relative;overflow:hidden;border-radius:12px;background:var(--panel)}
.photo-frame img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.photo-open:hover img{transform:scale(1.025)}
.photo-expand{position:absolute;bottom:14px;right:14px;display:grid;place-items:center;width:34px;height:34px;background:#101d30bb;border:1px solid #ffffff55;border-radius:50%;color:white;font-size:19px}
.photo-frame figcaption{color:var(--muted);font:400 11px/1.6 'IBM Plex Mono',monospace;margin-top:12px;letter-spacing:.2px}
.photo-banner .photo-open{aspect-ratio:2/1}
.photo-banner img{object-position:50% 44%}
.photo-introduction{display:grid;grid-template-columns:1fr 1.15fr;gap:70px;align-items:center;margin-bottom:120px}
.photo-intro-copy p:not(.eyebrow){color:var(--muted);max-width:350px;margin:24px 0 16px}
.photo-introduction .photo-open{aspect-ratio:4/3}
.photo-introduction img{object-position:center}
.outside-lately{padding-bottom:110px}
.outside-lately .section-heading{align-items:end;margin-bottom:32px;gap:20px}
.photo-editorial{display:grid;grid-template-columns:1.08fr 1fr;gap:28px;align-items:start}
.photo-tall .photo-open{aspect-ratio:3/4}
.photo-tall img{object-position:50% 65%}
.photo-stack{display:grid;gap:35px}
.photo-stack .photo-open{aspect-ratio:1.52}
.photo-stack img{object-position:50% 45%}
.photo-journal-card{padding:12px 5px 0}
.photo-journal-card h3{font-size:clamp(23px,2.4vw,31px);line-height:1.3;max-width:390px}
.photo-journal-card p:not(.eyebrow){color:var(--muted);margin:16px 0}
.photo-journal-card .text-link{font-size:13px}
.about-photo{margin:0 0 40px}.about-photo .photo-open{aspect-ratio:16/10}
.adventure-photos{margin:40px 0 70px}
.photo-collection{display:grid;grid-template-columns:1fr 1fr;gap:32px 24px;margin-top:28px;align-items:start}
.photo-collection .photo-open{aspect-ratio:4/5}
.photo-collection .photo-frame:first-child{grid-column:1/-1}
.photo-collection .photo-frame:first-child .photo-open{aspect-ratio:2/1}
.photo-collection .photo-frame:last-child .photo-open{aspect-ratio:4/5}
.photo-dialog{border:1px solid #ffffff33;padding:60px 24px 22px;background:#0c1420;color:#fff;border-radius:14px;width:min(1150px,96vw);max-height:96svh;overflow:auto}
.photo-dialog::backdrop{background:#050912ed}
.photo-dialog img{width:100%;height:auto;max-height:76svh;object-fit:contain;margin:auto}
.photo-dialog p{font-size:13px;color:#c8ceda;margin:16px 0 0;text-align:center}
.photo-close{position:absolute;top:10px;right:12px;background:#22334a;border:1px solid #ffffff44;color:#fff;border-radius:6px;min-width:44px;min-height:44px;padding:5px 15px}
html.photo-viewing{overflow:hidden}
@media(max-width:800px){.photo-introduction{gap:30px}.photo-home .cloud-companion{right:0;transform:scale(.65)}.photo-editorial{gap:20px}.photo-stack{gap:20px}.photo-journal-card h3{font-size:23px}}
@media(max-width:600px){.photo-home .hero{height:calc(100svh - 78px);min-height:570px;padding-top:48px}.photo-home .hero-copy{padding-top:0}.photo-banner{margin-bottom:65px}.photo-banner .photo-open{aspect-ratio:4/3}.photo-banner img{object-position:42% 48%}.photo-introduction{grid-template-columns:1fr;gap:30px;margin-bottom:70px}.photo-intro-copy p:not(.eyebrow){max-width:100%}.photo-introduction .photo-open{aspect-ratio:4/3}.outside-lately{padding-bottom:65px}.outside-lately .section-heading{display:block}.outside-lately .section-heading>a{margin-top:10px}.photo-editorial{grid-template-columns:1fr;gap:30px}.photo-tall .photo-open{aspect-ratio:4/5}.photo-stack{gap:30px}.photo-stack .photo-open{aspect-ratio:4/3}.photo-journal-card{padding:5px 0}.photo-collection{gap:28px;grid-template-columns:1fr}.photo-collection .photo-frame:first-child{grid-column:auto}.photo-collection .photo-frame:first-child .photo-open{aspect-ratio:4/3}.photo-collection .photo-open{aspect-ratio:4/5}.photo-dialog{padding:60px 12px 16px}.photo-dialog img{max-height:70svh}}
@media(prefers-reduced-motion:reduce){.photo-frame img{transition:none}.photo-open:hover img{transform:none}}
@media print{.photo-banner,.photo-introduction,.outside-lately,.adventure-photos{break-inside:avoid}.photo-dialog,.photo-expand{display:none}}
.photo-frame figcaption{display:table;background:var(--panel);color:var(--ink);padding:5px 10px;border-radius:4px}

/* A consistent backdrop keeps the feature readable over every sky. */
.photo-journal-card{background:var(--panel);padding:26px 28px;border:1px solid var(--line);border-radius:12px}
.photo-journal-card.reading-surface:before{display:none}
@media(max-width:600px){.photo-journal-card{padding:23px}}

.quebec-entry{margin:0 0 70px}.quebec-entry .photo-frame{margin:24px 0 12px}.quebec-entry .photo-open{aspect-ratio:4/3}.journal-surface>.journal-entry{margin:20px 0 28px}

@media(min-width:601px) and (max-width:800px){.photo-home .hero{height:calc(100svh - 84px);min-height:610px}}

/* Preview the Québec entry directly from the homepage. */
.photo-journal-card .entry-photo{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:7px;margin:0 0 22px}

/* Keep both interactive companions visible on phones and tablets. */
@media(max-width:800px){.photo-home .cat-ledge{display:block}}
@media(max-width:600px){
 .photo-home .cloud-companion{display:block;left:8%;right:auto;top:48%;width:100px;transform:none;z-index:1}
 .photo-home .cat-ledge{display:block;right:-20px;bottom:74px;width:190px;height:145px;transform:scale(.9);z-index:2}
}

.adventure-shortcuts { display:flex; flex-wrap:wrap; gap:0 24px; }
.adventure-shortcuts .text-link { display:inline-flex; align-items:center; min-height:44px; }
