/* R&B Cafe Roasters: Roaster & Barista on Slovenska cesta, Ljubljana. Pure white and true black like the
   logo, its thick rounded frame on panels and pills, and the photographs as large as the page allows.
   Bricolage Grotesque, very large and tight, for headings; Figtree for text. Built for phones first:
   most guests are young and read the menu on the way in. The widgets take the same look from --tk-*. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../_fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap;
  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: "Bricolage Grotesque"; src: url("../_fonts/bricolage-latin.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap;
  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: "Figtree"; src: url("../_fonts/figtree-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  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: "Figtree"; src: url("../_fonts/figtree-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  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 {
  --paper: #ffffff;
  --ink: #000000;
  --accent: #000000;
  --open: #17703a;
  --needs: #9a5800;
  --ink-2: #555555;
  --hairline: #e2e2e2;
  --soft: #f0f0f0;
  --on-accent: #ffffff;
  --max: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --space: clamp(72px, 9vw, 152px);
  --tap: 48px;
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --text: Figtree, system-ui, sans-serif;
  --heading-weight: 800;
  --heading-axes: normal;
  --heading-leading: 0.92;
  --heading-tracking: -0.025em;
  --heading-scale: 1;
  --frame: 4px;
  --round: clamp(18px, 2vw, 30px);
  --control-round: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* The widgets' look */
  --tk-paper: var(--paper);
  --tk-ink: var(--ink);
  --tk-ink-2: var(--ink-2);
  --tk-accent: var(--accent);
  --tk-on-accent: var(--on-accent);
  --tk-line: var(--hairline);
  --tk-open: var(--open);
  --tk-needs: var(--needs);
  --tk-font: var(--text);
  --tk-display: var(--display);
  --tk-heading-weight: var(--heading-weight);
  --tk-frame: var(--frame);
  --tk-round: 18px;
  --tk-control-round: var(--control-round);
  --tk-tap: var(--tap);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.site { overflow-x: clip; font-variant-numeric: tabular-nums; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--heading-weight); font-variation-settings: var(--heading-axes);
  line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band :focus-visible, .foot :focus-visible, .ticker :focus-visible { outline-color: #ffffff; }
.muted { color: var(--ink-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 20; background: var(--ink); color: var(--paper); padding: 12px 18px;
  border-radius: var(--control-round); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons: pills with the logo's weight of line. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: var(--control-round); border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  font: 700 17px/1.1 var(--text); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.more-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.kicker { font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.label { display: block; font: 700 17px/1.3 var(--text); letter-spacing: 0; margin-bottom: 10px; }

.state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.state::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.state.open { color: var(--open); }
.state.needs { color: var(--needs); }
.state.closed { color: var(--ink-2); }

/* The logo's frame: one thick rounded line around panels. */
.frame { border: var(--frame) solid var(--ink); border-radius: var(--round); display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr); overflow: hidden; }
.frame > * { padding: clamp(22px, 2.6vw, 40px); min-width: 0; }
.frame > * + * { border-left: var(--frame) solid var(--ink); }
@media (max-width: 860px) {
  .frame { grid-auto-flow: row; }
  .frame > * + * { border-left: 0; border-top: var(--frame) solid var(--ink); }
}

/* Header */
.top { position: relative; z-index: 6; background: var(--paper); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.logo { display: block; flex: none; color: var(--ink); text-decoration: none; font: 800 26px/1 var(--display); }
.logo img { height: 58px; width: auto; }
.links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px; list-style: none; font-weight: 600; font-size: 16px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--control-round); text-decoration: none;
  transition: background-color .2s; }
.links a:hover { background: var(--soft); }
.links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.links .lang { border: 2px solid var(--ink); margin-left: 6px; }
.head-cart { font-weight: 700; }
.bar { display: none; }
.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--ink); border-radius: var(--control-round); font-weight: 700; }
.more > summary::-webkit-details-marker { display: none; }
.more[open] > summary { background: var(--ink); color: var(--paper); }
.more ul { position: absolute; left: 0; right: 0; top: 100%; z-index: 8; list-style: none; background: var(--paper);
  padding: 4px var(--gutter) 28px; border-bottom: var(--frame) solid var(--ink); box-shadow: 0 40px 60px -30px rgb(0 0 0 / .35); }
