.gallery-page {
  background: var(--color-cream-50);
}

.gallery-page .button {
  min-height: 2.75rem;
}

.gallery-hero {
  position: relative;
  min-height: 42.5rem;
  overflow: hidden;
  background: var(--color-forest-950);
  color: var(--color-cream-50);
}

.gallery-hero__image-wrap,
.gallery-hero__overlay {
  position: absolute;
  inset: 0;
}

.gallery-hero__image-wrap {
  z-index: 0;
}

.gallery-hero__image {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-hero__overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgb(16 44 38 / 96%) 0%, rgb(16 44 38 / 82%) 33%, rgb(16 44 38 / 35%) 58%, rgb(16 44 38 / 8%) 100%);
}

.gallery-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 42.5rem;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}

.gallery-hero__copy {
  grid-column: 1;
  width: min(100%, 26.875rem);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

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

.gallery-hero__copy .eyebrow {
  color: var(--color-brass-500);
}

.gallery-hero__copy .rule {
  margin: 0;
}

.gallery-hero__copy h1 {
  color: var(--color-cream-50);
  font-size: var(--text-display);
}

.gallery-hero__deck {
  max-width: 26.875rem;
  font-size: var(--text-body-large);
  line-height: 1.55;
}

.gallery-hero__actions {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

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

.gallery-hero__text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--color-cream-50);
  font-weight: 700;
}

.gallery-hero__text-link:hover {
  color: var(--color-amber-300);
}

.gallery-image-control {
  min-height: 2.75rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-forest-950);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: var(--tracking-button);
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--color-brass-500);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.gallery-image-control:hover:not(:disabled) {
  background: transparent;
  color: var(--color-leather-600);
}

.gallery-hero .gallery-image-control {
  color: var(--color-cream-50);
}

.gallery-hero .gallery-image-control:hover:not(:disabled) {
  color: var(--color-amber-300);
}

.gallery-table__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-7);
  align-items: start;
}

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

.gallery-table__intro {
  grid-column: 1 / span 4;
  width: min(100%, 22.5rem);
  min-width: 0;
}

.gallery-table__intro .rule {
  margin-block: 0 var(--space-4);
}

.gallery-table__food {
  grid-column: 5 / span 4;
  width: 100%;
  min-width: 0;
}

.gallery-table__drinks {
  grid-column: 9 / span 4;
  width: 100%;
  min-width: 0;
  margin-block-start: var(--space-8);
}

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

.gallery-figure__media {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--color-cream-100);
}

.gallery-figure__media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.gallery-figure:hover .gallery-figure__media img {
  filter: saturate(1.04);
  transform: scale(1.012);
}

.gallery-table__food .gallery-figure__media,
.gallery-table__drinks .gallery-figure__media {
  aspect-ratio: 4 / 5;
}

.gallery-table__food .gallery-figure__media img {
  object-position: center center;
}

.gallery-table__drinks .gallery-figure__media img {
  object-position: center center;
}

.gallery-figure figcaption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
  margin-block: var(--space-3) 0;
}

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

.gallery-caption__label {
  display: block;
  color: var(--color-brass-500);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: var(--tracking-overline);
  line-height: 1.2;
  text-transform: uppercase;
}

.gallery-caption__copy {
  display: block;
  max-width: 28rem;
  color: var(--color-muted-600);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.gallery-poker {
  overflow: hidden;
}

.gallery-poker__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-7);
  align-items: center;
}

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

.gallery-poker__copy {
  grid-column: 1 / span 5;
  width: min(100%, 31.25rem);
  min-width: 0;
}

.gallery-poker__copy .rule {
  margin-block: 0 var(--space-4);
}

.gallery-poker__copy > p:not(.eyebrow) {
  max-width: 31.25rem;
}

.gallery-poker__safety {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  width: min(100%, 27rem);
  min-width: 0;
  gap: var(--space-3);
  margin-block: var(--space-5);
  padding: var(--space-4);
  background: var(--color-cream-100);
  color: var(--color-ink-900);
}

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

