/* Hostinec Beseda: hospoda s křídovou tabulí.
   Tvary: karty a fotky 14px, tlačítka plně zaoblená (pill). Jediný akcent: pivní zlatá. */

/* ---------- Písma (self-hosted, bez volání na Google) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  --paper: #eeeee6;
  --paper-2: #e3e4d9;
  --frame: #fbfaf4;
  --ink: #161b17;
  --ink-soft: #4b544d;
  --line: rgba(22, 27, 23, 0.14);

  --board: #1e2a23;
  --board-2: #28382e;
  --chalk: #f1eee3;
  --chalk-soft: rgba(241, 238, 227, 0.74);

  --beer: #e9a714;
  --beer-deep: #b97c05;
  --on-beer: #161b17;
  --foam: #fff8e8;

  --shadow-sm: 0 1px 2px rgba(30, 42, 35, 0.12), 0 6px 16px -8px rgba(30, 42, 35, 0.35);
  --shadow-lg: 0 2px 4px rgba(30, 42, 35, 0.08), 0 28px 50px -24px rgba(30, 42, 35, 0.55);

  --radius: 14px;
  --pill: 999px;

  --font-sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-chalk: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lead: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-h2: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --text-hero: clamp(4.2rem, 2rem + 9vw, 9rem);

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --max: 1200px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 700ms;
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121814;
    --paper-2: #18201b;
    --frame: #232c26;
    --ink: #ebe9df;
    --ink-soft: #aab1a9;
    --line: rgba(235, 233, 223, 0.14);
    --board: #1f2d25;
    --board-2: #2a3b31;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 16px -8px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 28px 50px -24px rgba(0, 0, 0, 0.85);
  }
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  font-optical-sizing: auto;
  overflow-x: clip;
}

/* Jemné zrno papíru přes celou stránku (fixní vrstva, nescrolluje) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--beer);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { display: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--pill);
  transition: transform var(--dur-fast) ease;
}
.skip-link:focus { transform: translateY(5rem); }

.scroll-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }

/* Logo je černá kresba na bílé: na světlém papíře ho "vpijeme", na tmavém obrátíme */
.logo-ink { mix-blend-mode: multiply; }
.logo-chalk { filter: invert(1); mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) {
  .logo-ink { filter: invert(0.92); mix-blend-mode: screen; }
}

.h2 {
  font-size: var(--text-h2);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.9em 1.45em;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--beer {
  background: var(--beer);
  color: var(--on-beer);
  box-shadow: 0 3px 0 var(--beer-deep), 0 12px 24px -14px rgba(185, 124, 5, 0.9);
}
.btn--beer:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--beer-deep), 0 18px 28px -14px rgba(185, 124, 5, 0.9);
}
.btn--beer:active { box-shadow: 0 1px 0 var(--beer-deep); }

