@import url("styles.css") layer(site);
/* SILQ — scrollstyrd 3D-startsida.
   Tre lägen:
     .js:not(.static-mode)  3D: fast canvas bakom, kapitlen är ett scrollspår med sticky textlager
     .static-mode           lugn version (minskad rörelse, ?static, ingen WebGL2): vanliga sektioner med foton
     utan .js               samma som den lugna versionen */

:root {
  --black: #0A0A0A;
  --paper: #FAF8F5;
  --paper-warm: #F1EDE6;
  --line: #DFD8CD;
  --gold: #D4AF37;
  --rea: #C8102E;
  /* skrivs om av scen.js medan man scrollar */
  --bg: #C7C7C5;
  --ink: #0A0A0A;
  --muted: rgba(10, 10, 10, .72);
  --rule: rgba(10, 10, 10, .22);
  --display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4.2vw, 64px);
  --barH: 34px;
  --navH: 58px;
  --topH: calc(var(--barH) + var(--navH));
  --scroll-stretch: 2.4;
  --spring: cubic-bezier(.34, 1.56, .64, 1);   /* lite överslag, som elastan */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--gold); border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: var(--gold); color: var(--black); padding: 10px 14px; font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- typografi ---------- */
.kicker {
  font: 600 .74rem/1.3 var(--body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
html.on-light .kicker, .after .kicker { color: var(--ink); }
.after .kicker { color: #6B5A1E; }    /* mörkt guld: läsbart på ljust papper */
h1 {
  font-weight: 900; font-stretch: 72%;
  text-transform: uppercase;
  font-size: clamp(3.1rem, 11.2vw, 10.8rem);
  line-height: .84; letter-spacing: -0.02em;
}
h2 {
  font-stretch: 78%; text-transform: uppercase;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: .92; margin-bottom: 18px;
}
.txt p:not(.kicker):not(.big):not(.fine), .after p { color: var(--muted); max-width: 36ch; }
.txt p + p { margin-top: 12px; }
.big { font: 600 clamp(1.25rem, 2.1vw, 1.7rem)/1.3 var(--body); max-width: 22ch; }
.fine { font-size: .78rem; letter-spacing: .04em; color: var(--muted); margin-top: 14px; }

/* ---------- knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px;
  background: var(--black); color: var(--paper);
  font: 600 .92rem/1 var(--body); letter-spacing: .04em; text-decoration: none;
  border-radius: 999px;
  transition: transform .45s var(--spring), background-color .2s, color .2s;
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.96); transition-duration: .1s; }
.btn-gold { background: var(--gold); color: var(--black); }
.rea {
  display: inline-block; background: var(--rea); color: #fff;
  font: 600 .66rem/1 var(--body); letter-spacing: .12em; padding: 4px 6px; border-radius: 3px; vertical-align: middle;
}

/* ---------- laddning ---------- */
#loader {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: #C7C7C5; color: var(--black);
  transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
#loader.done { opacity: 0; visibility: hidden; }
.ld-logo { width: 132px; height: 33px; }
#loadBar { width: 140px; height: 2px; background: rgba(10, 10, 10, .15); position: relative; overflow: hidden; }
#loadBar::after { content: ''; position: absolute; inset: 0; background: var(--black); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s var(--ease); }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* ---------- toppen: kampanjband + meny ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 20; }
.kampanj {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--barH); padding: 0 var(--gut);
  background: var(--gold); color: var(--black);
  font: 600 .8rem/1 var(--body); letter-spacing: .02em; text-decoration: none; white-space: nowrap; overflow: hidden;
}
.kampanj .villkor { font-weight: 400; opacity: .75; }
.story-nav {
  display: flex; align-items: center; gap: 24px;
  height: var(--navH); padding: 0 var(--gut);
  color: var(--ink);
}
.story-brand { display: block; color: inherit; margin-right: auto; }
.story-brand svg { display: block; width: 96px; height: 24px; }
.links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.links a { font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .8; padding: 10px 0; }
.links a:hover { opacity: 1; }
.nav-buy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px;
  background: var(--gold); color: var(--black); border-radius: 999px;
  font: 600 .85rem/1 var(--body); text-decoration: none;
  transition: opacity .4s var(--ease), transform .5s var(--spring);
}
.nav-buy span { font-weight: 400; }
.js:not(.static-mode) .nav-buy:not(.show) { opacity: 0; transform: translateY(-8px) scale(.9); pointer-events: none; }

.static-note {
  position: relative; z-index: 15; margin: calc(var(--topH) + 12px) var(--gut) 0;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--black); font-size: .9rem;
}
.static-note a { font-weight: 600; }

