:root {
  --ink: #082f49;
  --ink-2: #061d2c;
  --night: #071016;
  --cream: #fff3d6;
  --paper: #fff8e8;
  --gold: #f8ab16;
  --gold-2: #ffd45f;
  --magenta: #e2207a;
  --teal: #49b88d;
  --coral: #f0523a;
  --blue: #33a4d8;
  --wine: #9c2c31;
  --muted: rgba(255, 243, 214, 0.72);
  --line: rgba(255, 243, 214, 0.18);
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --logo-radius: 1.35rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 16%, rgba(248, 171, 22, 0.1), transparent 26rem),
    linear-gradient(180deg, #071722 0%, #081018 48%, #0d1114 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: linear-gradient(rgba(255, 243, 214, 0.16) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body.age-verification-pending {
  overflow: hidden;
}

body.age-verification-pending > :not(.age-gate) {
  visibility: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  color: var(--cream);
  background: var(--night);
  font-family: inherit;
  text-align: center;
  box-shadow: 0 24px 80px var(--shadow);
}

.age-gate::backdrop {
  background: rgba(7, 16, 22, 0.94);
}

.age-gate-logo {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: var(--logo-radius);
  clip-path: inset(1px round var(--logo-radius));
}

.age-gate .age-gate-label {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.age-gate h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 6vw, 2rem);
  line-height: 1.2;
}

.age-gate p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.age-gate-actions {
  display: none;
}

.age-gate-ready .age-gate-actions:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.age-gate-memory {
  margin-bottom: 0.5rem;
  text-align: left;
}

.age-gate-remember {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.4rem 0;
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.age-gate-remember input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.1rem 0 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.age-gate-remember input:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.age-gate-memory-details summary {
  width: fit-content;
  padding: 0.35rem 0;
  color: var(--gold);
  font-size: 0.75rem;
  cursor: pointer;
}

.age-gate-memory-details summary:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.age-gate #age-gate-memory-info {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer .age-memory-setting,
.site-footer .age-memory-status {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: none;
}

.age-memory-setting button {
  padding: 0.3rem 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.age-memory-setting button:hover {
  color: var(--cream);
}

.age-memory-setting button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.age-memory-status[hidden] {
  display: none;
}

.age-gate .button {
  width: 100%;
  cursor: pointer;
  text-transform: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.age-gate .button:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.beer-bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.46;
  mix-blend-mode: screen;
}

.beer-bubbles span {
  position: absolute;
  bottom: -8rem;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgba(255, 212, 95, 0.46);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 248, 232, 0.88), transparent 18%),
    radial-gradient(circle, rgba(248, 171, 22, 0.2), rgba(248, 171, 22, 0.04) 62%, transparent 70%);
  box-shadow:
    inset 0 0 0.45rem rgba(255, 243, 214, 0.2),
    0 0 1.2rem rgba(248, 171, 22, 0.2);
  animation: bubble-rise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.beer-bubbles span:nth-child(1) { --x: 6%; --size: 0.65rem; --duration: 13s; --delay: -2s; }
.beer-bubbles span:nth-child(2) { --x: 12%; --size: 0.35rem; --duration: 9s; --delay: -7s; }
.beer-bubbles span:nth-child(3) { --x: 19%; --size: 0.9rem; --duration: 16s; --delay: -11s; }
.beer-bubbles span:nth-child(4) { --x: 27%; --size: 0.45rem; --duration: 10s; --delay: -3s; }
.beer-bubbles span:nth-child(5) { --x: 34%; --size: 0.75rem; --duration: 15s; --delay: -9s; }
.beer-bubbles span:nth-child(6) { --x: 42%; --size: 0.32rem; --duration: 8s; --delay: -5s; }
.beer-bubbles span:nth-child(7) { --x: 49%; --size: 1rem; --duration: 18s; --delay: -13s; }
.beer-bubbles span:nth-child(8) { --x: 56%; --size: 0.5rem; --duration: 12s; --delay: -1s; }
.beer-bubbles span:nth-child(9) { --x: 63%; --size: 0.72rem; --duration: 14s; --delay: -8s; }
.beer-bubbles span:nth-child(10) { --x: 70%; --size: 0.38rem; --duration: 9s; --delay: -4s; }
.beer-bubbles span:nth-child(11) { --x: 76%; --size: 1.15rem; --duration: 19s; --delay: -15s; }
.beer-bubbles span:nth-child(12) { --x: 82%; --size: 0.52rem; --duration: 11s; --delay: -6s; }
.beer-bubbles span:nth-child(13) { --x: 87%; --size: 0.82rem; --duration: 17s; --delay: -10s; }
.beer-bubbles span:nth-child(14) { --x: 92%; --size: 0.34rem; --duration: 8s; --delay: -12s; }
.beer-bubbles span:nth-child(15) { --x: 96%; --size: 0.62rem; --duration: 13s; --delay: -5s; }
.beer-bubbles span:nth-child(16) { --x: 3%; --size: 1.05rem; --duration: 20s; --delay: -16s; }

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: var(--ink-2);
  background: var(--gold-2);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 0.85rem;
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--magenta));
  transform-origin: left;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.4rem;
  color: var(--cream);
  background: rgba(6, 19, 29, 0.78);
  border-bottom: 1px solid rgba(248, 171, 22, 0.34);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: min(17rem, 45vw);
  height: auto;
  border-radius: var(--logo-radius);
  clip-path: inset(1px round var(--logo-radius));
  object-fit: contain;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding-inline: 0.15rem;
  color: var(--cream);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 86svh;
  display: grid;
  align-items: end;
  padding: 8rem 1.4rem 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 22, 0.95) 0%, rgba(7, 16, 22, 0.86) 34%, rgba(7, 16, 22, 0.18) 70%),
    linear-gradient(180deg, rgba(7, 16, 22, 0.18), rgba(7, 16, 22, 0.86)),
    url("assets/beer-hop-hero.png") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6.6rem 1.4rem 7.8rem;
  z-index: -1;
  border: 2px solid rgba(226, 32, 122, 0.68);
  transform: rotate(-1.5deg);
  pointer-events: none;
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-bottom: 7.8rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: min(39rem, 88vw);
  margin-bottom: 1rem;
}

