/* =============================================================================
   KEBAB STATIONEN — main stylesheet
   Shared by the WordPress theme templates and the static /preview build.
   Font files are declared separately (assets/css/fonts.css, self-hosted for
   GDPR). This file only references family names with safe fallbacks.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */
:root {
  /* Colour — warm, food-forward. Restrained palette, used with more contrast. */
  --paper:        #f2ebdc;   /* page background — a shade toastier */
  --paper-2:      #e8ddc7;   /* recessed panels, table rows */
  --paper-3:      #ded0b4;   /* hover on light surfaces */
  --paper-deep:   #e3d6bd;   /* alternate section ground */
  --ink:          #1e1b15;   /* primary text */
  --ink-2:        #4c4638;   /* secondary text */
  --ink-3:        #766e5d;   /* captions, meta */
  --line:         #d3c7ac;   /* hairlines / borders */
  --line-strong:  #bfb094;
  /* Accent — burnt orange from the Kebab Stationen badge (black + orange). */
  --brand:        #9f5109;   /* text / button bg on light — AA on paper & paper-deep */
  --brand-dark:   #843f07;   /* button hover / pressed */
  --brand-mid:    #d3741a;   /* decorative pop on light (dots, rules) — not for text */
  --brand-bright: #ee8f2e;   /* accent on dark grounds (hero word, board labels, LED) */
  --brand-tint:   #efe1cb;   /* faint warm wash */
  --olive:        #3f4b36;   /* secondary accent, "open" state */
  --olive-dark:   #2c3626;
  --char:         #191510;   /* dark sections + footer */
  --char-2:       #241d15;   /* lifted panel on dark */
  --paper-on-dark:#f0e7d4;
  --line-on-dark: #43392b;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans:    "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Fraunces has SOFT + WONK axes — used to give the display face real character
     without reaching for a novelty font. */
  --display-vs: "opsz" 144, "SOFT" 40, "WONK" 1;

  /* Type scale — bigger jumps at the top, for confident editorial moments. */
  --fs-xxs:  0.75rem;
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   clamp(1.125rem, 1.02rem + 0.5vw, 1.3125rem);
  --fs-lg:   clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
  --fs-xl:   clamp(1.75rem, 1.35rem + 1.9vw, 2.6rem);
  --fs-2xl:  clamp(2.35rem, 1.7rem + 3.1vw, 3.9rem);
  --fs-3xl:  clamp(2.65rem, 1.9rem + 3.6vw, 4.4rem);
  --fs-4xl:  clamp(3rem, 1.85rem + 4.6vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3.25rem;
  --space-8: 5rem;
  --space-9: 7.5rem;

  --maxw: 1240px;
  --gutter: clamp(1.15rem, 5vw, 4.25rem);
  --radius: 2px;
  --nav-h: 70px;

  /* Easing — mapped to GSAP-equivalent curves for consistent feel:
     power1.out (hover/press), power2.out (reveals), expo.out (drawers/sheets). */
  --ease: cubic-bezier(.2, .6, .2, 1);
  --ease-1: cubic-bezier(.25, .46, .45, .94);   /* power1.out */
  --ease-2: cubic-bezier(.215, .61, .355, 1);   /* power2.out */
  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* expo.out */
  --dur: 240ms;
}

/* ---------- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
/* menu page has a second sticky bar (category chips) — offset anchors past both */
html:has(.menu-nav) { scroll-padding-top: calc(var(--nav-h) + 3.75rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-optical-sizing: auto;
  font-variation-settings: var(--display-vs);
  text-wrap: balance;
}

/* Hero-scale display type — heavier, tighter, wonkier. Use sparingly. */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.026em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  text-wrap: balance;
}

::selection { background: var(--brand); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Layout helpers -------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 780px; }
.wrap--wide   { max-width: 1400px; }

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-7); }

/* Section grounds — give the page a light/deep/dark rhythm instead of one flat
   cream from top to bottom. */
