.wrap.gallery-page,.wrap.gallery-photo{padding-top:clamp(40px,5vw,72px);padding-bottom:clamp(56px,8vw,100px)}.gallery-page__head h1,.gallery-photo__head h1{font:400 clamp(60px, 8vw, 100px) / 1 var(--serif);letter-spacing:-.035em;margin:0}.gallery-page__head{grid-template-columns:minmax(0,auto) minmax(0,34em);align-items:end;gap:16px clamp(32px,6vw,96px);margin-bottom:clamp(28px,4vw,48px);display:grid}.gallery-page__head>p{margin:0;font-size:clamp(18px,1.6vw,21px);line-height:1.5}.gallery-filters{background:var(--paper-2);flex-wrap:wrap;gap:4px;padding:4px;display:flex}.gallery-filters a{align-items:center;gap:10px;min-height:44px;padding:0 18px;text-decoration:none;transition:background-color .2s,color .2s;display:inline-flex}.gallery-filters__n{color:var(--ink-2);font-variant-numeric:tabular-nums;font-size:14px}.gallery-filters a:hover{background:var(--paper-3)}.gallery-filters a[aria-current=page]{background:var(--ink);color:var(--paper);font-weight:600}.gallery-filters a[aria-current=page] .gallery-filters__n{color:var(--paper-3)}.gallery-pagination a:hover{color:var(--bronze)}.gallery-page__count{color:var(--ink-2);margin:16px 0 0;font-size:14px}.gallery-grid{--row:clamp(170px, 21vw, 300px);flex-wrap:wrap;gap:10px;margin:24px 0 0;padding:0;list-style:none;display:flex}.gallery-grid:after{content:"";flex-grow:999}.gallery-grid li{flex:var(--r) 1 calc(var(--r) * var(--row));min-width:0}.gallery-grid li.is-lead{flex-basis:100%}.gallery-grid figure{background:var(--paper-2);margin:0;position:relative;overflow:hidden}.gallery-grid__open{display:block}.gallery-grid__frame{aspect-ratio:var(--r);display:block;overflow:hidden}.is-lead .gallery-grid__frame{aspect-ratio:auto;height:clamp(320px,64vh,720px)}.gallery-grid__frame picture,.gallery-grid__frame img{width:100%;height:100%;display:block}.gallery-grid__frame img{object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}.gallery-grid__open:hover img,.gallery-grid__open:focus-visible img{transform:scale(1.045)}.gallery-grid figcaption{overflow-wrap:anywhere;padding:10px 2px 4px;font-size:15px;line-height:1.45}.is-lead figcaption{font-size:clamp(17px,1.6vw,20px)}@media (hover:hover) and (pointer:fine){.gallery-grid figcaption{color:var(--paper);opacity:0;pointer-events:none;background:#17150fb8;padding:40px 18px 16px;transition:opacity .3s,transform .3s;position:absolute;inset:auto 0 0;transform:translateY(12px)}.gallery-grid figcaption .gallery-credit{color:var(--paper-3)}.gallery-grid figure:hover figcaption,.gallery-grid figure:focus-within figcaption,.gallery-grid .is-lead figcaption{opacity:1;transform:none}.gallery-grid .is-lead figcaption{max-width:44em;padding:24px clamp(20px,3vw,32px);inset:auto auto 0 0}}.gallery-grid figcaption p,.gallery-photo__figure figcaption p{margin:0}.gallery-grid figcaption p+p,.gallery-photo__figure figcaption p+p{margin-top:6px}.gallery-credit{color:var(--ink-2);font-size:14px;line-height:1.5}.gallery-grid li[data-enter]{opacity:0;transform:translateY(24px)}.gallery-grid li[data-enter=in]{opacity:1;transition:opacity .6s,transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:var(--delay,0s);transform:none}.gallery-page__empty{margin:32px 0}.gallery-pagination{border-top:1px solid var(--rule);grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-top:40px;padding-top:24px;display:grid}.gallery-pagination>:last-child{text-align:right;justify-self:end}.gallery-pagination a{align-items:center;min-height:44px;display:inline-flex}.gallery-photo__head{margin-bottom:28px}.gallery-photo__head>a{align-items:center;min-height:44px;margin-bottom:16px;display:inline-flex}.gallery-photo__image{background:var(--paper-2)}.gallery-photo__image img{object-fit:contain;width:100%;height:auto;max-height:80vh}.gallery-photo__figure figcaption{overflow-wrap:anywhere;max-width:70ch;margin-top:20px}html[data-gallery-open]{overflow:hidden}.gallery-dialog{background:var(--ink);width:min(1064px,96vw);max-width:none;max-height:94dvh;color:var(--paper);overscroll-behavior:contain;border:0;padding:20px 24px;overflow-y:auto}.gallery-dialog:not([open]){display:none}.gallery-dialog::backdrop{background:#0a0906eb}.gallery-dialog a{color:var(--paper)}.gallery-dialog .gallery-credit,.gallery-dialog__status,.gallery-dialog__hint{color:var(--paper-3)}.gallery-dialog__bar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.gallery-dialog__bar h2{font:400 24px / 1.2 var(--serif);margin:0}.gallery-dialog button{min-height:44px;color:var(--paper);cursor:pointer;background:#2b2820;border:0;border-radius:0;padding:8px 18px;transition:background-color .2s,transform .15s}.gallery-dialog button:hover:not(:disabled){background:var(--bronze)}.gallery-dialog button:active:not(:disabled){transform:scale(.97)}.gallery-dialog button:disabled{opacity:.4;cursor:default}.gallery-dialog__image{touch-action:pan-y;background:#0f0e0a;justify-content:center;align-items:center;height:min(66dvh,720px);display:flex}.gallery-dialog__image picture{width:100%;height:100%;display:block}.gallery-dialog__image img{object-fit:contain;width:100%;height:100%}.gallery-dialog__status{margin:12px 0 0}.gallery-dialog__status:empty{display:none}.gallery-dialog__caption{overflow-wrap:anywhere;margin-top:16px}.gallery-dialog__caption p{margin:0}.gallery-dialog__caption p+p{margin-top:8px}.gallery-dialog__controls{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.gallery-dialog__controls a{text-align:center;align-items:center;min-height:44px;display:inline-flex}.gallery-dialog__hint{margin:12px 0 0;font-size:14px}@media (width<=959px){.gallery-page__head{grid-template-columns:1fr}}@media (width<=539px){.gallery-grid{--row:118px;gap:6px}.gallery-grid li:not(.is-lead) figcaption{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.is-lead .gallery-grid__frame{height:56vh}.gallery-filters a{padding:0 12px}.gallery-pagination{gap:10px;font-size:14px}.gallery-dialog{padding:16px}.gallery-dialog__image{height:46dvh}.gallery-dialog__controls{gap:8px}.gallery-dialog button{padding:8px 12px}}