.hero-topline .eyebrow {
  margin: 0;
}

.hero-logo {
  width: min(39rem, 88vw);
  height: auto;
  margin-bottom: 1.4rem;
  border-radius: var(--logo-radius);
  clip-path: inset(1px round var(--logo-radius));
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.34);
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 6.8rem;
  font-weight: 900;
  line-height: 0.93;
  text-transform: uppercase;
  text-shadow: 0.05em 0.05em 0 var(--magenta), 0 1rem 3rem rgba(0, 0, 0, 0.58);
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: var(--paper);
  font-size: 1.24rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.84rem 1.05rem;
  border: 2px solid var(--gold);
  border-radius: 0.28rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--magenta);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--paper);
}

.button-ghost {
  color: var(--cream);
  background: rgba(8, 47, 73, 0.46);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  z-index: 2;
  width: min(calc(100% - 2.8rem), var(--max));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid rgba(248, 171, 22, 0.54);
  background: rgba(6, 19, 29, 0.76);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.hero-strip[data-reveal] {
  transform: translateX(-50%) translateY(1.25rem);
}

.hero-strip[data-reveal].is-visible {
  transform: translateX(-50%) translateY(0);
}

.hero-strip div {
  min-height: 5.2rem;
  padding: 0.95rem;
  border-right: 1px solid rgba(248, 171, 22, 0.42);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong {
  display: block;
  color: var(--gold-2);
  font-size: 2rem;
  line-height: 1;
}

.hero-strip span {
  display: block;
  margin-top: 0.48rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2.8rem), var(--max));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 4rem;
  border-bottom: 2px solid rgba(226, 32, 122, 0.58);
}

.intro-copy h2,
.section-head h2,
.contact-panel h2 {
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.intro-copy h2 {
  line-height: 1.02;
}

.intro-copy p,
.section-head p {
  max-width: 47rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head p:last-child {
  max-width: 22rem;
}

.brewery-section {
  border-bottom: 2px solid rgba(248, 171, 22, 0.45);
}

.brewery-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.2rem, 4vw, 3.5rem);
  align-items: start;
}

.brewery-origin {
  position: relative;
  min-height: 32rem;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.3rem);
  border: 1px solid rgba(255, 243, 214, 0.16);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(6, 19, 29, 0.12), rgba(6, 19, 29, 0.96)),
    linear-gradient(90deg, rgba(6, 19, 29, 0.94), rgba(6, 19, 29, 0.36)),
    url("assets/labels/sara.jpg") center / cover no-repeat;
}

.brewery-origin::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 243, 214, 0.08), transparent 1px),
    linear-gradient(rgba(255, 243, 214, 0.08), transparent 1px);
  background-size: 4.5rem 4.5rem;
  opacity: 0.28;
}

.brewery-origin > * {
  position: relative;
}

.brewery-yearmark {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.85rem;
  width: fit-content;
  margin-top: auto;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 0.95;
  text-transform: uppercase;
}