.more li a { display: flex; align-items: center; min-height: 60px; border-top: 1px solid var(--hairline); text-decoration: none;
  font: 800 28px/1 var(--display); letter-spacing: -.02em; }
.more li:first-child a { border-top: 0; }
.more li a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (max-width: 1240px) {
  .top-nav { display: none; }
  .top-in { min-height: 70px; gap: 12px; }
  .logo img { height: 44px; }
  .bar { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 16px; white-space: nowrap; }
  .bar .quick { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; }
  .bar .head-cart { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
}
@media (max-width: 380px) {
  .logo img { height: 38px; }
  .bar .quick + .quick { display: none; }
  .more > summary { padding: 0 14px; }
}

/* Footer: the name explained in very large type, then places, hours and contact. */
.foot { margin-top: var(--space); background: var(--ink); color: var(--paper); }
.foot .wrap { padding-top: clamp(56px, 7vw, 112px); padding-bottom: 32px; }
.foot-mark { font: 800 clamp(56px, 11vw, 190px)/.84 var(--display); letter-spacing: -.045em; margin-bottom: clamp(40px, 6vw, 88px); }
.foot-mark span { color: transparent; -webkit-text-stroke: 2px #ffffff; }
.foot .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; border-top: 1px solid #3a3a3a; padding-top: 32px; }
.foot strong { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: #b5b5b5; }
.foot p, .foot li { list-style: none; color: #ffffff; margin-bottom: 2px; font-size: 17px; }
.foot a { color: #ffffff; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.foot a:hover { text-decoration: underline; }
.foot .legal { margin-top: 48px; font-size: 14px; color: #b5b5b5; }

/* Front page: the opening */
.hero { padding-top: clamp(12px, 2.4vw, 36px); }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 88px); align-items: end;
  padding-bottom: clamp(28px, 3.6vw, 56px); }
.mega { font-size: clamp(50px, 8.6vw, 150px); line-height: .86; letter-spacing: -.04em; }
.hero-side .lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; max-width: 26em; margin-bottom: 24px; }
.hero-picture img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--round); background: var(--soft); }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero-head { grid-template-columns: minmax(0, 1fr); padding-top: 24px; padding-bottom: 0; }
  .hero.with-picture .hero-picture { order: -1; }
  .hero-picture img { aspect-ratio: 1 / 1; }
}

/* A running line in black, the café's few facts. */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; margin-top: clamp(48px, 6vw, 96px); padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; white-space: nowrap; font: 800 clamp(26px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.02em; }
.ticker span::after { content: ""; display: inline-block; width: .32em; height: .32em; margin: 0 .7em; border-radius: 50%; background: currentColor; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding-top: var(--space); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 3.6vw, 56px); }
.sec-head h2 { font-size: clamp(46px, 7vw, 116px); line-height: .88; letter-spacing: -.04em; }
.sec-head p { font-size: clamp(17px, 1.4vw, 20px); max-width: 32em; margin-top: 16px; color: var(--ink-2); }
.sec-tools { display: flex; align-items: center; gap: 12px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav[hidden] { display: none; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font: 700 20px/1 var(--text); cursor: pointer; transition: background-color .2s, color .2s; }
.round:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .rail-nav:not([hidden]) { display: none; } }

/* Weekly roasting: the sentence in large type. */
.roast { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 16px clamp(24px, 4vw, 64px); align-items: start; }
.roast h2 { font: 700 18px/1.3 var(--text); letter-spacing: 0; padding-top: 14px; border-top: var(--frame) solid var(--ink); }
.roast p { font: 800 clamp(30px, 4.3vw, 70px)/1.02 var(--display); letter-spacing: -.03em; text-wrap: balance; }
@media (max-width: 760px) { .roast { grid-template-columns: minmax(0, 1fr); } .roast h2 { justify-self: start; } }

