
/* Gallery: horizontal free-flow image sequence */
html, body { background:#fff; }
body { overflow:hidden; }
header { z-index:20; }
header h1, header nav a, .language-switcher a { color:#111 !important; }
.gallery-track { position:fixed; inset:0; display:flex; align-items:center; gap:clamp(2rem,5vw,6rem); overflow-x:auto; overflow-y:hidden; padding:5.5rem 8vw 2.5rem; box-sizing:border-box; scrollbar-width:none; overscroll-behavior-x:contain; scroll-snap-type:x proximity; }
.gallery-track::-webkit-scrollbar { display:none; }
.gallery-item { flex:0 0 auto; display:flex; align-items:center; justify-content:center; height:100%; max-height:calc(100vh - 8rem); scroll-snap-align:center; }
.gallery-item:nth-child(4n + 1) { transform:translateY(-4vh); }
.gallery-item:nth-child(4n + 2) { transform:translateY(5vh); }
.gallery-item:nth-child(4n + 3) { transform:translateY(-1vh); }
.gallery-item:nth-child(4n) { transform:translateY(7vh); }
.gallery-item a { display:block; line-height:0; }
.gallery-item img { display:block; width:auto; height:auto; max-height:var(--image-height,62vh); max-width:min(62vw,850px); object-fit:contain; transition:opacity .25s ease; }
.gallery-item a:hover img, .gallery-item a:focus-visible img { opacity:.78; }
.gallery-item a:focus-visible { outline:1px solid #111; outline-offset:5px; }
@media(max-width:650px) {
 body { overflow:hidden; }
 .gallery-track { padding:4.8rem 6vw 2rem; gap:2rem; }
 .gallery-item { max-height:calc(100vh - 7rem); }
 .gallery-item img { max-height:var(--image-height,56vh); max-width:78vw; }
 .gallery-item:nth-child(4n + 1) { transform:translateY(-2vh); }
 .gallery-item:nth-child(4n + 2) { transform:translateY(3vh); }
 .gallery-item:nth-child(4n + 3) { transform:translateY(0); }
 .gallery-item:nth-child(4n) { transform:translateY(4vh); }
}
@media(prefers-reduced-motion:reduce) { .gallery-item img { transition:none; } }
\n/* Site-wide selection style */\n::selection { color:#fff; background:#000; }\n::-moz-selection { color:#fff; background:#000; }\na:active { color:#fff; background:#000; }\n