/* Název souboru má číslo verze: .css a .js se na serveru ukládají do mezipaměti na rok, takže při každé změně soubor přejmenuj (v3, v4…) a uprav odkaz v index.html. */
/* Pára · barvy vzaté z interiéru na fotkách: bílé stěny, světlé březové dřevo, černý kávovar.
   Jedno písmo (Familjen Grotesk) na všechno, kurzíva Newsreader jen na chuťové tóny. Žádné efekty při scrollu ani náběhy: obsah je vidět hned. */
:root {
  --paper: #F7F5F1;
  --paper-2: #EFEBE4;
  --line: #DED7CC;
  --ink: #161412;
  --ink-soft: #5B544D;
  --birch: #E2C79B;
  --birch-deep: #8A5F2F;
  --open: #2F7D4F;
  --closed: #B2432F;

  --sans: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif-i: "Newsreader", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

main > section, .top__row, .chips, .foot, .demo-bar { padding-inline: var(--gutter); }
main > section > *, .foot > * { max-width: var(--max); margin-inline: auto; }

/* ───────── demo bar ───────── */
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding-block: 9px; background: var(--ink); color: #D8D2C9; font-size: 14px; }
.demo-bar a { color: #fff; }
.demo-bar__cta { font-weight: 600; text-decoration: none; white-space: nowrap; }
.demo-bar__cta:hover { text-decoration: underline; }

/* ───────── header ───────── */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 14px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-block: 12px; }
.logo { font: 700 26px/1 var(--sans); letter-spacing: -0.03em; text-decoration: none; }
.logo::after { content: ""; display: inline-block; width: .22em; height: .22em; margin-left: .06em; border-radius: 50%; background: var(--birch); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--paper-2); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status.is-open i { background: var(--open); }
.status.is-closed i { background: var(--closed); }
.top__actions { display: flex; gap: 8px; margin-left: auto; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-bottom: 10px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; font-size: 14px; font-weight: 500; text-decoration: none; padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; background: #fff; transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 99px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #3A342F; }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { min-height: 38px; padding: 0 14px; font-size: 14px; border: 1px solid var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }

/* ───────── hero ───────── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.hero > * { max-width: none; margin: 0; }
.eyebrow { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.hero h1 { font: 700 clamp(42px, 6.4vw, 88px)/0.98 var(--sans); letter-spacing: -0.035em; text-wrap: balance; max-width: 12ch; }
.hero__today { margin-top: 22px; font-size: clamp(17px, 1.4vw, 19px); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 72vh; background: var(--paper-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }

/* ───────── shared section heads ───────── */
main > section:not(.hero) { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head p { color: var(--ink-soft); font-size: 15px; max-width: 60ch; }
h2 { font: 700 clamp(34px, 4.6vw, 60px)/1 var(--sans); letter-spacing: -0.03em; text-wrap: balance; }
h3 { font: 600 21px/1.2 var(--sans); letter-spacing: -0.01em; }
.mark { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 1px 5px; border-radius: 4px; border: 1px solid var(--birch-deep); color: var(--birch-deep); vertical-align: 2px; }

/* ───────── menu ───────── */
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(28px, 5vw, 80px); }
.menu__group h3 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.menu__group h3 small { font-weight: 500; font-size: 14px; color: var(--ink-soft); margin-left: 6px; }
.menu__group li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__group .n { font-weight: 500; font-size: 18px; }
.menu__group .p { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 18px; }
.menu__group .d { grid-column: 1 / -1; color: var(--ink-soft); font-size: 15px; }

/* ───────── this week ───────── */
.updated { font-weight: 500; }
.week__grid { display: grid; grid-template-columns: 1fr 1.25fr 0.9fr; gap: 16px; align-items: stretch; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card__kicker { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--birch-deep); }
.card h3 { font-size: 26px; letter-spacing: -0.02em; }
.card p:not(.card__kicker):not(.notes) { color: var(--ink-soft); font-size: 16px; }
.notes { font: italic 400 20px/1.3 var(--serif-i); }
.card--photo { padding: 0; overflow: hidden; }
.card--photo img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card--photo > div { padding: 20px 24px 24px; display: grid; gap: 10px; }
.card--notice { background: var(--paper-2); border-color: transparent; }

/* ───────── place ───────── */
.place > * { max-width: none; }
.place { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.place__text { display: grid; gap: 18px; position: sticky; top: 130px; }
.place__text p { color: var(--ink-soft); font-size: 18px; max-width: 52ch; }
.place__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph { border-radius: var(--r); overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.place__photos { grid-auto-rows: minmax(0, auto); }
.ph--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ───────── visit ───────── */
.visit__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: clamp(24px, 4vw, 44px); }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: "dnes"; margin-left: 10px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--birch); vertical-align: 2px; }
.small { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
address { font: 600 24px/1.25 var(--sans); font-style: normal; letter-spacing: -0.01em; }
.how { margin: 18px 0 24px; display: grid; gap: 8px; color: var(--ink-soft); }
.how b { color: var(--ink); font-weight: 600; }
.visit h3 { margin-bottom: 12px; }
.facts { display: grid; gap: 0; }
.facts li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-soft); }
.facts li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--birch); }

/* ───────── footer ───────── */
.foot { background: var(--ink); color: #CFC8BE; padding-block: 48px 28px; }
.foot__row { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; align-items: start; font-size: 15px; }
.foot a { color: #fff; }
.logo--foot { color: #fff; font-size: 34px; }
.foot__credit { margin-top: 40px; padding-top: 18px; border-top: 1px solid #3A342F; font-size: 13px; color: #9A9188; }

/* ───────── responsive ───────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero__photo { aspect-ratio: 4 / 3; max-height: none; }
  .menu__grid, .visit__grid, .place { grid-template-columns: 1fr; }
  .place__text { position: static; }
  .week__grid { grid-template-columns: 1fr; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top__actions .btn:first-child { display: none; }
  .status span { white-space: nowrap; }
  .top__row { gap: 10px; }
  .logo { font-size: 22px; }
}
@media (max-width: 400px) {
  .top__actions { display: none; }
}