.brewery-yearmark span {
  align-self: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.brewery-yearmark strong {
  color: var(--gold-2);
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: 0;
}

.brewery-lead {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--paper);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.brewery-details {
  display: grid;
  align-content: start;
  border-top: 1px solid rgba(255, 243, 214, 0.16);
  border-bottom: 1px solid rgba(255, 243, 214, 0.16);
}

.brewery-detail {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.28fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(255, 243, 214, 0.12);
}

.brewery-detail:last-child {
  border-bottom: 0;
}

.brewery-detail span {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brewery-detail h3 {
  grid-column: 2;
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.brewery-detail p {
  grid-column: 2;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.brewery-detail p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.brewery-detail p a:hover,
.brewery-detail p a:focus-visible {
  color: var(--gold-2);
}

.news-section {
  border-top: 1px solid var(--line);
}

.news-heading {
  margin-bottom: 2.5rem;
}

.news-heading h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

/* The carousel uses the existing dark/gold brand, with motion only for
   article selection and in-place expansion. No automatic rotation.
   DESIGN_VARIANCE: 7 (image fan); MOTION_INTENSITY: 5 (state transitions);
   VISUAL_DENSITY: 4 (one selected story, then readable long-form text). */
.news-carousel {
  --stage-height: clamp(23rem, 43vw, 29rem);
  --slide-step: clamp(7rem, 17vw, 13rem);
  position: relative;
  scroll-margin-top: 1rem;
}

.news-stage {
  position: relative;
  height: var(--stage-height);
  perspective: 1200px;
  overflow: hidden;
  border-radius: 0.75rem;
  touch-action: pan-y;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(11rem, 27vw, 21rem);
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 243, 214, 0.16);
  border-radius: 0.75rem;
  background: var(--ink-2);
  cursor: pointer;
  opacity: 1;
  transform:
    translateX(-50%)
    translateX(calc(var(--offset) * var(--slide-step)))
    scale(calc(1 - var(--distance) * 0.12))
    rotateY(calc(var(--offset) * -10deg));
  transition:
    transform 650ms cubic-bezier(.22, 1, .36, 1),
    opacity 450ms ease;
}

.news-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 16, 22, 0.04) 20%, rgba(7, 16, 22, 0.88) 100%);
  opacity: 0.6;
  transition: opacity 450ms ease;
}

.news-slide.is-active {
  border-color: rgba(255, 212, 95, 0.5);
  transform-origin: top left;
}

.news-slide.is-active::after {
  opacity: 1;
}

.news-slide:not(.is-active) .news-slide-image {
  filter: brightness(0.7) saturate(0.8);
}

.news-slide.is-offstage {
  opacity: 0;
  pointer-events: none;
}

.news-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-slide-image.news-image-right {
  object-position: 74% center;
}

.news-slide-image.news-image-contain {
  object-fit: contain;
}

.news-selection {
  position: absolute;
  top: calc(var(--stage-height) - 9rem);
  left: 50%;
  z-index: 6;
  width: min(38rem, 90%);
  pointer-events: none;
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 2px 18px var(--night);
}

.news-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.85rem;
  margin-bottom: 0.7rem;
  color: var(--gold-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}

.news-demo-label {
  font-weight: 700;
}

.news-selected-title {
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
  text-wrap: balance;
}

.news-controls {
  width: min(30rem, 100%);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto 0;
}

.news-controls-center {
  text-align: center;
}

.news-position {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}

.news-arrow {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.15rem;
  border: 1px solid rgba(255, 212, 95, 0.35);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(8, 47, 73, 0.28);
  font-family: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.news-arrow:hover:not(:disabled) {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-2px);
}

.news-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-read-trigger {
  padding: 0.45rem 0.7rem;
  border: 0;
  color: var(--gold);
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.news-read-trigger:hover {
  color: var(--gold-2);
}

.news-slide:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: -5px;
}

.news-arrow:focus-visible,
.news-read-trigger:focus-visible,
.news-reading .button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}

.news-carousel.is-expanded .news-slide.is-active {
  width: 100%;
  max-width: none;
  transform: translateX(-50%);
}

.news-carousel.is-expanded .news-arrow {
  visibility: hidden;
}

.news-reading {
  width: min(43rem, 100%);
  margin: 2.5rem auto 0;
}

.news-summary {
  margin: 0 0 1.5rem;
  color: var(--cream);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.65;
}

.news-article-body p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.news-demo-note {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.8rem;
}

.news-reading .button {
  margin-top: 1rem;
  cursor: pointer;
}

.news-status {
  margin: 1rem 0;
  color: var(--muted);
}

.news-retry {
  cursor: pointer;
}

.news-controls[hidden],
.news-selection[hidden],
.news-reading[hidden],
.news-stage[hidden],
.news-demo-label[hidden],
.news-demo-note[hidden],
.news-retry[hidden] {
  display: none;
}

