/* Biermanufaktur 95100 – Light Cinematic Craft Design */
:root {
  --amber: #c47a2a;
  --amber-light: #e8a84a;
  --amber-dark: #8b4e12;
  --charcoal: #2a2a2a;
  --charcoal-soft: #4a4a4a;
  --text: #2a2a2a;
  --text-muted: #5c5c5c;
  --bg: #faf9f7;
  --bg-alt: #f3f1ec;
  --bg-warm: #fff8f0;
  --white: #ffffff;
  --cream: #f5efe6;
  --foam: #f0d9a8;
  --gold: #b8862e;
  --copper: #b87333;
  --glass: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(42, 42, 42, 0.1);
  --shadow: 0 12px 40px rgba(42, 42, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(42, 42, 42, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --header-h: 76px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --container: min(1200px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

#main,
.page-main {
  position: relative;
  z-index: 2;
}

body.intro-active { overflow: hidden; }

body.intro-active .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { width: var(--container); margin-inline: auto; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--gold));
  z-index: 10001;
  transition: width 0.1s linear;
}

/* Intro splash – logo jasně viditelné */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #fff 0%, var(--bg-warm) 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.intro-splash[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.intro-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-splash__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}
.intro-splash__logo-wrap {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(42, 42, 42, 0.12), 0 0 0 1px rgba(42, 42, 42, 0.06);
  animation: logo-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
  isolation: isolate;
}
.intro-splash__logo-img {
  width: min(280px, 78vw);
  min-width: 200px;
  max-height: min(360px, 52vh);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}
.intro-splash__fade {
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  animation: splash-fadeout 0.8s ease 1.8s forwards;
  z-index: 2;
  pointer-events: none;
}
@keyframes splash-fadeout {
  to { opacity: 1; }
}
@keyframes logo-pop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Global FX layer */
.fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fx-bubbles, .fx-hops { position: absolute; inset: 0; }

.beer-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(232, 168, 74, 0.35));
  border: 1px solid rgba(196, 122, 42, 0.2);
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0% { transform: translateY(100vh) scale(0.4); opacity: 0; }
  8% { opacity: 0.7; }
  92% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hop-float {
  position: absolute;
  opacity: 0.12;
  animation: hop-drift ease-in-out infinite;
  filter: grayscale(1);
}
@keyframes hop-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(8deg); }
  50% { transform: translate(-10px, -35px) rotate(-5deg); }
  75% { transform: translate(20px, -15px) rotate(12deg); }
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

.section__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
}

.section__lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 1rem;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  opacity: 0.92;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.section.section--in-view {
  opacity: 1;
  transform: translateY(0);
}
.section__header { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* Glass card – light */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-height: 48px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }

.btn--primary {
  background: var(--charcoal);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(42, 42, 42, 0.2);
}
.btn--primary:hover { box-shadow: 0 10px 32px rgba(42, 42, 42, 0.28); }

.btn--outline {
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

.btn--ghost { color: var(--text-muted); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; min-height: 40px; }
.btn--block { width: 100%; }
.link-btn { color: var(--amber-dark); font-size: 0.875rem; text-decoration: underline; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10002;
  height: var(--header-h);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    opacity 0.5s ease,
    visibility 0.5s ease,
    transform 0.5s ease;
  isolation: isolate;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(42, 42, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--charcoal);
  z-index: 1003;
}
.nav__logo:hover { color: var(--charcoal); }
.brand-logo--compact {
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  transition: transform 0.5s ease;
}
.nav__logo:hover .nav__logo-mark { transform: scale(1.06) rotate(-4deg); }
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-name {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal-soft);
}
.nav__logo-plz {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1003;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--glass-border);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 42, 42, 0.45);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
  backdrop-filter: blur(4px);
}
.nav__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__links { display: flex; gap: clamp(0.75rem, 2vw, 1.5rem); }
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--transition);
}
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }
.nav__links a:hover,
.nav__links a.is-active { color: var(--charcoal); }

.lang-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 4px;
  border: 1px solid var(--glass-border);
  min-width: 240px;
}
.lang-switch__slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--charcoal);
  border-radius: 10px;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: 0;
  pointer-events: none;
}
.lang-switch__btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 10px;
  transition: color var(--transition);
  min-height: 44px;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.lang-switch__code { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; }
