/* Lipa — bistro, Banská Štiavnica */
:root {
  --paper: #F1E9DA;
  --paper-2: #E8DCC6;
  --card: #FBF6EC;
  --ink: #2A1F17;
  --ink-2: #5F5045;
  --ink-3: #75675A;
  --rule: rgba(42, 31, 23, .18);
  --rule-2: rgba(42, 31, 23, .32);
  --accent: #A8472A;
  --leaf: #66733A;
  --night: #221812;
  --cream: #F4EBDC;
  --cream-2: rgba(244, 235, 220, .66);
  --sbg: #E7C7A3;
  --sacc: #A8472A;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --soft: cubic-bezier(.45, 0, .2, 1);
  --gut: clamp(16px, 4.5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.62;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote, table { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--cream); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.label--light { color: var(--cream-2); }

.display {
  font-family: var(--serif); font-weight: 360; font-size: clamp(38px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -.022em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 300; color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.display--xl { font-size: clamp(46px, 7.4vw, 128px); line-height: .98; }

/* word reveal: ink settling */
[data-words] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.22em); transition: opacity .9s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-words].is-in .w { opacity: 1; filter: blur(0); transform: none; }
[data-words] em .p { font-style: normal; color: var(--ink); font-weight: 360; }
[data-fade] { opacity: 0; filter: blur(6px); transform: translateY(16px); transition: opacity 1.1s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 120ms); }
[data-fade].is-in { opacity: 1; filter: none; transform: none; }

/* photo developing like film */
.dev { overflow: hidden; background: #3A2C22 center / cover no-repeat; }
.dev img { filter: sepia(.95) saturate(.35) brightness(1.25) contrast(.75) blur(8px); transform: scale(1.08); transition: filter 1.2s var(--soft), transform 1.5s var(--ease), opacity .5s var(--soft); }
.dev.is-in img { filter: none; transform: scale(1); }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
@media (hover: hover) { .pill:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); } }
.pill:active { transform: scale(.97); }
.pill--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (hover: hover) { .pill--ink:hover { background: var(--accent); border-color: var(--accent); } }
.link { font-family: var(--sans); font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; transition: border-color .3s; }
@media (hover: hover) { .link:hover { border-color: var(--ink); } }

/* ======================= Reader bar ======================= */
.reader {
  position: fixed; inset: 0 0 auto; z-index: 40; height: 60px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 var(--gut);
  background: rgba(241, 233, 218, .86); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-101%); transition: transform .7s var(--ease);
}
.reader.is-on { transform: none; }
.reader__logo { font-style: italic; font-size: 28px; font-weight: 400; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; line-height: 1; }
.reader__folio { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.reader__folio #folioNo { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.reader__folio i { width: 28px; height: 1px; background: var(--rule-2); }
.reader__folio span { transition: opacity .3s; }
.reader__folio.is-swap span { opacity: 0; }
.reader__act { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.reader__toc { font-family: var(--sans); font-size: 14px; font-weight: 600; position: relative; }
.reader__toc::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: 0 50%; transition: transform .5s var(--ease); }
@media (hover: hover) { .reader__toc:hover::after { transform: scaleX(.3); } }
.reader__act .pill { height: 38px; padding: 0 18px; font-size: 13px; }
.reader__prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ======================= TOC ======================= */
.toc { position: fixed; inset: 0; z-index: 60; background: var(--paper); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--soft), visibility 0s .9s; overflow-y: auto; }
.toc.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--soft), visibility 0s; }
.toc__inner { max-width: 1200px; margin: 0 auto; padding: 28px var(--gut) 60px; }
.toc__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.toc__close { width: 44px; height: 44px; position: relative; border-radius: 50%; border: 1px solid var(--rule-2); transition: background .3s, transform .5s var(--ease); }
@media (hover: hover) { .toc__close:hover { background: var(--ink); color: var(--cream); transform: rotate(90deg); } }
.toc__close span { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.toc__close span + span { transform: rotate(-45deg); }
.toc__list li { border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.toc.is-open .toc__list li { opacity: 1; transform: none; }
.toc.is-open .toc__list li:nth-child(1) { transition-delay: .25s; } .toc.is-open .toc__list li:nth-child(2) { transition-delay: .3s; }
.toc.is-open .toc__list li:nth-child(3) { transition-delay: .35s; } .toc.is-open .toc__list li:nth-child(4) { transition-delay: .4s; }
.toc.is-open .toc__list li:nth-child(5) { transition-delay: .45s; } .toc.is-open .toc__list li:nth-child(6) { transition-delay: .5s; }
.toc.is-open .toc__list li:nth-child(7) { transition-delay: .55s; }
.toc__list a { display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 20px; padding: 20px 0; }
.toc__n { font-style: italic; font-size: 22px; color: var(--ink-3); }
.toc__t { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.05; font-weight: 340; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100; transition: transform .6s var(--ease), color .3s; }
.toc__d { font-family: var(--sans); font-size: 14px; color: var(--ink-2); text-align: right; }
@media (hover: hover) { .toc__list a:hover .toc__t { transform: translateX(14px); color: var(--accent); font-style: italic; } }

/* ======================= Cover ======================= */
.cover { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: #120C08; color: var(--cream); isolation: isolate; }
.cover__photo { position: absolute; inset: 0; z-index: -2; background: #120C08 50% 70% / cover no-repeat; }
.cover__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.18); filter: sepia(.9) saturate(.3) brightness(1.4) blur(10px); transition: transform 9s cubic-bezier(.1, .6, .2, 1), filter 2.6s var(--soft), opacity .7s var(--soft); }
.is-ready .cover__photo img { transform: scale(1.02) translateY(var(--cy, 0px)); filter: none; }
.is-settled .cover__photo img { transition: filter 2.6s var(--soft), opacity .7s var(--soft); }
.cover__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,8,5,.72) 0%, rgba(12,8,5,.15) 42%, rgba(12,8,5,0) 60%, rgba(12,8,5,.62) 100%); }

.cover__top { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 2fr 1fr auto; gap: 20px; align-items: center; padding: 20px var(--gut); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(244,235,220,.25); }
.cover__top span:nth-child(2) { text-align: center; }
.cover__top span:nth-child(3) { text-align: right; }
.cover__toc { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 16px; border: 1px solid rgba(244,235,220,.45); border-radius: 999px; transition: background .3s, color .3s; }
@media (hover: hover) { .cover__toc:hover { background: var(--cream); color: var(--ink); } }

