@font-face { font-family: "Big Shoulders Display"; src: url("/assets/big-shoulders-display-800.088f423f09.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("/assets/big-shoulders-display-900.65f2c36803.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/barlow-400.b0a8ad37ac.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/barlow-600.4b52ddd483.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --gold: #FBC22C;      /* logotypens krongult */
  --gold-deep: #E8A820;
  --ink: #000;          /* logotypens kontur */
  --paper: #fff;
  --pale: #FFF3CC;
  --rule: #E9E1CF;
  --muted: #5B5246;
  --ember: #FF6B57;     /* stängt, på svart */
  --open: #5BE38A;      /* öppet, på svart */
  --veg: #1E6B35;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--tools-h, 7.5rem) + .75rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1.0625rem/1.55 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a, .btn { -webkit-tap-highlight-color: rgba(0, 0, 0, .12); }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; line-height: .95; margin: 0; letter-spacing: .005em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: var(--gold); padding: .75rem 1rem; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 3rem; padding: .6rem 1.25rem; border-radius: 6px; border: 2px solid var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; touch-action: manipulation; transition: background-color .15s, color .15s; }
.btn-ink { background: var(--ink); color: var(--gold); }
.btn-ink:hover { background: #2a2a2a; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--gold); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-big { min-height: 3.75rem; font-size: 1.125rem; padding-inline: 1.5rem; }
.btn-big .num { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* Sidhuvud */
.top { background: var(--gold); }
.top-in { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.brand { flex: none; display: block; border-radius: 6px; }
.brand img { width: clamp(132px, 16vw, 176px); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a { font-weight: 600; text-decoration: none; padding-block: .5rem; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--ink); }
.top-call { flex: none; }

/* Hjälte: krongult fält + upplyst tavla */
.hero { background: var(--gold); padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 5rem); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 7.6vw, 7rem); line-height: .9; max-width: 11ch; margin-bottom: .3em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; margin-bottom: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.board { background: var(--ink); color: #fff; border-radius: 10px; padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: 0 0 0 6px var(--ink), 0 0 0 8px var(--gold-deep), 0 24px 40px -24px rgba(60, 40, 0, .55); }
.board :focus-visible { outline-color: var(--gold); }
.board-h { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--gold); margin-bottom: .35rem; }
.status { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.05rem; margin: 0 0 1rem; }
.status::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--ember); flex: none; }
.status.is-open::before { background: var(--open); box-shadow: 0 0 10px var(--open); }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem .75rem; margin-inline: -.75rem; border-top: 1px solid #2c2c2c; border-radius: 4px; }
.board-list li:first-child { border-top: 0; }
.board-list .day { font-weight: 600; color: #f1ead9; }
.board-list .time { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; }
.board-list li.is-today { background: var(--gold); border-color: transparent; }
.board-list li.is-today .day, .board-list li.is-today .time { color: var(--ink); }
.board-list li.is-today + li { border-top-color: transparent; }
.board-foot { margin: 1rem 0 0; color: #cfc7b4; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .board { animation: lightup 1.1s steps(1, end) .2s both; }
  @keyframes lightup { 0% { opacity: .35; } 12% { opacity: 1; } 20% { opacity: .5; } 30%, 100% { opacity: 1; } }
}

/* Fotoband */
.band { margin: 0; background: var(--ink); }
.band img { width: 100%; height: clamp(170px, 30vw, 500px); object-fit: cover; }

/* Meny */
.menu { padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 4.5rem); }
.menu-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.75rem; }
.menu-head h2 { font-size: clamp(3.4rem, 8vw, 6rem); }
.menu-sub { margin: .5rem 0 0; color: var(--muted); max-width: 40ch; }
.menu-order { display: flex; flex-wrap: wrap; gap: .75rem; }

.menu-tools { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 2px solid var(--ink); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips ul { display: flex; gap: .5rem; list-style: none; margin: 0 calc(var(--gutter) * -1); padding: .75rem var(--gutter); scroll-padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.chips ul::-webkit-scrollbar { display: none; }
.chips a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem 1rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; background: var(--paper); transition: background-color .15s, color .15s; }
.chips a:hover { background: var(--pale); }
.chips a[aria-current="true"] { background: var(--ink); color: var(--gold); }
.search { padding: 0 0 .85rem; display: grid; grid-template-columns: auto minmax(0, 26rem) 1fr; align-items: center; gap: .5rem 1rem; }
.search label { font-weight: 600; }
.search input { font: inherit; font-size: 1rem; min-height: 2.75rem; width: 100%; padding: .5rem .85rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); }
.search input:focus-visible { outline-offset: 2px; }
.search-msg { margin: 0; color: var(--muted); font-size: .95rem; }

.cat { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(2.25rem, 4vw, 3.25rem); border-bottom: 1px solid var(--rule); }
.cat:last-child { border-bottom: 0; }
.cat-head { align-self: start; position: sticky; top: calc(var(--tools-h, 4.5rem) + 1.5rem); }
.cat-head h3 { font-size: clamp(2.6rem, 4.4vw, 3.6rem); margin-bottom: 1rem; }
.cat-img img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.group + .group { margin-top: 2.25rem; }
.group h4 { font-size: 1.85rem; margin-bottom: .6rem; }
.incl { background: var(--pale); border-radius: 6px; padding: .6rem .9rem; font-size: .975rem; max-width: 62ch; }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-content: start; padding: .7rem 0 .75rem; border-bottom: 1px solid var(--rule); }
.dish { font-weight: 600; font-size: 1.075rem; line-height: 1.3; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; align-self: start; }
.desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; line-height: 1.45; margin-top: .2rem; max-width: 52ch; }
.veg { display: inline-block; vertical-align: .12em; margin-left: .3rem; padding: .05rem .4rem; border-radius: 4px; background: #E2F2E5; color: var(--veg); font-size: .75rem; font-weight: 600; text-decoration: none; cursor: help; }
.allergy { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 2px solid var(--ink); max-width: 60ch; }
.is-filtering .cat-img { display: none; }

/* Lunch */
.lunch { background: var(--pale); padding-block: clamp(3rem, 6vw, 5rem); }
.lunch-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lunch h2 { font-size: clamp(3rem, 6vw, 4.75rem); margin-bottom: .75rem; }
.lunch-when { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.1; margin-bottom: .5rem; }
.lunch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.lunch-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 2px solid var(--ink); }
.lunch-list .dish { font-size: 1.2rem; }
.lunch-list .price { font-size: 1.9rem; }