/* Archive retains the brand typography and opens one readable article at a time. */
.news-carousel[hidden],
.news-archive[hidden],
.news-archive-action[hidden],
.news-archive-grid[hidden],
.news-archive-more[hidden],
#news-archive-load[hidden],
.news-archive-reader[hidden] {
  display: none;
}

.news-archive-action {
  margin-top: 2.5rem;
  text-align: center;
}

.news-archive,
.news-archive-reader {
  scroll-margin-top: 1rem;
}

.news-archive-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.news-archive-heading h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.news-text-link {
  padding: 0.5rem 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.news-text-link:hover {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.75rem;
}

.news-archive-card {
  display: block;
  color: var(--cream);
  text-decoration: none;
}

.news-archive-thumbnail {
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--ink-2);
  aspect-ratio: 16 / 10;
  margin-bottom: 1.25rem;
}

.news-archive-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.22, 1, .36, 1);
}

.news-archive-thumbnail img.news-image-right {
  object-position: 74% center;
}

.news-archive-thumbnail img.news-image-contain,
.news-archive-hero.news-image-contain {
  object-fit: contain;
}

.news-archive-card:hover img {
  transform: scale(1.035);
}

.news-archive-card .news-meta {
  justify-content: flex-start;
  margin-bottom: 0.65rem;
}

.news-archive-card h4 {
  margin: 0 0 0.85rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.news-archive-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 0.8rem;
}

.news-archive-read {
  color: var(--gold);
  font-weight: 700;
}

.news-archive-more {
  margin-top: 2.5rem;
  text-align: center;
}

.news-archive-more .news-position {
  margin-bottom: 1rem;
}

.news-archive-reader > .news-text-link {
  margin-bottom: 1.25rem;
}

.news-archive-hero {
  display: block;
  width: 100%;
  height: clamp(15rem, 42vw, 34rem);
  object-fit: cover;
  background: var(--ink-2);
  border-radius: 0.75rem;
}

.news-archive-hero.news-image-right {
  object-position: 74% center;
}

.news-archive-copy {
  width: min(43rem, 100%);
  margin: 2rem auto 0;
}

.news-archive-copy .news-meta {
  justify-content: flex-start;
}

.news-archive-copy h3 {
  margin: 0 0 1.5rem;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.news-archive-card:focus-visible,
.news-text-link:focus-visible,
.news-archive .button:focus-visible,
.news-archive-action .button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 5px;
}

@media (max-width: 980px) {
  .news-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .news-archive-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .news-archive-heading { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .news-archive-thumbnail img { transition: none; }
}

.news-skeleton {
  width: 35%;
  height: 100%;
  margin: 0 auto;
  border-radius: 0.75rem;
  background: rgba(255, 243, 214, 0.08);
}

@media (max-width: 680px) {
  .news-carousel {
    --stage-height: 23rem;
    --slide-step: 24vw;
  }

  .news-slide {
    width: 62vw;
    max-width: 18rem;
  }

  .news-selection {
    top: calc(var(--stage-height) - 8.5rem);
    width: min(27rem, 94%);
  }

  .news-selected-title {
    font-size: clamp(1.6rem, 6.8vw, 2.3rem);
    line-height: 1.1;
  }

  .news-controls {
    width: min(23rem, 100%);
  }

  .news-summary {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-slide,
  .news-slide::after,
  .news-arrow {
    transition: none;
  }
}

.card-label {
  position: relative;
  width: fit-content;
  margin: 0 0 0.7rem;
  padding: 0.42rem 0.56rem;
  color: var(--ink);
  background: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head .valid-date {
  margin: -0.55rem 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.beer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.beer-card {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 2.5rem;
  border: 2px solid var(--card-accent, var(--gold));
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--card-accent, var(--gold)) 28%, transparent), transparent 16rem),
    rgba(8, 47, 73, 0.76);
  box-shadow: 0 1.3rem 4rem rgba(0, 0, 0, 0.25);
}

.beer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--card-accent, var(--gold)) 1px, transparent 1.6px);
  background-size: 9px 9px;
}

.beer-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1155 / 661;
  object-fit: cover;
  border-bottom: 2px solid var(--card-accent, var(--gold));
}

.beer-card-body {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  padding: 1.05rem;
}

.beer-degree {
  grid-row: span 2;
  margin: 0;
  min-width: 4.2rem;
  color: var(--card-accent, var(--gold));
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.3rem;
  line-height: 0.9;
}

.beer-card h3 {
  margin: 0;
  color: var(--cream);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.beer-card p:not(.beer-degree) {
  margin: 0;
  color: var(--muted);
}

.beer-taste span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--card-accent, var(--gold));
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beer-specs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.beer-specs li {
  padding: 0.42rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--gold)) 64%, transparent);
  color: var(--cream);
  background: rgba(6, 16, 24, 0.44);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.beer-card dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 0;
}