.masthead {
  position: absolute; left: var(--gut); right: var(--gut); top: clamp(56px, 8vh, 80px);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: min(31vw, 56svh); line-height: .86; font-weight: 300; letter-spacing: -.04em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
@media (min-width: 701px) and (max-height: 820px) { .masthead { font-size: min(31vw, 42svh); } }
@media (min-width: 701px) and (max-height: 680px) { .masthead { font-size: min(31vw, 36svh); } }
.masthead span { display: inline-block; opacity: 0; filter: blur(16px); transform: translateY(18%); transition: opacity 1.4s var(--ease), filter 1.6s var(--ease), transform 1.6s var(--ease); }
.masthead span:nth-child(2) { transition-delay: .09s; } .masthead span:nth-child(3) { transition-delay: .18s; } .masthead span:nth-child(4) { transition-delay: .27s; }
.masthead span:nth-child(1) { font-style: normal; }
.masthead span:nth-child(4) { font-style: italic; }
.is-ready .masthead span { opacity: 1; filter: none; transform: none; }

.cover__lines { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(28px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 300px) 1fr minmax(0, 300px); grid-template-rows: auto auto; gap: 26px 40px; align-items: end; }
.cl { display: grid; gap: 6px; grid-column: 1; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-ready .cl { opacity: 1; transform: none; }
.cl:nth-child(1) { transition-delay: 1.1s; } .cl:nth-child(2) { transition-delay: 1.25s; } .cl:nth-child(3) { transition-delay: 1.4s; } .cl:nth-child(4) { transition-delay: 1.55s; }
.cl--r { grid-column: 3; grid-row: 1; text-align: right; justify-items: end; }
.cl--r2 { grid-row: 2; margin-bottom: 76px; }
.cl__k { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #F0B48F; }
.cl b { font-weight: 420; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "opsz" 72, "SOFT" 100; }
.cl--lead b { font-size: clamp(30px, 3vw, 46px); font-style: italic; font-weight: 340; }
.cl__d { font-size: 15px; line-height: 1.4; color: var(--cream-2); font-style: italic; }
@media (hover: hover) { .cl:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } }

.sticker { position: absolute; right: calc(var(--gut) + 8px); top: 44%; width: 132px; height: 132px; border-radius: 50%; background: var(--accent); color: var(--cream); display: grid; place-items: center; transform: rotate(-8deg) scale(0); transition: transform 1.1s cubic-bezier(.3, 1.6, .5, 1) 1.8s; }
.is-ready .sticker { transform: rotate(-8deg) scale(1); }
@media (hover: hover) { .sticker:hover { background: var(--cream); color: var(--accent); } }
.sticker svg { position: absolute; inset: 6px; width: calc(100% - 12px); animation: spin 22s linear infinite; }
.sticker text { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; fill: currentColor; }
.sticker > span { display: grid; text-align: center; font-size: 30px; line-height: 1; font-weight: 500; font-variation-settings: "opsz" 72; }
.sticker small { font-family: var(--sans); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.barcode { position: absolute; right: var(--gut); bottom: clamp(28px, 5vh, 56px); background: var(--cream); color: var(--ink); padding: 8px 10px 5px; display: grid; justify-items: center; gap: 2px; opacity: 0; transition: opacity 1s ease 2s; }
.is-ready .barcode { opacity: 1; }
.barcode svg { width: 104px; height: 34px; }
.barcode span { font-family: var(--sans); font-size: 9px; letter-spacing: .12em; }

/* ======================= Pages ======================= */
.page { max-width: 1520px; margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--gut); }
.folio { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: clamp(48px, 6vw, 96px); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.folio span:first-child { font-family: var(--serif); font-style: italic; font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.folio span:last-child { text-align: right; }

/* ======================= Editorial ======================= */
.editorial__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 32px; }
.editorial .display { grid-column: 1 / span 10; }
.editorial__cols { grid-column: 4 / -1; columns: 2; column-gap: 48px; font-size: 19px; }
.editorial__cols p + p { margin-top: 1em; }
.dropcap::first-letter { float: left; font-size: 5.6em; line-height: .78; margin: .06em .1em 0 0; font-weight: 300; color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.sign { break-inside: avoid; margin-top: 28px; display: grid; gap: 4px; }
.sign svg { width: 200px; height: 64px; overflow: visible; }
.sign path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--soft) .6s; }
.is-in .sign path { stroke-dashoffset: 0; }
.sign span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* ======================= Menu ======================= */
.menu__head { display: grid; gap: 22px; max-width: 1100px; margin-bottom: clamp(56px, 7vw, 110px); }
.menu__note { font-style: italic; color: var(--ink-2); max-width: 36em; }
.v { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--leaf); border-radius: 50%; color: var(--leaf); font-family: var(--sans); font-size: 9px; font-weight: 700; font-style: normal; vertical-align: .25em; margin-left: 4px; letter-spacing: 0; }

.menu__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px) clamp(40px, 6vw, 110px); }
.course__t { display: flex; align-items: baseline; gap: 14px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--rule-2); margin-bottom: 8px; }
.course__t span { font-family: var(--serif); font-style: italic; font-size: 20px; letter-spacing: 0; color: var(--accent); font-weight: 400; text-transform: none; }
.course:nth-child(2) { --d: 200ms; } .course:nth-child(4) { --d: 200ms; }

.dish { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 0; padding: 20px 0 20px; border-bottom: 1px solid var(--rule); cursor: default; transition: padding .5s var(--ease); }
.dish::before { content: ""; grid-column: 2; grid-row: 1; align-self: end; margin: 0 12px .5em; border-bottom: 1px dotted var(--rule-2); }
.dish__n { grid-column: 1; grid-row: 1; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.2; font-weight: 420; letter-spacing: -.012em; font-variation-settings: "opsz" 72, "SOFT" 100; max-width: 22ch; transition: color .35s, transform .5s var(--ease); }
.dish__p { grid-column: 3; grid-row: 1; align-self: end; font-size: 20px; font-variant-numeric: lining-nums tabular-nums; }
.dish__d { grid-column: 1 / -1; font-style: italic; font-size: 16px; color: var(--ink-2); margin-top: 4px; max-width: 34em; }
.dish sup { font-family: var(--sans); font-size: 11px; font-weight: 700; color: var(--accent); margin-left: 2px; letter-spacing: .04em; }
@media (hover: hover) { .dish:hover .dish__n { color: var(--accent); transform: translateX(8px); } }
.dish--feat .dish__n { font-style: italic; }
.dish__thumb { display: none; }

