@font-face{font-family:"Anton";src:url("../../site/fonts/anton-latin-400.d0fa07ff63.woff2") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Anton";src:url("../../site/fonts/anton-latin-ext-400.0d17b7880f.woff2") format("woff2");font-weight:400;font-display:swap;unicode-range:U+0100-02AF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";src:url("../../site/fonts/figtree-latin-wght.4ba7d3d096.woff2") format("woff2");font-weight:300 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";src:url("../../site/fonts/figtree-latin-ext-wght.bf7828e2c2.woff2") format("woff2");font-weight:300 900;font-display:swap;unicode-range:U+0100-02AF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* Pizzeria Venezia, v2: "pizzakartongen". The take-away box is the page: flat kraft board as the ground,
   the white-top liner for the inside panels, two-colour flexo print only (box red for display type,
   numbers and frames; near-black brown for text). Flat colour, no gradients, textures or shadows.
   Built on the taste-skill kit (assets/); this file holds the palette and what sits inside the visuals. */

:root {
  --p-bg: #d6b48a; --p-surface: #f6f2ea; --p-ink: #2a1a10; --p-muted: #5a3e28;
  --p-accent: #a8101a; --p-accent-ink: #ffffff; --p-action: #a8101a; --p-action-ink: #ffffff;
  --p-inv-bg: #2a1a10; --p-inv-surface: #342317; --p-inv-ink: #ead9bd; --p-inv-muted: #c9ad8a;
  --p-inv-accent: #ead9bd; --p-inv-accent-ink: #2a1a10; --p-inv-action: #a8101a; --p-inv-action-ink: #ffffff;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-text: "Figtree", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.005em;
  --display-axes: normal;
  --print: var(--p-accent);           /* the flexo red: display type, dish numbers, frames */
  --score: color-mix(in oklab, var(--p-ink) 34%, transparent);   /* a box's score line, dashed */
}

/* ---------- Phone: no tap flash, no double-tap delay, controls not selectable on long-press ---------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
.btn, .menu-cats a, .nav__toggle { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- Browser surfaces in the palette ---------- */
::selection { background: var(--p-accent); color: #fff; }
html { scrollbar-color: var(--p-ink) var(--p-bg); accent-color: var(--p-accent); }
input, textarea { caret-color: var(--p-accent); }

/* ---------- Display type: printed in box red, sentence case, Anton carries its own weight ---------- */
:root[data-type="place"] { --t-h2: clamp(28px, .762vw + 25px, 36px); }
h1, h2, .t-h2 { color: var(--print); letter-spacing: var(--display-tracking); text-wrap: balance; }
:root[data-type="place"] :is(h1, .t-h1) { line-height: 1.02; }
:root[data-type="place"] :is(h2, .t-h2) { line-height: 1.06; }
.ground-brand :is(h1, h2) { color: var(--ink); }

/* ---------- Header bar: the logo exactly as supplied, on the dark print ink ---------- */
.nav__logo img { display: block; height: 34px; width: auto; }
.footer__logo img { height: 44px; }
@media (max-width: 639px) { .nav__logo img { height: 28px; } }

/* ---------- The lid: the number printed on the box lid, as the page's one primary action ---------- */
:root[data-type="place"] .btn.btn--lid {
  position: relative; height: auto; min-height: 0; display: inline-grid; justify-items: start; align-items: start; gap: 4px;
  padding: 12px 22px 14px; border-radius: 2px; text-align: left; white-space: nowrap;
}
:root[data-type="place"] .btn.btn--lid::after { display: none; }
/* the lid's double rule: the button's own edge, a band of board, then a printed rule */
:root[data-type="place"] .btn.btn--lid { box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--print); }
.lid__label { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1.2 var(--font-text); }
.lid__label .m-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
  html:not([data-motion="off"]) .btn--lid:hover .lid__label > .m-arrow .m-arrow__stem { opacity: 1; transform: none; transition-duration: var(--m-in); }
  html:not([data-motion="off"]) .btn--lid:hover .lid__label > .m-arrow .m-arrow__head { transform: translateX(3px); transition-duration: var(--m-in); }
  /* 5: the fill and its printed rule darken together, toward the brown ink */
  html:not([data-motion="off"])[data-type="place"] .btn.btn--lid:hover { --lid-ink: color-mix(in oklab, var(--print) 86%, var(--p-ink));
    background: var(--lid-ink); box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--lid-ink); }
}
.btn--lid:focus-visible .lid__label > .m-arrow .m-arrow__stem { opacity: 1; transform: none; }
.btn--lid:focus-visible .lid__label > .m-arrow .m-arrow__head { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .btn--lid .lid__label > .m-arrow .m-arrow__head { transform: none !important; }
  html:not([data-motion="off"])[data-type="place"] .btn.btn--lid:active { --lid-ink: color-mix(in oklab, var(--print) 74%, var(--p-ink));
    background: var(--lid-ink); box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--lid-ink); }
}
.lid__no { font: 400 clamp(34px, 0.8vw + 28px, 40px)/1 var(--font-display); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.lid-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-left: 7px; }
@media (min-width: 1024px) { .lid-row { flex-wrap: nowrap; } }
@media (min-width: 1024px) and (max-width: 1279px) { .lid-row { gap: 20px; } .lid-row .roundel { width: 100px; height: 100px; } .lid-row .roundel__big { font-size: 24px; } }

