/* The drinks section: the chalkboard on the wall and the photo next to it. */

.drinks {
  background: var(--paper);
  color: var(--ink);
}

.drinks .grid {
  align-items: start;
}

.drinks-side {
  grid-column: 1 / span 3;
  position: sticky;
  top: 120px;
  padding-top: 12px;
}

.drinks-side p {
  color: var(--ink-soft);
}

.drinks-photo {
  margin-top: 40px;
  overflow: clip;
}

.drinks-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 40% 50%;
}

.drinks-photo figcaption {
  margin-top: 10px;
  font-size: var(--t-small);
  color: var(--ink-soft);
}

.board-frame {
  grid-column: 4 / span 9;
  padding: 18px;
  background: var(--wood-frame);
  border: 3px solid var(--wood);
}

.board {
  padding: clamp(28px, 4vw, 56px);
  background: var(--slate) url("../images/slate.svg");
  color: var(--slate-chalk);
}

/* Chalk leaves small gaps on the slate. The grain is a finished image, because a live SVG filter made phones redraw the board while scrolling. */
.board-text {
  mask: url("../images/chalk-grain.webp") 0 0 / 160px 160px;
}

.board-house {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 48px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 2px solid rgba(236, 235, 227, 0.45);
  color: var(--slate-chalk-yellow);
}

.board-house h3 {
  font: 700 clamp(40px, 3.4vw, 52px)/1 var(--font-sign);
  color: var(--slate-chalk-yellow);
}

.board-house .board-table small {
  color: var(--slate-chalk-yellow);
  opacity: 0.8;
}

.board-menu {
  columns: 3;
  column-gap: 40px;
  margin-top: 36px;
}

.board-group {
  break-inside: avoid;
  margin-bottom: 40px;
}

.board-group h3 {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(236, 235, 227, 0.4);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.board-table th {
  text-align: left;
  font-weight: 600;
  padding: 7px 14px 7px 0;
  vertical-align: top;
}

.board-table small {
  display: block;
  font-weight: 500;
  font-size: var(--t-small);
  color: var(--slate-chalk-soft);
}

.board-table td {
  text-align: right;
  white-space: nowrap;
  padding: 7px 0;
  vertical-align: top;
}

@media (max-width: 1180px) {
  .board-menu {
    columns: 2;
  }
}

@media (max-width: 920px) {
  .drinks-side {
    position: static;
  }

  .drinks-photo img {
    aspect-ratio: 3 / 2;
  }

  .board-frame {
    padding: 10px;
  }

  .board {
    padding: 24px 20px;
  }

  .board-house {
    grid-template-columns: 1fr;
  }

  .board-menu {
    columns: 1;
  }
}
