:root{color-scheme:dark;--bg:#08090a;--panel:#111214;--panel-2:#171819;--line:rgba(216,189,120,.2);--gold:#d8bd78;--gold2:#ecd593;--text:#f1ede5;--muted:#aaa49b;font-family:Inter,"Segoe UI",system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(900px 560px at 78% 0,rgba(112,38,27,.22),transparent 65%),var(--bg);color:var(--text)}a{color:inherit}.gallery-header{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.72rem max(1rem,calc((100% - 1180px)/2));border-bottom:1px solid var(--line);background:rgba(7,8,9,.92);backdrop-filter:blur(16px)}.gallery-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;font:1.08rem Georgia,serif}.gallery-brand img{width:40px;height:40px}.gallery-header nav{display:flex;align-items:center;gap:.8rem}.gallery-header nav>a{padding:.62rem .8rem;border:1px solid var(--line);border-radius:10px;text-decoration:none;font-size:.8rem}.gallery-header label{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-size:.74rem}.gallery-header select{border:1px solid var(--line);border-radius:9px;background:#0b0c0d;color:var(--text);padding:.62rem .72rem;font:inherit}main{width:min(1180px,calc(100% - 2rem));margin:auto}.gallery-hero{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;padding:clamp(4rem,9vw,8rem) 0 4rem;border-bottom:1px solid var(--line)}.gallery-kicker{margin:0 0 .55rem;color:var(--gold);font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.gallery-hero h1{max-width:12ch;margin:0;font:clamp(3rem,8vw,6.6rem)/.92 Georgia,serif}.gallery-hero>div>p:last-child{max-width:650px;margin:1.3rem 0 0;color:var(--muted);font-size:1.05rem;line-height:1.7}.gallery-hero__mark{display:grid;place-items:center;width:170px;height:170px;border:1px solid var(--line);border-radius:50%;background:rgba(6,7,8,.72);box-shadow:0 24px 70px rgba(0,0,0,.4)}.gallery-hero__mark img{width:125px;height:125px}.album-section,.photo-section{padding:4.5rem 0}.photo-section{border-top:1px solid var(--line)}.gallery-section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem}.gallery-section-head h2{margin:0;font:clamp(2rem,4vw,3.2rem)/1 Georgia,serif}.gallery-total{margin:0;color:var(--muted);font-size:.82rem}.gallery-section-head button{border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--gold2);padding:.7rem 1rem;cursor:pointer}.album-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.album-card{position:relative;overflow:hidden;min-height:250px;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:inherit;text-align:left;cursor:pointer;padding:0}.album-card__covers{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;height:175px;gap:2px;background:#060708}.album-card__covers img{width:100%;height:100%;object-fit:cover}.album-card__covers img:first-child:last-child{grid-column:1/-1;grid-row:1/-1}.album-card__empty{grid-column:1/-1;grid-row:1/-1;display:grid;place-items:center;color:#716c64;font:3rem Georgia,serif}.album-card__body{display:flex;justify-content:space-between;gap:1rem;align-items:end;padding:1rem}.album-card__body strong{display:block;font:1.1rem Georgia,serif}.album-card__body span{color:var(--muted);font-size:.72rem}.album-card.is-active{border-color:rgba(236,213,147,.7);box-shadow:0 0 0 2px rgba(216,189,120,.12)}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:dense;gap:.7rem}.photo-card{position:relative;overflow:hidden;min-height:235px;border:0;border-radius:14px;background:#111214;cursor:pointer;padding:0}.photo-card:nth-child(7n+1){grid-column:span 2;grid-row:span 2;min-height:480px}.photo-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.photo-card:hover img,.photo-card:focus-visible img{transform:scale(1.035)}.photo-card__overlay{position:absolute;inset:auto 0 0;padding:3.8rem 1rem 1rem;background:linear-gradient(transparent,rgba(4,5,6,.92));text-align:left}.photo-card__overlay span{color:var(--gold2);font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.photo-card__overlay strong{display:block;margin-top:.22rem;font:1rem/1.2 Georgia,serif}.gallery-empty{padding:3rem 1rem;border:1px dashed var(--line);border-radius:16px;color:var(--muted);text-align:center}.photo-viewer{width:min(1020px,calc(100% - 2rem));max-height:calc(100vh - 2rem);padding:0;border:1px solid rgba(216,189,120,.3);border-radius:18px;background:#090a0b;color:var(--text);box-shadow:0 35px 100px rgba(0,0,0,.75)}.photo-viewer::backdrop{background:rgba(1,2,3,.88);backdrop-filter:blur(8px)}.photo-viewer figure{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.5fr);margin:0}.photo-viewer figure>img{width:100%;height:min(82vh,760px);object-fit:contain;background:#030404}.photo-viewer figcaption{padding:2.2rem;align-self:center}.photo-viewer figcaption>p:first-child{color:var(--gold);font-size:.68rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.photo-viewer h2{font:2rem/1.1 Georgia,serif}.photo-viewer figcaption>p{color:var(--muted);line-height:1.65}.photo-viewer time{color:#817b72;font-size:.75rem}.photo-viewer__close{position:absolute;right:.75rem;top:.75rem;z-index:2;width:38px;height:38px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(5,6,7,.86);color:white;font-size:1.4rem;cursor:pointer}.gallery-footer{display:flex;justify-content:space-between;gap:1rem;width:min(1180px,calc(100% - 2rem));margin:auto;padding:2rem 0;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem}.gallery-footer a{color:var(--gold2)}@media(max-width:900px){.album-grid,.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-hero__mark{width:130px;height:130px}.gallery-hero__mark img{width:95px;height:95px}.photo-viewer figure{grid-template-columns:1fr}.photo-viewer figure>img{height:55vh}.photo-viewer figcaption{padding:1.4rem}}@media(max-width:600px){.gallery-header{align-items:flex-start}.gallery-header nav{flex-direction:column;align-items:stretch}.gallery-header label{justify-content:space-between}.gallery-hero{grid-template-columns:1fr;padding-top:3rem}.gallery-hero__mark{display:none}.album-grid,.photo-grid{grid-template-columns:1fr 1fr}.album-card{min-height:210px}.album-card__covers{height:135px}.photo-card,.photo-card:nth-child(7n+1){grid-column:span 1;grid-row:span 1;min-height:190px}.photo-card__overlay strong{font-size:.85rem}.gallery-footer{flex-direction:column}}
/* Compact header layout for narrow phones. */
@media(max-width:430px){.gallery-header{flex-wrap:wrap}.gallery-header nav{display:grid;grid-template-columns:1fr;width:100%;gap:.55rem}.gallery-header nav>a{text-align:center}.gallery-header label{width:100%}.gallery-header select{min-width:0;max-width:68%;}}
.album-card,.photo-card{min-width:0}.album-card__covers img,.photo-card img{display:block;object-position:center}.album-card__body{min-width:0;overflow-wrap:anywhere}@media(max-width:430px){.album-grid,.photo-grid{grid-template-columns:1fr}.album-card__covers{height:180px}.photo-card,.photo-card:nth-child(7n+1){min-height:230px}}