.beer-card dl div {
  padding: 0.7rem;
  border: 1px solid rgba(255, 243, 214, 0.2);
  background: rgba(6, 16, 24, 0.38);
}

.beer-card dt {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.beer-card dd {
  margin: 0.2rem 0 0;
  color: var(--paper);
  font-weight: 900;
  white-space: nowrap;
}

.diana { --card-accent: var(--blue); }
.sara { --card-accent: var(--gold); }
.tonca { --card-accent: #c3d635; }
.anca { --card-accent: #e8415f; }
.kveta { --card-accent: var(--teal); }
.matylda { --card-accent: #b41636; }
.erzika { --card-accent: var(--coral); }
.drobena { --card-accent: #f16573; }

.price-section {
  border-top: 2px solid rgba(248, 171, 22, 0.45);
}

.price-table-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--gold);
  border-radius: 0.5rem;
  background: var(--paper);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.26);
}

.price-table-wrap:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 4px;
}

.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--ink);
}

.price-table th,
.price-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(8, 47, 73, 0.14);
  text-align: right;
  font-weight: 900;
}

.price-table th:first-child,
.price-table td:first-child {
  text-align: left;
}

.price-table thead th {
  color: var(--paper);
  background: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.price-table tbody th {
  color: var(--wine);
  font-size: 1.05rem;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(248, 171, 22, 0.12);
}

.price-table thead th:last-child {
  color: var(--gold-2);
}

.price-table tbody td:last-child {
  color: var(--wine);
  background: rgba(248, 171, 22, 0.14);
}

.table-hint {
  display: none;
}

.label-marquee {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 4px solid var(--magenta);
  border-bottom: 4px solid var(--magenta);
  background: rgba(4, 13, 19, 0.9);
}

.label-marquee::before,
.label-marquee::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  z-index: 2;
  width: clamp(2.5rem, 7vw, 6rem);
  pointer-events: none;
}

.label-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4, 13, 19, 0.98), transparent);
}

.label-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(4, 13, 19, 0.98), transparent);
}

.marquee-toggle {
  position: absolute;
  top: 1.25rem;
  right: clamp(1rem, 3vw, 2.5rem);
  z-index: 4;
  min-height: 2rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(255, 243, 214, 0.32);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(5, 14, 20, 0.88);
  box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.28);
  font: 800 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.marquee-toggle:hover,
.marquee-toggle:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(5, 14, 20, 0.96);
}

.label-marquee.is-paused .marquee-track {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 54s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex: none;
  gap: 1rem;
}

.marquee-label-link {
  flex: none;
  display: block;
  border-radius: 0.6rem;
  cursor: pointer;
  touch-action: manipulation;
}

.marquee-label-link:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

.marquee-label-link img {
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
  -webkit-user-drag: none;
}

.marquee-label-link:hover img,
.marquee-label-link:focus-visible img {
  opacity: 0.96;
  filter: saturate(0.96) brightness(0.98) contrast(1.02);
  transform: scale(1.01);
}

.marquee-track img {
  flex: none;
  width: min(34rem, 62vw);
  height: auto;
  aspect-ratio: 1155 / 661;
  object-fit: cover;
  border: 2px solid rgba(255, 243, 214, 0.35);
  border-radius: 0.35rem;
}

.contact-section {
  padding-top: 5.8rem;
}

.contact-panel {
  min-height: 25rem;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 3rem;
  border: 2px solid var(--teal);
  border-radius: 0.55rem;
  background:
    linear-gradient(100deg, rgba(6, 29, 44, 0.98) 0%, rgba(6, 29, 44, 0.92) 46%, rgba(6, 29, 44, 0.52) 72%, rgba(6, 29, 44, 0.22) 100%),
    url("assets/labels/kveta.jpg") center / cover no-repeat;
}

.contact-panel h2 {
  max-width: 42rem;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 44rem);
  margin-top: 1.5rem;
}

.contact-links a {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 2px solid rgba(248, 171, 22, 0.62);
  border-radius: 0.35rem;
  color: var(--paper);
  background: rgba(6, 19, 29, 0.72);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-links .contact-address {
  grid-column: 1 / -1;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--magenta);
  background: rgba(6, 19, 29, 0.9);
}

.contact-links span {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2.8rem), var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 2px solid rgba(226, 32, 122, 0.6);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22rem;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 760ms cubic-bezier(.16, 1, .3, 1), transform 760ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-enabled [data-reveal].reveal-from-top:not(.is-visible) {
  transform: translateY(-2rem);
}

.reveal-enabled [data-reveal].reveal-from-bottom:not(.is-visible) {
  transform: translateY(2rem);
}

.reveal-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-enabled .hero-strip[data-reveal] {
  transform: translateX(-50%) translateY(2rem);
}

