@font-face {
  font-family: "Microbrew";
  src: url("/fonts/Microbrew-Soft-Three-3D.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #ffcb00;
  --yellow-2: #ffe56a;
  --black: #0d0f0e;
  --ink: #f3efe4;
  --muted: #b7b2a6;
  --line: rgba(243, 239, 228, 0.14);
  --panel: #141716;
  --font-display: "Microbrew", "Bebas Neue", Impact, sans-serif;
  --font-heading: "Bebas Neue", Impact, sans-serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(18px, 4vw, 40px);
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.has-dock { padding-bottom: 76px; }

img { max-width: 100%; height: auto; }

a { color: inherit; }

p { margin: 0 0 0.9em; }

h1, h2, h3, p { text-wrap: balance; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--yellow);
  color: var(--black);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  font-size: 1rem;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}

.lede {
  color: var(--ink);
  font-size: 1.125rem;
  max-width: 38rem;
}

.muted { color: var(--muted); }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--pad);
  background: rgba(13, 15, 14, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 48px;
}

.nav-logo img { width: 48px; height: auto; }

.nav-logo span {
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  content: "";
  position: relative;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav-menu {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 18px;
}

.nav-menu.is-open { display: grid; }

.nav-menu a {
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.nav-menu a[aria-current="page"] { color: var(--yellow); }

.nav-menu .btn { margin-top: 14px; border-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-ghost { border-color: rgba(243, 239, 228, 0.45); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-black { background: var(--black); color: var(--yellow); }
.btn-black:hover { background: #1c201e; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

@media (max-width: 719px) {
  .hero-visual img {
    max-height: 160px;
    width: auto;
    margin-inline: auto;
  }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { width: 100%; }
}

.hero {
  display: grid;
  gap: 8px;
  padding: 18px 0 10px;
}

.hero-visual { order: -1; }

.brand-line {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 6px;
}

.display-md { font-size: clamp(2rem, 5vw, 3rem); }

.tight-top { padding-top: 0; }
.tight-12 { padding-top: 12px; }
.tight-10 { padding-top: 10px; }
.gap-top { margin-top: 16px; }
.gap-top-lg { margin-top: 28px; }
.actions-center { justify-content: center; }
.caption-left { caption-side: bottom; text-align: left; padding-top: 10px; }
.beer-flat { border-top: 0; padding-top: 0; }
.beer > img { width: 100%; height: auto; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 8px 0 14px;
  max-width: 11ch;
}

.hero-visual {
  background:
    radial-gradient(ellipse at 50% 80%, rgba(255, 203, 0, 0.14), transparent 55%);
}

.hero-visual img { display: block; width: 100%; height: auto; }

.concept {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 42rem;
}

.can-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin-top: 22px;
}

.can-row a {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}

.can-row img {
  width: min(180px, 42vw);
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45));
}

.xmas {
  display: grid;
  gap: 14px;
  margin: 12px var(--pad) 0;
  padding: 18px 18px 16px;
  background: var(--panel);
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid #7a1f24;
}

.xmas h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.xmas p {
  margin: 0;
  max-width: 38rem;
}

.xmas-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.xmas-voucher {
  color: var(--yellow);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.xmas-voucher:hover { color: var(--yellow-2); }

.formats {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
}

.format {
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  display: block;
}

.format:last-child { border-bottom: 0; }

.format strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 0.9;
  color: var(--yellow);
  font-weight: 400;
}

.format span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section { padding: 64px 0; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-transform: uppercase;
  line-height: 0.92;
  margin: 0 0 12px;
}

.beer {
  display: grid;
  gap: 12px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.beer-can { display: grid; justify-items: center; }
.beer-can img {
  width: min(240px, 62vw);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}

.beer h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0 0 8px;
}

.meta {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  color: var(--yellow);
  font-size: 1.15rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0;
  list-style: none;
}

.tags li {
  border: 1px solid rgba(255, 203, 0, 0.55);
  color: var(--yellow);
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  padding: 4px 8px;
}

.keg-only {
  background: var(--panel);
  padding: 28px var(--pad);
  margin-top: 10px;
}

.why {
  display: grid;
  gap: 22px;
}

.why article {
  border-top: 2px solid var(--yellow);
  padding-top: 12px;
}

.why h3 {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  font-size: 1.7rem;
  margin: 0 0 6px;
  font-weight: 400;
}

.tasting {
  background: var(--yellow);
  color: var(--black);
  display: grid;
  gap: 20px;
  padding: 28px var(--pad) 36px;
}

.tasting .kicker { color: var(--black); }
.tasting h2 { color: var(--black); }
.tasting p { max-width: 36rem; }
.tasting h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 10px;
  max-width: 14ch;
}

.tasting .who {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tasting .btn { max-width: 100%; }

.tasting img {
  width: min(100%, 420px);
  display: block;
}

.tours {
  display: grid;
  gap: 18px;
}

.tour {
  background: var(--panel);
  display: grid;
}

.tour img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.tour div { padding: 16px 16px 20px; }
.tour h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  font-weight: 400;
}

.film { position: relative; margin-top: 18px; }
.film img, .film video { width: 100%; display: block; }
.film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film video:not([src]) { display: none; }

.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
}

