.gallery-page .gallery-hero { min-height: 680px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.gallery-page .gallery-hero-copy { position: relative; z-index: 1; padding-right: clamp(1rem, 3vw, 3rem); }
.gallery-page .gallery-hero-copy > p:last-child { max-width: 480px; }
.gallery-page .gallery-hero-image { margin: 0; min-height: 590px; }
.gallery-page .gallery-hero-image::after { background: linear-gradient(90deg, #050505 0%, transparent 23%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 48%); }
.gallery-page .gallery-hero-note { right: 1.5rem; bottom: 1.5rem; padding: .7rem .85rem; border-left: 3px solid var(--red); background: rgba(0,0,0,.72); font-size: .82rem; letter-spacing: .05em; }

.gallery-page .portrait-section,
.gallery-page .times-square-section,
.gallery-page .room-section { padding-top: clamp(4rem, 7vw, 7rem); padding-bottom: clamp(4rem, 8vw, 8rem); }
.gallery-page .section-heading { margin-bottom: clamp(1.8rem, 4vw, 3.5rem); }
.gallery-page .portrait-layout { display: grid; grid-template-columns: 1.16fr .84fr; gap: 4px; align-items: stretch; height: clamp(440px, 52vw, 760px); margin-top: 2rem; overflow: hidden; background: #eee; }
.gallery-page .portrait-layout figure { min-width: 0; height: 100%; overflow: hidden; }
.gallery-page .portrait-layout img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.gallery-page .portrait-main img { object-position: 42% 28%; }
.gallery-page .portrait-side img { object-position: 50% 20%; }
.gallery-page .portrait-layout figcaption { display: none; }
.gallery-page .portrait-section .section-intro { color: #4b4b4b; }

.gallery-page .photo-wall { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(135px, 14vw, 220px); gap: 4px; overflow: hidden; background: #222; }
.gallery-page .times-square-section .photo-wall { grid-template-areas: "a a b c" "a a b d" "e f f g" "e h h g"; }
.gallery-page .room-section .photo-wall { grid-template-areas: "a a b c" "a a b c" "d e e f" "d g g f"; }
.gallery-page .photo-card { position: relative; display: block; width: 100%; height: 100%; min-height: 0; margin: 0; overflow: hidden; background: #141414; }
.gallery-page .photo-card:nth-child(1) { grid-area: a; }
.gallery-page .photo-card:nth-child(2) { grid-area: b; }
.gallery-page .photo-card:nth-child(3) { grid-area: c; }
.gallery-page .photo-card:nth-child(4) { grid-area: d; }
.gallery-page .photo-card:nth-child(5) { grid-area: e; }
.gallery-page .photo-card:nth-child(6) { grid-area: f; }
.gallery-page .photo-card:nth-child(7) { grid-area: g; }
.gallery-page .photo-card:nth-child(8) { grid-area: h; }
.gallery-page .photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.gallery-page .photo-card:hover img, .gallery-page .photo-card:focus-visible img { transform: scale(1.035); filter: brightness(.83); }
.gallery-page .photo-card:hover, .gallery-page .photo-card:focus-visible, .gallery-page .photo-card.is-active-lightbox { z-index: 2; outline: 3px solid var(--red); outline-offset: -3px; }
.gallery-page .photo-card span { display: none; }
.gallery-page .photo-card::after { position: absolute; right: .9rem; bottom: .9rem; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; content: "+"; font-family: Arial, sans-serif; font-size: 1.4rem; line-height: 1; opacity: 0; transition: opacity .2s; pointer-events: none; }
.gallery-page .photo-card:hover::after, .gallery-page .photo-card:focus-visible::after { opacity: 1; }

@media (max-width: 980px) {
  .gallery-page .gallery-hero { grid-template-columns: 1fr; min-height: 0; }
  .gallery-page .gallery-hero-copy { min-height: 440px; padding-top: 6rem; padding-bottom: 3rem; }
  .gallery-page .gallery-hero-image { min-height: 450px; height: 55vw; }
}
@media (max-width: 700px) {
  .gallery-page .gallery-hero { padding-top: 78px; }
  .gallery-page .gallery-hero-copy { min-height: 0; padding: 4rem 1rem 3rem; }
  .gallery-page .gallery-hero-image { min-height: 350px; height: 70vw; }
  .gallery-page .portrait-layout { grid-template-columns: 1.25fr .75fr; height: clamp(280px, 72vw, 500px); gap: 3px; }
  .gallery-page .portrait-main img { object-position: 30% 28%; }
  .gallery-page .times-square-section .section-title { font-size: clamp(2.8rem, 11vw, 4.5rem); }
  .gallery-page .portrait-side { width: auto; margin: 0; }
  .gallery-page .photo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(125px, 27vw, 185px); gap: 3px; }
  .gallery-page .times-square-section .photo-wall { grid-template-areas: "a a" "a a" "b c" "b d" "e e" "f g" "h h"; }
  .gallery-page .room-section .photo-wall { grid-template-areas: "a a" "a a" "b c" "b d" "e e" "f g"; }
  .gallery-page .photo-card::after { opacity: .85; right: .5rem; bottom: .5rem; width: 30px; height: 30px; font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .gallery-page .gallery-hero-image { min-height: 290px; }
  .gallery-page .portrait-layout { height: 310px; }
  .gallery-page .photo-wall { grid-auto-rows: 32vw; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-page .photo-card img, .gallery-page .photo-card::after { transition: none; }
  .gallery-page .photo-card:hover img, .gallery-page .photo-card:focus-visible img { transform: none; }
}
