:root {
  color-scheme: light;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --oat: #e9dece;
  --espresso: #34241c;
  --cocoa: #70594b;
  --cinnamon: #a55637;
  --caramel: #d6a66e;
  --line: rgb(52 36 28 / 14%);
  --line-strong: rgb(52 36 28 / 24%);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1240px;
  --ease-ui: cubic-bezier(.2, .8, .2, 1);
  font-family: var(--font);
  color: var(--espresso);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--espresso); font: 16px/1.55 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--cinnamon); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 11px 16px;
  transform: translateY(-150%);
  border-radius: 12px;
  background: var(--espresso);
  color: var(--paper);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.sample-bar {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px max(20px, calc((100vw - var(--shell)) / 2));
  background: var(--espresso);
  color: #f0e6d9;
  font-size: 11px;
  letter-spacing: .015em;
}
.sample-bar a { color: var(--paper); text-underline-offset: 3px; }
.sample-bar p { color: inherit; }

.cafe-header {
  position: sticky;
  z-index: 50;
  top: 10px;
  width: min(calc(100% - 40px), var(--shell));
  margin: 12px auto 0;
}
.header-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 999px;
  background: rgb(255 253 248 / 82%);
  box-shadow: 0 8px 26px rgb(52 36 28 / 8%), inset 0 1px rgb(255 255 255 / 82%);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
}
.wordmark { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--espresso); font-size: 14px; font-weight: 740; letter-spacing: -.025em; text-decoration: none; }
.wordmark > span:last-child { white-space: nowrap; }
.wordmark i { color: var(--cinnamon); font-style: normal; font-weight: 550; }
.wordmark-stamp { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--cinnamon); border-radius: 50%; color: var(--cinnamon); font-size: 17px; font-weight: 750; letter-spacing: -.06em; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 20px); }
.site-nav a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 12px; border-radius: 999px; color: var(--espresso); font-size: 13px; font-weight: 570; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, transform 100ms ease-out; }
.site-nav .nav-visit { padding-inline: 17px; background: var(--espresso); color: var(--paper); }
.nav-toggle { display: none; }

.hero {
  display: grid;
  width: min(calc(100% - 48px), var(--shell));
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  min-height: min(740px, calc(100svh - 100px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0 clamp(68px, 8vw, 108px);
}
.hero-copy { position: relative; z-index: 2; max-width: 570px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--cocoa); font-size: 11px; font-weight: 670; letter-spacing: .095em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--cinnamon); }
.hero h1 { max-width: 11ch; margin-top: 25px; font-size: clamp(3.7rem, 7.2vw, 6.6rem); font-weight: 680; letter-spacing: -.068em; line-height: .94; }
.hero h1 > span, .hero h1 em > span { display: block; }
.hero h1 em { display: block; margin-top: .08em; color: var(--cinnamon); font-style: normal; }
.hero-lede { max-width: 35ch; margin-top: 24px; color: var(--cocoa); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 20px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 999px; font-size: 13px; font-weight: 650; text-decoration: none; transition: background-color 160ms ease, color 160ms ease, transform 100ms ease-out; }
.button-dark { background: var(--espresso); color: var(--paper); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line-strong); color: var(--espresso); font-size: 13px; font-weight: 590; text-decoration: none; transition: color 160ms ease, border-color 160ms ease; }
.hero-location { display: flex; align-items: center; gap: 9px; margin-top: 32px; color: var(--cocoa); font-size: 11px; font-weight: 570; letter-spacing: .035em; }
.hero-location span:first-child { color: var(--espresso); font-weight: 680; }

