/* Hoptics — structure stylesheet.
   Colours, fonts and spacing are tokens in :root so the look can be changed in one place. */
:root {
  --dark: #1a0e0e;
  --dark-2: #241515;
  --gold: #c8922a;
  --logo-yellow: #f5e171; /* sampled from the header logo */
  --cream: #f2e8d5;
  --parchment: #e8d9be;
  --burgundy: #6b1111;
  --muted: #6b5b4e;
  --ink: #2a1c14;

  --font-body: 'Lora', Georgia, serif;
  --font-display: 'Raleway', system-ui, sans-serif;
  --nav-h: 60px;
  --radius: 6px;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.7; color: var(--ink); background: var(--dark); }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.small { font-size: .9rem; }

/* Navbar */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(26, 14, 14, .96); border-bottom: 1px solid rgba(200, 146, 42, .25); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); }
.navbar-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--cream); }
.navbar-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav-link { font-family: var(--font-display); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: rgba(242, 232, 213, .75); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link.active { color: var(--logo-yellow); border-bottom-color: var(--logo-yellow); }
.navbar-toggler { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.navbar-toggler span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; }
.page-content { padding-top: var(--nav-h); }

@media (min-width: 992px) { .navbar__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; } .navbar-brand:not(.navbar-brand--logo) { display: none; } .navbar-nav { grid-column: 2; justify-content: center; } .navbar-brand { grid-column: 1; } .navbar { padding: 6px 0; } .navbar .container { max-width: none; padding: 0 24px; } }
@media (max-width: 991px) {
  .navbar-toggler { display: block; }
  .navbar-nav { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--dark); border-bottom: 1px solid rgba(200, 146, 42, .25); padding: .5rem 16px 1rem; }
  .navbar-nav.is-open { display: flex; }
  .nav-link { display: block; padding: .8rem 0; }
}

/* Hero */
.hero { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(135deg, var(--burgundy), var(--dark)); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(26, 14, 14, .55); }
.hero__content { position: relative; padding: 4rem 16px; color: var(--cream); }
.hero__eyebrow { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: var(--gold); margin-bottom: .75rem; }
.hero__heading { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.1; margin: 0; }
.hero__text { max-width: 560px; margin: 1rem auto 1.5rem; color: rgba(242, 232, 213, .8); }

/* Buttons */
.btn-primary { display: inline-block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; text-decoration: none; color: var(--dark); background: var(--gold); padding: .8rem 1.6rem; border-radius: var(--radius); transition: filter .15s; }
.btn-primary:hover { filter: brightness(1.12); }

/* Sections + cards */
.section { padding: 4rem 0; }
.section--light { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--dark); color: rgba(242, 232, 213, .88); }
.section-heading { margin: 0 0 1rem; font-weight: 400; }
.section-heading-upper { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; color: var(--gold); }
.section-heading-lower { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; color: var(--burgundy); }
.section--dark .section-heading-lower { color: var(--cream); }
.card { background: #fff; border: 1px solid var(--parchment); border-radius: var(--radius); padding: 2rem; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.card--dark { background: var(--dark-2); border-color: rgba(200, 146, 42, .25); color: rgba(242, 232, 213, .88); }
.card--center { text-align: center; } .card--medium { max-width: 760px; margin: 0 auto; }
.card--full { height: 100%; display: flex; flex-direction: column; }
.card__foot { margin-top: auto; padding-top: 1rem; }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.promise { max-width: 620px; margin: 0 auto; color: rgba(242, 232, 213, .8); }

.stats { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.stat-card { flex: 1 1 150px; max-width: 200px; text-align: center; padding: 1.2rem .8rem; background: #fff; border: 1px solid var(--parchment); border-radius: var(--radius); }
.stat-number { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--burgundy); }
.stat-label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0; }
.stat-sub { font-size: .85rem; color: var(--muted); }

/* Beers */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.filter { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; background: transparent; color: var(--cream); border: 1px solid rgba(200, 146, 42, .5); border-radius: 999px; padding: .45rem 1.1rem; cursor: pointer; }
.filter.is-active, .filter:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.tap-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tap-card { display: flex; flex-direction: column; background: var(--dark-2); border: 1px solid rgba(200, 146, 42, .25); border-radius: var(--radius); overflow: hidden; }
.tap-card__img-wrap { aspect-ratio: 3 / 4; background: var(--parchment); }
.tap-card__img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.tap-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.tap-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.badge-tag { font-family: var(--font-display); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding: .15rem .6rem; border-radius: 999px; background: rgba(200, 146, 42, .18); color: var(--gold); }
.badge-tag--type { background: var(--gold); color: var(--dark); }
.badge-tag--allergen { background: rgba(242, 232, 213, .12); color: var(--cream); }
.tap-card__brewery { margin: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; color: var(--gold); }
.tap-card__name { margin: .1rem 0 .3rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); line-height: 1.25; }
.tap-card__abv, .tap-price { font-family: var(--font-display); font-weight: 700; color: var(--cream); margin-right: .8rem; }
.tap-card__notes { font-size: .92rem; line-height: 1.55; margin: .6rem 0 .2rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tap-card__notes.is-open { display: block; }
.tap-read-more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--gold); font-family: var(--font-display); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.tap-card__footer { margin-top: auto; padding-top: .8rem; }
.soon-head { margin-top: 3.5rem; }
.footnote { margin: 3rem 16px 0; font-style: italic; color: rgba(242, 232, 213, .55); }
.other-cat { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .15em; font-size: .9rem; color: var(--burgundy); margin: 1.5rem 0 .5rem; }
.other-list { list-style: none; margin: 0; padding: 0; text-align: left; }
.other-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dotted var(--muted); }

