/* Web Beer Menu -- a responsive, embeddable (iframe-friendly) version of
   the TV beer display. Same black/white/gold identity, but built with
   fluid units and CSS Grid auto-fit instead of the TV display's
   fixed-pixel, JS-measured layout, since this needs to adapt to whatever
   width it's embedded at (a sidebar, a full-width section, a phone
   screen) rather than fill one known screen size. */

@font-face {
    font-family: 'Norwester';
    src: url('../fonts/norwester.woff') format('woff'),
         url('../fonts/norwester.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Anonymous Pro';
    src: url('../fonts/AnonymousPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Anonymous Pro';
    src: url('../fonts/AnonymousPro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Anonymous Pro';
    src: url('../fonts/AnonymousPro-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Anonymous Pro';
    src: url('../fonts/AnonymousPro-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

:root { --gold: #c9a24b; }

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.web-menu {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(16px, 4vw, 40px);
}

.web-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5em;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: clamp(10px, 2vw, 18px);
    margin-bottom: clamp(16px, 3vw, 28px);
}
.web-menu-header h1 {
    margin: 0;
    font-weight: 400;
    color: #fff;
    font-family: 'Norwester', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}
.web-menu-header .subtitle {
    margin: 0.15em 0 0;
    color: #fff;
    opacity: 0.75;
    font-family: 'Anonymous Pro', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 1.6vw, 0.9rem);
}
.web-menu-header .restaurant-name {
    color: #fff;
    opacity: 0.85;
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
}

.web-category { margin-bottom: clamp(20px, 4vw, 36px); }
.web-category-title {
    color: #fff;
    font-family: 'Norwester', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 0.35em;
    margin: 0 0 0.7em;
}

.web-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1em 2em;
}

.web-item { padding-bottom: 0.2em; }
.web-item-name {
    display: flex;
    align-items: center;
    gap: 0.6em;
    color: #fff;
    font-family: 'Norwester', Georgia, serif;
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    line-height: 1.25;
}
.web-tap-badge {
    flex: 0 0 auto;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    padding: 0.05em 0.4em;
    font-family: 'Anonymous Pro', monospace;
    font-size: 0.6em;
    font-weight: bold;
}
.web-item-sub {
    color: var(--gold);
    font-family: 'Anonymous Pro', monospace;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem);
    margin-top: 0.2em;
}
.web-item-desc {
    color: var(--gold);
    opacity: 0.85;
    font-style: italic;
    font-family: 'Anonymous Pro', monospace;
    font-size: clamp(0.78rem, 1.7vw, 0.88rem);
    margin-top: 0.2em;
}
.web-item-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em 1.1em;
    margin-top: 0.35em;
    font-family: 'Anonymous Pro', monospace;
}
.web-price-line {
    color: var(--gold);
    font-weight: bold;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem);
    white-space: nowrap;
}

.web-menu-empty {
    color: #fff;
    opacity: 0.6;
    font-size: 1.1rem;
    text-align: center;
    padding: 3em 1em;
}

.web-menu-footer {
    margin-top: clamp(20px, 4vw, 36px);
    padding-top: 1em;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    opacity: 0.5;
    font-size: 0.75rem;
    font-family: 'Anonymous Pro', monospace;
    text-align: center;
}