/* =====================================================================
   3D-läget
   ===================================================================== */
.js:not(.static-mode) main { position: relative; z-index: 1; }
.js:not(.static-mode) .chapter { position: relative; height: calc(var(--len) * var(--scroll-stretch)); }
/* textlagren ligger fast över canvasen och tonas med kapitlets förlopp; kapitlen själva är bara scrollängd.
   Köp-lagret är sticky i stället, så att korten följer med upp när sidan fortsätter. */
.js:not(.static-mode) .ov { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.js:not(.static-mode) .chapter[data-scene="kop"] .ov { position: sticky; inset: auto; top: 0; height: 100vh; }
.js:not(.static-mode) .still { display: none; }
.js:not(.static-mode) .txt {
  position: absolute;
  opacity: var(--o, 0);
  --rise: calc((1 - var(--o, 0)) * 22px);
}
.js:not(.static-mode) .txt.off { visibility: hidden; }
.js:not(.static-mode) .txt a, .js:not(.static-mode) .cards { pointer-events: auto; }

/* textblock till vänster, mössan till höger */
.js:not(.static-mode) .side {
  left: var(--gut); top: 50%; width: min(400px, 31vw);
  transform: translateY(calc(-50% + var(--rise)));
}
.js:not(.static-mode) .side.care { width: min(380px, 31vw); }

/* introt: rubriken delas runt mössan */
.js:not(.static-mode) .intro { inset: 0; }
.js:not(.static-mode) .intro .kicker { position: absolute; left: var(--gut); top: calc(var(--topH) + 3.2vh); }
.js:not(.static-mode) .intro h1 { position: absolute; inset: 0; pointer-events: none; }
.js:not(.static-mode) .intro .l1, .js:not(.static-mode) .intro .l2 { position: absolute; transform: translateY(var(--rise)); }
.js:not(.static-mode) .intro .l1 { left: var(--gut); top: calc(var(--topH) + 3.2vh + 30px); }
.js:not(.static-mode) .intro .l2 { right: var(--gut); bottom: 7vh; text-align: right; }
.js:not(.static-mode) .intro .slogan { position: absolute; left: var(--gut); bottom: 7.6vh; font: 600 1rem/1.3 var(--body); color: var(--ink); max-width: 18ch; }
.js:not(.static-mode) .hint { position: absolute; left: 50%; bottom: 2.4vh; transform: translateX(-50%); font: 600 .68rem/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hint span { display: inline-block; animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }

/* håret: två lägen som byter plats när burret släpper */
.vs { position: relative; display: grid; margin-top: 22px; }
.vs span {
  grid-area: 1 / 1; justify-self: start;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule);
  font: 600 .82rem/1 var(--body); letter-spacing: .06em; color: var(--ink);
}
.js:not(.static-mode) .fz-a { opacity: var(--frizz, 1); transform: translateX(calc((1 - var(--frizz, 1)) * -12px)); }
.js:not(.static-mode) .fz-b { opacity: calc(1 - var(--frizz, 1)); transform: translateX(calc(var(--frizz, 1) * 12px)); background: var(--ink); color: var(--bg); border-color: transparent; }

/* skötselrutan */
.care dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .92rem; }
.care dt { font-weight: 600; color: var(--ink); }
.care dd { margin: 0; color: var(--muted); }

