.photos-page { background: #f3f0e7; color: #173f31; }
.photos-page .site-header { background: rgba(247, 244, 235, .93); color: #173f31; }
.photos-page .site-header.scrolled { background: rgba(247, 244, 235, .98); }
.photos-hero { position: relative; min-height: min(72svh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: #173f31; color: #fff; }
.photos-hero > .photos-hero-art { position: absolute; inset: 0; background: url("assets/couple-horizon-wide.jpg") center 38% / cover no-repeat; }
.photos-hero > .photos-hero-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(8,25,19,.16) 18%, rgba(8,25,19,.82) 100%); }
.photos-hero-copy { position: relative; width: min(1180px, calc(100% - 80px)); margin: 0 auto; padding: 180px 0 72px; }
.photos-hero-copy p { margin: 0 0 14px; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.photos-hero-copy h1 { max-width: 780px; margin: 0; font-family: "Exmouth", cursive; font-size: clamp(4.7rem, 10vw, 9.2rem); font-weight: 400; line-height: .8; }
.photos-hero-copy span { display: block; max-width: 500px; margin-top: 28px; font-size: 1.04rem; }
.gallery-shell { width: min(1240px, calc(100% - 80px)); min-height: 60svh; margin: 0 auto; padding: 86px 0 110px; }
.gallery-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 32px; }
.gallery-heading .section-kicker { grid-column: 1 / -1; }
.gallery-heading h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 400; }
.gallery-heading > p:last-child { margin: 0 0 9px; color: #64766d; }
.gallery-tabs { display: flex; gap: 2px; margin: 42px 0 54px; overflow-x: auto; border-block: 1px solid rgba(23,63,49,.2); scrollbar-width: none; }
.gallery-tabs::-webkit-scrollbar { display: none; }
.gallery-tabs button { min-width: max-content; padding: 17px 22px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #53655d; font: 700 .68rem/1.2 inherit; letter-spacing: 0; text-transform: uppercase; cursor: pointer; }
.gallery-tabs button[aria-selected="true"] { border-color: #a9613c; color: #173f31; }
.gallery-status { min-height: 260px; display: grid; place-items: center; color: #66776f; text-align: center; }
.gallery-status strong { display: block; margin-bottom: 10px; color: #173f31; font-family: "Exmouth", cursive; font-size: 3rem; font-weight: 400; }
.gallery-cover { position: relative; margin-bottom: 12px; aspect-ratio: 16 / 8; overflow: hidden; }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cover span { position: absolute; right: 20px; bottom: 18px; padding: 7px 10px; background: rgba(16,45,34,.82); color: #fff; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.photo-grid { columns: 4 240px; column-gap: 12px; }
.photo-tile { width: 100%; margin: 0 0 12px; padding: 0; display: block; break-inside: avoid; overflow: hidden; border: 0; background: #dfe6df; cursor: zoom-in; }
.photo-tile img { width: 100%; height: auto; display: block; transition: transform .35s ease, filter .35s ease; }
.photo-tile:hover img { transform: scale(1.018); filter: saturate(1.05); }
.event-downloads { margin-top: 80px; padding: 42px 0; display: grid; grid-template-columns: 1fr minmax(280px, .8fr); gap: 60px; border-block: 1px solid rgba(23,63,49,.2); }
.event-downloads h2 { margin: 6px 0 12px; font-size: 2.3rem; font-weight: 400; }
.event-downloads p { margin: 0; color: #64766d; }
.download-parts { display: grid; align-content: center; gap: 8px; }
.download-parts a { display: flex; justify-content: space-between; gap: 20px; padding: 14px 2px; border-bottom: 1px solid rgba(23,63,49,.2); color: #173f31; font-size: .76rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.photo-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0d1511; color: #fff; }
.photo-lightbox::backdrop { background: #0d1511; }
.photo-lightbox[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; }
.photo-lightbox figure { min-width: 0; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) 58px; }
.photo-lightbox img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-lightbox figcaption { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 16px; font-size: .72rem; }
.photo-lightbox a { color: #fff; }
.lightbox-close, .lightbox-arrow { border: 0; background: transparent; color: #fff; cursor: pointer; }
.lightbox-close { position: fixed; z-index: 2; top: 18px; right: 22px; width: 44px; height: 44px; font-size: 2rem; }
.lightbox-arrow { height: 100%; font-size: 3.4rem; }
@media (max-width: 900px) {
  .photos-hero-copy, .gallery-shell { width: min(100% - 40px, 1240px); }
  .photos-hero { min-height: 62svh; }
  .gallery-heading { grid-template-columns: 1fr; }
  .gallery-heading > p:last-child { margin-top: 10px; }
  .event-downloads { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .photos-hero-copy, .gallery-shell { width: calc(100% - 28px); }
  .photos-hero-copy { padding-bottom: 42px; }
  .photos-hero-copy h1 { font-size: 4.5rem; }
  .gallery-shell { padding: 58px 0 76px; }
  .gallery-tabs { margin: 28px -14px 36px; padding-inline: 14px; }
  .gallery-tabs button { padding: 15px 14px; }
  .photo-grid { columns: 2 140px; column-gap: 7px; }
  .photo-tile { margin-bottom: 7px; }
  .gallery-cover { aspect-ratio: 4 / 3; }
  .photo-lightbox[open] { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .photo-lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox-arrow { position: relative; z-index: 2; grid-row: 1; background: rgba(0,0,0,.18); }
  .lightbox-previous { grid-column: 1; }
  .lightbox-next { grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) { .photo-tile img { transition: none; } }