.lang-switch__name { font-size: 0.6rem; font-weight: 500; opacity: 0.85; }
.lang-switch__btn.is-active { color: var(--white); }
.lang-switch__btn.is-active .lang-switch__name { opacity: 1; }
.lang-switch__btn:not(.is-active):hover { color: var(--charcoal); }

@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav {
    position: relative;
  }
  .nav__actions .nav__menu-lang-label { display: none; }
  .nav__actions .lang-switch {
    min-width: 0;
    width: auto;
    padding: 3px;
  }
  .nav__actions .lang-switch__name { display: none; }
  .nav__actions .lang-switch__btn {
    min-height: 40px;
    padding: 0.4rem 0.5rem;
  }
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100%, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1002;
    box-shadow: -8px 0 40px rgba(42, 42, 42, 0.15);
    overflow: hidden;
    pointer-events: none;
  }
  .nav__menu.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav__menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem;
    -webkit-overflow-scrolling: touch;
  }
  .nav__menu-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
  }
  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
  }
  .nav__links li { border-bottom: 1px solid var(--glass-border); }
  .nav__links a {
    display: block;
    font-size: 1.2rem;
    padding: 1rem 0;
    font-weight: 500;
  }
  .nav__links a::after { display: none; }
}

@media (min-width: 901px) {
  .nav__toggle { display: none; }
  .nav__backdrop { display: none; }
  .nav__menu {
    position: static;
    width: auto;
    transform: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }
  .nav__menu-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    overflow: visible;
    height: auto;
  }
  .nav__menu-title { display: none; }
  .nav__links {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
  }
  .nav__links li { border: none; }
  .nav__links a {
    padding: 0;
    font-size: 0.875rem;
  }
  .nav__actions .nav__menu-lang-label { display: none; }
  .nav__menu-lang { margin: 0; padding: 0; border: none; }
  .lang-switch { min-width: 168px; }
  .lang-switch__name { display: none; }
  .lang-switch__btn { padding: 0.45rem 0.75rem; min-height: 36px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(165deg, var(--white) 0%, var(--bg-warm) 45%, var(--cream) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__parallax {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.hero__parallax--1 {
  width: 55vw; height: 55vw; max-width: 520px;
  top: 5%; right: -10%;
  background: rgba(232, 168, 74, 0.25);
}
.hero__parallax--2 {
  width: 40vw; height: 40vw; max-width: 380px;
  bottom: 10%; left: -8%;
  background: rgba(196, 122, 42, 0.15);
}
.hero__parallax--3 {
  width: 30vw; height: 30vw;
  top: 40%; left: 30%;
  background: rgba(240, 217, 168, 0.4);
}

.hero__glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 50%;
  background: radial-gradient(ellipse at center bottom, rgba(232, 168, 74, 0.2) 0%, transparent 65%);
}
.hero__smoke {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(243, 241, 236, 0.6) 100%);
  animation: smoke-drift 14s ease-in-out infinite alternate;
}
@keyframes smoke-drift {
  from { opacity: 0.5; }
  to { opacity: 0.85; }
}

.hero__condensation, .hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.condensation-drop {
  position: absolute;
  width: 4px;
  height: 10px;
  background: rgba(196, 122, 42, 0.2);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: drop-fall linear infinite;
}
@keyframes drop-fall {
  0% { transform: translateY(-10px); opacity: 0; }
  15% { opacity: 0.5; }
  100% { transform: translateY(100vh); opacity: 0; }
}

/* Hero visual – beer glasses */
.hero__visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.15s ease-out;
  width: min(38%, 400px);
  height: 55%;
  z-index: 1;
  pointer-events: none;
}

.hero__glasses {
  position: absolute;
  bottom: 8%;
  right: 5%;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.beer-glass {
  position: relative;
  border: 3px solid rgba(42, 42, 42, 0.15);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.6) 0%, transparent 50%);
  overflow: visible;
  animation: glass-sway 5s ease-in-out infinite;
}
.beer-glass--lg { width: 100px; height: 170px; }
.beer-glass--md { width: 72px; height: 130px; animation-delay: 0.5s; }
.beer-glass--sm { width: 52px; height: 95px; animation-delay: 1s; }
.beer-glass--delay-1 { animation-delay: 0s; }
.beer-glass--delay-2 { animation-delay: 0.4s; }
.beer-glass--delay-3 { animation-delay: 0.8s; }

