@font-face{font-family:Inter;src:url('/assets/fonts/Inter-Regular.woff2');font-display:swap}
:root{--ink:#253125;--paper:#fff;--ease:cubic-bezier(.22,1,.36,1)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid #3a613a;outline-offset:5px}.gallery-header{height:80px;position:fixed;inset:0 0 auto;z-index:20;background:var(--paper);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:24px}.gallery-header img{display:block;object-fit:contain}.gallery-header h1{font-size:18px;font-weight:400;margin:0}.home-link{font-size:14px}.photo-space{position:fixed;inset:80px 0 0;overflow:hidden;touch-action:none;cursor:grab}.photo-space.dragging{cursor:grabbing}.photo-tile{position:absolute;left:50%;top:50%;padding:0;border:5px solid #fff;background:#e1d5b4;box-shadow:0 8px 20px #25312518;width:360px;aspect-ratio:3/2;transform-origin:center;cursor:zoom-in;will-change:transform;overflow:hidden}.photo-tile img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.photo-tile:hover{box-shadow:0 10px 30px #25312535}.photo-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:32px 40px;background:transparent;color:var(--ink);overflow:hidden}.photo-dialog::backdrop{background:#fffffff5}.photo-dialog[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.photo-view{position:relative;width:min(1100px,calc((100dvh - 150px)*1.5),100%);aspect-ratio:3/2;flex:none}.full-photo{display:block;width:100%;height:100%;object-fit:contain;border:6px solid white;background:#e1d5b4;box-shadow:0 20px 60px #25312520}.photo-error{position:absolute;inset:40% 20px auto;text-align:center;background:#fff;padding:20px}.viewer-bar{width:min(1100px,100%);display:flex;justify-content:space-between;align-items:center;gap:20px}.viewer-caption{display:flex;gap:16px;flex-wrap:wrap;font-size:15px}#photo-count{color:#747d6e}.viewer-buttons{display:flex;align-items:center;gap:8px}.icon-button{position:relative;border:0;border-radius:50%;background:#F4F4F4;display:grid;place-items:center;overflow:hidden;isolation:isolate;flex:none}.icon-close{width:56px;height:56px;padding:16px}.icon-arrow{width:48px;height:48px;padding:8px}.icon-button img{position:relative;z-index:1;width:24px;height:24px;pointer-events:none}.icon-arrow img{width:32px;height:32px}.icon-button:before{content:'';position:absolute;left:var(--fill-x,50%);top:var(--fill-y,50%);width:var(--fill-size,170px);height:var(--fill-size,170px);border-radius:50%;background:#E7E0D4;transform:translate(-50%,-50%) scale(0);transition:transform .55s var(--ease)}.icon-button.is-filled:before{transform:translate(-50%,-50%) scale(1)}
body.grid-view .photo-space{position:relative;inset:auto;min-height:calc(100svh - 80px);margin:80px 0 0;padding:30px 40px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;touch-action:pan-y;cursor:auto;overflow:visible}body.grid-view .photo-tile{position:relative;inset:auto;width:100%!important;min-width:0;transform:none!important;opacity:1!important;visibility:visible!important;will-change:auto}
@media(max-width:700px){.gallery-header{height:68px;padding:0 20px}.gallery-header h1{font-size:16px}.home-link{font-size:12px}.photo-space{top:68px;bottom:0}.photo-dialog{padding:20px 14px}.photo-dialog[open]{gap:24px}.viewer-bar{flex-direction:column;gap:20px}.viewer-caption{font-size:14px;justify-content:center}.photo-view{width:min(100%,calc((100dvh - 210px)*1.5))}body.grid-view .photo-space{margin:68px 0 0;padding:20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(prefers-reduced-motion:reduce){.icon-button:before{transition:none}}

/* Transparent hero navigation shared with the home page. */
html{scrollbar-gutter:auto}
.gallery-hero-header{position:fixed;z-index:80;background:transparent;color:#111;pointer-events:none}
.gallery-hero-header>a,.gallery-hero-header nav,.gallery-hero-header .header-contact{pointer-events:auto}
.gallery-hero-header .logo img,.gallery-hero-header .header-contact img{filter:brightness(0)}
.gallery-hero-header .nav-marker{background:#f4f4f4;backdrop-filter:none}
.photo-space{top:0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.grid-view .photo-space{margin-top:150px}
@media(max-width:600px){.photo-space{top:0}body.grid-view .photo-space{margin-top:230px}}
