/* Leon's steakhouse – konceptförslag. Mobil först. Mörkt läge är huvudläget. */
:root {
  --bg: #0d0b0a;
  --bg-2: #15110f;
  --surface: #1c1715;
  --surface-2: #26201d;
  --line: #3a302b;
  --text: #f4ece6;
  --muted: #b8aaa0;
  --ember: #ff6a2b;
  --ember-2: #ff8f4d;
  --ember-ink: #1a0b03;
  --red: #b3261e;
  --ok: #6fd08c;
  --focus: #ffb37a;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --radius: 14px;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f1ea;
  --bg-2: #efe6dc;
  --surface: #ffffff;
  --surface-2: #f3ebe2;
  --line: #ddd0c3;
  --text: #1d1512;
  --muted: #6a5a50;
  --ember: #c4440f;
  --ember-2: #a8380a;
  --ember-ink: #ffffff;
  --red: #9e1f17;
  --ok: #1f7a3c;
  --focus: #c4440f;
  --shadow: 0 18px 40px -22px rgba(60, 30, 10, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 9vw, 4.4rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ember); color: var(--ember-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Konceptbanner */
.concept-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--red); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; }
.concept-banner svg { width: 16px; height: 16px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo-main { font-family: var(--display); font-weight: 900; font-size: 1.9rem; letter-spacing: .06em; color: var(--text); }
.logo-main::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); vertical-align: .55em; }
.logo-main.small { font-size: 1.6rem; }
.logo-sub { white-space: nowrap; font-size: .62rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }

.nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-2); border-bottom: 1px solid var(--line); display: none; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.nav a { display: block; padding: 13px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav a:hover { color: var(--ember); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font: 700 .85rem var(--body); }
.icon-btn:hover { border-color: var(--ember); }
.icon-btn svg { width: 20px; height: 20px; }
:root[data-theme="dark"] .i-moon, :root[data-theme="light"] .i-sun { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ''; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.call-cta span { display: none; }
.call-cta { width: 44px; padding: 0; justify-content: center; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-ember { background: var(--ember); color: var(--ember-ink); box-shadow: 0 8px 24px -10px var(--ember); }
.btn-ember:hover { background: var(--ember-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ember); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { position: relative; min-height: min(88svh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: #0d0b0a; color: #f4ece6; isolation: isolate; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,11,10,.25) 0%, rgba(13,11,10,.45) 40%, rgba(13,11,10,.94) 100%), radial-gradient(80% 60% at 20% 100%, rgba(255,106,43,.18), transparent 70%); }
.hero-content { padding-top: 120px; padding-bottom: 48px; }
/* Mobil: bilden i övre delen, texten under, så att steken syns skarpt. */
@media (max-width: 959px) {
  .hero-media img { bottom: auto; height: 58%; object-position: 55% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(13,11,10,.15) 0%, rgba(13,11,10,.1) 30%, rgba(13,11,10,.85) 52%, #0d0b0a 60%), radial-gradient(90% 40% at 20% 100%, rgba(255,106,43,.16), transparent 70%); }
  .hero-content { padding-top: 46vh; }
}
.hero h1 { font-size: clamp(2.7rem, 11vw, 5.6rem); text-transform: uppercase; max-width: 16ch; margin: 10px 0 16px; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero-lead { font-size: 1.08rem; color: #e3d6cc; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero .btn-ghost { color: #f4ece6; border-color: rgba(244,236,230,.4); background: rgba(13,11,10,.35); }
.hero .btn-ghost:hover { border-color: #ff6a2b; }
.hero .btn-ember { background: #ff6a2b; color: #1a0b03; }
.hero .kicker { color: #ff8f4d; }

/* Den enda effekten: heron tonar in mjukt. */
.js .hero-media img, .js .hero-content > * { opacity: 0; }
.ready .hero-media img { animation: heroImg 1.6s ease-out forwards; }
.ready .hero-content > * { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.ready .hero-content > :nth-child(2) { animation-delay: .15s; }
.ready .hero-content > :nth-child(3) { animation-delay: .25s; }
.ready .hero-content > :nth-child(4) { animation-delay: .4s; }
.ready .hero-content > :nth-child(5) { animation-delay: .5s; }
@keyframes heroImg { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .hero-content > * { opacity: 1 !important; animation: none !important; }
}

.status { margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(13,11,10,.65); border: 1px solid rgba(244,236,230,.18); font-weight: 600; font-size: .92rem; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #e0574a; }
.status.is-open .dot { background: #6fd08c; box-shadow: 0 0 0 4px rgba(111,208,140,.2); }

.kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--ember); }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 52ch; }
.fine { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }

/* Sektioner */
.section { padding: 72px 0; }
.section-head { margin-bottom: 24px; }
.section-head h2 { margin-top: 8px; }

/* Lunch */
.lunch { background: var(--bg-2); }
.lunch-grid { display: grid; gap: 28px; }
.lunch-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.lunch-body h2 { margin: 8px 0 14px; }
.lunch-facts { display: grid; gap: 10px; margin: 24px 0 14px; }
.lunch-facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.lunch-facts dt { font-weight: 600; }
.lunch-facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ember); }
.lunch-facts dd.placeholder { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--muted); border: 1px dashed var(--line); padding: 2px 10px; border-radius: 999px; }

/* Meny */
.example-flag { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--ember); background: color-mix(in srgb, var(--ember) 9%, transparent); margin-bottom: 22px; }
.example-flag strong { color: var(--ember); }
.example-flag span { font-size: .9rem; color: var(--muted); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -16px 10px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 700 .95rem var(--body); cursor: pointer; }
.tab:hover { border-color: var(--ember); }
.tab[aria-selected="true"] { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); }
.menu-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.dish { display: grid; grid-template-columns: 112px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dish-media { position: relative; background: var(--surface-2); }
.dish-media img { width: 100%; height: 100%; min-height: 128px; object-fit: cover; }
.dish-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish h3 { font-size: 1.35rem; text-transform: uppercase; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ember); white-space: nowrap; }
.dish p { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.badge { align-self: flex-start; margin-top: auto; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; border: 1px dashed var(--ember); color: var(--ember); }

/* Boka */
.book-grid { display: grid; gap: 32px; }
.book-intro h2 { margin: 8px 0 14px; }
.phone-card { margin-top: 26px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.phone-label { color: var(--muted); font-weight: 600; }
.phone-number { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: .02em; margin: 4px 0 14px; }
.phone-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book-card { padding: 22px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: 500 1rem var(--body); }
.field input:focus-visible, .field select:focus-visible { outline-offset: 1px; border-color: var(--ember); }
.field select:disabled { opacity: .6; }
.field [aria-invalid="true"] { border-color: #e0574a; }
.form-err { color: #ff8a7a; font-weight: 600; margin-bottom: 12px; }
:root[data-theme="light"] .form-err { color: #b3261e; }
.book-card .fine { margin-top: 12px; }
.book-done { text-align: center; padding: 18px 4px; }
.book-done svg { width: 52px; height: 52px; color: var(--ok); margin: 0 auto 12px; }
.book-done h3 { font-size: 2rem; margin-bottom: 10px; }
.book-done p { color: var(--muted); margin-bottom: 18px; }

/* Sällskap */
.groups { position: relative; padding: 96px 0; overflow: hidden; isolation: isolate; color: #f4ece6; }
.groups-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.groups-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,11,10,.92) 0%, rgba(13,11,10,.75) 55%, rgba(13,11,10,.45) 100%); }
.groups-inner { max-width: 1180px; }
.groups h2 { margin: 8px 0 14px; max-width: 14ch; }
.groups .lead { color: #e3d6cc; margin-bottom: 24px; }
.groups .kicker { color: #ff8f4d; }
.groups .btn-ember { background: #ff6a2b; color: #1a0b03; }

/* Hitta hit */
.find-grid { display: grid; gap: 16px; }
.find-card { padding: 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.find-card h3 { margin-bottom: 12px; text-transform: uppercase; }
.find-card h3:not(:first-child) { margin-top: 20px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td span { display: block; }
.hours tr.today th, .hours tr.today td { color: var(--ember); font-weight: 700; }
.hours tr.today { background: color-mix(in srgb, var(--ember) 10%, transparent); }
.today-tag { display: inline-block; margin-left: 8px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; padding: 2px 7px; border-radius: 999px; background: var(--ember); color: var(--ember-ink); vertical-align: 2px; }
.addr { font-style: normal; font-size: 1.05rem; margin-bottom: 4px; }
.addr a { text-decoration-color: var(--ember); text-underline-offset: 3px; }
.find-card .btn { margin-top: 22px; }
.find-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--radius); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0 44px; font-size: .9rem; color: var(--muted); }
.footer-inner { display: grid; gap: 20px; }
.footer-meta p { margin-bottom: 6px; }
.footer-meta strong { color: var(--text); }
.site-footer summary { cursor: pointer; font-weight: 600; color: var(--text); min-height: 32px; display: flex; align-items: center; }
.credits { margin-top: 6px; line-height: 1.6; }

/* Större skärmar */
.logo-town { display: none; }
@media (min-width: 640px) {
  .logo-town { display: inline; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .dish { grid-template-columns: 1fr; }
  .dish-media img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
  .call-cta span { display: inline; }
  .call-cta { width: auto; padding: 0 18px; }
}
@media (min-width: 960px) {
  .wrap { padding: 0 32px; }
  .nav { position: static; display: block; background: none; border: 0; }
  .nav ul { display: flex; gap: 4px; padding: 0; }
  .nav a { border: 0; padding: 10px 12px; border-radius: 8px; font-size: .95rem; }
  .nav-toggle { display: none; }
  .logo { margin-right: 0; }
  .header-inner { justify-content: space-between; }
  .section { padding: 110px 0; }
  .hero-content { padding-bottom: 80px; }
  .lunch-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 64px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .book-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .book-card { padding: 32px; }
  .groups { padding: 140px 0; }
  .find-grid { grid-template-columns: 1fr 1fr 1.2fr; }
  .footer-inner { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .tabs { margin: 0 0 10px; padding-left: 2px; padding-right: 2px; }
}
@media (min-width: 1180px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}
