.gallery-page{padding-block:30px clamp(48px,6vw,100px)}
.gallery-intro{margin-block:23px 25px}
.gallery-intro h1{font-size:clamp(41px,4.7vw,72px);line-height:1.25;margin:.08em 0 .18em}
.gallery-intro p{font-size:clamp(16px,1.3vw,20px);color:var(--muted);max-width:66ch;line-height:1.65}
.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-block:1px solid var(--line);padding-block:12px;margin-bottom:22px}
.gallery-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.gallery-tab{font:inherit;font-size:14px;font-weight:550;padding:7px 16px;min-height:40px;line-height:1.4;border-radius:99px;color:var(--muted);transition:background .2s,color .2s}
.gallery-tab[aria-pressed=true]{color:#fff;background:var(--berry-dark)}.gallery-tab:not([aria-pressed=true]):hover{background:var(--tint);color:var(--berry)}
.gallery-total{font-size:13px;color:var(--muted);white-space:nowrap}
.gallery-scope{display:inline-flex;align-items:center;gap:14px;margin:0 0 18px;padding:6px 13px;border-radius:8px;background:var(--tint);font-size:14px}
.gallery-scope button{display:inline-flex;gap:5px;align-items:center;color:var(--berry-dark);text-decoration:underline;text-underline-offset:3px;font-size:13px}.gallery-scope .icon{width:15px;height:15px}
.gallery-shortcuts {
  margin-block: 0 clamp(22px, 2.2vw, 34px);
}
.gallery-shortcut-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 6px;
}
.gallery-shortcut-header h2 {
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.45;
}
.gallery-shortcut-arrows {
  display: flex;
  gap: 3px;
}
.gallery-shortcut-arrows[hidden] { display: none; }
.gallery-shortcut-arrows button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--berry-dark);
}
.gallery-shortcut-arrows .icon { width: 16px; height: 16px; }
.gallery-shortcut-arrows button:disabled { opacity: .4; }
.gallery-shortcut-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(165px, 15vw, 220px);
  justify-content: start;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #ccafbc transparent;
  padding: 5px 4px 7px;
  margin-inline: -4px;
}
.gallery-shortcut {
  scroll-snap-align: start;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  padding-inline-end: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  text-align: start;
  font: inherit;
  font-size: 14px;
  line-height: 1.37;
  font-weight: 600;
}
.gallery-shortcut img {
  flex: none;
  display: block;
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--tint);
}
.gallery-shortcut:focus-visible { outline-offset: 1px; }
@media (hover:hover) {
  .gallery-shortcut:hover, .gallery-shortcut-arrows button:not(:disabled):hover {
    background: var(--tint);
    border-color: #b6859a;
    color: var(--berry-dark);
  }
}
@media (max-width:650px) {
  .gallery-shortcut-track { grid-auto-columns: clamp(145px, 42vw, 175px); }
  .gallery-shortcut-arrows button { width: 36px; height: 36px; }
  .gallery-shortcut { gap: 7px; font-size: 13px; }
  .gallery-shortcuts { margin-block-end: 17px; }
}
.gallery-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(18px,2.2vw,32px) clamp(12px,1.65vw,26px);margin:0;padding:0;list-style:none}
.gallery-cell{grid-column:span 4;min-width:0}
@media(min-width:651px){
.gallery-cell:first-child{grid-column:span 7}.gallery-cell:nth-child(2){grid-column:span 5}
.gallery-grid:has(>.gallery-cell:last-child:nth-child(3n+1))>.gallery-cell:nth-last-child(-n+2){grid-column:span 6}
.gallery-grid:has(>.gallery-cell:last-child:nth-child(3n)):has(>.gallery-cell:nth-child(6))>.gallery-cell:nth-last-child(-n+4){grid-column:span 6}
.gallery-grid:has(>.gallery-cell:last-child:nth-child(3))>.gallery-cell{grid-column:span 4}
.gallery-grid>.gallery-cell:only-child{grid-column:span 8}
}
.gallery-cell button{display:block;width:100%;padding:0;text-align:start}
.gallery-frame{display:block;position:relative;height:clamp(170px,16vw,265px);border-radius:var(--radius);background:var(--tint);overflow:hidden}
.gallery-cell:nth-child(-n+2) .gallery-frame{height:clamp(230px,24vw,390px)}
.gallery-frame img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s var(--ease)}
.gallery-expand{width:34px;height:34px;position:absolute;inset-inline-end:11px;bottom:11px;display:grid;place-items:center;background:#fffdf9e8;color:#3d1f30;border-radius:50%;box-shadow:0 1px 5px #20101a14}
.gallery-expand .icon{width:17px;height:17px}
.gallery-legend{display:flex;flex-direction:column;align-items:start;padding-block:9px 0}
.gallery-group{font-size:12px;color:var(--berry-dark);font-weight:600}
.gallery-legend strong{font-size:clamp(18px,1.55vw,25px);line-height:1.5}
@media(hover:hover){.gallery-cell button:hover img{transform:scale(1.032)}.gallery-cell button:hover .gallery-legend strong{color:var(--berry-dark)}.gallery-expand{transition:background .2s,color .2s}.gallery-cell button:hover .gallery-expand{background:var(--wine);color:white}}
.gallery-tease{margin-block:0 clamp(40px,5vw,80px)}
.gallery-tease-inner{display:grid;grid-template-columns:minmax(0,.76fr) minmax(0,1.25fr);overflow:hidden;border-radius:var(--radius);background:var(--wine);color:#fff}
.gallery-tease-copy{padding:clamp(25px,3.8vw,60px);align-self:center}
.gallery-tease-copy .kicker{color:#fac9de}.gallery-tease h2{margin:8px 0;font-size:clamp(28px,3vw,50px)}
.gallery-tease p{font-size:16px;color:#f7e7ed;max-width:39ch}.gallery-tease .btn{margin-top:20px}
.gallery-tease-images{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr);gap:3px;background:var(--paper)}
.gallery-tease-images img{width:100%;height:100%;min-height:230px;max-height:365px;object-fit:cover}
html:has(dialog.photo-viewer[open]){overflow:hidden}
.photo-viewer{border:0;border-radius:16px;padding:0;background:#1f191d;color:white;width:min(1080px,calc(100vw - 52px));max-width:none;max-height:calc(100dvh - 36px);overscroll-behavior:contain}
.photo-viewer::backdrop{background:rgba(24,13,20,.86)}
.viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:53px;padding:4px 14px 4px 22px;color:#f1e3ea;font-size:14px}
.viewer-bar button,.viewer-stage button{color:white;display:grid;place-items:center;min-width:43px;min-height:43px;border-radius:50%}
.viewer-bar button:hover{background:#ffffff1c}
.viewer-stage{position:relative;display:grid;place-items:center;background:#141114;touch-action:pan-y pinch-zoom}
.viewer-stage img{display:block;object-fit:contain;width:100%;height:min(58dvh,660px)}
.viewer-stage button{position:absolute;top:50%;transform:translateY(-50%);background:#281620cc;border:1px solid #fff6;transition:background .2s}
.viewer-stage button:hover{background:var(--wine)}.viewer-stage .icon{width:20px;height:20px}.viewer-stage button[hidden]{display:none}
.viewer-prev{inset-inline-start:12px}.viewer-next{inset-inline-end:12px}
.viewer-text{padding:15px 23px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.viewer-entry{min-width:0}.viewer-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:#e8bbcc}.viewer-meta span+span{border-inline-start:1px solid #ffffff45;padding-inline-start:12px;font-variant-numeric:tabular-nums}
.viewer-entry h2{font-size:clamp(21px,2vw,33px);line-height:1.5;margin:2px 0}.viewer-entry p{font-size:15px;color:#f3e6ed;line-height:1.6;max-width:70ch}
.viewer-dept-link{display:inline-flex;align-items:center;gap:7px;border:1px solid #fff5;border-radius:99px;padding:7px 13px;color:#fff8fa;font-size:13px;text-align:center;max-width:27ch}.viewer-dept-link .icon{width:15px;height:15px}.viewer-dept-link:hover{background:#fff2}
@media(max-width:980px) and (min-width:841px){.desktop-nav{gap:10px}.desktop-nav a{font-size:12px}.nav{gap:9px}.nav-tools{gap:5px}}
@media(max-width:820px){.gallery-frame{height:180px}.gallery-cell:nth-child(-n+2) .gallery-frame{height:240px}.viewer-text{align-items:flex-start}.gallery-tease-copy{padding:23px}.gallery-tease-images img{min-height:220px}}
@media(max-width:650px){
.gallery-page{padding-block-start:20px}.gallery-intro{margin:14px 0 19px}.gallery-intro h1{font-size:clamp(33px,8.6vw,47px)}.gallery-intro p{font-size:15px}
.gallery-toolbar{display:block;padding-block:9px 7px;margin-bottom:13px}.gallery-tabs{gap:3px;flex-wrap:nowrap;overflow-x:auto}.gallery-tab{min-height:38px;padding:6px 9px;font-size:13px;white-space:nowrap;flex:none}.gallery-total{display:block;font-size:12px;margin:5px 5px 0}.gallery-scope{flex-wrap:wrap;gap:4px 12px}
.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.gallery-grid .gallery-cell{grid-column:span 1}.gallery-grid .gallery-cell:first-child,.gallery-grid .gallery-cell:last-child:nth-child(even){grid-column:span 2}.gallery-frame,.gallery-cell:nth-child(2) .gallery-frame{height:auto;aspect-ratio:1.26}.gallery-cell:first-child .gallery-frame,.gallery-cell:last-child:nth-child(even) .gallery-frame{height:auto;aspect-ratio:1.85}.gallery-legend{padding-top:5px}.gallery-group{font-size:10px}.gallery-legend strong{font-size:16px;line-height:1.45}.gallery-expand{height:27px;width:27px;inset-inline-end:7px;bottom:7px}.gallery-expand .icon{width:14px;height:14px}
.gallery-tease-inner{grid-template-columns:1fr}.gallery-tease-images{grid-row:1}.gallery-tease-images img{height:145px;max-height:none;min-height:0}.gallery-tease-copy{padding:20px 23px 23px}.gallery-tease-copy .btn{margin-top:14px}.gallery-tease-copy p{font-size:15px}
.photo-viewer{width:calc(100vw - 16px);max-height:calc(100dvh - 18px);border-radius:12px}.viewer-bar{min-height:46px;padding:1px 8px}.viewer-stage img{height:min(44dvh,370px)}.viewer-stage button{min-width:40px;min-height:40px}.viewer-prev{inset-inline-start:5px}.viewer-next{inset-inline-end:5px}.viewer-text{padding:12px 15px;flex-wrap:wrap;gap:8px}.viewer-entry p{font-size:14px}.viewer-dept-link{font-size:12px;max-width:none;padding:5px 10px}
}
@media(max-height:540px) and (orientation:landscape){.viewer-stage img{height:44dvh}.viewer-bar{min-height:40px}.viewer-text{padding:8px 15px}.viewer-entry h2{font-size:19px}}
