:root {
  color-scheme: light;
  --sand: #f2e8d7;
  --warm-brown: #38291e;
  --deep: #241a13;
  --cream: #f7f3e9;
  --gold: #bf9f50;
  --gold-hover: #b18e43;
  --label-spacing: .14em;
  --ink: #1b2921;
  --muted: #4e5c53;
  --line: #cecfc2;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--text-size)/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #ae6633; outline-offset: 4px; }
p, figure { margin: 0; }
h1, h2, h3, h4 { font: var(--heading-weight) var(--small-heading-size)/1 var(--display); margin: 0; }
h2 { font-size: var(--section-title-size); letter-spacing: -.025em; }
h3, #osobni-odber > h4 { font-size: var(--subheading-size); }
.wrap { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; top: 4px; left: 4px; z-index: 5; transform: translateY(-120%); padding: 10px; background: white; color: black; }
.skip:focus { transform: none; }
.header { background: var(--deep); color: var(--cream); border-bottom: 1px solid #415148; }
.bar { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: .93; font: var(--heading-weight) var(--small-heading-size)/.92 var(--display); letter-spacing: .035em; flex: none; }
.brand img { width: 57px; height: 57px; object-fit: contain; background: var(--cream); border-radius: 50%; padding: 3px; }
nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 33px); font-size: var(--text-small); }
nav a:hover, footer a:hover { color: var(--gold); }
.menubtn { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 51px; padding: 10px 18px; border: 1px solid var(--gold); border-radius: 0; background: var(--gold); color: var(--deep); line-height: 1.2; }
.button:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.button-small { min-height: 43px; white-space: nowrap; }
.button.ghost { background: transparent; border-color: #829084; color: var(--cream); }
.button.ghost:hover { border-color: var(--gold); color: var(--gold); }
.dark-button { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.dark-button:hover { background: #5b3e28; border-color: #5b3e28; }
.hero { background: var(--warm-brown); color: var(--cream); }
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; min-height: min(580px, 55vw); align-items: stretch; }
.hero-copy { align-self: center; padding: 46px 24px 52px 0; }
.label { font-family: var(--body); font-size: var(--text-label); text-transform: uppercase; letter-spacing: var(--label-spacing); }
.hero .label { color: var(--gold); margin-bottom: 16px; }
h1 { font-size: var(--page-title-size); line-height: .82; letter-spacing: -.025em; text-transform: uppercase; }
h1 span { color: var(--gold); }
.intro { max-width: 36ch; margin-top: 24px; color: var(--sand); font-size: var(--text-lead); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero-photo { position: relative; overflow: hidden; isolation: isolate; margin-block: 24px; border-radius: 5px; background: var(--warm-brown); }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 36% center; }
.hero-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #0c1612a8); }
figcaption { font-size: var(--text-small); }
.hero-photo figcaption { position: absolute; bottom: 18px; left: 22px; z-index: 1; }
.quick { background: #e8e5d8; border-bottom: 1px solid var(--line); }
.quick-inner { display: grid; grid-template-columns: 1fr 1fr; }
.quick a { position: relative; display: grid; padding: 17px 46px 17px 0; }
.quick a + a { padding-left: 25px; border-left: 1px solid var(--line); }
.quick a:hover { color: #78501c; }
.quick a span:last-child { position: absolute; right: 22px; top: 24px; font-size: 1.3rem; }
.section { padding-block: clamp(55px, 8vw, 103px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }
.section-head .label, .two .label { margin-bottom: 8px; }
.line-link { display: inline-block; text-decoration: underline; text-underline-offset: .28em; }
.line-link:hover { color: #87541f; }
.beers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.beer { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.product { min-height: 242px; display: grid; place-items: center; overflow: hidden; }
.product img { width: auto; height: 226px; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s ease; }
.product:hover img { transform: scale(1.05); }
.beer-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 20px 22px 23px; }
.beer-copy h3 { margin: 5px 0 12px; }
.beer-copy p:not(.label) { color: var(--muted); margin-bottom: 15px; }
.beer-copy a { margin-top: auto; }
.visit {
  --visit-border: #a28c6d;
  background: var(--sand);
  color: var(--warm-brown);
}
.visit-grid, .two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 5vw, 78px); }
.visit-grid article { border-top: 1px solid var(--visit-border); padding-top: 21px; }
.visit-grid p, .two p:not(.label), .event-list p { margin-block: 12px 18px; max-width: 58ch; }
.photo-panel .event-list article { border-top-color: var(--panel-line); }
address { margin-bottom: 14px; font-style: normal; }
.routes { display: grid; gap: 12px; align-content: start; }
.routes article { background: #101d17d9; border: 1px solid var(--panel-line); border-radius: 5px; padding: 16px 20px; scroll-margin-top: 20px; }
.routes article p:not(.label) { margin: 6px 0 0; }
.shop-paths { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; }
.routes > a { margin-top: 10px; }
.story { background: var(--warm-brown); color: var(--cream); }
.story .label, .story .line-link:hover { color: var(--gold); }
.story .two { align-items: center; }
.story img { width: 100%; height: auto; border-radius: 5px; }
.story figcaption { padding-top: 8px; color: #d6ddd3; }
.event-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 38px; }
.event-list article { border-top: 1px solid var(--line); padding-top: 16px; }
.business { background: var(--gold); color: var(--deep); }
.photo-panel {
  --panel-line: #f2e8d780;
  --shade: linear-gradient(90deg, #281b12ed, #352318d6 58%, #4c311dc4);
  background: var(--shade), var(--photo) var(--photo-position, center) / cover no-repeat, #281b12;
  color: var(--cream);
  border-top: 1px solid #f7f3e930;
}
.photo-panel .label, .photo-panel .line-link:hover { color: var(--gold); }
.photo-panel :focus-visible { outline-color: var(--gold); }
.photo-panel .dark-button { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.photo-panel .dark-button:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
#rozvoz { --photo: url("assets/delivery-panel.webp"); --photo-position: 65% 50%; }
#akce { --photo: url("assets/events-panel.webp"); --photo-position: 58% 50%; }
.business .two { align-items: center; }
footer { padding-block: 38px; background: var(--deep); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr .6fr; align-items: start; gap: 24px; font-size: var(--text-small); overflow-wrap: anywhere; }
.footer-grid div a { display: block; }
@media (max-width: 1060px) {
  .wrap { width: calc(100% - 56px); }
  .bar { gap: 15px; }
  .brand { font-size: var(--text-size); }
  nav { gap: 12px; }
}
@media (max-width: 860px) {
  .bar { position: relative; min-height: 72px; flex-wrap: wrap; padding-block: 8px; }
  .menubtn { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-height: 43px; padding: 6px 9px; color: var(--cream); border: 1px solid #829084; border-radius: 0; background: transparent; font: 400 var(--text-small) var(--body); }
  nav { order: 3; flex-basis: 100%; display: none; grid-template-columns: 1fr 1fr; padding: 5px 0 12px; }
  nav.open { display: grid; }
  nav a { padding: 5px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 39px 0 26px; }
  .hero-photo { min-height: 0; aspect-ratio: 2.1; margin: 0 0 23px; }
  .product { min-height: 170px; }
  .product img { height: 165px; }
  .beer-copy { padding: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .photo-panel { --shade: linear-gradient(145deg, #281b12ed, #3e2819ce); }
  .bar { gap: 9px; }
  .brand { gap: 7px; }
  .brand img { width: 43px; height: 43px; }
  .shop { padding-inline: 10px; gap: 5px; font-size: var(--text-small); }
  .section-head { align-items: start; flex-direction: column; gap: 12px; }
  .hero-photo { aspect-ratio: 1.55; }
  .actions .button { font-size: var(--text-small); gap: 6px; padding-inline: 10px; }
  .quick-inner, .beers, .visit-grid, .two, .event-list { grid-template-columns: 1fr; }
  .quick a + a { padding-left: 0; border: 0; border-top: 1px solid var(--line); }
  .quick a { padding-block: 10px; }
  .quick a span:last-child { right: 4px; top: 14px; }
  .product { min-height: 200px; }
  .product img { height: 192px; }
  .footer-grid { gap: 20px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product img { transition: none; }
}
@media (max-width: 380px) {
  .brand img { width: 38px; height: 38px; }
}

.story-articles {
  margin-top: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}
.story-articles details {
  border: 1px solid #f7f3e94d;
  border-radius: 0;
  background: #101d1780;
  padding: 0 16px;
}
.story-articles summary { cursor: pointer; padding-block: 15px; }
.story-articles summary::marker, .story-articles summary:hover { color: var(--gold); }
.story-articles summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.story-articles p { padding-bottom: 15px; }
.story-articles a { margin-bottom: 15px; }
@media (max-width: 900px) {
  .story-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .story-articles { grid-template-columns: 1fr; }
}

.upcoming-events { display: grid; gap: 12px; padding: 0; margin: 16px 0 0; list-style: none; }
.upcoming-events li { display: grid; gap: 2px; }
.upcoming-events time { color: var(--gold); font-size: var(--text-small); font-variant-numeric: tabular-nums; }

.visit-photo { width: 100%; height: auto; max-width: 540px; margin-top: 16px; border-radius: 5px; }
