/* TIKS — kiirtoidukohvik
   Brand: black / white / TIKS yellow / olive, from the kiosk print files.
   Signature: the 21° cut of the logo's "!" (photos) + the wavy stickers (prices, offers). */

@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/anton-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: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/anton-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #000;
  --paper: #fff;
  --tiks: #eeaf31;
  --olive: #6c6f37;
  --mute: rgba(255, 255, 255, .68);   /* secondary text on black */
  --mute-ink: rgba(0, 0, 0, .72);     /* secondary text on yellow / white */

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem; --s7: 9rem;
  --gutter: clamp(1rem, 4.2vw, 3rem);
  --max: 1360px;
  --pad: max(var(--gutter), calc((100% - var(--max)) / 2));
  --head: 84px;
  --dock: 68px;

  --snap: cubic-bezier(.2, 1.7, .4, 1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--tiks); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s2); top: -4rem; z-index: 100; background: var(--tiks); color: var(--ink); padding: .7rem 1rem; font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--s2); }
[id] { scroll-margin-top: calc(var(--head) + 1rem); }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic--s { width: 1em; height: 1em; }
.ic--emoji { display: grid; place-items: center; font-size: 1.15em; line-height: 1; }
.img-ph { background: #1a1a1a; }

/* ---------- buttons ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px;
  font: 800 1rem/1 var(--sans); font-stretch: 110%; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--yellow { background: var(--tiks); color: var(--ink); padding: 1rem 1.5rem; }
.btn--yellow:hover { background: var(--paper); }
.btn--line { color: var(--paper); padding: .75rem 0; box-shadow: inset 0 -3px 0 var(--tiks); }
.btn--line:hover { color: var(--tiks); }
.btn--line:hover .ic { transform: translate(2px, -2px); }

.demo-note { font-size: .85rem; font-style: italic; color: var(--mute-ink); margin-top: var(--s3); }
.demo-note--dark { color: var(--mute); }
.demo-note--inline { margin: 0; font-size: inherit; color: inherit; }

/* ---------- the 21° cut ------------------------------------------------
   Two copies of one photo, clipped either side of a slanted gap. --yl is where the
   cut meets the left edge; the right end rises by tan(21°) = 0.384 of the width,
   i.e. 38.4% of the height × --k (width / height of the figure). */
.cut { position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 3); --k: 1.333; --yl: 94%; --g: clamp(9px, 1.4vw, 18px); }
.cut img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cut__a { clip-path: polygon(0 0, 100% 0, 100% calc(var(--yl) - 38.4% * var(--k)), 0 var(--yl)); }
.cut__b {
  clip-path: polygon(0 calc(var(--yl) + var(--g)), 100% calc(var(--yl) - 38.4% * var(--k) + var(--g)), 100% 100%, 0 100%);
  transition: transform .55s var(--snap) .2s;
}
/* the "tiks": the small piece clicks into place when it scrolls in */
html.js .cut:not(.active) .cut__b { transform: translate(-10px, 18px); }