/* Menu on the front page: one large dish and four beside it. */
.bento { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 21vw, 330px);
  gap: clamp(10px, 1.3vw, 20px); }
.bento li:first-child { grid-column: span 2; grid-row: span 2; }
.bento a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--round); background: var(--soft);
  color: var(--ink); text-decoration: none; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento a:hover img { transform: scale(1.045); }
.chip { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--ink); border-radius: var(--control-round); padding: 9px 16px; font-size: 15px; line-height: 1.2; }
.chip b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip .price { white-space: nowrap; color: var(--ink-2); font-weight: 600; }
.chip .price:empty { display: none; }
.bento li:first-child .chip { left: 18px; bottom: 18px; padding: 12px 20px; font-size: 17px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .chip { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 7px 12px; font-size: 14px; }
  .chip .price { display: none; }
  .bento li:first-child .chip { left: 12px; bottom: 12px; font-size: 16px; }
  .bento li:first-child .chip .price { display: inline; }
}

/* Cards: coffees, merch and gear; square pictures, a ribbon when the shop gave one. */
.card a { display: block; color: inherit; text-decoration: none; }
.card-pic { position: relative; display: block; overflow: hidden; border-radius: var(--round); background: var(--soft); }
.card-pic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--ease); }
.card a:hover .card-pic img { transform: scale(1.05); }
.ribbon { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); background: var(--ink); color: var(--paper);
  border-radius: var(--control-round); padding: 6px 12px; font-size: 13px; font-weight: 700; line-height: 1.2; }