.section--deep { background: var(--paper-deep); }
.section--dark {
  background: var(--char);
  color: var(--paper-on-dark);
}
.section--dark .kicker { color: var(--brand-bright); }
.section--dark a:not(.btn) { color: var(--paper-on-dark); }

/* Route line — the one recurring identity mark: a track with a station stop. */
.routeline {
  border: 0;
  height: 2px;
  background: var(--line-strong);
  position: relative;
  overflow: visible;
  margin: 0;
}
.routeline::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand-mid);
  transform: translateY(-50%);
}
.routeline--dark { background: var(--line-on-dark); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 200;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* Section kicker — mono label with a station-stop tick. Recurring identity mark. */
.kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-mid);
  flex: none;
}
.kicker::after {
  content: "";
  width: 2.4em;
  height: 2px;
  background: var(--brand-mid);
  opacity: 0.55;
  flex: none;
}
.section--dark .kicker::before, .section--dark .kicker::after { background: var(--brand-bright); }
.kicker--plain::before, .kicker--plain::after { display: none; }

.eyebrow-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.eyebrow-rule--double {
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 3px 0 -2px var(--line);
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  --_bg: var(--brand);
  --_fg: var(--paper-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 1.02em 1.7em;
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease-1), transform 160ms var(--ease-1), box-shadow var(--dur) var(--ease-1);
  white-space: nowrap;
}
.btn:hover  { --_bg: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 60ms; }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --_bg: var(--paper-3); border-color: var(--ink-3); }

.btn--ink { --_bg: var(--ink); --_fg: var(--paper-on-dark); }
.btn--ink:hover { --_bg: #000; }

/* Quiet text action — the "secondary CTA" is a link, not a second pill */
.link-action {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color var(--dur) var(--ease), text-underline-offset var(--dur) var(--ease);
}
.link-action:hover { color: var(--brand); text-underline-offset: 7px; }
.link-action .arw { transition: transform var(--dur) var(--ease); }
.link-action:hover .arw { transform: translateX(3px); }

/* ---------- Site header / nav ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}
.site-header::after { /* platform-edge hairline */
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0 42px, transparent 42px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.site-header[data-scrolled="true"]::after { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  height: var(--nav-h);
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  flex: none;
}
.brand .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-mid);
  flex: none;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
.brand--img { gap: 0; }
.brand--img img,
.brand .custom-logo { height: clamp(40px, 6vw, 52px); width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  padding-block: 4px;
  position: relative;
  color: var(--ink-2);
  transition: color 160ms var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--brand);
  transition: right var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }

.nav-toggle { display: none; }

/* ---------- Mobile nav sheet --------------------------------------------- */
.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--paper);
  padding: calc(var(--nav-h) + var(--space-5)) var(--gutter) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 340ms var(--ease), visibility 0s linear 340ms;
  overflow-y: auto;
}
.nav-sheet[data-open="true"] {
  transform: translateY(0);
  visibility: visible;
  transition: transform 340ms var(--ease);
}
.nav-sheet a.sheet-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
}
.nav-sheet .sheet-cta { margin-top: var(--space-3); }
.nav-sheet .sheet-cta .btn { width: 100%; padding-block: 1.1em; font-size: var(--fs-md); }
.nav-sheet .sheet-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-2);
  line-height: 1.9;
}
/* phone-call CTA: keep the glyph tight to the label */
.btn[data-order-tel] svg { margin-right: -0.1em; }
.sheet-close {
  position: absolute;
  top: 16px; right: var(--gutter);
  width: 44px; height: 44px;
  display: grid; place-items: center;
}

