:root {
  --ocean-deep: #072f34;
  --ocean: #0e6d73;
  --teal: #18a7a1;
  --teal-soft: #ddf4f0;
  --amber: #d9992f;
  --coral: #cf6a4c;
  --ink: #182a2a;
  --muted: #667878;
  --line: #d7e4e0;
  --paper: #fffdf8;
  --sand: #f5efe2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 47, 52, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  align-items: center;
  background: rgba(255, 253, 248, 0.95);
  border-bottom: 1px solid rgba(7, 47, 52, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.brand img { height: 44px; width: auto; }
.main-nav {
  align-items: center;
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}
.main-nav a {
  border-bottom: 2px solid transparent;
  color: rgba(24, 42, 42, 0.78);
  padding: 8px 0;
}
.main-nav a.active,
.main-nav a:hover { border-color: var(--teal); color: var(--ocean); }
.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}
.language-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ocean-deep);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  min-width: 46px;
  padding: 0 12px;
}
.language-toggle:hover {
  border-color: var(--teal);
  color: var(--ocean);
}
.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 40px;
  padding: 8px;
  width: 40px;
}
.nav-toggle span {
  background: var(--ocean-deep);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.container { margin: 0 auto; max-width: 1160px; padding: 0 22px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.alt { background: var(--sand); }
.eyebrow {
  color: var(--teal);
  font-family: "Playfair Display", serif;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.display {
  color: var(--ocean-deep);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
}
.title {
  color: var(--ocean-deep);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 8px 0 18px;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 720px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
  align-items: center;
  border: 2px solid var(--teal);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
}
.button.primary { background: var(--teal); color: var(--white); }
.button.light { border-color: rgba(255,255,255,.75); color: var(--white); }

.hero {
  background: var(--ocean-deep);
  color: white;
  display: grid;
  min-height: calc(100vh - 69px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}
.hero-copy {
  align-self: center;
  padding: clamp(52px, 8vw, 96px) clamp(24px, 7vw, 90px);
}
.hero .display { color: white; }
.hero .display span { color: var(--amber); }
.hero .lead { color: rgba(255,255,255,.72); }
.hero-media { min-height: 520px; position: relative; }
.hero-media img { height: 100%; object-fit: cover; width: 100%; }
.hero-badge {
  background: rgba(24, 167, 161, 0.18);
  border: 1px solid rgba(24, 167, 161, 0.44);
  border-radius: 999px;
  color: #7af0df;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 14px;
}
.hero-badge[href]:hover {
  background: rgba(24, 167, 161, 0.26);
  border-color: rgba(122, 240, 223, 0.7);
}
.stats {
  background: var(--ocean-deep);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { border-top: 1px solid rgba(255,255,255,.08); padding: 30px 14px; }
.stat strong {
  color: var(--amber);
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}
.stat span { color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.grid { display: grid; gap: 28px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel, .menu-card, .feature, .event-card, .shop-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(7, 47, 52, 0.06);
}
.feature { padding: 26px; }
.feature h3, .panel h3 { color: var(--ocean-deep); margin: 0 0 8px; }
.feature p, .panel p { color: var(--muted); margin: 0; }
.photo-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.1fr .9fr .9fr;
  margin-top: 34px;
}
.photo-strip img { aspect-ratio: 4 / 3; border-radius: 8px; height: 100%; object-fit: cover; width: 100%; }
.brewery-feature-photo {
  align-self: stretch;
  min-height: 420px;
}
.brewery-hero-clean {
  align-items: end;
  background-position: center 76%;
  background-size: cover;
  color: white;
  display: flex;
  min-height: calc(100vh - 69px);
  position: relative;
}
.brewery-hero-clean::before {
  background: linear-gradient(90deg, rgba(7,47,52,.84) 0%, rgba(7,47,52,.46) 45%, rgba(7,47,52,.16) 100%),
    linear-gradient(0deg, rgba(7,47,52,.76) 0%, rgba(7,47,52,0) 46%);
  content: "";
  inset: 0;
  position: absolute;
}
.brewery-hero-copy {
  padding-bottom: clamp(56px, 9vw, 108px);
  padding-top: clamp(96px, 14vw, 160px);
  position: relative;
  z-index: 1;
}
.brewery-hero-clean .display {
  color: white;
  margin: 12px 0 18px;
  max-width: 820px;
}
.brewery-hero-clean .display span { color: var(--amber); }
.brewery-hero-clean .lead {
  color: rgba(255,255,255,.82);
  max-width: 690px;
}
.brewery-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.brewery-quick-facts span {
  background: rgba(255,253,248,.16);
  border: 1px solid rgba(255,253,248,.26);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  font-size: .86rem;
  font-weight: 800;
  padding: 9px 13px;
}
.brewery-awards-section .grid.two { align-items: center; }
.brewery-awards-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}
.brewery-awards-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.brewery-awards-card figcaption {
  color: var(--muted);
  font-size: .9rem;
  padding: 14px 16px 16px;
}
.brewery-process-layout {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  margin-top: 32px;
}
.brewery-process-photo img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  width: 100%;
}
.brewery-process-grid {
  align-content: stretch;
}
.brewery-process-grid .feature {
  min-height: 100%;
}
.brewery-feature-photo img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}
.brewery-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, 1fr);
}
.brewery-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 47, 52, 0.08);
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.brewery-gallery img:nth-child(1),
.brewery-gallery img:nth-child(4),
.brewery-gallery img:nth-child(5) { grid-column: span 3; }
.brewery-gallery img:nth-child(2),
.brewery-gallery img:nth-child(3),
.brewery-gallery img:nth-child(6),
.brewery-gallery img:nth-child(7) { grid-column: span 2; }