.reveal-enabled .hero-strip[data-reveal].reveal-from-top:not(.is-visible) {
  transform: translateX(-50%) translateY(-2rem);
}

.reveal-enabled .hero-strip[data-reveal].reveal-from-bottom:not(.is-visible) {
  transform: translateX(-50%) translateY(2rem);
}

.reveal-enabled .hero-strip[data-reveal].is-visible {
  transform: translateX(-50%) translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@keyframes bubble-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.75);
  }

  12% {
    opacity: 0.85;
  }

  50% {
    transform: translate3d(1.25rem, -55vh, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate3d(-0.8rem, -112vh, 0) scale(1.18);
  }
}

/* Minimal refresh: quieter surfaces, stronger motion, labels remain the main color. */
.beer-bubbles {
  opacity: 0.42;
}

.site-header {
  background: rgba(5, 14, 20, 0.68);
  border-bottom-color: rgba(255, 243, 214, 0.1);
  transition: padding 260ms ease, background 260ms ease, border-color 260ms ease;
}

.brand-mark img {
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.18);
  transition: width 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

body.is-scrolled .site-header {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: rgba(5, 14, 20, 0.88);
  border-bottom-color: rgba(255, 243, 214, 0.16);
}

body.is-scrolled .brand-mark img {
  width: min(14.5rem, 42vw);
  box-shadow: 0 0.55rem 1.45rem rgba(0, 0, 0, 0.2);
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-2);
}

.hero {
  min-height: 88svh;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(7, 16, 22, 0.96) 0%, rgba(7, 16, 22, 0.82) 38%, rgba(7, 16, 22, 0.22) 74%),
    linear-gradient(180deg, rgba(7, 16, 22, 0.02), rgba(7, 16, 22, 0.9)),
    url("assets/beer-hop-hero.png") right center / cover no-repeat;
  transform: translate3d(0, calc(var(--scroll-y, 0px) * 0.08), 0) scale(1.04);
  animation: hero-breathe 13s ease-in-out infinite alternate;
  will-change: transform;
}

.hero::before {
  border: 1px solid rgba(255, 243, 214, 0.12);
  transform: none;
}

.hero-logo,
.hero-strip,
.price-table-wrap,
.contact-panel,
.beer-card {
  border-radius: 0.75rem;
}

.hero-logo {
  animation: logo-float 8s ease-in-out infinite;
}

.hero h1 {
  text-shadow: 0.03em 0.03em 0 rgba(226, 32, 122, 0.74), 0 1rem 3rem rgba(0, 0, 0, 0.45);
}

.reveal-enabled .hero h1 span {
  opacity: 0;
  transform: translateY(0.75em);
}

.reveal-enabled .hero-content.is-visible h1 span {
  animation: title-rise 900ms cubic-bezier(.16, 1, .3, 1) forwards;
}

.reveal-enabled .hero-content.is-visible h1 span:nth-child(2) {
  animation-delay: 110ms;
}

.reveal-enabled .hero-content.is-visible h1 span:nth-child(3) {
  animation-delay: 220ms;
}

.button {
  border-width: 1px;
  border-radius: 999px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.hero-strip {
  border: 1px solid rgba(255, 243, 214, 0.16);
  background: rgba(5, 14, 20, 0.74);
}

.hero-strip div {
  border-right-color: rgba(255, 243, 214, 0.1);
}

.intro-section,
.brewery-section,
.price-section,
.site-footer {
  border-color: rgba(255, 243, 214, 0.12);
}

.card-label {
  border-radius: 999px;
}

.beer-grid {
  gap: 1.4rem;
}

.beer-card {
  --card-lift: 0px;
  border: 1px solid rgba(255, 243, 214, 0.13);
  background: rgba(6, 19, 29, 0.58);
  box-shadow: none;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--card-lift));
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}

.beer-card:hover {
  --card-lift: -6px;
  border-color: color-mix(in srgb, var(--card-accent, var(--gold)) 48%, rgba(255,255,255,0.2));
  background: rgba(6, 19, 29, 0.76);
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--card-lift));
}

.beer-card.is-tilting {
  transition: border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.beer-card.is-resetting-tilt {
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.reveal-enabled .beer-card[data-reveal] {
  --reveal-y: 2rem;
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(calc(var(--reveal-y) + var(--card-lift)));
}

.reveal-enabled .beer-card[data-reveal].reveal-from-top:not(.is-visible) {
  --reveal-y: -2rem;
}

.reveal-enabled .beer-card[data-reveal].is-visible {
  --reveal-y: 0rem;
}

.beer-card:target {
  border-color: color-mix(in srgb, var(--card-accent, var(--gold)) 78%, var(--cream));
  animation: beer-target-highlight 1.35s cubic-bezier(.16, 1, .3, 1);
}

.beer-card::before {
  opacity: 0.06;
}

.beer-card::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 243, 214, 0.1) 50%, transparent 64%);
  transform: translateX(-120%) rotate(7deg);
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.beer-card:hover::after {
  transform: translateX(120%) rotate(7deg);
}

