.gallery-body { padding-bottom: 0; }
.gallery-main { max-width: 1540px; margin: 0 auto; padding: clamp(65px, 9vw, 126px) var(--pad) clamp(64px, 8vw, 106px); }
.gallery-heading { max-width: 820px; }
.gallery-heading h1 { margin: 20px 0 18px; font-size: clamp(56px, 8vw, 104px); font-weight: 830; line-height: .91; letter-spacing: -.075em; text-transform: uppercase; }
.gallery-heading h1 em { color: var(--accent-text); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.07em; text-transform: none; }
.gallery-heading > p:last-child { max-width: 600px; margin: 0; color: #b7c0bb; font-size: clamp(14px, 1.45vw, 17px); line-height: 1.72; }
.gallery-work { margin-top: clamp(38px, 6vw, 70px); }
.gallery-meta { display: flex; justify-content: space-between; padding: 0 0 13px; border-bottom: 1px solid #303736; color: #99a39e; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.gallery-meta span:first-child { color: var(--accent-text); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.45vw, 18px); padding-top: clamp(14px, 2vw, 22px); }
.gallery-item { min-width: 0; margin: 0; }
.gallery-tile { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(255,255,255,.085); background: #151a1b; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-tile:hover img { transform: scale(1.025); }
.gallery-tile:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.gallery-footer { max-width: 1360px; min-height: 78px; margin: 0 auto; padding: 16px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #303736; color: #aab3ae; font-size: 10px; }
.gallery-footer a { transition: color .2s ease; }
.gallery-footer a:hover { color: var(--accent-text); }
.gallery-footer span { padding: 0 5px; color: var(--accent-text); }
.gallery-back { color: var(--paper); font-weight: 700; }
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .gallery-main { padding-top: 54px; padding-bottom: 61px; }
  .gallery-heading h1 { margin-top: 18px; font-size: clamp(53px, 13vw, 76px); }
  .gallery-heading > p:last-child { max-width: 460px; font-size: 14px; }
  .gallery-work { margin-top: 37px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 13px; }
  .gallery-footer { min-height: 0; padding-top: 19px; padding-bottom: 23px; align-items: flex-start; flex-direction: column; gap: 10px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-tile img { transition: none; } }