/* Info */
.info { padding-block: clamp(3rem, 6vw, 5rem); }
.info-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.about h2 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 1.25rem; max-width: 12ch; }
.about p { max-width: 46ch; font-size: 1.125rem; }
.facts { margin: 0; display: grid; gap: 1.75rem; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 1.45rem; margin-bottom: .3rem; }
.facts dd { margin: 0; }
.big-tel { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.25rem); line-height: 1; text-decoration: none; letter-spacing: .02em; }
.big-tel:hover { text-decoration: underline; }
.hours { list-style: none; margin: 0; padding: 0; max-width: 24rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem .5rem; margin-inline: -.5rem; border-radius: 4px; }
.hours .time { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours li.is-today { background: var(--gold); }

/* Sidfot */
.foot { background: var(--ink); color: #eee6d4; padding-block: 2.5rem; }
.foot :focus-visible { outline-color: var(--gold); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.foot-logo { width: 150px; }
.foot p { margin: 0; }
.foot a { color: var(--gold); }
.foot .copy { margin-left: auto; }

/* Ringlist på mobil */
.callbar { display: none; }

@media (max-width: 1000px) {
  .cat { grid-template-columns: 1fr; gap: 1.25rem; }
  .cat-head { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); align-items: end; gap: 1.5rem; }
  .cat-head h3 { margin: 0; }
  .cat-img img { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .lunch-in, .info-in { grid-template-columns: 1fr; }
  .items { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .top-call { display: none; }
  .brand img { width: 148px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .actions .btn { width: 100%; }
  .menu-order { width: 100%; }
  .menu-order .btn { flex: 1 1 100%; }
  .search { grid-template-columns: 1fr; }
  .search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html { scroll-padding-bottom: 5.5rem; }
  .cat-head { grid-template-columns: minmax(0, 1fr) 42%; gap: 1rem; align-items: center; }
  .cat-head h3 { font-size: clamp(2.3rem, 11vw, 2.8rem); }
  .cat-img img { aspect-ratio: 4 / 3; }
  .lunch-list { grid-template-columns: 1fr; }
  .foot .copy { margin-left: 0; }
  .callbar { display: grid; grid-template-columns: 1fr auto; gap: .5rem; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--gold); border-top: 2px solid var(--ink); }
  .callbar .btn { min-height: 3.1rem; font-size: 1.05rem; }
  .callbar .btn-gold { background: var(--paper); }
}
@media print {
  .top, .band, .menu-tools, .callbar, .cat-img { display: none !important; }
  .cat { break-inside: avoid; }
}

/* 404 */
.nf { padding-bottom: 0; }
.nf-main { min-height: 80vh; display: flex; align-items: center; }
.nf-main .brand img { width: 200px; margin-bottom: 2rem; }
.nf-main h1 { font-size: clamp(3rem, 9vw, 6rem); max-width: 12ch; margin-bottom: .4em; }
