/* css/gallery-public.css — public gallery: Recent shots film strip, justified photo rows, lightbox. */

:root {
  --gp-ink: #0a2342;
  --gp-text: #1f2937;
  --gp-muted: #6b7280;
  --gp-muted-strong: #4b5563;   /* muted text on tinted fills (4.5:1+) */
  --gp-gold: var(--accent-gold, #c9a46b);
  --gp-paper: #fbf8f2;
  --gp-card: #ffffff;
  --gp-line: rgba(10, 35, 66, .10);
  --gp-shade: 0 1px 2px rgba(10, 35, 66, .06), 0 10px 24px -12px rgba(10, 35, 66, .28);
  --gp-row: 240px;        /* target height of a justified row */
  --gp-shot-h: 230px;     /* height of a Recent shots frame */
  --gp-gap: 10px;
  --gp-ease: cubic-bezier(.16, 1, .3, 1);
}
/* The site has a light theme only, so the gallery does too (a dark palette here made headings vanish on the white page). */

/* `hidden` must win over the display rules below */
.gp-more[hidden], .pagination[hidden], .gp-lb-event[hidden], .gp-lb-share[hidden] { display: none; }

/* ---------- Section frame ---------- */
.gp-recent-inner,
.gallery-container {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding-inline: 20px;
}
.gp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--gp-line);
}
.gp-section-head h2 {
  margin: 0;
  font-family: var(--heading-font, Georgia, serif);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  color: var(--gp-ink);
  letter-spacing: -.01em;
}
.gp-section-head h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-top: .4rem;
  border-radius: 2px;
  background: var(--gp-gold);
}
.gp-count { margin: 0; color: var(--gp-muted); font-size: .92rem; }

/* ---------- Recent shots: a dark "screening room" band lit by the newest photo ---------- */
.gp-recent {
  --gp-dark: #08131f;
  --gp-navy: #0a2342;   /* the site's page-title navy */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 2.75rem;
  padding: 1.5rem 0 1.4rem;
  background: var(--gp-dark);
  color: #f3f4f6;
}
.gp-recent::before {             /* the newest photo, blurred into a glow */
  content: "";
  position: absolute; inset: -15%;
  z-index: -2;
  background: var(--gp-glow) center / cover no-repeat;
  filter: blur(60px) saturate(1.4);
  opacity: .5;
  transform: scale(1.1);
}
.gp-recent::after {              /* keeps text readable over any glow */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--gp-navy) 0, rgba(10, 35, 66, .78) 22%, rgba(8, 19, 31, .9) 100%),
    radial-gradient(90% 70% at 100% 100%, rgba(201, 164, 107, .14), transparent 60%);
}
.gp-recent-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.1rem;
}
.gp-eyebrow {
  margin: 0 0 .3rem;
  color: var(--gp-gold);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.gp-recent h2 {
  margin: 0;
  font-family: var(--heading-font, Georgia, serif);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  color: #fff;
  letter-spacing: -.01em;
}
.gp-strip-nav { display: flex; align-items: center; gap: .45rem; }
.gp-strip-count {
  margin-right: .4rem;
  font-variant-numeric: tabular-nums;
  font-size: .85rem; letter-spacing: .08em;
  color: rgba(255, 255, 255, .7);
}
.gp-strip-btn {
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--gp-ease), opacity .2s;
}
.gp-strip-btn:hover:not(:disabled) { background: var(--gp-gold); border-color: var(--gp-gold); color: #1b1404; }
.gp-strip-btn:active:not(:disabled) { transform: scale(.92); }
.gp-strip-btn:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 2px; }
.gp-strip-btn:disabled { opacity: .3; cursor: default; }

