.br-gallery-page {
  --br-ink: #3f3935;
  --br-copy: #655d58;
  --br-gold: #c8ad9b;
  --br-gold-dark: #a98e7e;
  --br-soft: #f7f2ef;
  --br-line: #e8ddd6;
  --br-night: #211d1b;
  background: #fff;
  color: var(--br-copy);
}

.br-gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background:
    radial-gradient(circle at 70% 20%, rgba(200,173,155,.20), transparent 36%),
    linear-gradient(135deg, #1f1b19 0%, #332a26 55%, #171412 100%);
  color: #fff;
}

.br-gallery-hero:before {
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events:none;
}

.br-gallery-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  min-height: 650px;
  margin: 0 auto;
  padding: 70px 28px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.br-gallery-eyebrow {
  margin: 0 0 18px;
  color: #d8c1b2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.br-gallery-hero h1 {
  max-width: 650px;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: .96;
  font-weight: 100;
  letter-spacing: -.04em;
}

.br-gallery-hero h1 span {
  display: block;
  color: #d4b9a8;
}

.br-gallery-lead {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
  line-height: 1.8;
}

.br-gallery-hero-collage {
  position: relative;
  min-height: 500px;
}

.br-gallery-hero-shot {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.12);
}

.br-gallery-hero-shot img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.br-gallery-hero-shot:nth-child(1) {
  width: 48%;
  height: 68%;
  left: 0;
  top: 4%;
  transform: rotate(-3deg);
}

.br-gallery-hero-shot:nth-child(2) {
  width: 51%;
  height: 76%;
  right: 1%;
  top: 12%;
  transform: rotate(3deg);
}

.br-gallery-hero-shot:nth-child(3) {
  width: 40%;
  height: 42%;
  left: 27%;
  bottom: 0;
  z-index: 3;
  transform: rotate(-1deg);
}

.br-gallery-hero-tag {
  position:absolute;
  left:18px;
  bottom:16px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(22,18,16,.72);
  backdrop-filter: blur(8px);
  color:#fff;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.br-gallery-intro {
  padding: 82px 20px 35px;
  background:#fff;
}

.br-gallery-intro-inner {
  width:100%;
  max-width:1050px;
  margin:0 auto;
  text-align:center;
}

.br-gallery-intro .br-gallery-eyebrow {
  color:var(--br-gold-dark);
}

.br-gallery-intro h2 {
  margin:0 0 18px;
  padding:0;
  text-align:center;
  color:var(--br-ink);
  font-size:clamp(2rem,4vw,3.3rem);
  line-height:1.15;
  font-weight:100;
}

.br-gallery-intro p {
  max-width:760px;
  margin:0 auto;
  font-size:1.05rem;
  line-height:1.8;
}

.br-gallery-toolbar-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 18px 20px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px);
  border-top:1px solid rgba(232,221,214,.8);
  border-bottom:1px solid rgba(232,221,214,.8);
}

.br-gallery-toolbar {
  width:100%;
  max-width:1100px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}

.br-gallery-filter {
  appearance:none;
  border:1px solid var(--br-line);
  background:#fff;
  color:var(--br-ink);
  border-radius:999px;
  padding:11px 19px;
  cursor:pointer;
  font:inherit;
  font-size:14px;
  transition:.22s ease;
}

.br-gallery-filter:hover,
.br-gallery-filter.is-active {
  border-color:var(--br-gold);
  background:var(--br-gold);
  color:#fff;
}

.br-gallery-filter small {
  opacity:.72;
  margin-left:5px;
}

.br-gallery-section {
  padding: 58px 20px 100px;
  background:linear-gradient(180deg,#faf7f5 0%,#fff 23%);
}

.br-gallery-wrap {
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

.br-gallery-count {
  margin:0 0 28px;
  color:#8b7b71;
  text-align:center;
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.br-gallery-grid {
  columns: 3 320px;
  column-gap: 22px;
}

.br-gallery-item {
  position:relative;
  width:100%;
  margin:0 0 22px;
  break-inside:avoid;
  overflow:hidden;
  border-radius:18px;
  background:#eee6e1;
  box-shadow:0 8px 30px rgba(54,43,37,.07);
  cursor:zoom-in;
}

.br-gallery-item[hidden] {
  display:none !important;
}

.br-gallery-item img {
  display:block;
  width:100%;
  height:auto;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}

.br-gallery-item:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 54%, rgba(19,15,13,.82) 100%);
  opacity:.48;
  transition:.3s ease;
  pointer-events:none;
}

.br-gallery-item:hover img {
  transform:scale(1.035);
  filter:saturate(1.04) contrast(1.02);
}

.br-gallery-item:hover:after {
  opacity:.72;
}

.br-gallery-caption {
  position:absolute;
  z-index:3;
  left:18px;
  right:18px;
  bottom:16px;
  color:#fff;
  transform:translateY(5px);
  transition:.3s ease;
  pointer-events:none;
}

.br-gallery-item:hover .br-gallery-caption {
  transform:translateY(0);
}

.br-gallery-caption span {
  display:block;
  margin-bottom:3px;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#ddc7b8;
}

.br-gallery-caption strong {
  display:block;
  font-size:1.02rem;
  font-weight:400;
  line-height:1.3;
  text-shadow:0 1px 12px rgba(0,0,0,.28);
}

.br-gallery-cta {
  position:relative;
  overflow:hidden;
  padding:90px 20px;
  text-align:center;
  background:
    radial-gradient(circle at 20% 20%, rgba(200,173,155,.23), transparent 34%),
    #211d1b;
  color:#fff;
}

.br-gallery-cta-inner {
  width:100%;
  max-width:760px;
  margin:0 auto;
}

.br-gallery-cta h2 {
  margin:0 0 18px;
  padding:0;
  text-align:center;
  color:#fff;
  font-size:clamp(2.2rem,4vw,3.5rem);
  line-height:1.15;
  font-weight:100;
}

.br-gallery-cta p {
  max-width:620px;
  margin:0 auto 30px;
  color:rgba(255,255,255,.72);
  line-height:1.8;
}

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

.br-gallery-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:13px 26px;
  border-radius:999px;
  text-decoration:none !important;
  transition:.22s ease;
}