/* ---------- Open-now indicator ----------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.status .led {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  flex: none;
}
.status[data-open="true"] .led {
  background: var(--olive);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 22%, transparent);
}
.status[data-open="true"] { color: var(--olive-dark); }
.status[data-open="false"] .led { background: var(--brand-mid); }

/* ---------- HERO — dark, oversized, photo-forward -------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(390px, 51fr) 49fr;
  min-height: min(88vh, 760px);
  background: var(--char);
  color: var(--paper-on-dark);
}
.hero__panel {
  position: relative;
  padding: clamp(2.25rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3.5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
}
/* track meeting the photo, with a station stop */
.hero__panel::after {
  content: "";
  position: absolute;
  right: -1px; top: 18%; bottom: 18%;
  width: 2px;
  background: var(--line-on-dark);
}
.hero__panel::before {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--brand-bright);
  transform: translateY(-50%);
  z-index: 1;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper-on-dark) 66%, transparent);
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.hero__eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  flex: none;
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
  color: var(--paper-on-dark);
  text-wrap: balance;
  hyphens: none;
  overflow-wrap: normal;
}
.hero__title .r2 { color: var(--brand-bright); display: block; }
.hero__lead {
  font-size: var(--fs-md);
  color: color-mix(in srgb, var(--paper-on-dark) 74%, transparent);
  max-width: 36ch;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}
.hero__meta {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--paper-on-dark) 62%, transparent);
}
.hero__meta b { font-weight: 500; color: var(--paper-on-dark); }

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--char-2);
}
/* placeholder inside the hero reads dark, to match the section */
.hero__media .ph,
.hero__media .ks-frame--placeholder {
  position: absolute;
  inset: 0;
  background: var(--char-2);
  border: 0;
  color: color-mix(in srgb, var(--paper-on-dark) 52%, transparent);
}
.hero__media .ph::before,
.hero__media .ks-frame--placeholder::before {
  background: repeating-linear-gradient(-45deg, transparent 0 15px, color-mix(in srgb, var(--paper-on-dark) 4%, transparent) 15px 16px);
}
.hero__media .ph span,
.hero__media .ks-frame--placeholder span { color: color-mix(in srgb, var(--paper-on-dark) 60%, transparent); }
.hero__media .ph span b,
.hero__media .ks-frame--placeholder span b { color: color-mix(in srgb, var(--paper-on-dark) 38%, transparent); }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* one quiet entrance moment: the hero image settles from a slight zoom */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img,
  .hero__media .ph,
  .hero__media .ks-frame--placeholder {
    animation: heroSettle 1100ms var(--ease-2) both;
  }
}
@keyframes heroSettle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero__media::after { /* readability scrim, bottom + left */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, color-mix(in srgb, var(--char) 82%, transparent) 0%, transparent 42%),
    linear-gradient(to right, color-mix(in srgb, var(--char) 40%, transparent) 0%, transparent 30%);
  pointer-events: none;
}
.hero__tag {
  position: absolute;
  left: 0; bottom: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 1;
  background: var(--brand);
  color: var(--paper-on-dark);
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7em 1.1em 0.7em clamp(1rem, 3vw, 2rem);
}
.hero .link-action { color: var(--paper-on-dark); text-decoration-color: var(--brand-bright); }
.hero .link-action:hover { color: var(--brand-bright); }

/* ---------- Editorial "standfirst" row (no cards) -------------------------- */
.standfirst {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.standfirst__lead {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.standfirst__lead em { font-style: italic; color: var(--brand); }
.standfirst__cols {
  columns: 2;
  column-gap: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.standfirst__cols p { break-inside: avoid; margin-bottom: var(--space-4); }
.standfirst__cols p:last-child { margin-bottom: 0; }
.standfirst__cols b { color: var(--ink); font-weight: 600; }

/* ---------- Featured food (asymmetric, not a card grid) ------------------- */
.featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: end;
}
.featured h2 {
  font-size: var(--fs-3xl);
  margin: 0.35em 0 0.85em;
  line-height: 0.92;
}
.featured__media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.featured__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-2);
}
.featured:hover .featured__media img { transform: scale(1.03); }