.beer-card img {
  border-bottom: 0;
  transition: transform 600ms cubic-bezier(.16, 1, .3, 1), filter 300ms ease;
}

.beer-card:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.02);
}

.beer-specs li,
.beer-card dl div,
.contact-links a {
  border-width: 1px;
  border-radius: 999px;
}

.beer-card dl div {
  background: rgba(255, 243, 214, 0.035);
}

.beer-card dl .featured-keg-price {
  border-color: color-mix(in srgb, var(--card-accent, var(--gold)) 58%, transparent);
  background: color-mix(in srgb, var(--card-accent, var(--gold)) 12%, rgba(6, 16, 24, 0.72));
}

.featured-keg-price dt,
.featured-keg-price dd {
  color: var(--card-accent, var(--gold));
}

.price-table-wrap {
  border: 1px solid rgba(255, 243, 214, 0.18);
  box-shadow: none;
}

.label-marquee {
  border-width: 1px 0;
  border-color: rgba(255, 243, 214, 0.14);
}

.marquee-track img {
  border-width: 1px;
  border-color: rgba(255, 243, 214, 0.1);
  border-radius: 0.6rem;
  opacity: 0.82;
  filter: saturate(0.78) brightness(0.9) contrast(0.98);
}

.contact-panel {
  border: 1px solid rgba(255, 243, 214, 0.14);
}

.contact-links a {
  border-radius: 0.75rem;
}

.site-footer {
  border-top-width: 1px;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem 1.5rem;
}

.site-footer p:last-child {
  margin-left: auto;
}

.site-footer .site-credit {
  flex-basis: 100%;
  margin: 1.2rem 0 0;
  color: rgba(255, 243, 214, 0.42);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: none;
}

.site-footer .age-sale-notice {
  flex-basis: 100%;
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: none;
}

.site-footer .site-credit a {
  color: inherit;
  text-decoration-color: rgba(255, 243, 214, 0.24);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-footer .site-credit a:hover,
.site-footer .site-credit a:focus-visible {
  color: rgba(255, 243, 214, 0.72);
  text-decoration-color: currentColor;
}

@keyframes title-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-breathe {
  from {
    filter: saturate(0.95) brightness(0.92);
  }

  to {
    filter: saturate(1.08) brightness(1);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.28rem);
  }
}

@keyframes beer-target-highlight {
  0%,
  100% {
    box-shadow: none;
  }

  35% {
    box-shadow:
      0 0 0 0.35rem color-mix(in srgb, var(--card-accent, var(--gold)) 34%, transparent),
      0 0 2.8rem color-mix(in srgb, var(--card-accent, var(--gold)) 32%, transparent);
  }
}

/* Desktop brewery layout: preserve the brand, tighten the text hierarchy,
   and balance the label artwork against four editorial content blocks. */
