:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --color-paper: #f5d985;
  --color-ink: #3b393c;
  --color-on-dark: #ffe6a0;
  --color-muted: #6e6048;
  --color-brand: #df584d;
  --color-accent: #28618f;
  --color-cream: #fff0c2;
  --content-max: 76rem;
  background: var(--color-paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body { margin: 0; }

.preparation {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: .75rem;
  padding: 2rem;
  text-align: center;
  color: var(--color-on-dark);
  background: var(--color-ink);
}

.preparation h1 { margin: 0; font-size: clamp(2.5rem, 10vw, 6rem); letter-spacing: -.055em; }
.preparation p { margin: 0; color: #d7bf80; }

.site-header {
  border-bottom: 1px solid #f5d98524;
  box-shadow: 0 12px 28px #17161924;
}

.site-header__wordmark {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: cover;
  object-position: 50% 39%;
  border-radius: 50%;
}

.menu-toggle span { height: 2px; background: var(--color-on-dark); }
.desktop-nav a { color: var(--color-on-dark); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nav-drawer { background: #302e31; }
.nav-drawer__brand { width: 10rem; height: 13rem; object-fit: cover; object-position: center; }
.nav-drawer__links a { font-weight: 650; letter-spacing: .01em; }

.section-nav {
  background: #f8e6ae;
  border-bottom-color: #3b393c30;
}

.section-nav__scroll { --active-bg: var(--color-ink); --active-ink: var(--color-on-dark); }
.section-nav a { color: #4a4541; font-weight: 750; }
.section-nav a.is-active { box-shadow: inset 0 0 0 1px #ffffff12; }

.hero {
  min-height: min(52rem, calc(100svh - var(--dock-height)));
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 24%, #e6b957 0 2px, transparent 3px),
    radial-gradient(circle at 83% 19%, #e6b957 0 1px, transparent 2px),
    radial-gradient(circle at 67% 76%, #e6b957 0 2px, transparent 3px),
    linear-gradient(112deg, #df584d 0 5px, transparent 5px 98%),
    linear-gradient(71deg, transparent 0 94%, #28618f 94% 95%, transparent 95%),
    #3b393c;
  background-size: 91px 91px, 127px 127px, 167px 167px, 100% 100%, 100% 100%, auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid #f5d98566;
  pointer-events: none;
}

.hero--brand-only .hero__identity {
  align-items: center;
  justify-content: center;
  min-height: min(52rem, calc(100svh - var(--dock-height)));
  gap: .7rem;
  margin: 0;
  padding: clamp(2.2rem, 7vw, 5rem) 1.5rem;
  text-align: center;
}

.hero--brand-only .hero__wordmark-image {
  width: min(67vw, 24rem);
  max-height: min(58svh, 34rem);
  object-fit: contain;
  filter: none;
}

.hero__eyebrow {
  order: -1;
  margin: 0;
  color: #e5bd5f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero__intro { max-width: 37ch; font-size: clamp(1.02rem, 2.4vw, 1.25rem); line-height: 1.55; }
.hero__availability { margin: .35rem 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #b8cfe0; }

.menu-section {
  --section-bg: #f5d985;
  --capsule-bg: #3b393c;
  --capsule-ink: #ffe6a0;
  position: relative;
  color: var(--color-ink);
}

.menu-section::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 1px;
  background: currentColor;
  opacity: .2;
}

.menu-section__title,
.category__title {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.menu-section__title {
  max-width: 16ch;
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: .03em;
}

.category__title { font-weight: 500; letter-spacing: .08em; }
.category__header { border-bottom-color: currentColor; }
.category__note { font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.menu-item { border-bottom-color: #3b393c26; }
.menu-item__name { font-weight: 680; }
.menu-item__prices { font-weight: 800; }
.menu-item__description { font-weight: 560; }
.association-note { border-left-width: 3px; background: #fff3cb4d; padding: .65rem .8rem; }
.association-note__label { text-transform: uppercase; letter-spacing: .08em; }
.category__empty {
  margin: 1.25rem 0 0;
  max-width: 36ch;
  padding: 1rem 1.1rem;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
.menu-section--botanear .category__header,
.menu-section--comer .category__header,
.menu-section--cocteleria .category__header,
.menu-section--sin-alcohol .category__header { display: none; }

.menu-section--botanear { --section-bg: #f5d985; }
.menu-section--comer { --section-bg: #fae9b6; }
.menu-section--cervezas {
  --section-bg: #3b393c;
  --capsule-bg: #f5d985;
  --capsule-ink: #3b393c;
  --color-muted: #cdbd91;
  color: #ffe6a0;
}
.menu-section--cervezas .category__header,
.menu-section--cervezas .menu-item { border-color: #ffe6a02d; }
.menu-section--cervezas .menu-item__description { color: #cdbd91; }

.menu-section--cocteleria {
  --section-bg: #c95047;
  --capsule-bg: #3b393c;
  --capsule-ink: #ffe6a0;
  --color-muted: #3b393c;
  color: #2e2c2e;
}
.menu-section--cocteleria::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid #2f5f89aa;
  pointer-events: none;
}
.menu-section--cocteleria .menu-section__inner { position: relative; }

.menu-section--destilados { --section-bg: #f1cd69; }
.menu-section--destilados .category-nav { border-color: #3b393c35; }
.menu-section--destilados .category-nav a { background: #fae7aa; border-color: #3b393c2e; }
.menu-section--destilados .category-nav a.is-active { background: #3b393c; color: #ffe6a0; }
.menu-section--sin-alcohol {
  --section-bg: #dce9f1;
  --capsule-bg: #2c628e;
  --capsule-ink: #f7e6ad;
  --color-muted: #566b7a;
}

.category__price-headings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .85rem;
  padding: .65rem 0 .15rem;
  color: var(--color-muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.category__price-heading-labels,
.menu-item__prices--columns {
  display: grid;
  grid-template-columns: 5.2rem 5.7rem;
  gap: .55rem;
  text-align: right;
}

.contact { position: relative; overflow: hidden; background: #302e31; }
.contact::before {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -7rem;
  top: -8rem;
  border: 2px solid #28618f;
  transform: rotate(18deg);
}
.contact__inner { min-height: 26rem; position: relative; }
.contact__wordmark { width: min(55vw, 14rem); }
.contact__title { font-family: Georgia, "Times New Roman", serif; letter-spacing: .08em; text-transform: uppercase; }
.contact__note { max-width: 34ch; margin: 0; color: #d5c59a; line-height: 1.7; }

@media (max-width: 35rem) {
  .category__price-heading-labels,
  .menu-item__prices--columns { grid-template-columns: 4.35rem 4.8rem; gap: .35rem; }
  .menu-item__top { gap: .45rem; }
  .menu-item__name { font-size: .94rem; }
  .menu-item__prices { font-size: .86rem; }
}

@media (min-width: 48rem) {
  .site-header__wordmark { width: 3.5rem; height: 3.5rem; }
  .hero--brand-only .hero__identity { min-height: min(52rem, calc(100svh - var(--dock-height))); }
  .menu-section { padding-block: 5rem 6rem; }
  .menu-section__title { margin-bottom: 2.8rem; }
  .categories { gap: 4rem; }
  .contact__inner { min-height: 30rem; }
}

@media (min-width: 64rem) {
  .menu-section__layout--text { max-width: 58rem; }
  .menu-section--destilados .menu-section__layout--text { max-width: 64rem; }
  .menu-section--destilados .categories { max-width: 58rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
