.album-card{transition:transform .25s,box-shadow .25s}
.album-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.album-open{display:block;width:100%;padding:0;border:0;background:white;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.album-open:focus-visible{outline:4px solid var(--lime);outline-offset:3px}
.album-open .album-mosaic{display:grid}
.album-card-copy{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.4rem}
.album-card-copy strong,.album-card-copy small{display:block}
.album-card-copy strong{font:700 1.18rem Manrope,sans-serif}
.album-card-copy small{margin-top:.2rem;color:var(--muted)}
.album-card-copy b{color:var(--green);font-size:.85rem;white-space:nowrap}
.gallery-dialog{width:min(1180px,calc(100% - 32px));height:min(88vh,900px);max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:1.4rem;background:var(--cream);box-shadow:0 30px 100px rgba(0,0,0,.35)}
.gallery-dialog::backdrop{background:rgba(5,20,14,.78);backdrop-filter:blur(5px)}
.gallery-dialog-shell{height:100%;overflow:auto;padding:2rem}
.gallery-dialog header{position:sticky;z-index:2;top:-2rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;margin:-2rem -2rem 2rem;padding:1.5rem 2rem;background:rgba(246,242,232,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
.gallery-dialog h2{margin:0;font-size:clamp(1.8rem,4vw,3rem)}
.gallery-dialog .eyebrow{margin-bottom:.45rem}
.gallery-dialog button{border:1px solid var(--line);background:white;color:var(--forest);padding:.75rem 1rem;border-radius:999px;font-weight:800;cursor:pointer}
.gallery-dialog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}
.gallery-dialog-grid a{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:.8rem;background:#dfe4df}
.gallery-dialog-grid img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.gallery-dialog-grid a:hover img{transform:scale(1.04)}
@media(max-width:900px){.gallery-dialog-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.gallery-dialog{width:100%;height:100%;border-radius:0}.gallery-dialog-shell{padding:1rem}.gallery-dialog header{top:-1rem;margin:-1rem -1rem 1rem;padding:1rem}.gallery-dialog-grid{grid-template-columns:repeat(2,1fr)}.album-card-copy{align-items:flex-start;flex-direction:column}.album-card-copy b{white-space:normal}}