/* ---------- The roundel: state as a printed mark (open now / closed), every day present in the hours ---------- */
.roundel {
  width: 116px; height: 116px; flex: none; border-radius: 50%; margin: 0;
  display: grid; place-content: center; text-align: center; gap: 2px; color: var(--print);
  border: 2px solid var(--print); box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 7px var(--print);
}
.roundel__big { font: 400 24px/1.05 var(--font-display); }
.roundel__small { font: 500 13px/1.2 var(--font-text); color: var(--p-ink); max-width: 80px; margin-inline: auto; text-wrap: balance; }
.roundel.is-open .roundel__big::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: .18em; }

/* ---------- Visit: the panel is the inside of the lid, its edge a score line ---------- */
.visit--card { outline: 2px dashed var(--score); outline-offset: -12px; }
@media (max-width: 1023px) { .visit--card { background: var(--p-surface); padding: var(--s-7) var(--s-7); } }
@media (max-width: 639px) { .visit--card { padding: 32px 28px; } }
.visit__h2 { margin-bottom: var(--s-7); }
.visit__head { display: grid; justify-items: start; }
.visit__now { font-weight: 500; color: var(--p-ink); min-height: 1.5em; }
.visit__now.is-open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--print); margin-right: 8px; vertical-align: .1em; }
.visit__address { font-size: 20px; line-height: 30px; }
.visit__address a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; transition: text-decoration-color var(--m-out) var(--m-ease); }
@media (hover: hover) and (pointer: fine) { .visit__address a:hover { text-decoration-color: var(--print); transition-duration: var(--m-in); } }
.visit__tel { font: 400 28px/1.1 var(--font-display); color: var(--print); letter-spacing: 0.01em; }
.visit__rows a { white-space: nowrap; }
.visit .hours dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours--week .is-today { color: var(--print); font-weight: 500; }
.hours--week dt.is-today::after { background: var(--print); }
.footer__lede { font-family: var(--font-text); font-size: 16px; line-height: 1.5; max-width: 32ch; }

