:root {
  --cream: #F5F0E8;
  --cream-deep: #EDE8DD;
  --cream-light: #FAF7F2;
  --ink: #1C1917;
  --stone: #78716C;
  --gold: #B8860B;
  --gold-light: #D4A843;
  --gold-dark: #8B6914;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[x-cloak] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.font-display { font-family: Cinzel, Georgia, serif; }
.body-text { font-size: clamp(0.95rem, 1.15vw, 1.08rem); line-height: 1.7; }

/* ---- Title ---- */
.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-title-gold {
  background: linear-gradient(100deg, #8B6914 0%, #B8860B 45%, #D4A843 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Entrance: pure CSS (works without GSAP) ---- */
.hero-anim {
  opacity: 0;
  transform: translateY(1.35rem);
  animation: hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-anim-1 { animation-delay: 0.15s; }
.hero-anim-2 { animation-delay: 0.32s; }
.hero-anim-3 { animation-delay: 0.48s; }
.hero-anim-4 { animation-delay: 0.62s; }
.hero-anim-5 { animation-delay: 0.76s; }

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

/* Replay class used on language switch */
.hero-anim.is-replay {
  animation: none;
  opacity: 0;
  transform: translateY(1.35rem);
}
.hero-anim.is-replay-run {
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ---- Hero bottles: closer, stronger blur ---- */
.hero-bottle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mix-blend-mode: multiply;
  filter: blur(4px);
}

/* Export — left, larger, closer to center */
.hero-b-left {
  left: 12%;
  bottom: 20%;
  width: min(28vw, 300px);
  opacity: 0.32;
  transform: rotate(-8deg);
}

/* Zwickl NA — right, smaller, closer */
.hero-b-right {
  right: 10%;
  top: 14%;
  width: min(20vw, 220px);
  opacity: 0.28;
  transform: rotate(10deg);
}

@media (min-width: 1100px) {
  .hero-b-left {
    left: 14%;
    bottom: 18%;
    width: min(26vw, 340px);
  }
  .hero-b-right {
    right: 12%;
    top: 12%;
    width: min(18vw, 240px);
  }
}

@media (max-width: 900px) {
  .hero-b-left {
    left: 4%;
    bottom: 22%;
    width: 36vw;
    opacity: 0.26;
  }
  .hero-b-right {
    right: 4%;
    top: 14%;
    width: 28vw;
    opacity: 0.22;
  }
}

@media (max-width: 600px) {
  .hero-bottle { filter: blur(2.5px); }
  .hero-b-left { width: 40vw; opacity: 0.22; left: 0; }
  .hero-b-right { width: 32vw; opacity: 0.18; right: 0; }
}

/* ---- Marquee ---- */
.marquee-viewport {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-x 32s linear infinite;
  will-change: transform;
}
.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(28, 25, 23, 0.22);
  white-space: nowrap;
}
.marquee-group span {
  padding: 0 1.5rem;
}
.marquee-group i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.4);
  flex-shrink: 0;
}
@keyframes marquee-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-oval {
  width: 2.75rem;
  height: 3rem;
  border: 2px solid rgba(184, 134, 11, 0.5);
  border-radius: 50% / 46%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}


/* ---- Heritage ---- */
.stat-card {
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(28, 25, 23, 0.05);
  backdrop-filter: blur(10px);
}
.usp {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(28, 25, 23, 0.04);
}
.heritage-prose p {
  margin: 0;
  font-size: 0.98rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
/* If JS fails, still show content after paint */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}




/* ===== Heritage (index_ru match) ===== */
.font-cormorant { font-family: 'Cormorant Garamond', Georgia, serif; }
.text-graphite-700 { color: #44403C; }

.heritage-photo {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, #F5F0E8, #EDE8DD);
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.heritage-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.heritage-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(245, 240, 232, 0.92), transparent);
}

.heritage-story {
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 40rem;
}
.heritage-p {
  margin: 0 0 1.25rem;
  color: #44403C;
}
.heritage-p strong { color: #1C1917; font-weight: 600; }
.heritage-p em { font-style: italic; }

.heritage-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 4px 16px rgba(28,25,23,0.04);
  backdrop-filter: blur(8px);
}

.heritage-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(28,25,23,0.04);
  backdrop-filter: blur(8px);
}
.heritage-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(184, 134, 11, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.heritage-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 25, 23, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: #78716C;
  font-size: 0.875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.heritage-toggle:hover {
  border-color: rgba(184, 134, 11, 0.4);
  color: #B8860B;
}
.heritage-chevron { transition: transform 0.3s; }
.heritage-toggle.is-open .heritage-chevron { transform: rotate(180deg); }


/* ===== Catalog ===== */
.glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 32px rgba(28, 25, 23, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.beer-card {
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(28, 25, 23, 0.06);
}
.beer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.1);
  border-color: rgba(184, 134, 11, 0.2);
}
.beer-card:hover .bottle-img {
  transform: scale(1.05);
}
.bottle-img {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.catalog-filter {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  color: #44403C;
  cursor: pointer;
  transition: all 0.3s ease;
}
.catalog-filter:hover { background: #fff; }
.catalog-filter.is-active {
  background: linear-gradient(135deg, #D4A843, #B8860B, #8B6914);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

.metric-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #78716C;
}
.metric-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #44403C;
}


.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.beer-bottle {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 24px rgba(28, 25, 23, 0.12));
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}
.beer-card:hover .beer-bottle {
  transform: scale(1.08);
}

/* Heritage tilt */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}


