.gallery-site-header {
  background: rgba(255,255,255,.96);
}

.gallery-nav {
  min-height: 112px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.gallery-brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.gallery-brand strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 30px;
  letter-spacing: .19em;
  font-weight: 500;
  line-height: 1.2;
}

.gallery-brand small {
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--muted);
  margin-top: 6px;
}

.gallery-top-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2.7vw, 44px);
}

.gallery-top-nav a {
  color: #38362f;
  font-size: 16px;
  position: relative;
  padding: 7px 0;
}

.gallery-top-nav a[aria-current="page"] {
  color: var(--gold-dark);
  font-weight: 650;
}

.gallery-top-nav a[aria-current="page"]::after {
  content: "";
  height: 3px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gold);
}

.gallery-top-nav a:focus-visible, .gallery-back-link:focus-visible {
  outline: 3px solid rgba(185,147,67,.4);
  outline-offset: 4px;
}

.gallery-hero {
  padding: 72px 0 52px;
  background: linear-gradient(180deg,#fff 0%,#fdfbf8 100%);
  text-align: center;
}

.gallery-hero .eyebrow {
  margin-bottom: 17px;
}

.gallery-hero h1 {
  margin: 0;
  color: var(--gold-dark);
  font-family: var(--prhis-font-titles, "Plus Jakarta Sans", sans-serif) !important;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.045em;
}

.gallery-heading-line {
  display: block;
  margin: 24px auto;
  width: 74px;
  height: 2px;
  background: var(--gold);
}

.gallery-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.gallery-content {
  padding: 58px 0 86px;
  background: white;
}

.gallery-section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.gallery-section-top .eyebrow {
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: .18em;
  line-height: 1.45;
}

.gallery-section-top h2 {
  margin: 0;
  font-size: clamp(27px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.gallery-section-top > p {
  width: min(100%, 380px);
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  margin: 0;
}

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


.gallery-item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #ece5d8;
  background: var(--ivory);
  box-shadow: 0 8px 26px rgba(25,20,10,.05);
}

.gallery-comparison {
  position: relative;
}

.gallery-comparison {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  aspect-ratio: 1.34 / 1;
}

.gallery-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.gallery-photo + .gallery-photo {
  border-left: 2px solid white;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-photo-label {
  position: absolute;
  bottom: 9px;
  left: 9px;
  background: rgba(25,22,18,.78);
  color: white;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 9px;
}


.gallery-disclaimer {
  max-width: 840px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 25px auto 0;
  text-align: center;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.gallery-back-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--gold-dark);
  font-weight: 750;
  font-size: 14px;
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 12px 22px;
}

.gallery-back-link:hover {
  background: var(--soft);
}

.gallery-back-link span {
  font-size: 18px;
}

.gallery-footer {
  background: #14130f;
}

@media (max-width:980px) {
  .gallery-nav {
    min-height: 98px;
  }

  .gallery-brand strong {
    font-size: 24px;
  }

  .gallery-top-nav {
    gap: 15px;
  }

  .gallery-top-nav a {
    font-size: 13px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:700px) {
  .gallery-nav {
    padding: 14px 0 12px;
    flex-direction: column;
    gap: 13px;
  }

  .gallery-brand {
    text-align: center;
  }

  .gallery-brand strong {
    font-size: 23px;
  }

  .gallery-brand small {
    font-size: 7px;
  }

  .gallery-top-nav {
    justify-content: center;
    gap: 12px 17px;
  }

  .gallery-top-nav a {
    font-size: 12px;
  }

  .gallery-hero {
    padding: 55px 0 45px;
  }

  .gallery-content {
    padding: 44px 0 65px;
  }

  .gallery-section-top {
    flex-direction: column;
    align-items: start;
    gap: 13px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  }

.gallery-zoom-trigger {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: rgba(255,255,255,.30);
  color: #fff;
  opacity: 0;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  transition: opacity .22s ease;
}

.gallery-zoom-trigger:hover,
.gallery-zoom-trigger:focus-visible {
  opacity: 1;
}

.gallery-zoom-trigger:focus-visible {
  outline: 3px solid #b58c43;
  outline-offset: -4px;
}

.gallery-zoom-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: var(--gold, #b99343);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(33,22,11,.14);
}

.gallery-zoom-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 18px 80px;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: none;
  background: rgba(20,20,20,.73);
  overflow: hidden;
  color: #27221c;
  box-sizing: border-box;
  z-index: 10000;
}

.gallery-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox::backdrop {
  background: rgba(20,20,20,.4);
}

.gallery-lightbox-panel {
  position: relative;
  flex: 0 1 960px;
  max-width: 100%;
  min-width: 0;
  max-height: calc(100dvh - 74px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0,0,0,.24);
  overflow: hidden;
}

.gallery-lightbox-content {
  background: #f2f1ef;
}

.gallery-lightbox-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: min(72dvh, 650px);
  min-height: 0;
}

.gallery-lightbox-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  background: #ece9e5;
}

.gallery-lightbox-photo + .gallery-lightbox-photo {
  border-left: 2px solid white;
}

.gallery-lightbox-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #fff;
  background: rgba(25,22,18,.78);
  border-radius: 30px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}


