/* Drink board for the nightlife page. */
.byob {
  padding: 5.5rem 1.25rem 1.5rem;
  scroll-margin-top: 5rem;
}

.byob h2 {
  max-width: 12ch;
  margin-top: 0.75rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.byob-grid {
  display: grid;
  gap: 1.25rem;
  align-items: end;
  margin-top: 2rem;
}

.byob-mark {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(252, 209, 22, 0.72);
}

.byob-copy {
  display: grid;
  max-width: 38ch;
  gap: 1rem;
  color: rgba(244, 236, 220, 0.88);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
}

.byob-copy .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.bar {
  position: relative;
  isolation: isolate;
  padding: 3.5rem 0 4rem;
  scroll-margin-top: 5rem;
  background:
    radial-gradient(32rem 16rem at 90% 0%, rgba(206, 17, 38, 0.22), transparent 62%),
    #060607;
}

.bar-head,
.bar-row,
.bar-note,
.mix {
  padding-inline: 1.25rem;
}

.bar-head {
  max-width: 40rem;
}

.bar h2 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.mix {
  display: grid;
  max-width: 42rem;
  gap: 1.25rem;
  margin: 1.75rem auto 0;
}

.shot,
.jarra,
.pour {
  position: relative;
}

.shot img,
.jarra img,
.pour img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 0.8rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(244, 236, 220, 0.12);
  transition: transform 500ms var(--ease-mass);
}

.shot p,
.jarra p,
.pour figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  padding: 0.55rem 0.1rem 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shot p span {
  color: rgba(244, 236, 220, 0.72);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.shot b,
.jarra b,
.pour b {
  margin-left: auto;
  color: var(--color-oro);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
}

.bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 3.2rem;
}

.bar-row h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.jarras,
.pours {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(42vw, 11.5rem);
  gap: 0.85rem;
  margin-top: 1.15rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.35rem 1.25rem 0.9rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  scrollbar-width: none;
}

.jarras::-webkit-scrollbar,
.pours::-webkit-scrollbar {
  display: none;
}

.jarra,
.pour {
  scroll-snap-align: center;
}

.pour img {
  aspect-ratio: 1;
  object-position: center;
}

.pour figcaption {
  font-size: 0.68rem;
}

.bar-note {
  margin-top: 0.85rem;
  color: rgba(244, 236, 220, 0.8);
  font-weight: 300;
}

.bar-note b {
  color: var(--color-oro);
  font-weight: 800;
}

@media (min-width: 800px) {
  .bar-head,
  .bar-row,
  .bar-note,
  .mix {
    padding-inline: 3rem;
  }

  .byob {
    padding-inline: 3rem;
  }

  .byob-grid {
    grid-template-columns: minmax(8rem, 0.7fr) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .jarras,
  .pours {
    max-width: 64rem;
    margin-inline: auto;
    padding-inline: 3rem;
    scroll-padding-inline: 3rem;
  }

  .mix {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .jarras,
  .pours {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    overflow: visible;
  }

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

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

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot:hover img,
  .jarra:hover img,
  .pour:hover img {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shot,
  .jarra,
  .shot img,
  .jarra img,
  .pour img {
    transform: none;
    transition: none;
  }
}
