/* ==========================================================================
   Between The Buns
   After dark: the shop at night. The whole page is a warm near-black (--night,
   the charcoal of the logo with a little burnt brown in it). Cream is the text;
   one orange, the menu book's bun orange, for accents, tags and buttons
   (--ember is kept only for form errors). It is printed like the menu book:
   thin line food icons and confetti in one grey varnish tone on every dark
   section, and the book's shapes: the flat orange disc and ring in the hero,
   orange price tags (.tag), orange outlined boxes (.box),
   and Lobster script for "Burgere og wraps". Only the reviews stay a lit
   bun-orange crown, the one bright surface on the page.
   Display type is Fraunces with its soft axis turned up; Roboto for text.
   ========================================================================== */

:root {
  color-scheme: dark;
  --ink: #1c1c1a;                           /* charcoal: text on bun orange */
  --night: #141210;                         /* the page ground */
  --night-2: #1f1b17;                       /* a step up: review blobs, photo frames */
  --night-3: #2c251d;                       /* toasted: the third blob tone */
  --cream: #f6f0e6;                         /* text on night, 17:1 */
  --cream-2: #ebe2d2;
  --bun: #fdb44b;
  --bun-light: #ffc570;
  --bun-deep: #c95a14;
  --ember: #ff8a3d;                         /* headline accent on night, 8:1 */
  --toast: #eba552;                         /* small accent text on night, 9:1 */
  --muted: #b5ac9e;                         /* decorative only (clock ticks, dots); secondary text uses --cream-2 */
  --muted-dark: #b5ac9e;
  --line: rgba(246, 240, 230, .14);
  --line-dark: rgba(246, 240, 230, .16);

  --font-display: "Fraunces", "Cooper Black", Georgia, serif;
  --font-script: "Lobster", "Brush Script MT", cursive;
  --font-body: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-calm: "Instrument Sans", Roboto, system-ui, sans-serif;   /* the quiet, clean voice of "Om oss" */

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --space-section: clamp(88px, 11vw, 168px);
  --header-h: 68px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-settle: cubic-bezier(.2, 1.16, .36, 1);
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Nothing may scroll sideways. body's clip is the clean way (it keeps sticky working); html's
   hidden backs it up in browsers where clip on body does not reach the viewport (older iPhones).
   The sections that move things in from the side (hero, review band, menu) also clip themselves. */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
/* pictures can't be dragged off the page or highlighted when tapped or selected */
img, svg {
  -webkit-user-drag: none; user-drag: none;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 600; }

:focus-visible { outline: 2.5px solid var(--bun); outline-offset: 3px; border-radius: 6px; }
.reviews :focus-visible { outline-color: var(--ink); }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--bun); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 12px 18px; border-radius: 999px;
  background: var(--bun); color: var(--ink); font-weight: 600; text-decoration: none;
  transform: translateY(-180%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 18px; height: 18px; flex: none; }

/* ---------- Type helpers ---------- */
/* Big headlines use Fraunces' display cut ("opsz" 144) at every size, so phones get the same shapes. */
.accent { color: var(--bun); }   /* one orange, as in the menu book */

/* Shapes borrowed from the menu book, drawn in the site's own type and colours:
   the price tag ("79kr") and the outlined box ("Load your burger") */
.tag {
  display: inline-flex; align-items: center;
  padding: 6px 10px 5px; border-radius: 8px;
  background: var(--bun); color: var(--ink);
  font: 600 .75rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.box {
  border: 1.5px solid var(--bun); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
}

.h2 {
  font: 900 clamp(2.5rem, 1.4rem + 4vw, 5rem)/.98 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.stars { display: inline-flex; gap: 3px; color: var(--bun); }
.stars .icon { width: 15px; height: 15px; }

/* ---------- Buttons: cream outline and a hard offset shadow (ink on the bun-orange reviews) ---------- */
.btn {
  --h: 52px;
  --edge: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border: 2px solid var(--edge); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--edge);
  font: 600 1rem/1 var(--font-body); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .3s ease;
}
.btn .icon { transition: transform .5s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--down:hover .icon { transform: translateY(3px); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--edge); }
.btn--bun { background: var(--bun); color: var(--ink); }
.btn--bun:hover { background: var(--bun-light); }
.btn--paper { background: var(--night-2); color: var(--cream); }
.btn--paper:hover { background: var(--night-3); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 1.0625rem; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .9375rem; box-shadow: 3px 3px 0 var(--edge); }
.btn--sm:hover { box-shadow: 4px 4px 0 var(--edge); }

.link-line {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 0; margin-top: 20px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-line .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-line:hover { background-size: 0 1.5px; background-position: 100% calc(100% - 9px); }
.link-line:hover .icon { transform: translate(2px, -2px); }

/* ---------- Fallback (only when Vue cannot start) ---------- */
.fallback {
  min-height: 100vh;
  display: grid; align-content: center; justify-items: center; gap: 18px;
  padding: 48px var(--gutter);
  text-align: center;
}
.fallback img { width: 160px; }
.fallback h1 { font: 900 clamp(2.4rem, 8vw, 4.5rem)/1 var(--font-display); max-width: 14ch; }
.fallback p { max-width: 40rem; color: var(--cream-2); }
.js #app > .fallback { visibility: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--cream);
  transition: transform .6s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(20, 18, 16, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .45s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }

/* scrolling down: the bar, logo, links and menu button slowly fade away; "Bestill nå" stays.
   On phones it slides over into the menu button's place. Keyboard focus brings the bar back. */
.site-header::before,
.site-header .brand,
.site-header .nav,
.site-header .menu-toggle { transition: opacity .9s ease, translate .9s var(--ease), visibility 0s; }
.site-header .btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .3s ease, translate .9s var(--ease); }
.site-header.is-hidden:not(:focus-within)::before { opacity: 0; }
.site-header.is-hidden:not(:focus-within) :is(.brand, .nav, .menu-toggle) {
  opacity: 0; translate: 0 -10px; visibility: hidden;
  transition: opacity .9s ease, translate .9s var(--ease), visibility 0s .9s;
}
.site-header.is-hidden:not(:focus-within) { pointer-events: none; }
.site-header.is-hidden:not(:focus-within) .btn { pointer-events: auto; translate: 48px 0; }

.site-header__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
}
.brand { justify-self: start; display: flex; align-items: center; border-radius: 8px; }
.brand img { width: auto; height: 46px; }