/* ---------- stickers --------------------------------------------------- */
.sticker {
  position: relative; display: inline-grid; place-items: center; text-align: center;
  padding: 1em 1.5em; line-height: 1; rotate: var(--r, -7deg);
  transition: opacity .15s linear, scale .5s var(--snap), rotate .5s var(--snap);
}
.sticker__blob { position: absolute; inset: -4% -3%; width: 106%; height: 108%; }
.sticker__text { position: relative; display: grid; gap: .25em; }
.sticker--yellow { color: var(--ink); } .sticker--yellow .sticker__blob { color: var(--tiks); }
.sticker--olive  { color: var(--paper); } .sticker--olive .sticker__blob { color: var(--olive); }
.sticker--black  { color: var(--tiks); } .sticker--black .sticker__blob { color: var(--ink); }
.st-big { font: 400 2.3em/1 var(--display); letter-spacing: .01em; }
.st-mid { font: 400 1.25em/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.st-small { font: 800 .72em/1.15 var(--sans); font-stretch: 105%; text-transform: uppercase; letter-spacing: .06em; max-width: 13em; }
html.js .slap:not(.active) { opacity: 0; scale: 1.5; rotate: calc(var(--r, -7deg) - 12deg); }

/* ---------- brand leaves ---------------------------------------------- */
.leaf { position: absolute; pointer-events: none; z-index: 0; height: auto; }

/* ---------- notice ---------------------------------------------------- */
.notice { background: var(--tiks); color: var(--ink); padding: .6rem var(--gutter); text-align: center; font-size: .92rem; font-weight: 600; }
.notice__link { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; margin-left: .5em; font-weight: 800; text-underline-offset: 3px; vertical-align: middle; }
.notice { padding-block: 0; }
.notice__text { display: block; padding-block: .1rem; }

/* ---------- fascia (header) ------------------------------------------ */
.fascia { position: sticky; top: 0; z-index: 40; background: var(--ink); }
.fascia__list {
  display: flex; align-items: center; justify-content: center; height: var(--head);
  padding-inline: var(--gutter);
}
.fascia__item { flex: 0 1 8.5rem; min-width: 0; text-align: center; }
.fascia__brand { flex: none; }
/* the CMS wraps each block in <section class="cms-block">; unwrap the header so it can stick to <main> */
body:not(.cms-edit-mode) .cms-block:has(> .fascia) { display: contents; }
.fascia__link {
  display: inline-block; padding: .8rem .4rem; text-decoration: none;
  font: 700 .88rem/1 var(--sans); font-stretch: 112%; text-transform: uppercase; letter-spacing: .1em;
  transition: color .2s;
}
.fascia__link:hover, .fascia__link.is-current { color: var(--tiks); }
.fascia__brand a { display: flex; align-items: center; gap: .9rem; padding: .4rem 1.6rem; text-decoration: none; }
.fascia__mark { width: 104px; color: var(--paper); }
.fascia__splash { width: 34px; color: var(--tiks); transition: translate .3s var(--ease); }
.fascia__brand a:hover .fascia__splash--l { translate: -4px 0; }
.fascia__brand a:hover .fascia__splash--r { translate: 4px 0; }

/* ---------- hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: clip;
  display: grid;
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [copy-start] minmax(0, 600px) [copy-end] clamp(2rem, 4vw, 5rem) [media-start] minmax(0, 720px) [media-end] minmax(var(--gutter), 1fr) [full-end];
  grid-template-rows: auto 1fr;
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem);
  min-height: min(calc(100svh - var(--head) - 2.4rem), 880px);
}
.hero__copy { grid-column: copy; grid-row: 1; align-self: end; position: relative; z-index: 2; }
.hero__lettering { width: 100%; max-width: 620px; aspect-ratio: 1679 / 583; height: auto; color: var(--paper); }
.hero__lede { margin-top: var(--s3); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-stretch: 108%; font-weight: 500; color: var(--mute); }
.hero__media { grid-column: media-start / full-end; grid-row: 1 / span 2; position: relative; z-index: 1; align-self: center; }
.hero__photo { --ar: 5 / 4; --k: 1.25; --yl: 97%; }
.hero__sticker { position: absolute; left: -2.2rem; bottom: 8%; z-index: 3; text-decoration: none; font-size: clamp(.95rem, 1.35vw, 1.2rem); --r: -8deg; }
.hero__sticker .sticker { padding: 1.6em 2.2em; }
.hero__sticker:hover .sticker { scale: 1.06; }
.hero__sticker--word { display: grid; place-items: center; width: clamp(160px, 16vw, 230px); rotate: -8deg; }
.hero__sticker--word > * { grid-area: 1 / 1; }
.hero__blob { width: 100%; color: var(--tiks); }
.hero__word { width: 70%; color: var(--ink); }
.hero__foot { grid-column: copy; grid-row: 2; align-self: start; position: relative; z-index: 2; margin-top: var(--s5); display: grid; gap: var(--s4); justify-items: start; }

.hero__leaf--frond { width: clamp(240px, 26vw, 460px); color: var(--olive); top: -16%; left: calc(50% - clamp(240px, 26vw, 460px) * .9); rotate: 8deg; }
.hero__leaf--banana { width: clamp(240px, 26vw, 460px); color: var(--tiks); bottom: -22%; left: -9%; rotate: -12deg; opacity: .9; }

.status-list { display: grid; gap: .9rem; }
.status { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .9rem; row-gap: .1rem; }
.status__town { font: 400 1.55rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; min-width: 6.4em; }
.status__label { font-weight: 600; }
.status--soon .status__label, .status--open .status__label { color: var(--tiks); }
.status--closed .status__label { color: var(--mute); }
.status__left { color: var(--mute); font-variant-numeric: tabular-nums; }

/* ---------- today (the yellow band) ---------------------------------- */
.today {
  background: var(--tiks); color: var(--ink);
  padding: var(--s6) var(--pad);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.today__title { font: 400 clamp(3.2rem, 7.4vw, 6.8rem)/1.18 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.today__date { margin-top: .6rem; font-weight: 700; font-stretch: 110%; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.lunch { margin-top: var(--s4); }
.lunch__dish { font: 800 clamp(1.6rem, 2.6vw, 2.3rem)/1.12 var(--sans); font-stretch: 112%; }
.lunch__desc { margin-top: .6rem; max-width: 38ch; color: var(--mute-ink); }
.lunch__meta { margin-top: var(--s3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.lunch__price { font-size: 1.1rem; --r: -6deg; }
.lunch__when { display: grid; gap: .35rem; font-weight: 700; }
.lunch__when span { display: inline-flex; align-items: center; gap: .45rem; }

.ticket { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.ticket__photo { --ar: 4 / 5; --k: .8; --yl: 90%; align-self: stretch; }
.ticket__body { padding: clamp(1.5rem, 3vw, 2.8rem); align-self: center; }
.ticket__title { font: 400 clamp(2rem, 3.4vw, 3.1rem)/1.18 var(--display); text-transform: uppercase; }
.ticket__name { margin-top: .8rem; font: 800 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--sans); font-stretch: 112%; }
.ticket__text { margin-top: var(--s2); color: var(--mute); max-width: 34ch; }
.ticket__price { margin-top: var(--s3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.ticket__price .sticker { font-size: 1.05rem; --r: 5deg; }
.ticket__old { color: var(--mute); font-size: .95rem; }
.ticket__until { margin-top: var(--s2); font-weight: 600; }

/* ---------- menu board ----------------------------------------------- */
.menu {
  padding: var(--s6) var(--pad) var(--s5);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem);
}
.menu__side { position: sticky; top: calc(var(--head) + 2rem); align-self: start; }
.menu__title { font: 400 clamp(4.2rem, 10vw, 9.5rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.menu__tabs { display: flex; gap: var(--s3); margin-top: var(--s3); }
.menu__tab {
  font: 400 2rem/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .02em;
  color: var(--mute); padding: .5rem 0 .55rem; box-shadow: inset 0 -4px 0 transparent; transition: color .2s, box-shadow .25s var(--ease);
}
.menu__tab:hover { color: var(--paper); }
.menu__tab.is-active { color: var(--paper); box-shadow: inset 0 -4px 0 var(--tiks); }
.menu__jump { margin-top: var(--s2); display: grid; }
.menu__jump a { display: inline-block; padding: .7rem 0; color: var(--mute); text-decoration: none; font-weight: 600; transition: color .2s; }
.menu__jump a:hover { color: var(--tiks); }
.menu__group + .menu__group { margin-top: var(--s6); }
.menu__group-name { font: 400 2.6rem/1.1 var(--display); text-transform: uppercase; margin-bottom: var(--s4); color: var(--tiks); }
html.js .menu.is-tabbed .menu__group-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html.js .menu.is-tabbed .menu__group:not(.is-active),
html.js .menu.is-tabbed .menu__jump:not(.is-active) { display: none; }
html.js .menu.is-tabbed .menu__group + .menu__group { margin-top: 0; }
.menu__group.is-entering { animation: board-in .45s var(--ease) backwards; }
@keyframes board-in { from { opacity: 0; translate: 0 14px; } }

.cat { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2) var(--s4); }
.cat + .cat { margin-top: var(--s5); }
.cat--photo { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); grid-template-areas: "name photo" "rows photo"; grid-template-rows: auto 1fr; }
.cat__name { grid-area: name; font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.18 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.cat__photo { grid-area: photo; --ar: 4 / 5; --k: .8; --yl: 91%; align-self: start; }
.rows { grid-area: rows; }
.row {
  display: grid; grid-template-columns: auto minmax(1.2rem, 1fr) auto;
  grid-template-areas: "name lead price" "desc desc desc"; column-gap: .6rem; padding: .8rem 0;
}
.row__name { grid-area: name; font-weight: 700; font-size: 1.12rem; font-stretch: 106%; }
.row__tag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); margin-left: .35rem; white-space: nowrap; }
.row__lead { grid-area: lead; align-self: end; margin-bottom: .42rem; border-bottom: 2px dotted rgba(255, 255, 255, .32); }
.row__price { grid-area: price; font: 400 1.4rem/1.1 var(--display); color: var(--tiks); font-variant-numeric: tabular-nums; }
.row__desc { grid-area: desc; margin-top: .2rem; color: var(--mute); font-size: .95rem; max-width: 46ch; }

/* ---------- about (white) -------------------------------------------- */
.about {
  background: var(--paper); color: var(--ink);
  padding: var(--s6) var(--pad); overflow-x: clip;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center;
}
.about__media { position: relative; }
.about__photo { --ar: 990 / 732; --k: 1.352; --yl: 97%; }
.about__sticker { position: absolute; display: grid; place-items: center; z-index: 2; }
.about__sticker > * { grid-area: 1 / 1; }
.about__blob { width: 100%; }
.about__word { width: 66%; }
.about__sticker--kiire { width: clamp(120px, 13vw, 190px); top: -7%; left: -3%; --r: -10deg; rotate: var(--r); color: var(--olive); }
.about__sticker--kiire .about__word { color: var(--paper); }
.about__sticker--varske { width: clamp(140px, 15vw, 220px); bottom: -9%; right: 6%; --r: 6deg; rotate: var(--r); color: var(--tiks); }
.about__sticker--varske .about__word { color: var(--ink); }
.about__sticker { transition: opacity .15s linear, scale .5s var(--snap), rotate .5s var(--snap); }
.about__sticker--varske { transition-delay: .18s; }
.about__title { font: 400 clamp(2.5rem, 4.6vw, 4.4rem)/1.2 var(--display); text-transform: uppercase; }
.about__copy p { margin-top: var(--s3); font-size: 1.12rem; max-width: 40ch; }
.about__body { display: block; }
.about__script { width: clamp(200px, 22vw, 300px); margin-top: var(--s4); color: var(--olive); rotate: -4deg; }

/* ---------- places --------------------------------------------------- */
.places {
  position: relative; padding: var(--s6) var(--pad);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) clamp(2rem, 6vw, 6rem);
}
.place { display: grid; align-content: start; gap: var(--s3); }
.place__head { display: grid; justify-items: start; }
.place__town { font: 400 clamp(3.4rem, 7.2vw, 7rem)/1.12 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.place__status { margin-top: -.9rem; margin-left: .4rem; font-size: .95rem; --r: -4deg; }
.place__status .sticker__text { max-width: 9.5em; }
.place__addr { display: flex; align-items: flex-start; gap: .6rem; font-size: 1.1rem; font-weight: 600; }
.place__addr .ic { margin-top: .2em; color: var(--tiks); }
.place__addr a { text-decoration: none; }
.place__links { display: flex; flex-wrap: wrap; gap: .5rem var(--s4); }
.place__later { color: var(--mute); max-width: 30ch; }
.hours { border-collapse: collapse; width: 100%; max-width: 26rem; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding-bottom: .6rem; }
.hours th, .hours td { padding: .42rem 0; font-weight: 500; }
.hours th { text-align: left; }
.hours td { text-align: right; }
.hours tr.is-today { color: var(--tiks); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.hours tr.is-today th::after { content: attr(data-today); margin-left: .6rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }

/* ---------- reviews (white) ------------------------------------------ */
.reviews {
  position: relative; overflow: clip; background: var(--paper); color: var(--ink);
  padding: var(--s6) var(--pad);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s4) clamp(2rem, 6vw, 6rem); align-items: end;
}
.reviews__leaf { width: clamp(220px, 24vw, 380px); color: var(--olive); right: -4%; top: -18%; rotate: 150deg; opacity: .9; }
.reviews__lead { position: relative; z-index: 1; }
.reviews__lead blockquote p { font: 400 clamp(2.3rem, 4.8vw, 4.6rem)/1.24 var(--display); text-transform: uppercase; max-width: 18ch; }
.reviews__lead blockquote p::before { content: "„"; }
.reviews__lead blockquote p::after { content: "“"; }
.reviews figcaption { margin-top: var(--s2); color: var(--mute-ink); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.reviews__rest { position: relative; z-index: 1; display: grid; gap: var(--s4); }
.reviews__rest p { font-size: 1.15rem; font-weight: 500; max-width: 34ch; }
.reviews__note { grid-column: 1 / -1; margin: 0; }

/* ---------- footer (yellow) ------------------------------------------ */
.foot {
  background: var(--tiks); color: var(--ink);
  padding: var(--s5) var(--pad) var(--s3);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4);
}
.foot__mark { width: 170px; color: var(--ink); }
.foot__tag { margin-top: .8rem; font: 400 1.35rem/1.15 var(--display); text-transform: uppercase; }
.foot__reach { justify-self: end; text-align: right; display: grid; gap: var(--s2); align-content: start; }
.foot__list { display: grid; gap: .4rem; }
.foot__list a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; }
.foot__list a:hover { text-decoration: underline; }
.foot__social { display: flex; gap: .5rem; justify-content: flex-end; }
.foot__social a { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--tiks); transition: background-color .2s, color .2s; }
.foot__social a:hover { background: var(--paper); color: var(--ink); }
.foot .demo-note { margin: 0; max-width: 26ch; }
.foot__base {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s2);
  margin-top: var(--s4); font-size: .9rem; font-weight: 600;
}
.footer-credit { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; text-decoration: none; text-align: right; }
.footer-credit-name {
  font: 400 1.35rem/1.1 var(--display); letter-spacing: .03em;
  background:
    linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%),
    linear-gradient(90deg, #000 0%, #2e3017 55%, #4f5228 100%);
  background-size: 250% 100%, 100% 100%; background-position: 150% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-credit:hover .footer-credit-name { animation: glimmer .9s var(--ease); }
@keyframes glimmer { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
.footer-credit-sub { font-size: .72rem; letter-spacing: .05em; color: var(--mute-ink); }

/* ---------- mobile dock ---------------------------------------------- */
.dock { display: none; }

/* ---------- scroll-driven drift for the hero leaves ------------------ */
@supports (animation-timeline: scroll()) {
  .hero__leaf { animation: leaf-drift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  .hero__leaf--banana { animation-name: leaf-drift-b; }
  @keyframes leaf-drift { to { translate: 0 -70px; rotate: 30deg; } }
  @keyframes leaf-drift-b { to { translate: 30px -50px; rotate: -2deg; } }
}

/* ==================== tablet ==================== */
@media (max-width: 1099px) {
  :root { --head: 72px; }
  .fascia__item { flex-basis: 7rem; }
  .fascia__brand a { padding-inline: .8rem; }
  .today { grid-template-columns: minmax(0, 1fr); }
  .menu { grid-template-columns: minmax(0, 1fr); }
  .menu__side { position: static; }
  .menu__jump { display: flex; flex-wrap: wrap; gap: 0 var(--s3); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__copy { max-width: 40rem; }
}

/* ==================== phone ==================== */
@media (max-width: 759px) {
  :root { --head: 0px; }
  body { padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom)); font-size: 1rem; }
  [id] { scroll-margin-top: .5rem; }
  .notice { padding-top: .55rem; }
  .notice__link { display: flex; justify-content: center; margin: 0; }

  .fascia { position: static; }
  .fascia__list { display: flex; height: 64px; }
  .fascia__item { display: none; }
  .fascia__mark { width: 92px; }
  .fascia__splash { width: 28px; }

  .hero {
    grid-template-columns: [full-start] var(--gutter) [copy-start media-start] minmax(0, 1fr) [copy-end media-end] var(--gutter) [full-end];
    grid-template-rows: auto auto auto; min-height: 0; padding-block: var(--s3) var(--s5);
  }
  .hero__copy { grid-row: 1; }
  .hero__media { grid-column: full; grid-row: 2; margin-top: var(--s4); }
  .hero__photo { --ar: 4 / 3.5; --k: 1.143; --yl: 96%; }
  .hero__sticker { left: auto; right: var(--gutter); bottom: -2.2rem; font-size: .92rem; }
  .hero__sticker .sticker { padding: 1.4em 1.8em; }
  .hero__foot { grid-row: 3; margin-top: var(--s5); }
  .hero__leaf--frond { width: 210px; top: -2%; left: auto; right: -14%; rotate: 24deg; }
  .hero__leaf--banana { width: 220px; bottom: -8%; left: -30%; }

  .today { padding-block: var(--s5); }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket__photo { --ar: 4 / 3; --k: 1.333; --yl: 96%; }

  .menu { padding-block: var(--s5) var(--s4); gap: var(--s4); }
  .cat--photo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "name" "rows"; }
  .cat__photo { --ar: 16 / 10; --k: 1.6; --yl: 97%; margin-inline: calc(-1 * var(--gutter)); }
  .row__name { font-size: 1.05rem; }

  .about { padding-block: var(--s5) var(--s6); }
  .about__media { margin-inline: calc(-1 * var(--gutter)); }
  .about__sticker--kiire { left: var(--gutter); }
  .about__sticker--varske { right: var(--gutter); }

  .places { grid-template-columns: minmax(0, 1fr); padding-block: var(--s5); }
  .reviews { grid-template-columns: minmax(0, 1fr); padding-block: var(--s5); }
  .reviews__leaf { width: 200px; top: -6%; right: -18%; }

  .foot { grid-template-columns: minmax(0, 1fr); }
  .foot__reach { justify-self: start; text-align: left; }
  .foot__social { justify-content: flex-start; }
  .foot__base { flex-direction: column; align-items: flex-start; }
  .footer-credit { align-items: flex-start; text-align: left; }

  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    height: calc(var(--dock) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink); box-shadow: inset 0 3px 0 var(--tiks);
  }
  .dock__link {
    display: grid; place-items: center; align-content: center; gap: .25rem; padding-top: 3px;
    text-decoration: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  }
  .dock__link .ic { width: 1.4rem; height: 1.4rem; }
  .dock__link.is-current { color: var(--tiks); }
}

/* ==================== reduced motion ==================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .cut:not(.active) .cut__b { transform: none; }
  html.js .slap:not(.active) { opacity: 1; scale: 1; rotate: var(--r, -7deg); }
  .hero__leaf { translate: none; }
}