.gp-strip {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 4px 2px 18px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
}
.gp-strip::-webkit-scrollbar { display: none; }
.gp-strip.is-scrolled {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
.gp-strip.is-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.gp-strip:focus-visible { outline: 2px solid var(--gp-gold); outline-offset: 4px; border-radius: 14px; }
@media (hover: hover) and (pointer: fine) {
  .gp-strip { cursor: grab; }
  .gp-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
  .gp-strip.is-dragging .gallery-open { pointer-events: none; }
}

.gp-shot {
  flex: 0 0 auto;
  width: calc(var(--gp-shot-h) * min(max(var(--r, 1.333), .72), 1.5));
  scroll-snap-align: start;
  transition: opacity .3s;
}
.gp-shot.is-lead { width: calc(var(--gp-shot-h) * 1.75); }
@media (hover: hover) {
  .gp-strip:hover .gp-shot { opacity: .6; }
  .gp-strip:hover .gp-shot:hover,
  .gp-strip .gp-shot:focus-within { opacity: 1; }
}
.gp-shot .gallery-open {
  height: var(--gp-shot-h);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.gp-shot .gallery-open::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);   /* a hairline edge; the photo itself stays unobscured */
  pointer-events: none;
}
.gp-shot-no {                    /* the frame number sits beside the caption, never over the photo */
  flex: none;
  min-width: 2ch;
  font-family: var(--heading-font, Georgia, serif);
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--gp-gold);
}
.gp-shot.is-lead .gp-shot-no { font-size: 2rem; }
.gp-tag {
  position: absolute; top: .65rem; left: .65rem; z-index: 1;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: rgba(8, 19, 31, .72);
  color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.gp-tag--lead { background: var(--gp-gold); color: #1b1404; }
.gp-shot-meta { display: flex; align-items: flex-start; gap: .7rem; padding: .7rem .1rem 0; }
.gp-shot-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1 1 auto; }
.gp-shot-title {
  color: #fff; font-weight: 600; font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gp-shot.is-lead .gp-shot-title { font-family: var(--heading-font, Georgia, serif); font-size: 1.15rem; }
.gp-shot-sub { display: flex; gap: .5rem; min-width: 0; font-size: .8rem; color: rgba(255, 255, 255, .68); }
.gp-shot-event { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--gp-gold); }
.gp-shot-event + time::before { content: "·"; margin-right: .5rem; color: rgba(255, 255, 255, .4); }
.gp-shot time { flex: none; }

.gp-shot--more { width: calc(var(--gp-shot-h) * .8); }
.gp-more-link {
  height: var(--gp-shot-h);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .4rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, .28);
  color: #fff;
  text-align: center; text-decoration: none;
  font-size: .9rem;
  transition: border-color .2s, background-color .2s;
}
.gp-more-link:hover, .gp-more-link:focus-visible { border-color: var(--gp-gold); background: rgba(201, 164, 107, .1); color: #fff; }
.gp-more-link:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 2px; }
.gp-more-num { font-family: var(--heading-font, Georgia, serif); font-size: 2.6rem; font-weight: 700; color: var(--gp-gold); line-height: 1; }

.gp-strip-progress { height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.gp-strip-progress span {
  display: block; height: 100%;
  background: var(--gp-gold);
  transform: scaleX(var(--p, .1));
  transform-origin: left;
  transition: transform .15s linear;
}

/* The gallery header flows straight into the Recent shots band: no white gap, same navy at the seam */
.page-title-section.gp-hero--joined { margin-bottom: 0; padding-bottom: 1.25rem; }
.gp-hero--joined + .gp-recent { border-top: 0; }

/* Frames lift a touch on hover/focus (transform only) */
.gp-shot .gallery-open { transition: transform .35s var(--gp-ease), box-shadow .35s; }
@media (hover: hover) {
  .gp-shot .gallery-open:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -18px rgba(0, 0, 0, .9); }
}
.gp-shot .gallery-open:focus-visible { transform: translateY(-4px); }

/* ---------- Header stats ---------- */
.gp-hero-stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.4rem;
  margin: .9rem 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
}
.gp-hero-stats strong { color: #fff; font-weight: 700; }
.gp-hero-stats span + span::before { content: "•"; margin-right: 1.4rem; color: var(--gp-gold); }

/* ---------- Browse toolbar: event chips + sort ---------- */
.gp-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem;
  margin: -.1rem 0 1.25rem;
}
.gp-chips {
  display: flex; gap: .5rem;
  min-width: 0; flex: 1 1 auto;
  overflow-x: auto; scrollbar-width: none;
  padding: 3px;   /* room for focus rings */
}
.gp-chips::-webkit-scrollbar { display: none; }
.gp-chip {
  flex: none;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .55rem .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--gp-line);
  background: var(--gp-card);
  color: var(--gp-ink);
  font-size: .88rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: border-color .2s, background-color .2s, color .2s;
}
.gp-chip:hover { border-color: var(--gp-gold); color: var(--gp-ink); }
.gp-chip:focus-visible, .gp-sort a:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 2px; }
.gp-chip-n {
  min-width: 1.6rem; padding: .05rem .4rem;
  border-radius: 999px;
  background: var(--gp-line);
  font-size: .75rem; font-weight: 700; text-align: center;
}
.gp-chip[aria-current="page"] { background: var(--gp-ink); border-color: var(--gp-ink); color: var(--gp-paper); }
.gp-chip[aria-current="page"] .gp-chip-n { background: var(--gp-gold); color: #1b1404; }
.gp-sort {
  display: inline-flex; flex: none;
  padding: 3px;
  border-radius: 999px;
  background: var(--gp-line);
}
.gp-sort a {
  padding: .35rem .9rem;
  border-radius: 999px;
  color: var(--gp-muted-strong);
  font-size: .85rem; font-weight: 600;
  text-decoration: none;
}
.gp-sort a:hover { color: var(--gp-ink); }
.gp-sort a[aria-current="true"] { background: var(--gp-card); color: var(--gp-ink); box-shadow: 0 1px 3px rgba(10, 35, 66, .15); }

/* ---------- Shared clickable frame ---------- */
.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--gp-line);
  cursor: zoom-in;
  box-shadow: var(--gp-shade);
}
.gallery-open img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--gp-ease), filter .3s;
}
.gallery-open:hover img,
.gallery-open:focus-visible img { transform: scale(1.04); }
.gallery-open:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 3px; }
.gallery-open:active img { transform: scale(1.01); }
.gallery-open.is-broken img { opacity: .4; filter: grayscale(1); }