.btn--ghost {
  border-color: currentColor;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--ink {
  background: #161b17;
  color: #f1eee3;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); }
.btn--ink .icon { transition: transform var(--dur-fast) var(--ease-out); }
.btn--ink:hover .icon { transform: translate(2px, -2px); }

.btn--small { padding: 0.62em 1.1em; font-size: 0.95rem; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 24px -20px rgba(30, 42, 35, 0.6);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 500ms var(--ease-out);
}
.brand:hover .brand__logo { transform: rotate(-14deg); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color var(--dur-fast) ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.3rem;
  height: 3px;
  border-radius: 3px;
  background: var(--beer);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

@media (max-width: 899px) {
  .site-nav { display: none; }
  .site-header__inner > .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) var(--space-section);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.hero__kicker {
  display: block;
  margin-bottom: 0.9rem;
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__lead {
  margin-top: 1.6rem;
  max-width: 34ch;
  font-size: var(--text-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero__photos {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1.08;
  justify-self: end;
}

.print {
  position: absolute;
  padding: 10px;
  background: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: rotate 500ms var(--ease-out), scale 500ms var(--ease-out);
}
.print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}

.print--tap {
  top: 0;
  right: 0;
  width: 64%;
  aspect-ratio: 674 / 972;
  rotate: 2.5deg;
}
.print--cheers {
  left: 0;
  bottom: 3%;
  width: 60%;
  aspect-ratio: 578 / 420;
  rotate: -5deg;
  z-index: 1;
}
.stamp {
  position: absolute;
  top: 4%;
  left: 6%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  rotate: -12deg;
  z-index: 2;
  transition: rotate 700ms var(--ease-out);
}

@media (hover: hover) {
  .print--tap:hover, .print--cheers:hover { rotate: 0deg; scale: 1.02; z-index: 3; }
  .hero__photos:hover .stamp { rotate: 8deg; }
}

/* ---------- O nás ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  padding-bottom: var(--space-section);
}
.about__photo {
  grid-column: 6 / -1;
  grid-row: 1;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 1074 / 545;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about__text {
  grid-column: 1 / 6;
  grid-row: 1;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  background: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  /* Karta jen lehce zasahuje do fotky, aby nezakryla obličeje */
  translate: 2.5rem 14%;
}
.about__text .h2 { margin-bottom: 0.25rem; }
.about__text p:not(.scribble) { color: var(--ink-soft); max-width: 52ch; text-wrap: pretty; }

.scribble {
  justify-self: start;
  margin-top: 0.25rem;
  font-family: var(--font-chalk);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem);
  line-height: 1.1;
  rotate: -3deg;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--beer) 55%, transparent) 62%, color-mix(in srgb, var(--beer) 55%, transparent) 88%, transparent 88%);
  padding-inline: 0.2em;
}

/* ---------- Otevíračka + menu (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  margin-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: var(--space-section);
}

.board {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  border-radius: var(--radius);
  color: var(--chalk);
  background:
    radial-gradient(120% 80% at 15% 10%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--board);
  box-shadow: inset 0 0 0 10px #3a2c1f, inset 0 0 0 12px rgba(0, 0, 0, 0.35), var(--shadow-lg);
  overflow: hidden;
}
.board::before {
  /* Smazaná křída */
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 20%, rgba(241, 238, 227, 0.05) 32%, transparent 44%),
    linear-gradient(80deg, transparent 58%, rgba(241, 238, 227, 0.04) 70%, transparent 80%);
}

.board__title {
  font-family: var(--font-chalk);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.9rem + 2.6vw, 4.2rem);
  line-height: 1;
  text-wrap: balance;
  rotate: -2deg;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  text-shadow: 0 0 1px rgba(241, 238, 227, 0.5);
}

.hours { display: grid; gap: 0.35rem; }
.hours__row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0.6rem;
  margin-inline: -0.6rem;
  border-radius: 10px;
  font-family: var(--font-chalk);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  line-height: 1.2;
}
.hours__day { min-width: 5.2ch; }
.hours__time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Tečkovaná linka mezi dnem a časem, jako na tabuli */
.hours__row::before {
  content: "";
  position: absolute;
  left: 6.8ch;
  right: 7.4ch;
  bottom: 0.7rem;
  border-bottom: 2px dotted rgba(241, 238, 227, 0.28);
}
.hours__row--closed { color: var(--chalk-soft); }
.hours__row--closed::before { right: 5.2ch; }
.hours__row.is-today {
  background: rgba(233, 167, 20, 0.16);
  color: #ffd46b;
}
.hours__row.is-today .hours__day::after {
  content: "dnes";
  margin-left: 0.5rem;
  padding: 0.05rem 0.45rem;
  border-radius: var(--pill);
  background: var(--beer);
  color: var(--on-beer);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 0.35em;
}

.board__note {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--chalk-soft);
  font-size: 0.98rem;
}
.board__star { color: var(--beer); margin-left: 0.05em; }
.board__note span { color: var(--beer); font-weight: 700; }
.board__note a {
  color: var(--chalk);
  font-weight: 700;
  text-decoration-color: var(--beer);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.board__note a:hover { color: #ffd46b; }

.menu-card {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 248, 232, 0.45), transparent 55%),
    var(--beer);
  color: var(--on-beer);
  box-shadow: var(--shadow-lg);
}
.menu-card__title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
.menu-card p { max-width: 38ch; }
.menu-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.menu-card__social { display: inline-flex; gap: 0.5rem; }
.icon-link {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid rgba(22, 27, 23, 0.8);
  color: var(--on-beer);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease;
}
.icon-link .icon { width: 1.35rem; height: 1.35rem; }
.icon-link:hover { transform: translateY(-2px) rotate(-6deg); background: rgba(255, 248, 232, 0.45); }