.gallery-lightbox-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  background: white;
}

.gallery-lightbox-count {
  font-size: 12px;
  color: #777169;
  white-space: nowrap;
}

.gallery-lightbox-close, .gallery-lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 3;
  padding: 0;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  background: #fff;
  color: #2a2a2a;
  cursor: pointer;
  box-shadow: 0 7px 24px rgba(0,0,0,.14);
  transition: transform .2s ease, background .2s ease;
}

.gallery-lightbox-close:hover, .gallery-lightbox-arrow:hover {
  background: #f8f3ec;
  transform: scale(1.06);
}

.gallery-lightbox-close:focus-visible, .gallery-lightbox-arrow:focus-visible {
  outline: 3px solid #bd8d34;
  outline-offset: 3px;
}

.gallery-lightbox-close svg, .gallery-lightbox-arrow svg {
  width: 29px;
  height: 29px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox-close {
  top: 25px;
  right: 28px;
}

.gallery-lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-prev:hover, .gallery-lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

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

@media (hover:none) {
  .gallery-zoom-trigger {
    inset: 0;
    opacity: 1;
    background: transparent;
    place-items: end end;
    padding: 10px;
  }

  .gallery-zoom-icon {
    width: 39px;
    height: 39px;
    border-radius: 8px;
    background: var(--gold, #b99343);
  }

  .gallery-zoom-icon svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 700px) {
  .gallery-lightbox {
    padding: 70px 14px 62px;
  }

  .gallery-lightbox-panel {
    max-height: calc(100dvh - 142px);
  }

  .gallery-lightbox-comparison {
    height: min(64dvh, 70vw);
  }

  .gallery-lightbox-badge {
    left: 6px;
    bottom: 7px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .gallery-lightbox-close, .gallery-lightbox-arrow {
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 15px;
  }

  .gallery-lightbox-prev {
    left: 14px;
    top: auto;
    bottom: 10px;
    transform: none;
  }

  .gallery-lightbox-next {
    right: 14px;
    top: auto;
    bottom: 10px;
    transform: none;
  }

  .gallery-lightbox-prev:hover, .gallery-lightbox-next:hover {
    transform: scale(1.06);
  }

  .gallery-lightbox-info {
    padding: 11px 12px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .gallery-zoom-trigger, .gallery-lightbox-close, .gallery-lightbox-arrow {
    transition: none;
  }
}

.results-gallery-page .gallery-hero {
  padding: 34px 0 30px;
  background: linear-gradient(180deg, #fff 0%, #fdfbf8 100%);
}

.results-gallery-page .gallery-hero h1 {
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 1.12;
}

.results-gallery-page .gallery-heading-line {
  width: 68px;
  margin: 16px auto 15px;
}

.results-gallery-page .gallery-intro {
  max-width: 660px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  text-wrap: pretty;
}

.results-gallery-page .gallery-content {
  padding: 26px 0 74px;
}

.results-gallery-page .gallery-section-top {
  display: block;
  margin-bottom: 20px;
}

.results-gallery-page .gallery-section-top .eyebrow {
  margin: 0;
  font-family: var(--prhis-font-text, Inter, sans-serif) !important;
  font-size: clamp(15px, 1.22vw, 18px);
  line-height: 1.45;
  font-weight: 750;
  letter-spacing: .18em;
  color: var(--gold-dark, #977029);
}

.results-gallery-page .gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.results-gallery-page .gallery-comparison {
  aspect-ratio: 1.9 / 1;
}

.results-gallery-page .gallery-disclaimer {
  margin-top: 34px;
  max-width: 740px;
}

@media (max-width: 800px) {
  .results-gallery-page .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .results-gallery-page .gallery-content {
    padding: 27px 0 58px;
  }

  .results-gallery-page .gallery-hero {
    padding: 32px 0 29px;
  }

  .results-gallery-page .gallery-comparison {
    aspect-ratio: 1.67 / 1;
  }
}

@media (max-width: 480px) {
  .results-gallery-page .gallery-hero {
    padding: 25px 0 25px;
  }

  .results-gallery-page .gallery-hero h1 {
    font-size: clamp(41px, 10vw, 49px);
  }

  .results-gallery-page .gallery-heading-line {
    margin: 15px auto 13px;
    width: 59px;
  }

  .results-gallery-page .gallery-intro {
    max-width: 340px;
    font-size: 14px;
    line-height: 1.6;
  }

  .results-gallery-page .gallery-content {
    padding: 23px 0 52px;
  }

  .results-gallery-page .gallery-section-top {
    margin-bottom: 15px;
  }

  .results-gallery-page .gallery-section-top .eyebrow {
    font-size: 15px;
  }

  .results-gallery-page .gallery-comparison {
    aspect-ratio: 1.42 / 1;
  }

  .results-gallery-page .gallery-disclaimer {
    margin-top: 23px;
  }
}