.ribbon.static { position: static; display: inline-block; margin-bottom: 4px; }
.card :is(h2, h3) { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.04; letter-spacing: -.02em; margin-top: 14px; }
.card a:hover :is(h2, h3) { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.card .price { display: block; margin-top: 6px; font-weight: 600; }
.no-picture { display: block; aspect-ratio: 1 / 1; background: var(--soft); border-radius: var(--round); }

.rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(232px, 24vw, 340px); gap: clamp(14px, 1.8vw, 26px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 18px;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent; }
.rail > li { scroll-snap-align: start; }
@media (max-width: 760px) { .rail { grid-auto-columns: 72vw; } }

/* The class, in a black band. */
.band { background: var(--ink); color: var(--paper); margin-top: var(--space); padding-block: var(--space);
  --ink-2: #b9b9b9; --tk-paper: #000000; --tk-ink: #ffffff; --tk-ink-2: #b9b9b9; --tk-accent: #ffffff; --tk-on-accent: #000000; --tk-line: #3a3a3a; }
.band a { color: #ffffff; }
.band .btn { background: #ffffff; color: #000000; border-color: #ffffff; }
.band .btn.quiet { background: transparent; color: #ffffff; }
.class-split, .offer-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 112px); align-items: center; }
.class-pic .picture-open > img, .offer-pic .picture-open > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--round); max-height: none; }
.class-copy h2, .offer-split h2 { font-size: clamp(44px, 6vw, 100px); line-height: .88; letter-spacing: -.04em; margin-bottom: 22px; }
.offer-split h2 a { color: inherit; text-decoration: none; }
.offer-split h2 a:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.class-copy .lead, .offer-split .lead { font-size: clamp(18px, 1.4vw, 20px); max-width: 30em; }
.class-copy .lead { color: #dedede; }
.price-big { font-size: 18px; margin: 26px 0; }
.price-big b { font: 800 clamp(38px, 4vw, 60px)/1 var(--display); letter-spacing: -.03em; margin-right: 6px; }
.class-copy .btn, .offer-split .btn { margin-top: 26px; }
@media (max-width: 900px) { .class-split, .offer-split { grid-template-columns: minmax(0, 1fr); } }

/* Who we are: the picture from edge to edge, then the words. */
.story-pic img { width: 100%; aspect-ratio: 2 / 1; max-height: 82vh; object-fit: cover; background: var(--soft); }
.story-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px clamp(32px, 5vw, 96px); padding-top: clamp(32px, 4vw, 64px); }
.story-copy h2 { font-size: clamp(46px, 7vw, 116px); line-height: .88; letter-spacing: -.04em; }
.story-text { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; }
.story-text p + p { margin-top: 14px; }
@media (max-width: 760px) { .story-pic img { aspect-ratio: 4 / 3; } .story-copy { grid-template-columns: minmax(0, 1fr); } }

/* News on the front page */
.post-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(16px, 2vw, 32px); }
.post-cards a { display: block; color: inherit; text-decoration: none; }
.post-cards .card-pic img, .post-cards .no-picture { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.post-cards a:hover .card-pic img { transform: scale(1.04); }
.date { display: block; margin: 14px 0 6px; font-size: 15px; }
.post-cards h3 { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.04; letter-spacing: -.02em; }
.post-cards a:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
@media (max-width: 900px) { .post-cards { grid-template-columns: minmax(0, 1fr); } }

/* Visit */
.place-name { font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.visit .address { display: block; font: 800 clamp(32px, 3.8vw, 58px)/.95 var(--display); letter-spacing: -.03em; text-decoration: none; }
.visit .address:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.visit .hours { list-style: none; font-size: 18px; }
.visit p:not(.place-name) { font-size: 18px; }
.visit-go { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; }

/* Pictures that open full size */
.picture-gallery { min-width: 0; max-width: 100%; }
.picture-open { position: relative; display: block; cursor: zoom-in; overflow: hidden; border-radius: var(--round); }
.picture-open > img { display: block; width: 100%; transition: transform .8s var(--ease); }
.picture-open:hover > img { transform: scale(1.03); }
.picture-count { position: absolute; right: 12px; bottom: 12px; background: var(--paper); color: var(--ink); padding: 4px 10px;
  border-radius: var(--control-round); font-size: 13px; font-weight: 700; }
.picture-gallery-all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.picture-gallery-all > .picture-open:first-child { grid-column: 1 / -1; }
.picture-gallery-all > .picture-open:not(:first-child) > img { aspect-ratio: 1 / 1; object-fit: cover; }
.picture-gallery-compact { width: 80px; }
.picture-gallery-compact .picture-open > img { width: 80px; height: 80px; object-fit: cover; }
.picture-dialog { width: min(1200px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 16px;
  border: 0; border-radius: var(--round); background: var(--paper); color: var(--ink); }
.picture-dialog::backdrop { background: rgb(0 0 0 / .85); }
.picture-dialog-content { display: grid; gap: 12px; }
.picture-dialog-content > img { width: 100%; height: auto; max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 12px; }
.picture-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picture-controls button { min-height: 44px; padding: 8px 16px; }
.picture-controls span { overflow-wrap: anywhere; font-weight: 600; }

/* A page's head: the name of the page, very large. */
.pagehead { padding-top: clamp(24px, 4.4vw, 72px); padding-bottom: clamp(24px, 3vw, 48px); }
.pagehead h1, .missing h1 { font-size: clamp(60px, 11.5vw, 184px); line-height: .84; letter-spacing: -.045em; }
.pagehead p { margin-top: 18px; font-size: clamp(18px, 1.5vw, 21px); max-width: 34em; }
.missing { padding-top: clamp(32px, 6vw, 96px); }
.missing p { margin-top: 16px; font-size: 19px; }
.missing p + p { margin-top: 28px; }
.problem { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--needs); background: color-mix(in srgb, var(--needs) 9%, var(--paper)); }

/* Menu: parts to jump to, then every dish with its picture large. */
.index { position: sticky; top: 0; z-index: 4; background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline); }
.index .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.index .wrap::-webkit-scrollbar { display: none; }
.index a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink);
  border-radius: var(--control-round); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.index a:hover { background: var(--ink); color: var(--paper); }