.br-gallery-btn-primary {
  background:var(--br-gold);
  color:#fff !important;
}

.br-gallery-btn-primary:hover {
  background:#b79b89;
  transform:translateY(-2px);
}

.br-gallery-btn-ghost {
  border:1px solid rgba(255,255,255,.26);
  color:#fff !important;
}

.br-gallery-btn-ghost:hover {
  background:rgba(255,255,255,.08);
  transform:translateY(-2px);
}

.br-lightbox {
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:rgba(15,12,11,.94);
  backdrop-filter:blur(10px);
}

.br-lightbox.is-open {
  display:flex;
}

.br-lightbox-stage {
  position:relative;
  max-width:min(1280px, 92vw);
  max-height:86vh;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.br-lightbox-image {
  display:block;
  max-width:100%;
  max-height:78vh;
  width:auto;
  height:auto;
  border-radius:14px;
  box-shadow:0 28px 90px rgba(0,0,0,.42);
}

.br-lightbox-meta {
  margin-top:14px;
  color:#fff;
  text-align:center;
}

.br-lightbox-meta small {
  display:block;
  margin-bottom:2px;
  color:#d8c1b2;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.br-lightbox-close,
.br-lightbox-prev,
.br-lightbox-next {
  position:fixed;
  z-index:2;
  border:0;
  background:rgba(255,255,255,.09);
  color:#fff;
  cursor:pointer;
  width:48px;
  height:48px;
  border-radius:50%;
  font-size:24px;
  line-height:1;
  transition:.2s ease;
}

.br-lightbox-close:hover,
.br-lightbox-prev:hover,
.br-lightbox-next:hover {
  background:rgba(255,255,255,.18);
}

.br-lightbox-close { top:22px; right:22px; }
.br-lightbox-prev { left:22px; top:50%; transform:translateY(-50%); }
.br-lightbox-next { right:22px; top:50%; transform:translateY(-50%); }

body.br-gallery-no-scroll {
  overflow:hidden;
}

@media screen and (max-width:950px) {
  .br-gallery-hero-inner {
    grid-template-columns:1fr;
    gap:35px;
    padding-top:58px;
  }
  .br-gallery-hero {
    min-height:auto;
  }
  .br-gallery-hero-inner {
    min-height:auto;
  }
  .br-gallery-hero-collage {
    min-height:440px;
    max-width:700px;
    width:100%;
    margin:0 auto;
  }
}

@media screen and (max-width:700px) {
  .br-gallery-hero-inner {
    padding:48px 20px 56px;
  }
  .br-gallery-hero h1 {
    font-size:3.7rem;
  }
  .br-gallery-hero-collage {
    min-height:330px;
  }
  .br-gallery-hero-shot:nth-child(1) {
    width:52%; height:66%;
  }
  .br-gallery-hero-shot:nth-child(2) {
    width:55%; height:72%;
  }
  .br-gallery-hero-shot:nth-child(3) {
    width:45%; height:42%; left:26%;
  }
  .br-gallery-intro {
    padding:62px 20px 30px;
  }
  .br-gallery-toolbar-wrap {
    position:relative;
    padding:15px 14px;
  }
  .br-gallery-toolbar {
    gap:7px;
  }
  .br-gallery-filter {
    padding:10px 13px;
    font-size:13px;
  }
  .br-gallery-section {
    padding:42px 14px 70px;
  }
  .br-gallery-grid {
    columns:2 150px;
    column-gap:12px;
  }
  .br-gallery-item {
    margin-bottom:12px;
    border-radius:12px;
  }
  .br-gallery-caption {
    left:12px;
    right:12px;
    bottom:11px;
  }
  .br-gallery-caption strong {
    font-size:.88rem;
  }
  .br-gallery-caption span {
    font-size:9px;
  }
  .br-lightbox {
    padding:16px;
  }
  .br-lightbox-prev,
  .br-lightbox-next {
    top:auto;
    bottom:22px;
    transform:none;
  }
  .br-lightbox-prev { left:22px; }
  .br-lightbox-next { right:22px; }
}

@media screen and (max-width:480px) {
  .br-gallery-grid {
    columns:1;
  }
}
