/* Kafé Bryggan — varm, redaktionell, runda former. Demo-sajt. */

:root {
  --cream: #f6efe2;
  --paper: #fffbf3;
  --ink: #2c2014;
  --ink-soft: #5b4b39;
  --terracotta: #bd5a35;
  --terracotta-deep: #93412a;
  --olive: #6d7a4d;
  --line: rgba(44, 32, 20, 0.14);
  --radius: 22px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- demo-badge, obligatorisk på alla demosidor ---------- */
.demo-badge {
  position: fixed;
  z-index: 9999;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #17140f;
  color: #fdf8ee;
  font: 600 12.5px/1 "Inter", system-ui, sans-serif;
  letter-spacing: .01em;
  padding: 11px 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.demo-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ee39b;
  flex: none;
}
.demo-badge:hover { background: #000; }
@media (max-width: 480px) {
  .demo-badge { font-size: 11.5px; padding: 9px 12px; right: 10px; bottom: 10px; }
}

/* ---------- topp-nav ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 239, 226, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.top__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid;
  place-items: center;
  flex: none;
}
.brand__mark svg { width: 20px; height: 20px; stroke: #fff; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  font-style: italic;
}
.nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
}
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--terracotta-deep); }
.top__cta {
  background: var(--terracotta);
  color: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.top__cta:hover { background: var(--terracotta-deep); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav { display: none; }
  .top__cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper);
  }
}

.sheet {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.sheet.is-open { display: flex; }
.sheet a {
  padding: 12px 6px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.sheet a:last-child { border-bottom: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(189,90,53,.22), transparent 70%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(109,122,77,.18), transparent 70%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .8fr;
  gap: 48px;
  align-items: center;
}
.hero__kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terracotta-deep);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}
.hero p.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.btn--fill { background: var(--terracotta); color: #fff; }
.btn--fill:hover { background: var(--terracotta-deep); transform: translateY(-1px); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.hero__card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 30px 60px -30px rgba(44,32,20,.35);
  border: 1px solid var(--line);
}
.hero__card p.tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 16px;
}
.hero__card ul {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hero__card li { display: flex; justify-content: space-between; gap: 10px; }
.hero__card b { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 72px; }
}

/* ---------- sektionsrubrik ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 640px; margin: 0 0 48px; }
.head .kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terracotta-deep);
  margin: 0 0 12px;
}
.head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 14px;
  line-height: 1.1;
}
.head p { color: var(--ink-soft); margin: 0; font-size: 16.5px; }
.kicker--tight { margin-bottom: 12px; }

/* ---------- om oss ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about__heading { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 36px); margin: 0 0 18px; line-height: 1.15; }
.about__art {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 45%),
    linear-gradient(155deg, var(--terracotta) 0%, var(--terracotta-deep) 55%, #6d3a24 100%);
  position: relative;
  overflow: hidden;
}
.about__art svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.about__text p { color: var(--ink-soft); font-size: 16px; margin: 0 0 18px; }
.about__text p:last-child { margin-bottom: 0; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about__stats b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--terracotta-deep); }
.about__stats span { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 780px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__art { aspect-ratio: 16/9; }
}

/* ---------- meny ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.menu-cat h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 18px;
  color: var(--terracotta-deep);
}
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item__name { font-weight: 600; font-size: 15.5px; }
.menu-item__desc { font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 2px; }
.menu-item__leader { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.menu-item__price { font-family: var(--font-body); font-weight: 700; font-size: 15px; white-space: nowrap; }
.menu-note { margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 780px) {
  .menu-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- hitta hit ---------- */
.find { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.find__card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.find__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 18px;
}
.find__row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.find__row:first-of-type { border-top: none; }
.find__row svg { flex: none; margin-top: 2px; color: var(--terracotta); }
.find__row div { color: var(--ink-soft); }
.find__row b { display: block; color: var(--ink); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 9px 0; border-top: 1px solid var(--line); }
.hours tr:first-child td { border-top: none; }
.hours td:last-child { text-align: right; font-weight: 600; }

@media (max-width: 780px) {
  .find { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- kontakt ---------- */
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
}
.contact-panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 14px;
}
.contact-panel p { color: var(--ink-soft); margin: 0 0 20px; font-size: 15.5px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
}
.form-note { font-size: 12.5px; color: var(--ink-soft); margin: 14px 0 0; }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(109,122,77,.16);
  color: #47502f;
  font-size: 14px;
  font-weight: 600;
}
.form-status[hidden] { display: none; }

@media (max-width: 780px) {
  .contact-panel { grid-template-columns: 1fr; padding: 26px; }
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 100px;
}
.foot__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--terracotta-deep); }

.reveal { animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }
