.gallery-page{padding-bottom:72px}
.gallery-intro{padding:clamp(36px,5vw,72px) 0 27px;border-bottom:1px solid var(--line);margin-bottom:23px}
.gallery-intro h1{font-size:clamp(45px,6.6vw,97px);line-height:1.05;letter-spacing:-.065em;font-weight:800}
.gallery-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(14px,2vw,29px)}
.gallery-card{grid-column:span 4;display:flex;flex-direction:column;margin:0;min-width:0}
.gallery-card:first-child{grid-column:span 7}
.gallery-card:nth-child(2){grid-column:span 5}
.gallery-card img{width:100%;aspect-ratio:1.22;object-fit:cover;border-radius:clamp(14px,1.8vw,24px);background:#e9e1d1}
.gallery-card:nth-child(-n+2) img{aspect-ratio:auto;height:clamp(260px,36vw,520px)}
.gallery-card figcaption{padding:10px 2px 6px;border-bottom:1px solid var(--line);font-weight:700;font-size:13px}
@media(max-width:960px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-card,.gallery-card:first-child,.gallery-card:nth-child(2){grid-column:auto}
  .gallery-card:nth-child(-n+2) img{height:auto;aspect-ratio:1.22}
}
@media(max-width:560px){
  .gallery-page{padding-bottom:44px}
  .gallery-intro{margin-bottom:16px;padding-bottom:18px}
  .gallery-grid{grid-template-columns:1fr;gap:20px}
}