/* ---------- The offer band: dish numbers in print red, the lunch panel on the board, square printed panels ---------- */
.offer-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-6); align-items: start; margin-bottom: var(--s-8); }
.offer-head > h2 { grid-column: 1 / span 6; margin: 0; }
.offer-head > .lunch-panel { grid-column: 7 / -1; }
.lunch-panel { background: var(--p-bg); padding: var(--s-5) var(--s-6); outline: 2px dashed var(--score); outline-offset: -8px; display: grid; gap: var(--s-2); }
.lunch-panel__title { font: 400 28px/1.05 var(--font-display); color: var(--print); }
.lunch-panel p { max-width: 52ch; }
@media (max-width: 1023px) { .offer-head > h2, .offer-head > .lunch-panel { grid-column: 1 / -1; } }
.rows__no { display: inline-block; min-width: 1.5em; font: 400 24px/1 var(--font-display); color: var(--print); vertical-align: -2px; }
.rows .rows__name small { display: block; font-weight: 400; color: var(--muted); font-size: 16px; line-height: 24px; }
.offer__group > .t-label { margin-bottom: var(--s-3); color: var(--ink); }
.offer__note { margin-top: var(--s-4); font-size: 16px; line-height: 24px; }
.offer__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.offer__pic { display: block; overflow: clip; aspect-ratio: 1; }
.offer__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1280px) { #pizzor .rows > li { height: 108px; align-content: start; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  #pizzor { --h: 2; }
  #pizzor .offer > .offer__group { grid-column: span 6; }
  #pizzor .offer > .offer__pics { grid-column: 1 / -1; margin-top: var(--s-7); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #pizzor { --h: 2; }
  #pizzor .offer { row-gap: var(--s-7); }
  #pizzor .offer > .offer__group, #pizzor .offer > .offer__pics { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  #pizzor .offer { row-gap: var(--s-6); }
  #pizzor .offer__note { margin-top: var(--s-3); }
  #pizzor .offer > .offer__group, #pizzor .offer > .offer__pics { grid-column: 1 / -1; }
}

/* ---------- Statement: the box's side panel, set in the print face ---------- */
.statement h2 { margin-bottom: var(--s-7); }
.statement .mo-wh__text { font-size: clamp(36px, 3vw + 18px, 72px); line-height: 1.06; max-width: 22ch; }

/* ---------- Footer on the brand band: the box's red, the name printed across ---------- */
.ground-brand .close__word { color: var(--ink); font-family: var(--font-display); letter-spacing: 0; line-height: .82; font-size: clamp(88px, 17vw, 248px); }
.ground-brand a:not(.btn) { color: var(--ink); }

