.page-roar-gallery {
  background: #f7f3eb;
}
.page-roar-gallery .site-header {
  position: relative;
  background: #29231e;
  color: #f7f3eb;
  border-radius: 24px;
  margin: 16px 18px;
  width: auto;
  inset: auto;
}
.page-roar-gallery .site-header .nav-wrap {
  border: 0;
}
.rg-intro {
  padding-top: 64px;
  padding-bottom: 36px;
}
.rg-back {
  font-size: 0.85rem;
  color: #655b4c;
  text-underline-offset: 5px;
}
.rg-back:hover {
  text-decoration: underline;
}
.rg-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 38px 0 40px;
}
.rg-heading h1 {
  font: 400 clamp(3.6rem, 6.5vw, 7rem) / 1.05 var(--serif);
  letter-spacing: -0.045em;
  margin: 0;
  color: #29231e;
}
.rg-heading .rl-button {
  margin: 0;
  flex-shrink: 0;
}
.rg-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #c5b69d;
  color: #796b55;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.rg-meta > span:first-child {
  text-transform: uppercase;
}
.rg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 90px;
}
.rg-grid figure {
  aspect-ratio: 4/5;
  border: 1px solid #e4dccd;
  background: #eae3d6;
}
.rg-grid figure a {
  position: relative;
  overflow: hidden;
}
.rg-grid figure img {
  transition: transform 0.65s ease;
  object-fit: cover;
}
.rg-grid a:hover img {
  transform: scale(1.035);
}
.rg-image-number {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 8px 12px;
  background: #29231ee8;
  color: #f7f3eb;
  border: 1px solid #c7a56866;
  border-radius: 40px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.rg-contact {
  background: #29231e;
  color: #f7f3eb;
  padding: 70px 0;
}
.rg-contact > .shell {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 40px;
}
.rg-contact img {
  width: 80px;
}
.rg-contact h2 {
  margin-bottom: 18px;
}
.rg-contact p {
  max-width: 640px;
  color: #ded5c9;
}
.rg-contact .rl-button {
  margin: 0;
}
.rg-viewing {
  overflow: hidden;
}
@media (max-width: 850px) {
  .rg-intro {
    padding-top: 36px;
  }
  .rg-heading {
    align-items: flex-start;
    flex-direction: column;
    margin: 28px 0;
  }
  .rg-heading h1 {
    font-size: 3.6rem;
  }
  .rg-meta {
    font-size: 0.7rem;
    letter-spacing: 0;
  }
  .rg-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 56px;
  }
  .rg-image-number {
    bottom: 8px;
    right: 8px;
    padding: 5px 8px;
  }
  .rg-contact > .shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .rg-contact .rl-button {
    justify-self: start;
  }
  .page-roar-gallery .site-header {
    margin: 12px;
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rg-grid figure img {
    transition: none;
  }
}
