/* ══════════════════════════════════════════════════════════
   MaykasKitchen – produktsajt för boken "Maykas gröna kök"
   Palett ur bokomslaget: mörkgrön, terrakotta, senap, gräddvit
   ══════════════════════════════════════════════════════════ */

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

:root {
  --scen-topp: #2C2557;  /* indigo upptill, som i Maykas story */
  --scen-mitt: #25213F;
  --namn-rod:  #E3414F;  /* 3,4:1 mot indigo, klarar stor text */
  --namn-guld-a: #F0B444;
  --namn-guld-b: #D18F33;
  --mint:      #9FD5CE;
  --green:    #1C4229;
  --green-dk: #12301D;
  --green-lt: #2F6A45;
  --terra:    #B23E24;   /* 4,9:1 mot krämvit text; omslagets ton är #C45335 */
  --terra-dk: #962F19;
  --gold:     #E3A93B;
  --gold-lt:  #F1C76B;
  --cream:    #F4EBDC;
  --cream-2:  #EADFCB;
  --ink:      #14201A;
  --mid:      #5B665E;
  --line:     rgba(20,32,26,0.12);

  --display: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Poppins', system-ui, sans-serif;

  --bw: clamp(150px, 24vw, 320px);            /* bokens bredd  */
  --bh: calc(var(--bw) * 1.395);               /* bokens höjd   */
  --bd: calc(var(--bw) * 0.115);               /* bokens tjocklek */
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* ── Typografi ──────────────────────────────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
.kicker::before { content: ''; width: 1.6rem; height: 1px; background: currentColor; opacity: 0.8; }
.kicker-terra { color: var(--terra); }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.display-l1, .display-l2 { display: block; }
.display-l1 { font-size: clamp(4rem, 14.5vw, 12.5rem); color: #DE6E4C; }   /* 3,5:1 mot scenens grön */
.display-l2 { font-size: clamp(2.6rem, 9.2vw, 8rem); color: var(--namn-guld-a); }
   /* rutan måste rymma Ö-prickarna, annars målas de inte */
}
.display-sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--cream); margin-top: 1.1rem;
}
.display-md { font-size: clamp(2.6rem, 6.4vw, 5.6rem); color: var(--cream); }
.display-md em { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--gold); }

.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; color: var(--ink);
  margin: 1rem 0 1.2rem;
}
.h2 em { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--terra); }
.lead { font-size: 1.02rem; line-height: 1.7; color: var(--mid); max-width: 34rem; }