.nav { display: none; }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-right: -8px; padding: 0;
  border: 0; background: none; color: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle__bars { position: relative; width: 22px; height: 12px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px;
  border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

@media (min-width: 900px) {
  .site-header__inner { grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .brand img { height: 60px; }
  .nav { display: block; }
  .nav ul { display: flex; gap: clamp(24px, 3vw, 44px); }
  .nav a {
    position: relative; display: inline-block; padding: 10px 0;
    font-size: 1rem; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px;
    background: var(--bun);
    transform: scaleX(0); transform-origin: right;
    transition: transform .5s var(--ease);
  }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .site-header .btn { justify-self: end; }
  .site-header.is-hidden:not(:focus-within) .btn { translate: none; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 28px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--night); color: var(--cream);
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.mobile-menu li {
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .7s var(--ease);
}
.mobile-menu.is-open li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 80ms); }
.mobile-menu li a {
  display: block; padding: 14px 0;
  font: 900 clamp(2rem, 9vw, 2.75rem)/1.1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.015em; text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 22px; color: var(--cream-2); }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 500; }
.menu-open, .menu-open body { overflow: hidden; }

@media (min-width: 900px) {
  .mobile-menu { display: none; }
}

/* ==========================================================================
   Hero: headline and buttons on top, the burger rising from the bottom edge,
   a poster behind it: bun-orange disc and badge
   ========================================================================== */
/* The burger is as wide as the screen allows (--burger-max), but never so big that it runs
   past the bottom of the screen when the page is scrolled to the top: --stage-top (set by
   HeroSection.js) is where the burger starts, and the burger with its disc and shadow is about
   .765 of its width tall. svh keeps it steady while a phone's address bar comes and goes.
   --burger-min stops it shrinking to a crumb on very short screens. */
.hero {
  --burger-max: 92vw;
  --burger-min: min(92vw, 250px);
  --stage-foot: clamp(14px, 3svh, 32px);
  --burger-fit: calc((100svh - var(--stage-top, 0px) - var(--stage-foot)) / .765);
  --burger-w: min(var(--burger-max), max(var(--burger-min), var(--burger-fit)));
  position: relative; isolation: isolate;
  overflow: hidden; overflow: clip;   /* hidden first, for browsers without clip */
  padding: calc(var(--header-h) + clamp(12px, 2.4svh, 44px)) 0 clamp(48px, 7vw, 104px);
  /* The cover of the printed menu book: the black ground printed with the brand doodles
     (wolt-menu/images/brand_doodles) in the book's one tone, laid out as in the book
     (seamless tile, scripts/menu-book-pattern.build.mjs). Flat, as printed.
     At the bottom it melts into the menu. */
  background-color: var(--night);
  background-image:
    linear-gradient(to bottom, rgba(20, 18, 16, 0) 78%, var(--night)),
    url("../images/web/menu-book-hero.svg");
  background-size: 100% 100%, var(--print-size);
  text-align: center;
}

.hero__top { position: relative; }
.hero__copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  translate: 0 calc(var(--sy, 0) * -.22px);
  opacity: calc(1 - var(--sy, 0) / 620);
}
.hero__title {
  font: 900 clamp(2.75rem, min(1rem + 5vw, 9svh), 5.75rem)/.92 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__line { display: block; overflow: hidden; padding: .04em .1em .16em; margin-bottom: -.12em; }
.hero__line--accent { color: var(--bun); }
.hero__words { display: block; text-wrap: balance; }
.hero__lede {
  max-width: 30ch; margin-top: clamp(16px, 2.4svh, 24px);
  font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); line-height: 1.5;
  color: var(--cream-2);
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: clamp(22px, 3.4svh, 34px);
}
@media (max-width: 599px) {
  .hero__actions { width: 100%; max-width: 400px; }
  .hero__actions .btn { flex: 1 1 0; padding-inline: 16px; }
}

/* The burger, whole, with "Between The Buns" burnt into the top bun like a branding iron
   marks the bread. The photo is in two pieces (top bun and the rest) only so the top bun can
   land on the burger when the page opens. A soft shadow under the burger. */
.hero__stage {
  position: relative; z-index: 1;
  width: var(--burger-w);
  margin: clamp(44px, 5svh, 56px) 0 0 calc(50% - var(--burger-w) / 2);   /* centred, even when wider than the screen */
}
.hero__plate {
  position: relative; z-index: 1;
  translate: 0 calc(var(--sy, 0) * -.08px);
  scale: calc(1 + var(--sy, 0) * .00009);
}
.hero__piece { display: block; width: 100%; height: auto; }
.hero__lid { position: absolute; z-index: 2; inset: 0 0 auto 0; }

/* The brand: bent to the bun's dome and placed by scripts/brandmark.py (it prints these
   numbers). Multiply lets the bread show through, so it reads as toasted, not printed. */
.hero__brand { position: absolute; left: 12.23%; top: 9.2%; width: 71.94%; }
.hero__brand img { display: block; width: 100%; height: auto; }
.hero__burn { mix-blend-mode: multiply; opacity: .94; }
.hero__glow { position: absolute; inset: 0; opacity: 0; }   /* red-hot letters, only while being seared */

.hero__shadow {
  position: absolute; left: 9%; right: 9%; bottom: -4%; height: 13%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
}

/* Behind the burger: a flat bun-orange disc the burger sits on, ringed at a little distance by
   a thin orange line (the book's outlined boxes), and a turning black badge with the chef
   monogram. Placed in units of the burger's width, so they stay put. */
.hero__poster { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__disc {
  position: absolute; left: 11%; width: 78%; aspect-ratio: 1;
  top: calc(var(--burger-w) * -.03);
  border-radius: 50%;
  background: var(--bun);
  box-shadow: 0 0 0 clamp(8px, 1.4vw, 14px) var(--night), 0 0 0 calc(clamp(8px, 1.4vw, 14px) + 2px) var(--bun);
  translate: 0 calc(var(--sy, 0) * -.03px);
}

.hero__badge {
  position: absolute; z-index: 3;
  --b: clamp(64px, var(--burger-w) * .235, 84px);   /* keeps its size next to the burger */
  width: var(--b); height: var(--b);
  right: -2%; top: calc(var(--burger-w) * -.07);
  display: grid; place-items: center;
  border: 2px solid var(--bun); border-radius: 50%;
  background: var(--night); color: var(--bun);
  translate: 0 calc(var(--sy, 0) * -.16px);
}
.hero__badge-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: currentColor;
  font: 700 17px/1 var(--font-body); letter-spacing: .06em;
  animation: spin 28s linear infinite;
}
.hero__badge-mark { position: relative; height: calc(var(--b) * .46); width: auto; max-width: none; }