.menu-cover, .part-cover { margin-top: 32px; }
.menu-cover img, .part-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.menu-name { padding-top: 48px; font-size: clamp(40px, 6vw, 96px); }
.part { padding-top: clamp(56px, 7vw, 120px); scroll-margin-top: 64px; }
.part-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px clamp(24px, 4vw, 64px); align-items: end;
  margin-bottom: clamp(26px, 3vw, 48px); }
.part-head h2 { font-size: clamp(42px, 5.8vw, 92px); line-height: .88; letter-spacing: -.04em; }
.part-head p { font-size: 18px; color: var(--ink-2); max-width: 34em; }
.part-cover + .items { margin-top: 32px; }
.items { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(40px, 4vw, 64px) clamp(16px, 2vw, 32px); }
.items > li { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 84px; }
.items .picture-gallery { margin-bottom: 18px; }
.items .picture-open > img { aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.items h3 { font-size: clamp(23px, 2vw, 30px); line-height: 1.02; letter-spacing: -.02em; }
.item-head .price { flex: none; font: 800 21px/1 var(--display); white-space: nowrap; }
.items .about { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.items .pick { align-self: flex-start; margin-top: 10px; background: var(--ink); color: var(--paper); border-radius: var(--control-round); padding: 4px 12px; font-size: 13px; font-weight: 700; }
.items .gone { opacity: .5; }
.labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.labels > span { font-size: 13px; font-weight: 700; border: 2px solid var(--ink); border-radius: var(--control-round); padding: 2px 10px; display: inline-flex; align-items: center; gap: 4px; }
.labels .glyph { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.labels .label-mark { position: relative; padding: 2px 6px; cursor: default; }
.labels .label-mark:is(:hover, :focus-visible, :focus)::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; }
.sizes { list-style: none; margin-top: 14px; border-top: 2px solid var(--ink); }
.sizes li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }
.sizes .price { font-weight: 700; white-space: nowrap; }
.sizes .gone { color: var(--ink-2); }
.menu-modifiers { margin-top: 14px; }
.menu-modifiers .about { margin-top: 0; font-size: 15px; }
.menu-modifiers .sizes { margin-top: 6px; border-top-width: 1px; }
@media (max-width: 760px) { .part-head { grid-template-columns: minmax(0, 1fr); } }

/* Shop */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--ink); border-radius: var(--control-round);
  text-decoration: none; font-weight: 700; font-size: 15px; transition: background-color .2s, color .2s; }
.filters a:hover, .filters a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(36px, 4vw, 60px) clamp(14px, 2vw, 28px); padding-top: 28px; }
@media (max-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .cards .card :is(h2, h3) { font-size: 18px; margin-top: 10px; }
  .cards .ribbon { top: 8px; left: 8px; font-size: 12px; padding: 4px 9px; }
  .cards .price { font-size: 15px; }
}

.crumb { padding-top: 16px; font-weight: 700; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 88px); align-items: start; padding-top: 8px; }
.product-buy { position: sticky; top: 24px; }
.product h1 { font-size: clamp(40px, 5vw, 82px); line-height: .92; letter-spacing: -.035em; margin: 10px 0 18px; }
.product .price-big { margin: 0 0 24px; font: 800 clamp(28px, 2.6vw, 40px)/1 var(--display); letter-spacing: -.02em; }
.product .lead { margin-top: 28px; font-size: 18px; }
.product .info { margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--ink); }
.product .info h2 { font-size: 26px; margin-bottom: 8px; }
.product .info p { white-space: pre-line; }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); } .product-buy { position: static; } }

/* Classes */
.offers { list-style: none; display: grid; gap: clamp(56px, 7vw, 112px); padding-top: 16px; }
.offers > li.muted { font-size: 19px; }
.class { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 88px); padding-top: 8px; align-items: start; }
.class h1 { font-size: clamp(48px, 7vw, 120px); line-height: .86; letter-spacing: -.045em; }
.class .picture-gallery { margin-top: 28px; }
.class .lead { margin-top: 28px; font-size: 19px; max-width: 36em; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 24px 0 0; }
.facts dt { font-size: 15px; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font: 800 clamp(24px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -.02em; }
.booking { position: sticky; top: 24px; border: var(--frame) solid var(--ink); border-radius: var(--round); padding: clamp(22px, 2.6vw, 36px); }
.booking h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 18px; }
.class [role="status"], .class .problem { margin: 0 0 16px; }
@media (max-width: 900px) { .class { grid-template-columns: minmax(0, 1fr); } .booking { position: static; } }