/* ── Knappar ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0.9rem 1.9rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.84rem; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; max-width: 100%; text-align: center;
  transition: translate 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { translate: 0 -2px; }
.btn-terra { background: var(--terra); color: var(--cream); }
.btn-terra:hover { background: var(--terra-dk); }
.btn-ghost { border-color: rgba(244,235,220,0.55); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(244,235,220,0.08); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--green); }
.btn-lg { padding: 1.1rem 2.3rem; font-size: 0.9rem; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 5vw;
  color: var(--cream);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { font-family: var(--serif); font-size: clamp(1.05rem, 5.2vw, 1.45rem); font-weight: 600; letter-spacing: 0.04em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { list-style: none; display: flex; gap: clamp(0.9rem, 1.7vw, 2rem); }
.nav-links a { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; opacity: 0.9; padding: 0.4rem 0; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 0.8rem; flex: none; }
.nav-buy {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0.5rem 1.2rem;
  border-radius: 999px; background: var(--terra); color: var(--cream);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none;
  transition: background 0.25s ease;
}
.nav-buy:hover { background: var(--terra-dk); }
.lang-toggle {
  min-width: 44px; min-height: 44px; background: transparent; border: 1.5px solid currentColor;
  color: inherit; font-family: var(--sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em;
  padding: 0.3rem 0.7rem; border-radius: 999px; cursor: pointer; opacity: 0.85;
}
.lang-toggle:hover { opacity: 1; }
.site-header.on-scroll {
  background: rgba(244,235,220,0.94); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line); padding: 0.8rem 5vw;
}

/* Hamburgare */
.nav-hamburger {
  display: none; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; color: inherit;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-hamburger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 99;
  background: var(--green-dk); color: var(--cream);
  padding: 6rem 2rem 2rem; transform: translateX(100%); visibility: hidden;
  transition: transform 0.4s cubic-bezier(.7,0,.2,1), visibility 0s linear 0.4s;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-nav-links a {
  font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; text-decoration: none;
  padding: 0.6rem 0; border-bottom: 1px solid rgba(244,235,220,0.12);
}
.mobile-nav-book { margin-top: 1.4rem; color: var(--gold) !important; border: none !important; }
.mobile-nav-overlay { position: fixed; inset: 0; z-index: 98; background: rgba(18,48,29,0.55); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════════════════════════
   HERO – fastnålad scen med 3D-bok
   ══════════════════════════════════════════════════════════ */
.stage { position: relative; background: var(--green); color: var(--cream); }
.stage-inner { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.stage-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(47,106,69,0.55), transparent 70%),
    radial-gradient(40% 35% at 85% 85%, rgba(227,169,59,0.12), transparent 70%),
    linear-gradient(180deg, #17361F 0%, var(--green) 55%, #21492E 100%);
}
.stage-bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.35;
  background-image:
    linear-gradient(rgba(244,235,220,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,235,220,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.slide {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 5vw; opacity: 0; visibility: hidden;
}
.slide-1 .kicker { margin-bottom: 1.4rem; }
.slide-2, .slide-3, .slide-4 {
  inset: auto; top: 50%; transform: translateY(-50%); z-index: 3;
  max-width: 30rem; align-items: flex-start; text-align: left; padding: 0;
}
.slide-2, .slide-4 { right: 6vw; }
.slide-3 { left: 6vw; }
.slide-quote-lg { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-top: 1rem; }
.slide-body { margin-top: 1.2rem; font-size: 1rem; line-height: 1.7; color: rgba(244,235,220,0.85); }
.slide-quote { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; color: var(--cream); }
.slide-by { display: block; margin-top: 0.8rem; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.slide-side { position: absolute; left: 6vw; bottom: calc(9vh + 72px); z-index: 3; max-width: 22rem; opacity: 0; visibility: hidden; }
.stage-cta { position: absolute; left: 6vw; bottom: 9vh; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.stage-cta .pris { margin-right: 0.3rem; }
.side-kicker { display: none; margin-bottom: 0.9rem; }
.side-text { font-size: 0.92rem; line-height: 1.7; color: rgba(244,235,220,0.85); }
.side-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 1.3rem; }
.pris { font-family: var(--display); font-size: 1.35rem; color: var(--gold); letter-spacing: 0.04em; white-space: nowrap; }
.pris-rad { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.slide.is-on, .slide-side.is-on { opacity: 1; visibility: visible; }
.slide-1 { pointer-events: none; }

/* 3D-boken: canvasen täcker hela scenen, boken centreras av kameran */
.book-float { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#bok-canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease; }
#bok-canvas.redo { opacity: 1; }
.book-fallback { position: absolute; left: 50%; top: 50%; height: 56%; aspect-ratio: 1100 / 1534; max-width: 70vw; transform: translate(-50%, -50%); border-radius: 2px 6px 6px 2px; overflow: hidden; background: #1c4229 center / cover no-repeat; box-shadow: -3px 0 0 #12301d, 0 40px 70px -24px rgba(0,0,0,0.7); transition: opacity 0.6s ease; }
.book-fallback img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.book-fallback.dold { opacity: 0; }

.scroll-hint {
  position: absolute; right: 6vw; bottom: 8vh; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(244,235,220,0.6);
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ── Sektionsbyten: rundat övre hörn som lägger sig över föregående block, ornament överst ── */
.inne, .kok, .siffror, .om, .cta, .slut { position: relative; border-radius: 32px 32px 0 0; margin-top: -32px; }
.inne { z-index: 2; } .kok { z-index: 3; } .siffror { z-index: 4; } .om { z-index: 5; } .cta { z-index: 6; } .slut { z-index: 7; }
.site-footer { position: relative; z-index: 8; }
.seam { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin: 0 auto 2.6rem; width: 100%; max-width: 1240px; }
.seam span { flex: 1; max-width: 5.5rem; height: 1px; background: currentColor; opacity: 0.35; }
.seam i { width: 8px; height: 8px; transform: rotate(45deg); background: currentColor; opacity: 0.8; }
.inne .seam, .om .seam { color: var(--terra); }
.kok .seam { color: var(--terra-dk); }
.siffror .seam, .slut .seam { color: var(--gold); }
.cta .seam { color: var(--cream); }
.kok .seam, .siffror .seam, .slut .seam { margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════════
   VAD FINNS I BOKEN
   ══════════════════════════════════════════════════════════ */
.inne { padding: 4.5rem 6vw 6rem; background: var(--cream); }
.inne-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: 1240px; margin: 0 auto; }
.inne-media { position: relative; padding: 2.2rem 0 0 2.2rem; }
.inne-block { position: absolute; left: 0; top: 0; right: 2.2rem; aspect-ratio: 1200 / 1219; background: var(--terra); border-radius: 4px; }
.inne-media { margin: 0; }
.inne-media img { position: relative; border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(20,32,26,0.5); width: 100%; height: auto; }
.inne-media .bokcitat { position: relative; margin: 1.6rem 0 0 0; }
.inne-text .lead { margin-bottom: 2rem; }
.inne .pris { color: var(--terra-dk); }

.fakta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 2.2rem; margin: 0 0 0.6rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fakta div { display: flex; flex-direction: column; gap: 0.15rem; }
.fakta .fakta-isbn { grid-column: 1 / -1; margin-top: 0.7rem; }
.fakta-isbn dd { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.04em; }
.fakta dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); }
.fakta dd { font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pelare { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2.2rem; }
.pelare li { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.pelare li:last-child { border-bottom: none; padding-bottom: 0; }
.pelare strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.pelare p { font-size: 0.92rem; color: var(--mid); line-height: 1.65; }

.bokcitat { border-left: 3px solid var(--terra); padding: 0.3rem 0 0.3rem 1.4rem; margin-bottom: 2.2rem; }
.bokcitat p { font-family: var(--serif); font-style: italic; font-size: 1.32rem; line-height: 1.45; color: var(--ink); }
.bokcitat cite { display: block; margin-top: 0.7rem; font-style: normal; font-size: 0.76rem; color: var(--mid); }
.bokcitat cite em { font-style: italic; }
.kalla { margin: 0 0 2rem; font-size: 0.78rem; color: var(--mid); }
.via { margin-top: 0.7rem; font-size: 0.8rem; color: var(--mid); }
.slut .via { color: rgba(244,235,220,0.7); margin-top: 0.2rem; }

.inne-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1240px; margin: 6rem auto 0; }
.inne-band figure { margin: 0; }
.inne-band img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.inne-band figcaption { margin-top: 0.6rem; font-size: 0.8rem; color: var(--mid); }
.inne-band .band-mitt { transform: translateY(2.5rem); }

/* ══════════════════════════════════════════════════════════
   UR MAYKAS KÖK
   ══════════════════════════════════════════════════════════ */
.kok { padding: 4rem 6vw 7rem; background: linear-gradient(180deg, #F1DFB4 0%, #E9CB8C 60%, #E3BE74 100%); color: var(--ink); }
.kok .kicker { color: var(--ink); }
.kok .h2 em { color: var(--terra-dk); }
.kok .lead { color: rgba(20,32,26,0.75); margin: 0 auto 2rem; }
.kok-head { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; display: flex; flex-direction: column; align-items: center; }
.kok-hero { max-width: 1240px; margin: 0 auto 1.2rem; }
.kok-hero img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(20,32,26,0.5); }
.kok-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1240px; margin: 0 auto; }
.kok-bild { display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 4; background: var(--cream-2); }
.kok-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.kok-bild:hover img { transform: scale(1.05); }

/* ══════════════════════════════════════════════════════════
   SIFFROR
   ══════════════════════════════════════════════════════════ */
.siffror { padding: 4rem 6vw 7rem; background: var(--green-dk); color: var(--cream); text-align: center; }
.siffror .h2 { color: var(--cream); }
.siffror .h2 em { color: var(--gold); }
.siffror-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 3.5rem; }
.tal { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto 3rem; }
.tal li { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.6rem 1rem; border: 1px solid rgba(244,235,220,0.14); border-radius: 6px; }
.tal strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.9vw, 3.2rem); line-height: 1; color: var(--gold); white-space: nowrap; }
.tal span { font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(244,235,220,0.75); }
.tal-total { background: rgba(196,72,43,0.18); border-color: rgba(196,72,43,0.5) !important; }
.tal-total strong { color: var(--cream); }
.tal-kalla { font-size: 0.78rem; color: rgba(244,235,220,0.6); margin: -1.8rem 0 2.2rem; }
.brands-gammal { font-size: 0.78rem; color: rgba(244,235,220,0.65); display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; align-items: baseline; }
.brands b { font-family: var(--display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); }

/* ══════════════════════════════════════════════════════════
   OM MAYKA
   ══════════════════════════════════════════════════════════ */
.om { background: var(--cream); padding-top: 4rem; }
.om-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: 1240px; margin: 0 auto; padding: 0 6vw 8rem; }
.om-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.om-roles { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra); margin: -0.4rem 0 1.4rem; }
.om-body { font-family: var(--serif); font-size: 1.32rem; line-height: 1.55; color: var(--ink); max-width: 34rem; }
.om-sign { display: block; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--terra); margin: 1rem 0 2.2rem; }

.social-huvud {
  display: flex; align-items: center; gap: 1rem; max-width: 26rem;
  padding: 1rem 1.2rem; border-radius: 12px; background: var(--ink); color: var(--cream);
  text-decoration: none; transition: translate 0.25s ease, background 0.25s ease;
}
.social-huvud:hover { translate: 0 -2px; background: var(--green); }
.social-card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(244,235,220,0.1); color: var(--gold); flex: none; }
.social-huvud-text { display: flex; flex-direction: column; line-height: 1.25; }
.social-huvud-namn { font-weight: 600; font-size: 0.92rem; }
.social-card-handle { font-size: 0.78rem; opacity: 0.7; }
.social-huvud-pil { margin-left: auto; font-size: 1.2rem; color: var(--gold); }
.social-ovriga { margin-top: 1rem; font-size: 0.8rem; color: var(--mid); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.social-ovriga a { color: var(--ink); font-weight: 500; text-decoration: none; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid var(--line); }
.social-ovriga a:hover { color: var(--terra); border-color: var(--terra); }

.banner { position: relative; height: clamp(320px, 62vh, 620px); overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,26,0.05) 20%, rgba(20,32,26,0.78)); }
.banner-quote {
  position: absolute; left: 6vw; right: 6vw; bottom: 10%; z-index: 1; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.3; color: var(--cream);
}