@keyframes glass-sway {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-6px); }
}

.beer-glass__liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(180deg, var(--amber-light) 0%, var(--amber) 45%, var(--amber-dark) 100%);
  animation: liquid-shimmer 3s ease-in-out infinite;
}
@keyframes liquid-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

.beer-glass__foam {
  position: absolute;
  bottom: 70%;
  left: -8%;
  right: -8%;
  height: 20%;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.beer-glass__foam span {
  flex: 1;
  background: var(--foam);
  border-radius: 50% 50% 0 0;
  animation: foam-pulse 2s ease-in-out infinite;
  box-shadow: 0 -2px 8px rgba(255,255,255,0.5);
}
.beer-glass__foam span:nth-child(odd) { animation-delay: 0.15s; height: 85%; }
.beer-glass__foam span:nth-child(even) { height: 100%; animation-delay: 0.4s; }

@keyframes foam-pulse {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50% { transform: translateY(-4px) scaleY(1.08); }
}

.beer-glass__shine {
  position: absolute;
  top: 18%;
  left: 12%;
  width: 10%;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  border-radius: 4px;
  animation: shine-sweep 2.5s ease-in-out infinite;
}
@keyframes shine-sweep {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(6px); }
}

.beer-glass__bubbles-mini::before,
.beer-glass__bubbles-mini::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  bottom: 25%;
  left: 40%;
  animation: mini-bubble 2s ease-in infinite;
}
.beer-glass__bubbles-mini::after {
  left: 55%;
  animation-delay: 0.8s;
  width: 4px;
  height: 4px;
}
@keyframes mini-bubble {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(-60px); opacity: 0; }
}

/* Pour animation */
.hero__pour {
  position: absolute;
  top: 35%;
  right: 38%;
  width: 8px;
  height: 120px;
  opacity: 0.7;
}
.hero__pour-stream {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  border-radius: 4px;
  animation: pour-flow 1.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes pour-flow {
  0%, 100% { transform: scaleY(0.85); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero__pour-foam {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 12px;
  background: var(--foam);
  border-radius: 50%;
  animation: pour-foam 1.2s ease-in-out infinite;
}
@keyframes pour-foam {
  0%, 100% { transform: translateX(-50%) scale(0.9); }
  50% { transform: translateX(-50%) scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 0 6rem;
  max-width: 560px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 1rem;
}

.hero__title { display: flex; flex-direction: column; margin-bottom: 0.5rem; }
.hero__title-main { font-size: clamp(2.2rem, 7vw, 4.2rem); color: var(--charcoal); }

.hero__title-num {
  font-size: clamp(3rem, 12vw, 6.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--amber-dark) 50%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.06em;
  position: relative;
  display: inline-block;
  animation: num-glow 3s ease-in-out infinite;
}
.hero__title-num::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(232,168,74,0.4), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: num-shine 4s ease-in-out infinite;
  background-size: 200% 100%;
}
@keyframes num-glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 4px 20px rgba(196, 122, 42, 0.25)); }
}
@keyframes num-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--charcoal-soft);
  margin-bottom: 1rem;
}
.hero__desc { color: var(--text-muted); margin-bottom: 2rem; max-width: 42ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
  animation: bounce-scroll 2s ease-in-out infinite;
}
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 3rem; }
  .hero__visual {
    position: relative;
    width: 100%;
    height: 220px;
    transform: none;
    top: auto;
    right: auto;
    margin-top: 1rem;
  }
  .hero__glasses { right: 50%; transform: translateX(50%); bottom: 0; }
  .hero__pour { display: none; }
  .hero__content { padding-bottom: 2rem; }
}

