.gallery-page {
  background: var(--color-bg-ink);
}

.gallery-page ul {
  list-style: none !important;
}

.gallery-page__hero {
  position: relative;
  width: min(100% - (var(--page-padding) * 2), var(--container-wide));
  min-height: clamp(45rem, 55vw, 48.75rem);
  margin-inline: auto;
  overflow: hidden;
  background: var(--color-bg-charcoal);
}

.gallery-page__hero-media,
.gallery-page__hero-media img {
  width: 100%;
  height: 100%;
}

.gallery-page__hero-media {
  position: absolute;
  inset: 0;
}

.gallery-page__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(17 18 20 / 78%) 0%, rgb(17 18 20 / 48%) 42%, rgb(17 18 20 / 20%) 78%, rgb(17 18 20 / 30%) 100%);
}

.gallery-page__hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(42%, 40rem);
  min-width: 0;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-5);
  padding: clamp(3rem, 6vw, 6rem);
}

.gallery-page__hero-copy > * {
  min-width: 0;
  margin: 0;
}

.gallery-page__hero-copy h1 {
  font-size: clamp(4rem, 5.2vw, 4.5rem);
}

.gallery-page__hero-copy p:not(.eyebrow) {
  max-width: 40rem;
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
}

.gallery-page__hero-actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.gallery-page__hero-actions > * {
  min-width: 0;
}

.gallery-page__language-intro {
  width: min(100%, 42.5rem);
}

.gallery-page__language-intro p:last-child {
  max-width: 42.5rem;
  font-size: var(--text-lg);
}

.gallery-page__language-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.gallery-page__language-note {
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

.gallery-page__language-note > :last-child,
.gallery-page__dining-copy > :last-child,
.gallery-page__bar-copy > :last-child,
.gallery-page__entertainment-intro > :last-child,
.gallery-page__entertainment-note > :last-child,
.gallery-page__details-intro > :last-child,
.gallery-page__private-intro > :last-child,
.gallery-page__private-note > div > :last-child,
.gallery-page__closing-copy > :last-child {
  margin-bottom: 0;
}

.gallery-page__note-number {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--color-accent-champagne);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: var(--leading-label);
}

.gallery-page__language-note h3 {
  margin-bottom: var(--space-3);
}

.gallery-page__split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.gallery-page__split > * {
  min-width: 0;
}

