/* ─────────────────────────────────────────────────────────
   Kebab Clubben — single column, system type, warm dark
   ───────────────────────────────────────────────────────── */

:root {
  --ink:        #0c0b0a;
  --ink-2:      #131110;
  --paper:      #f0ece5;
  --muted:      #96908a;
  --rule:       rgba(240, 236, 229, 0.14);
  --rule-soft:  rgba(240, 236, 229, 0.08);
  --amber:      #f5a623;
  --amber-dim:  #c9821a;

  --col:        34rem;          /* the narrow measure */
  --gut:        1.5rem;
  --bar:        3.5rem;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 3.25rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* warm ambient glow, like the neon in the window */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(245, 166, 35, 0.09), transparent 62%),
    radial-gradient(90% 50% at 50% 100%, rgba(245, 166, 35, 0.05), transparent 70%);
}

main, .foot, .topbar, .dock { position: relative; z-index: 1; }

img, iframe { display: block; max-width: 100%; }

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

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

.wrap {
  width: 100%;
  max-width: var(--col);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 50%;
  top: 0.75rem;
  transform: translateX(-50%);
  z-index: 99;
  background: var(--amber);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
}

/* ── Shared bits ─────────────────────────────────────────── */

.label,
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow { color: var(--amber); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.875rem;
  padding: 0 1.375rem;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--amber);
  color: #17120a;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease,
              color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #ffb63c; border-color: #ffb63c; }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  border-color: var(--rule);
  color: var(--paper);
}
.btn--ghost:hover { background: transparent; border-color: var(--paper); }

.btn--sm {
  min-height: 2.125rem;
  padding: 0 0.9375rem;
  font-size: 0.8125rem;
}

.btn--block { display: flex; width: 100%; }

/* ── Top bar ─────────────────────────────────────────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--bar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--col);
  margin-inline: auto;
  padding-inline: var(--gut);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.topbar__mark {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.topbar .btn {
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* the bar background spans the full viewport, not just the column */
.topbar::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background: rgba(12, 11, 10, 0.84);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.is-stuck .topbar::after { opacity: 1; }
.is-stuck .topbar__mark,
.is-stuck .topbar .btn {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero__img {
  position: relative;
  overflow: hidden;
}

.hero__img img {
  width: 100%;
  height: clamp(19rem, 58vh, 30rem);
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(0.94) contrast(1.04);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 11, 10, 0.5) 0%,
    rgba(12, 11, 10, 0.05) 32%,
    rgba(12, 11, 10, 0.72) 82%,
    var(--ink) 100%
  );
}

.hero__body {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  text-align: center;
}

.hero__title {
  margin: 0.875rem 0 0;
  font-size: clamp(2.75rem, 13vw, 4.25rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 26rem;
  margin: 1.25rem auto 0;
  color: #c5bfb7;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
}

.fineprint {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.hero__body > * {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__body > :nth-child(1) { animation-delay: 0.10s; }
.hero__body > :nth-child(2) { animation-delay: 0.16s; }
.hero__body > :nth-child(3) { animation-delay: 0.24s; }
.hero__body > :nth-child(4) { animation-delay: 0.32s; }
.hero__body > :nth-child(5) { animation-delay: 0.40s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(0.75rem); }
  to   { opacity: 1; transform: none; }
}

/* ── Category chips ──────────────────────────────────────── */

.chips {
  position: sticky;
  /* tuck under the fixed bar so fractional pixel rounding can't open a seam */
  top: calc(var(--bar) - 2px);
  z-index: 15;
  background: rgba(12, 11, 10, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--rule-soft);
}

.chips__track {
  display: flex;
  gap: 0.375rem;
  max-width: var(--col);
  margin-inline: auto;
  padding: 0.625rem var(--gut);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips__track::-webkit-scrollbar { display: none; }

.chips a {
  flex: none;
  padding: 0.3125rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: #b9b3ab;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.chips a:hover { color: var(--paper); border-color: var(--paper); }

/* ── Menu ────────────────────────────────────────────────── */

.course {
  padding: 3.25rem 0 0.5rem;
  scroll-margin-top: calc(var(--bar) + 3.25rem);
}

.course__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.course__note {
  margin-top: 0.5rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.list { margin-top: 1.75rem; }

.item {
  padding-block: 0.9375rem;
  border-top: 1px solid var(--rule-soft);
}
.item:last-child { border-bottom: 1px solid var(--rule-soft); }

.item__row {
  display: flex;
  align-items: baseline;
  gap: 0;
}

.item__name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.item__lead {
  flex: 1 1 auto;
  min-width: 1.25rem;
  margin: 0 0.5rem;
  border-bottom: 1px dotted rgba(240, 236, 229, 0.24);
  transform: translateY(-0.28em);
}

.item__price {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
  color: #d8d2ca;
}
.item__price::after {
  content: " kr";
  color: var(--muted);
  font-size: 0.75rem;
}

.item__desc {
  margin-top: 0.3125rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ── Inline call-to-action ───────────────────────────────── */

.cta {
  margin-top: 2.75rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--rule-soft);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(245, 166, 35, 0.07), rgba(245, 166, 35, 0.015));
  text-align: center;
}

.cta p {
  margin-bottom: 1rem;
  color: #cdc7bf;
  font-size: 0.9375rem;
  text-wrap: balance;
}

.cta--last { margin-bottom: 1rem; }

/* ── Map + footer ────────────────────────────────────────── */

.foot {
  margin-top: 4rem;
  border-top: 1px solid var(--rule-soft);
  background: var(--ink-2);
}

.map {
  position: relative;
  height: clamp(14rem, 42vh, 20rem);
  background: #1a1815;
  border-bottom: 1px solid var(--rule-soft);
}

/* Google's embed has no dark mode, so invert a desaturated copy of it. */
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.94) contrast(1.08) brightness(0.82) sepia(0.18);
}

.foot__body {
  padding-top: 2.75rem;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom));
}

.foot__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.25rem;
}

.foot__grid + .foot__block { margin-top: 2.25rem; }

.foot__block p {
  margin-top: 0.6875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.foot__block a { border-bottom: 1px solid transparent; transition: border-color 0.18s ease; }
.foot__block a:hover { border-color: var(--rule); }

.hours {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
}

.hours > div {
  display: flex;
  align-items: baseline;
  padding-block: 0.4375rem;
  border-top: 1px solid var(--rule-soft);
}
.hours > div:last-child { border-bottom: 1px solid var(--rule-soft); }

.hours dt { color: #cdc7bf; }

.hours dd {
  flex: none;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: #cdc7bf;
}

.foot .btn--block { margin-top: 2.25rem; }

.colophon {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}
.colophon a { border-bottom: 1px solid var(--rule); }

/* ── Sticky mobile order button ──────────────────────────── */

.dock {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 25;
  display: none;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--amber);
  color: #17120a;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 1rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

@media (max-width: 40rem) {
  .dock { display: flex; }
  .is-stuck .dock {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }
  /* step aside once the footer shows its own order button */
  .is-stuck.at-footer .dock {
    opacity: 0;
    transform: translate(-50%, 1rem);
    pointer-events: none;
  }
  /* the dock replaces the top-bar button on small screens */
  .topbar .btn { display: none; }
}

/* ── Fine tuning ─────────────────────────────────────────── */

@media (max-width: 22rem) {
  :root { --gut: 1.125rem; }
  .item__desc { font-size: 0.78125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body::before, .topbar, .chips, .dock, .map, .cta { display: none !important; }
  body { background: #fff; color: #000; }
  .item__lead { border-color: #999; }
}