/* Hero intro reveal */
body:not(.hero-ready) .hero__content .reveal { opacity: 0; transform: translateY(28px); }
body.hero-ready .hero__content .reveal {
  animation: hero-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body.hero-ready .hero__content .reveal:nth-child(1) { animation-delay: 0.15s; }
body.hero-ready .hero__content .reveal:nth-child(2) { animation-delay: 0.25s; }
body.hero-ready .hero__content .reveal:nth-child(3) { animation-delay: 0.4s; }
body.hero-ready .hero__content .reveal:nth-child(4) { animation-delay: 0.5s; }
body.hero-ready .hero__content .reveal:nth-child(5) { animation-delay: 0.6s; }
body.hero-ready .hero__content .reveal:nth-child(6) { animation-delay: 0.7s; }
@keyframes hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Beer wave divider */
.beer-wave-divider {
  position: relative;
  height: 80px;
  margin-top: -1px;
  background: var(--bg-warm);
  overflow: hidden;
}
.beer-wave-divider svg { width: 100%; height: 100%; display: block; }
.beer-wave-divider__path {
  fill: var(--bg-alt);
  animation: wave-morph 8s ease-in-out infinite;
}
@keyframes wave-morph {
  0%, 100% { d: path("M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z"); }
  50% { d: path("M0,50 C360,20 720,70 1080,30 C1260,50 1380,60 1440,50 L1440,80 L0,80 Z"); }
}
.beer-wave-divider__bubbles { position: absolute; inset: 0; pointer-events: none; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  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-visible { opacity: 1; transform: translateY(0); }
.reveal--scale { transform: scale(0.92); }
.reveal--scale.is-visible { transform: scale(1); }
.reveal--left { transform: translateX(-40px); }
.reveal--left.is-visible { transform: translateX(0); }
.reveal--right { transform: translateX(40px); }
.reveal--right.is-visible { transform: translateX(0); }

/* Stagger children */
.stagger-children.is-visible > * {
  animation: stagger-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stagger-children > * { opacity: 0; transform: translateY(20px); }
.stagger-children.is-visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children.is-visible > *:nth-child(2) { animation-delay: 0.12s; }
.stagger-children.is-visible > *:nth-child(3) { animation-delay: 0.19s; }
.stagger-children.is-visible > *:nth-child(4) { animation-delay: 0.26s; }
.stagger-children.is-visible > *:nth-child(5) { animation-delay: 0.33s; }
.stagger-children.is-visible > *:nth-child(6) { animation-delay: 0.4s; }
.stagger-children.is-visible > *:nth-child(7) { animation-delay: 0.47s; }
@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0); }
}

/* About */
.section--about { background: var(--bg-alt); }
.about__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .about__grid { grid-template-columns: repeat(3, 1fr); } }

.brewmasters__title { margin-bottom: 1.5rem; text-align: center; }
.brewmasters__list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  max-width: 720px;
  margin-inline: auto;
}
.brewmasters__item { text-align: center; }
.brewmasters__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--charcoal);
  transition: transform var(--transition), box-shadow var(--transition);
}
.brewmasters__item:hover .brewmasters__avatar {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--shadow-lg);
}
.brewmasters__item span { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* Beer section */
.section--beer {
  background: var(--white);
  overflow: hidden;
}
.section__beer-bg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(400px, 50vw);
  opacity: 0.35;
  pointer-events: none;
}
.fermentation-vessel {
  width: 200px;
  height: 280px;
  margin: 0 auto;
  border: 4px solid rgba(42, 42, 42, 0.12);
  border-radius: 20px 20px 40px 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
}
.fermentation-vessel__liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(180deg, var(--amber-light), var(--amber-dark));
  animation: tank-liquid 4s ease-in-out infinite;
}
@keyframes tank-liquid {
  0%, 100% { height: 72%; }
  50% { height: 78%; }
}
.fermentation-vessel__foam {
  position: absolute;
  bottom: 72%;
  left: -5%;
  right: -5%;
  height: 15%;
  background: var(--foam);
  border-radius: 50%;
  animation: tank-foam 3s ease-in-out infinite;
}
@keyframes tank-foam {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.1); }
}
.fermentation-vessel__bubbles { position: absolute; inset: 20% 15% 25%; }

.beer__showcase {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) { .beer__showcase { grid-template-columns: 1fr 1.2fr; } }

.beer-orb {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
}
.beer-orb__core {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--amber-light), var(--amber) 50%, var(--amber-dark));
  box-shadow: 0 0 50px rgba(196, 122, 42, 0.35);
  animation: orb-pulse 5s ease-in-out infinite;
}
.beer-orb__ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(196, 122, 42, 0.2);
  border-radius: 50%;
  animation: orb-spin 25s linear infinite;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes orb-spin { to { transform: rotate(360deg); } }

