/* Wardens of the Wild – sagobok i mörk skog. Färgerna följer spelets rustika menyer (brons, sten, pergament). */
:root {
  --night: #0a0d0b;
  --moss: #111813;
  --moss-2: #18211a;
  --stone: #232a24;
  --bronze: #b98a4a;
  --bronze-hi: #e3b873;
  --ember: #e8833a;
  --ember-hi: #ffb067;
  --bone: #ece3cf;
  --bone-dim: #b9b09c;
  --parch: #e9dcbd;
  --parch-ink: #2b1b0d;
  --parch-ink-2: #5a3d20;
  --line: rgba(227, 184, 115, .22);
  --tf: 'Cinzel', Georgia, serif;
  --tfd: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --body: 'Alegreya', Georgia, serif;
  --fell: 'IM Fell English', Georgia, serif;
  --rune: 'Noto Sans Runic', serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--night); color: var(--bone);
  font: 400 clamp(17px, 1.05rem + .2vw, 20px)/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--bronze-hi); }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font: 800 clamp(30px, 4.2vw, 52px)/1.12 var(--tf); letter-spacing: .02em; color: var(--bone); text-wrap: balance; }
h3 { font: 700 clamp(19px, 1.6vw, 23px)/1.25 var(--tf); letter-spacing: .03em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap.narrow { --wrap: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rune { font-family: var(--rune); }
.dot { color: var(--bronze); margin: 0 .6em; font-family: var(--rune); }

/* ───── Knappar ───── */
.btn {
  --b: var(--bronze);
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: .85em 1.6em; border: 1px solid var(--b); background: transparent; color: var(--bone);
  font: 700 15px/1 var(--tf); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; position: relative; transition: background .25s, color .25s, box-shadow .25s, transform .25s;
}
.btn-ember { clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%); padding-inline: 2em; background: linear-gradient(180deg, #f0974c, #b8521c); border-color: transparent; color: #1c0d04; box-shadow: 0 0 30px rgba(232, 131, 58, .35); }
.btn-ember:hover { background: linear-gradient(180deg, #ffb067, #d0662a); box-shadow: 0 0 46px rgba(255, 150, 70, .55); transform: translateY(-1px); }
.btn-ghost { background: rgba(10, 13, 11, .45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(185, 138, 74, .2); }
.btn-small { padding: .6em 1.15em; font-size: 12px; }
.btn:focus-visible, .lang:focus-visible, .split-tabs button:focus-visible { outline: 2px solid var(--ember-hi); outline-offset: 3px; }
.play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ───── Navigering ───── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 22px; padding: 0 var(--gut);
  transition: background .35s, border-color .35s; border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(10, 13, 11, .86); backdrop-filter: blur(10px); border-color: var(--line); }
.nav-logo img { width: 96px; height: auto; opacity: 0; transform: translateY(-6px); transition: .35s; }
.nav.solid .nav-logo img { opacity: 1; transform: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--bone-dim); text-decoration: none; font: 700 13px/1 var(--tf); letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--bone); }
.lang {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; cursor: pointer;
  background: none; border: 1px solid var(--line); color: var(--bone-dim); font: 700 12px/1 var(--tf); letter-spacing: .1em;
}
.lang:hover { color: var(--bone); border-color: var(--bronze); }
.flag { width: 20px; height: 13px; display: inline-block; }
.flag-se { background: linear-gradient(90deg, transparent 6px, #fecc02 6px 9px, transparent 9px), linear-gradient(transparent 5px, #fecc02 5px 8px, transparent 8px), #006aa7; }
.flag-gb { background:
  linear-gradient(90deg, transparent 8px, #c8102e 8px 12px, transparent 12px),
  linear-gradient(transparent 5px, #c8102e 5px 8px, transparent 8px),
  linear-gradient(90deg, transparent 7px, #fff 7px 13px, transparent 13px),
  linear-gradient(transparent 4px, #fff 4px 9px, transparent 9px),
  #012169; }

/* ───── Toppen ───── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: calc(var(--nav-h) + 20px) var(--gut) 90px; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -4%; z-index: -2;
  background: url(img/lagret-skymning-1600.webp) center 60% / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(10, 13, 11, .15), rgba(10, 13, 11, .75) 70%, var(--night)),
    linear-gradient(180deg, rgba(10, 13, 11, .55) 0%, transparent 25%, transparent 60%, var(--night) 100%); }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { max-width: 880px; }
.kicker { font: 700 13px/1 var(--tf); letter-spacing: .4em; text-transform: uppercase; color: var(--bronze-hi); margin-bottom: 4px; animation: rise 1s .1s both; }
.hero-logo { margin: 0 auto -2%; width: min(720px, 100%); animation: rise 1.2s .2s both; filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .7)); }
.hero-logo img { width: 100%; height: auto; }
.hero-lead { font-size: clamp(19px, 1.2rem + .6vw, 25px); line-height: 1.45; color: var(--bone); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); margin-bottom: .4em; animation: rise 1s .45s both; text-wrap: balance; }
.hero-sub { font: italic 400 clamp(17px, 1rem + .3vw, 20px)/1.5 var(--fell); color: var(--bone-dim); text-shadow: 0 2px 10px #000; animation: rise 1s .6s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px 0 26px; animation: rise 1s .75s both; }
.hero-badges { font: 700 12px/1.4 var(--tf); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-dim); animation: rise 1s .9s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--bronze-hi); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ───── Sektioner ───── */
section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto clamp(44px, 6vw, 76px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 13px/1 var(--tf); letter-spacing: .32em; text-transform: uppercase; color: var(--bronze-hi); margin-bottom: 18px; }
.eyebrow::before, .eyebrow::after { content: ''; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--bronze)); }
.eyebrow::after { transform: scaleX(-1); }
.eyebrow .rune { font-size: 18px; letter-spacing: 0; color: var(--ember-hi); }
.sec-lead { margin-top: 20px; color: var(--bone-dim); font-size: 1.08em; text-wrap: pretty; }

/* Skiljelinje med runor mellan sektionerna */
section + section::before {
  content: 'ᚹ ᚨ ᚱ ᛞ ᛖ ᚾ ᛊ'; position: absolute; top: 0; left: 50%; translate: -50% -50%;
  font: 14px/1 var(--rune); letter-spacing: .5em; color: var(--bronze); opacity: .55; white-space: nowrap;
  padding: 0 24px; background: inherit;
}

/* ───── Sagan ───── */
.saga { background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232, 131, 58, .08), transparent 70%), var(--night); }
.chapter {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px);
  align-items: center; margin-bottom: clamp(70px, 9vw, 120px);
}
.chapter.flip .ch-fig { order: -1; grid-column: 2; }
.chapter.flip .ch-text { grid-column: 3; }
.chapter.flip .ch-num { grid-column: 1; grid-row: 1; }
.chapter.flip .ch-fig { grid-row: 1; }
.chapter.flip .ch-text { grid-row: 1; }
.ch-num { align-self: start; font: 900 56px/1 var(--tfd); color: transparent; -webkit-text-stroke: 1px var(--bronze); padding-top: 2px; }
.ch-text h3 { font-size: clamp(24px, 2.4vw, 32px); color: var(--bone); margin-bottom: 18px; }
.ch-text p { color: #d8cfba; }
.ch-text p.drop { color: var(--bone); font-family: var(--fell); font-style: italic; font-size: 1.12em; border-left: 2px solid var(--ember); padding-left: 18px; }
.ch-fig { margin: 0; position: relative; }
.ch-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ch-fig::after { content: ''; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--line); z-index: -1; }
.photo-slot .slot-inner {
  aspect-ratio: 4 / 3; display: grid; place-content: center; gap: 12px; text-align: center; padding: 30px;
  border: 1px dashed var(--bronze); color: var(--bone-dim); font: italic 18px/1.45 var(--fell);
  background: repeating-linear-gradient(135deg, rgba(185, 138, 74, .05) 0 12px, transparent 12px 24px), var(--moss);
}
.rune.big { font-size: 60px; line-height: 1; color: var(--bronze); opacity: .6; }
.quote { margin: 0 auto clamp(70px, 9vw, 120px); max-width: 820px; text-align: center; }
.quote p { font: italic 400 clamp(28px, 3.8vw, 48px)/1.25 var(--fell); color: var(--bone); margin-bottom: .5em; text-wrap: balance; }
.quote cite { font: 700 13px/1 var(--tf); letter-spacing: .25em; text-transform: uppercase; color: var(--bronze-hi); font-style: normal; }
.quote cite::before { content: '— '; }

/* ───── Tillsammans ───── */
.together { background: linear-gradient(180deg, var(--night), var(--moss) 30%, var(--moss) 70%, var(--night)); }
.split { max-width: 1060px; margin: 0 auto; }
.split-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-bottom: 0; }
.split-tabs button {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 10px; cursor: pointer;
  background: rgba(10, 13, 11, .5); color: var(--bone-dim); border: 0; border-right: 1px solid var(--line);
  font: 700 13px/1.2 var(--tf); letter-spacing: .12em; text-transform: uppercase; transition: .25s; position: relative;
}
.split-tabs button:last-child { border-right: 0; }
.split-tabs b { font: 900 26px/1 var(--tfd); color: var(--bronze); transition: .25s; }
.split-tabs button:hover { color: var(--bone); }
.split-tabs button.on { background: var(--stone); color: var(--bone); }
.split-tabs button.on b { color: var(--ember-hi); text-shadow: 0 0 18px rgba(255, 150, 70, .6); }
.split-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); }
.split-stage { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px #000; }
.split-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s, transform 1.2s; }
.split-stage img.on { opacity: 1; transform: none; }
.split-cap {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px 28px 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font: italic 400 clamp(17px, 1.6vw, 21px)/1.4 var(--fell); color: var(--bone);
}

/* ───── Världen ───── */
.biomes { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 260px); gap: 10px; }
.biome { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
.biome.wide { grid-column: span 2; grid-row: span 2; }
.biome.half { grid-column: span 2; }
.biome img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.92); }
.biome:hover img { transform: scale(1.06); filter: saturate(1.08); }
.biome figcaption {
  position: absolute; inset: auto 0 0; padding: 50px 18px 16px; display: grid; gap: 2px;
  background: linear-gradient(transparent, rgba(5, 7, 6, .92));
}
.biome b { font: 700 17px/1.2 var(--tf); letter-spacing: .06em; color: var(--bone); }
.biome span { font-size: 15px; line-height: 1.4; color: var(--bone-dim); }
.biome.wide b { font-size: 22px; }