@keyframes spin { to { rotate: 1turn; } }

@media (min-width: 700px) {
  .hero { --burger-max: min(74vw, 700px); --burger-min: 320px; }
  .hero__stage { margin-top: clamp(36px, 5svh, 60px); }
  .hero__badge { --b: clamp(96px, var(--burger-w) * .22, 124px); right: -6%; top: calc(var(--burger-w) * -.05); }
}
@media (min-width: 1100px) {
  .hero { --burger-max: min(45vw, 660px); --burger-min: 360px; }
  .hero__lede { max-width: none; }
  .hero__badge { --b: clamp(104px, min(10.5vw, var(--burger-w) * .23), 148px); right: -12%; top: calc(var(--burger-w) * .02); }
}

/* entrance */
.hero__words { transition: transform 1.1s var(--ease) .05s; }
.hero__line--accent .hero__words { transition-delay: .18s; }
.hero__lede, .hero__actions { transition: opacity .8s ease .45s, transform 1s var(--ease) .45s; }
.hero__actions { transition-delay: .55s; }
/* The burger comes together: the rest rises into place, the top bun lands on it with a small
   squash, and then the name is seared in: it flashes hot orange and cools to toasted brown. */
.hero__piece--base { transition: opacity .6s ease .2s, transform 1.2s var(--ease-settle) .2s; }
.hero__lid { transition: opacity .35s ease .55s, transform .85s cubic-bezier(.3, 1.3, .6, 1) .55s; }
.hero__burn { transition: opacity 1.2s ease 1.45s; }
.hero.is-served .hero__glow { animation: sear 1.7s ease-out 1.35s both; }
.hero__disc { transition: opacity .5s ease .1s, scale 1s var(--ease-settle) .1s; }
.hero__badge { transition: opacity .5s ease 1.1s, scale .9s var(--ease-settle) 1.1s; }
.hero:not(.is-ready) .hero__words { transform: translateY(112%); }
.hero:not(.is-ready) :is(.hero__lede, .hero__actions) { opacity: 0; transform: translateY(16px); }
.hero:not(.is-served) .hero__piece--base { opacity: 0; transform: translate3d(0, 16%, 0) scale(.92); }
.hero:not(.is-served) .hero__lid { opacity: 0; transform: translateY(-34%); }
.hero:not(.is-served) .hero__burn { opacity: 0; }
.hero:not(.is-served) .hero__disc { opacity: 0; scale: .6; }
.hero:not(.is-served) .hero__badge { opacity: 0; scale: .4; }

@keyframes sear {
  0% { opacity: 0; }
  14% { opacity: .95; }
  100% { opacity: 0; }
}

/* ==========================================================================
   Thursday offer: the week as a row of seven days. Thursday stands up out of
   the row as a bun-orange price tag (with the tag's punched hole), the other
   days stay thin outlines; today's day gets a small orange mark under it.
   ========================================================================== */
.thursday { position: relative; padding-bottom: clamp(64px, 8vw, 120px); }   /* sits after the menu, whose own foot already leaves room above */
/* one card, drawn like the menu book's outlined boxes */
.thursday__inner {
  display: grid; gap: clamp(28px, 4vw, 56px); align-items: center;
  max-width: 1040px; margin-inline: auto;
  padding: clamp(22px, 3vw, 40px) clamp(18px, 3.4vw, 48px);
  border: 1.5px solid var(--bun); border-radius: var(--radius-lg);
  background: var(--night-2);
}

.thursday__kicker {
  font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--toast);
}
.thursday__title { margin-top: 10px; }
.thursday__pct {
  display: block;
  font: 900 clamp(4rem, 2.8rem + 5.4vw, 7rem)/.84 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.045em; color: var(--bun);
  white-space: nowrap;
}
.thursday__on {
  display: block; max-width: 16ch; margin-top: .3em;
  font: 700 clamp(1.375rem, 1.1rem + 1.2vw, 2rem)/1.06 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.02em; text-wrap: balance;
}
.thursday__note {
  display: inline-block; margin: 16px 0 22px;
  padding: 8px 14px; border: 1.5px solid var(--bun); border-radius: 12px;
  font-size: .9375rem; line-height: 1.45; color: var(--cream);
}
.thursday__copy .btn { display: flex; width: fit-content; }