.gallery-poker__safety p {
  margin: 0;
  color: var(--color-ink-900);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.gallery-poker__suit {
  color: var(--color-brass-500);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1;
}

.gallery-poker__action {
  width: fit-content;
}

.gallery-poker__figure {
  grid-column: 7 / span 6;
  width: 100%;
  min-width: 0;
}

.gallery-poker__figure .gallery-figure__media {
  aspect-ratio: 3 / 2;
}

.gallery-poker__figure img {
  object-position: center center;
}

.gallery-poker .gallery-caption__copy {
  color: var(--color-cream-50);
}

.gallery-poker .gallery-image-control {
  color: var(--color-cream-50);
}

.gallery-poker .gallery-image-control:hover:not(:disabled) {
  color: var(--color-amber-300);
}

.gallery-room__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-7);
  align-items: center;
}

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

.gallery-room__figure {
  grid-column: 1 / span 7;
  width: 100%;
  min-width: 0;
}

.gallery-room__figure .gallery-figure__media {
  aspect-ratio: 3 / 2;
}

.gallery-room__figure img {
  object-position: center center;
}

.gallery-room__copy {
  grid-column: 9 / span 4;
  width: min(100%, 23.125rem);
  min-width: 0;
  border-inline-start: 2px solid var(--color-brass-500);
  padding-inline-start: var(--space-5);
}

.gallery-room__copy .rule {
  margin-block: 0 var(--space-4);
}

.gallery-room__copy p {
  max-width: 23.125rem;
}

.gallery-room__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-weight: 700;
}

.gallery-gathering {
  overflow: hidden;
  background: var(--color-cream-100);
}

.gallery-gathering__intro {
  padding-block: var(--space-8);
}

.gallery-gathering__intro-copy {
  width: min(100%, 35rem);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.gallery-gathering__intro-copy .rule {
  margin-inline: auto;
}

.gallery-gathering__media {
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  background: var(--color-forest-950);
}

.gallery-gathering__media img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-gathering__caption-wrap {
  position: relative;
  min-height: 0;
}

.gallery-gathering__caption {
  position: relative;
  width: min(100%, 31.25rem);
  min-width: 0;
  margin-block-start: calc(var(--space-8) * -1);
  padding: var(--space-5);
}

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

.gallery-gathering__caption p {
  max-width: 27rem;
}

.gallery-gathering__caption .gallery-caption__label {
  margin-bottom: var(--space-2);
}

.gallery-gathering__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

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

.gallery-gathering__button {
  background: var(--color-cream-50);
  color: var(--color-forest-950);
}

.gallery-gathering__button:hover {
  background: var(--color-cream-100);
  color: var(--color-forest-950);
}

.gallery-image-control--light {
  color: var(--color-cream-50);
}

.gallery-image-control--light:hover:not(:disabled) {
  color: var(--color-amber-300);
}

.gallery-pathways__intro {
  width: min(100%, 31.25rem);
  min-width: 0;
}

.gallery-pathways__intro .rule {
  margin-block: 0 var(--space-4);
}

.gallery-pathways__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-block-start: var(--space-7);
}

.gallery-pathways__cards > * {
  width: 100%;
  min-width: 0;
}

.gallery-pathway-card {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-cream-100);
}

.gallery-pathway-card__content {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
}

.gallery-pathway-card__content > * {
  min-width: 0;
  margin: 0;
}

.gallery-pathway-card__rule {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--color-brass-500);
}

.gallery-pathway-card h3 {
  font-size: var(--text-h3);
}

.gallery-pathway-card p {
  width: min(100%, 18.75rem);
}

.gallery-pathway-card a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-weight: 700;
}

.gallery-reservation {
  overflow: hidden;
}

.gallery-reservation__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-7);
  align-items: start;
}

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

.gallery-reservation__form-area {
  grid-column: 1 / span 7;
  width: min(100%, 42.5rem);
  min-width: 0;
}