.pricelist { list-style: none; padding: 0; }
.pricelist li {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 1.05em 0;
  border-bottom: 1px solid var(--line);
}
.pricelist li:first-child { border-top: 2px solid var(--ink); }
.pricelist .name { font-weight: 600; font-size: var(--fs-md); flex: 0 1 auto; }
.pricelist .name a { text-decoration: none; }
.pricelist .name a:hover { color: var(--brand); }
.pricelist .desc { display: block; font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; margin-top: 3px; }
.pricelist .price {
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  flex: none;
}
.pricelist .leader { /* dotted leader fills the gap between name and price */
  flex: 1 1 auto;
  align-self: flex-end;
  transform: translateY(-0.28em);
  border-bottom: 1px dotted var(--line-strong);
  min-width: 1.25em;
}

/* ---------- Menu preview "board" — reads like a station departure board ----- */
.board {
  background: var(--char);
  color: var(--paper-on-dark);
  border: 1px solid var(--char);
}
.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line-on-dark);
  background: var(--char-2);
}
.board__head h3 {
  font-size: var(--fs-xl);
  color: var(--paper-on-dark);
}
.board__head .link-action { color: var(--paper-on-dark); text-decoration-color: var(--brand-bright); }
.board__head .link-action:hover { color: var(--brand-bright); }
.board__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.board__col { padding: clamp(1.25rem, 3vw, 2rem); }
.board__col + .board__col { border-left: 1px solid var(--line-on-dark); }
.board__cat {
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: var(--space-3);
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line-on-dark);
}
.board__cat:not(:first-child) { margin-top: var(--space-6); }
.board__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4em;
  font-size: var(--fs-sm);
  padding: 0.42em 0;
  color: color-mix(in srgb, var(--paper-on-dark) 78%, transparent);
}
.board__row .p {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--paper-on-dark);
}

/* ---------- Photo band — varied proportions ------------------------------- */
.photoband {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 3px;
}
.photoband figure { position: relative; overflow: hidden; background: var(--paper-2); }
.photoband img { width: 100%; height: 100%; object-fit: cover; }
.photoband .f1 { aspect-ratio: 4 / 3; }
.photoband .f2 { aspect-ratio: 3 / 4; }
.photoband .f3 { aspect-ratio: 1 / 1; align-self: end; }
.photoband figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-on-dark);
  background: color-mix(in srgb, var(--char) 72%, transparent);
  padding: 4px 8px;
}