/* ---------- Justified rows: each photo keeps its own proportions ---------- */
.gallery-grid { display: flex; flex-wrap: wrap; gap: var(--gp-gap); }
.gallery-grid::after { content: ""; flex-grow: 1e9; } /* the last row stays at natural size */
.gallery-item {
  position: relative;
  margin: 0;
  flex-grow: calc(var(--r, 1.333) * 100);
  flex-basis: calc(var(--r, 1.333) * var(--gp-row));
  border-radius: 10px;
  overflow: hidden;
}
.gallery-item .gallery-open { aspect-ratio: var(--r, 1.333); box-shadow: none; }
.gallery-item.is-featured::before {
  content: "Featured";
  position: absolute; top: .6rem; left: .6rem; z-index: 2;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--gp-gold); color: #1b1404;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  pointer-events: none;
}
.gallery-meta {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  display: flex; flex-direction: column; gap: .15rem;
  padding: 2.2rem .85rem .7rem;
  background: linear-gradient(180deg, rgba(6, 18, 34, 0), rgba(6, 18, 34, .82));
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .4s var(--gp-ease);
}
.gallery-item:hover .gallery-meta,
.gallery-item:focus-within .gallery-meta { opacity: 1; transform: none; }
.gallery-cap { font-size: .92rem; line-height: 1.35; }
.gallery-sub { font-size: .76rem; opacity: .8; }
@media (hover: none) {
  .gallery-meta { opacity: 1; transform: none; padding-top: 1.6rem; }
  .gallery-cap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.gallery-item.is-new { animation: gp-rise .55s var(--gp-ease) both; }
@keyframes gp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.no-results { padding: 3rem 0 1rem; text-align: center; color: var(--gp-muted); }
.gp-notice[hidden] { display: none; }
.gp-notice {
  margin: 0 0 1.1rem;
  padding: .7rem 1rem;
  border-left: 3px solid var(--gp-gold);
  border-radius: 0 8px 8px 0;
  background: var(--gp-paper);
  color: var(--gp-text);
  font-size: .95rem;
}

/* ---------- Infinite scroll status ---------- */
.gp-more { display: flex; justify-content: center; padding: 1.75rem 0 .5rem; }
.gp-more-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--gp-ink);
  background: transparent;
  color: var(--gp-ink);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.gp-more-btn:hover, .gp-more-btn:focus-visible { background: var(--gp-ink); color: var(--gp-paper); }
.gp-more-btn:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 3px; }
.gp-more-btn[aria-busy="true"] { pointer-events: none; opacity: .75; }
.gp-more-btn[aria-busy="true"]::before {
  content: "";
  width: 1em; height: 1em;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: gp-spin .8s linear infinite;
}
@keyframes gp-spin { to { transform: rotate(360deg); } }
.gp-end { margin: 0; color: var(--gp-muted); font-size: .9rem; }

/* Server pagination is the no-JS fallback; the script hides it once infinite scroll is running. */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.pagination a, .pagination span {
  min-width: 2.6rem; padding: .55rem .85rem;
  border-radius: 10px; border: 1px solid var(--gp-line);
  background: var(--gp-card); color: var(--gp-ink);
  text-align: center; text-decoration: none;
}
.pagination a:hover { border-color: var(--gp-gold); }
.pagination .active { background: var(--gp-ink); border-color: var(--gp-ink); color: var(--gp-paper); }
.pagination .disabled { opacity: .45; }