.hours th, .hours td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.hours th { color: var(--muted); width: 46%; }

.table-wrap { overflow-x: auto; }

.format-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.format-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.format-list h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1.45rem;
  margin: 0 0 4px;
}

.format-list h3 span { color: var(--yellow); }

@media (min-width: 720px) {
  .format-list { display: none; }
}

@media (max-width: 719px) {
  .table-wrap { display: none; }
}

.range-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.range-table th, .range-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.range-table th {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--yellow);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-footer a { color: var(--ink); }
.site-footer .cols {
  display: grid;
  gap: 22px;
}

.site-footer h2 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  font-weight: 400;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.legal { margin-top: 22px; font-size: 0.9rem; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--yellow);
  padding-bottom: env(safe-area-inset-bottom);
}

.dock a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--black);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  font-size: 1.15rem;
}

.dock a + a { background: var(--black); color: var(--yellow); }

.age[hidden] { display: none; }

.age {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 9, 8, 0.94);
  display: grid;
  place-items: center;
  padding: 24px;
}

.age-card {
  width: min(440px, 100%);
  background: var(--black);
  border: 1px solid var(--yellow);
  padding: 28px 22px;
  text-align: center;
}

.age-card h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2.4rem;
  margin: 12px 0;
}

.page-hero { padding: 36px 0 10px; }
.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  line-height: 0.9;
  margin: 0 0 12px;
  max-width: 12ch;
}

.note {
  border-left: 3px solid var(--yellow);
  padding: 4px 0 4px 14px;
  color: var(--muted);
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin: 1.1em 0 0.35em;
}

@media (min-width: 720px) {
  .can-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xmas {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
    gap: 24px;
    padding: 16px 22px;
  }
  .xmas-actions { justify-content: flex-end; max-width: 460px; }
  .formats { grid-template-columns: repeat(3, 1fr); }
  .format { border-bottom: 0; border-right: 1px solid var(--line); }
  .format:last-child { border-right: 0; }
  .why { grid-template-columns: 1fr 1fr; }
  .tours { grid-template-columns: repeat(3, 1fr); }
  .tasting { grid-template-columns: 280px 1fr; align-items: center; padding: 36px var(--pad); }
  .site-footer .cols { grid-template-columns: 1.3fr 1fr 1fr; }
  .beer { grid-template-columns: 260px 1fr; gap: 36px; align-items: center; }
  .beer.flip .beer-can { order: 2; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
    align-items: center;
    gap: 8px;
  }
  .nav-menu a {
    border: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 1.15rem;
  }
  .nav-menu .btn { margin: 0 0 0 8px; }
  .hero {
    width: min(1200px, calc(100% - var(--pad) * 2));
    margin-inline: auto;
    grid-template-columns: minmax(280px, 0.82fr) 1.2fr;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    min-height: 0;
  }
  .hero-copy { width: auto; margin: 0; }
  .hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
  .hero-visual { order: 0; margin: 0; align-self: end; display: grid; align-items: end; }
  .hero-visual img { max-height: 390px; width: auto; justify-self: center; }
  body.has-dock { padding-bottom: 0; }
  .dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

@media print {
  .nav, .dock, .age, .film video, .actions .btn-ghost { display: none !important; }
  body { background: white; color: black; }
  a { text-decoration: underline; }
  .tasting { background: white; }
}