/* ---------- Menu page ---------- */
.page-menu main, .page-404 main { padding-top: var(--nav); }
.menu-intro { padding-block: var(--s-9) var(--s-7); }
.menu-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6) var(--s-8); align-items: end; }
.menu-intro h1 { font-size: clamp(72px, 7vw + 24px, 144px); line-height: .9; }
.menu-intro__lead { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; max-width: 52ch; }
.menu-tools { margin-top: var(--s-8); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.menu-search { min-width: 0; }
.menu-search { display: grid; gap: var(--s-2); max-width: 588px; }
.menu-search label { font-size: 14px; font-weight: 500; }
.menu-search__row { display: flex; gap: var(--s-3); }
.menu-search input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: 400 17px/1 var(--font-text); color: var(--p-ink);
  background: var(--p-surface); border: 2px solid var(--p-ink); border-radius: 2px;
}
.menu-search input::placeholder { color: var(--p-muted); }
.menu-search input:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; }
.menu-search__row > [data-menu-reset][hidden] { display: inline-flex; visibility: hidden; }
.menu-empty { scroll-margin-top: calc(var(--nav) + 16px); }
body[data-q] .menu-lunch { display: none; }
.menu-search__status { font-size: 14px; color: var(--p-ink); min-height: 1.4em; }
.menu-cats { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.menu-cats a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--score);
  border-radius: 2px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--p-ink); background: transparent;
  transition: background-color var(--m-out) var(--m-ease), border-color var(--m-out) var(--m-ease), color var(--m-out) var(--m-ease);
}
@media (hover: hover) and (pointer: fine) { .menu-cats a:hover { border-color: var(--print); color: var(--p-ink); background: var(--p-surface); transition-duration: var(--m-in); } }
.menu-cats a:active { border-color: var(--print); color: var(--p-ink); background: color-mix(in oklab, var(--p-accent) 8%, transparent); }
.menu-cats a.is-hidden { display: none; }
.menu-lunch { padding-block: var(--s-6); }
.lunch-card { background: var(--p-surface); padding: var(--s-7); outline: 2px dashed var(--score); outline-offset: -12px; display: grid; gap: var(--s-4); }
.lunch-card h2 { margin: 0; }
.lunch-card p { font-size: var(--t-lead); }
.lunch-card__list { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); list-style: none; margin: 0; padding: 0; font-weight: 500; }
.lunch-card .btn { justify-self: start; }
.menu-body { padding-block: 0 var(--s-10); }
.menu-body .menu-cat:first-of-type { padding-top: var(--s-7); }
.menu-cat { padding-top: var(--s-9); scroll-margin-top: calc(var(--nav) + 16px); }
.menu-cat[hidden] { display: none; }
.menu-cat__head { display: grid; gap: var(--s-3); padding-bottom: var(--s-5); border-bottom: 2px solid var(--print); margin-bottom: var(--s-2); }
.menu-cat__head h2 { margin: 0; }
.menu-cat__head p { max-width: 70ch; color: var(--p-ink); }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
.dish {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; column-gap: var(--s-4); align-items: start;
  padding-block: var(--s-4); border-bottom: 1.5px dashed var(--score);
}
.dish[hidden] { display: none; }
.dish__no { font: 400 26px/1 var(--font-display); color: var(--print); padding-top: 1px; font-variant-numeric: tabular-nums; }
.dish__body { display: grid; gap: 2px; }
.dish__name { font-weight: 500; font-size: 17px; line-height: 1.4; }
.dish__tag { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1.5px solid var(--print); border-radius: 2px; color: var(--p-ink); font-size: 13px; line-height: 20px; font-weight: 500; vertical-align: 1px; }
.dish__desc { color: var(--p-muted); font-size: 16px; line-height: 24px; }
.dish__layer { display: block; }
.dish__layer b { font-weight: 500; color: var(--p-ink); }
.dish__prices { display: grid; justify-items: end; text-align: right; font-variant-numeric: tabular-nums; }
.dish__price { font-weight: 500; font-size: 17px; line-height: 1.4; white-space: nowrap; }
.dish__price--var { font-size: 15px; line-height: 1.5; }
.dish__sub { font-size: 14px; color: var(--p-muted); white-space: nowrap; }
.dish mark, .dish__name mark { background: var(--p-accent); color: #fff; padding: 0 2px; border-radius: 2px; }
.menu-empty { padding: var(--s-7) 0; font-size: var(--t-lead); max-width: 52ch; }
@media (max-width: 1023px) {
  .dishes { grid-template-columns: minmax(0, 1fr); }
  .menu-intro__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .menu-intro__grid > .btn--lid { justify-self: start; margin-left: 7px; }
}
@media (max-width: 639px) {
  .menu-intro { padding-block: var(--s-8) var(--s-6); }
  .lunch-card { padding: var(--s-6); }
  .dish { grid-template-columns: 2.4rem minmax(0, 1fr) auto; column-gap: var(--s-3); }
}

/* ---------- 404 ---------- */
.nf { padding-block: var(--s-9) var(--s-10); min-height: 70svh; }
.nf__code { font: 400 clamp(120px, 20vw, 280px)/.85 var(--font-display); color: var(--print); margin: 0 0 var(--s-6); }

/* ---------- Hero on narrow screens: the roundel beside the lid when it fits ---------- */
@media (max-width: 639px) {
  .lid-row { gap: 20px; }
  .roundel { width: 96px; height: 96px; }
  .roundel__big { font-size: 24px; }
  :is(.hero--place) .hero__text > .btn-row.lid-row { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 16px; }
  .hero--place .lid-row .roundel { width: 108px; height: 108px; }
  .hero--place .lid-row .roundel__small { max-width: 64px; }
  .hero--place .lid-row .roundel__big { font-size: 24px; }
  .hero--place .lid-row .roundel__small { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-cats a { transition: none; }
}

/* ---------- Screens: each section one or two screens at every width (layout-v4 section 2) ---------- */
@media (min-width: 640px) and (max-width: 1023px) {
  #besok .grid > .pl-photo { --pl-r: 2; }
  html main [data-moment="photo-chapters"][data-moment]:not(.is-live) .mo-ph__pic > img { aspect-ratio: 3 / 5; max-height: 70svh; }
}
@media (max-width: 639px) {
  #besok .visit__rows li:nth-child(2) { display: none; }
  html body main > [data-moment="photo-chapters"][data-moment]:not(.is-live) { min-height: calc(2 * 100lvh); }
  html main [data-moment="photo-chapters"][data-moment]:not(.is-live) .mo-ph__pic > img { aspect-ratio: 5 / 4; }
}

/* focus on the dark header bar: the ring in the bar's light ink (3:1 on the bar) */
.nav--tone :focus-visible { outline-color: var(--p-inv-ink); }
/* the two groups' rows run on one line set (row-lines) */
@media (max-width: 639px) {
  #besok .grid > .pl-photo { --pl-r: 1.6; }
  #besok .visit__tel, #besok .visit__rows { display: none; }
  #besok .visit__h2 { margin-bottom: var(--s-6); }
  .footer__lede, .footer__col--visit, .footer__col--pages { display: none; }
  .lid-row { margin-left: 7px; }
  :root[data-type="place"] .btn.btn--lid { flex: 1 1 auto; padding-inline: 18px; }
  .dish__no { font-size: 24px; }
  .ground-brand .close__word { font-size: 64px; }
  .footer__logo img { height: 36px; }
}
#besok .pl-photo { --pl-r: 1; }
/* the name across the band: room for the cap height */
.ground-brand .close__word { line-height: 1; padding-block: .02em; overflow: visible; }
@media (min-width: 1024px) and (max-width: 1279px) { #besok .visit__cols { grid-template-columns: minmax(0, 1fr); } }

@media (min-width: 640px) and (max-width: 1023px) {
  .closing__links > .grid > :first-child { grid-column: 1 / -1; }
  .closing__links > .grid > .footer__col { grid-column: span 4; }
}

/* ---------- The lid: the kit's hero settle (1.05 to 1, 1.1 s, once) hinged at the photograph's top edge,
   so the board above the words comes down like a box lid; timing and curve stay the motion layer's ---------- */
.hero--place > picture.hero__bg > img { transform-origin: 50% 0; }

/* ---------- The hinge: a printed score line where the photograph meets the board, and the lid band under it
   settling once from that edge (visible from the first frame, nothing on the photograph hidden) ---------- */
.hero--place .hero-text { position: relative; transform-origin: 50% 0; }
.hero--place .hero-text::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--hgap) / -2); border-top: 2px dashed var(--score); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  html.m-enter .hero--place .hero-text { animation: lid-hinge 900ms var(--m-ease-enter, cubic-bezier(0.22, 1, 0.36, 1)) both; }
}
@keyframes lid-hinge { from { transform: perspective(1400px) rotateX(10deg); } to { transform: none; } }