/* ══════════════════════════════════════════════════════════
   SAMARBETEN
   ══════════════════════════════════════════════════════════ */
.cta { padding: 4rem 6vw 7rem; background: linear-gradient(180deg, #B0452D 0%, #A33F2A 100%); color: var(--cream); }
.cta-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.cta .kicker { color: var(--cream); }
.cta .h2 { color: var(--cream); }
.cta .h2 em { color: var(--cream); }
.cta .lead { color: var(--cream); }
.cta-card { background: var(--cream); color: var(--ink); border-radius: 12px; padding: 2.2rem; }
.cta-card-body { font-size: 0.92rem; color: var(--mid); margin-bottom: 1.2rem; }
.collab-list { list-style: none; display: flex; flex-direction: column; margin-bottom: 1.8rem; }
.collab-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; display: flex; gap: 0.7rem; align-items: center; }
.collab-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); flex: none; }
.cta-email { width: 100%; max-width: 100%; font-size: 0.95rem; letter-spacing: 0; overflow-wrap: anywhere; text-align: center; }

/* ══════════════════════════════════════════════════════════
   SLUT – tillbaka till boken
   ══════════════════════════════════════════════════════════ */
.slut { background: var(--green); color: var(--cream); padding: 4rem 6vw 7rem; }
.slut-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.slut-bok { width: min(100%, 420px); justify-self: center; border-radius: 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); }
.slut-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.slut-title { margin: 0.2rem 0 0.4rem; }
.slut-body { font-size: 1rem; color: rgba(244,235,220,0.8); margin-bottom: 1rem; }
.slut .pris { font-size: 1.6rem; }
.slut-isbn { font-size: 0.78rem; letter-spacing: 0.12em; color: rgba(244,235,220,0.75); margin-top: 0.6rem; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer { background: var(--green-dk); color: var(--cream); padding: 4.5rem 6vw 2rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem; max-width: 1240px; margin: 0 auto 3rem; }
.footer-top > * { min-width: 0; }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.04em; }
.footer-tagline { margin-top: 0.8rem; font-size: 0.85rem; line-height: 1.7; color: rgba(244,235,220,0.7); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(244,235,220,0.25); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-decoration: none;
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.site-footer h4 { font-family: var(--display); font-weight: 400; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; color: var(--gold); }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.footer-links a { font-size: 0.86rem; text-decoration: none; opacity: 0.8; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-newsletter p { font-size: 0.86rem; color: rgba(244,235,220,0.7); margin-bottom: 1rem; }
.footer-nl-form { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-nl-form input {
  flex: 1 1 10rem; width: auto; min-width: 0; min-height: 46px; padding: 0.6rem 1rem; border-radius: 999px;
  border: 1px solid rgba(244,235,220,0.25); background: rgba(244,235,220,0.06); color: var(--cream); font-family: var(--sans); font-size: 0.86rem;
}
.footer-nl-form input::placeholder { color: rgba(244,235,220,0.5); }
.footer-nl-form button { min-height: 46px; padding: 0.6rem 1.3rem; border-radius: 999px; border: none; background: var(--gold); color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: 0.8rem; cursor: pointer; }
.footer-nl-form button:hover { background: var(--gold-lt); }
.footer-nl-form button:disabled, .nl-popup-form button:disabled { opacity: 0.6; cursor: wait; }
.nl-tack { font-size: 0.9rem; color: var(--gold); margin-top: 0.6rem; }
.nl-fel { font-size: 0.85rem; color: #ffb4a0; margin-top: 0.6rem; }
.nl-popup .nl-fel { color: var(--terra-dk); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding-top: 1.6rem; border-top: 1px solid rgba(244,235,220,0.12); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.74rem; color: rgba(244,235,220,0.55); }
.td-pixel { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.footer-by a { color: var(--gold); text-decoration: none; font-weight: 600; display: inline-block; padding: 14px 0; margin: -14px 0; }

/* ══════════════════════════════════════════════════════════
   FAST KÖPRAD – bara på mobil, ett tryck till köp från varje skärm
   ══════════════════════════════════════════════════════════ */
.kopbar { display: none; }
@media (max-width: 760px) {
  .kopbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; gap: 0.75rem;
    min-height: 64px; padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--terra); color: var(--cream); text-decoration: none;
    box-shadow: 0 -10px 30px -12px rgba(0,0,0,0.45);
  }
  .kopbar img { width: 30px; height: 42px; object-fit: cover; border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,0.35); flex: none; }
  .kopbar-text { display: flex; flex-direction: column; line-height: 1.2; }
  .kopbar-text b { font-size: 0.95rem; font-weight: 600; }
  .kopbar-pris { margin-left: auto; font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.02em;  white-space: nowrap; flex: none; }
  body { padding-bottom: 64px; }
}

/* ══════════════════════════════════════════════════════════
   NYHETSBREVS-POPUP
   ══════════════════════════════════════════════════════════ */
.nl-popup-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(18,48,29,0.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 0.4s, visibility 0s linear 0.4s; }
.nl-popup-overlay.visible { opacity: 1; pointer-events: all; visibility: visible; transition-delay: 0s; }
.nl-popup {
  position: fixed; left: 50%; top: 50%; z-index: 201; width: min(92vw, 440px);
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: 18px;
  transform: translate(-50%, -46%) scale(0.96); opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.4s, transform 0.4s cubic-bezier(.2,.8,.2,1), visibility 0s linear 0.4s;
}
.nl-popup.visible { opacity: 1; pointer-events: all; visibility: visible; transition-delay: 0s; transform: translate(-50%, -50%) scale(1); }
.nl-popup-inner { position: relative; background: var(--cream); color: var(--ink); border-radius: 18px; padding: 2.6rem 2rem 2rem; text-align: center; border-top: 6px solid var(--terra); }
.nl-popup-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 48px; height: 48px; border: none; background: transparent; font-size: 1.1rem; color: var(--mid); cursor: pointer; border-radius: 50%; }
.nl-popup-close:hover { background: var(--cream-2); color: var(--ink); }
.nl-popup-badge { display: inline-block; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--terra); background: rgba(196,72,43,0.1); padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1rem; }
.nl-popup-title { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.1; text-transform: uppercase; }
.nl-popup-title em { font-family: var(--serif); font-style: italic; text-transform: none; color: var(--terra); }
.nl-popup-sub { font-size: 0.86rem; color: var(--mid); margin: 0.9rem 0 1.4rem; line-height: 1.6; }
.nl-popup-form { display: flex; flex-direction: column; gap: 0.6rem; }
.nl-popup-form input { min-height: 48px; padding: 0.7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--sans); font-size: 0.9rem; text-align: center; }
.nl-popup-form button { min-height: 48px; border-radius: 999px; border: none; background: var(--terra); color: var(--cream); font-family: var(--sans); font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.nl-popup-form button:hover { background: var(--terra-dk); }
.nl-popup-success { font-size: 0.95rem; font-weight: 500; color: var(--green); padding: 1rem 0; }
.nl-popup-divider { display: flex; align-items: center; gap: 0.8rem; margin: 1.3rem 0 1rem; font-size: 0.72rem; color: var(--mid); }
.nl-popup-divider::before, .nl-popup-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.nl-popup-book { display: flex; align-items: center; gap: 0.9rem; text-align: left; text-decoration: none; padding: 0.8rem 1rem; border-radius: 12px; background: var(--green-dk); color: var(--cream); }
.nl-popup-book img { width: 44px; height: 61px; object-fit: cover; border-radius: 2px; flex: none; }
.nl-popup-book > div { flex: 1; min-width: 0; }
.nl-popup-book strong { display: block; font-size: 0.9rem; }
.nl-popup-book span:not(.nl-popup-arrow) { font-size: 0.74rem; opacity: 0.75; }
.nl-popup-arrow { margin-left: auto; color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVT
   ══════════════════════════════════════════════════════════ */
@media (min-width: 761px) {
  /* Underrubriken hamnar under boken i stället för bakom den */
  .slide-1 .display-sub { position: absolute; left: 0; right: 0; bottom: 9vh; margin: 0; text-align: center; }
  .slide-1 .kicker { display: none; }
  .side-kicker { display: inline-flex; }
  .slide-1 { justify-content: center; padding-bottom: 6vh; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tal { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-buy { display: none; }
  :root { --bw: clamp(140px, 46vw, 230px); }

  .slide-1 { justify-content: flex-start; padding-top: 11vh; }
  .kicker { font-size: 0.75rem; }
  .stage-cta { display: none; }
  .book-fallback { top: 53%; height: 46%; }   /* samma plats som 3D-boken på telefon */
  .display-l1 { font-size: clamp(3.6rem, 19vw, 6rem); }
  .display-l2 { font-size: clamp(2rem, 11vw, 3.6rem); }
  .display-sub { font-size: 1.25rem; margin-top: 0.7rem; }
  .slide-side { left: 5vw; right: 5vw; bottom: calc(64px + 2.5vh); max-width: none; text-align: center; }
  .side-text { font-size: 0.86rem; }
  .side-actions { justify-content: center; }
  .slide-2, .slide-3, .slide-4 { inset: auto 5vw calc(64px + 2.5vh) 5vw; top: auto; transform: none; max-width: none; align-items: center; text-align: center; }
  .display-md { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .slide-body { font-size: 0.9rem; }
  .scroll-hint { display: none; }

  .inne { padding: 3.2rem 5vw 4rem; }
  .inne-grid, .om-grid, .cta-inner { grid-template-columns: 1fr; }
  .fakta { grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1rem; }
  .om-grid { padding: 0 5vw 5rem; }
  .om { padding-top: 3.2rem; }
  .inne, .kok, .siffror, .om, .cta, .slut { border-radius: 24px 24px 0 0; margin-top: -24px; }
  .seam { margin-bottom: 2rem; }
  .inne-media { padding: 1.2rem 0 0 1.2rem; }
  .inne-block { inset: 0 1.2rem 1.2rem 0; }
  .inne-band { grid-template-columns: 1fr; gap: 0; margin-top: 3rem; }
  .inne-band figure:not(.band-mitt) { display: none; }
  .inne-band .band-mitt { transform: none; }
  .kok { padding: 3.2rem 5vw 5rem; }
  .kok-band { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .kok-bild:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .siffror { padding: 3.2rem 5vw 5rem; }
  .tal { gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
  .tal-total { grid-column: 1 / -1; }
  .tal strong { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .nav-right { gap: 0.5rem; }
  .tal li { padding: 1.2rem 0.8rem; }
  .banner { height: 60vw; min-height: 260px; }
  .cta { padding: 3.2rem 5vw 5rem; }
  .cta-card { padding: 1.6rem 1.3rem; }
  .cta-email { font-size: 0.86rem; }
  .slut { padding: 3.2rem 5vw 5rem; }
  .slut-inner { grid-template-columns: 1fr; text-align: center; }
  .slut-bok { width: min(60vw, 240px); }
  .slut-text { align-items: center; }
  .site-footer { padding: 3.5rem 5vw 1.5rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

@media (min-width: 761px) and (max-height: 520px) {
  .display-l1 { font-size: 21vh; }
  .display-l2 { font-size: 13vh; }
  .slide-1 .display-sub, .slide-side-1, .scroll-hint { display: none; }
  .slide-1 .kicker { display: inline-flex; margin-bottom: 0.6rem; }
  .slide-1 { justify-content: flex-start; padding-top: 16vh; }
  .display-md { font-size: 7.5vh; }
  .slide-body, .slide-quote { font-size: 0.85rem; margin-top: 0.6rem; }
  .slide-2, .slide-3, .slide-4 { max-width: 34vw; }
  .stage-cta { bottom: 5vh; gap: 0.5rem; }
  .stage-cta .btn { min-height: 44px; padding: 0.55rem 1.2rem; }
  .book-fallback { height: 62%; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Utan JavaScript: inget göms, scenen läses uppifrån och ner ── */
.no-js .stage-inner { height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; align-items: flex-start; gap: 2.2rem; padding: 110px 6vw 70px; }
.no-js .slide, .no-js .slide-side, .no-js .stage-cta, .no-js .book-float, .no-js .slide-1 .display-sub {
  position: static; inset: auto; transform: none; visibility: visible; opacity: 1; max-width: 38rem; padding: 0; text-align: left; align-items: flex-start;
}
.no-js .slide-1 { justify-content: flex-start; }
.no-js .book-float { width: 100%; }
.no-js .book-fallback { position: static; transform: none; height: auto; width: min(70vw, 340px); display: block; }
.no-js .slide-1 { order: 0; } .no-js .book-float { order: 1; } .no-js .slide-side, .no-js .slide-2, .no-js .slide-3, .no-js .slide-4, .no-js .stage-cta { order: 2; }
.no-js .site-header { background: rgba(244,235,220,0.96); color: var(--ink); position: sticky; }
.no-js .nav-hamburger, .no-js .lang-toggle { display: none; }
.no-js #bok-canvas, .no-js .scroll-hint { display: none; }
.no-js .stage-cta { display: flex; }

/* Receptsidan utan JavaScript (statiska recept) ligger i recept.html */

/* ── Partnerband: loggorna i sina egna färger glider åt vänster ── */
.partner { max-width: 1240px; margin: 0 auto; }
.partner-rubrik { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,235,220,0.75); margin-bottom: 1.1rem; }
.partner-band { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.partner-spar { display: flex; width: max-content; animation: partnerglid 26s linear infinite; }
.partner-band:hover .partner-spar { animation-play-state: paused; }
.partner-lista { display: flex; gap: 1rem; list-style: none; padding-right: 1rem; }
.partner-lista li { flex: none; display: flex; align-items: center; justify-content: center; height: 76px; padding: 0 1.8rem; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,0.6); }
.partner-lista img { display: block; width: auto; }
.p-lc img { height: 24px; } .p-hf img { height: 38px; } .p-we img { height: 42px; } .p-an img { height: 20px; } .p-fi img { height: 22px; }
@keyframes partnerglid { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .partner-lista li { height: 64px; padding: 0 1.3rem; }
  .p-lc img { height: 20px; } .p-hf img { height: 32px; } .p-we img { height: 36px; } .p-an img { height: 17px; } .p-fi img { height: 19px; }
  .partner-spar { animation-duration: 20s; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-spar { animation: none; width: auto; justify-content: center; }
  .partner-lista[aria-hidden="true"] { display: none; }
  .partner-lista { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .partner-band { -webkit-mask-image: none; mask-image: none; }
}

/* ── Smal telefon: popupens köpruta får plats med knapptexten på en rad ── */
@media (max-width: 400px) {
  .nl-popup-inner { padding: 2.3rem 1.2rem 1.4rem; }
  .nl-popup-book { gap: 0.7rem; padding: 0.7rem 0.85rem; }
  .nl-popup-book img { width: 36px; height: 50px; }
}

/* Förstorad text på mellanstora skärmar: loggan krymper hellre än klipps */
@media (min-width: 961px) and (max-width: 1180px) { .nav-logo { font-size: clamp(1.05rem, 2.45vw, 1.45rem); } }

/* ── Nyhetsbrev: vad adressen används till ── */
.nl-integritet { margin-top: 0.7rem; font-size: 0.72rem; line-height: 1.5; color: var(--mid); }
.nl-integritet a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-newsletter .nl-integritet { color: rgba(244,235,220,0.78); }
.footer-priv { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ══ Runda 3 (kvar): knappraden på datorn, Samarbeten ══ */
@media (min-width: 761px) and (min-height: 521px) {
  .stage-cta { bottom: calc(9vh + 16px); }
  .slide-side { bottom: calc(9vh + 16px + 72px); }
  .slide-1 .display-sub { bottom: 3.2vh; }
}

.cta-fakta { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.8rem; }
.cta-fakta li { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(0,0,0,0.12); }
.cta-fakta strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--cream); white-space: nowrap; }
.cta-fakta span { font-size: 0.8rem; line-height: 1.35; color: var(--cream); }
.cta-var { margin-top: 0.9rem; font-size: 0.86rem; color: var(--cream); }
.cta-card-body { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terra-dk); }

@media (max-width: 760px) {
  .kopbar { transition: transform 0.35s ease; }
  .kopbar.viker { transform: translateY(110%); }
}
.footer-priv { display: inline-block; padding: 13px 0; margin: -13px 0; }   /* tryckyta 44 px, samma knep som "Bahko Byrå" */
.cta-fakta-bred { grid-column: 1 / -1; }
.cta-fakta-bred strong { font-size: clamp(1.3rem, 2vw, 1.7rem); }
@media (min-width: 761px) and (max-width: 1000px) { .side-kicker { display: none; } }   /* boken når ner hit på surfplatta */
.cta-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.cta-text .h2 { margin: 0.6rem 0 0.4rem; }
.cta-fakta { align-self: stretch; }

/* ── Logga: M med korshalsband ── */
.logo-mark { width: 36px; height: 36px; margin-right: 0.45rem; flex: none; color: inherit; overflow: visible; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.55rem; }
@media (max-width: 400px) { .logo-mark { width: 32px; height: 32px; margin-right: 0.35rem; } }