.week-wrap { width: 100%; max-width: 540px; justify-self: center; }
.week {
  display: grid; align-items: end;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 10px);
  padding: 0 6px 6px 0;   /* room for Thursday's offset shadow */
}
.week__day {
  position: relative;
  display: grid; place-items: end center;
  height: clamp(54px, 6.5vw, 80px); padding-bottom: 9px;
  border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--cream-2); font: 600 .875rem/1 var(--font-body);
}
.week__day.is-closed { border-style: dashed; }   /* Sunday: closed */
.week__day.is-today { border-color: var(--cream); color: var(--cream); }
.week__day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: -16px;
  width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: var(--bun);
}
.week__day.is-deal {
  height: clamp(118px, 13.5vw, 168px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 0 6px clamp(14px, 2vw, 22px);
  border: 0; border-radius: var(--radius);
  background: var(--bun); color: var(--ink);
  box-shadow: 5px 5px 0 var(--cream);
}
.week__day.is-deal::before {   /* the price tag's punched hole */
  content: ""; position: absolute; top: clamp(14px, 2vw, 20px); left: 50%;
  width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--night);
}
.week__day.is-deal.is-today::after { bottom: -20px; }
.week__long { font: 600 .6875rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.week__cut {
  font: 900 clamp(1.2rem, .8rem + 1.8vw, 2.25rem)/1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.03em; white-space: nowrap;
}
.week__when { margin-top: 22px; font-size: .9375rem; color: var(--cream-2); text-align: center; min-height: 1.6em; }
.thursday.is-thursday .week__when { color: var(--bun); font-weight: 500; }

/* phones: one centred column, so the words, the note, the button and the week all share one axis */
@media (max-width: 739.98px) {
  .thursday__copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .thursday__on { margin-inline: auto; }
  .thursday__note { max-width: 32ch; text-wrap: balance; }
  .week { padding: 0 6px 6px; }   /* even sides, so the row sits in the middle */
}
@media (min-width: 740px) {
  .thursday__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .week-wrap { justify-self: end; }
}

/* the days come in one by one, then Thursday stands up out of the row */
.week.reveal { opacity: 1; transform: none; }
.week.reveal .week__day { transition: opacity .6s ease calc(var(--i) * 60ms + .1s), transform .8s var(--ease) calc(var(--i) * 60ms + .1s); }
.week.reveal .week__day.is-deal { transition: opacity .5s ease .25s, transform 1s var(--ease-settle) .55s; transform-origin: 50% 100%; }
.week.reveal:not(.is-in) .week__day { opacity: 0; transform: translate3d(0, 14px, 0); }
.week.reveal:not(.is-in) .week__day.is-deal { opacity: 1; transform: scaleY(.42); }
.week.reveal:not(.is-in) .week__day.is-deal > * { opacity: 0; }
.week__day.is-deal > * { transition: opacity .4s ease 1.05s; }

/* ==========================================================================
   Surfaces under the sections. Like the pages of the menu book, the hero, menu,
   "Om oss", "Finn oss" and footer are the same black, printed with the same doodles
   (.paper), except:
   - the reviews, the domed bun-orange crown with sesame,
   - the contact form, one quiet step up (--night-2).
   The print fades out before each section edge and in again after it, so no
   doodle or seed is ever cut in half by a section line.
   ========================================================================== */
:root {
  --bun-dome: clamp(36px, 7vw, 120px);   /* how high the reviews bun rises */
  /* the doodle print's tile (3600 x 3000 doodle units) at 0.4: a burger about 82 px wide,
     the size the doodles have against a page of the menu book; a shade smaller on phones */
  --print-size: 1440px 1200px;
}
@media (max-width: 600px) { :root { --print-size: 1260px 1050px; } }

.paper {
  --paper-in: clamp(160px, 22vw, 300px);   /* how far the print takes to come in at the top */
  --paper-out: clamp(120px, 14vw, 220px);  /* ... and to go at the bottom */
  position: relative; isolation: isolate;
  background-color: var(--night);
}
.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../images/web/menu-book-paper.svg") 50% 0 / var(--print-size);   /* the same print, another part of the book */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--paper-in), #000 calc(100% - var(--paper-out)), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 var(--paper-in), #000 calc(100% - var(--paper-out)), transparent);
}
/* under the hero the print comes in slowly, where the hero's own pattern has faded */
.paper--menu { --paper-in: clamp(220px, 30vw, 420px); }

/* ==========================================================================
   Review drift: short Google reviews in round blobs, linked into one chain
   (each tucks a little under the next, parted by a thin cream ring) and
   drifting slowly right to left
   ========================================================================== */
.drift {
  overflow: hidden; overflow: clip;   /* the band glides in from the right; never past the screen edge */
  --d-lg: clamp(200px, 140px + 9.6vw, 288px);
  --d-md: clamp(164px, 112px + 7.6vw, 228px);
  --d-sm: clamp(124px, 86px + 5.4vw, 168px);
  --overlap: clamp(10px, 1.2vw, 18px);   /* how far each blob tucks under the next */
  --ring: 4px;                           /* cream ring that parts the linked blobs */
  --fade: clamp(28px, 9vw, 160px);
  position: relative;
  padding-top: clamp(8px, 2vw, 24px);
}
.drift__head { display: grid; justify-items: center; gap: 10px; text-align: center; }
.drift__score {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  font-size: .9375rem; color: var(--cream-2);
}
.drift__score strong { color: var(--cream); }
.drift__score .stars { color: var(--bun); }
.drift__score .stars .icon { width: 14px; height: 14px; }

/* full width, faded at both edges so the blobs arrive and leave softly */
.drift__band {
  position: relative;
  margin-top: clamp(14px, 2vw, 28px);
  padding-block: 18px 52px;          /* room for the chain's soft shadow, so it never ends in a hard line */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.drift__track {
  display: flex; width: max-content;
  animation: drift var(--drift-dur, 100s) linear infinite;
}
.drift.is-paused .drift__track { animation-play-state: paused; }
.drift__set { display: flex; align-items: center; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }   /* one soft shadow under the whole chain */

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }   /* exactly one set: the copy takes its place */
}

/* one review */
/* positioned, so each blob (text and all) sits cleanly on top of the one before it */
.blob { --d: var(--d-md); --fs: .082; position: relative; flex: none; margin-right: calc(var(--overlap) * -1); }
.blob--lg { --d: var(--d-lg); --fs: .066; }
.blob--sm { --d: var(--d-sm); --fs: .118; }
.blob__body {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--d) * .04);
  width: var(--d); aspect-ratio: 1; padding: calc(var(--d) * .13);
  border-radius: 50%;
  background: var(--night-2); color: var(--cream);
  box-shadow: 0 0 0 var(--ring) var(--night);
  text-align: center;
}
/* three tones, all from the book: a flat orange price pill, an orange outlined box on the black,
   and a plain black one a step up. Names small, spaced capitals. */
.blob--paper .blob__body { background: var(--night); box-shadow: inset 0 0 0 2px var(--bun), 0 0 0 var(--ring) var(--night); }
.blob--bun .blob__body { background: var(--bun); color: var(--ink); }
.blob--sand .blob__body { background: var(--night-3); }

.blob__stars { display: flex; gap: 2px; color: var(--bun); }
.blob--bun .blob__stars { color: var(--ink); }
.blob__stars .icon { width: 11px; height: 11px; }
.blob blockquote p {
  font: 600 max(14px, var(--d) * var(--fs))/1.22 var(--font-display);
  font-variation-settings: "SOFT" 100;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.blob figcaption {
  max-width: 100%;
  font: 500 .6875rem/1.35 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-2); text-wrap: balance;
}
.blob--bun figcaption { color: var(--ink); }

/* the pause button: quiet, under the middle of the band */
.drift__foot { display: flex; justify-content: center; margin-top: -24px; }
.drift__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 999px; background: none;
  font: 500 .875rem/1 var(--font-body); color: var(--cream-2);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: color .3s ease, background-color .3s ease;
}
.drift__toggle .icon { width: 14px; height: 14px; }
.drift__toggle:hover { color: var(--cream); background: rgba(246, 240, 230, .08); }