/* ---------- Reviews (restrained, not a carousel) ------------------------- */
.reviews {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  border: 2px solid var(--ink);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--paper);
}
.reviews__score { text-align: center; }
.reviews__num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 0.9;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.reviews__stars { margin-top: 10px; }
.stars-track { position: relative; display: inline-flex; }
.stars-track > svg { fill: var(--line-strong); }
.stars-fill { position: absolute; inset: 0; display: inline-flex; overflow: hidden; white-space: nowrap; }
.stars-fill > svg { fill: var(--brand); }
.reviews__meta { font-family: var(--font-mono); font-size: var(--fs-xxs); color: var(--ink-3); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.reviews__body p { font-size: var(--fs-md); color: var(--ink-2); }
.reviews__body .dev-flag {
  display: inline-block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  border: 1px dashed var(--brand);
  padding: 3px 7px;
}

/* ---------- Location ---------------------------------------------------------- */
.locate {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.locate__info { display: flex; flex-direction: column; gap: var(--space-4); }
.locate__addr { font-size: var(--fs-md); line-height: 1.5; }
.locate__addr b { font-weight: 600; }
.locate__list { list-style: none; padding: 0; font-size: var(--fs-sm); }
.locate__list li {
  display: flex; justify-content: space-between; gap: 1em;
  padding: 0.55em 0;
  border-bottom: 1px solid var(--line);
}
.locate__list .d { color: var(--ink-2); }
.locate__list .h { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.locate__list li[data-today="true"] { color: var(--ink); font-weight: 600; }
.locate__list li[data-today="true"] .d { color: var(--ink); }

.map-embed {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 26px, color-mix(in srgb, var(--line) 55%, transparent) 26px 27px),
    repeating-linear-gradient(90deg, transparent 0 26px, color-mix(in srgb, var(--line) 55%, transparent) 26px 27px),
    var(--paper-2);
  display: grid;
  place-items: center;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__cta { text-align: center; padding: var(--space-5); max-width: 34ch; }
.map-embed__cta p { font-size: var(--fs-xs); color: var(--ink-2); margin-bottom: var(--space-3); }

/* ---------- Closing CTA band ---------------------------------------------- */
.cta-band {
  background: var(--char);
  color: var(--paper-on-dark);
}
.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  padding-block: var(--space-7);
}
.cta-band h2 { font-size: var(--fs-2xl); max-width: 18ch; line-height: 1; }
.cta-band p { color: color-mix(in srgb, var(--paper-on-dark) 72%, transparent); font-size: var(--fs-sm); margin-top: 10px; }

/* ---------- Footer ---------------------------------------------------------- */
.site-footer {
  background: var(--char);
  color: color-mix(in srgb, var(--paper-on-dark) 82%, transparent);
  border-top: 1px solid #2a271d;
}
.site-footer a:hover { color: var(--paper-on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-block: var(--space-8) var(--space-6);
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper-on-dark) 55%, transparent);
  margin-bottom: var(--space-3);
}
.footer-grid ul { list-style: none; padding: 0; font-size: var(--fs-sm); line-height: 2; }
.footer-brand .brand { color: var(--paper-on-dark); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.footer-brand .brand .dot { width: 10px; height: 10px; }
.footer-brand p { font-size: var(--fs-sm); margin-top: var(--space-4); max-width: 32ch; color: color-mix(in srgb, var(--paper-on-dark) 65%, transparent); }
.footer-est { font-family: var(--font-mono); font-size: var(--fs-xxs); letter-spacing: 0.08em; text-transform: uppercase; margin-top: var(--space-3) !important; color: color-mix(in srgb, var(--paper-on-dark) 45%, transparent) !important; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1em; font-variant-numeric: tabular-nums; }
.footer-hours .h { font-family: var(--font-mono); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-block: var(--space-4) var(--space-6);
  border-top: 1px solid #2a271d;
  font-size: var(--fs-xs);
  color: color-mix(in srgb, var(--paper-on-dark) 50%, transparent);
}

/* ---------- Menu page --------------------------------------------------------- */
.menu-hero {
  padding-block: var(--space-8) var(--space-7);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line-strong);
}
.menu-hero h1 { font-size: var(--fs-3xl); margin: 0.25em 0 0.4em; }
.menu-hero__lead { max-width: 52ch; color: var(--ink-2); font-size: var(--fs-md); }

.menu-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.menu-nav__inner {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.7rem;
  -webkit-overflow-scrolling: touch;
}
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav__inner a {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-xxs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.5em 0.85em;
  border: 1px solid var(--line);
  border-radius: 999px; /* the ONE place a pill shape earns its keep: a chip rail */
  white-space: nowrap;
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.menu-nav__inner a:hover { color: var(--ink); border-color: var(--line-strong); }
.menu-nav__inner a[aria-current="true"] {
  color: var(--paper-on-dark);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-list { padding-block: var(--space-7) var(--space-8); }
.menu-cat { padding-block: var(--space-6) 0; }
.menu-cat:first-child { padding-top: var(--space-5); }
.menu-cat__title {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-5);
}
.menu-cat__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.menu-item__media { align-self: stretch; overflow: hidden; }
.menu-item__media :is(.ks-frame, .ph, img) { transition: transform 600ms var(--ease-2); }
.menu-item:hover .menu-item__media :is(.ks-frame, .ph) > img { transform: scale(1.03); }
.menu-item__media .ks-frame,
.menu-item__media > span { border: 1px solid var(--line); }
.menu-item__body { display: flex; flex-direction: column; gap: var(--space-3); }
.menu-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.menu-item__name { font-size: var(--fs-lg); }
.menu-item__from {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  white-space: nowrap;
}
.menu-item__note { font-size: var(--fs-sm); color: var(--ink-2); }

/* Priced rows inside a menu item — dotted leaders, mono prices. */
.pricerows { list-style: none; padding: 0; margin-top: var(--space-2); }
.pricerows li {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.55em 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.pricerows li:first-child { border-top: 1px solid var(--line); }
.pricerows .pr-name { flex: 0 1 auto; color: var(--ink); }
.pricerows .pr-leader {
  flex: 1 1 auto;
  align-self: flex-end;
  transform: translateY(-0.28em);
  border-bottom: 1px dotted var(--line-strong);
  min-width: 1.25em;
}
.pricerows .pr-price {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

@media (max-width: 720px) {
  .menu-item { grid-template-columns: 1fr; gap: var(--space-4); }
  .menu-item__media { max-width: 280px; }
  .menu-nav { top: var(--nav-h); }
}

/* ---------- Bestil — ring og bestil ------------------------------------------ */
.bestil-call {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.bestil-call__main { display: flex; flex-direction: column; gap: var(--space-5); }
.bestil-call__number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-3xl);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.bestil-call__number:hover { color: var(--brand-dark); }
@media (max-width: 760px) {
  .bestil-call { grid-template-columns: 1fr; }
}

/* ---------- Long-form page body ---------------------------------------------- */
.page__body h2 { font-size: var(--fs-xl); margin: 1.6em 0 0.5em; }
.page__body h3 { font-size: var(--fs-lg); margin: 1.4em 0 0.4em; }
.page__body p { margin-bottom: 1em; }
.page__body a { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.page__body ul, .page__body ol { margin: 0 0 1em 1.2em; }
.page__body li { margin-bottom: 0.35em; }

/* ---------- Photo placeholders (before real photos are uploaded) ----------
   Deliberately art-directed so unfinished pages still read as designed:
   toasted ground, dish name set in the display face, a small "pending" mark. */
.ph,
.ks-frame--placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.ph::before,
.ks-frame--placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 13px,
    color-mix(in srgb, var(--brand) 4%, transparent) 13px 14px
  );
}
.ph > *,
.ks-frame--placeholder > * { position: relative; }
.ph span,
.ks-frame--placeholder span {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: var(--fs-md);
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-align: center;
  padding: 0 1.2em;
  text-transform: none;
}
.ph span b,
.ks-frame--placeholder span b {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Scroll reveal ------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(13px);
  transition: opacity 480ms var(--ease-2), transform 480ms var(--ease-2);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ----------------------------------------------------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__panel { padding-bottom: clamp(2.5rem, 8vw, 3.5rem); }
  .hero__panel::after, .hero__panel::before { display: none; }
  .hero__media { aspect-ratio: 16 / 12; }
  .hero__media img { position: static; }
  .standfirst { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .locate { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Header "Åben nu" is supplementary — drop it before the bar gets tight.
   Hours still live in the footer, the Find os page and the mobile sheet. */
@media (max-width: 1120px) {
  .nav-actions > .status { display: none; }
}

@media (max-width: 940px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
  }
}

@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .section { padding-block: var(--space-6); }
  .section--tight { padding-block: var(--space-5); }
  .standfirst__cols { columns: 1; }
  .board__grid { grid-template-columns: 1fr; }
  .board__col + .board__col { border-left: 0; border-top: 1px solid var(--line); }
  .photoband { grid-template-columns: 1fr; gap: 2px; }
  .photoband .f1, .photoband .f2, .photoband .f3 { aspect-ratio: 16 / 10; align-self: auto; }
  .reviews { grid-template-columns: 1fr; text-align: left; }
  .reviews__score { display: flex; align-items: baseline; gap: 0.75em; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-action { align-self: center; }
}
