:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #10110f; color: #f5f3eb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #10110f; }
button { font: inherit; }
.site-header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; max-width: 1400px; margin: 0 auto; padding: 2rem clamp(1.2rem, 4vw, 4rem); }
.brand { color: #fffdf7; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.5rem); text-decoration: none; letter-spacing: -.03em; }
.subtitle { color: #b8b7ac; margin: 0; }
main { max-width: 1400px; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 4rem) 4rem; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.album-card { position: relative; min-height: 260px; overflow: hidden; border-radius: 16px; color: white; background: #292a25; text-decoration: none; isolation: isolate; }
.album-card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.77)); z-index: 1; }
.album-card img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .3s ease; }
.album-card:hover img, .album-card:focus-visible img { transform: scale(1.045); }
.album-overlay { position: absolute; z-index: 2; inset: auto 1.2rem 1.1rem; display: grid; gap: .18rem; }
.album-overlay strong { font-size: 1.15rem; }.album-overlay small { color: #e5e2d7; }
.album-title { margin: .2rem 0 1.75rem; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.04em; }
.back { display: inline-block; color: #d7d5c9; margin-bottom: 1rem; text-decoration: none; }.back:hover { color: white; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 150px; gap: .6rem; }
.photo-card { overflow: hidden; border: 0; border-radius: 8px; padding: 0; cursor: zoom-in; background: #292a25; }.photo-card:focus-visible { outline: 3px solid #d5ba73; outline-offset: 2px; }
.photo-card img { width: 70%; height: 140%; object-fit: cover; display: inline-block; transition: transform .25s ease; }.photo-card:hover img { transform: scale(1.04); }
.loading, .error { color: #b8b7ac; padding: 3rem 0; }.error { color: #ffb4a9; }
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; border: 0; padding: 2rem 5.5rem; background: rgba(5,6,5,.96); color: white; }.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; }.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }.lightbox figcaption { min-height: 1.5rem; margin-top: .75rem; text-align: center; color: #e1dfd7; }
.icon-button { position: fixed; z-index: 2; border: 0; width: 3rem; height: 3rem; border-radius: 50%; color: white; background: rgba(255,255,255,.14); cursor: pointer; font-size: 2.3rem; line-height: 1; }.icon-button:hover, .icon-button:focus-visible { background: rgba(255,255,255,.28); }.close { top: 1.25rem; right: 1.25rem; font-size: 2rem; }.previous, .next { top: 50%; transform: translateY(-50%); }.previous { left: 1.25rem; }.next { right: 1.25rem; }
@media (max-width: 560px) { .site-header { display: block; padding-top: 1.3rem; }.subtitle { margin-top: .3rem; }.photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }.lightbox { padding: 1rem; }.lightbox img { max-height: calc(100vh - 6rem); }.previous, .next { top: auto; bottom: 1rem; transform: none; }.previous { left: calc(50% - 3.4rem); }.next { right: calc(50% - 3.4rem); } }