/* the band glides in from the right the first time it is seen */
.drift__band.reveal { transform: translate3d(min(16vw, 200px), 0, 0); transition-duration: 1.4s, 2s; }
.drift__band.reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  /* standing still: one set, swipe or scroll sideways to read on */
  .drift__band { overflow-x: auto; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; }
  .drift__track { padding-inline: var(--gutter) calc(var(--gutter) + var(--overlap)); }
  .drift__set[aria-hidden] { display: none; }
  .drift__foot { display: none; }   /* nothing moves, so nothing to pause */
  .drift__band:focus-visible { outline-offset: -3px; border-radius: 0; }   /* keep the ring inside the screen */
  .blob { scroll-snap-align: center; }
}

/* ==========================================================================
   Menu: the dishes zigzag down the page
   ========================================================================== */
.menu {
  position: relative;
  overflow: hidden; overflow: clip;   /* dishes slide and tilt in at the screen edge; keep them inside it */
  padding: clamp(48px, 8vw, 112px) 0 var(--space-section);
}
.menu__head { display: grid; justify-items: center; text-align: center; }
/* "Burgere og wraps" in the menu book's script (Lobster) in bun orange; the rest of the
   title as before */
.menu__title {
  display: grid; justify-items: center;
  max-width: 15ch;
  font: 900 clamp(2.4rem, 1.2rem + 4.4vw, 5.25rem)/.95 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.028em;
  text-wrap: balance;
}
/* the script's descenders (g, p) need room, so the second line sits clear below them;
   the second line is cream, so the two lines read as title and subtitle */
.menu__script {
  margin-bottom: .2em;
  font: 400 clamp(3.25rem, 2rem + 5vw, 6.5rem)/1.12 var(--font-script);
  letter-spacing: 0;
  color: var(--bun);
}
.menu__title .accent { font-size: .82em; color: var(--cream); }

.zigzag { position: relative; margin-top: clamp(24px, 5vw, 64px); padding-block: clamp(40px, 6vw, 72px); }
/* the dotted trail only where dishes and text sit side by side (on phones it would cross the text) */
.zigzag__trail { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.zigzag__line {
  fill: none; stroke: var(--bun); stroke-width: 3;
  stroke-linecap: round; stroke-dasharray: .1 13;
  opacity: .5;
}
.zigzag__list { position: relative; display: grid; gap: clamp(48px, 8vw, 104px); }

/* phones too: the dish and its text side by side, swapping sides down the page like the wide
   layout. The photo runs out to its own edge of the screen; the text keeps one straight left
   edge in every row, so the zigzag reads clean in a narrow column */
.zig {
  --side: -1; position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px; align-items: center;
}
.zig--right { --side: 1; }

.zig__media {
  position: relative;
  display: flex; align-items: center;
  height: clamp(150px, 42vw, 260px);
}
.zig--left .zig__media { grid-column: 1 / 7; justify-content: flex-start; margin-left: calc(var(--gutter) * -1 + 6px); }
.zig--left .zig__text { grid-column: 7 / 13; }
.zig--right .zig__media { grid-column: 7 / 13; grid-row: 1; justify-content: flex-end; margin-right: calc(var(--gutter) * -1 + 6px); }
.zig--right .zig__text { grid-column: 1 / 7; grid-row: 1; }
.zig__img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .55));
  rotate: calc(var(--t, 0) * var(--side) * -5deg);
  translate: 0 calc(var(--t, 0) * 16px);
}
/* the tilt changes on every scroll frame: give each photo its own layer, so its soft shadow
   is not redrawn each time (smooth scrolling on phones) */
@media (prefers-reduced-motion: no-preference) {
  .zig__img { will-change: transform; }
}

.zig__text { max-width: 30rem; }
/* the number, then the kind of dish on the menu book's orange price tag */
.zig__tag { display: inline-flex; align-items: center; gap: 12px; }
.zig__num {
  font: 900 1.5rem/1 var(--font-display);
  font-variation-settings: "SOFT" 100;
  letter-spacing: 0;
  color: var(--bun);
}
.zig__name {
  margin-top: 10px;
  font: 900 clamp(2.1rem, 1.3rem + 3.4vw, 4.5rem)/.95 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.028em;
  text-wrap: balance;
}
/* the price, in bun orange like the numbers in the menu book; burgers start at the 80 g price */
.zig__price {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 12px;
  font: 700 clamp(1.375rem, 1.1rem + .9vw, 2.125rem)/1 var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-variant-numeric: lining-nums;
  letter-spacing: -.01em;
  color: var(--bun);
}
.zig__from { font: 500 .9375rem/1 var(--font-body); letter-spacing: .01em; color: var(--cream-2); }
.zig__desc { max-width: 32ch; margin-top: 10px; color: var(--cream-2); }

/* phones: the text has half the width, so the name, price and description step down a size */
@media (max-width: 759px) {
  .zig__tag { gap: 8px; }
  .zig__num { font-size: 1.25rem; }
  .zig__name { margin-top: 8px; font-size: clamp(1.5rem, .9rem + 2.6vw, 2.1rem); line-height: 1.04; }
  .zig__price { margin-top: 8px; font-size: 1.375rem; }
  .zig__desc { margin-top: 8px; font-size: .9375rem; line-height: 1.5; }
  /* a standing photo (the milkshake) gets a taller box, so it fills its half of the row as
     wide as the lying ones instead of leaving a gap beside it */
  .zig--tall .zig__media { height: clamp(230px, 64vw, 390px); }
}

@media (min-width: 760px) {
  .zigzag__trail { display: block; }
  .zig { column-gap: clamp(16px, 2.2vw, 36px); }
  .zig__media { height: clamp(300px, 32vw, 460px); margin: 0 !important; align-items: flex-end; }
  .zig--left .zig__media { grid-column: 1 / 8; }
  .zig--left .zig__text { grid-column: 8 / 13; }
  .zig--right .zig__media { grid-column: 6 / 13; }
  .zig--right .zig__text { grid-column: 1 / 6; text-align: right; justify-self: end; }
  .zig--right .zig__price { justify-content: flex-end; }
  .zig--right .zig__desc { margin-left: auto; }
}

