/* Editorial project galleries and full-image viewer. */
.project-gallery { background: #0d130c; color: #fff; padding: clamp(44px, 6vw, 88px) 0; }
.project-gallery-inner { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 44px); }
.project-gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.project-gallery .project-gallery-eyebrow { margin: 0 0 14px; color: var(--color-mint); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; text-align: left; }
.project-gallery-heading h2 { margin: 0; color: #fff; font-size: clamp(32px, 4.8vw, 66px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.project-gallery .project-gallery-subtitle { margin: 12px 0 0; max-width: 780px; color: #c7ccc5; font-size: clamp(16px, 2vw, 25px); line-height: 1.45; text-align: left; }
.project-gallery .project-gallery-region { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: #e5e9e3; font-size: 13px; text-align: left; }
.project-gallery-region svg { color: var(--color-mint); flex-shrink: 0; }
.project-gallery-featured { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
.project-gallery-card { margin: 0; min-width: 0; }
.project-gallery-open { position: relative; display: block; width: 100%; height: clamp(280px, 34vw, 490px); padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #20271e; cursor: zoom-in; }
.project-gallery-open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-gallery-open:hover img { transform: scale(1.035); }
.project-gallery-open:focus-visible { outline: 3px solid var(--color-mint); outline-offset: 4px; }
.project-gallery-zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff80; border-radius: 50%; background: #0d130cb3; color: #fff; font-size: 21px; }
.project-gallery-card figcaption { padding: 19px 0 0; }
.project-gallery .project-gallery-city { margin: 0 0 7px; color: var(--color-mint); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .16em; text-align: left; text-transform: uppercase; }
.project-gallery-card h3 { margin: 0; color: #fff; font-size: clamp(19px, 2vw, 27px); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.project-gallery-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #ffffff38; }
.project-gallery-more .project-gallery-open { height: auto; aspect-ratio: 1.65; }
.project-gallery-more figcaption { display: flex; flex-direction: column-reverse; gap: 8px; padding-top: 12px; }
.project-gallery-more h3 { font-size: 18px; }
.project-gallery-more .project-gallery-city { margin: 0; color: #b9c2b6; font-size: 10px; }
.project-lightbox { position: fixed; inset: 0; width: min(1120px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #ffffff30; border-radius: 12px; background: #0d130c; color: #fff; overflow: auto; box-shadow: 0 24px 90px #0009; }
.project-lightbox::backdrop { background: #050805e8; backdrop-filter: blur(6px); }
.project-lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; }
.project-lightbox-count { font-size: 13px; color: #c7ccc5; }
.project-lightbox button { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid #ffffff50; border-radius: 6px; background: #ffffff0d; color: #fff; font-size: 22px; cursor: pointer; }
.project-lightbox button:hover { background: #226b34; }
.project-lightbox button:focus-visible { outline: 2px solid #6ed886; outline-offset: 3px; }
.project-lightbox-image { display: block; width: 100%; height: min(65dvh, 750px); object-fit: contain; background: #080c07; }
.project-lightbox-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px 22px; }
.project-lightbox-title { margin: 0 0 7px; font-size: clamp(20px, 3vw, 28px); line-height: 1.25; font-weight: 600; }
.project-lightbox-location { margin: 0; color: #b9dbc1; font-size: 14px; }
.project-lightbox-nav { display: flex; gap: 10px; flex-shrink: 0; }
html.project-lightbox-open { overflow: hidden; }
@media (max-width: 1023px) {
  .project-gallery-heading { display: block; }
  .project-gallery .project-gallery-region { margin-top: 20px; }
  .project-gallery-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-gallery-featured .project-gallery-card:first-child { grid-column: 1 / -1; }
  .project-gallery-featured .project-gallery-card:first-child .project-gallery-open { height: auto; aspect-ratio: 1.65; }
  .project-gallery-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .project-gallery-featured { grid-template-columns: 1fr; gap: 28px; }
  .project-gallery-open { height: auto; aspect-ratio: 1.35; }
  .project-gallery-more { gap: 24px 14px; }
  .project-gallery-more .project-gallery-open { aspect-ratio: 1.15; }
  .project-gallery-more h3 { font-size: 16px; }
  .project-gallery-more .project-gallery-city { font-size: 9px; letter-spacing: .1em; }
  .project-lightbox-caption { flex-wrap: wrap; padding: 16px; }
  .project-lightbox-image { height: auto; max-height: 60dvh; }
}
@media (prefers-reduced-motion: reduce) { .project-gallery-open img { transition: none; } }