.tasting { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: auto 1fr auto auto; gap: 20px 48px; align-items: center; background: var(--night); color: var(--cream); padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3.4vw, 56px); border-radius: 4px; }
.tasting .label { color: #F0B48F; grid-column: 1 / -1; }
.tasting b { font-weight: 360; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "opsz" 144, "SOFT" 100; }
.tasting__p { display: grid; }
.tasting__p span { font-size: clamp(48px, 5vw, 76px); line-height: 1; font-style: italic; font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.tasting__p small { font-family: var(--sans); font-size: 13px; color: var(--cream-2); margin-top: 6px; }
.tasting p { font-size: 15px; color: var(--cream-2); max-width: 24em; font-style: italic; }
.tasting .pill--ink { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@media (hover: hover) { .tasting .pill--ink:hover { background: var(--accent); color: var(--cream); border-color: var(--accent); } }

.peek { position: fixed; left: 0; top: 0; z-index: 30; width: 260px; height: 320px; pointer-events: none; border-radius: 3px; overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path .6s var(--ease); box-shadow: 0 30px 60px -20px rgba(42,31,23,.5); will-change: transform; }
.peek.is-on { clip-path: inset(0 0 0 0); }
.peek img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }

/* ======================= Season dial ======================= */
.season { max-width: none; background: var(--sbg); transition: background-color 1.1s var(--soft); }
.season > * { max-width: calc(1520px - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.season .folio { border-color: var(--ink); }
.season .display em { color: var(--sacc); transition: color 1.1s var(--soft); }
.season__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.season__copy { display: grid; gap: 26px; align-content: start; }
.season__copy > p { color: var(--ink-2); max-width: 30em; }
.season__ctrl { display: flex; align-items: center; gap: 12px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); font-size: 20px; font-family: var(--sans); transition: background .3s, color .3s, transform .4s var(--ease); }
@media (hover: hover) { .round:hover { background: var(--ink); color: var(--cream); } }
.round:active { transform: scale(.92); }
.season__hint { font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-left: 10px; }

.dial { position: relative; width: min(100%, 640px); aspect-ratio: 1; justify-self: center; touch-action: pan-y; -webkit-touch-callout: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.dial.is-drag { cursor: grabbing; }
.dial__ring { width: 100%; height: 100%; overflow: visible; }
.dial__ring text { font-family: var(--serif); font-size: 21px; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; transition: opacity .5s, fill .5s; font-variation-settings: "opsz" 72, "SOFT" 100; }
.dial__ring text.is-on { font-style: italic; fill: var(--sacc); }
.dial__pointer { position: absolute; left: 50%; top: -6px; width: 2px; height: 34px; background: var(--ink); transform: translateX(-50%); }
.dial__pointer::after { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--sacc); transform: translateX(-50%); transition: background 1.1s; }
.dial__center { position: absolute; inset: 24%; border-radius: 50%; background: var(--card); display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 8%; box-shadow: 0 30px 70px -40px rgba(42,31,23,.45); pointer-events: none; }
.dial__center > * { transition: opacity .35s, transform .5s var(--ease); }
.dial__center.is-swap > * { opacity: 0; transform: translateY(6px); }
.dial__icon { width: 56px; height: 56px; fill: none; stroke: var(--sacc); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; transition: stroke 1.1s; }
.dial__state { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dial__month { font-size: clamp(36px, 4.4vw, 60px); line-height: 1; font-weight: 340; font-style: italic; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.dial__produce { font-family: var(--sans); font-size: 13px; color: var(--ink-2); max-width: 22ch; }
.dial__dish { font-size: 15px; font-style: italic; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--rule); max-width: 22ch; line-height: 1.35; }

/* ======================= Map ======================= */
.map__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.map__copy { display: grid; gap: 26px; }
.map__copy > p { color: var(--ink-2); max-width: 30em; }
.sup { border-top: 1px solid var(--ink); margin-top: 8px; }
.sup li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: padding .5s var(--ease), background .3s; }
.sup__n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-family: var(--sans); font-size: 12px; font-weight: 700; transition: background .3s, color .3s; }
.sup b { display: block; font-weight: 450; font-size: 19px; line-height: 1.25; font-variation-settings: "opsz" 48, "SOFT" 100; }
.sup div span { font-size: 15px; font-style: italic; color: var(--ink-2); }
.sup__km { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sup li.is-on { padding-left: 10px; }
.sup li.is-on .sup__n { background: var(--accent); color: var(--cream); }
.map__art { position: sticky; top: 90px; }
#topo { width: 100%; height: auto; background: var(--card); border-radius: 4px; box-shadow: 0 1px 0 var(--rule), 0 40px 80px -60px rgba(42,31,23,.5); }
#topo .contours path { fill: none; stroke: var(--ink); stroke-width: .7; opacity: .22; }
#topo .contours path.idx { stroke-width: 1.1; opacity: .4; }
#topo text { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink-2); }
#topo .t-serif { font-family: var(--serif); font-size: 15px; font-style: italic; letter-spacing: 0; text-transform: none; font-weight: 400; fill: var(--ink); }
#topo .pin circle { fill: var(--card); stroke: var(--accent); stroke-width: 1.5; transition: fill .3s, r .4s var(--ease); }
#topo .pin text { fill: var(--accent); font-size: 11px; font-weight: 700; text-anchor: middle; dominant-baseline: central; letter-spacing: 0; transition: fill .3s; }
#topo .pin.is-on circle { fill: var(--accent); }
#topo .pin.is-on text { fill: var(--cream); }
#topo .pin .pulse { fill: none; stroke: var(--accent); opacity: 0; }
#topo .pin.is-on .pulse { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { r: 12; opacity: .8; } 100% { r: 34; opacity: 0; } }
#topo .route { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 5 5; }
#topo .rings circle { fill: none; stroke: var(--accent); stroke-width: .8; opacity: .35; stroke-dasharray: 2 4; }

/* ======================= Interview ======================= */
.interview__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.interview__photo { position: sticky; top: 90px; }
.interview__photo .dev { aspect-ratio: 4 / 5; border-radius: 3px; }
.interview__photo img { width: 100%; height: 100%; object-fit: cover; }
.interview__photo figcaption { margin-top: 12px; font-size: 14px; font-style: italic; color: var(--ink-2); }
.interview__text { display: grid; gap: 30px; max-width: 760px; }
.interview__lede { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.45; font-variation-settings: "opsz" 48, "SOFT" 100; }
.qa { display: grid; gap: 14px; }
.qa p { color: var(--ink-2); }
.qa .q { color: var(--ink); font-weight: 600; font-variation-settings: "opsz" 24, "SOFT" 50; margin-top: 10px; }
.pull { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.08; font-style: italic; font-weight: 320; letter-spacing: -.02em; color: var(--accent); padding: 26px 0; border-block: 1px solid var(--rule-2); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; text-wrap: balance; }

/* ======================= Space ======================= */
.space { position: relative; height: 92vh; min-height: 520px; overflow: hidden; color: var(--cream); }
.space__img { position: absolute; inset: -8% 0; }
.space__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; translate: 0 var(--sy, 0); }
.space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18,12,8,.75)); pointer-events: none; }
.space__cap { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: clamp(28px, 6vh, 64px); display: grid; gap: 14px; max-width: 900px; }
.space__cap p { font-size: clamp(28px, 3.4vw, 54px); line-height: 1.1; font-weight: 340; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 100; }
.space__cap em { font-style: italic; color: #F0B48F; }

/* ======================= Reservation ticket ======================= */
.reserve__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.reserve__copy { display: grid; gap: 26px; }
.reserve__copy > p { color: var(--ink-2); }
.reserve__copy a { border-bottom: 1px solid var(--rule-2); color: var(--ink); }

.ticket { --notch: 14px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; background: var(--card); border-radius: 6px; box-shadow: 0 1px 0 var(--rule), 0 40px 80px -50px rgba(42,31,23,.55); position: relative; }
.ticket__main { padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.tk-step, .tk-row > * { min-width: 0; }
.ticket__stub { position: relative; padding: clamp(22px, 3vw, 40px) 28px; display: grid; align-content: start; gap: 10px; border-left: 2px dashed var(--rule-2); transition: transform 1s var(--ease); transform-origin: 0 100%; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2); border-radius: 50%; background: var(--paper); }
.ticket__stub::before { top: calc(var(--notch) * -1); } .ticket__stub::after { bottom: calc(var(--notch) * -1); }
.ticket__stub b { font-size: 28px; line-height: 1.1; font-weight: 400; font-style: italic; letter-spacing: -.015em; font-variation-settings: "opsz" 72, "SOFT" 100; margin-top: 4px; }
.ticket__stub #sumMeta { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.ticket__stub .pill { justify-content: center; }
.ticket__ok { font-size: 15px; font-style: italic; color: var(--leaf); clip-path: inset(0 0 100% 0); }
.ticket.is-sent .ticket__stub { transform: rotate(4deg) translate(14px, 8px); }
.ticket.is-sent .ticket__ok { clip-path: inset(0); transition: clip-path .9s steps(9) .5s; }
.ticket__demo { font-family: var(--sans); font-size: 12px; line-height: 1.4; letter-spacing: .01em; color: var(--ink-3); clip-path: inset(0 0 100% 0); }
.ticket__demo:empty { display: none; }
.ticket.is-sent .ticket__demo { clip-path: inset(0); transition: clip-path .7s steps(7) 1.2s; }
.ticket.is-sent .ticket__stub .pill { pointer-events: none; }
.stamp { display: none; justify-self: start; margin: 8px 0 6px 4px; padding: 6px 12px; border: 2px solid var(--accent); color: var(--accent); font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; border-radius: 4px; transform: rotate(-8deg); opacity: .9; }
.ticket.is-sent .stamp { display: block; animation: stampIn .5s cubic-bezier(.5, 1.8, .6, 1) .15s both; }
@keyframes stampIn { from { transform: rotate(-8deg) scale(1.8); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: .9; } }

.tk-l { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.tk-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; }
.tk-row:has(.fld) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 -4px; padding-left: 4px; scroll-snap-type: x proximity; }
.days::-webkit-scrollbar { display: none; }
.days { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.day { flex: none; width: 66px; padding: 10px 0 12px; border-radius: 40px; border: 1px solid var(--rule-2); display: grid; justify-items: center; gap: 2px; font-family: var(--sans); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); scroll-snap-align: start; }
.day small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.day b { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; }
.day i { font-style: normal; font-size: 10px; color: var(--ink-3); }
@media (hover: hover) { .day:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); } }
.day.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.day.is-on small, .day.is-on i { color: var(--cream-2); }
.day:disabled { opacity: .38; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule-2); border-radius: 40px; height: 48px; }
.stepper button { width: 46px; height: 46px; font-size: 20px; border-radius: 50%; transition: background .3s; }
@media (hover: hover) { .stepper button:hover { background: var(--paper); } }
.stepper output { min-width: 28px; text-align: center; font-size: 22px; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { padding: 8px 12px; border-radius: 40px; border: 1px solid var(--rule-2); font-family: var(--sans); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background .3s, color .3s, border-color .3s; }
@media (hover: hover) { .slot:hover:not(:disabled) { border-color: var(--ink); } }
.slot.is-on { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.slot:disabled { text-decoration: line-through; opacity: .4; cursor: not-allowed; }
.fld { display: grid; gap: 6px; }
.fld span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.fld input { border: 0; border-bottom: 1px solid var(--rule-2); background: transparent; padding: 6px 0 10px; font-size: 19px; outline: none; border-radius: 0; transition: border-color .3s; width: 100%; }
.fld input::placeholder { color: var(--ink-3); font-style: italic; }
.fld input:focus { border-color: var(--accent); }
.fld.is-bad input { border-color: #C0392B; }

/* ======================= Info ======================= */
.info__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 72px); }
.info__block { display: grid; gap: 18px; align-content: start; }
.info__block > p { color: var(--ink-2); }
.info__big { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.2; color: var(--ink) !important; font-variation-settings: "opsz" 72, "SOFT" 100; letter-spacing: -.01em; }
.hours { border-collapse: collapse; width: 100%; font-size: 17px; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.hours td + td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hours tr.is-today td { font-weight: 600; color: var(--ink); }
.hours tr.is-today td:first-child::before { content: "→ "; color: var(--accent); }
.live { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.live.is-open i { background: #5E8C3A; box-shadow: 0 0 0 4px rgba(94,140,58,.18); }
.live.is-closed i { background: #B4472B; }
.facts li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); font-size: 17px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-radius: 0 100% 0 100%; background: var(--leaf); }

/* ======================= Colophon ======================= */
.colophon { background: var(--night); color: var(--cream); padding: clamp(80px, 10vw, 150px) var(--gut) 28px; }
.colophon > * { max-width: calc(1520px - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.colophon__next { display: grid; gap: 22px; padding-bottom: clamp(56px, 7vw, 110px); }
.colophon__big { font-size: clamp(42px, 6.4vw, 112px); line-height: 1; font-weight: 320; letter-spacing: -.025em; font-variation-settings: "opsz" 144, "SOFT" 100; max-width: 15ch; }
.colophon__big em { font-style: italic; color: #F0B48F; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.news { position: relative; display: flex; max-width: 560px; border-bottom: 1px solid rgba(244,235,220,.4); margin-top: 10px; }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 14px 0; font-size: 19px; outline: none; color: var(--cream); }
.news input::placeholder { color: var(--cream-2); font-style: italic; }
.news button { font-family: var(--sans); font-weight: 600; font-size: 14px; padding: 0 0 0 20px; transition: color .3s; }
@media (hover: hover) { .news button:hover { color: #F0B48F; } }
.news__msg { position: absolute; left: 0; right: 0; top: 100%; margin-top: 10px; font-style: italic; line-height: 1.35; color: #F0B48F; }
.news__msg:not(:empty) { animation: msgIn .5s var(--ease) both; }
.news__demo { display: block; margin-top: 4px; font-family: var(--sans); font-size: 12px; font-style: normal; letter-spacing: .01em; color: var(--cream-2); opacity: .8; }
.news.is-bad .news__msg { color: #F2A48E; }
.news.is-bad { border-color: #E07856; }
.colophon__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 30px 0; border-top: 1px solid rgba(244,235,220,.2); }
.colophon__grid > div { display: grid; gap: 10px; align-content: start; }
.colophon__grid p { font-size: 16px; line-height: 1.6; color: var(--cream-2); }
.colophon__grid a { transition: color .3s; }
@media (hover: hover) { .colophon__grid a:hover { color: var(--cream); } }
.colophon__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(244,235,220,.2); font-family: var(--sans); font-size: 13px; color: var(--cream-2); }
.colophon__demo { margin-top: 18px; margin-bottom: 0; font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: rgba(244, 235, 220, .42); }
.colophon__logo { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--cream); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; line-height: 1; }

/* ======================= Responsive ======================= */
@media (max-width: 1100px) {
  .menu__body { grid-template-columns: minmax(0, 1fr); }
  .tasting { grid-template-columns: 1fr auto; }
  .tasting p { grid-column: 1 / -1; }
  .editorial__cols { grid-column: 1 / -1; }
  .info__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .reader { grid-template-columns: auto 1fr auto; height: 56px; }
  .reader__folio { justify-content: center; font-size: 10px; letter-spacing: .12em; gap: 8px; }
  .reader__folio i { width: 14px; }
  .reader__act .pill { display: none; }
  .cover__top { grid-template-columns: 1fr 1fr auto; }
  .cover__top .hide-sm { display: none; }
  .cover__lines { grid-template-columns: 1fr; }
  .cl--r, .cl--r2, .cl:nth-child(2) { display: none; }
  .sticker { width: 104px; height: 104px; top: auto; bottom: 36%; right: var(--gut); }
  .sticker > span { font-size: 22px; }
  .sticker small { font-size: 6.5px; letter-spacing: .04em; margin-bottom: 2px; }
  .barcode { display: none; }
  .season__grid, .map__grid, .interview__grid, .reserve__grid { grid-template-columns: minmax(0, 1fr); }
  .map__art, .interview__photo { position: static; }
  .map__art { order: -1; }
  .editorial .display { grid-column: 1 / -1; }
  .editorial__cols { columns: 1; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket__stub { border-left: 0; border-top: 2px dashed var(--rule-2); }
  .ticket__stub::before, .ticket__stub::after { left: auto; top: calc(var(--notch) * -1 - 1px); bottom: auto; }
  .ticket__stub::before { left: calc(var(--notch) * -1); }
  .ticket__stub::after { right: calc(var(--notch) * -1); }
  .ticket.is-sent .ticket__stub { transform: rotate(-2deg) translate(0, 10px); }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .masthead { font-size: 34vw; top: 70px; }
  .tk-row, .tk-row:has(.fld) { grid-template-columns: minmax(0, 1fr); }
  .info__grid, .colophon__grid { grid-template-columns: minmax(0, 1fr); }
  .tasting { grid-template-columns: minmax(0, 1fr); }
  .toc__list a { grid-template-columns: 40px 1fr; }
  .toc__d { grid-column: 2; text-align: left; }
  .colophon__base { flex-direction: column; }
  .folio span:last-child { display: none; }
  .folio { grid-template-columns: auto 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; animation: none !important; }
}


/* =====================================================================
   Polish layer: finished-product details
   ===================================================================== */
html { scroll-padding-top: 60px; }
main > section, .colophon { scroll-margin-top: 59px; }
main > .cover { scroll-margin-top: 0; }
[tabindex="-1"]:focus { outline: none; }

/* focus rings readable on dark grounds */
.cover :focus-visible, .tasting :focus-visible, .colophon :focus-visible, .space :focus-visible { outline-color: #F0B48F; }
.dial:focus-visible { outline-offset: 10px; border-radius: 50%; }
.fld input:focus-visible { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.news:focus-within { border-bottom-color: #F0B48F; box-shadow: 0 1px 0 #F0B48F; }
.news input:focus-visible { outline: none; }
.sup li:focus-visible { outline-offset: -2px; }
.toc__list a:focus-visible { outline-offset: -2px; }
.toc__list a:focus-visible .toc__t { transform: translateX(14px); color: var(--accent); font-style: italic; }
.dish sup:focus-visible { outline-offset: 2px; border-radius: 2px; }

/* skip link: a tab pulled out from the binding */
.skip { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--cream); font-family: var(--sans); font-size: 14px; font-weight: 600; transform: translateY(-180%); transition: transform .5s var(--ease); }
.skip::before { content: "↓"; margin-right: 10px; color: #F0B48F; }
.skip:focus-visible { transform: none; outline: 2px solid #F0B48F; outline-offset: 3px; }

/* photo placeholders: blur-up from the inline thumbnail */
html.js .ph { opacity: 0; }
html.js .ph.is-loaded { opacity: 1; }
html.js .dish__thumb.ph { transition: opacity .6s var(--soft); }
.dish__thumb { background: var(--lq, #3A2C22) center / cover no-repeat; }
.peek { background: var(--lq, #3A2C22) center / cover no-repeat; }

/* micro-interactions: hover and pressed states */
.cover__toc:active, .reader__toc:active { transform: scale(.95); }
.cover__toc, .reader__toc { transition: background .3s, color .3s, transform .35s var(--ease); }
.reader__logo { transition: transform .5s var(--ease), color .3s; display: inline-block; }
@media (hover: hover) { .reader__logo:hover { transform: rotate(-3deg) scale(1.06); color: var(--accent); } }
.is-settled .sticker { transition: transform .55s var(--ease), background .3s, color .3s; }
@media (hover: hover) { .is-settled .sticker:hover { transform: rotate(-3deg) scale(1.07); } }
.is-settled .sticker:active { transform: rotate(-8deg) scale(.95); }
.cl:active b { opacity: .7; }
.day:active:not(:disabled) { transform: scale(.94); }
.slot { transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.slot:active:not(:disabled) { transform: scale(.93); }
.stepper button { transition: background .3s, transform .3s var(--ease); }
.stepper button:active { transform: scale(.86); }
.link:active { transform: translateY(1px); }
@media (hover: hover) { .sup li:hover:not(.is-on) { background: rgba(42, 31, 23, .04); } }
.toc__list a:active .toc__t { transform: translateX(6px); }
.toc__close:active { transform: rotate(90deg) scale(.92); }
.news button:active { transform: scale(.94); }
.colophon__base a, .colophon__cookies { transition: color .3s, border-color .3s; }
@media (hover: hover) { .colophon__base a:hover { color: var(--cream); } }
.colophon__links { display: inline-flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.colophon__cookies { font: inherit; color: inherit; border-bottom: 1px solid rgba(244, 235, 220, .3); padding-bottom: 1px; }
@media (hover: hover) { .colophon__cookies:hover { color: var(--cream); border-color: var(--cream); } }
.dish sup { transition: transform .3s var(--ease); display: inline-block; }
@media (hover: hover) { .dish sup:hover { transform: translateY(-2px); } }
.reserve__copy a { transition: border-color .3s; }
@media (hover: hover) { .reserve__copy a:hover { border-color: var(--ink); } }

/* buttons: loading and success */
.btn { position: relative; }
.btn__spin { display: none; width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn__ok { display: none; width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn__ok path { stroke-dasharray: 18; stroke-dashoffset: 18; }
.btn[data-state="busy"] .btn__spin { display: block; }
.btn[data-state="ok"] .btn__ok { display: block; }
.btn[data-state="ok"] .btn__ok path { animation: tick .5s var(--ease) .05s forwards; }
.btn:disabled { cursor: progress; }
.btn[data-state="busy"] { opacity: .88; }
.pill.btn[data-state="ok"] { background: var(--leaf); border-color: var(--leaf); color: var(--cream); cursor: default; }
.news .btn { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 96px; }
.news .btn[data-state="ok"] { color: #F0B48F; }
.btn__l:empty { display: none; }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* inline errors, written like a proofreader's margin note */
.err { display: block; margin: 4px 0 0; font-family: var(--sans); font-size: 12.5px; font-weight: 500; font-style: normal; letter-spacing: 0; text-transform: none; line-height: 1.4; color: #B0382B; animation: msgIn .4s var(--ease) both; }
.err[hidden] { display: none; }
.err::before { content: "¶ "; font-family: var(--serif); font-style: italic; }
.err--form { margin: 2px 0 0; }
.fld.is-bad > span:first-child { color: #B0382B; }
.slots-empty { flex-basis: 100%; font-style: italic; font-size: 16px; line-height: 1.4; color: var(--ink-2); padding: 6px 0; animation: msgIn .5s var(--ease) both; }
.slots-empty a { border-bottom: 1px solid var(--rule-2); color: var(--ink); }
.slot-sk { width: 66px; height: 39px; border-radius: 40px; background: linear-gradient(100deg, var(--paper-2) 30%, var(--paper) 50%, var(--paper-2) 70%) 0 0 / 220% 100%; animation: shimmer 1s linear infinite; }
.slot-sk:nth-child(2n) { width: 58px; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -100% 0; } }

/* ticket: printed confirmation */
.ticket__no { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s .25s; }
.ticket__no:empty { display: none; }
.ticket.is-sent .ticket__no { opacity: 1; }
.ticket__edit { justify-self: start; font-family: var(--sans); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--rule-2); padding-bottom: 1px; color: var(--ink-2); transition: color .3s, border-color .3s; }
.ticket__edit[hidden] { display: none; }
@media (hover: hover) { .ticket__edit:hover { color: var(--ink); border-color: var(--ink); } }
.ticket.is-sent .ticket__main { opacity: .55; pointer-events: none; transition: opacity .8s var(--soft); }

/* copy buttons */
.cp { white-space: nowrap; }
.copy { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 8px; vertical-align: middle; border: 1px solid var(--rule-2); border-radius: 50%; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.copy::after { content: ""; position: absolute; inset: -9px; }
.copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copy .i-ok, .copy.is-done .i-cp { display: none; }
.copy.is-done .i-ok { display: block; }
@media (hover: hover) { .copy:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); } }
.copy:active { transform: scale(.88); }
.copy.is-done { background: var(--leaf); border-color: var(--leaf); color: var(--cream); }
.colophon .copy { border-color: rgba(244, 235, 220, .35); color: var(--cream-2); }
@media (hover: hover) { .colophon .copy:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); } }
.colophon .copy.is-done { background: #F0B48F; border-color: #F0B48F; color: var(--night); }

/* editor's notes (toasts) */
.notes { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translateX(-50%); display: grid; gap: 10px; justify-items: center; width: max-content; max-width: calc(100vw - 2 * var(--gut)); pointer-events: none; transition: bottom .5s var(--ease); }
.note { position: relative; display: flex; align-items: center; gap: 14px; max-width: 480px; padding: 12px 22px 12px 18px; background: var(--card); border: 1px solid var(--rule-2); border-radius: 4px; box-shadow: 0 1px 0 var(--rule), 0 26px 50px -24px rgba(42, 31, 23, .6); transform-origin: 50% 100%; animation: noteIn .75s var(--ease) both; pointer-events: auto; }
.note::before { content: ""; flex: none; width: 18px; height: 10px; border-radius: 0 100% 0 100%; background: var(--leaf); transform: rotate(-24deg); }
.note--warn::before { background: var(--accent); border-radius: 50%; width: 10px; height: 10px; transform: none; }
.note__k { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); line-height: 1.3; }
.note__t { display: block; font-size: 17px; font-style: italic; line-height: 1.3; font-variation-settings: "opsz" 48, "SOFT" 100; }
.note.is-out { animation: noteOut .5s var(--ease) forwards; }
@keyframes noteIn { from { opacity: 0; transform: translateY(26px) rotate(-1.6deg); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-20px); } }
@keyframes noteOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }

/* back to top: a page-turn tab */
.btt { position: fixed; right: max(16px, var(--gut)); bottom: 22px; z-index: 45; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(42, 31, 23, .6); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.8); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .55s, background .3s, color .3s, bottom .5s var(--ease); }
.btt.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s, background .3s, color .3s, bottom .5s var(--ease); }
.btt svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
@media (hover: hover) { .btt:hover { background: var(--accent); } }
@media (hover: hover) { .btt:hover svg { transform: translateY(-3px); } }
.btt:active { transform: scale(.9); }
.btt.on-dark { background: var(--cream); color: var(--ink); }
@media (hover: hover) { .btt.on-dark:hover { background: #F0B48F; } }

/* cookie insert: a card tipped into the issue */
.insert { position: fixed; right: var(--gut); bottom: 22px; z-index: 50; width: min(430px, calc(100vw - 2 * var(--gut))); }
.insert[hidden] { display: none; }
.insert__card { position: relative; padding: 20px 24px 18px; background: var(--card); border: 1px solid var(--rule-2); border-radius: 3px; box-shadow: 0 1px 0 var(--rule), 0 40px 70px -30px rgba(42, 31, 23, .6); transform: translateY(46px) rotate(2.4deg); transform-origin: 0 100%; opacity: 0; transition: transform .9s var(--ease), opacity .5s var(--soft); }
.insert.is-in .insert__card { transform: rotate(-.5deg); opacity: 1; }
.insert.is-out .insert__card { transform: translateY(30px) rotate(1.5deg); opacity: 0; transition: transform .6s var(--soft), opacity .4s var(--soft); }
.insert__card::after { content: ""; position: absolute; top: -1px; right: -1px; width: 28px; height: 28px; background: linear-gradient(225deg, var(--paper) 50%, var(--paper-2) 50%); border-bottom-left-radius: 3px; box-shadow: -2px 2px 4px -2px rgba(42, 31, 23, .25); }
.insert__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 30px 10px 0; border-bottom: 1px dashed var(--rule-2); margin-bottom: 14px; }
.insert__no { font-style: italic; font-size: 18px; color: var(--ink-3); }
.insert__t { margin: 0 0 8px; font-size: 25px; line-height: 1.12; font-weight: 340; letter-spacing: -.018em; font-variation-settings: "opsz" 72, "SOFT" 100; text-wrap: balance; }
.insert__t em { font-style: italic; color: var(--accent); font-weight: 300; font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; }
.insert__p { margin: 0 0 16px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.insert__set { display: grid; gap: 4px; margin: 0 0 16px; padding: 4px 0; border-block: 1px solid var(--rule); animation: msgIn .5s var(--ease) both; }
.insert__set[hidden] { display: none; }
.insert__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
@media (hover: hover) { .ck:hover { background: var(--ink); color: var(--cream); } }
.ck:active { transform: scale(.96); }
.ck--save { background: var(--ink); color: var(--cream); }
@media (hover: hover) { .ck--save:hover { background: var(--accent); border-color: var(--accent); } }
.ck--save[hidden] { display: none; }
.insert__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; min-height: 28px; }
.insert__more { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 8px 0; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
@media (hover: hover) { .insert__more:hover { color: var(--ink); text-decoration-color: var(--ink); } }
.insert__more::after { content: " ↓"; display: inline-block; transition: transform .4s var(--ease); }
.insert__more[aria-expanded="true"]::after { transform: rotate(180deg); }
.insert__foot .ck--save { height: 40px; }

.tg { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 10px 0; cursor: pointer; }
.tg + .tg { border-top: 1px dotted var(--rule-2); }
.tg input { position: absolute; left: 0; top: 50%; width: 44px; height: 24px; margin: -12px 0 0; opacity: 0; cursor: pointer; }
.tg__s { position: relative; width: 44px; height: 24px; border-radius: 99px; background: var(--rule-2); transition: background .35s var(--ease); }
.tg__s::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(42, 31, 23, .4); transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), width .2s; }
.tg input:checked + .tg__s { background: var(--leaf); }
.tg input:checked + .tg__s::after { transform: translateX(20px); }
.tg input:focus-visible + .tg__s { outline: 2px solid var(--accent); outline-offset: 3px; }
.tg:active input:not(:disabled) + .tg__s::after { width: 22px; }
.tg:active input:checked:not(:disabled) + .tg__s::after { transform: translateX(16px); }
.tg--lock, .tg--lock input { cursor: default; }
.tg--lock .tg__s { opacity: .55; }
.tg__t b { display: block; font-size: 16px; font-weight: 500; line-height: 1.2; }
.tg__t small { display: block; font-family: var(--sans); font-size: 12.5px; line-height: 1.35; color: var(--ink-2); margin-top: 2px; }

.btt { bottom: calc(22px + var(--cb-h, 0px)); }
@media (max-width: 1240px) {
  .notes { bottom: calc(22px + var(--cb-h, 0px)); }
  .insert { left: auto; right: 10px; bottom: 10px; width: min(400px, calc(100vw - 20px)); }
}
.insert__p .s { display: none; }
@media (max-width: 760px) {
  .insert { left: 10px; right: 10px; width: auto; }
  .insert__card { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 8px; align-items: center; padding: 11px 14px 12px; max-height: calc(100svh - 90px); overflow-y: auto; }
  .insert__card::after { width: 20px; height: 20px; }
  .insert__head, .insert__t, .insert__p .l { display: none; }
  .insert__p .s { display: inline; }
  .insert__p { grid-column: 1; grid-row: 1; margin: 0; font-size: 13.5px; line-height: 1.35; padding-right: 8px; }
  .insert__foot { display: contents; }
  .insert__more { grid-column: 2; grid-row: 1; padding: 8px 0 8px 4px; font-size: 12.5px; }
  .insert__set { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .insert__btns { grid-column: 1 / -1; grid-row: 3; gap: 8px; }
  .insert__foot .ck--save { grid-column: 1 / -1; grid-row: 4; height: 38px; }
  .ck { height: 38px; padding: 0 10px; font-size: 13.5px; }
  .tg { padding: 7px 0; }
}
@media (max-width: 640px) {
  .notes { bottom: calc(78px + var(--cb-h, 0px)); }
  .note { max-width: calc(100vw - 32px); }
  .note__t { font-size: 16px; }
  .btt { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .slot-sk { animation: none; }
  .btn__ok path { stroke-dashoffset: 0; }
  .note.is-out { opacity: 0; }
  .insert.is-out .insert__card { opacity: 0; }
}
/* Room for the ľ/ť caron before an ascender (see "Caron room" in app.js) */
.lk { letter-spacing: .04em; }


/* =====================================================================
   Mobile pass: made for the thumb, not squeezed from the desktop
   ===================================================================== */
:root { --gut: max(clamp(16px, 4.5vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
body { -webkit-tap-highlight-color: transparent; }
a, button, label, input, .dish, .sup li { touch-action: manipulation; }

#topo .pin circle.hit, #topo .pin.is-on circle.hit { fill: transparent; stroke: none; pointer-events: all; }

/* hidden unless a small screen turns them on */
.dock, .toc__book, .pill--call, .dial__cap, .map__tap, .menu__tap { display: none; }
.dish__tb, .dish__pic { display: none; }

/* ---- Hover-less devices: pressed states instead of hover, lighter effects ---- */
@media (hover: none) {
  .pill:active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .pill--ink:active, .tasting .pill--ink:active { background: var(--accent); border-color: var(--accent); color: var(--cream); }
  .cover__toc:active { background: var(--cream); color: var(--ink); }
  .ck:active { background: var(--ink); color: var(--cream); }
  .round:active { background: var(--ink); color: var(--cream); }
  .sup li:active { background: rgba(42, 31, 23, .06); }
  .dish:active .dish__n { color: var(--accent); }
  .toc__list a:active { background: rgba(42, 31, 23, .05); }
  .colophon__grid a:active, .colophon__base a:active, .colophon__cookies:active { color: var(--cream); }
  .copy:active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
  .colophon .copy:active { background: var(--cream); color: var(--ink); }
  .btt:active { background: var(--accent); }
  /* a blur filter on every word and block is expensive on a phone: keep the fade and the rise */
  [data-words] .w { filter: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  [data-fade] { filter: none; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
  .dev img { filter: sepia(.95) saturate(.35) brightness(1.25) contrast(.75); }
  .cover__photo img { filter: sepia(.9) saturate(.3) brightness(1.4); }
  .reader { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(241, 233, 218, .97); }
}

@media (max-width: 900px) {
  /* body{overflow-x:hidden} would make the body a scroll container and break position:sticky */
  body { overflow-x: clip; }
  .display { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

  /* ---- Cover ---- */
  .cover { min-height: 520px; }
  .cover__top { padding-top: max(20px, env(safe-area-inset-top, 0px)); }
  .cover__top span { white-space: nowrap; }
  .cover__toc { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; }
  .sticker { top: calc(clamp(56px, 8vh, 80px) + .86 * min(31vw, 56svh) + 30px); bottom: auto; }

  /* ---- Reader bar ---- */
  .reader__logo { padding: 8px 10px; margin: -8px -10px; }
  .reader__toc { min-height: 44px; display: inline-flex; align-items: center; padding: 0 2px; }
  .reader__toc::after { left: 2px; right: 2px; bottom: 9px; }

  /* ---- Editorial: twelve columns with a 32px gap cannot fit 288px ---- */
  .editorial__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .editorial__cols { grid-column: 1 / -1; }

  /* ---- Season: wheel, then its caption, then the arrows ---- */
  .season__copy { display: contents; }
  .season__grid { gap: 22px; }
  .dial { order: 1; }
  .dial__cap { display: grid; order: 2; justify-items: center; gap: 8px; text-align: center; margin-top: -4px; }
  .dial__capp { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 30ch; }
  .dial__capd { font-size: 19px; font-style: italic; line-height: 1.3; padding-top: 12px; border-top: 1px solid var(--rule-2); max-width: 24ch; font-variation-settings: "opsz" 48, "SOFT" 100; }
  .dial__cap > * { transition: opacity .35s; }
  .dial__cap.is-swap > * { opacity: 0; }
  .season__ctrl { order: 3; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 12px; align-items: center; }
  .season__ctrl #sPrev { grid-column: 1; grid-row: 1; }
  .season__ctrl #sNext { grid-column: 3; grid-row: 1; }
  .season__hint { grid-column: 2; grid-row: 1; margin: 0; text-align: center; text-wrap: balance; line-height: 1.35; }
  .dial__center { inset: 22%; gap: 4px; padding: 3%; }
  .dial__center .dial__produce, .dial__center .dial__dish { display: none; }
  .dial__icon { width: 44px; height: 44px; }
  .dial__month { font-size: clamp(34px, 8vw, 56px); }
  .dial__state { font-size: 11px; }

  /* ---- Map: pinned frame that follows the chosen supplier, list scrolls beneath it ---- */
  .map__tap { display: inline; }
  .map__copy { display: contents; }
  .map__grid { gap: 20px; }
  .map__art { order: 1; position: sticky; top: 62px; z-index: 6; margin-inline: calc(var(--gut) * -1); }
  .sup { order: 2; margin-top: 0; }
  .sup li { scroll-margin-top: calc(62px + clamp(200px, 36svh, 280px) + 10px); padding: 16px 0; grid-template-columns: 38px 1fr auto; }
  #topo { height: clamp(200px, 36svh, 280px); border-radius: 0; box-shadow: 0 14px 22px -16px rgba(42, 31, 23, .55); }
  #topo > text, #topo .rings text { font-size: calc(11px * var(--ts, 1)); }
  #topo > text.t-serif { font-size: calc(15px * var(--ts, 1)); }
  .sup__n { width: 32px; height: 32px; font-size: 13px; }
  .sup li.is-on { padding-left: 12px; padding-right: 4px; margin-inline: -4px; background: rgba(168, 71, 42, .08); box-shadow: inset 3px 0 0 var(--accent); }

  /* ---- Space photo: svh ---- */
  .space { height: 92svh; }

  /* ---- Info ---- */
  .info__block .link { display: inline-flex; align-items: center; min-height: 48px; justify-self: start; }

  /* ---- Reservation: phone shortcut + big thumb targets ---- */
  .pill--call { display: inline-flex; justify-self: start; height: 48px; }
  .slot { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; }
  .slots { gap: 8px; }
  .slot-sk { height: 44px; }
  .stepper { height: 52px; }
  .stepper button { width: 52px; height: 52px; font-size: 22px; }
  .stepper output { min-width: 34px; }
  .fld { scroll-margin-top: 90px; scroll-margin-bottom: 40vh; }
  .fld input { padding: 8px 0 12px; }
  .err { font-size: 13.5px; }
  .ticket__stub .pill.btn { height: 52px; font-size: 15px; }
  .ticket__edit { padding: 12px 0; }
  .copy { width: 34px; height: 34px; }
  .copy::after { inset: -5px; }

  /* ---- Table of contents: a real full-screen sheet ---- */
  .toc { overscroll-behavior: contain; touch-action: pan-y; }
  .toc__inner { min-height: 100%; display: flex; flex-direction: column; padding: max(20px, env(safe-area-inset-top, 0px)) var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); }
  .toc__head { padding-bottom: 14px; }
  .toc__list a { padding: 14px 0; row-gap: 2px; }
  .toc__list { margin-bottom: 20px; }
  .toc__book { display: inline-flex; justify-content: center; height: 52px; font-size: 15px; margin-top: auto; }
  html.toc-open, html.toc-open body { overflow: hidden; }

  /* ---- Fixed bottom UI: booking dock + back-to-top share one 48px line ---- */
  .dock { display: flex; position: fixed; z-index: 44; left: var(--gut); bottom: calc(16px + var(--cb-h, 0px) + env(safe-area-inset-bottom, 0px)); height: 48px; border-radius: 999px; background: var(--accent); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(42, 31, 23, .65); transform-origin: 0 100%; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.94); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s, bottom .5s var(--ease); }
  .dock.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s, bottom .5s var(--ease); }
  .dock a { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .01em; transition: background .3s; }
  .dock__main { padding: 0 18px 0 22px; border-radius: 999px 0 0 999px; white-space: nowrap; }
  .dock__tel { width: 52px; border-radius: 0 999px 999px 0; border-left: 1px solid rgba(244, 235, 220, .3); }
  .dock__tel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .dock a:active { background: rgba(0, 0, 0, .18); }
  .btt { width: 48px; height: 48px; bottom: calc(16px + var(--cb-h, 0px) + env(safe-area-inset-bottom, 0px)); }
  .notes { bottom: calc(78px + var(--cb-h, 0px) + env(safe-area-inset-bottom, 0px)); }
  html.kb .dock, html.kb .btt { opacity: 0; visibility: hidden; }

  /* ---- Cookie card ---- */
  .insert { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- Menu: photo thumbnails you can tap open, in place of the cursor-follow photo ---- */
@media (max-width: 640px), (hover: none) {
  .menu__tap { display: inline; }
  .dish { grid-template-columns: 64px auto 1fr auto; column-gap: 0; cursor: pointer; scroll-margin: 72px 0 84px; }
  .dish::before { grid-column: 3; }
  .dish__n { grid-column: 2; max-width: none; }
  .dish__p { grid-column: 4; }
  .dish__d { grid-column: 2 / -1; }
  .dish__tb { display: block; position: relative; grid-column: 1; grid-row: 1 / span 2; width: 52px; height: 52px; align-self: start; margin-top: 2px; border-radius: 50%; }
  .dish__tb::after { content: "+"; position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 1px solid var(--rule-2); color: var(--accent); font: 600 15px/19px var(--sans); text-align: center; transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s; }
  .dish.is-open .dish__tb::after { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--cream); }
  .dish__thumb { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
  .dish sup { position: relative; }
  .dish sup::after { content: ""; position: absolute; inset: -14px -9px -10px -9px; }
  .dish__pic { display: grid; grid-column: 1 / -1; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .dish__pic > div { overflow: hidden; min-height: 0; }
  .dish.is-open .dish__pic { grid-template-rows: 1fr; }
  .dish__pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; margin-top: 16px; background: var(--lq, #3A2C22) center / cover no-repeat; transform: scale(1.07); transition: transform 1.1s var(--ease); }
  .dish.is-open .dish__pic img { transform: none; }
  .dish.is-open { padding-bottom: 20px; }
}

@media (max-width: 640px) {
  /* ---- Cover ---- */
  .cover__lines { bottom: calc(clamp(28px, 5vh, 56px) + var(--cb-h, 0px)); transition: bottom .5s var(--ease); }
  html.ck-on .cl__d { display: none; }
  .sticker { top: calc(70px + .86 * 34vw + 30px); }
  .cover__shade { background: linear-gradient(180deg, rgba(12,8,5,.72) 0%, rgba(12,8,5,.15) 36%, rgba(12,8,5,0) 50%, rgba(12,8,5,.78) 76%, rgba(12,8,5,.9) 100%); }
  .cl { text-shadow: 0 1px 16px rgba(12,8,5,.6); }

  /* ---- Dial: bigger, readable month labels ---- */
  .dial__ring text { font-size: 30px; }

  /* ---- Colophon: contact first, short columns paired ---- */
  .colophon__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 20px; }
  .colophon__grid > div:nth-child(1) { grid-column: 1 / -1; }
  .colophon__grid > div:nth-child(4) { grid-column: 1 / -1; order: -1; }
  .colophon__grid p { font-size: 15.5px; }
  .colophon__grid a { display: inline-flex; align-items: center; min-height: 44px; }
  .colophon__grid .cp { display: inline-flex; align-items: center; }
  .colophon__links { gap: 8px 22px; }
  .colophon__links a, .colophon__cookies { display: inline-flex; align-items: center; min-height: 44px; }
  .colophon__cookies { border-bottom: 0; text-decoration: underline; text-decoration-color: rgba(244, 235, 220, .3); text-underline-offset: 4px; }
  .colophon__base { gap: 12px; }

  /* ---- Cookie card: 44px targets ---- */
  .ck, .insert__foot .ck--save { height: 44px; }
  .insert__more { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 480px) {
  /* newsletter: the placeholder deserves the full width */
  .news { flex-direction: column; border-bottom: 0; gap: 12px; }
  .news input { border-bottom: 1px solid rgba(244, 235, 220, .4); padding: 12px 0; }
  .news button, .news .btn { justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--cream); color: var(--ink); min-width: 0; }
  .news .btn[data-state="ok"] { background: #F0B48F; color: var(--night); }
  .news__msg { position: static; margin-top: 0; }
  .news__msg:empty { display: none; }
  .news:focus-within { box-shadow: none; }
  .news input:focus { border-bottom-color: #F0B48F; }
  .news.is-bad input { border-bottom-color: #E07856; }
  .tasting { padding: 28px 22px; }
  .tasting .pill { justify-content: center; height: 52px; }
}

@media (max-width: 380px) {
  :root { --gut: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  .cover__top { gap: 8px; font-size: 11px; letter-spacing: .11em; }
  .cover__toc { font-size: 11px; letter-spacing: .11em; padding: 0 14px; }
  .reader { gap: 10px; }
  .reader__folio { gap: 6px; }
  .reader__folio i { width: 8px; }
  .sticker { width: 92px; height: 92px; }
  .sticker > span { font-size: 19px; }
  .sticker small { font-size: 6px; letter-spacing: .02em; margin-bottom: 2px; }
  .sticker text { font-size: 10px; }
}

/* the contact column with its copy buttons needs more than a quarter of a tablet */
@media (max-width: 1000px) {
  .colophon__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
}

/* ---- Tall phone, portrait: a second cover line ---- */
@media (max-width: 900px) and (min-height: 740px) and (orientation: portrait) {
  .cl:nth-child(2) { display: grid; }
}

/* ---- Landscape phone: short screen, so no dock, a compact bar and a quieter cover ---- */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
  .dock { display: none; }
  .reader__act .pill { display: inline-flex; }
  .reader { height: 48px; }
  .cover { min-height: 520px; }
  .cover__lines { right: calc(var(--gut) + 130px); }
  .map__art { position: static; margin-inline: 0; }
  #topo { height: auto; border-radius: 4px; }
  .sup li { scroll-margin-top: 70px; }
  .toc__list a { padding: 10px 0; }
  .insert__card { grid-template-columns: 1fr auto auto; }
  .insert__p { grid-column: 1; grid-row: 1; }
  .insert__more { grid-column: 2; grid-row: 1; }
  .insert__btns { grid-column: 3; grid-row: 1; grid-template-columns: auto auto; }
  .insert__set { grid-row: 2; }
  .insert__foot .ck--save { grid-row: 3; }
}

/* ======================= Language switch (SK | EN) ======================= */
.lang { display: inline-flex; align-items: center; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.lang button { position: relative; padding: 8px 9px 8px 10px; color: inherit; font: inherit; letter-spacing: inherit; opacity: .55; transition: opacity .3s; }
.lang button + button::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px; background: currentColor; opacity: .5; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 10px; right: 6px; bottom: 3px; height: 1px; background: currentColor; }
.lang button:focus-visible { opacity: 1; outline: 2px solid currentColor; outline-offset: -2px; border-radius: 2px; }
@media (hover: hover) { .lang button:hover { opacity: 1; } }
html:not(.js) .lang { display: none; }
.cover__ctl { display: flex; align-items: center; gap: 12px; }
.reader__act .lang { margin-right: -4px; }
.toc__foot { display: flex; align-items: center; gap: 10px; }
@media (min-width: 641px) {
  .toc__inner { position: relative; }
  .toc__foot { position: absolute; top: 35px; right: calc(var(--gut) + 62px); }
}
.colophon__links .lang { margin-left: -10px; }
@media (max-width: 900px) {
  .cover__ctl .lang, .reader__act .lang { display: none; }
}
@media (max-width: 640px) {
  .toc__foot { margin-top: auto; }
  .toc__foot .toc__book { flex: 1; margin-top: 0; }
  .toc__foot .lang button { padding: 18px 12px; }
  .colophon .lang button { min-height: 44px; padding: 0 12px; }
  .colophon__links .lang { margin-left: -12px; }
}
/* just switched language: the cover is already settled, so skip its intro */
.lang-switch .cover, .lang-switch .cover * { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
.reader__folio { white-space: nowrap; }

/* the fictional-company note has to stay readable on the dark footer */
.colophon__demo { color: #A79D91; }

/* Odkiaľ to je: on wide screens the section holds still and scrolling walks through the suppliers */
.map__run { height: 0; }
.map.is-pinned { padding-bottom: clamp(40px, 5vw, 80px); }
.map.is-pinned .map__grid { position: sticky; top: 72px; height: calc(100svh - 92px); align-items: stretch; }
.map.is-pinned .map__copy { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 22px); min-height: 0; }
.map.is-pinned .map__copy > .label { display: none; }
.map.is-pinned .map__copy .display { flex: none; font-size: min(5vw, 9.5vh); }
.map.is-pinned .map__copy > p { flex: none; font-size: min(17px, 2.2vh); line-height: 1.45; }
.map.is-pinned .sup { flex: 1 1 0; min-height: 0; margin-top: 0; overflow: hidden; scrollbar-width: none; }
.map.is-pinned .sup li { padding-block: clamp(6px, 1.05vh, 12px); }
.map.is-pinned .sup b { font-size: min(19px, 2.4vh); }
.map.is-pinned .sup div span { font-size: min(15px, 1.9vh); }
.map.is-pinned .map__art { position: static; height: 100%; min-height: 0; }
.map.is-pinned #topo { display: block; width: 100%; height: 100%; }