.gallery-reservation__form-area .rule {
  margin-block: 0 var(--space-4);
}

.gallery-reservation__lead {
  width: min(100%, 26.875rem);
}

.gallery-reservation__form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  margin-block-start: var(--space-5);
}

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

.gallery-reservation__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

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

.gallery-field {
  min-width: 0;
}

.gallery-field--full {
  grid-column: 1 / -1;
}

.gallery-field label {
  color: var(--color-cream-50);
}

.gallery-field__optional {
  color: var(--color-cream-100);
  font-weight: 400;
}

.gallery-reservation input:focus-visible,
.gallery-reservation select:focus-visible,
.gallery-reservation textarea:focus-visible {
  border-color: var(--color-brass-500);
}

.gallery-field__error {
  min-height: 1.25rem;
  margin: var(--space-1) 0 0;
  color: var(--color-amber-300);
  font-size: var(--text-small);
  line-height: 1.35;
}

.gallery-reservation__consent {
  width: min(100%, 38rem);
  color: var(--color-cream-50);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.gallery-reservation__submit-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

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

.gallery-reservation__status {
  flex: 1 1 16rem;
  margin: 0;
  color: var(--color-cream-50);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.gallery-reservation__guidance {
  grid-column: 9 / span 4;
  width: min(100%, 24.375rem);
  min-width: 0;
  margin-block-start: var(--space-9);
  padding: var(--space-5);
  background: var(--color-cream-100);
  color: var(--color-ink-900);
}

.gallery-reservation__guidance > *:last-child {
  margin-bottom: 0;
}

.gallery-reservation__guidance h3 {
  color: var(--color-forest-950);
}

.gallery-final-note__content {
  width: min(100%, 38.75rem);
  min-width: 0;
  margin-inline: auto;
}

.gallery-final-note__content .rule {
  margin-block: 0 var(--space-4);
}

.gallery-final-note__content p {
  max-width: 38.75rem;
}

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

.gallery-lightbox {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-4);
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(16 44 38 / 92%);
}

.gallery-lightbox__dialog {
  position: relative;
  display: flex;
  width: min(100%, 70rem);
  max-height: calc(100vh - (var(--space-4) * 2));
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-forest-950);
  color: var(--color-cream-50);
  overflow: auto;
}

.gallery-lightbox__controls {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2);
}

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

.gallery-lightbox__button {
  min-height: 2.75rem;
  border-color: var(--color-brass-500);
  background: transparent;
  color: var(--color-cream-50);
}

.gallery-lightbox__button:hover:not(:disabled) {
  background: var(--color-forest-800);
}

.gallery-lightbox__figure {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
}

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

.gallery-lightbox__figure img {
  width: 100%;
  max-width: 100%;
  max-height: min(70vh, 48rem);
  object-fit: contain;
}

.gallery-lightbox__figure figcaption {
  margin: 0;
  color: var(--color-cream-50);
}

body.gallery-lightbox-open {
  overflow: hidden;
}