.hero-visual { position: relative; width: 100%; aspect-ratio: 1.11 / .9; isolation: isolate; }
.hero-room { position: absolute; inset: 0 0 11% 12%; overflow: hidden; border-radius: 28px; background: #d3c3ad; }
.hero-room img, .hero-pour img { width: 100%; height: 100%; object-fit: cover; }
.hero-room img { object-position: 46% center; }
.hero-room figcaption, .hero-pour figcaption { position: absolute; z-index: 2; padding: 8px 12px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 999px; background: rgb(255 253 248 / 84%); color: var(--espresso); font-size: 10px; font-weight: 620; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-room figcaption { top: 15px; left: 15px; }
.hero-pour { position: absolute; z-index: 2; right: 22%; bottom: 0; width: 67%; height: 59%; overflow: hidden; border: 7px solid var(--cream); border-radius: 24px; background: #bb8b61; box-shadow: 0 18px 44px rgb(52 36 28 / 17%); }
.hero-pour img { object-position: 67% center; }
.hero-pour figcaption { right: 10px; bottom: 10px; }
.visual-stamp { position: absolute; z-index: 3; top: 8%; right: 0; display: grid; min-width: 88px; min-height: 64px; place-content: center; padding: 9px 13px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 18px; background: var(--cinnamon); color: var(--paper); box-shadow: 0 8px 24px rgb(52 36 28 / 12%); font-size: 9px; font-weight: 720; letter-spacing: .085em; line-height: 1.35; text-align: center; transform: rotate(3deg); }
.steam-trace { position: absolute; z-index: 3; top: 30%; right: 22%; width: 17%; height: 29%; overflow: visible; pointer-events: none; }
.steam-trace path { fill: none; stroke: #fff1dc; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgb(52 36 28 / 48%)); }
.hero-note { position: absolute; right: 0; bottom: 22px; color: var(--cocoa); font-size: 10px; font-weight: 560; letter-spacing: .08em; text-transform: uppercase; }

.story { position: relative; display: grid; grid-template-columns: minmax(160px, .55fr) minmax(0, 1.45fr); align-items: center; gap: clamp(44px, 9vw, 135px); min-height: 480px; padding: clamp(80px, 10vw, 132px) max(24px, calc((100vw - 1120px) / 2)); background: var(--oat); }
.story-aside { display: flex; flex-direction: column; align-items: center; gap: 13px; color: var(--cocoa); }
.story-mark { display: grid; width: 76px; aspect-ratio: 1; place-items: center; border: 1px solid rgb(165 86 55 / 56%); border-radius: 50%; background: rgb(255 253 248 / 38%); color: var(--cinnamon); font-size: 32px; font-weight: 700; letter-spacing: -.08em; line-height: 1; }
.story-aside-label { font-size: 10px; font-weight: 550; letter-spacing: .045em; }
.story-copy { max-width: 740px; }
.story-copy .eyebrow { color: var(--cinnamon); }
.story-copy h2 { max-width: 12ch; margin-top: 15px; font-size: clamp(3rem, 5.9vw, 5.3rem); font-weight: 640; letter-spacing: -.062em; line-height: .99; }
.story-copy > p:not(.eyebrow) { max-width: 45ch; margin-top: 20px; color: var(--cocoa); font-size: 17px; line-height: 1.62; }
.story-copy .text-link { margin-top: 16px; }
.story-footnote { position: absolute; right: max(24px, calc((100vw - 1120px) / 2)); bottom: 24px; color: var(--cocoa); font-size: 10px; font-weight: 560; letter-spacing: .055em; }

.menu-section { padding: clamp(76px, 10vw, 126px) 0 clamp(78px, 9vw, 112px); background: var(--paper); }
.menu-shell { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.menu-heading { max-width: 620px; }
.menu-heading h2 { margin-top: 12px; font-size: clamp(3rem, 5.7vw, 5.1rem); font-weight: 650; letter-spacing: -.06em; line-height: 1; }
.menu-note { margin-top: 11px; color: var(--cocoa); font-size: 13px; }
.menu-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(18px, 3.4vw, 44px); margin-top: 42px; }
.menu-item { position: relative; min-width: 0; min-height: 205px; padding: 19px 4px 26px; border-top: 1px solid var(--line-strong); }
.menu-kind { display: block; color: var(--cocoa); font-size: 10px; font-weight: 650; letter-spacing: .085em; text-transform: uppercase; }
.menu-item h3 { max-width: 14ch; margin-top: 30px; font-size: clamp(1.42rem, 2.3vw, 1.9rem); font-weight: 620; letter-spacing: -.045em; line-height: 1.15; }
.menu-item p { max-width: 30ch; margin-top: 8px; color: var(--cocoa); font-size: 13px; line-height: 1.5; }
.menu-price { display: block; margin-top: 13px; color: var(--cinnamon); font-size: 14px; font-weight: 680; font-variant-numeric: tabular-nums; }
.menu-swipe-note { display: none; }
.menu-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.menu-cta p { font-size: 14px; font-weight: 590; }
.menu-cta a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--oat); font-size: 12px; font-weight: 620; text-decoration: none; transition: background-color 160ms ease, transform 100ms ease-out; }

.visit { position: relative; overflow: hidden; padding: 0 max(24px, calc((100vw - 1120px) / 2)); background: var(--espresso); color: var(--paper); }
.visit-topline { display: flex; justify-content: space-between; padding-block: 18px; border-bottom: 1px solid rgb(255 253 248 / 20%); color: #ddcdb9; font-size: 10px; font-weight: 560; letter-spacing: .08em; }
.visit-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); align-items: center; gap: clamp(42px, 9vw, 128px); min-height: 500px; padding-block: clamp(72px, 9vw, 116px); }
.visit .eyebrow { color: #ddcdb9; }
.visit .eyebrow-dot { background: var(--caramel); }
.visit h2 { max-width: 9ch; margin-top: 15px; color: var(--paper); font-size: clamp(3.5rem, 7vw, 6.3rem); font-weight: 650; letter-spacing: -.065em; line-height: .96; }
.visit-copy > p:not(.eyebrow) { max-width: 40ch; margin-top: 19px; color: #ddcdb9; font-size: 16px; line-height: 1.6; }
.visit-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 19px; color: var(--paper); font-size: 13px; font-weight: 590; text-decoration: underline; text-decoration-color: var(--caramel); text-underline-offset: 5px; }
.visit-details { align-self: center; padding: clamp(22px, 3vw, 34px); border: 1px solid rgb(255 253 248 / 15%); border-radius: 24px; background: rgb(255 253 248 / 7%); box-shadow: 0 20px 55px rgb(0 0 0 / 12%), inset 0 1px rgb(255 253 248 / 7%); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.visit-detail { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; padding-block: 20px; border-bottom: 1px solid rgb(255 253 248 / 16%); }
.visit-detail:first-child { padding-top: 0; }
.visit-detail > span { color: #ddcdb9; font-size: 10px; font-weight: 620; letter-spacing: .075em; text-transform: uppercase; }
.visit-detail strong { color: var(--paper); font-size: 14px; font-weight: 570; line-height: 1.7; }
.visit-note { margin-top: 15px; color: #cfbca5; font-size: 10px; }
.visit-pin { position: absolute; right: 4vw; bottom: 19px; width: 43px; fill: none; stroke: var(--caramel); stroke-width: 1.7; opacity: .8; }
.visit-pin circle { fill: var(--caramel); stroke: none; }

.cafe-footer { display: flex; width: min(calc(100% - 48px), var(--shell)); flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-inline: auto; padding-block: 20px 24px; }
.footer-wordmark { min-height: 38px; font-size: 12px; }
.footer-wordmark .wordmark-stamp { width: 30px; height: 30px; font-size: 14px; }
.cafe-footer p, .cafe-footer > a:last-child { color: var(--cocoa); font-size: 10px; }
.cafe-footer > a:last-child { text-underline-offset: 3px; }

html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--ease-ui), transform 420ms var(--ease-ui); }
html.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .sample-bar a:hover { color: var(--caramel); }
  .site-nav a:not(.nav-visit):hover { background: rgb(52 36 28 / 6%); }
  .site-nav .nav-visit:hover, .button-dark:hover { background: #4a352a; }
  .text-link:hover, .visit-link:hover { color: var(--caramel); }
  .menu-cta a:hover { background: #e1d1bb; }
  .hero-room img, .hero-pour img { transition: transform 650ms var(--ease-ui); }
  .hero-visual:hover .hero-room img, .hero-visual:hover .hero-pour img { transform: scale(1.025); }
}
.button:active, .site-nav a:active, .menu-cta a:active { transform: scale(.97); transition-duration: 90ms; }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 38px; }
  .hero h1 { font-size: clamp(3.4rem, 7vw, 5.5rem); }
  .story { gap: 50px; }
  .visit-inner { gap: 42px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  .sample-bar { min-height: 32px; padding-inline: 18px; font-size: 10px; }
  .cafe-header { top: 8px; width: calc(100% - 28px); margin-top: 9px; }
  .header-inner { min-height: 58px; padding: 6px 7px 6px 12px; }
  .wordmark { gap: 8px; font-size: 13px; }
  .wordmark-stamp { width: 34px; height: 34px; font-size: 16px; }
  .nav-toggle { display: grid; width: 44px; height: 44px; align-content: center; justify-content: center; gap: 5px; border: 0; border-radius: 50%; background: var(--oat); color: var(--espresso); cursor: pointer; transition: background-color 140ms ease, transform 100ms ease-out; }
  .nav-toggle span { display: block; width: 17px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 180ms var(--ease-ui); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 0; display: grid; width: min(290px, calc(100vw - 28px)); gap: 3px; padding: 9px; border: 1px solid rgb(255 255 255 / 84%); border-radius: 21px; background: var(--paper); box-shadow: 0 18px 48px rgb(52 36 28 / 16%); -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-5px) scale(.985); transform-origin: top right; transition: opacity 170ms ease, transform 170ms var(--ease-ui), visibility 170ms; }
  .site-nav[data-open="true"] { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a { justify-content: flex-start; min-height: 46px; padding-inline: 13px; border-radius: 13px; font-size: 14px; }
  .site-nav .nav-visit { justify-content: center; margin-top: 3px; }

  .hero { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 39px; min-height: 0; padding-block: 57px 70px; }
  .hero-copy { max-width: 600px; }
  .hero h1 { max-width: 10ch; margin-top: 18px; font-size: clamp(3.45rem, 12.4vw, 5.5rem); }
  .hero-lede { max-width: 34ch; margin-top: 19px; font-size: 17px; }
  .hero-actions { margin-top: 23px; }
  .hero-location { margin-top: 24px; }
  .hero-visual { width: min(100%, 620px); margin-inline: auto; aspect-ratio: .98 / 1; }
  .hero-room { inset: 0 0 12% 9%; border-radius: 24px; }
  .hero-room figcaption { top: 11px; left: 11px; }
  .hero-pour { right: 18%; width: 70%; height: 59%; border-width: 6px; border-radius: 20px; }
  .hero-pour figcaption { right: 7px; bottom: 7px; padding: 7px 10px; }
  .visual-stamp { top: 5%; min-width: 72px; min-height: 56px; padding-inline: 9px; border-radius: 15px; font-size: 8px; }
  .steam-trace { top: 29%; right: 20%; width: 18%; height: 28%; }
  .hero-note { right: 0; bottom: 14px; font-size: 9px; }

  .story { grid-template-columns: 1fr; gap: 22px; min-height: 0; padding: 66px 7vw 73px; }
  .story-aside { flex-direction: row; justify-content: flex-start; gap: 12px; }
  .story-mark { width: 48px; font-size: 22px; }
  .story-copy h2 { max-width: 11ch; margin-top: 12px; font-size: clamp(2.8rem, 10.5vw, 4.3rem); }
  .story-copy > p:not(.eyebrow) { margin-top: 15px; font-size: 16px; }
  .story-copy .text-link { margin-top: 10px; }
  .story-footnote { right: 7vw; bottom: 16px; font-size: 9px; }

  .menu-section { padding-block: 68px 70px; }
  .menu-shell { width: calc(100% - 36px); }
  .menu-heading h2 { font-size: clamp(2.8rem, 10.5vw, 4.3rem); }
  .menu-items { display: flex; gap: 11px; margin-top: 29px; margin-inline: -18px; padding: 2px 18px 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 18px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .menu-items::-webkit-scrollbar { display: none; }
  .menu-item { display: flex; flex: 0 0 min(82vw, 330px); flex-direction: column; align-items: flex-start; min-height: 235px; padding: 20px 19px; border: 1px solid var(--line); border-radius: 19px; background: var(--cream); scroll-snap-align: start; }
  .menu-item h3 { margin-top: auto; padding-top: 30px; font-size: 1.7rem; }
  .menu-item p { max-width: 32ch; margin-top: 7px; font-size: 13px; }
  .menu-price { margin-top: 12px; }
  .menu-swipe-note { display: block; margin-top: 4px; color: var(--cocoa); font-size: 11px; }
  .menu-cta { margin-top: 23px; padding-top: 17px; }
  .menu-cta p { font-size: 13px; }
  .menu-cta a { min-height: 40px; padding-inline: 12px; }

  .visit { padding-inline: 18px; }
  .visit-topline { padding-block: 14px; font-size: 9px; }
  .visit-inner { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-block: 64px 62px; }
  .visit h2 { max-width: 10ch; font-size: clamp(3.35rem, 12vw, 4.8rem); }
  .visit-copy > p:not(.eyebrow) { max-width: 40ch; margin-top: 16px; font-size: 15px; }
  .visit-link { margin-top: 11px; }
  .visit-details { padding: 20px; border-radius: 19px; }
  .visit-detail { grid-template-columns: minmax(100px, .8fr) 1.2fr; gap: 12px; padding-block: 16px; }
  .visit-detail strong { font-size: 13px; }
  .visit-pin { right: 18px; bottom: 12px; width: 34px; }
  .cafe-footer { width: calc(100% - 36px); align-items: flex-start; padding-block: 18px 22px; }
  .cafe-footer p { order: 3; flex-basis: 100%; line-height: 1.5; }
}

@media (max-width: 390px) {
  .sample-bar { gap: 10px; font-size: 9px; }
  .sample-bar a { white-space: nowrap; }
  .hero h1 { font-size: 3.35rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .menu-item { flex-basis: 86vw; }
  .menu-cta { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .steam-trace path { stroke-dashoffset: 0 !important; }
  .nav-toggle span, .button, .text-link, .site-nav a, .menu-cta a, .hero-room img, .hero-pour img { transition: none; }
  .visual-stamp { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .header-inner, .site-nav, .hero-room figcaption, .hero-pour figcaption { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .visit-details { background: #4a352a; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :focus-visible { outline-width: 4px; }
  .header-inner, .site-nav, .visit-details { border-color: var(--espresso); }
  .menu-item { border-color: var(--espresso); }
  .sample-bar a { text-decoration-thickness: 2px; }
}

/* kontakt: odkazy s dostatečnou dotykovou plochou */
.visit-contact { display: grid; justify-items: start; }
.visit-contact a { display: inline-flex; align-items: center; min-height: 36px; padding-block: 4px; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.visit-contact a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .visit-contact a:hover { text-decoration-thickness: 2px; } }
