.gallery-hero {
  background:
    radial-gradient(circle at top right, rgba(200, 162, 75, 0.18), transparent 42%),
    linear-gradient(180deg, #f8f5ee 0%, #ffffff 100%);
}

.gallery-section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.gallery-section-head h2 {
  color: var(--green-dark, #0A4E37);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  margin: 0 0 12px;
}

.gallery-section-head p {
  color: var(--text-soft, #666);
  margin: 0;
}

.gallery-office {
  padding: 72px 0 40px;
  background: var(--white, #fff);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 14px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--cream, #F8F5EE);
  cursor: pointer;
}

.gallery-tile-lg {
  grid-row: 1 / span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transition: transform 0.45s ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.02);
}

.gallery-tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 48px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(8, 40, 28, 0.78));
  color: #fff;
  text-align: left;
}

.gallery-tile-meta strong {
  font-family: 'Amiri', serif;
  font-size: 1.05rem;
}

.gallery-tile-meta span {
  font-size: 0.75rem;
  color: #E4C87A;
  white-space: nowrap;
}

.gallery-videos {
  padding: 56px 0;
  background: var(--cream, #F8F5EE);
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.gallery-video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.gallery-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: var(--green-dark, #0A4E37);
}

.gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-gold, linear-gradient(135deg, #C8A24B, #E4C87A));
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.gallery-play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 22px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #0A4E37;
}

.gallery-video-card strong {
  color: var(--green-dark, #0A4E37);
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
}

.gallery-video-card > span:last-child {
  color: var(--text-soft, #666);
  font-size: 0.9rem;
}

.gallery-cta {
  padding: 64px 0 88px;
  background: transparent;
}

.gallery-cta-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 0;
  text-align: center;
}

.gallery-cta-card .eyebrow {
  justify-content: center;
  margin-bottom: 12px;
}

.gallery-cta-card h2 {
  color: var(--green-dark, #0A4E37);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin: 0 0 12px;
  background: none;
}

.gallery-cta-card > p {
  color: var(--text-soft, #666);
  margin: 0 0 28px;
  font-size: 1.02rem;
}

.gallery-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gallery-cta .btn {
  min-width: 180px;
  padding: 14px 26px;
}

.gallery-cta .btn-gold {
  background: linear-gradient(135deg, #C8A24B, #E4C87A);
  color: #0A4E37;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(200, 162, 75, 0.28);
}

.gallery-cta .btn-gold:hover {
  background: linear-gradient(135deg, #0F6B4B, #0A4E37);
  color: #fff;
}

.gallery-cta .btn-outline {
  border-color: var(--green, #0F6B4B);
  color: var(--green-dark, #0A4E37);
  background: transparent;
}

.gallery-cta .btn-outline:hover {
  border-color: var(--gold, #C8A24B);
  background: var(--gold, #C8A24B);
  color: #fff;
}

.gallery-cta-note {
  margin: 22px 0 0;
  color: var(--text-soft, #666);
  font-size: 0.86rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 34, 24, 0.84);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

.gallery-lightbox-stage {
  overflow: hidden;
  border-radius: 16px;
  background: #041910;
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  margin: 0 auto;
}

.gallery-lightbox-stage img,
.gallery-lightbox-stage video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #041910;
}

.gallery-lightbox-caption {
  margin-top: 16px;
  color: #fff;
  text-align: center;
}

.gallery-lightbox-caption h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.35rem;
}

.gallery-lightbox-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.gallery-lightbox-close {
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  top: 38%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-lightbox-nav.prev { left: -12px; }
.gallery-lightbox-nav.next { right: -12px; }

.home-gallery {
  padding: 88px 0;
  background: var(--white, #fff);
}

.about-gallery {
  padding: 88px 0;
  background: var(--white, #fff);
  border-top: 1px solid var(--border, #E6E6E6);
}

.home-gallery-grid,
.about-gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
  margin-bottom: 32px;
}

.home-gallery-grid a:first-child,
.about-gallery-grid a:first-child {
  grid-row: 1 / span 2;
}

.home-gallery-grid a,
.about-gallery-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.home-gallery-grid img,
.about-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery-more,
.about-gallery-more {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .gallery-mosaic,
  .home-gallery-grid,
  .about-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 180px;
  }

  .gallery-tile-lg,
  .home-gallery-grid a:first-child,
  .about-gallery-grid a:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }

  .gallery-video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-cta-card {
    padding: 0;
  }

  .gallery-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .gallery-mosaic,
  .home-gallery-grid,
  .about-gallery-grid,
  .gallery-video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-tile,
  .home-gallery-grid a,
  .about-gallery-grid a {
    min-height: 220px;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 86px;
  }

  .gallery-lightbox-nav.prev { left: 8px; }
  .gallery-lightbox-nav.next { right: 8px; }
}