/* etiketterna i sprängskissen */
.tags { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.static-mode .tags, html:not(.js) .tags { display: none; }
.tag-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tag-lines line { stroke: var(--ink); stroke-width: 1; opacity: 0; }
.tag3d {
  position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap;
  font: 400 .82rem/1.25 var(--body); color: var(--muted);
  padding: 8px 12px; border: 1px solid var(--rule); border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
}
.tag3d b { display: block; font-weight: 600; color: var(--ink); letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; margin-bottom: 2px; }
.tag3d.off { visibility: hidden; }

/* ---------- köp ---------- */
.js:not(.static-mode) .kop-wrap {
  position: absolute; inset: var(--topH) 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 3vh, 30px);
  padding: 0 var(--gut) 3vh;
}
.js:not(.static-mode) .kop-head { position: static; text-align: center; transform: translateY(var(--rise)); }
.kop-head h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); margin: 0; }
.kop-head .kicker { color: var(--ink); }
.cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.6vw, 36px);
  width: min(860px, 100%);
  --photo: 1; --text: 1;
}
.card { display: flex; flex-direction: column; min-width: 0; }
.card-img { position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; opacity: var(--photo); }
.card-body {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px;
  padding-top: 16px;
  opacity: var(--text); transform: translateY(calc((1 - var(--text)) * 16px));
}
.card-body h3 { font-stretch: 85%; font-size: clamp(1rem, 1.6vw, 1.3rem); text-transform: uppercase; letter-spacing: .01em; }
.price { grid-column: 2; grid-row: 1 / span 2; font: 800 clamp(1.2rem, 2.4vw, 1.9rem)/1 var(--display); font-stretch: 80%; text-align: right; }
.price s { display: block; font: 400 .8rem/1.4 var(--body); color: var(--muted); }
.note { color: var(--muted); font-size: .88rem; }
.card .btn { grid-column: 1 / -1; margin-top: 12px; justify-self: start; }
.kop-meta {
  grid-column: 1 / -1; text-align: center; font-size: .84rem; color: var(--muted);
  opacity: var(--text); max-width: none !important;
}

/* =====================================================================
   Den lugna versionen (och utan JavaScript)
   ===================================================================== */
