/* The navigation and the two illustrated game scenes share the game's own artwork. */
.tap-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 17px;
}
.game-brand, .tap-nav nav { display: flex; align-items: center; }
.game-brand { gap: 10px; font-size: 21px; font-weight: 950; letter-spacing: -.045em; text-decoration: none; }
.game-brand img { display: block; width: 40px; height: 40px; border-radius: 11px; }
.tap-nav nav { gap: clamp(14px, 3vw, 34px); }
.tap-nav nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 800; text-decoration: none; }
.tap-nav nav a:hover, .game-brand:hover { text-decoration: underline; }
.age-mark { border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; font-size: 12px; font-weight: 900; }
.tap-hero {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  overflow: hidden;
  isolation: isolate;
  border-radius: 25px;
  color: #fff5db;
  background: #0c352b;
  margin-bottom: clamp(22px, 3.2vw, 42px);
}
.tap-hero-copy {
  z-index: 1;
  align-self: center;
  padding: clamp(28px, 4.1vw, 56px);
}
.tap-hero h1 { margin: 0; color: #fff5db; font-size: clamp(54px, 5.6vw, 78px); line-height: .93; letter-spacing: -.055em; }
.tap-hero h1 em {
  display: inline-block;
  color: #ffd16d;
  font: italic bold 1.14em/.93 Georgia, 'Times New Roman', serif;
  letter-spacing: -.065em;
}
.tap-hero p { max-width: 37ch; margin: 20px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.42; }
.tap-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.tap-actions .btn { color: #163827; background: #ffcf60; border-color: #ffcf60; border-radius: 10px; box-shadow: 0 3px 0 #895923; padding: 12px 17px; font-size: 15px; }
.tap-actions .btn.secondary { background: #fff3d6; border-color: #fff3d6; }
.tap-actions a:focus-visible { outline-color: #fff; }
.hero-demo { display: inline-flex; align-items: center; min-height: 46px; font-weight: 900; color: #fff7df; font-size: 15px; text-underline-offset: 5px; }
.tap-hero-photo, .memory-people {
  display: flex;
  position: relative;
  overflow: hidden;
  align-items: end;
  justify-content: center;
  background: #654c34 url(art/booth.jpg) center center / cover no-repeat;
}
.tap-hero-photo img, .memory-people img { width: 100%; height: auto; display: block; }
.tap-guide { scroll-margin: 20px; }
.guide-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.guide-intro h2, .memory-copy h2 { margin: 0; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.058em; line-height: 1.01; font-weight: 950; }
.guide-intro p { max-width: 34em; font-size: 16px; margin: 0; color: var(--muted); }
.tap-guide .toolbar { margin-top: 25px; }
.tap-guide .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tap-guide .beer-card h3 { min-height: auto; }
.tap-guide .quick { min-height: 44px; }
.more-beers { display: flex; margin: 24px auto 0; }
.memory-invite {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 22px;
  background: #193d31;
  color: #fff5dc;
  margin: clamp(42px, 7vw, 86px) 0 38px;
}
.memory-people { min-height: 220px; background-position: left center; }
.memory-people img { position: absolute; bottom: 0; max-height: 100%; object-fit: contain; object-position: center bottom; }
.memory-copy { padding: clamp(26px, 4vw, 48px); align-self: center; }
.memory-copy .eyebrow { display: block; margin-bottom: 9px; color: #ffd16d; }
.memory-copy h2 { font-size: clamp(34px, 4.8vw, 58px); }
.memory-copy p { max-width: 43ch; margin: 13px 0 0; }
@media (max-width: 880px) {
  .tap-hero { grid-template-columns: 1fr 1fr; }
  .tap-hero-copy { padding: 30px; }
  .tap-guide .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-intro { display: block; }
  .guide-intro p { margin-top: 10px; }
}
@media (max-width: 680px) {
  .tap-nav { padding-block: 9px; gap: 6px; }
  .game-brand { font-size: 17px; gap: 6px; }
  .game-brand img { width: 31px; height: 31px; border-radius: 8px; }
  .tap-nav nav { gap: 13px; }
  .tap-nav nav a { font-size: 13px; }
  .age-mark { font-size: 10px; padding: 3px 6px; }
  .tap-hero { display: flex; flex-direction: column; border-radius: 18px; }
  .tap-hero-photo { order: -1; height: auto; aspect-ratio: 864 / 552; flex: none; background-position: center 32%; }
  .tap-hero-photo img { width: 100%; height: auto; }
  .tap-hero-copy { width: 100%; padding: 21px 20px 24px; }
  .tap-hero h1 { font-size: clamp(43px, 8.4vw, 60px); line-height: 1.03; }
  .tap-hero h1 br { display: none; }
  .tap-hero h1 em { margin-inline-start: .09em; }
  .tap-hero p { margin-top: 9px; }
  .tap-actions { gap: 6px 15px; margin-top: 15px; }
  .tap-actions .btn, .hero-demo { font-size: 14px; }
  .tap-guide .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memory-invite { grid-template-columns: 1fr; }
  .memory-people { min-height: 0; height: auto; aspect-ratio: 640 / 404; }
  .memory-people img { width: 100%; height: auto; max-height: none; top: 0; bottom: auto; }
  .memory-copy { padding: 24px; }
}
@media (max-width: 360px) {
  .tap-nav .nav-extra { display: none; }
  .game-brand, .tap-nav nav a { white-space: nowrap; }
  .tap-nav nav { gap: 8px; }
  .tap-nav nav a { font-size: 12px; }
  .tap-actions { column-gap: 10px; }
  .tap-actions .btn { padding-inline: 10px; }
}