/* ───── Spelet ───── */
.features { background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(80, 110, 80, .08), transparent 70%), var(--night); }
.stats { list-style: none; padding: 0; margin: 0 auto clamp(50px, 6vw, 80px); display: flex; flex-wrap: wrap; justify-content: center; border-block: 1px solid var(--line); max-width: 1000px; }
.stats li { flex: 1 1 150px; text-align: center; padding: 22px 12px; position: relative; }
.stats li + li::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stats b { display: block; font: 900 clamp(32px, 3.6vw, 44px)/1 var(--tfd); color: var(--bronze-hi); margin-bottom: 6px; }
.stats span { font: 700 12px/1.3 var(--tf); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: linear-gradient(180deg, var(--moss-2), var(--moss)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-4px); border-color: rgba(227, 184, 115, .5); box-shadow: 0 24px 50px -24px rgba(232, 131, 58, .35); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line); }
.card > div { padding: 18px 20px 22px; }
.card h3 { color: var(--bone); margin-bottom: 8px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--bone-dim); margin: 0; }
.wishlist {
  margin: clamp(60px, 8vw, 100px) auto 0; max-width: 700px; text-align: center; padding: 34px clamp(20px, 4vw, 44px);
  border: 1px solid var(--line); position: relative; background: rgba(17, 24, 19, .6);
}
.wishlist::before { content: 'ᛜ'; position: absolute; top: 0; left: 50%; translate: -50% -55%; background: var(--night); padding: 0 14px; font: 28px/1 var(--rune); color: var(--ember-hi); }
.wishlist h3 { font-size: 24px; margin-bottom: 8px; }
.wishlist > p { color: var(--bone-dim); }
.wishlist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font: italic 20px/1.4 var(--fell); }
.wishlist li::before { content: '✦ '; color: var(--bronze); font-style: normal; font-size: .8em; }