/* each dish arrives on its own side of the Z as it scrolls into view */
.zig__media { transition: opacity .8s ease, transform 1.1s var(--ease-settle); }
.zig__text > * { transition: opacity .7s ease, transform .9s var(--ease); }
.zig.is-in .zig__text > * { transition-delay: calc(.12s + var(--k, 0) * .08s); }
.zig__name { --k: 1; }
.zig__price { --k: 2; }
.zig__desc { --k: 3; }
.zig:not(.is-in) .zig__media,
.zig:not(.has-img) .zig__media { opacity: 0; transform: translate3d(calc(var(--side) * 56px), 48px, 0) rotate(calc(var(--side) * 7deg)) scale(.9); }
.zig:not(.is-in) .zig__text > * { opacity: 0; transform: translate3d(0, 22px, 0); }

.menu__end { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 72px); }

/* ==========================================================================
   Challenges ("To burgerutfordringer"): the 1 kg burger and 4 Bites to Glory, from the
   challenge page of the menu book. Each sits in the book's orange outlined box
   on plain night (so the doodle print never runs under the text), headed by its
   weight in big numbers as the book prints it ("1000g", "500g"): the first digit
   bun orange, the zeros a deeper orange.
   ========================================================================== */
.dare { position: relative; padding-bottom: var(--space-section); }
.dare__title {
  display: grid; justify-items: center; text-align: center;
  font: 900 clamp(2rem, 1.2rem + 3vw, 3.75rem)/.98 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.dare__grid {
  display: grid; gap: clamp(20px, 3vw, 32px);
  max-width: 1160px; margin: clamp(32px, 5vw, 64px) auto 0;
}
@media (min-width: 720px) {
  .dare__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* tablets: two narrow boxes, so the weight steps down to fit */
@media (min-width: 720px) and (max-width: 959px) {
  .trial__weight { font-size: 4.25rem; }
  .trial__rules { gap: 16px; }
}

.trial {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--night);
}
.trial__weight {
  font: 900 clamp(4rem, 2.6rem + 6vw, 6rem)/.8 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-variant-numeric: lining-nums;
  letter-spacing: -.02em;
  color: var(--bun);
  white-space: nowrap;
}
/* the zeros in the deeper orange, as the book prints them in a darker tone (4.4:1 on night) */
.trial__hollow { color: var(--bun-deep); }

.trial__body { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.trial__name {
  font: 900 clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem)/1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.trial__ask {
  font: 600 clamp(1.125rem, 1rem + .4vw, 1.3125rem)/1.3 var(--font-display);
  font-variation-settings: "SOFT" 100;
  color: var(--cream-2);
  text-wrap: balance;
}
.trial__text { max-width: 40ch; color: var(--cream-2); }
.trial__dare { font: 400 clamp(1.5rem, 1.2rem + 1vw, 1.875rem)/1.15 var(--font-script); color: var(--bun); }

/* the 1 kg rules: a 45-minute clock beside what is on the plate (the arc follows --min) */
.trial__rules { display: flex; align-items: center; gap: clamp(18px, 3vw, 28px); margin-block: 4px; }
.clock { position: relative; flex: none; width: 104px; aspect-ratio: 1; display: grid; place-items: center; }
.clock__face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.clock__tick { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.clock__track { fill: none; stroke: var(--line); stroke-width: 7; }
.clock__time {
  fill: none; stroke: var(--bun); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: var(--min, 30) 60; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ease) .45s;
}
.trial.reveal:not(.is-in) .clock__time { stroke-dashoffset: var(--min, 30); }
.clock__num {
  position: relative; display: grid; justify-items: center;
  font: 900 1.875rem/1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.clock__num small {
  margin-top: 3px;
  font: 600 .6875rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream-2);
}

/* what is on the plate, each with the book's orange dot */
.plate { display: grid; flex: 1; min-width: 0; }
.plate li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.plate li:last-child { border-bottom: 0; }
.plate li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--bun); }

/* 4 Bites to Glory: one rung per bite count, glory at the top */
.ladder { display: grid; gap: 10px; margin-top: 4px; }
.ladder__rung {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--night-2);
}
.ladder__bites { display: grid; gap: 7px; }
.ladder__dots { display: flex; gap: 5px; }
.ladder__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--bun); }
.ladder__rung--2 .ladder__dots i { background: var(--muted); opacity: .6; }
.ladder__count {
  font: 700 1.125rem/1 var(--font-display);
  font-variation-settings: "SOFT" 100;
}
.ladder__wall {
  flex: none;
  padding: 7px 11px 6px; border: 1.5px solid transparent; border-radius: 8px;   /* the book's price tag */
  font: 600 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.ladder__rung--0 .ladder__wall { background: var(--bun); color: var(--ink); }
.ladder__rung--1 .ladder__wall { border-color: var(--bun); color: var(--bun); }
.ladder__rung--2 .ladder__wall { border-color: rgba(246, 240, 230, .3); color: var(--cream-2); }
.ladder__rung { transition: opacity .6s ease, transform .9s var(--ease); transition-delay: calc(.35s + var(--r, 0) * .1s); }
.ladder__rung--1 { --r: 1; }
.ladder__rung--2 { --r: 2; }
.trial.reveal:not(.is-in) .ladder__rung { opacity: 0; transform: translate3d(-14px, 0, 0); }

/* price and allergens, at the foot of the box */
.trial__foot {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px;
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.trial__price {
  font: 900 clamp(2.25rem, 1.7rem + 1.8vw, 3rem)/1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-variant-numeric: lining-nums;
  letter-spacing: -.02em;
}
.trial__allergens { font-size: .875rem; line-height: 1.45; color: var(--cream-2); }

/* ==========================================================================
   About: one calm card with no outline. It reads as its own surface through its
   fill alone: a warm dark that is a step lighter than the page, with the doodle
   print softly blurred behind it, and a long low shadow that lifts it a little
   off the print. The photo fills one side.
   ========================================================================== */
.about {
  /* the bun below rises into this band, so leave room for its dome */
  padding-block: var(--space-section) calc(var(--space-section) + var(--bun-dome));
  --paper-out: calc(var(--bun-dome) + 80px);   /* the print has faded before the bun rises */
  color: var(--cream);
}
/* the card runs almost edge to edge: only a slim margin either side, not the page gutter */
.about__wrap {
  max-width: 1800px;
  padding-inline: clamp(12px, 2vw, 28px);
}
.about__card {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--night-2) 86%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75);
}

