/* Restaurace za školou: "večerní restaurace" (dark, elegant). Tokens and roles are documented in ../DESIGN.md */
@font-face { font-family: "Montserrat"; font-weight: 300 500; font-display: swap; src: url(fonts/montserrat-300-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-weight: 300 500; font-display: swap; src: url(fonts/montserrat-300-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url(fonts/lato-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url(fonts/lato-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url(fonts/lato-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url(fonts/lato-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Great Vibes"; font-weight: 400; font-display: swap; src: url(fonts/great-vibes-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Great Vibes"; font-weight: 400; font-display: swap; src: url(fonts/great-vibes-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0B0A09; --bg-2: #161412; --bg-3: #1F1C19;
  --cream: #F4EEE3; --text: #D8D0C3; --muted: #A79E90; --line: rgba(244, 238, 227, .16); --line-2: rgba(244, 238, 227, .32);
  --gold: #D9AA5E; --gold-hover: #ECC17A; --warn: #F0907E;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
a:hover { color: var(--gold-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--cream); font-weight: 400; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 var(--s4); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.meta { font-size: 14px; line-height: 1.6; color: var(--muted); }
.lead { font-size: 19px; color: var(--cream); }
.h-xl { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; }
.h-md { font-size: 21px; line-height: 1.3; margin: var(--s6) 0 var(--s3); }
.h-md:first-child { margin-top: 0; }
.script { font-family: var(--script); font-size: clamp(28px, 3vw, 36px); line-height: 1.2; color: var(--gold); margin: var(--s2) 0 var(--s5); }
.text { max-width: 60ch; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--bg); padding: var(--s3) var(--s4); z-index: 30; }
.skip:focus { left: var(--s4); top: var(--s2); }
.draft { margin: 0; padding: 6px var(--s4); background: var(--gold); color: #1A1306; font-size: 13px; line-height: 1.5; text-align: center; }
.draft a { color: #1A1306; text-decoration-color: currentColor; }

/* the thin underlined link with ↗, used instead of buttons */
.line-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--cream); font: 400 17px/1 var(--body);
  text-decoration: none; border-bottom: 1px solid var(--cream); padding: 0 0 2px; }
.line-link:hover { color: var(--gold-hover); border-color: var(--gold-hover); }
.actions, .hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); margin-top: var(--s5); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 10, 9, .94); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: var(--s5); min-height: 72px; flex-wrap: wrap; padding-top: var(--s2); padding-bottom: var(--s2); }
.logo { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--cream); margin: 0; }
.logo-small { font: 500 11px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); padding-left: 3px; }
.logo-script { font-family: var(--script); font-size: 38px; line-height: 1; color: var(--cream); margin-top: -2px; }
.nav { order: 3; display: flex; gap: var(--s5); overflow-x: auto; width: 100%; scrollbar-width: none; padding-bottom: 2px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; color: var(--text); text-decoration: none; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--cream); }
.book { margin-left: auto; font-size: 16px; }

/* hero: big thin type over the dark photo of their platters */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-in { position: relative; padding-top: var(--s6); padding-bottom: var(--s7); }
.hero-title { font-family: var(--display); font-weight: 300; text-transform: uppercase; color: #fff; font-size: clamp(44px, 9.5vw, 128px); line-height: .98; letter-spacing: .01em; display: flex; flex-direction: column; }
.hero-script { font-family: var(--script); color: var(--gold); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin: var(--s4) 0 var(--s5); }
.hero-lead { font-size: 19px; color: var(--cream); max-width: 34ch; }
.hero-lead a { color: var(--cream); white-space: nowrap; }
.hero-caps { margin: var(--s7) 0 0; font: 500 14px/1.7 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }

/* sections */
.sec { padding: var(--s8) 0; }
.sec-alt { background: var(--bg-2); }
.two { display: grid; gap: var(--s7); align-items: center; }

/* menu */
.menu-grid { display: grid; gap: var(--s7); }
.tabs { display: flex; gap: var(--s5); overflow-x: auto; border-bottom: 1px solid var(--line); margin-top: var(--s2); padding-top: var(--s5); }
.tab { position: relative; flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: var(--s2) 2px var(--s3); min-height: 52px;
  color: var(--muted); font: 400 17px/1.2 var(--display); cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tab small { font: 400 13px/1 var(--body); color: var(--muted); }
.tab:hover { color: var(--cream); }
.tab[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--gold); }
.tab .today { position: absolute; top: -14px; right: -18px; font-family: var(--script); font-size: 24px; color: var(--gold); pointer-events: none; }
.menu-card { padding: var(--s5) 0 0; }
.menu-card:focus-visible { outline-offset: 6px; }
.day-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s4); }
.day-h h2 { font-size: 24px; }
.day-note { font-family: var(--script); font-size: 28px; color: var(--gold); }
.soup { color: var(--muted); padding-bottom: var(--s4); margin: 0; border-bottom: 1px solid var(--line); }
.soup strong { font: 400 19px/1.4 var(--display); color: var(--cream); }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { display: grid; grid-template-columns: 36px 1fr auto; gap: 2px var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.dish-no { font: 300 26px/1 var(--display); color: var(--gold); }
.dish-name { font: 400 19px/1.4 var(--display); color: var(--cream); }
.dish-name .side { font: 400 16px/1.5 var(--body); color: var(--muted); }
.dish-price { font: 400 19px/1.4 var(--display); color: var(--cream); white-space: nowrap; }
.al { grid-column: 2 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.al abbr { text-decoration: none; border-bottom: 1px dotted var(--muted); cursor: help; }
.dish.has-sel .dish-name, .dish.has-sel .dish-no, .dish.has-sel .dish-price { opacity: .35; }
.dish.has-sel .warn { display: inline; }
.warn { display: none; color: var(--warn); font-weight: 700; margin-right: var(--s2); }
.empty { color: var(--muted); }
.filter { margin-top: var(--s6); }
.filter-h { font-size: 15px; color: var(--muted); margin-bottom: var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { min-height: 40px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 400 15px/1 var(--body); cursor: pointer; }
.chip:hover { border-color: var(--cream); color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--bg); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.legend { margin-top: var(--s4); font-size: 15px; }
.legend summary { cursor: pointer; color: var(--text); min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.legend-list { columns: 2; column-gap: var(--s6); margin: var(--s2) 0 0; padding-left: var(--s5); color: var(--muted); }

/* tables (prices, hours, catering): two columns, thin rules, like an hours board */
.table { margin: 0; }
.table div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.table dt { color: var(--cream); }
.table dd { margin: 0; color: var(--text); text-align: right; font-family: var(--display); }
.table dd.todo { font: italic 400 15px/1.7 var(--body); color: var(--muted); }
.table-wide div { grid-template-columns: 150px minmax(0, 1fr); }
.table-wide dd { text-align: left; font-family: var(--body); }
.menu-side { align-self: start; }
.side-tel { margin-top: var(--s6); display: flex; flex-direction: column; gap: 2px; }
.side-tel span { font: 500 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.side-tel a { font: 300 34px/1.2 var(--display); color: var(--cream); text-decoration: none; }
.side-tel a:hover { color: var(--gold-hover); }

/* perks band with outlined round icons */
.perks { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks-in { list-style: none; margin: 0 auto; padding-top: var(--s7); padding-bottom: var(--s7); display: grid; gap: var(--s6); }
.perks li { display: flex; gap: var(--s4); align-items: flex-start; }
.perks svg { flex: none; width: 72px; height: 72px; padding: 16px; border: 1px solid var(--line-2); border-radius: 50%; fill: none; stroke: var(--cream); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.perks h3 { font-size: 20px; margin: 6px 0 var(--s1); }
.perks p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* catering */
.photo-tall img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s7); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.credit { grid-column: 1 / -1; font-family: var(--script); font-size: 26px; color: var(--muted); text-align: right; }

.todo-box { border: 1px dashed var(--line-2); color: var(--muted); padding: var(--s4); font-size: 15px; line-height: 1.6; margin: var(--s4) 0 0; }
.todo-photo { min-height: 260px; display: grid; place-content: center; text-align: center; margin: 0; }

.contacts { display: grid; gap: 0 var(--s7); margin: var(--s6) 0 var(--s5); }
.contacts div { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.contacts dt { font: 500 12px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contacts dd { margin: 0; color: var(--cream); overflow-wrap: anywhere; }

.foot { border-top: 1px solid var(--line); padding: var(--s7) 0; font-size: 15px; line-height: 1.6; }
.foot-in { display: grid; gap: var(--s4); }
.logo-foot .logo-script { font-size: 44px; }

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .perks-in { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .wrap { padding: 0 48px; }
  .nav { order: 0; width: auto; margin: 0 auto; gap: var(--s6); }
  .book { margin-left: 0; }
  .hero { min-height: 640px; display: flex; align-items: center; }
  .hero-photo { position: absolute; inset: 0 0 0 auto; width: 62%; }
  .hero-photo img { height: 100%; aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); opacity: .9; }
  .hero-in { padding-top: var(--s8); padding-bottom: var(--s8); }
  .hero-title { text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
  .sec { padding: 112px 0; }
  .menu-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 96px; }
  .menu-side { padding-top: 120px; }
  .two { grid-template-columns: 1fr 1fr; gap: 80px; }
  .two-text { align-items: start; }
  .perks-in { grid-template-columns: repeat(4, 1fr); }
  .contacts { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: end; gap: var(--s7); }
}