:is(.static-mode, html:not(.js)) body { background: var(--paper); color: var(--black); --ink: #0A0A0A; --muted: rgba(10,10,10,.72); --rule: rgba(10,10,10,.2); }
:is(.static-mode, html:not(.js)) #loader, :is(.static-mode, html:not(.js)) #gl { display: none; }
:is(.static-mode, html:not(.js)) .top { background: var(--black); --ink: #F3F1ED; }
:is(.static-mode, html:not(.js)) main { padding-top: var(--topH); }
.static-mode .static-note + main { padding-top: 0; }
:is(.static-mode, html:not(.js)) .chapter { padding: clamp(56px, 10vh, 120px) var(--gut); }
:is(.static-mode, html:not(.js)) .ov {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: center;
  max-width: 1200px; margin: 0 auto;
}
:is(.static-mode, html:not(.js)) .txt + .txt { grid-column: 1; }
:is(.static-mode, html:not(.js)) .still { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
:is(.static-mode, html:not(.js)) .still img { border-radius: 6px; width: 100%; }
:is(.static-mode, html:not(.js)) .chapter[data-tone="dark"] { background: var(--black); --ink: #F3F1ED; --muted: rgba(243,241,237,.72); --rule: rgba(243,241,237,.25); color: var(--ink); }
:is(.static-mode, html:not(.js)) .chapter[data-tone="silver"] { background: #C9CCD1; --ink: #0A0A0A; color: var(--ink); }
:is(.static-mode, html:not(.js)) .chapter[data-tone="silver"] .kicker { color: var(--ink); }
:is(.static-mode, html:not(.js)) .chapter[data-tone="night"] { background: #0C1020; --ink: #F3F1ED; --muted: rgba(243,241,237,.72); color: var(--ink); }
:is(.static-mode, html:not(.js)) .chapter[data-tone="light"] { background: #ECEBE8; }
:is(.static-mode, html:not(.js)) .chapter[data-tone="light"] .ov { display: block; }
:is(.static-mode, html:not(.js)) .intro h1 span { display: block; }
:is(.static-mode, html:not(.js)) .intro .slogan { margin-top: 18px; font-weight: 600; color: var(--ink); }
:is(.static-mode, html:not(.js)) .hint { display: none; }
:is(.static-mode, html:not(.js)) .fz-b { background: var(--ink); color: #C9CCD1; }
:is(.static-mode, html:not(.js)) .vs { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.static-mode, html:not(.js)) .kop-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
:is(.static-mode, html:not(.js)) .kop-head { text-align: center; }
:is(.static-mode, html:not(.js)) .cards .card-img { background: #C7C7C5; }

/* =====================================================================
   Efter spåret: vanlig HTML
   ===================================================================== */
.after, .foot { position: relative; z-index: 3; }
.after { background: var(--paper); color: var(--black); padding: clamp(72px, 12vh, 140px) var(--gut); --ink: #0A0A0A; --muted: rgba(10,10,10,.72); }
.after.team { background: var(--paper-warm); }
.after.uf { background: var(--black); color: var(--paper); --ink: #F3F1ED; --muted: rgba(243,241,237,.72); text-align: center; }
.after.uf .story-wrap { display: grid; justify-items: center; gap: 22px; }
.after.uf p { margin: 0 auto; }
.story-wrap { max-width: 1160px; margin: 0 auto; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-img { margin: 28px 0 0; }
.faq-img img { border-radius: 6px; }
.faq-img figcaption { font-size: .84rem; color: var(--muted); margin-top: 10px; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font: 600 1.05rem/1.3 var(--body);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font: 400 1.6rem/1 var(--body); transition: transform .5s var(--spring); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 22px; }
.lead { font-size: 1.1rem; margin-bottom: 40px; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; background: var(--paper); padding: 22px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.person img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 120px; }
.person h3 { font-size: 1.25rem; text-transform: uppercase; font-stretch: 85%; }
.role { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: #6B5A1E !important; margin: 4px 0 10px; }
.person p:last-child { font-size: .95rem; }

/* poppar in med lite överslag när de syns (bara i 3D-läget, inte vid minskad rörelse) */
.js:not(.static-mode) .pop { opacity: 0; transform: translateY(28px) scale(.94); transition: opacity .6s var(--ease), transform .9s var(--spring); }
.js:not(.static-mode) .pop.in { opacity: 1; transform: none; }
.js:not(.static-mode) .person.pop:nth-child(2) { transition-delay: .12s; }

.foot { background: var(--black); color: #C9C6C0; padding: 64px var(--gut) 40px; font-size: .92rem; }
.foot a { color: #F3F1ED; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-logo { width: 120px; height: 30px; color: #F3F1ED; display: block; margin-bottom: 14px; }
.foot-slogan { color: #F3F1ED; font-weight: 600; margin-bottom: 6px; }
.foot h3 { font: 600 .74rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #9A9A9A; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal { font-size: .8rem; color: #9A9A9A; border-top: 1px solid #222; padding-top: 18px; margin-top: 18px; }
.legal + .legal { border: 0; padding-top: 0; margin-top: 8px; }
.tandav { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-decoration: none; color: #C9C6C0; font-size: .85rem; }
.tandav img { width: 68px; height: auto; }

/* =====================================================================
   Mobil
   ===================================================================== */
@media (max-width: 860px) {
  .links { display: none; }
}
@media (max-width: 719px) {
  :root { --barH: 30px; --navH: 52px; }
  .kampanj { font-size: .72rem; }
  .kampanj .villkor { display: none; }
  h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); margin-bottom: 12px; }
  .txt p:not(.kicker):not(.big):not(.fine) { font-size: .95rem; }

  .js:not(.static-mode) .side {
    left: var(--gut); right: var(--gut); top: auto; bottom: calc(22px + env(safe-area-inset-bottom));
    width: auto; transform: translateY(var(--rise));
  }
  .js:not(.static-mode) .side.care { width: auto; }
  .js:not(.static-mode) .intro .l1 { top: calc(var(--topH) + 3vh + 26px); }
  .js:not(.static-mode) .intro .l2 { bottom: 15vh; }
  .js:not(.static-mode) .intro .slogan { bottom: 8vh; left: var(--gut); right: var(--gut); max-width: none; text-align: right; }
  h1 { font-size: clamp(2.9rem, 16vw, 5.2rem); }
  .tag3d { font-size: .74rem; padding: 6px 9px; }

  .cards { gap: 12px; }
  .card-body { grid-template-columns: 1fr; padding-top: 10px; }
  .price { grid-column: 1; grid-row: auto; text-align: left; }
  .price s { display: inline; margin-left: 6px; }
  .card .btn { min-height: 40px; padding: 10px 16px; font-size: .85rem; }

  :is(.static-mode, html:not(.js)) .ov { grid-template-columns: 1fr; }
  :is(.static-mode, html:not(.js)) .still { grid-column: 1; grid-row: auto; }
  .split { grid-template-columns: 1fr; }
  .person { grid-template-columns: 84px 1fr; padding: 16px; gap: 16px; }
  .person img { width: 84px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > :first-child { grid-column: 1 / -1; }
}


/* Prototyp 02: kapitelkontroll och ett lugnare, redaktionellt gränssnitt. */
.story-controls { position:fixed; z-index:25; left:var(--gut); right:var(--gut); bottom:20px; display:flex; align-items:center; gap:18px; color:var(--ink); pointer-events:none; }
.story-controls nav { display:flex; align-items:center; gap:5px; padding:7px; border:1px solid var(--rule); border-radius:99px; background:color-mix(in srgb,var(--bg) 85%,transparent); backdrop-filter:blur(16px); pointer-events:auto; }
.story-controls a { display:flex; align-items:center; justify-content:center; min-width:36px; min-height:36px; border-radius:50%; text-decoration:none; font:600 14px/1 var(--body); transition:background .25s,color .25s; }
.story-controls a[aria-current="step"] { background:var(--ink); color:var(--bg); }
.story-controls .scene-title { font-size:14px; letter-spacing:.03em; }
.story-controls .motion-toggle { margin-left:auto; pointer-events:auto; min-height:44px; padding:10px 16px; border:1px solid var(--rule); border-radius:99px; background:var(--bg); color:var(--ink); font:600 14px var(--body); cursor:pointer; }
.story-progress { position:fixed; left:0; bottom:0; height:3px; width:100%; background:var(--gold); transform:scaleX(var(--story-progress,0)); transform-origin:left; z-index:30; }
.static-mode .story-controls nav,.static-mode .scene-title,.static-mode .story-progress { display:none; }
.story-controls.at-footer { opacity:0; pointer-events:none; visibility:hidden; }
.kicker { font-size:.875rem; letter-spacing:.16em; }
.fine { font-size:.875rem; }
.btn,.nav-buy { border-radius:6px; }
.js:not(.static-mode) .intro .l2 { bottom:13vh; }
.js:not(.static-mode) .intro .slogan { bottom:14vh; }
.js:not(.static-mode) .hint { bottom:12px; }
@media(max-width:719px) {
.story-controls { bottom:10px; gap:8px; left:12px; right:12px; }
.story-controls .scene-title { display:none; }
.story-controls nav { gap:0; padding:4px; }
.story-controls a { min-width:30px; min-height:34px; font-size:14px; }
.story-controls .motion-toggle { padding:8px 12px; font-size:14px; }
.js:not(.static-mode) .intro .l2 { bottom:21vh; }
.js:not(.static-mode) .intro .slogan { bottom:16vh; }
.js:not(.static-mode) .hint { display:none; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
/* Reservera plats för kapitelnavigeringen, även under längre mobiltexter. */
.static-mode .cards { --photo:1 !important; --text:1 !important; }
.static-mode .story-controls { color:var(--black); }
.static-mode .story-controls .motion-toggle { background:var(--paper); color:var(--black); border-color:#999; box-shadow:0 4px 24px #0002; }
.chapter,.after { scroll-margin-top:100px; }
@media(max-width:719px) {
  .js:not(.static-mode) .side { bottom:calc(88px + env(safe-area-inset-bottom)); }
  .story-controls { padding-bottom:env(safe-area-inset-bottom); }
  .js:not(.static-mode) .kop-wrap { padding-bottom:90px; }
}
.after-story .top { background:var(--black); --ink:#F3F1ED; }
@media(max-width:719px) { .tag3d { font-size:14px; } .tag3d b { font-size:14px; } }
@media(min-width:720px) { .js:not(.static-mode) .intro .l2 { bottom:11vh; } }
@media(min-width:720px) and (max-height:800px) {
  .js:not(.static-mode) .kop-wrap { padding-bottom:80px; gap:18px; }
  .cards { width:min(700px,100%); }
}

.site-head {position:fixed;inset:0 0 auto;z-index:45;--ink:#0a0a0a;--paper:#faf8f5} .site-head a {color:var(--paper)} .site-head .wrap {margin:auto} :root {--topH:64px} .card button{border:0;cursor:pointer}.wear h2{font-size:clamp(3rem,7vw,7rem)} .static-mode .story-controls{display:none}

/* Keep both purchase options reachable below the fixed navigation. */
.js:not(.static-mode) .kop-wrap {
  justify-content: safe center;
  overflow-y: auto;
  pointer-events: auto;
  padding-block: 12px max(70px, env(safe-area-inset-bottom));
}
#kop .card { padding: clamp(8px, 1.4vw, 18px); }
@media (max-height: 680px) {
  .js:not(.static-mode) .kop-wrap { gap: 8px; }
  #kop .card-img { max-height: 23vh; }
  #kop .card-body { padding-top: 8px; }
  #kop .btn { margin-top: 5px; }
  #kop .kop-head .kicker { margin-bottom: 4px; }
}