.gallery-page__dining-media {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.gallery-page__dining-copy {
  width: min(100%, 31.25rem);
  justify-self: end;
}

.gallery-page__dining-copy p {
  max-width: 31.25rem;
}

.gallery-page__text-link {
  color: var(--color-accent-champagne-light);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gallery-page__split--bar {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.gallery-page__bar-copy {
  width: min(100%, 33.75rem);
}

.gallery-page__bar-copy p {
  max-width: 33.75rem;
}

.gallery-page__bar-lead {
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
}

.gallery-page__bar-figure {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.gallery-page__bar-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 40.625rem;
}

.gallery-page__bar-figure figcaption,
.gallery-page__detail-figure figcaption {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
}

.gallery-page__bar-figure figcaption {
  width: min(100%, 15rem);
}

.gallery-page__entertainment-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.gallery-page__entertainment-top > * {
  min-width: 0;
}

.gallery-page__entertainment-intro {
  width: min(100%, 41.25rem);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-accent-burgundy);
}

.gallery-page__entertainment-intro p:last-child {
  max-width: 41.25rem;
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
}

.gallery-page__eyebrow--burgundy {
  color: var(--color-accent-champagne);
}

.gallery-page__entertainment-media {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.gallery-page__entertainment-notes {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.gallery-page__entertainment-note {
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

.gallery-page__entertainment-note h3 {
  margin-bottom: var(--space-3);
}

.gallery-page__details-intro {
  width: min(100%, 35rem);
}

.gallery-page__details-intro p:last-child {
  max-width: 35rem;
}

.gallery-page__detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.gallery-page__detail-figure {
  min-width: 0;
  margin: 0;
}

.gallery-page__detail-figure--wide {
  grid-column: span 8;
}

.gallery-page__detail-figure--vertical {
  grid-column: span 4;
  margin-top: var(--space-9);
}

.gallery-page__detail-media {
  width: 100%;
}

.gallery-page__detail-figure--wide .gallery-page__detail-media {
  aspect-ratio: 3 / 2;
}

.gallery-page__detail-figure--vertical .gallery-page__detail-media {
  aspect-ratio: 4 / 5;
}

.gallery-page__private {
  border-top: var(--border-subtle);
}

.gallery-page__private-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.gallery-page__private-layout > * {
  min-width: 0;
}

.gallery-page__private-intro {
  width: min(100%, 37.5rem);
}

.gallery-page__private-intro p:last-child {
  max-width: 37.5rem;
  font-size: var(--text-lg);
}

.gallery-page__private-notes {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
}

.gallery-page__private-note {
  display: grid;
  grid-template-columns: minmax(2.5rem, 3.5rem) minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

.gallery-page__private-note > * {
  min-width: 0;
}

.gallery-page__private-note .gallery-page__note-number {
  margin: 0;
}

.gallery-page__private-note h3 {
  margin-bottom: var(--space-3);
}

.gallery-page__private-note--entertainment {
  border-top-color: var(--color-accent-burgundy);
}

.gallery-page__closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(7rem, 11vw, 9rem);
  border-top: var(--border-subtle);
}

.gallery-page__closing::before {
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(55vw, 42rem);
  height: 16rem;
  background: rgb(201 169 106 / 7%);
  content: "";
  filter: blur(5rem);
  transform: translateX(-50%);
}

.gallery-page__closing-copy {
  position: relative;
  display: flex;
  width: min(100%, 38.75rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  margin-inline: auto;
  text-align: center;
}

.gallery-page__closing-copy > * {
  min-width: 0;
  margin: 0;
}

.gallery-page__closing-copy h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.gallery-page__closing-copy p {
  max-width: 38.75rem;
  font-size: var(--text-lg);
}

.gallery-page__closing-copy small {
  color: var(--color-text-muted);
}

@media (max-width: 61.24rem) {
  .gallery-page__hero {
    min-height: 42rem;
  }

  .gallery-page__hero-overlay {
    background: linear-gradient(0deg, rgb(17 18 20 / 86%) 0%, rgb(17 18 20 / 64%) 45%, rgb(17 18 20 / 22%) 100%);
  }

  .gallery-page__hero-copy {
    width: min(100%, 40rem);
    padding: var(--space-8);
  }

  .gallery-page__hero-copy h1 {
    font-size: clamp(3.5rem, 7vw, 4rem);
  }

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

  .gallery-page__split,
  .gallery-page__split--bar,
  .gallery-page__entertainment-top,
  .gallery-page__private-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }

  .gallery-page__split--dining .gallery-page__dining-copy,
  .gallery-page__split--bar .gallery-page__bar-copy,
  .gallery-page__entertainment-intro,
  .gallery-page__private-intro {
    width: min(100%, 37.5rem);
    justify-self: start;
  }

  .gallery-page__split--dining .gallery-page__dining-copy {
    grid-row: 1;
  }

  .gallery-page__split--dining .gallery-page__dining-media {
    grid-row: 2;
  }

  .gallery-page__bar-copy {
    grid-row: 1;
  }

  .gallery-page__bar-figure {
    grid-row: 2;
    width: min(100%, 42rem);
  }

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

  .gallery-page__entertainment-note--context {
    grid-column: span 2;
  }

  .gallery-page__detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }

  .gallery-page__detail-figure--wide,
  .gallery-page__detail-figure--vertical {
    grid-column: 1;
    margin-top: 0;
  }

  .gallery-page__detail-figure--vertical {
    width: min(100%, 31.25rem);
  }
}

@media (max-width: 47.99rem) {
  .gallery-page__hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: var(--color-bg-ink);
  }

  .gallery-page__hero-media {
    position: relative;
    order: 2;
    aspect-ratio: 4 / 5;
  }

  .gallery-page__hero-overlay {
    display: none;
  }

  .gallery-page__hero-copy {
    order: 1;
    width: 100%;
    min-height: 0;
    gap: var(--space-5);
    padding: var(--space-7) 0;
  }

  .gallery-page__hero-copy h1 {
    font-size: clamp(2.625rem, 12vw, 3rem);
    line-height: 1.02;
  }

  .gallery-page__hero-copy p:not(.eyebrow) {
    font-size: var(--text-base);
  }

  .gallery-page__hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .gallery-page__hero-actions .button {
    width: 100%;
  }

  .gallery-page__language-intro p:last-child,
  .gallery-page__private-intro p:last-child,
  .gallery-page__closing-copy p {
    font-size: var(--text-base);
  }

  .gallery-page__language-notes,
  .gallery-page__entertainment-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-7);
  }

  .gallery-page__entertainment-note--context {
    grid-column: 1;
  }

  .gallery-page__split,
  .gallery-page__split--bar,
  .gallery-page__entertainment-top,
  .gallery-page__private-layout {
    gap: var(--space-6);
  }

  .gallery-page__dining-copy,
  .gallery-page__bar-copy,
  .gallery-page__entertainment-intro,
  .gallery-page__private-intro,
  .gallery-page__details-intro {
    width: 100%;
  }

  .gallery-page__bar-lead,
  .gallery-page__entertainment-intro p:last-child {
    font-size: 1.0625rem;
  }

  .gallery-page__bar-figure {
    width: 100%;
  }

  .gallery-page__entertainment-intro {
    padding-left: var(--space-4);
  }

  .gallery-page__detail-grid {
    margin-top: var(--space-6);
  }

  .gallery-page__detail-figure--vertical {
    width: 100%;
  }

  .gallery-page__private-notes {
    gap: var(--space-4);
  }

  .gallery-page__private-note {
    grid-template-columns: minmax(2rem, 2.5rem) minmax(0, 1fr);
    gap: var(--space-3);
  }

  .gallery-page__closing {
    padding-block: var(--space-9);
  }

  .gallery-page__closing-copy {
    gap: var(--space-4);
  }

  .gallery-page__closing-copy h2 {
    font-size: clamp(2.5rem, 11vw, 2.75rem);
  }

  .gallery-page__closing-copy .button {
    width: min(100%, 22.5rem);
  }
}

@media (hover: hover) and (pointer: fine) {
  .gallery-page .image-frame:hover img {
    transform: scale(1.03);
  }
}