.about__photo { margin: 0; }
.about__photo picture { display: block; height: 100%; background: var(--night-3); }
.about__photo img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.about__body {
  padding: clamp(28px, 5vw, 64px) clamp(22px, 5vw, 64px);
  font-family: var(--font-calm);
}
/* the name in the brand's own script lettering, drawn inline (an SVG mask did not show on
   phones), so it is the same orange script on every screen */
.about__title { margin: 0; line-height: 0; }
.about__script {
  display: block; width: min(100%, 30rem); height: auto; aspect-ratio: 2821 / 273;
  overflow: visible;
  color: var(--bun);
}
.about__lede {
  max-width: 34ch; margin-top: clamp(16px, 1.8vw, 22px);
  font: 400 clamp(1.125rem, 1rem + .45vw, 1.375rem)/1.5 var(--font-calm);
  letter-spacing: -.005em;
  color: var(--cream-2);
  text-wrap: pretty;
}

/* the three points: a thin orange rule down the left of each point holds its title and
   text together */
.about__points {
  display: grid; gap: 24px;
  margin: clamp(28px, 3.4vw, 40px) 0 0; padding: 0; list-style: none;
}
.about__point { padding-left: 16px; border-left: 2px solid var(--bun); }
.about__point-title {
  font: 600 1.1875rem/1.3 var(--font-calm);
  letter-spacing: -.01em;
  color: var(--cream);
}
.about__point-text { margin-top: 4px; font-size: 1rem; line-height: 1.55; color: var(--cream-2); }

/* address and hours, small, under the list */
.about__info {
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px clamp(32px, 5vw, 64px);
  margin: clamp(24px, 3vw, 32px) 0 0; font-size: .9375rem; line-height: 1.55;
}
.about__info dt {
  margin-bottom: 6px;
  font: 600 .75rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--toast);
}
.about__info dd { margin: 0; color: var(--cream-2); }
.about__info dd span { white-space: nowrap; }
/* small phones: address over hours, so every hours line stays on one line */
@media (max-width: 419px) {
  .about__info { grid-template-columns: minmax(0, 1fr); }
}

/* wide screens: the words on the left, the photo filling the right side of the card */
@media (min-width: 960px) {
  .about__card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about__photo { order: 2; position: relative; }
  .about__photo picture { position: absolute; inset: 0; }
  .about__photo img { aspect-ratio: auto; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
/* the bun: its domed crown rises over the dark wall, a soft shine on top, sesame thinning out
   towards the cut at the bottom */
.reviews {
  position: relative; z-index: 1;
  margin-top: calc(var(--bun-dome) * -1);
  padding-block: calc(var(--space-section) + var(--bun-dome) * .5) var(--space-section);
  border-radius: 50% 50% 0 0 / var(--bun-dome) var(--bun-dome) 0 0;
  background-color: var(--bun);
  background-image:
    radial-gradient(60% 46% at 50% 0%, rgba(255, 214, 140, .7), rgba(255, 214, 140, 0)),
    linear-gradient(to bottom, rgba(232, 146, 44, 0) 30%, rgba(232, 146, 44, .4));
  box-shadow: inset 0 3px 0 rgba(255, 226, 170, .75);   /* lit rim along the crown */
  color: var(--ink);
}
.reviews::before {
  /* the same dome, set a little lower, so no seed sits cut in half on the rim */
  content: ""; position: absolute; inset: 14px 0 0; z-index: -1; pointer-events: none;
  border-radius: inherit;
  background: url("../images/web/sesame.svg") 50% 0 / 360px 300px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--bun-dome) + 120px), rgba(0, 0, 0, .35) 55%, transparent calc(100% - 60px));
  mask-image: linear-gradient(to bottom, #000 calc(var(--bun-dome) + 120px), rgba(0, 0, 0, .35) 55%, transparent calc(100% - 60px));
}
.reviews__inner { display: grid; gap: 56px; }
.score { display: flex; align-items: flex-start; gap: 12px; font-family: var(--font-display); }
.score__num {
  font-weight: 900; font-size: clamp(7rem, 4rem + 11vw, 14rem); line-height: .8; letter-spacing: -.05em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.score__of { margin-top: .35em; font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.reviews .stars { margin-top: 26px; color: var(--ink); }
.reviews .stars .icon { width: 22px; height: 22px; }
.score__meta { margin-top: 12px; }

.quote { padding: 30px 0; border-top: 1.5px solid rgba(28, 28, 26, .22); }
.quote:last-child { border-bottom: 1.5px solid rgba(28, 28, 26, .22); }
.quote blockquote p {
  font: 600 clamp(1.375rem, 1.05rem + 1.2vw, 2.125rem)/1.24 var(--font-display);
  font-variation-settings: "SOFT" 100;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.quote__by { margin-top: 14px; font: 500 .8125rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }

@media (min-width: 960px) {
  .reviews__inner { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .reviews__score { position: sticky; top: calc(var(--header-h) + 40px); }
  .quote { padding: 38px 0; }
}

/* ==========================================================================
   Visit
   ========================================================================== */
.visit { padding-block: var(--space-section); color: var(--cream); }   /* surface: .paper */
.visit__grid { display: grid; gap: 56px; }
.visit__address {
  margin-top: 28px;
  font: 700 clamp(1.375rem, 1.1rem + .8vw, 1.875rem)/1.3 var(--font-display);
  font-variation-settings: "SOFT" 100;
}
.visit__hint { margin-top: 10px; color: var(--cream-2); }
.visit__label {
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  font: 500 .8125rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--toast);
}
/* hours and contact each in the menu book's outlined box */
/* baseline: when the "I dag" tag wraps under the day (narrow boxes), the time stays on the day's line */
.hours div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.hours div:last-child,
.contact li:last-child { border-bottom: 0; }
.hours dt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 500; white-space: nowrap; }
.hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours__today {
  white-space: nowrap;
  padding: 4px 9px; border-radius: 6px;   /* a small price tag, like .tag */
  background: var(--bun); color: var(--ink);
  font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.contact li { border-bottom: 1px solid var(--line); }
.contact a {
  display: flex; align-items: center; min-height: 56px;
  font: 700 1.125rem/1.3 var(--font-display);
  font-variation-settings: "SOFT" 100;
  text-decoration: none; overflow-wrap: anywhere;
}
.contact a:hover { color: var(--bun); }
.visit__note { margin-top: 18px; font-size: .9375rem; color: var(--cream-2); }

@media (min-width: 640px) and (max-width: 959px) {
  .visit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .visit__main { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(28px, 3vw, 48px); align-items: end; }
}

/* ==========================================================================
   Contact form ("Skriv til oss", #kontakt)
   Its own section: a full-width band of warm charcoal (--night-2, a step up
   from the night of "Finn oss"), edged by hairlines top and bottom.
   Two columns: the heading and two quick alternatives (call, order) on the
   left, a slim form on the right. The fields are single underlines, like
   lines on an order pad, so the form stays light. Posts to /api/contact.
   ========================================================================== */
.reach {
  padding-block: clamp(72px, 9vw, 136px);
  border-block: 1px solid var(--line);
  background: var(--night-2);
  color: var(--cream);
}
.reach__grid { display: grid; gap: 56px; }

.reach__kicker { margin-bottom: 18px; }   /* an orange .tag */
.reach__lede { margin-top: 24px; max-width: 36ch; color: var(--cream-2); }

/* the two quick alternatives: a label over a link, parted by hairlines */
.reach__alt { border-top: 1px solid var(--line); }
.reach__alt div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.reach__alt dt { font-size: .9375rem; color: var(--cream-2); }
.reach__alt a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  font: 700 1.1875rem/1.3 var(--font-display);
  font-variation-settings: "SOFT" 100;
  text-decoration: none;
}
.reach__alt a:hover { color: var(--bun); }
.reach__alt .icon { width: 16px; height: 16px; }

/* the form: labels small, fields as one underline each */
.reach__form { display: grid; gap: 30px; }
.field { display: grid; gap: 4px; align-content: start; min-width: 0; }
.field label { font: 500 .875rem/1.3 var(--font-body); letter-spacing: .02em; color: var(--cream-2); }
.field__optional { margin-left: 6px; font-weight: 400; opacity: .75; }
.field input,
.field textarea {
  width: 100%; min-height: 48px; margin: 0;
  padding: 8px 0 10px;
  border: 0; border-bottom: 1.5px solid rgba(246, 240, 230, .32); border-radius: 0;
  background: transparent; color: var(--cream);
  font: 400 1.1875rem/1.5 var(--font-body);   /* 19 px: easy to read, and phones don't zoom in */
  transition: border-color .25s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-bottom-color: rgba(246, 240, 230, .55); }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--bun); box-shadow: 0 1.5px 0 var(--bun); }
