:root {
  --ink: #15110d;
  --ink-2: #1e1913;
  --ink-3: #2a231b;
  --gold: #c9a15a;
  --gold-2: #e2bf7a;
  --cream: #f4ecdc;
  --cream-2: #e9dcc0;
  --muted: #b3a68f;
  --rust: #b4532a;
  --chile: #5d8a2f;
  --line: rgba(201, 161, 90, .28);
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Lora", Georgia, serif;
  --script: "Yellowtail", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--cream); font: 17px/1.75 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-2); }
section { scroll-margin-top: 70px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.script { font-family: var(--script); color: var(--gold); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin-bottom: .3rem; }
.sub { color: var(--muted); max-width: 620px; margin: 1rem auto 0; }
.section-head { margin-bottom: 3.5rem; }
.section-head h2::after { content: ""; display: block; width: 70px; height: 2px; background: var(--gold); margin: 1.1rem auto 0; }

/* Buttons */
.btn { display: inline-block; font: 500 .9rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--gold); padding: 1.05rem 2rem; border: 2px solid var(--gold); transition: .25s; }
.btn:hover { background: transparent; color: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-sm { padding: .7rem 1.2rem; font-size: .8rem; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled, .nav.open { background: rgba(21, 17, 13, .96); box-shadow: 0 1px 0 var(--line); }
.nav-inner { width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); }
.brand-mark { width: 38px; height: 38px; color: var(--gold); }
.brand-text b { display: block; font: 600 1.3rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.brand-text small { display: block; font: 400 .66rem/1.6 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { font: 500 .85rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-decoration: none; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--cream); transition: .25s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px;
  background:
    radial-gradient(ellipse at 72% 45%, rgba(201,161,90,.22), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(180,83,42,.18), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px),
    var(--ink); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  background: linear-gradient(135deg, var(--ink-2) 25%, transparent 25%) -20px 0/40px 40px, linear-gradient(225deg, var(--ink-2) 25%, transparent 25%) -20px 0/40px 40px; }
.hero-inner { width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); letter-spacing: .03em; line-height: .95; }
.hero h1 span { color: var(--gold); }
.rule { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0; color: var(--gold); max-width: 360px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rule svg { width: 26px; height: 26px; }
.lead { font-size: 1.12rem; color: #d9cdb6; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-art { position: relative; justify-self: center; width: min(420px, 100%); }
.hero-art img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.scroll-cue { position: absolute; left: 50%; bottom: 58px; width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Intro */
.intro { background: var(--ink-2); padding: 7rem 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature { text-align: center; padding: 2.6rem 2rem; border: 1px solid var(--line); position: relative; transition: transform .3s, border-color .3s; }
.feature:hover { transform: translateY(-6px); border-color: var(--gold); }
.feature .icon { width: 86px; height: 86px; margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--gold); }
.feature .icon svg { width: 44px; height: 44px; }
.feature h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.feature p { color: var(--muted); font-size: .98rem; }

/* Beers */
.beers { padding: 7rem 0; background: var(--ink); }
.beer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
.beer { display: grid; grid-template-columns: 220px 1fr; background: var(--ink-2); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.beer:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.beer-img { background: #fff; display: flex; align-items: center; overflow: hidden; }
.beer-img img { transition: transform .5s; }
.beer:hover .beer-img img { transform: scale(1.07); }
.beer-body { padding: 1.8rem 1.8rem 1.6rem; }
.beer-meta { display: flex; justify-content: space-between; gap: 1rem; font: 500 .78rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.abv { color: var(--cream); background: var(--rust); padding: .35rem .6rem; letter-spacing: .1em; white-space: nowrap; }
.beer h3 { font-size: 1.9rem; margin: .8rem 0 .7rem; }
.beer p { color: var(--muted); font-size: .97rem; }
.notes { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.notes li { font: 400 .72rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: .45rem .7rem; color: var(--cream-2); }

/* Quote band */
.band { padding: 7rem 0; background: linear-gradient(rgba(21,17,13,.62), rgba(21,17,13,.72)), url(img/baca-house.jpg) center 45% / cover no-repeat, var(--ink-3); border-block: 1px solid var(--line); }
.band blockquote, .band .btn { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.band-hop { width: 46px; height: 46px; color: var(--gold); margin: 0 auto 1.4rem; }
.band blockquote { font: italic 400 clamp(1.4rem, 3vw, 2.1rem)/1.5 var(--body); max-width: 860px; margin: 0 auto 2.2rem; }

/* Menus (shared) */
.pour, .food { padding: 7rem 0; }
.pour { background: var(--ink-2); }
.food { background: var(--ink); }
.pour-grid, .food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.menu-card { position: relative; background: var(--cream); color: var(--ink); padding: 2.8rem 2.6rem 2.4rem; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.menu-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(21,17,13,.25); pointer-events: none; }
.menu-title { display: flex; align-items: center; gap: .8rem; font-size: 1.8rem; color: var(--ink); }
.menu-title svg { width: 34px; height: 34px; color: var(--rust); flex: none; }
.menu-note { font-family: var(--script); color: var(--rust); font-size: 1.3rem; margin: .2rem 0 1.4rem; }
.menu-list { list-style: none; }
.menu-list li { padding: .9rem 0; border-bottom: 1px dashed rgba(21,17,13,.2); }
.menu-list li:last-child { border-bottom: 0; }
.row { display: flex; align-items: baseline; gap: .6rem; }
.name { font: 600 1.08rem/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.dots { flex: 1; border-bottom: 2px dotted rgba(21,17,13,.3); transform: translateY(-4px); min-width: 20px; }
.price { font: 600 1.08rem/1 var(--head); color: var(--rust); white-space: nowrap; }
.menu-list p { font-size: .93rem; color: #5b4f3e; margin-top: .2rem; }
.hot { font: 500 .62rem/1 var(--head); letter-spacing: .14em; background: var(--chile); color: #fff; padding: .25rem .45rem; vertical-align: middle; font-style: normal; }
.guest-tag { display: inline-block; font: 500 .7rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; background: var(--rust); color: var(--cream); padding: .5rem .8rem; margin-bottom: 1rem; }
.guest-tag.gold { background: var(--gold); color: var(--ink); }
.disclaimer { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(21,17,13,.2); font-size: .85rem; font-style: italic; color: #6b5d48; }

/* Signature pizza */
.signature { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; padding: 2.5rem; border: 1px solid var(--line); background: radial-gradient(circle at 15% 50%, rgba(93,138,47,.18), transparent 50%), var(--ink-2); }
.sig-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sig-copy h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .9rem; }
.sig-copy p { color: var(--muted); max-width: 560px; }
.sig-copy .sig-price { font: 600 2rem/1 var(--head); color: var(--gold); margin-top: 1.2rem; }

/* History */
.history { padding: 7rem 0; background: linear-gradient(var(--ink-2), var(--ink)); }
.history-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; margin-bottom: 4rem; }
.archive-frame { position: relative; padding: 14px; background: var(--cream-2); box-shadow: 0 20px 50px rgba(0,0,0,.5); transform: rotate(-1.5deg); }
.archive-frame svg { width: 100%; display: block; filter: sepia(.35); }
.archive-caption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(21,17,13,.75); color: var(--cream-2); font: 400 .72rem/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; padding: .5rem .8rem; }
.archive-note { margin-top: 1.8rem; font-size: .92rem; color: var(--muted); }
.archive-note a { display: inline-block; margin-top: .5rem; font: 500 .82rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.history-copy h3 { font-size: 2rem; margin-bottom: 1.2rem; color: var(--gold-2); }
.history-copy p { margin-bottom: 1.1rem; color: #ddd1bb; }
.history-copy strong, .elfego strong { color: var(--cream); }

.elfego { background: var(--cream); color: var(--ink); padding: 3.2rem clamp(1.6rem, 5vw, 4rem); position: relative; margin-bottom: 4.5rem; }
.elfego::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(21,17,13,.25); pointer-events: none; }
.elfego .script { color: var(--rust); }
.elfego h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.4rem; }
.elfego h3 span { font-size: .5em; color: #7a6a52; letter-spacing: .14em; vertical-align: middle; margin-left: .5rem; }
.elfego p { margin-bottom: 1rem; color: #3a3025; }
.elfego strong { color: var(--ink); }

.timeline { list-style: none; position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 2.4rem; padding: 1rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 104px; top: 1.45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); }
.yr { font: 600 1.35rem/1.4 var(--head); color: var(--gold); text-align: right; padding-right: 1.4rem; }
.timeline p { color: #d6cab3; }
.sources { margin-top: 3.5rem; text-align: center; font-size: .85rem; color: var(--muted); }
.sources a { color: var(--gold); }

/* Visit */
.visit { padding: 7rem 0; background: var(--ink-2); border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0 2.4rem; }
.info h4 { color: var(--gold); font-size: 1rem; letter-spacing: .18em; margin-bottom: .6rem; }
.info p { color: #ddd1bb; font-size: .98rem; }
.map { border: 8px solid var(--ink-3); outline: 1px solid var(--gold); min-height: 380px; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.4) sepia(.2); }

/* Footer */
.footer { background: #0e0b08; padding: 3.5rem 0 2.4rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.foot-links a { font: 500 .8rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.fine { font-size: .8rem; color: #7f7360; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sig-art img, .scroll-cue span { animation: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .beer { grid-template-columns: 1fr; }
  .beer-img { justify-content: center; }
  .beer-img img { max-height: 320px; width: auto; }
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(21,17,13,.98); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav.open .nav-links { max-height: 420px; }
  .nav-links a:not(.btn) { padding: 1.1rem 0; width: 100%; text-align: center; border-top: 1px solid rgba(201,161,90,.12); }
  .nav-links .btn { margin: 1rem 0 1.4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .rule, .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { width: min(300px, 80%); }
  .scroll-cue { display: none; }
  .features, .pour-grid, .food-grid, .history-intro, .visit-grid { grid-template-columns: 1fr; }
  .beer-grid { grid-template-columns: 1fr; }
  .beer { grid-template-columns: 200px 1fr; }
  .signature { grid-template-columns: 1fr; text-align: center; }
  .sig-art { width: 220px; margin: 0 auto; }
  .sig-copy p { margin-inline: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .intro, .beers, .pour, .food, .history, .visit, .band { padding: 5rem 0; }
  .beer { grid-template-columns: 1fr; }
  .menu-card { padding: 2.2rem 1.5rem 1.8rem; }
  .name, .price { font-size: .98rem; }
  .info { grid-template-columns: 1fr; gap: 1.4rem; }
  .timeline::before { left: 70px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 1.6rem; }
  .timeline li::before { left: 64px; }
  .yr { font-size: 1.05rem; padding-right: .9rem; }
}