/* --- Catalog bottles: large + centered --- */
.beer-card .beer-photo-wrap {
  background: #F5F0E8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28rem;
  padding: 1.75rem 1.25rem;
}
@media (min-width: 768px) {
  .beer-card .beer-photo-wrap {
    height: 32rem;
    padding: 2rem 1.5rem;
  }
}
.beer-card .beer-bottle {
  mix-blend-mode: multiply !important;
  -webkit-mix-blend-mode: multiply !important;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center center;
  width: auto !important;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 92% !important;
  margin: 0 auto;
  display: block;
}
.beer-card:hover .beer-bottle,
.beer-card:hover .bottle-img {
  transform: scale(1.1);
}





/* Tilt: apply to INNER shell so .reveal transform doesn't fight */
.tilt-shell {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
  height: 100%;
}

.modal-photo {
  background: #F5F0E8;
}
.modal-bottle {
  mix-blend-mode: multiply;
  -webkit-mix-blend-mode: multiply;
  filter: drop-shadow(0 16px 32px rgba(28,25,23,0.15));
}

[data-tilt] {
  cursor: default;
  transform-style: preserve-3d;
  will-change: transform;
}
.heritage-feature[data-tilt]:hover,
.heritage-stat[data-tilt]:hover {
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.08);
}






/* Modal bottle large + no bg */
.modal-photo {
  background: #F5F0E8 !important;
  min-height: 420px;
}
@media (min-width: 768px) {
  .modal-photo { min-height: 560px; }
}
.modal-bottle {
  mix-blend-mode: multiply !important;
  -webkit-mix-blend-mode: multiply !important;
  max-height: 520px !important;
  width: auto !important;
  max-width: 95% !important;
  filter: contrast(1.04);
}
@media (min-width: 768px) {
  .modal-bottle { max-height: 560px !important; }
}

/* Heritage tilt depth */
.heritage-feature[data-tilt],
.heritage-stat[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}




/* Bigger modal bottle */
.modal-photo {
  min-height: 480px !important;
  background: #F5F0E8 !important;
}
@media (min-width: 768px) {
  .modal-photo { min-height: 640px !important; }
}
.modal-bottle {
  max-height: 600px !important;
  max-width: 100% !important;
  mix-blend-mode: multiply !important;
}
@media (min-width: 768px) {
  .modal-bottle { max-height: 620px !important; }
}

/* Modal bottle — large */
.modal-photo {
  min-height: 70vh !important;
  background: #F5F0E8 !important;
}
.modal-bottle {
  max-height: min(78vh, 720px) !important;
  max-width: 100% !important;
  width: auto !important;
  mix-blend-mode: multiply !important;
  -webkit-mix-blend-mode: multiply !important;
}
@media (max-width: 767px) {
  .modal-photo { min-height: 42vh !important; }
  .modal-bottle { max-height: 38vh !important; }
}


/* === Progress bars (single source of truth) === */
.progress-bar {
  height: 4px;
  background: rgba(184, 134, 11, 0.14);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.progress-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, #8B6914, #B8860B, #D4A843);
}

/* Modal bottle max size */
.modal-photo {
  min-height: 75vh !important;
  background: #F5F0E8 !important;
}
.modal-bottle {
  max-height: min(85vh, 820px) !important;
  max-width: 100% !important;
  mix-blend-mode: multiply !important;
  -webkit-mix-blend-mode: multiply !important;
}
@media (max-width: 767px) {
  .modal-photo { min-height: 45vh !important; }
  .modal-bottle { max-height: 42vh !important; }
}

.modal-photo {
  min-height: 82vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.modal-bottle {
  max-height: min(90vh, 920px) !important;
  max-width: 100% !important;
  width: auto !important;
  mix-blend-mode: multiply !important;
}
@media (max-width: 767px) {
  .modal-photo { min-height: 48vh !important; }
  .modal-bottle { max-height: 46vh !important; }
}