.field:focus-within label { color: var(--bun); }
.field.has-error input,
.field.has-error textarea { border-bottom-color: var(--ember); }
.field__error { margin-top: 4px; font-size: .9375rem; line-height: 1.4; color: var(--ember); }

/* bots fill in every field; people never see this one */
.reach__trap { display: none; }

.reach__send { display: grid; gap: 16px; justify-items: start; margin-top: 6px; }
.reach .btn:disabled { cursor: progress; opacity: .75; transform: none; box-shadow: 4px 4px 0 var(--edge); }
.reach__status { color: var(--ember); font-size: 1rem; line-height: 1.5; }
.reach__status a { display: inline-block; padding-block: 11px; margin-block: -11px; color: inherit; font-weight: 600; white-space: nowrap; }

.reach__done { display: grid; gap: 10px; align-content: center; min-height: 100%; }
.reach__done:focus { outline: none; }
.reach__done-title {
  font: 900 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.02em;
}
.reach__done p:not(.reach__done-title) { color: var(--cream-2); }
.reach__again {
  justify-self: start; min-height: 44px; margin-top: 6px; padding: 0;
  border: 0; background: none; color: var(--cream); cursor: pointer;
  font: 600 1rem/1 var(--font-body); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

@media (max-width: 599px) {
  .reach__send .btn { width: 100%; }
}

/* tablets and up: e-mail and phone side by side */
@media (min-width: 640px) {
  .reach__form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .field--wide { grid-column: 1 / -1; }
}

/* desktop: text left, form right */
@media (min-width: 960px) {
  .reach__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "intro form" "alt form";
    column-gap: clamp(64px, 8vw, 136px); row-gap: 40px;
    align-items: start;
  }
  .reach__intro { grid-area: intro; }
  .reach__body { grid-area: form; }
  .reach__alt { grid-area: alt; max-width: 28rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: var(--space-section) 0 max(28px, env(safe-area-inset-bottom));
  --paper-out: 0px;   /* the print runs to the bottom of the page, like the back of the book */
  color: var(--cream);
}
/* the back of the book: the logo on the doodles, then the line */
.cta-band { display: grid; justify-items: center; gap: 30px; text-align: center; }
.cta-band__logo { width: clamp(170px, 18vw, 240px); height: auto; }
.cta-band__title {
  max-width: 15ch;
  font: 900 clamp(2.25rem, 1.2rem + 4vw, 4.75rem)/1 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.footer-bottom {
  display: grid; gap: 24px;
  margin-top: clamp(80px, 10vw, 136px); padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  font-size: .9375rem; color: var(--cream-2);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: auto; height: 56px; flex: none; }
.footer-brand strong { color: var(--cream); }
.social { display: flex; flex-wrap: wrap; gap: 0 28px; }
.social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); text-decoration: none; }
.social a:hover { color: var(--bun); }
.legal { font-size: .875rem; }
.footer-end { display: grid; justify-items: start; gap: 4px; }
/* "Nettside laget av SiteForge": the same credit as on shamonsnekkeri.no */
.credit { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .8125rem; color: var(--cream-2); text-decoration: none; transition: color .25s ease; }
.credit:hover { color: var(--cream); }
.credit svg { height: 18px; width: auto; }

@media (min-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer-end { justify-self: end; justify-items: end; }
  .legal { text-align: right; }
}

/* ---------- Reveal on scroll (v-reveal) ---------- */
.reveal {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 1s ease var(--delay, 0s), transform 1.2s var(--ease) var(--delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero:not(.is-ready) :is(.hero__words, .hero__lede, .hero__actions),
  .hero:not(.is-served) :is(.hero__piece, .hero__lid, .hero__burn, .hero__disc, .hero__badge) {
    opacity: 1; transform: none; scale: none; translate: none;
  }
}