.page-hero {
  align-items: end;
  background-position: center;
  background-size: cover;
  color: white;
  display: flex;
  min-height: 340px;
  position: relative;
}
.page-hero::before {
  background: linear-gradient(0deg, rgba(7,47,52,.88), rgba(7,47,52,.28));
  content: "";
  inset: 0;
  position: absolute;
}
.page-hero .container { position: relative; z-index: 1; padding-bottom: 46px; }
.page-hero .title { color: white; margin-bottom: 0; }

.tabs {
  background: rgba(255,253,248,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 69px;
  z-index: 5;
}
.tabs .container { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; padding-top: 12px; }
.tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 16px;
}
.tab.active { background: var(--ocean-deep); border-color: var(--ocean-deep); color: white; }
.menu-layout { display: grid; gap: 34px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu-section { margin-bottom: 36px; }
.menu-section h3 {
  border-bottom: 2px solid var(--amber);
  color: var(--ocean-deep);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 10px;
  padding-bottom: 6px;
}
.menu-item {
  border-bottom: 1px solid rgba(215,228,224,.8);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 0;
}
.menu-item h4 { font-size: .98rem; margin: 0 0 2px; }
.menu-item p { color: var(--muted); font-size: .86rem; margin: 0; }
.menu-item strong { color: var(--teal); white-space: nowrap; }
.note {
  background: var(--teal-soft);
  border: 1px solid rgba(24,167,161,.25);
  border-radius: 8px;
  color: var(--muted);
  margin-bottom: 34px;
  padding: 18px;
}
.beer-row {
  border-bottom: 1px solid rgba(215,228,224,.8);
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 8px 0;
}
.beer-row strong { color: var(--teal); }
.functional-card { padding: 22px; }
.functional-card small { color: var(--muted); display: block; margin-top: 8px; }

.event-card, .shop-card { padding: 24px; }
.badge {
  background: var(--teal-soft);
  border-radius: 999px;
  color: var(--ocean);
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding: 5px 10px;
  text-transform: uppercase;
}
.contact-card {
  background: var(--ocean-deep);
  border-radius: 8px;
  color: white;
  padding: 34px;
}
.contact-card p { color: rgba(255,255,255,.74); }
.contact-form { display: grid; gap: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  min-height: 46px;
  padding: 12px;
  width: 100%;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.site-footer {
  align-items: center;
  background: var(--ocean-deep);
  color: rgba(255,255,255,.58);
  display: flex;
  flex-wrap: wrap;
  font-size: .85rem;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}
.site-footer div { align-items: center; display: flex; gap: 12px; }
.site-footer img { height: 38px; width: 38px; }

@media (max-width: 920px) {
  .hero, .grid.two, .grid.three, .grid.four, .menu-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 360px; order: -1; }
  .brewery-hero-clean {
    background-position: center 78%;
    min-height: 620px;
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: 1fr; }
  .brewery-process-layout { grid-template-columns: 1fr; }
  .brewery-feature-photo,
  .brewery-feature-photo img { min-height: 320px; }
  .brewery-gallery { grid-template-columns: 1fr 1fr; }
  .brewery-gallery img:nth-child(n) { grid-column: span 1; }
  .main-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px 22px 24px;
    position: absolute;
    right: 0;
    top: 69px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { gap: 14px; }
}

@media (max-width: 560px) {
  .hero-copy { padding: 42px 22px; }
  .brewery-hero-clean {
    background-position: center 82%;
    min-height: 560px;
  }
  .brewery-quick-facts span { width: 100%; }
  .button { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .menu-item { grid-template-columns: 1fr; }
  .brewery-gallery { grid-template-columns: 1fr; }
}