@media (max-width: 64rem) {
  .gallery-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .gallery-hero__image-wrap,
  .gallery-hero__overlay {
    position: relative;
    inset: auto;
  }

  .gallery-hero__overlay {
    display: none;
  }

  .gallery-hero__container {
    display: block;
    min-height: 0;
    width: 100%;
    padding: 0;
    order: 0;
  }

  .gallery-hero__copy {
    width: 100%;
    max-width: none;
    padding: var(--space-7) var(--container-padding);
    background: var(--color-forest-950);
  }

  .gallery-hero__image-wrap {
    order: 1;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .gallery-hero__image {
    position: absolute;
    inset: 0;
  }

  .gallery-table__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .gallery-table__intro {
    grid-column: 1 / -1;
    width: min(100%, 36rem);
  }

  .gallery-table__food,
  .gallery-table__drinks {
    grid-column: auto;
    margin-block-start: 0;
  }

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

  .gallery-poker__copy,
  .gallery-poker__figure {
    grid-column: 1;
    width: min(100%, 38.75rem);
  }

  .gallery-poker__figure {
    width: 100%;
  }

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

  .gallery-room__figure {
    grid-column: 1 / span 5;
  }

  .gallery-room__copy {
    grid-column: 6 / span 3;
    width: 100%;
    padding-inline-start: var(--space-4);
  }

  .gallery-room__copy p {
    max-width: none;
  }

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

  .gallery-pathway-card:last-child {
    grid-column: 1 / span 1;
  }

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

  .gallery-reservation__form-area,
  .gallery-reservation__guidance {
    grid-column: 1;
    width: min(100%, 42.5rem);
    margin-block-start: 0;
  }
}

@media (max-width: 48rem) {
  .gallery-hero__copy {
    padding-block: var(--space-6);
  }

  .gallery-hero__image-wrap {
    aspect-ratio: 4 / 3;
  }

  .gallery-hero__image {
    object-position: center bottom;
  }

  .gallery-hero__deck {
    max-width: none;
  }

  .gallery-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-hero__actions .button,
  .gallery-hero__actions .gallery-hero__text-link,
  .gallery-hero__actions .gallery-image-control {
    width: auto;
    max-width: 100%;
  }

  .gallery-table__grid,
  .gallery-room__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .gallery-table__intro,
  .gallery-table__food,
  .gallery-table__drinks,
  .gallery-room__figure,
  .gallery-room__copy {
    grid-column: 1;
    width: 100%;
  }

  .gallery-room__copy {
    order: -1;
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .gallery-poker__grid {
    gap: var(--space-6);
  }

  .gallery-poker__copy,
  .gallery-poker__figure {
    width: 100%;
  }

  .gallery-poker__safety {
    width: 100%;
    padding: var(--space-4);
  }

  .gallery-poker__action {
    width: 100%;
  }

  .gallery-poker__figure .gallery-figure__media {
    aspect-ratio: 4 / 3;
  }

  .gallery-gathering__intro {
    padding-block: var(--space-6);
  }

  .gallery-gathering__intro-copy {
    width: 100%;
    margin: 0;
    text-align: start;
  }

  .gallery-gathering__intro-copy .rule {
    margin-inline: 0;
  }

  .gallery-gathering__media {
    aspect-ratio: 4 / 3;
  }

  .gallery-gathering__caption {
    width: 100%;
    margin-block-start: 0;
    padding: var(--space-4);
  }

  .gallery-gathering__caption-wrap {
    width: 100%;
    padding: 0;
  }

  .gallery-gathering__caption-wrap .gallery-gathering__caption {
    margin-inline: 0;
  }

  .gallery-pathways__cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-block-start: var(--space-6);
  }

  .gallery-pathway-card:last-child {
    grid-column: 1;
  }

  .gallery-pathway-card__content {
    padding: var(--space-5);
  }

  .gallery-pathway-card p {
    width: 100%;
  }

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

  .gallery-field--full {
    grid-column: 1;
  }

  .gallery-reservation__submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-reservation__submit-row .button {
    width: 100%;
  }

  .gallery-reservation__status {
    flex-basis: auto;
  }

  .gallery-reservation__guidance {
    padding: var(--space-4);
  }

  .gallery-final-note__content {
    width: 100%;
    margin: 0;
  }

  .gallery-lightbox {
    padding: var(--space-2);
  }

  .gallery-lightbox__dialog {
    padding: var(--space-2);
  }

  .gallery-lightbox__controls {
    justify-content: stretch;
  }

  .gallery-lightbox__button {
    flex: 1 1 calc(50% - var(--space-2));
  }
}

@media (max-width: 40rem) {
  .gallery-hero__actions .button {
    width: 100%;
  }

  .gallery-lightbox__button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-figure:hover .gallery-figure__media img {
    transform: none;
  }
}