/* ---------- Lightbox (native <dialog>) ---------- */
.gp-lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.gp-lightbox::backdrop { background: rgba(6, 12, 22, .92); backdrop-filter: blur(6px); }
.gp-lightbox[open] { display: grid; place-items: center; animation: gp-fade .25s ease both; }
@keyframes gp-fade { from { opacity: 0; } to { opacity: 1; } }
.gp-lb-figure {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  max-width: min(92vw, 1400px);
  margin: 0;
  padding: 3.5rem 4.5rem 1.5rem;
}
.gp-lb-img {
  max-width: 100%;
  max-height: calc(100dvh - 11rem);
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  transition: opacity .18s ease;
}
.gp-lb-img.is-swapping { opacity: 0; }
.gp-lb-caption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: .25rem .9rem;
  max-width: 70ch;
  text-align: center;
}
.gp-lb-counter { font-variant-numeric: tabular-nums; color: var(--gp-gold); font-weight: 700; font-size: .85rem; }
.gp-lb-text { font-size: 1.02rem; }
.gp-lb-sub { color: rgba(255, 255, 255, .65); font-size: .85rem; }
.gp-lb-event { color: var(--gp-gold); font-size: .85rem; font-weight: 600; text-decoration: none; }
.gp-lb-event:hover, .gp-lb-event:focus-visible { text-decoration: underline; }
.gp-lb-btn {
  position: absolute;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--gp-ease);
}
.gp-lb-btn:hover { background: rgba(255, 255, 255, .2); }
.gp-lb-btn:active { transform: scale(.92); }
.gp-lb-btn:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 2px; }
.gp-lb-close { top: 1rem; right: 1rem; }
.gp-lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.gp-lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.gp-lb-btn[hidden] { display: none; }

/* ---------- Loading: a sweep while each photo arrives, then a fade-in (only when the script runs) ---------- */
.gp-js .gallery-open:not(.is-loaded)::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: gp-sweep 1.3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gp-sweep { to { transform: translateX(100%); } }
.gp-js .gallery-open img { opacity: 0; transition: opacity .45s ease, transform .6s var(--gp-ease), filter .3s; }
.gp-js .gallery-open.is-loaded img { opacity: 1; }

/* ---------- Lightbox extras: loading stage, share ---------- */
.gp-lb-stage { position: relative; display: grid; place-items: center; min-width: 4rem; min-height: 4rem; }
.gp-lb-spinner {
  position: absolute;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .2);
  border-top-color: var(--gp-gold);
  opacity: 0;
  transition: opacity .2s;
  animation: gp-spin .8s linear infinite;
  pointer-events: none;
}
.gp-lb-stage.is-loading .gp-lb-spinner { opacity: 1; }
.gp-lb-stage.is-loading .gp-lb-img { opacity: .25; }
.gp-lb-share {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  color: #fff;
  font-size: .82rem; font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.gp-lb-share:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); }
.gp-lb-share:focus-visible { outline: 3px solid var(--gp-gold); outline-offset: 2px; }
.gp-lb-note { flex-basis: 100%; min-height: 1.2em; color: var(--gp-gold); font-size: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root { --gp-row: 170px; --gp-shot-h: 190px; --gp-gap: 8px; }
  .gp-lb-figure { padding: 4rem 1rem 6rem; }
  .gp-lb-img { max-height: calc(100dvh - 14rem); }
  .gp-lb-prev, .gp-lb-next { top: auto; bottom: 1.25rem; translate: none; }
  .gp-lb-prev { left: calc(50% - 3.6rem); }
  .gp-lb-next { right: calc(50% - 3.6rem); }
}
@media (max-width: 480px) {
  :root { --gp-row: 128px; --gp-shot-h: 170px; }
  .gp-recent, .gallery-container { padding-inline: 16px; }
  .gp-strip-btn { display: none; }   /* swipe on phones; the counter stays */
  .gp-recent { padding-top: 1.75rem; }
  .gp-shot.is-lead { width: calc(var(--gp-shot-h) * 1.45); }
  /* nowrap: a wrapping column sizes its line to the widest item (the chip row) and the page scrolls sideways */
  .gp-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .gp-sort { align-self: flex-start; }
  .gp-hero-stats { gap: .2rem 1rem; }
  .gp-hero-stats span + span::before { content: none; }   /* a wrapped line would start with a stray bullet */
  .gallery-item { border-radius: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-open img, .gallery-meta, .gp-lb-img, .gp-strip-btn, .gp-lb-btn { transition: none; }
  .gallery-item.is-new, .gp-lightbox[open] { animation: none; }
  .gp-js .gallery-open:not(.is-loaded)::before { animation: none; }
  .gp-shot, .gp-strip-progress span { transition: none; }
  .gp-strip { scroll-behavior: auto; }
}

/* ---------- Intro text under the grid (who publishes the photos, which events they are from) ---------- */
.gp-about {
  max-width: 72ch;
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gp-line);
  color: var(--gp-muted-strong);
  font-size: .95rem;
  line-height: 1.7;
  text-align: center;
}
.gp-about a { color: var(--gp-ink); text-decoration-color: var(--gp-gold); text-underline-offset: 3px; }
.gp-about a:hover, .gp-about a:focus-visible { text-decoration-thickness: 2px; }