/* News: the newest large, the others in a grid; a post read in one column with its picture wider. */
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 4.5vw, 72px) clamp(16px, 2vw, 32px); }
.post-grid a { display: block; color: inherit; text-decoration: none; }
.post-grid .card-pic img, .post-grid .no-picture { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.post-grid a:hover .card-pic img { transform: scale(1.04); }
.post-grid h2 { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 10px; }
.post-grid a:hover h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.post-grid .sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); }
.post-grid .lead-post { grid-column: 1 / -1; }
.post-grid .lead-post a { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 72px); align-items: center; }
.post-grid .lead-post .card-pic img, .post-grid .lead-post .no-picture { aspect-ratio: 16 / 10; }
.post-grid .lead-post h2 { font-size: clamp(34px, 4.2vw, 68px); line-height: .94; letter-spacing: -.035em; }
.post-grid .lead-post .sum { font-size: 18px; -webkit-line-clamp: 4; }
.post-grid .lead-post .date { margin-top: 0; }
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid .lead-post a { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

.article, .crumb.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.article { padding-top: 8px; }
.page-article { padding-top: clamp(24px, 4vw, 64px); }
.article h1 { font-size: clamp(40px, 6vw, 88px); line-height: .92; letter-spacing: -.04em; margin: 12px 0 32px; }
.article > .lead { font-size: 20px; margin-bottom: 16px; }
.article .cover { width: min(1200px, calc(100vw - 2 * var(--gutter))); margin: 0 0 40px 50%; transform: translateX(-50%); }
.article .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--round); background: var(--soft); }
.prose { font-size: 19px; line-height: 1.65; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1; margin-top: 48px; }
.prose h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; margin-top: 36px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose a { font-weight: 600; }
.prose figure { margin: 40px 0; }
.prose figure img, .prose > p > img { width: 100%; border-radius: var(--round); }
.prose figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.product .prose, .class .prose { font-size: 18px; }
.neighbours { max-width: calc(760px + 2 * var(--gutter)); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.neighbours a { display: grid; gap: 6px; padding: 18px 0; border-top: var(--frame) solid var(--ink); color: var(--ink); text-decoration: none;
  font: 800 22px/1.1 var(--display); letter-spacing: -.01em; }
.neighbours a .muted { font: 600 15px/1.3 var(--text); letter-spacing: 0; }
.neighbours a:last-child { text-align: right; }
.neighbours a:hover { text-decoration: underline; }
@media (max-width: 760px) { .neighbours { grid-template-columns: minmax(0, 1fr); } .neighbours a:last-child { text-align: left; } }

/* Forms, cart, checkout, account: the words, then the widget in one thick frame. */
.page-narrow, .form-page { max-width: calc(820px + 2 * var(--gutter)); padding-top: clamp(24px, 4.4vw, 72px); }
.page-narrow h1, .form-page h1, .cart-page h1, .order h1 { font-size: clamp(48px, 8vw, 124px); line-height: .86; letter-spacing: -.045em; margin-bottom: 20px; }
.page-narrow .lead, .form-page .lead { font-size: 19px; margin-bottom: 24px; white-space: pre-line; }
.panel { border: var(--frame) solid var(--ink); border-radius: var(--round); padding: clamp(22px, 3vw, 40px); margin-top: 24px; }
.form-frame { grid-auto-flow: row; }
.form-frame form > p + p { margin-top: 8px; }
.site-form .btn, .form-frame .btn { margin-top: 20px; }
.sent { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track > span:nth-child(n + 5) { display: none; }
}