.beer__traits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.beer__traits li {
  padding: 1rem;
  background: var(--bg-warm);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition);
}
.beer__traits li:hover { transform: translateY(-3px); }
.beer__traits span { display: block; font-size: 0.75rem; color: var(--amber-dark); text-transform: uppercase; letter-spacing: 0.1em; }
.beer__traits strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--charcoal); }

.taste-bars { margin: 1.25rem 0; }
.taste-bar { margin-bottom: 0.85rem; }
.taste-bar label { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 0.35rem; }
.taste-bar__track {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
}
.taste-bar__track span {
  display: block;
  height: 100%;
  width: var(--val, 50%);
  background: linear-gradient(90deg, var(--charcoal), var(--amber));
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.reveal.is-visible .taste-bar__track span { transform: scaleX(1); }

/* Process */
.section--process { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.process__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 540px) {
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .process__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.process__step {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process__step:hover { transform: translateY(-4px); }

.process__step--finale {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .process__step--finale {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
  }
  .process__step--finale .process__icon { margin-bottom: 0; flex-shrink: 0; }
}

.process__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}
.process__step.is-visible .process__icon { animation: icon-pop 0.5s ease backwards; }
@keyframes icon-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.process__step-body { min-width: 0; }
.process__step h3 { margin-bottom: 0.4rem; color: var(--charcoal); font-size: 1.2rem; }
.process__step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }

/* Events */
.section--events { background: var(--white); }
.events__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .events__grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}
.event-card { transition: transform var(--transition); }
.event-card:hover { transform: translateY(-6px) rotate(0.5deg); }
.event-card__date { font-size: 0.8rem; color: var(--amber-dark); letter-spacing: 0.1em; text-transform: uppercase; }
.event-card__title { margin: 0.5rem 0; }
.event-card__loc { font-size: 0.9rem; color: var(--copper); }
.event-card__desc { font-size: 0.9rem; color: var(--text-muted); }

/* Social Media */
.section--social { background: var(--bg-alt); }
.social-section__lead {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 52ch;
  line-height: 1.55;
}

.social-feed {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .social-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.social-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  min-width: 0;
}
a.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 122, 42, 0.35);
}
.social-card--pending {
  opacity: 0.92;
  border-style: dashed;
}
.social-card--instagram .social-card__icon { color: #c13584; }
.social-card--facebook .social-card__icon { color: #1877f2; }
.social-card--press .social-card__icon { color: var(--charcoal); }

.social-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border-radius: 50%;
}
.social-card__platform {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.social-card__handle {
  display: block;
  font-size: 1.05rem;
  margin: 0.2rem 0 0.4rem;
  color: var(--charcoal);
}
.social-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.social-card__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-dark);
}
.social-card__cta--muted { color: var(--text-muted); font-weight: 500; }
.social-card__cta--muted a { color: var(--charcoal); text-decoration: underline; }