.bento__photo {
  grid-column: 8 / -1;
  min-height: 220px;
}
.bento__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Na čepu ---------- */
.taps {
  padding-block: var(--space-section);
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.taps__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.taps__copy { display: grid; gap: 1.25rem; }

.shelf {
  --glass-h: clamp(92px, 11vw, 140px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.5rem, 2vw, 1.5rem);
}
/* Pult */
.shelf::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  right: -0.75rem;
  top: calc(var(--glass-h) + 0.1rem);
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(#5a4028, #3a2918);
  box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.6);
}

.tap {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.15rem;
}
.tap__name {
  margin-top: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(0.92rem, 0.8rem + 0.4vw, 1.1rem);
  text-wrap: balance;
}
.tap__meta {
  font-family: var(--font-chalk);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  line-height: 1.1;
  color: var(--ink-soft);
}

.glass {
  --liquid: linear-gradient(180deg, #f6c534 0%, #e9a714 70%, #d8920b 100%);
  --fill: 82%;
  position: relative;
  display: block;
  height: var(--glass-h);
  width: calc(var(--glass-h) * 0.58);
  border: 3px solid var(--ink);
  border-top-width: 0;
  border-radius: 6px 6px 16px 16px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .glass { background: rgba(255, 255, 255, 0.06); }
}
.glass--mug { margin-right: calc(var(--glass-h) * 0.14); overflow: visible; }
/* Ucho půllitru */
.glass--mug::after {
  content: "";
  position: absolute;
  top: 18%;
  right: calc(var(--glass-h) * -0.2);
  width: calc(var(--glass-h) * 0.22);
  height: 46%;
  border: 3px solid var(--ink);
  border-left: 0;
  border-radius: 0 16px 16px 0;
}
.glass--amber { --liquid: linear-gradient(180deg, #f0ae2a 0%, #d98b0c 70%, #c2760a 100%); }
.glass--pale { --liquid: linear-gradient(180deg, #f8dc7a 0%, #f1c64a 75%, #e6b433 100%); }
.glass--tall {
  width: calc(var(--glass-h) * 0.46);
  border-radius: 4px 4px 10px 10px;
  --liquid: linear-gradient(180deg, #eef0c4 0%, #dfe3a2 70%, #cfd489 100%);
  --fill: 78%;
}

.glass__drink {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--fill);
  border-radius: 0 0 12px 12px;
  background: var(--liquid);
  transform-origin: bottom;
  overflow: hidden;
}
.glass--mug .glass__drink { border-radius: 0 0 13px 13px; }
/* Pěna */
.glass--mug .glass__drink::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22%;
  background: var(--foam);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.06);
}
/* Bublinky */
.glass__drink::after {
  content: "";
  position: absolute;
  left: 30%;
  bottom: 6%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 12px 10px 0 -1px rgba(255, 255, 255, 0.6), -6px 22px 0 -1px rgba(255, 255, 255, 0.5);
  opacity: 0;
}

/* ---------- Pochoutky ---------- */
.food {
  padding-block: var(--space-section);
}
.food__head {
  display: grid;
  gap: 1.25rem;
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: start;
  gap: clamp(1rem, 3vw, 2.75rem);
  padding-bottom: 2.5rem;
}
.print--food {
  position: relative;
  padding: 10px 10px 34px;
  rotate: var(--r, 0deg);
  translate: 0 var(--y, 0);
}
.print--food img { aspect-ratio: 486 / 586; }
@media (hover: hover) {
  .print--food:hover { rotate: 0deg; scale: 1.03; z-index: 1; }
}

/* ---------- Kontakt ---------- */
.visit {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  padding-bottom: var(--space-section);
}
.visit__map {
  grid-column: 1 / 9;
  grid-row: 1;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.visit__card {
  grid-column: 7 / -1;
  grid-row: 1;
  z-index: 1;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.visit__address { font-size: var(--text-lead); line-height: 1.45; }

.text-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--beer);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  transition: text-underline-offset var(--dur-fast) ease;
}
.text-link:hover { text-underline-offset: 8px; }

.visit__phone {
  display: grid;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.visit__label {
  font-family: var(--font-chalk);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
}
.visit__phone a {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}
.visit__phone a:hover { color: var(--beer-deep); }
@media (prefers-color-scheme: dark) {
  .visit__phone a:hover { color: var(--beer); }
}

.contact-list { display: grid; gap: 0.55rem; }
.contact-list a, .contact-list__plain {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  overflow-wrap: anywhere;
}
.contact-list a {
  text-decoration: none;
  font-weight: 600;
  transition: color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.contact-list a:hover { color: var(--beer-deep); transform: translateX(3px); }
@media (prefers-color-scheme: dark) {
  .contact-list a:hover { color: var(--beer); }
}
.contact-list__plain { color: var(--ink-soft); }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--board);
  color: var(--chalk-soft);
  font-size: 0.95rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  padding-block: 2.5rem;
}
.site-footer__logo { width: 72px; height: 72px; border-radius: 50%; }
.site-footer__credit { margin-left: auto; }
.site-footer a {
  color: var(--chalk);
  font-weight: 700;
  text-decoration-color: var(--beer);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.site-footer a:hover { color: #ffd46b; }

/* ---------- Pohyb ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes drop-in {
  from { opacity: 0; transform: translateY(40px) rotate(6deg) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.6) rotate(-30deg); }
  70% { opacity: 1; transform: scale(0.94) rotate(4deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes pour {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes bubbles {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-60px); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Úvod: text naskočí postupně, fotky "dopadnou" na stůl, logo jako razítko */
  .hero__copy > * { animation: rise 800ms var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 90ms; }
  .hero__copy > :nth-child(3) { animation-delay: 180ms; }
  .print--tap { animation: drop-in 900ms var(--ease-out) 150ms both; }
  .print--cheers { animation: drop-in 900ms var(--ease-out) 320ms both; }
  .stamp { animation: stamp 700ms var(--ease-out) 650ms both; }

  /* Odhalování při scrollu (třídu reveal-on přidává main.js) */
  .reveal-on [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
    transition-delay: calc(var(--d, 0) * 110ms);
  }
  .reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

  /* Točení piva: když je pult vidět, sklenice se naplní */
  .reveal-on .shelf .glass__drink { transform: scaleY(0); }
  .reveal-on .shelf.is-visible .glass__drink {
    animation: pour 1400ms cubic-bezier(0.3, 0.7, 0.2, 1) both;
    animation-delay: calc(300ms + var(--i, 0) * 220ms);
  }
  .shelf.is-live .glass__drink::after {
    animation: bubbles 2.6s ease-in infinite;
    animation-delay: calc(1.8s + var(--i, 0) * 0.5s);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Tablet a mobil ---------- */
@media (max-width: 899px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero__photos {
    justify-self: center;
    max-width: 460px;
  }

  .about__photo, .about__text { grid-column: 1 / -1; }
  .about__text {
    grid-row: 2;
    margin: -3rem 0.75rem 0;
    translate: none;
  }

  .bento { margin-top: 0; }
  .board, .menu-card, .bento__photo { grid-column: 1 / -1; grid-row: auto; }
  .bento__photo img { aspect-ratio: 490 / 420; height: auto; }

  .taps__inner { grid-template-columns: 1fr; align-items: start; }

  .visit__map, .visit__card { grid-column: 1 / -1; }
  .visit__card { grid-row: 1; }
  .visit__map { grid-row: 2; margin-top: 1rem; aspect-ratio: 4 / 3; }
}

@media (max-width: 639px) {
  .gallery {
    display: flex;
    gap: 1rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 1rem var(--gutter) 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .print--food {
    flex: 0 0 72%;
    scroll-snap-align: center;
    translate: 0 calc(var(--y, 0) * 0.4);
  }

  .hero__actions .btn { flex: 1 1 auto; }
  .site-footer__credit { margin-left: 0; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 1.15rem; }
  .btn--small { padding-inline: 0.85em; font-size: 0.9rem; }
  .hours__row { gap: 0.5rem; }
  .hours__row::before { display: none; }
}
