:root {
  --bg: #050505;
  --cream: #f5efe5;
  --cream2: #fffaf2;
  --ink: #111;
  --muted: #6f6a63;
  --gold: #e7d8bd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  max-width: 980px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #101010 0%, #050505 56%, #000 100%);
}

.hero {
  padding: 26px 18px 8px;
  text-align: center;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  font-style: italic;
  letter-spacing: 0;
  line-height: 0.9;
}

.subbrand {
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 34px;
}

.rule,
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
  letter-spacing: 0;
}

.rule span,
.section-title span {
  display: block;
  width: min(20vw, 140px);
  height: 1px;
  background: var(--gold);
}

.rule strong {
  font-size: 52px;
}

.hero p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
}

.tower-wrap {
  display: grid;
  place-items: center;
  padding: 8px 18px 34px;
  overflow: visible;
}

.tower-map {
  position: relative;
  width: min(82vw, 620px);
  aspect-ratio: 2 / 3;
}

.tower-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.callout {
  position: absolute;
  z-index: 2;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 10px 22px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff7e8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.callout::after {
  position: absolute;
  top: 50%;
  width: 96px;
  height: 0;
  border-top: 1px solid var(--gold);
  content: "";
}

.tap1 {
  top: 56%;
  left: 5%;
}

.tap1::after {
  left: 100%;
}

.tap2 {
  top: 23%;
  left: 35%;
}

.tap2::after,
.tap3::after {
  top: 100%;
  left: 50%;
  width: 0;
  height: 64px;
  border-top: 0;
  border-left: 1px solid var(--gold);
}

.tap3 {
  top: 23%;
  left: 65%;
}

.tap4 {
  top: 56%;
  left: 95%;
}

.tap4::after {
  right: 100%;
}

.beer-section {
  padding: 20px min(4vw, 64px) 28px;
  background: var(--cream);
  color: var(--ink);
}

.section-title {
  margin: 4px 0 20px;
  color: var(--ink);
}

.section-title strong {
  font-size: 34px;
}

.section-title span {
  background: #b9aa92;
}

.beer-card {
  display: grid;
  grid-template-columns: 108px 136px 1fr 44px;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: var(--cream2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  color: inherit;
  scroll-margin: 24px;
  text-decoration: none;
}

.tap-number {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #050505;
  color: white;
}

.tap-number small {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.tap-number strong {
  display: block;
  font-size: 58px;
  line-height: 0.85;
}

.label,
.placeholder {
  width: 136px;
  height: 92px;
  border-radius: 8px;
}

.label {
  object-fit: cover;
}

.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  background: #e9e1d6;
  color: #aaa096;
}

.lock-shackle {
  position: absolute;
  top: 20px;
  width: 34px;
  height: 30px;
  border: 5px solid #aaa096;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.lock-body {
  position: absolute;
  top: 44px;
  width: 52px;
  height: 34px;
  border-radius: 7px;
  background: #aaa096;
}

.beer-info {
  min-width: 0;
}

.beer-info h2 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.02;
}

.beer-info p {
  margin: 2px 0;
  font-size: 20px;
}

.meta {
  font-weight: 650;
}

.arrow {
  padding-right: 12px;
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
  text-decoration: none;
}

.lock-text {
  margin-right: 10px;
  color: #777;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.unavailable {
  color: #777;
}

footer {
  padding: 24px;
  color: var(--gold);
  font-size: 20px;
  text-align: center;
}

@media (max-width: 700px) {
  .page {
    max-width: none;
  }

  .hero {
    padding-top: 24px;
  }

  .brand {
    font-size: 54px;
  }

  .subbrand {
    font-size: 24px;
  }

  .rule {
    gap: 18px;
    margin-top: 20px;
  }

  .rule strong {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .tower-wrap {
    padding: 16px 10px 28px;
  }

  .tower-map {
    width: min(96vw, 460px);
  }

  .callout {
    padding: 7px 12px;
    font-size: 13px;
  }

  .callout::after {
    width: 76px;
  }

  .tap1 {
    top: 56%;
    left: 6%;
  }

  .tap2 {
    top: 20%;
    left: 36%;
  }

  .tap3 {
    top: 20%;
    left: 64%;
  }

  .tap4 {
    top: 56%;
    left: 94%;
  }

  .tap2::after,
  .tap3::after {
    width: 0;
    height: 44px;
  }

  .beer-section {
    padding-inline: 12px;
  }

  .section-title strong {
    font-size: 25px;
  }

  .beer-card {
    grid-template-columns: 74px 88px 1fr 38px;
    gap: 10px;
    min-height: 96px;
  }

  .tap-number small {
    font-size: 13px;
  }

  .tap-number strong {
    font-size: 44px;
  }

  .label,
  .placeholder {
    width: 88px;
    height: 68px;
  }

  .lock-shackle {
    top: 13px;
    width: 26px;
    height: 24px;
    border-width: 4px;
  }

  .lock-body {
    top: 34px;
    width: 40px;
    height: 27px;
  }

  .beer-info h2 {
    font-size: 21px;
  }

  .beer-info p {
    font-size: 14px;
  }

  .arrow {
    padding-right: 8px;
    font-size: 36px;
  }

  .lock-text {
    margin-right: 6px;
    font-size: 11px;
  }
}