/* Beer match form */
.section--match {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--white) 100%);
}
.beer-match {
  display: grid;
  gap: 1.5rem;
  max-width: 820px;
  margin-inline: auto;
}
.beer-match__form.is-hidden {
  display: none;
}
.beer-match__group {
  border: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.beer-match__group legend {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding: 0;
  width: 100%;
}
.beer-match__options {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .beer-match__options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
  .beer-match__options { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
.beer-match__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  min-height: 100px;
}
.beer-match__option:has(input:checked) {
  border-color: var(--charcoal);
  background: var(--bg-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.beer-match__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.beer-match__emoji { font-size: 1.75rem; line-height: 1; }
.beer-match__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
}
.beer-match__result[hidden] { display: none !important; }
.beer-match__result.is-visible {
  animation: fade-up 0.6s ease both;
}
.beer-match__result-badge {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.5rem;
}
.beer-match__result-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.beer-match__result-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.beer-match__result-quote {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
}
.beer-match__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* CTA */
.section--cta { background: var(--bg-warm); }
.cta-banner { text-align: center; padding: clamp(2rem, 6vw, 3.5rem); }
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { margin-bottom: 1.5rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
}
.site-footer a { color: var(--foam); }
.site-footer a:hover { color: var(--white); }
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer .site-footer__name { color: var(--white); }
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer__mark {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  margin-bottom: 0.75rem;
  object-fit: contain;
}
.site-footer__name { font-family: var(--font-display); font-size: 1.5rem; }
.site-footer__name span { color: var(--foam); }
.site-footer__tagline { font-style: italic; margin: 0.25rem 0; }
.site-footer__location { font-size: 0.85rem; opacity: 0.65; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__contact p { font-size: 0.9rem; margin-bottom: 0.35rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  opacity: 0.65;
}

/* Contact */
.page-main { padding: calc(var(--header-h) + 2rem) 0 4rem; background: var(--bg); }
.page-header { margin-bottom: 2rem; }
.contact__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.4fr; } }
.contact__info address { font-style: normal; margin: 1rem 0; opacity: 0.85; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(196, 122, 42, 0.15);
}
.form-error { display: block; color: #c44; font-size: 0.8rem; margin-top: 0.35rem; }
.checkbox-label { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; cursor: pointer; }
.checkbox-label input { width: 20px; height: 20px; accent-color: var(--charcoal); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1.5rem; }
.alert--success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.alert--error { background: #ffebee; border: 1px solid #ef9a9a; color: #c62828; }

.legal-page .legal-content section { margin-bottom: 1.75rem; }
.legal-page .legal-content h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.legal-page .legal-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10100;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -8px 32px rgba(42, 42, 42, 0.08);
  padding: 1.25rem 0;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__title { font-weight: 600; color: var(--charcoal); margin-bottom: 0.35rem; }
.cookie-banner__text { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; max-width: 60ch; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10101;
  background: rgba(42, 42, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.cookie-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-modal__panel { max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto; }
.cookie-modal__panel h2 { margin-bottom: 1rem; font-size: 1.35rem; }
.cookie-option { display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; cursor: pointer; }
.cookie-option input { accent-color: var(--charcoal); }
.cookie-modal__actions { display: flex; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }

/* AI */
.ai-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 8000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  overflow: hidden;
}
.ai-fab svg { position: relative; z-index: 1; color: var(--white); }
.ai-fab:hover { transform: scale(1.08); }
@keyframes fab-ring { to { transform: rotate(360deg); } }

.ai-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  left: 1rem;
  max-width: 380px;
  margin-left: auto;
  z-index: 10102;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 480px);
  transform: translateY(12px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}
.ai-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ai-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--glass-border);
}
.ai-panel__head h2 { font-size: 1.1rem; }
.ai-panel__close { font-size: 1.5rem; color: var(--text-muted); }
.ai-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 120px;
  max-height: 280px;
}
.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.5rem;
}
.ai-quick__btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--bg-warm);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}
.ai-quick__btn:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-1px);
}
.ai-msg { max-width: 90%; padding: 0.65rem 0.9rem; border-radius: var(--radius); font-size: 0.9rem; }
.ai-msg--bot { align-self: flex-start; background: var(--bg-warm); border: 1px solid var(--glass-border); }
.ai-msg--user { align-self: flex-end; background: var(--charcoal); color: var(--white); }
.ai-panel__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--glass-border);
}
.ai-panel__form input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--bg);
  min-height: 44px;
}

body.ai-open .cookie-banner { display: none; }

/* Age gate 16+ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.age-gate.is-visible,
html.age-gate-pending .age-gate:not([hidden]) {
  display: flex;
}
.age-gate[hidden] {
  display: none !important;
  pointer-events: none !important;
}
.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(196, 122, 42, 0.18), transparent 55%),
    linear-gradient(160deg, #2a2520 0%, #1a1816 45%, #12100e 100%);
}
.age-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}
.age-gate__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.age-gate__logo { opacity: 0.92; }
.age-gate__site {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}
.age-gate__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--charcoal);
}
.age-gate__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.age-gate__lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 38ch;
  margin-inline: auto;
}
.age-gate__question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
}
.age-gate__legal {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}
.age-gate__actions {
  display: grid;
  gap: 0.65rem;
}
body.age-gate-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.intro-active .site-header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .intro-splash, .intro-splash__logo-wrap, .intro-splash__fade { animation: none !important; }
  .intro-splash__fade { opacity: 0; }
  .intro-splash { display: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .hero__content .reveal { opacity: 1; transform: none; }
}

@media (min-width: 1920px) {
  :root { --container: 1400px; }
}
