/* ===================== GALLERY PAGE ===================== */
.gallery-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--stone);
}
.gallery-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.gallery-header .brand img{ height: 30px; width: auto; }
.gallery-back{
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-back:hover{ color: var(--red); }

.gallery-hero{
  padding: clamp(40px, 7vw, 72px) 0 clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--stone);
}
.gallery-hero h1{
  font-size: clamp(32px, 5vw, 58px);
  max-width: 18ch;
  margin-top: 18px;
}
.gallery-hero p{
  max-width: 54ch;
  color: #45403a;
  font-size: 15.5px;
  margin-top: 16px;
}
.gallery-count{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--display);
}
.gallery-count .num{ font-size: 34px; color: var(--red); line-height: 1; }
.gallery-count .lbl{ font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--iron); }

.gallery-main{ padding: clamp(40px, 6vw, 64px) 0 clamp(64px, 9vw, 100px); }

.pg-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.pg-item{
  display: block;
  text-decoration: none;
  position: relative;
  background: var(--ink);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.pg-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.pg-item:hover img{ transform: scale(1.05); opacity: 0.92; }
.pg-item .pg-tag{
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(18,17,16,0.72);
  color: var(--paper);
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 8px;
}

.gallery-foot-note{
  margin-top: 30px;
  font-size: 13px;
  color: var(--iron);
  text-align: center;
}

@media (max-width: 560px){
  .pg-grid{ grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
}