/* Menu */
.menu-card { max-width: 820px; margin: 0 auto; background: var(--cream); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.menu-card__head { text-align: center; padding: 2rem 1.5rem 1rem; background: var(--burgundy); color: var(--cream); }
.menu-card__head h3 { font-family: var(--font-display); margin: .5rem 0 0; font-size: 2rem; }
.badge { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--gold); }
.menu-note { font-size: .9rem; opacity: .8; }
.menu-body { padding: 1.5rem; }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: .6rem 0; }
.menu-name { font-family: var(--font-display); font-weight: 700; }
.menu-price { font-family: var(--font-display); font-weight: 700; color: var(--burgundy); }
.menu-desc { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); }
.menu-divider { height: 1px; background: var(--gold); opacity: .5; margin: 1rem 0; }
.menu-extras { padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--parchment); font-size: .92rem; color: var(--muted); }

/* Opening hours */
.hours-table { list-style: none; max-width: 520px; margin: 0 auto 2rem; padding: 0; text-align: left; }
.hours-row { display: flex; padding: .7rem 0; border-bottom: 1px solid rgba(200, 146, 42, .25); }
.hours-row span { margin-left: auto; color: var(--cream); }
.note { font-style: italic; color: rgba(242, 232, 213, .6); margin-bottom: 2rem; }
address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: #0f0808; color: rgba(242, 232, 213, .7); text-align: center; padding: 2.5rem 0; }
.site-footer p { margin: 0 0 .6rem; }
.footer-legal { opacity: .6; }

/* Social links */
.socials { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: 50%; border: 1px solid currentColor; color: var(--burgundy); text-decoration: none; font-family: var(--font-display); font-size: .8rem; transition: background .15s, color .15s; }
.socials a:hover { background: var(--burgundy); color: var(--cream); }
.socials--home { margin: 0 auto 4rem; width: 100%; } /* 4rem above (section padding) = 4rem below, so the row sits midway between panel top and the boxes */
.socials--home a { min-width: 60px; height: 60px; } .socials--home svg { width: 30px; height: 30px; }
.socials--footer { margin: 1rem 0 .5rem; }
.socials--footer a { color: var(--cream); } .socials--footer a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* Hero image modes: standard (default), fixed (stays put while the page scrolls), parallax (moves slower than the page) */
.hero__img--fixed { background-size: cover; background-position: center; background-attachment: fixed; }
.hero__img--parallax { height: 130%; top: -15%; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero__img--parallax { height: 100%; top: 0; transform: none !important; } .hero__img--fixed { background-attachment: scroll; } }
@media (hover: none) and (pointer: coarse) { .hero__img--fixed { background-attachment: scroll; } } /* phones ignore "fixed" anyway */

/* Logo: circular, left of the nav and centred in the footer */
.site-logo { display: block; border-radius: 50%; object-fit: cover; background: var(--dark); }
.site-header-img { display: block; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.navbar-brand--logo { min-width: 0; max-width: calc(100% - 64px); }
.nav-link { white-space: nowrap; }
@media (min-width: 992px) { .site-header-img { max-width: max(180px, calc(100vw - 690px)); } } /* leaves room for the menu; picture shrinks, never squashes */
@media (min-width: 992px) { .navbar-brand--logo { max-width: 100%; } }
.site-logo--footer { margin: 0 auto 1.2rem; border: 3px solid rgba(242, 232, 213, .6); }
.navbar-brand--logo { display: inline-flex; align-items: center; line-height: 0; }

/* Wine cards with no image yet */
.tap-card__img-wrap--empty { display: flex; align-items: center; justify-content: center; background: var(--dark); border-bottom: 1px solid rgba(200, 146, 42, .25); color: rgba(242, 232, 213, .35); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; }

.site-footer-wordmark { display: block; width: auto; max-width: 100%; margin: 0 auto 1.2rem; object-fit: contain; }

/* Wine photos fill the frame (a slightly short picture is scaled up and trimmed at the sides instead of leaving bands top and bottom) */
.tap-card__img-wrap--fill { background: var(--dark); }
.tap-card__img-wrap--fill img { object-fit: cover; object-position: center; }

/* Wine cards: always reserve two lines for the producer so the wine names line up across cards */
.tap-card--wine .tap-card__brewery { min-height: 2.9em; line-height: 1.45; }
.tap-card--wine .tap-card__brewery { margin-bottom: .5rem; }

/* Wine cards: always reserve two lines for the wine name so the rows below line up across cards */
.tap-card--wine .tap-card__name { min-height: 2.5em; }

/* Wine cards: ABV + price line at 15.5px (body text is 16.8px) */
.tap-card--wine .tap-card__abv, .tap-card--wine .tap-price { font-size: 15.5px; }

/* Wine cards: tasting notes in the same colour as the producer line */
.tap-card--wine .tap-card__notes { color: var(--gold); }

/* Events posters: A-format frames, 3 across (centred rows), 1 across on phones */
.poster-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.poster { margin: 0; flex: 0 0 calc((100% - 3rem) / 3); aspect-ratio: 1 / 1.4142; background: var(--dark); border: 1px solid rgba(200, 146, 42, .25); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); overflow: hidden; }
.poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .poster { flex-basis: min(100%, 420px); } }

/* About page: optional image at the top of each card */
.card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 2px); margin: 0 0 1.5rem; }

/* Food page: two 16:9 pictures, one above the other */
.food-pics { display: flex; flex-direction: column; gap: 1.5rem; }
.food-pic { margin: 0; aspect-ratio: 16 / 9; background: var(--dark); border: 1px solid rgba(200, 146, 42, .25); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); overflow: hidden; border-radius: var(--radius); }
.food-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
