/* HSC Gallery — styles are isolated to this page. No external fonts or new dependencies. */
.hsc-gallery { --ink: #252725; --muted: #5d625e; --gold: #e3b321; --line: #dedfd9; color: var(--ink); background: #fff; }
.hsc-gallery [hidden] { display: none !important; }
.hsc-gallery button, .hsc-gallery select { font: inherit; }
.hsc-gallery a { color: #315c73; }
.hsc-gallery a:focus-visible, .hsc-gallery button:focus-visible, .hsc-gallery select:focus-visible { outline: 3px solid #8b6600; outline-offset: 4px; }
.gallery-shell { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.gallery-breadcrumb { margin: 30px 0 0; font-size: 14px; color: var(--muted); }
.gallery-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.gallery-breadcrumb span { margin: 0 9px; color: #777; }
.gallery-hero { padding: 51px 0 43px; border-bottom: 1px solid var(--line); position: relative; }
.gallery-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #75601e; margin: 0 0 15px; }
.gallery-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 20px; }
.gallery-hero p:not(.gallery-eyebrow) { max-width: 650px; font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0; }
.gallery-hero::after { content: ''; display: block; width: 65px; height: 4px; background: var(--gold); margin-top: 29px; }
.gallery-collection { padding: 30px 0 64px; }
.gallery-collection-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.gallery-collection-heading h2 { font-size: 21px; margin: 0; font-weight: 600; }
.gallery-count { color: var(--muted); font-size: 14px; margin: 0; }
.gallery-empty { border: 1px solid var(--line); padding: 57px 24px 52px; text-align: center; background: #fafaf7; }
.gallery-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 1px solid #d7cfad; background: #f5f0dd; border-radius: 50%; color: #766024; margin-bottom: 22px; }
.gallery-empty h3 { margin: 0 0 13px; font-size: 25px; font-weight: 500; letter-spacing: -.02em; }
.gallery-empty p { margin: 0 auto 23px; max-width: 470px; line-height: 1.65; color: var(--muted); }
.gallery-text-link { display: inline-block; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 4px; }
.gallery-filters { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding-bottom: 24px; }
.gallery-categories { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-filter { min-height: 42px; border: 1px solid #c5c8c1; border-radius: 3px; background: #fff; padding: 9px 14px; color: #333; }
.gallery-filter[aria-pressed="true"] { background: #303630; border-color: #303630; color: white; }
.gallery-filter:hover { border-color: #555; }
.gallery-year { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; }
.gallery-year select { border: 1px solid #aeb3aa; padding: 9px 30px 9px 10px; min-height: 42px; border-radius: 3px; background: white; color: #333; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
.gallery-card { min-width: 0; margin: 0; }
.gallery-photo-link { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: #f0f0ec; }
.gallery-photo-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.gallery-photo-link:hover img { transform: scale(1.025); }
.gallery-expand { position: absolute; bottom: 12px; right: 12px; border: 1px solid #ccc; background: rgba(255,255,255,.95); color: #333; border-radius: 2px; padding: 5px 10px; font-size: 12px; }
.gallery-card figcaption { padding-top: 15px; }
.gallery-card-meta { color: #666c63; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.gallery-card h3 { font-size: 19px; font-weight: 600; line-height: 1.4; margin: 0 0 7px; }
.gallery-card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.gallery-no-results { text-align: center; padding: 45px 20px; border: 1px solid var(--line); }
.gallery-footer { border-top: 1px solid var(--line); padding: 25px 0 30px; display: flex; gap: 15px; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 13px; }
.gallery-footer p { margin: 0; }
.gallery-footer a { text-decoration: underline; text-underline-offset: 3px; }
.gallery-noscript { padding: 16px; margin: 20px 0; border-left: 4px solid var(--gold); background: #faf8ef; }
.gallery-lightbox { padding: 0; width: min(1120px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); border: 0; border-radius: 4px; background: #fff; color: #242624; }
.gallery-lightbox::backdrop { background: rgba(13,17,16,.86); }
.gallery-lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.gallery-lightbox-top p { margin: 0; font-size: 14px; color: #555; }
.gallery-close, .gallery-arrow { border: 1px solid #bbb; background: white; color: #222; min-height: 44px; padding: 8px 15px; border-radius: 3px; }
.gallery-lightbox-image { width: 100%; height: min(64vh,720px); object-fit: contain; display: block; background: #101411; }
.gallery-lightbox-caption { padding: 20px 24px 24px; }
.gallery-lightbox-caption h2 { margin: 0 0 7px; font-size: 22px; }
.gallery-lightbox-caption p { line-height: 1.55; margin: 0; color: #555; }
.gallery-lightbox-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; }
.gallery-lightbox-bottom a { align-self: center; text-decoration: underline; }
body.gallery-modal-open { overflow: hidden; }
@media (min-width: 1440px) { .gallery-shell { width: min(1140px,calc(100% - 96px)); } }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) {
  .gallery-shell { width: calc(100% - 36px); }
  .gallery-breadcrumb { margin-top: 22px; }
  .gallery-hero { padding: 35px 0 30px; }
  .gallery-hero p:not(.gallery-eyebrow) { font-size: 17px; }
  .gallery-collection { padding: 25px 0 42px; }
  .gallery-empty { padding: 38px 19px 32px; }
  .gallery-empty h3 { font-size: 23px; }
  .gallery-empty p { font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-lightbox { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .gallery-lightbox-image { height: 48vh; }
  .gallery-lightbox-caption { padding: 16px; }
  .gallery-lightbox-bottom { flex-wrap: wrap; }
  .gallery-lightbox-bottom a { width: 100%; order: 3; text-align: center; padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-photo-link img { transition: none; } }