/* the lid presses like a box flap: the printed rule closes in on the button */
:root[data-type="place"] .btn.btn--lid { transition: box-shadow 120ms cubic-bezier(0.23, 1, 0.32, 1), background-color var(--dur) var(--ease); }
:root[data-type="place"] .btn.btn--lid:active { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--print); }

/* ---------- The tear strip: a printed perforation and a die-cut notch where the box's red field begins ---------- */
.footer.closing.ground-brand { position: relative; }
.footer.closing.ground-brand::before {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='2'%3E%3Crect width='9' height='2' fill='%23d6b48a'/%3E%3C/svg%3E") repeat-x;
}
.footer.closing.ground-brand::after {
  content: ""; position: absolute; top: 0; left: calc(50% - 20px); width: 40px; height: 20px; border-radius: 0 0 20px 20px;
  background: var(--p-bg); pointer-events: none;
}

/* ---------- Links: the drawn arrow, never a text glyph; hover prints the underline red ---------- */
.link::after { content: ""; width: 11px; height: 11px; background: currentColor;
  -webkit-mask: var(--btn-glyph) center / contain no-repeat; mask: var(--btn-glyph) center / contain no-repeat; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--print); } }
.ground-brand .link:hover { text-decoration-color: currentColor; }

/* the chapters carry their titles; no running count above them */
[data-moment="photo-chapters"] .mo-ph__count { display: none; }