/* ───── Stöd ───── */
.support { background: linear-gradient(180deg, var(--night), #140f0b 50%, var(--night)); }
.uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uses li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); background: rgba(35, 26, 18, .45); }
.u-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; font: 26px/1 var(--rune); color: var(--ember-hi); border: 1px solid var(--bronze); box-shadow: inset 0 0 0 4px var(--night), inset 0 0 0 5px var(--line); }
.uses h3 { margin-bottom: 4px; }
.uses p { margin: 0; color: var(--bone-dim); font-size: 16px; }
.promise { margin-top: 40px; text-align: center; font: italic 400 clamp(21px, 2.2vw, 27px)/1.4 var(--fell); color: var(--bone); text-wrap: balance; }

/* ───── Anmälan (pergament) ───── */
.join { padding-top: clamp(60px, 8vw, 110px); background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232, 131, 58, .1), transparent 70%), var(--night); }
.parchment {
  position: relative; color: var(--parch-ink); padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 64px);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .35), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(120, 70, 20, .22), transparent 55%),
    radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(110, 70, 30, .35)),
    url(img/pergament.webp) center / cover, var(--parch);
  box-shadow: 0 0 0 1px #6b4a26, 0 0 0 7px #2a1d12, 0 0 0 8px var(--bronze), 0 50px 90px -30px #000;
}
.parchment h2 { color: var(--parch-ink); text-align: center; margin-bottom: 14px; }
.parchment > p { text-align: center; color: var(--parch-ink-2); max-width: 560px; margin: 0 auto 30px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font: 700 14px/1.3 var(--tf); letter-spacing: .1em; text-transform: uppercase; color: var(--parch-ink); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 16px; border: 1px solid rgba(43, 27, 13, .45); background: rgba(255, 250, 235, .35);
  font: 500 17px/1 var(--body); color: var(--parch-ink); transition: .2s;
}
.chips label:hover span { border-color: var(--parch-ink); background: rgba(255, 250, 235, .6); }
.chips input:checked + span { background: #3a2410; color: #fff2d8; border-color: #3a2410; box-shadow: inset 0 0 0 1px var(--bronze); }
.chips input:focus-visible + span { outline: 2px solid #b8521c; outline-offset: 2px; }
.email-row { display: flex; gap: 10px; margin-top: 30px; }
.email-row input {
  flex: 1; min-width: 0; padding: 14px 16px; font: 500 18px/1 var(--body); color: var(--parch-ink);
  background: rgba(255, 250, 235, .7); border: 1px solid rgba(43, 27, 13, .5); border-radius: 0;
}
.email-row input:focus { outline: 2px solid #b8521c; outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--parch-ink-2); cursor: pointer; }
.consent input { margin-top: 4px; accent-color: #3a2410; width: 17px; height: 17px; flex: none; }
.form-msg { min-height: 1.6em; margin: 14px 0 0; text-align: center; font: italic 18px/1.4 var(--fell); }
.form-msg.err { color: #8a1f0e; }
.form-msg.ok { color: #2f5a1e; }

/* ───── Fot ───── */
.foot { padding: 70px 0 50px; text-align: center; border-top: 1px solid var(--line); color: var(--bone-dim); font-size: 16px; }
.foot img { width: 120px; height: auto; margin: 0 auto 18px; opacity: .9; }
.foot-links a { text-decoration: none; }
.foot-small { font-size: 14px; opacity: .7; }

/* ───── Trailern ───── */
dialog.trailer { width: min(1200px, 94vw); padding: 0; border: 1px solid var(--bronze); background: #000; box-shadow: 0 0 120px rgba(0, 0, 0, .9); }
dialog.trailer::backdrop { background: rgba(5, 6, 5, .9); backdrop-filter: blur(6px); }
dialog.trailer video { display: block; width: 100%; aspect-ratio: 16 / 9; }
dialog.trailer .close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; cursor: pointer; border: 1px solid var(--line); background: rgba(0, 0, 0, .6); color: var(--bone); font-size: 18px; }

/* ───── Avslöjande vid scroll ───── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.cards .card.reveal:nth-child(4n+2) { transition-delay: .08s; }
.cards .card.reveal:nth-child(4n+3) { transition-delay: .16s; }
.cards .card.reveal:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ───── Mindre skärmar ───── */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 18px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .chapter, .chapter.flip { grid-template-columns: 1fr; gap: 18px; }
  .chapter.flip .ch-fig, .chapter.flip .ch-text, .chapter.flip .ch-num { grid-column: 1; grid-row: auto; order: 0; }
  .ch-num { font-size: 44px; }
  .ch-fig::after { display: none; }
  .biomes { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .biome.wide { grid-column: span 2; grid-row: span 1; }
  .uses { grid-template-columns: 1fr; }
  .split-tabs button { flex-direction: column; gap: 4px; font-size: 11px; letter-spacing: .06em; padding: 12px 4px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .email-row { flex-direction: column; }
  .stats li { flex-basis: 33%; padding: 16px 6px; }
  .stats li:nth-child(4)::before { display: none; }
  .hero-cta .btn { width: 100%; }
  .biomes { grid-template-columns: 1fr; }
  .biome.wide, .biome.half { grid-column: auto; }
  section + section::before { letter-spacing: .3em; font-size: 12px; }
}
.nw { white-space: nowrap; }

/* Integritet och robotfälla */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent a, .foot-small a { color: inherit; }
dialog.privacy { width: min(640px, 92vw); max-height: 86vh; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--bronze); background: var(--moss); color: var(--bone); font-size: 17px; }
dialog.privacy::backdrop { background: rgba(5, 6, 5, .85); backdrop-filter: blur(4px); }
dialog.privacy h2 { font-size: 28px; margin-bottom: 16px; }
dialog.privacy p { color: #d8cfba; }
dialog.privacy .close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; cursor: pointer; border: 1px solid var(--line); background: none; color: var(--bone); }