@media (min-width: 981px) {
  /* Menu sections already have top padding; bring their content closer to the header. */
  #pivovar,
  #nabidka,
  #cenik,
  #novinky,
  #kontakt {
    scroll-margin-top: -2rem;
  }

  .brewery-section > .section-head h2 {
    font-size: clamp(2.6rem, 4.1vw, 3.8rem);
    line-height: 1.03;
  }

  .brewery-profile {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
    gap: clamp(2rem, 3vw, 3rem);
    align-items: stretch;
  }

  .brewery-origin {
    min-height: 35rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
  }

  .brewery-yearmark {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .brewery-yearmark strong {
    font-size: clamp(3.5rem, 5.5vw, 5rem);
  }

  .brewery-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .brewery-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
    border: 0;
  }

  .brewery-detail {
    display: block;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .brewery-detail > span {
    display: block;
    margin-bottom: 0.85rem;
  }

  .brewery-detail h3 {
    font-size: clamp(1.65rem, 2.25vw, 2.1rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .brewery-detail p {
    margin-top: 0.9rem;
    font-size: 1rem;
    line-height: 1.65;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0.75rem 1rem;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 84svh;
    padding: 7rem 1rem 1rem;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(7, 16, 22, 0.95) 0%, rgba(7, 16, 22, 0.78) 58%, rgba(7, 16, 22, 0.38)),
      linear-gradient(180deg, rgba(7, 16, 22, 0.08), rgba(7, 16, 22, 0.88)),
      url("assets/beer-hop-hero.png") 64% center / cover no-repeat;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .hero-content {
    padding-bottom: 12rem;
  }

  .hero-strip {
    width: calc(100% - 2rem);
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-strip div:nth-child(2) {
    border-right: 0;
  }

  .hero-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(248, 171, 22, 0.42);
  }

  .section {
    width: calc(100% - 2rem);
    padding: 5rem 0;
  }

  .intro-section,
  .section-head {
    display: block;
  }

  .section-head h2,
  .intro-copy h2,
  .contact-panel h2 {
    font-size: 3.2rem;
  }

  .beer-grid {
    grid-template-columns: 1fr;
  }

  .brewery-profile {
    grid-template-columns: 1fr;
  }

  .brewery-origin {
    min-height: 26rem;
  }

  .contact-panel {
    padding: 2rem;
    background:
      linear-gradient(100deg, rgba(6, 29, 44, 0.98) 0%, rgba(6, 29, 44, 0.9) 52%, rgba(6, 29, 44, 0.48) 78%, rgba(6, 29, 44, 0.26) 100%),
      url("assets/labels/kveta.jpg") center / cover no-repeat;
  }

  .site-footer {
    width: calc(100% - 2rem);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p:last-child {
    margin-left: 0;
  }

  .site-footer .site-credit {
    align-self: stretch;
    margin-top: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  body.is-scrolled .site-header {
    padding: 0.65rem 1rem;
  }

  .brand-mark img {
    width: min(17rem, 86vw);
  }

  body.is-scrolled .brand-mark img {
    width: min(14rem, 76vw);
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.55rem 0.85rem;
    font-size: 0.66rem;
    line-height: 1;
  }

  .hero {
    min-height: auto;
    padding: 9rem 1rem 1rem;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-topline,
  .hero h1,
  .hero-copy,
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero::before {
    inset: 8.4rem 1rem 1rem;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7, 16, 22, 0.18) 0%, rgba(7, 16, 22, 0.42) 28%, rgba(7, 16, 22, 0.98) 62%),
      url("assets/beer-hop-hero.png") 86% 8.1rem / auto 22rem no-repeat;
  }

  .hero-content {
    padding: 10.2rem 0 0;
  }

  .hero-logo {
    display: none;
  }

  .hero-topline {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.28rem;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    flex-direction: column;
    max-width: 100%;
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-strip {
    display: none;
  }

  .section {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    padding: 4rem 0;
  }

  .section-head h2,
  .intro-copy h2,
  .contact-panel h2 {
    font-size: 2.15rem;
    hyphens: auto;
  }

  .beer-card-body {
    grid-template-columns: 1fr;
    padding-top: 0.9rem;
  }

  .beer-card {
    scroll-margin-top: 2rem;
  }

  .beer-card img {
    width: calc(100% - 2rem);
    max-width: 21rem;
    margin: 1rem auto 0;
    border: 1px solid rgba(255, 243, 214, 0.14);
    border-radius: 0.55rem;
  }

  .beer-degree {
    grid-row: auto;
  }

  .beer-card h3 {
    font-size: 2.45rem;
  }

  .beer-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brewery-origin {
    min-height: 23rem;
    padding: 1rem;
  }

  .brewery-yearmark {
    padding-left: 0.75rem;
  }

  .brewery-yearmark strong {
    font-size: 3.2rem;
  }

  .brewery-detail {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .brewery-detail span,
  .brewery-detail h3,
  .brewery-detail p {
    grid-column: auto;
    grid-row: auto;
  }

  .brewery-detail h3 {
    font-size: 2.25rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.85rem;
  }

  .table-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -0.8rem 0 0.75rem;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .table-hint span {
    color: var(--gold);
    font-size: 1.2rem;
  }

  .price-table thead th:first-child,
  .price-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
  }

  .price-table thead th:first-child {
    z-index: 3;
    background: var(--ink);
  }

  .price-table tbody th {
    background: var(--paper);
    box-shadow: 0.5rem 0 0.8rem -0.75rem rgba(8, 47, 73, 0.8);
  }

  .price-table tbody tr:nth-child(even) th {
    background: #fff2d0;
  }

  .contact-panel {
    min-height: 22rem;
    padding: 1.25rem;
    background:
      linear-gradient(180deg, rgba(6, 29, 44, 0.96) 0%, rgba(6, 29, 44, 0.88) 48%, rgba(6, 29, 44, 0.7) 100%),
      url("assets/labels/kveta.jpg") 44% center / cover no-repeat;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    width: 100%;
  }

  html {
    scroll-padding-top: 10rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .beer-bubbles {
    display: none;
  }

  .hero-bg,
  .hero-logo,
  .beer-card,
  .beer-card:hover {
    transform: none !important;
  }

  .beer-card::after {
    display: none;
  }

  .marquee-toggle {
    display: none;
  }
}
