/* Local-only photo archive concept. Scoped so other staging pages retain their styles. */
.gallery-stage { --gallery-text: var(--text); --gallery-dim: var(--muted); --gallery-line: var(--line); background: var(--graphite); color: var(--gallery-text); min-height: 70vh; }
.gallery-stage__wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.gallery-stage__notice { background: var(--smoke); border-bottom: 1px solid var(--line); color: var(--silver); padding: 9px 0; font: 400 11px/1.4 var(--meta); letter-spacing: .11em; text-transform: uppercase; }
.gallery-stage__eyebrow { margin: 0; color: var(--muted); font: 400 11px/1.4 var(--meta); letter-spacing: .14em; text-transform: uppercase; }
.gallery-stage h1, .gallery-stage h2, .gallery-stage h3 { color: var(--text); }
.gallery-hero { position: relative; background: var(--black); border-bottom: 1px solid var(--line-soft); }
.gallery-hero::before { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),rgba(255,255,255,.025) 25%); content: ""; }
.gallery-hero__content { position: relative; padding-block: clamp(88px, 10vw, 138px); }
.gallery-hero h1 { max-width: 780px; font-size: clamp(50px, 7vw, 88px); letter-spacing: -.025em; line-height: 1.02; margin: 25px 0 24px; }
.gallery-hero__content > p:not(.gallery-stage__eyebrow) { max-width: 630px; line-height: 1.75; color: var(--muted); font-size: 18px; margin-bottom: 34px; }
.gallery-stage__button { display: inline-flex; gap: 32px; align-items: center; min-height: 52px; padding: 0 24px; border: 1px solid #737b81; background: transparent; color: var(--text) !important; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.gallery-stage__button:hover, .gallery-stage__button:focus-visible { background: var(--smoke-light); border-color: var(--silver); }
.gallery-stage__section { padding-block: 76px 112px; }
.gallery-stage__section-top { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.gallery-stage__section-top h2 { margin: 10px 0 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.gallery-stage__section-top > p { max-width: 400px; color: var(--gallery-dim); font-size: 15px; line-height: 1.6; margin: 0; }
.gallery-card { display: grid; grid-template-columns: minmax(0, .75fr) minmax(300px, 1fr); min-height: 320px; border: 1px solid var(--gallery-line); color: var(--gallery-text) !important; text-decoration: none; background: var(--anthracite); overflow: hidden; }
.gallery-card__image { overflow: hidden; }
.gallery-card__image img { width: 100%; height: 100%; min-height: 320px; display: block; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.8); }
.gallery-card__content { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.gallery-card h3 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.16; letter-spacing: -.025em; margin: 18px 0; }
.gallery-card__content > p:not(.gallery-stage__eyebrow) { color: var(--muted); line-height: 1.65; font-size: 15px; }
.gallery-card__action { margin-top: 22px; color: var(--silver); text-decoration: underline; text-underline-offset: 6px; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }
.gallery-card__action span { margin-left: 10px; }
.gallery-stage__footnote { border-top: 1px solid var(--gallery-line); margin: 40px 0 0; padding-top: 18px; max-width: 820px; font-size: 13px; color: var(--gallery-dim); line-height: 1.6; }
.gallery-album { padding-bottom: 100px; }
.gallery-album__breadcrumb { color: #a8aaa7; font-size: 13px; padding-top: 38px; }
.gallery-album__breadcrumb a, .gallery-album__source a, .gallery-album__back { color: var(--silver); text-underline-offset: 4px; }
.gallery-album__breadcrumb span { margin: 0 12px; }
.gallery-album__head { max-width: 850px; padding: 92px 0 60px; }
.gallery-album h1 { font-size: clamp(48px, 7vw, 82px); line-height: 1.06; letter-spacing: -.025em; margin: 20px 0 30px; }
.gallery-album__lead { color: #e1e2dd; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; max-width: 700px; }
.gallery-album__source { margin-top: 30px; color: var(--gallery-dim); font-size: 14px; line-height: 1.6; }
.gallery-album__source a { display: inline-block; margin-left: 8px; }
.gallery-album__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
.gallery-album__item { margin: 0; min-width: 0; }
.gallery-album__photo { position: relative; display: block; overflow: hidden; background: var(--smoke); height: auto; aspect-ratio: 3/2; }
.gallery-album__photo img { width: 100%; height: 100%; display: block; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.85); }
.gallery-album__zoom { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--silver); background: var(--black); color: var(--silver); font: 400 18px/1 var(--body); }
.gallery-album__item figcaption { display: flex; justify-content: space-between; gap: 8px; color: var(--gallery-dim); font-size: 12px; padding-top: 9px; }
.gallery-album__back { display: inline-block; margin-top: 38px; }
.gallery-lightbox { position: fixed; inset: 0; border: 0; padding: 64px 72px; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: #090c0bef; color: #fff; }
.gallery-lightbox::backdrop { background: #090c0b; }
.gallery-lightbox[open] { display: flex; justify-content: center; align-items: center; }
.gallery-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gallery-lightbox button { position: absolute; background: #252b28; color: #fff; border: 1px solid #666; width: 44px; height: 44px; cursor: pointer; font-size: 28px; line-height: 1; }
.gallery-lightbox button:hover, .gallery-lightbox button:focus-visible { background: var(--smoke-light); border-color: var(--silver); }
.gallery-lightbox__close { top: 12px; right: 18px; }
.gallery-lightbox__prev { left: 15px; top: 50%; }
.gallery-lightbox__next { right: 15px; top: 50%; }
.gallery-lightbox__counter { position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); font-size: 13px; letter-spacing: .12em; }
@media (max-width: 800px) { .gallery-card { grid-template-columns: 1fr; } .gallery-card__image img { min-height: 0; height: auto; aspect-ratio: 16/9; } .gallery-album__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 550px) { .gallery-stage__wrap { width: min(100% - 32px,var(--wrap)); } .gallery-hero__content { padding-block: 74px 82px; } .gallery-hero h1 { font-size: clamp(48px, 11vw, 68px); } .gallery-stage__section { padding-block: 60px; } .gallery-stage__section-top { display: block; } .gallery-stage__section-top > p { margin-top: 14px; } .gallery-album__head { padding: 65px 0 35px; } .gallery-album__grid { gap: 18px 10px; } .gallery-album__photo { aspect-ratio: 1/1; } .gallery-lightbox { padding: 50px 8px; } .gallery-lightbox__prev { left: 8px; } .gallery-lightbox__next { right: 8px; } }
@media (prefers-reduced-motion: reduce) { .gallery-stage img { transition: none !important; } }

/* Existing public archive entries remain readable, without dominating the new landing. */
.gallery-archive { border-top: 1px solid var(--gallery-line); margin-top: 45px; padding-top: 35px; }
.gallery-archive h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.gallery-archive__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-archive__card { display: flex; flex-direction: column; min-width: 0; padding: 0 0 26px; border: 1px solid var(--line); color: var(--text); text-decoration: none; background: var(--anthracite); }
.gallery-archive__card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(.85); border-bottom: 1px solid var(--line); }
.gallery-archive__card > :not(img) { margin-inline: 20px; }
.gallery-archive__card > .gallery-stage__eyebrow { margin-top: 20px; }
.gallery-archive__card strong { font: 400 clamp(22px, 2.5vw, 30px)/1.25 var(--display); margin-top: 12px; }
.gallery-archive__card .gallery-card__action { margin-top: auto; padding-top: 26px; }
.gallery-archive__card:hover, .gallery-archive__card:focus-visible { border-color: var(--silver); }
.gallery-archive__card:focus-visible { outline-offset: 3px; }
.gallery-archive__card--selected { border-color: var(--silver); }
.gallery-archive__note { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.gallery-archive--years { margin-top: 65px; }
.gallery-archive--years .gallery-archive__card strong { font: 400 clamp(36px, 4vw, 54px)/1 var(--display); }
.gallery-archive__results { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 50px 0 23px; }
.gallery-archive__results h3 { margin: 0; }
.gallery-archive__results p { margin: 0; color: var(--muted); font-size: 13px; }
.gallery-archive__pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.gallery-archive__pagination a { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--silver); text-decoration: none; }
.gallery-archive__pagination a:hover, .gallery-archive__pagination a:focus-visible, .gallery-archive__pagination a[aria-current="page"] { border-color: var(--silver); color: var(--text); background: var(--smoke); }
.gallery-album__count { margin-bottom: 22px; }
.gallery-archive ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft); }
.gallery-archive li { border-bottom: 1px solid var(--line-soft); }
.gallery-archive a { display: flex; justify-content: space-between; gap: 20px; padding: 17px 3px; color: var(--silver); text-decoration: none; }
.gallery-archive a:hover, .gallery-archive a:focus-visible { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.gallery-legacy { border-top: 1px solid var(--gallery-line); margin-top: 42px; padding-top: 20px; }
.gallery-legacy summary { width: fit-content; color: var(--silver); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.gallery-legacy summary:hover, .gallery-legacy summary:focus-visible { color: var(--text); }
.gallery-legacy__content { margin-top: 25px; padding: 25px; background: var(--black); border: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.gallery-legacy__content .gallery { max-width: 100%; }
.gallery-legacy--album { margin-top: 55px; }
.gallery-legacy--photos summary { margin-bottom: 22px; }
@media (max-width: 900px) { .gallery-archive__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) { .gallery-archive__cards { grid-template-columns: 1fr; } .gallery-archive__results { display: block; } .gallery-archive__results p { margin-top: 8px; } .gallery-legacy__content { padding: 15px; } }
