:root {
  --paper: #e9dcbf;
  --paper-2: #dfcfab;
  --ink: #2e2b22;
  --ink-soft: #5a5442;
  --bar: #2b2920;
  --rust: #b5653a;
  --rust-2: #9c5230;
  --cream: #f3ead6;
  --pink: #c98a86;
  --olive: #3a3a2c;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --nav: "Bebas Neue", "Anton", sans-serif;
  --hand: "Covered By Your Grace", "Comic Sans MS", cursive;
  --type: "Special Elite", "Courier New", monospace;
  --serif: "EB Garamond", Georgia, serif;
  --torn: url("/img/torn.svg");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bar);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- Topplinje (revet kant) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 10px clamp(16px, 3vw, 40px) 22px;
  color: var(--cream);
  background: var(--bar);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 18px) no-repeat, var(--torn) bottom / 100% 18px no-repeat;
          mask: linear-gradient(#000, #000) top / 100% calc(100% - 18px) no-repeat, var(--torn) bottom / 100% 18px no-repeat;
  transition: transform .3s ease;
}
.topbar::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .5; pointer-events: none; }
.brand { display: block; width: 150px; color: var(--cream); position: relative; }
.logo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 2.6vw, 44px); position: relative; }
.nav a, .nav-link {
  font-family: var(--nav); font-size: 25px; letter-spacing: .04em; text-decoration: none;
  color: var(--cream); background: none; border: 0; padding: 4px 2px; line-height: 1;
  transition: color .15s;
}
.nav a:hover, .nav-link:hover { color: #e3a476; }
.social { display: flex; align-items: center; gap: 14px; position: relative; }
.social a, .cart-btn { width: 22px; height: 22px; color: var(--cream); opacity: .9; background: none; border: 0; padding: 0; position: relative; }
.social svg { width: 100%; height: 100%; }
.social a:hover, .cart-btn:hover { opacity: 1; color: #e3a476; }
.cart-btn { width: 26px; height: 26px; margin-left: 6px; }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--rust); color: var(--cream); font: 13px/18px var(--nav); text-align: center; padding: 0 4px;
}
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: #120f09; color: var(--cream); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 50% 42%; filter: saturate(.9) contrast(1.06) brightness(.92); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,8,5,.82) 0%, rgba(10,8,5,.45) 30%, rgba(10,8,5,0) 52%),
    linear-gradient(0deg, rgba(12,9,5,.85) 0%, rgba(12,9,5,0) 40%),
    radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(0,0,0,.35) 100%);
}
.hero-copy {
  position: absolute; left: clamp(20px, 5vw, 100px); bottom: clamp(48px, 11vh, 120px);
  max-width: min(760px, 90vw);
}
.hero-title {
  margin: 0 0 26px; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 9.5vw, 150px); line-height: .86; letter-spacing: .01em; color: #f6efe0;
  text-shadow: 0 4px 30px rgba(0,0,0,.55); filter: url(#worn);
}
.hero-name { margin: 0 0 -6px -1%; width: min(640px, 86vw); color: var(--cream); line-height: 0; }
.hero-name svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 4px 18px rgba(0,0,0,.5)); }
.typewriter { font-family: var(--type); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink-soft); }
.hero .typewriter, .typewriter.light { color: #d8c9a6; }
.scrawl { font-family: var(--hand); font-size: clamp(34px, 4.6vw, 58px); line-height: 1; margin: 6px 0 26px; font-weight: 400; }
.scrawl span { position: relative; display: inline-block; padding: 0 .2em; }
.scrawl span::before {
  content: ""; position: absolute; left: -4%; right: -4%; top: 46%; height: 42%; z-index: -1;
  background: linear-gradient(90deg, rgba(201,138,134,.0), rgba(201,138,134,.75) 12%, rgba(181,101,58,.8) 60%, rgba(181,101,58,0));
  filter: url(#rough); transform: rotate(-1.5deg);
}
.hero .scrawl span { z-index: 0; }
.scrawl em { font-style: normal; font-size: .62em; color: #d8c9a6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Pensel-knapp (Wallen) */
.brush-btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-width: 230px; padding: 15px 34px 13px; border: 0; background: none; text-decoration: none;
  font-family: var(--nav); font-size: 26px; letter-spacing: .03em; color: var(--cream); line-height: 1;
}
.brush-btn::before {
  content: ""; position: absolute; inset: 2px -6px; z-index: -1; background: var(--rust);
  filter: url(#rough); transform: rotate(-.6deg); transition: background .15s, transform .15s;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.12);
}
.brush-btn:hover::before { background: var(--rust-2); transform: rotate(.4deg) scale(1.02); }
.brush-btn.wide { width: 100%; }
.line-btn {
  display: inline-block; padding: 12px 22px 10px; border: 1.5px solid rgba(243,234,214,.75);
  font-family: var(--serif); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--cream);
  transition: background .15s, color .15s;
}
.line-btn:hover { background: var(--cream); color: var(--ink); }

/* ---------- Papir ---------- */
.paper {
  position: relative; background-color: var(--paper);
  background-image:
    var(--grain),
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(255,255,255,.28), transparent 70%),
    radial-gradient(ellipse 50% 30% at 85% 70%, rgba(120,90,40,.12), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(120,90,40,.10), transparent 70%);
  box-shadow: inset 0 0 120px rgba(110,80,30,.25);
  padding: 20px clamp(18px, 5vw, 80px) 60px;
}
.section { max-width: 1180px; margin: 0 auto; padding: 70px 0 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 3px double rgba(46,43,34,.55); padding-bottom: 10px; }
.stamp { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 8vw, 96px); letter-spacing: .02em; text-transform: uppercase; line-height: .9; margin: 0; color: var(--ink); filter: url(#worn); }
.stamp.small { font-size: 46px; }
.note { font-family: var(--type); font-size: 15px; color: var(--rust-2); margin: 0; }
.text-link { font-family: var(--nav); font-size: 24px; letter-spacing: .04em; text-decoration: none; border-bottom: 2px solid currentColor; color: var(--rust-2); }
.fine { font-size: 14px; opacity: .78; }

/* Tour */
.tour-list { list-style: none; margin: 0; padding: 0; }
.tour-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: center;
  padding: 18px 6px; border-bottom: 1.5px dashed rgba(46,43,34,.35);
}
.tour-date { font-family: var(--type); font-size: 18px; line-height: 1.2; }
.tour-row.tba .tour-date b { color: var(--rust-2); }
.tour-date b { display: block; font-family: var(--display); font-weight: 400; font-size: 40px; letter-spacing: .02em; }
.tour-where { font-family: var(--nav); font-size: 34px; line-height: 1; letter-spacing: .02em; }
.tour-where small { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: 0; color: var(--ink-soft); margin-top: 4px; }
.tour-row .brush-btn { min-width: 170px; font-size: 22px; padding: 12px 24px 10px; }
.tour-row .soldout { font-family: var(--hand); font-size: 30px; color: var(--rust-2); transform: rotate(-6deg); display: inline-block; padding: 0 22px; }

/* Musikk – cover som polaroider */
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 34px 28px; }
.cover {
  display: block; text-decoration: none; background: #f7f0df; padding: 10px 10px 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 22px rgba(60,40,10,.22);
  transform: rotate(var(--tilt, 0deg)); transition: transform .2s, box-shadow .2s;
}
.cover:hover { transform: rotate(0deg) translateY(-4px) scale(1.03); box-shadow: 0 16px 30px rgba(60,40,10,.3); }
.cover img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; background: var(--paper-2); }
.cover h3 { font-family: var(--hand); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 10px 2px 2px; }
.cover span { font-family: var(--type); font-size: 13px; color: var(--rust-2); }

/* Sangtekster – nummererte fliser (Sebb Ottesen) */
.lyric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lyric-tile {
  position: relative; grid-column: span 2; aspect-ratio: 1; overflow: hidden; border: 0; padding: 0; text-align: left;
  background: #1a1610; color: var(--cream); box-shadow: 0 10px 24px rgba(40,25,5,.3);
}
.lyric-tile:nth-child(1), .lyric-tile:nth-child(2) { grid-column: span 3; }
.lyric-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) brightness(.62) contrast(1.05); transition: transform .4s, filter .3s; }
.lyric-tile::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(214,166,98,0); transition: border-color .2s; }
.lyric-tile:hover img { transform: scale(1.05); filter: sepia(.2) brightness(.72); }
.lyric-tile:hover::after { border-color: rgba(214,166,98,.9); }
.lyric-tile .num { position: absolute; top: 20px; left: 22px; font-family: var(--display); font-size: 26px; color: #d6a662; }
.lyric-tile .t { position: absolute; left: 22px; right: 22px; bottom: 18px; font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.6); }

/* ---------- Sjarken ---------- */
.sjarken { position: relative; background: var(--olive); color: var(--cream); padding: 90px clamp(18px, 5vw, 80px); overflow: hidden; }
.sjarken::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .7; pointer-events: none; }
.torn-top, .torn-bottom { position: absolute; left: 0; right: 0; height: 22px; background: var(--paper); z-index: 2; }
.torn-top { top: -1px; -webkit-mask: var(--torn) 0 0 / 100% 100%; mask: var(--torn) 0 0 / 100% 100%; transform: scaleY(1); }
.torn-bottom { bottom: -1px; -webkit-mask: var(--torn) 0 0 / 100% 100%; mask: var(--torn) 0 0 / 100% 100%; transform: scale(-1, -1); }
.footer .torn-top.dark { background: var(--paper); }
.sjarken-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.sjarken-title { font-family: var(--display); font-weight: 400; font-size: clamp(80px, 12vw, 150px); line-height: .85; margin: 0 0 18px; text-transform: uppercase; filter: url(#worn); color: var(--cream); }
.sjarken-lead { font-size: 21px; max-width: 34em; }
.perks { list-style: none; padding: 0; margin: 22px 0 30px; }
.perks li { padding: 10px 0 10px 34px; position: relative; border-top: 1px dashed rgba(243,234,214,.25); }
.perks li::before { content: "⚓"; position: absolute; left: 0; top: 9px; color: #e3a476; }
.perks b { font-family: var(--nav); font-weight: 400; font-size: 24px; letter-spacing: .03em; margin-right: 6px; }
.deck { display: grid; gap: 20px; }
.deck-label { font-family: var(--type); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #d8c9a6; margin: 0; }
.deck-card { background: var(--paper); color: var(--ink); padding: 22px 24px; box-shadow: 0 14px 30px rgba(0,0,0,.35); background-image: var(--grain); }
.deck-card:nth-child(2) { transform: rotate(-.6deg); }
.deck-card:nth-child(3) { transform: rotate(.5deg); }
.deck-card h3 { font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; margin: 0 0 12px; }
.demo-list { list-style: none; margin: 0; padding: 0; }
.demo { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed rgba(46,43,34,.3); }
.demo .rank { font-family: var(--display); font-size: 22px; color: var(--rust-2); }
.demo .title { font-family: var(--type); font-size: 16px; }
.demo .len { font-family: var(--type); font-size: 13px; color: var(--ink-soft); }
.demo .lock { font-size: 13px; opacity: .6; }
.heart { border: 1.5px solid var(--ink); background: none; border-radius: 20px; padding: 2px 10px; font: 15px var(--type); display: inline-flex; gap: 6px; align-items: center; }
.heart[aria-pressed="true"] { background: var(--rust); border-color: var(--rust); color: var(--cream); }
.merch-vote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mv { background: var(--cream); border: 1.5px solid transparent; padding: 10px 8px 8px; text-align: center; }
.mv svg { width: 100%; height: 86px; }
.mv p { font-family: var(--hand); font-size: 19px; line-height: 1.05; margin: 4px 0 8px; min-height: 2.1em; }
.wish label { font-family: var(--nav); font-size: 22px; letter-spacing: .03em; }
.wish-row { display: flex; gap: 8px; margin-top: 6px; }
.wish-row input { flex: 1; }
.wish-row button { background: var(--ink); color: var(--cream); border: 0; padding: 0 18px; font-family: var(--nav); font-size: 20px; }
.wish-thanks { font-family: var(--hand); font-size: 22px; color: var(--rust-2); margin: 8px 0 0; }

/* Butikk */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product { background: rgba(247,240,223,.7); padding: 16px; box-shadow: 0 8px 20px rgba(60,40,10,.15); display: flex; flex-direction: column; }
.product .art { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #f7f0df, var(--paper-2)); margin-bottom: 14px; }
.product .art svg { width: 78%; height: 78%; filter: drop-shadow(0 8px 10px rgba(40,25,5,.25)); }
.product h3 { font-family: var(--nav); font-weight: 400; font-size: 30px; letter-spacing: .02em; line-height: 1; margin: 0 0 4px; }
.product .price { font-family: var(--type); font-size: 18px; margin: 0 0 12px; }
.product .row { display: flex; gap: 10px; margin-top: auto; align-items: center; }
.product select { flex: 0 0 80px; }
.product .brush-btn { flex: 1; min-width: 0; font-size: 22px; padding: 11px 16px 9px; }

.signup-band { text-align: center; padding: 70px 0 30px; max-width: 700px; margin: 0 auto; }
.scrawl.dark span::before { opacity: .8; }
.signup-band p { font-size: 20px; margin: 0 0 26px; }

/* Skjema */
input, select, textarea {
  font: 17px var(--serif); color: var(--ink); background: #fbf6ea; border: 1.5px solid rgba(46,43,34,.45);
  border-radius: 0; padding: 10px 12px; width: 100%;
}
input:focus, select:focus { outline: 2px solid var(--rust); outline-offset: 1px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-family: var(--nav); font-size: 19px; letter-spacing: .04em; margin-bottom: 3px; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field small, [data-err] { display: block; color: #a3361f; font-size: 14px; min-height: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.35; margin: 8px 0 4px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #a3361f; font-family: var(--type); }
form .brush-btn { margin-top: 16px; }

/* Modaler */
.modal { border: 0; padding: 0; max-width: min(880px, 94vw); width: 100%; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.6); background-image: var(--grain); }
.modal::backdrop { background: rgba(15,12,7,.72); backdrop-filter: blur(2px); }
.modal[open] { animation: pop .28s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) rotate(-.6deg); } }
.close { position: absolute; top: 8px; right: 12px; z-index: 3; background: none; border: 0; font-size: 34px; line-height: 1; color: inherit; }
.signup-modal { display: none; }
.signup-modal[open] { display: grid; grid-template-columns: .9fr 1.1fr; }
.signup-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; min-height: 100%; }
.signup-body { padding: 34px 34px 28px; }
.signup-title { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: .95; text-transform: uppercase; margin: 0 0 8px; }
.signup-lead { margin: 0 0 18px; }
.signup-done h3 { font-size: 44px; margin: 20px 0 10px; }
.lyric-modal { max-width: 640px; }
.lyric-body { padding: 40px 44px 34px; max-height: 86vh; overflow: auto; }
.lyric-body h2 { font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; margin: 0 0 18px; text-transform: uppercase; }
.lyric-text { font-family: var(--serif); font-size: 20px; line-height: 1.6; white-space: pre-line; margin-bottom: 24px; }
.lyric-text .missing { font-family: var(--type); font-size: 16px; color: var(--rust-2); }
.cart-modal { max-width: 560px; padding: 34px 32px 28px; }
.cart-lines { list-style: none; padding: 0; margin: 18px 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(46,43,34,.35); }
.cart-lines .qty { display: inline-flex; align-items: center; gap: 8px; font-family: var(--type); }
.cart-lines .qty button { width: 26px; height: 26px; border: 1.5px solid var(--ink); background: none; }
.cart-total { font-family: var(--type); font-size: 18px; text-align: right; }
.cart-done pre { font-size: 12px; background: #fbf6ea; padding: 12px; overflow: auto; max-height: 240px; }

.mode-badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; font: 13px var(--type); background: var(--ink); color: var(--cream); padding: 6px 10px; opacity: .85; }

/* Footer */
.footer { position: relative; background: var(--bar); color: #d8c9a6; text-align: center; padding: 70px 20px 40px; }
.footer::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .5; pointer-events: none; }
.footer-logo { width: 220px; margin: 0 auto 14px; color: var(--cream); }
.footer p { position: relative; margin: 6px 0; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .topbar { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: block; justify-self: end; background: none; border: 1.5px solid var(--cream); color: var(--cream); font-family: var(--nav); font-size: 20px; padding: 4px 12px 2px; position: relative; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: center; gap: 14px; background: var(--bar); padding: 14px 0 30px; }
  .nav.open { display: flex; }
  .social a { display: none; }
  .social .cart-btn { display: block; }
  .brand { width: 120px; }
  .sjarken-inner { grid-template-columns: 1fr; }
  .lyric-grid { grid-template-columns: 1fr 1fr; }
  .lyric-tile, .lyric-tile:nth-child(1), .lyric-tile:nth-child(2) { grid-column: span 1; }
  .lyric-tile:nth-child(1) { grid-column: span 2; aspect-ratio: 16/10; }
  .signup-modal[open] { grid-template-columns: 1fr; }
  .signup-art { max-height: min(400px, 46vh); overflow: hidden; }
  .signup-art img { object-position: 50% 48%; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero picture { bottom: auto; height: 64svh; }
  .hero img { object-position: 40% 50%; }
  .hero-shade { background: linear-gradient(0deg, #120f09 36%, rgba(18,15,9,.6) 50%, rgba(18,15,9,0) 64%); }
  .hero-copy { bottom: 28px; right: 20px; }
  .hero-title { font-size: 21vw; margin-bottom: 18px; }
  .hero-actions .solid-btn, .hero-actions .line-btn { width: 100%; text-align: center; }
  .tour-row { grid-template-columns: 92px 1fr; gap: 6px 14px; }
  .tour-date b { font-size: 30px; }
  .tour-where { font-size: 26px; }
  .tour-row > :last-child { grid-column: 1 / -1; }
  .tour-row .brush-btn { width: 100%; }
  .covers { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .cover h3 { font-size: 21px; }
  .field.two { grid-template-columns: 1fr; }
  .merch-vote { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .signup-body { padding: 24px 20px; }
  .lyric-body { padding: 34px 22px 26px; }
  .demo { grid-template-columns: 26px 1fr auto; }
  .demo .len { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Sebb-knapper ---------- */
.solid-btn, .line-btn {
  display: inline-block; padding: 13px 24px 11px; font-family: var(--serif); font-size: 15px; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.solid-btn { background: #ece3d2; color: #1a160f; border: 1.5px solid #ece3d2; }
.solid-btn:hover { background: #fff; border-color: #fff; }
button.line-btn { background: none; }

/* ---------- Fan-rommet ---------- */
.room { position: relative; background: #1f1e17; border: 1px solid rgba(243,234,214,.18); box-shadow: 0 24px 60px rgba(0,0,0,.45); overflow: hidden; }
.room-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #15140f; font: 14px var(--type); color: #d8c9a6; }
.room-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #4b4a3c; }
.room-bar b { font-weight: 400; margin-left: 8px; }
.room-lock { margin-left: auto; font-size: 13px; color: #e3a476; }
.room-tabs { display: flex; border-bottom: 1px solid rgba(243,234,214,.15); }
.room-tabs button { flex: 1; background: none; border: 0; color: #d8c9a6; font-family: var(--nav); font-size: 22px; letter-spacing: .04em; padding: 12px 6px 9px; border-bottom: 3px solid transparent; }
.room-tabs button[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--rust); }
.room-panel { padding: 18px 18px 14px; min-height: 330px; color: var(--cream); }
.room-panel .fine { color: #d8c9a6; }
.chat { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 270px; overflow: auto; display: grid; gap: 12px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 45% 40%; flex: none; border: 2px solid var(--rust); }
.msg div { background: #2d2b22; padding: 8px 12px 6px; border-radius: 4px 14px 14px 14px; max-width: 84%; }
.msg.k div { background: #3b3326; border: 1px solid rgba(227,164,118,.35); }
.msg.f { justify-content: flex-end; }
.msg.f div { border-radius: 14px 4px 14px 14px; background: #34352a; }
.msg b { font-family: var(--nav); font-weight: 400; font-size: 18px; letter-spacing: .03em; color: #e3a476; }
.msg.f b { color: #c9c2a8; }
.msg p { margin: 0; font-size: 16px; line-height: 1.35; }
.msg time { font: 11px var(--type); opacity: .55; }
.chat-form { display: flex; gap: 8px; margin-top: 14px; }
.chat-form input { flex: 1; background: #15140f; color: var(--cream); border-color: rgba(243,234,214,.25); }
.chat-form button, .wish-row button { background: var(--rust); color: var(--cream); border: 0; padding: 0 18px; font-family: var(--nav); font-size: 20px; }
.room .demo { border-bottom-color: rgba(243,234,214,.15); grid-template-columns: 26px 34px 1fr auto; }
.room .demo .title { font-family: var(--type); font-size: 16px; display: flex; flex-direction: column; }
.room .demo .title small { font-size: 12px; opacity: .6; }
.play { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 13px; }
.room .heart { border-color: rgba(243,234,214,.6); color: var(--cream); }
.room .mv { background: #2d2b22; }
.room .mv p { color: var(--cream); }
.room .wish label { color: var(--cream); }
.room-q { font-family: var(--nav); font-size: 24px; margin: 0 0 12px; letter-spacing: .03em; }
.cover-vote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cv { background: none; border: 2px solid transparent; padding: 0; color: var(--cream); text-align: left; }
.cv.picked { border-color: var(--rust); }
.cv-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.cv-img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 45%; }
.cv-title { position: absolute; left: 8px; bottom: 6px; font-family: var(--display); font-size: 22px; color: #f6efe0; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.cv-name { display: block; font-family: var(--hand); font-size: 22px; padding: 4px 4px 0; }
.cv-n { display: block; font: 12px var(--type); opacity: .7; padding: 0 4px 6px; }
.room-gate { position: relative; padding: 16px 18px 18px; border-top: 1px dashed rgba(243,234,214,.25); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: #d8c9a6; font-size: 15px; }
.room-gate p { margin: 0; flex: 1 1 220px; }
.room-gate .brush-btn { min-width: 180px; font-size: 22px; padding: 11px 22px 9px; }

/* ---------- Pop-up ---------- */
.signup-art { position: relative; }
.signup-stamp { position: absolute; left: 18px; bottom: 14px; font-family: var(--display); font-size: 54px; line-height: 1; color: #f6efe0; text-transform: uppercase; text-shadow: 0 3px 16px rgba(0,0,0,.6); filter: url(#worn); }
.later { display: block; margin: 10px auto 0; background: none; border: 0; font: 15px var(--serif); color: var(--ink-soft); text-decoration: underline; }

/* ---------- Produktkort (Wallen-butikk) ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 34px; max-width: 1320px; margin: 0 auto; }
.shop-grid.compact { gap: 30px; }
.pcard { text-align: center; cursor: pointer; outline-offset: 6px; }
.pcard-art { aspect-ratio: 1; display: grid; place-items: center; transition: transform .25s; }
.pcard-art svg { width: 86%; height: 86%; filter: drop-shadow(0 10px 12px rgba(40,25,5,.22)); }
.pcard:hover .pcard-art { transform: translateY(-6px) rotate(-1deg); }
.pcard h3 { font-family: var(--nav); font-weight: 400; font-size: 27px; letter-spacing: .01em; line-height: 1.05; margin: 10px 0 4px; color: #3a372c; text-transform: uppercase; }
.pcard-price { font-family: "Inter", system-ui, sans-serif; font-size: 16px; margin: 0 0 10px; color: #3a372c; }
.chips { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--type); font-size: 14px; background: #3a372c; color: #f1e6c8; padding: 4px 9px 3px; }

/* ---------- Butikksiden ---------- */
body.shop { background: #f1e6c8; }
.promo { text-align: center; font-family: var(--nav); font-size: 21px; letter-spacing: .02em; padding: 9px 12px 7px; color: #f6efe0; }
.promo-1 { background: #9d643a; }
.promo-2 { background: #1a1a18; }
.promo-2 button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.shop-head { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 18px clamp(16px, 2.5vw, 40px); background: #f1e6c8; border-bottom: 1px solid rgba(58,55,44,.12); }
.shop-nav { display: flex; align-items: center; gap: 22px; font-family: "Inter", system-ui, sans-serif; font-weight: 600; font-size: 16px; }
.shop-nav a, .drop > button { color: #3a372c; text-decoration: none; background: none; border: 0; font: inherit; padding: 6px 4px; }
.shop-nav a:hover, .drop > button:hover { color: var(--rust-2); }
.chev { display: inline-block; transform: translateY(-3px); }
.drop { position: relative; }
.drop-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 150px; background: #3a3a2c; padding: 8px 0; z-index: 5; }
.drop > button[aria-expanded="true"] { outline: 2px solid #3d6fd1; outline-offset: 1px; }
.drop > button[aria-expanded="true"] + .drop-menu { display: block; }
.drop-menu a { display: block; color: #f6efe0; padding: 6px 14px; font-size: 15px; }
.drop-menu a:hover { color: #e3a476; }
.sjark-mark { font-family: var(--hand) !important; font-weight: 400 !important; font-size: 28px !important; transform: rotate(-6deg); line-height: 1; }
.shop-logo { display: flex; align-items: center; gap: 18px; color: #2e2b22; text-decoration: none; }
.shop-logo .logo-svg { width: 230px; }
.rules { width: 92px; height: 15px; background: linear-gradient(#3a372c 0 3px, transparent 3px 6px, #3a372c 6px 9px, transparent 9px 12px, #3a372c 12px 15px); }
.shop-icons { display: flex; justify-content: flex-end; gap: 16px; }
.icon-btn { width: 30px; height: 30px; padding: 0; background: none; border: 0; color: #2e2b22; position: relative; }
.icon-btn svg { width: 100%; height: 100%; }
.shop-main { padding: 20px clamp(16px, 4vw, 60px) 80px; background-image: var(--grain); }
.shop-hero { text-align: center; padding: 26px 0 40px; }
.shop-title { font-family: var(--type); font-weight: 400; font-size: clamp(38px, 4.4vw, 58px); margin: 0; color: #1f1d17; }
.shop-sub { font-family: "Inter", system-ui, sans-serif; margin: 0 0 22px; color: #3a372c; font-size: 16px; }
.brush-btn.small { min-width: 190px; font-size: 24px; padding: 12px 26px 10px; }
.shop-tabs { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 26px; }
.shop-tabs a { font-family: var(--nav); font-size: 26px; color: #3a372c; text-decoration: none; padding-bottom: 2px; border-bottom: 3px solid transparent; }
.shop-tabs a[aria-selected="true"] { border-bottom-color: #3a372c; }
.shop-search { max-width: 420px; margin: 0 auto 20px; }
.shop-note { text-align: center; font: 14px var(--type); color: var(--ink-soft); margin-top: 60px; }
.empty { grid-column: 1 / -1; text-align: center; font-family: var(--type); }
body.shop .footer .torn-top.dark { background: #f1e6c8; }

/* Produktvindu */
.product-modal { max-width: 860px; }
.product-modal[open] { display: grid; grid-template-columns: 1fr 1fr; }
.pd-art { background: radial-gradient(circle at 50% 40%, #fbf6ea, #e6d9bb); display: grid; place-items: center; padding: 30px; }
.pd-art svg { width: 100%; max-width: 360px; filter: drop-shadow(0 14px 16px rgba(40,25,5,.25)); }
.pd-body { padding: 40px 32px 30px; }
.pd-body .chips { justify-content: flex-start; margin-bottom: 10px; }
.pd-body h2 { font-family: var(--nav); font-weight: 400; font-size: 44px; line-height: 1; margin: 0 0 6px; text-transform: uppercase; }
.pd-price { font-family: "Inter", system-ui, sans-serif; font-size: 20px; margin: 0 0 18px; }
.pd-label { font-family: var(--nav); font-size: 20px; margin: 0 0 6px; }
.pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-sizes .pd-label { flex-basis: 100%; }
.size { min-width: 50px; padding: 8px 10px; border: 1.5px solid var(--ink); background: none; font-family: var(--nav); font-size: 20px; }
.size[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.pd-row { display: flex; gap: 14px; align-items: end; }
.pd-qty { font-family: var(--nav); font-size: 18px; display: grid; gap: 4px; }
.pd-qty input { width: 76px; }
.pd-row .brush-btn { flex: 1; min-width: 0; }

/* Kurv */
.cart-lines li { grid-template-columns: 56px 1fr auto auto !important; }
.cl-art svg { width: 56px; height: 56px; }
.cart-lines small { display: block; font: 13px var(--type); opacity: .7; }
.empty-cart { display: flex !important; justify-content: space-between; }
.cart-sum p { display: flex; justify-content: space-between; margin: 4px 0; font-family: var(--type); }
.cart-sum .total { font-size: 20px; border-top: 2px solid var(--ink); padding-top: 6px; margin-top: 8px; }
.free-left { color: var(--rust-2); font-size: 14px; justify-content: flex-end !important; }
.pay-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: center; margin-top: 16px; }
.pay-row .brush-btn { margin-top: 0; min-width: 0; }
.vipps-btn { height: 52px; border: 0; background: #ff5b24; color: #fff; font: 600 16px "Inter", system-ui, sans-serif; opacity: .45; cursor: not-allowed; }
.pay-note { margin: 10px 0 0; }

.footer-links { font-family: var(--nav); font-size: 22px; letter-spacing: .04em; }
.footer-links a, .footer-links button { color: var(--cream); text-decoration: none; background: none; border: 0; font: inherit; padding: 0; }

@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .shop-head { grid-template-columns: auto 1fr auto; }
  .shop-nav { display: none; }
  .shop-logo { justify-content: flex-start; }
  .shop-logo .rules { display: none; }
  .shop-logo .logo-svg { width: 150px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .product-modal[open] { grid-template-columns: 1fr; }
  .pd-art { max-height: 300px; }
  .pd-art svg { max-width: 230px; }
  .promo { font-size: 17px; }
}
@media (max-width: 600px) {
  .room-tabs button { font-size: 18px; }
  .cover-vote { gap: 6px; }
  .cv-title { font-size: 15px; }
  .pcard h3 { font-size: 22px; }
  .pay-row { grid-template-columns: 1fr; }
  .shop-tabs { gap: 16px; }
  .shop-tabs a { font-size: 22px; }
}

/* ---------- Logo med bølgestreker (runde 4) ---------- */
.topbar { align-items: center; padding-top: 10px; padding-bottom: 24px; }
.brand { width: 290px; margin: -6px 0 -4px -8px; }
.brand .logo-svg { overflow: visible; }
.shop-logo .logo-svg { width: 380px; }
.footer-logo { width: 320px; }

/* ---------- Cookie-banner ---------- */
.cookie {
  position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto;
  display: flex; gap: 18px; align-items: center; padding: 16px 18px;
  background: var(--paper); color: var(--ink); background-image: var(--grain);
  box-shadow: 0 16px 50px rgba(0,0,0,.45); border: 1px solid rgba(46,43,34,.25);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 15px; line-height: 1.4; }
.cookie a { color: var(--rust-2); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie button { font-family: var(--nav); font-size: 20px; letter-spacing: .03em; padding: 9px 16px 7px; border: 1.5px solid var(--ink); cursor: pointer; }
.cookie-no { background: none; color: var(--ink); }
.cookie-yes { background: var(--ink); color: var(--cream); }
body.shop .cookie { bottom: 16px; }

/* ---------- Kassen ---------- */
.member-note { font-family: var(--type); font-size: 14px; color: var(--rust-2); margin: 0 0 12px; }
[data-cerr] { display: block; color: #a3361f; font-size: 14px; }

@media (max-width: 960px) {
  .brand { width: 230px; margin-left: -6px; }
  .shop-logo .logo-svg { width: 260px; }
}
@media (max-width: 600px) {
  .cookie { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions button { flex: 1; }
  .footer-logo { width: 240px; }
}

@media (max-width: 600px) { .brand { width: 200px; } }

/* ---------- Musikk og sangtekster (rutenett som Spotify) ---------- */
.releases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 22px; }
.release { display: flex; flex-direction: column; min-width: 0; }
.release-cover { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; box-shadow: 0 10px 22px rgba(60,40,10,.22); background: var(--paper-2); }
.release-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.release-play { position: absolute; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--rust); color: var(--cream); box-shadow: 0 6px 14px rgba(0,0,0,.3); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.release-play svg { width: 22px; height: 22px; }
.release-cover:hover img { transform: scale(1.04); }
.release-cover:hover .release-play, .release-cover:focus-visible .release-play { opacity: 1; transform: none; }
.release-title { margin: 12px 0 2px; font-family: var(--nav); font-weight: 400; font-size: 25px; line-height: 1.05; letter-spacing: .01em; }
.release-title a { text-decoration: none; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.release-title a:hover { color: var(--rust-2); }
.release-meta { margin: 0 0 10px; font-family: var(--type); font-size: 14px; color: var(--ink-soft); }
.release-lyrics { align-self: flex-start; margin-top: auto; padding: 6px 16px 4px; border: 1.5px solid var(--ink); background: none; font-family: var(--nav); font-size: 19px; letter-spacing: .05em; color: var(--ink); text-transform: uppercase; }
.release-lyrics:hover { background: var(--ink); color: var(--cream); }

/* ---------- Om (Sebb Ottesen-oppsett) ---------- */
.about { background: #15130e; color: #efe6d2; padding: clamp(60px, 9vw, 120px) clamp(18px, 5vw, 80px); position: relative; }
.about::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .5; pointer-events: none; }
.about-inner { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: sepia(.35) saturate(.8) contrast(1.02); -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
.about-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(54px, 6vw, 84px); line-height: .9; margin: 0 0 22px; color: #f6efe0; filter: url(#worn); }
.about-text p, .about-long p { font-size: 19px; line-height: 1.65; margin: 0 0 14px; }
.about-text p:first-child { color: #f6efe0; }
.line-btn.dark { margin-top: 12px; border-color: rgba(239,230,210,.8); color: #efe6d2; }
.about-modal { max-width: 720px; }
.about-modal-body { padding: 44px 46px 36px; max-height: 86vh; overflow: auto; }
.about-modal-body h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 54px; line-height: 1; margin: 0 0 20px; }
.about-modal-body .brush-btn { margin-top: 10px; }

/* ---------- Tour ---------- */
#tour .section-head { align-items: center; }
#tour .section-head .brush-btn { min-width: 0; }
.tour-lead { font-size: 19px; margin: -10px 0 18px; max-width: 46em; }

/* ---------- Footer-ikoner ---------- */
.footer-social { position: relative; display: flex; justify-content: center; gap: 22px; margin: 6px 0 14px; }
.footer-social a { width: 26px; height: 26px; color: var(--cream); opacity: .9; }
.footer-social a:hover { opacity: 1; color: #e3a476; }
.footer-social svg { width: 100%; height: 100%; }

@media (max-width: 1100px) { .releases { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .release-title { font-size: 21px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo img { aspect-ratio: 1; }
  .about-modal-body { padding: 36px 22px 26px; }
  #tour .section-head .brush-btn { width: 100%; }
}

/* ---------- Enklere forside: fremhevet musikk og nedtrekk ---------- */
.featured { display: grid; gap: 34px; }
.release.big { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: end; }
.release.big .release-cover { border-radius: 8px; }
.release-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.release-kicker { margin: 0 0 6px; font-family: var(--type); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-2); }
.release.big .release-title { font-family: var(--display); font-size: clamp(48px, 6vw, 84px); line-height: .92; text-transform: uppercase; margin-top: 0; }
.release.big .release-meta { font-size: 16px; margin-bottom: 18px; }
.release-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.release-actions .release-lyrics { margin-top: 0; }
.solid-btn.small { padding: 10px 18px 8px; font-size: 14px; background: var(--ink); color: var(--cream); border-color: var(--ink); }
.solid-btn.small:hover { background: var(--rust-2); border-color: var(--rust-2); color: var(--cream); }
.featured-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.fold { margin-top: 34px; border-top: 1.5px solid rgba(46,43,34,.35); }
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 14px; padding: 18px 0; font-family: var(--nav); font-size: 28px; letter-spacing: .03em; color: var(--ink); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; margin-left: auto; font-family: var(--display); font-size: 30px; line-height: 1; transition: transform .2s; }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > summary small { font-family: var(--type); font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.fold > summary:hover { color: var(--rust-2); }
.fold[open] > .releases { padding: 6px 0 10px; }
#tour .fold { margin-top: 10px; }
.home .paper { padding-bottom: 40px; }

@media (max-width: 760px) {
  .release.big { grid-template-columns: 1fr; }
  .featured-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .featured-row .release:last-child { grid-column: 1 / -1; max-width: calc(50% - 7px); }
  .fold > summary { font-size: 24px; }
}

/* ========== Runde 7: roligere typografi (Sebb Ottesen-forhold) ========== */
.nav a, .nav-link { font-size: 19px; letter-spacing: .06em; }
.hero-title { font-size: clamp(46px, 5.6vw, 84px); margin-bottom: 22px; filter: none; letter-spacing: .02em; }
.stamp { font-size: clamp(32px, 3.4vw, 46px); filter: none; letter-spacing: .03em; }
.section-head { border-bottom: 1px solid rgba(46,43,34,.3); margin-bottom: 24px; }
.brush-btn { font-size: 20px; min-width: 200px; padding: 13px 28px 11px; }
.brush-btn.small { font-size: 18px; min-width: 160px; padding: 10px 22px 8px; }
.signup-title { font-size: 34px; }
.about-modal-body h2, .lyric-body h2 { font-size: 38px; }
.pcard h3 { font-size: 22px; }
.shop-title { font-size: clamp(30px, 3.2vw, 44px); }
.tour-date b { font-size: 28px; }
.tour-where { font-size: 26px; }
.section { padding-top: 64px; }

/* Overskrift med penselstrøk under (Wallen) */
.smear-title { text-align: center; margin: 0 0 34px; }
.smear-title span { position: relative; display: inline-block; z-index: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: .03em; color: #34362a; padding: 0 22px; }
.smear-title span::before, .smear-title span::after { content: ""; position: absolute; z-index: -1; background: var(--rust); filter: url(#rough); opacity: .9; }
.smear-title span::before { left: -10%; right: -14%; bottom: 10%; height: 26%; transform: rotate(-2deg); }
.smear-title span::after { left: 6%; right: 22%; bottom: -14%; height: 18%; transform: rotate(1.5deg); opacity: .75; }

/* Karusellen */
.music { padding-top: 70px; }
.flow { position: relative; outline: none; }
.flow-track { position: relative; height: clamp(200px, 23vw, 350px); touch-action: pan-y; user-select: none; }
.flow-track::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -14px; height: 22px; background: linear-gradient(90deg, transparent, rgba(181,101,58,.35) 20%, rgba(181,101,58,.25) 70%, transparent); filter: url(#rough); z-index: 0; }
.flow-item { position: absolute; top: 0; left: 50%; width: clamp(170px, 21vw, 330px); aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s; transform-origin: 50% 50%; }
.flow-item img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: 0 18px 34px rgba(60,40,10,.28); }
.flow-item[aria-current="true"] img { box-shadow: 0 22px 44px rgba(60,40,10,.35); }
.flow:focus-visible .flow-item[aria-current="true"] { outline: 3px solid var(--rust); outline-offset: 6px; }
.flow-arrow { position: absolute; top: 50%; z-index: 20; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #34362a; background: rgba(241,230,200,.85); color: #34362a; font-size: 30px; line-height: 38px; text-align: center; padding: 0; }
.flow-arrow:hover { background: #34362a; color: var(--cream); }
.flow-arrow.prev { left: 0; }
.flow-arrow.next { right: 0; }
.flow-caption { text-align: center; margin-top: 34px; }
.flow-meta { margin: 0; font-family: var(--type); font-size: 14px; letter-spacing: .08em; color: var(--ink-soft); }
.flow-title { margin: 4px 0 0; font-family: var(--nav); font-weight: 400; font-size: 32px; letter-spacing: .03em; color: #34362a; }
.flow-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.flow-actions .brush-btn { min-width: 300px; }
.line-btn.ink { border-color: #34362a; color: #34362a; background: none; }
.line-btn.ink:hover { background: #34362a; color: var(--cream); }

/* Om – rett under musikken, i sidens egne farger, uten filter */
.about { background: none; color: var(--ink); padding: 90px 0 40px; }
.about::before { display: none; }
.about-inner { max-width: 1000px; }
.about-photo img { filter: none; -webkit-mask: none; mask: none; box-shadow: 0 16px 34px rgba(60,40,10,.25); }
.about-title { font-size: clamp(32px, 3.4vw, 46px); color: #34362a; filter: none; letter-spacing: .03em; margin-bottom: 18px; }
.about-text p { font-size: 18px; color: var(--ink); }
.about-text p:first-child { color: var(--ink); }
.about-text p:first-child::first-line { font-style: normal; }
.about-text p em, .about-long em { color: var(--rust-2); }

/* Undersider (tour) */
.subpage .subpage-paper { padding-top: 90px; min-height: 70vh; }

@media (max-width: 760px) {
  .flow-item { width: 56vw; }
  .flow-track { height: 60vw; }
  .flow-arrow { width: 38px; height: 38px; font-size: 26px; line-height: 32px; }
  .flow-actions .brush-btn { min-width: 0; width: 100%; }
  .flow-title { font-size: 28px; }
  .about { padding-top: 60px; }
  .hero-title { font-size: 15vw; }
}

.flow { overflow-x: clip; overflow-y: visible; padding: 10px 0 24px; }
@media (max-width: 760px) { .flow-item { width: 58vw; } .flow-track { height: 62vw; } }
@media (min-width: 1300px) {
  .flow { overflow: visible; }
  .flow-arrow.prev { left: -64px; }
  .flow-arrow.next { right: -64px; }
}

/* ========== Runde 8: revet papir, ru mur, historie, TBA-merch ========== */
:root { --wall: url("/img/wall.svg"); --streaks: url("/img/wall-streaks.svg"); --tornedge: url("/img/torn-edge.svg"); }

/* Bakgrunn: ru tapet/mur med store, myke strøk */
.paper, body.shop, .shop-main {
  background-color: #efdcb2;
  background-image: var(--streaks), var(--wall);
  background-size: 1400px 1050px, 420px 420px;
  background-repeat: repeat, repeat;
  background-attachment: scroll;
  box-shadow: none;
}
.shop-head { background: #efdcb2 var(--wall); background-size: 420px 420px; }

/* Revet papir under toppbaren (Wallen) */
.topbar { -webkit-mask: none; mask: none; overflow: visible; padding-bottom: 12px; }
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 38px; margin-top: -2px;
  background: var(--tornedge) 0 0 / 100% 100% no-repeat; pointer-events: none;
}
.footer { padding-top: 80px; }
.footer .torn-top, .footer .torn-top.dark {
  -webkit-mask: none; mask: none; background: var(--tornedge) 0 0 / 100% 100% no-repeat;
  top: -36px; height: 38px; transform: scaleY(-1);
}

/* Toppbildet uten knapper */
.hero-title { margin-bottom: 0; }

/* Karusellen: hint i stedet for lytteknapp */
.flow-actions { margin-top: 16px; }
.flow-item[aria-current="true"] { cursor: alpha; }
.flow-item[aria-current="true"]::after { content: "Hør på Spotify ↗"; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 6px 12px 4px; background: rgba(43,41,32,.82); color: var(--cream); font: 13px var(--type); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.flow-item[aria-current="true"]:hover::after, .flow-item[aria-current="true"]:focus-visible::after { opacity: 1; }

/* Historiesiden */
.story { max-width: 760px; margin: 0 auto; padding: 30px 0 40px; }
.story-head { text-align: center; margin-bottom: 30px; }
.story-kicker, .chapter-year { margin: 0; font-family: var(--type); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-2); }
.story-title { margin: 6px 0 12px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5vw, 64px); letter-spacing: .03em; color: #34362a; }
.story-lead { font-size: 20px; font-style: italic; margin: 0 auto; max-width: 34em; }
.chapter { padding: 34px 0; border-top: 1px solid rgba(46,43,34,.25); }
.chapter h2 { margin: 4px 0 14px; font-family: var(--nav); font-weight: 400; font-size: 34px; letter-spacing: .02em; color: #34362a; }
.chapter p { font-size: 18px; line-height: 1.7; margin: 0 0 14px; }
.story-end { text-align: center; }
.story-end .brush-btn { margin-top: 10px; }
.story-sources { border-top: 1px solid rgba(46,43,34,.25); padding-top: 18px; font-size: 14px; color: var(--ink-soft); }
.story-photo { margin: 6px 0 22px; }
.story-photo img { width: 100%; max-width: 520px; height: auto; display: block; margin: 0 auto; box-shadow: 0 16px 34px rgba(60,40,10,.25); }

/* YouTube (lastes ved klikk) */
.yt { margin: 20px 0 26px; }
.yt-play, .yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #1a1610; position: relative; cursor: pointer; overflow: hidden; box-shadow: 0 14px 30px rgba(60,40,10,.25); }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s, transform .3s; }
.yt-play:hover img { opacity: 1; transform: scale(1.02); }
.yt-icon { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(181,101,58,.95); box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.yt-icon::after { content: ""; position: absolute; left: 28px; top: 22px; border-left: 20px solid var(--cream); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.yt figcaption { margin-top: 8px; font-family: var(--type); font-size: 14px; color: var(--ink-soft); }
.yt figcaption a { color: var(--rust-2); }

/* Butikk: skyggelagt merch med TBA */
.shop-hero { padding: 26px 0 30px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pcard.tba .pcard-art { position: relative; }
.pcard.tba .pcard-art svg { filter: brightness(0) opacity(.42) blur(.3px) drop-shadow(0 14px 12px rgba(40,25,5,.35)); }
.pcard.tba:hover .pcard-art { transform: translateY(-4px); }
.tba-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 6px 14px 4px; border: 2px solid var(--rust-2); color: var(--rust-2); background: rgba(236,220,185,.85); font-family: var(--nav); font-size: 22px; letter-spacing: .12em; }
.pcard.tba .pcard-price { font-family: var(--type); color: var(--ink-soft); }
.shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; }
.shop-note button { background: none; border: 0; padding: 0; font: inherit; color: var(--rust-2); text-decoration: underline; cursor: pointer; }

@media (max-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter h2 { font-size: 28px; }
  .chapter p { font-size: 17px; }
  .topbar::after { height: 22px; }
}

/* ========== Bilder i historien ========== */
.photo { margin: 22px 0 26px; }
.photo img { display: block; width: 100%; height: auto; background: #f7f0df; padding: 10px 10px 0; box-shadow: 0 14px 30px rgba(60,40,10,.25); }
.photo figcaption { background: #f7f0df; padding: 8px 12px 12px; font-family: var(--hand); font-size: 22px; line-height: 1.1; color: #34362a; box-shadow: 0 14px 30px rgba(60,40,10,.25); clip-path: inset(0 -40px -40px -40px); }
.photo.small { max-width: 420px; margin-left: auto; margin-right: auto; }
.photo.tilt-l { transform: rotate(-1.6deg); }
.photo.tilt-r { transform: rotate(1.4deg); }
.photo.wide { transform: rotate(.6deg); }
.photo.float { float: right; width: 42%; max-width: 300px; margin: 6px 0 16px 26px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin: 10px 0 8px; }
.photo-pair .photo { margin: 12px 0; }
.chapter::after { content: ""; display: block; clear: both; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 26px; }
.gallery .photo { margin: 0; }
.gallery .photo:nth-child(1) { grid-column: 1 / -1; }
.gallery .photo:nth-child(odd) { transform: rotate(-.8deg); }
.gallery .photo:nth-child(even) { transform: rotate(.9deg); }
.gallery .photo:nth-child(2) img, .gallery .photo:nth-child(2) { align-self: start; }

/* Instagram (lastes ved klikk) */
.ig { margin: 20px auto 26px; max-width: 460px; }
.ig-play { display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; border: 1.5px solid #34362a; background: rgba(247,240,223,.7); text-align: left; cursor: pointer; font: 18px var(--serif); color: var(--ink); }
.ig-play:hover { background: #f7f0df; }
.ig-badge { flex: none; width: 46px; height: 46px; border-radius: 12px; background: radial-gradient(circle at 30% 110%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); position: relative; }
.ig-badge::after { content: ""; position: absolute; inset: 11px; border: 3px solid #fff; border-radius: 8px; box-shadow: inset 0 0 0 5px transparent; }
.ig-txt small { font-family: var(--type); font-size: 13px; color: var(--ink-soft); }
.ig iframe { width: 100%; height: 640px; border: 0; background: #fff; box-shadow: 0 14px 30px rgba(60,40,10,.25); }
.ig figcaption { margin-top: 8px; font-family: var(--type); font-size: 14px; }
.ig figcaption a { color: var(--rust-2); }

@media (max-width: 760px) {
  .photo.float { float: none; width: auto; max-width: 300px; margin: 16px auto; }
  .photo-pair { gap: 12px; }
  .photo figcaption { font-size: 18px; }
  .gallery { grid-template-columns: 1fr; }
}

/* ========== Historien: bilder klistret i margene ========== */
.story { max-width: 680px; }
.photo.taped { position: relative; width: 250px; margin: 6px 0 26px; padding: 9px 9px 9px; background: #f8f2e3; box-shadow: 0 10px 22px rgba(60,40,10,.28); transform: rotate(var(--rot, 0deg)); z-index: 1; }
.photo.taped img { padding: 0; box-shadow: none; background: none; width: 100%; height: auto; display: block; }
.photo.taped .hand { display: block; padding: 10px 4px 2px; font-family: "Caveat Brush", "Nanum Pen Script", "Covered By Your Grace", cursive; font-size: 27px; line-height: 1; color: #1f1d18; letter-spacing: .01em; }
.photo.taped::before, .photo.taped::after {
  content: ""; position: absolute; top: -12px; width: 78px; height: 24px;
  background: rgba(236,226,196,.72); box-shadow: 0 1px 2px rgba(0,0,0,.12);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0), linear-gradient(#000, #000);
}
.photo.taped::before { left: 16px; transform: rotate(-6deg); }
.photo.taped::after { right: 16px; transform: rotate(5deg); }
.photo.taped.side-l { float: left; clear: left; margin-left: -330px; }
.photo.taped.side-r { float: right; clear: right; margin-right: -330px; }
.chapter { position: relative; }

/* Under ~1400px er det ikke plass i margene: bildene legges inn i teksten, litt til siden */
@media (max-width: 1400px) {
  .photo.taped { width: 210px; }
  .photo.taped.side-l { margin-left: -250px; }
  .photo.taped.side-r { margin-right: -250px; }
}
@media (max-width: 1220px) {
  .photo.taped { width: 44%; max-width: 280px; }
  .photo.taped.side-l { margin: 8px 26px 20px -10px; }
  .photo.taped.side-r { margin: 8px -10px 20px 26px; }
}
@media (max-width: 600px) {
  .photo.taped { width: 47%; }
  .photo.taped .hand { font-size: 21px; }
  .photo.taped::before, .photo.taped::after { width: 54px; height: 18px; }
}
.photo.taped .hand { font-family: "Gloria Hallelujah", "Covered By Your Grace", cursive; font-size: 21px; line-height: 1.15; padding: 9px 6px 3px; -webkit-text-stroke: .45px #1f1d18; color: #1f1d18; }
@media (max-width: 600px) { .photo.taped .hand { font-size: 16px; } }

/* ========== Historien: tettere på PC, ryddig på mobil, sitater og presse ========== */
/* Bildene ligger i margene og skal ikke strekke kapitlene: ingen tvungen clear */
@media (min-width: 1221px) {
  .chapter::after { display: none; }
  .chapter { padding: 30px 0; }
  .story-end, .story-sources, .media { clear: both; }
}
.quote { margin: 18px 0 22px; padding: 4px 0 4px 22px; border-left: 3px solid var(--rust); }
.quote p { margin: 0 0 6px !important; font-family: var(--serif); font-style: italic; font-size: 23px !important; line-height: 1.35 !important; color: #34362a; }
.quote cite { font-style: normal; font-family: var(--type); font-size: 13px; color: var(--ink-soft); }
.quote cite a { color: var(--rust-2); }
.press { list-style: none; margin: 8px 0 0; padding: 0; }
.press li { border-bottom: 1px dashed rgba(46,43,34,.3); }
.press a { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 11px 0; text-decoration: none; color: var(--ink); }
.press a:hover .press-title { color: var(--rust-2); text-decoration: underline; }
.press-src { font-family: var(--type); font-size: 13px; color: var(--ink-soft); padding-top: 3px; }
.press-title { font-size: 17px; line-height: 1.4; }

/* Mobil: bildene som egne, klistrede lapper mellom avsnittene – ikke smal tekst ved siden av */
@media (max-width: 760px) {
  .photo.taped, .photo.taped.side-l, .photo.taped.side-r { float: none; width: 74%; max-width: 330px; margin: 26px auto 24px; }
  .photo.taped.side-l { transform: translateX(-7%) rotate(var(--rot, 0deg)); }
  .photo.taped.side-r { transform: translateX(7%) rotate(var(--rot, 0deg)); }
  .photo.taped .hand { font-size: 18px; }
  .chapter { padding: 26px 0; }
  .story { padding-top: 10px; }
  .story-title { font-size: 40px; }
  .story-lead { font-size: 18px; }
  .quote p { font-size: 20px !important; }
  .press a { grid-template-columns: 1fr; gap: 2px; }
  .yt { margin: 16px 0 20px; }
}

/* ========== Sjarken – fan-rommet ========== */
.room-page { max-width: 1120px; margin: 0 auto; padding: 30px 0 50px; }
.room-head { text-align: center; margin-bottom: 26px; }
.room-status { max-width: 680px; margin: 0 auto 22px; padding: 12px 16px; background: rgba(247,240,223,.85); border-left: 3px solid var(--rust); font-family: var(--type); font-size: 15px; }
.gate { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; }
.gate-card { background: rgba(247,240,223,.85); padding: 26px 26px 22px; box-shadow: 0 14px 30px rgba(60,40,10,.18); }
.gate-card h2 { font-family: var(--nav); font-weight: 400; font-size: 32px; margin: 0 0 6px; color: #34362a; }
.gate-card p { margin: 0 0 16px; }
.room-hello { font-family: var(--hand); font-size: 30px; text-align: center; margin: 0 0 14px; color: #34362a; }
.room-filters { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; }
.room-filters button { background: none; border: 0; border-bottom: 3px solid transparent; font-family: var(--nav); font-size: 22px; color: #34362a; padding: 2px 2px 4px; cursor: pointer; }
.room-filters button[aria-selected="true"] { border-bottom-color: var(--rust); }
.room-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.feed { display: grid; gap: 22px; }
.room-item { background: #f8f2e3; padding: 22px 24px 18px; box-shadow: 0 12px 26px rgba(60,40,10,.18); }
.room-kind { margin: 0; font-family: var(--type); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-2); }
.room-item h2 { margin: 4px 0 12px; font-family: var(--nav); font-weight: 400; font-size: 30px; color: #34362a; }
.room-img { width: 100%; max-height: 420px; object-fit: cover; margin-bottom: 12px; }
.room-item audio { width: 100%; margin: 4px 0 10px; }
.room-body { margin: 0 0 14px; font-size: 17px; }
.votes { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 8px; }
.vote { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 7px; border: 1.5px solid #34362a; background: transparent; font-family: var(--nav); font-size: 19px; color: #34362a; cursor: pointer; }
.vote i { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--rust); opacity: .6; }
.vote small { font-family: var(--type); font-size: 13px; opacity: .75; }
.vote[aria-pressed="true"] { background: #34362a; color: var(--cream); }
.vote:disabled { opacity: .5; cursor: default; }
.room-comments { margin-top: 8px; border-top: 1px dashed rgba(46,43,34,.3); padding-top: 8px; }
.room-comments summary { cursor: pointer; font-family: var(--type); font-size: 14px; color: var(--ink-soft); }
.room-comments ul { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.room-comments li p { margin: 2px 0 0; }
.room-comments li.mine b { color: var(--rust-2); }
.room-comments time { font-family: var(--type); font-size: 12px; color: var(--ink-soft); }
.comment-form { display: flex; gap: 8px; }
.comment-form input { flex: 1; }
.comment-form button { background: #34362a; color: var(--cream); border: 0; padding: 0 16px; font-family: var(--nav); font-size: 18px; }
.room-side { display: grid; gap: 18px; position: sticky; top: 90px; }
.side-card { background: rgba(247,240,223,.9); padding: 18px 18px 16px; box-shadow: 0 10px 22px rgba(60,40,10,.15); }
.side-card h2 { margin: 0 0 10px; font-family: var(--nav); font-weight: 400; font-size: 24px; color: #34362a; }
.side-card select, .side-card textarea { width: 100%; margin-bottom: 8px; }
.side-ok { font-family: var(--hand); font-size: 20px; color: var(--rust-2); margin: 8px 0 0; }
.switch-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed rgba(46,43,34,.2); font-size: 17px; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--rust); }
.seg { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 10px; }
.seg button, .amounts button { border: 1.5px solid #34362a; background: none; padding: 8px 6px 6px; font-family: var(--nav); font-size: 18px; color: #34362a; cursor: pointer; }
.seg button[aria-pressed="true"], .amounts button[aria-pressed="true"] { background: #34362a; color: var(--cream); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.amounts .own { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.amounts .own input { flex: 1; }
.support .brush-btn { min-width: 0; font-size: 19px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--rust-2); text-decoration: underline; cursor: pointer; }
.room-out { text-align: center; }
.empty-room { font-family: var(--type); text-align: center; }

@media (max-width: 900px) {
  .gate, .room-layout { grid-template-columns: 1fr; }
  .room-side { position: static; }
}
@media (max-width: 600px) {
  .room-item { padding: 18px 16px 14px; }
  .room-item h2 { font-size: 26px; }
  .gate-card { padding: 20px 16px; }
}
.gate[hidden], .sjarken-room[hidden], .gate-card[hidden], .room-status[hidden], .side-card[hidden] { display: none !important; }

/* Demoer i Sjarken: kompakt spor med egen avspiller */
.room-item.is-track { padding: 18px 20px 14px; }
.track { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; align-items: center; }
.track-art { position: relative; width: 104px; height: 104px; background: #34362a; box-shadow: 0 6px 14px rgba(60,40,10,.25); }
.track-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-play { position: absolute; inset: 0; margin: auto; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--rust); color: #fff8ea; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.35); transition: transform .15s; }
.track-play:hover { transform: scale(1.06); }
.track-play svg { width: 24px; height: 24px; fill: currentColor; }
.track-play .i-pause, .playing .track-play .i-play { display: none; }
.playing .track-play .i-pause { display: inline; }
.track-main h2 { margin: 2px 0 10px; }
.track-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-family: var(--type); font-size: 13px; color: var(--ink-soft); }
.track-seek { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border: 0; padding: 0; margin: 0; box-shadow: none; min-height: 0; background: linear-gradient(to right, var(--rust) var(--p, 0%), rgba(46,43,34,.2) var(--p, 0%)); border-radius: 2px; cursor: pointer; }
.track-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--rust-2); }
.track-seek::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--rust-2); }
.is-track .votes { margin-top: 14px; }
.room-item.playing { box-shadow: 0 12px 26px rgba(60,40,10,.18), inset 4px 0 0 var(--rust); }
@media (max-width: 560px) {
  .track { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
  .track-art { width: 78px; height: 78px; }
  .track-play { width: 40px; height: 40px; }
}

/* Blogg i Sjarken */
.room-layout.reading { grid-template-columns: minmax(0, 1fr); }
.room-layout.reading .room-side { display: none; }
.blog-back { display: inline-block; margin: 0 0 8px; font-family: var(--type); font-size: 15px; }
.blog-post { padding-top: 10px; }
.blog-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: center; cursor: pointer; }
.blog-card:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.blog-img { width: 180px; height: 180px; object-fit: cover; display: block; box-shadow: 0 6px 14px rgba(60,40,10,.25); }
.blog-card .line-btn { display: inline-block; }
@media (max-width: 560px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-img { width: 100%; height: 200px; }
}
#signup-done-link { margin-top: 6px; }
.story-short .yt { margin: 26px 0; }
.story-short { max-width: 900px; }
.story-intro { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 34px; align-items: start; }
.story-intro .story-photo { margin: 0; }
.story-intro .story-text p:first-child { margin-top: 0; }
.story-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.story-short .story-videos .yt { margin: 0; }
@media (max-width: 760px) {
  .story-intro, .story-videos { grid-template-columns: 1fr; }
  .story-intro .story-photo img { max-width: 360px; }
}
@media (max-width: 760px) { .story-intro .story-photo img { max-width: 280px; } }

/* Sjarken: én inngangsboks med bildet ved siden av */
.gate { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; max-width: 980px; margin: 0 auto; box-shadow: 0 18px 40px rgba(60,40,10,.25); background: rgba(247,240,223,.92); }
.gate-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; display: block; min-height: 100%; }
.gate .gate-card { box-shadow: none; background: transparent; padding: 28px 30px 26px; }
.gate-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid #34362a; margin-bottom: 22px; }
.gate-switch[hidden] { display: none; }
.gate-switch button { background: transparent; border: 0; padding: 11px 8px 9px; font-family: var(--nav); font-size: 18px; letter-spacing: .03em; color: #34362a; cursor: pointer; }
.gate-switch button[aria-selected="true"] { background: #34362a; color: var(--cream); }
.gate-pane[hidden] { display: none; }
.room-letter { max-width: 640px; margin: 0 auto 30px; padding: 26px 30px 18px; background: #f8f2e3; box-shadow: 0 12px 26px rgba(60,40,10,.18); transform: rotate(-.6deg); font-size: 19px; line-height: 1.55; }
.room-letter p { margin: 0 0 12px; }
.room-sign { text-align: right; }
.room-sign .hand { font-family: "Gloria Hallelujah", cursive; font-size: 30px; color: #1f1d18; }
.room-intro[hidden], #room-intro[hidden] { display: none; }
@media (max-width: 760px) {
  .gate { grid-template-columns: 1fr; }
  .gate-art { max-height: min(340px, 42vh); overflow: hidden; }
  .gate .gate-card { padding: 20px 16px; }
  .gate-switch button { font-size: 16px; }
  .room-letter { padding: 20px 18px 12px; font-size: 17px; }
}

/* Inne i Sjarken: lyseblå bakgrunn som glir over i Sjarken-bildet øverst */
.sjarken-page.in-room .subpage-paper { background: #d4e7f2; background-image: none; overflow: hidden; }
.sjarken-page.in-room .subpage-paper::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(600px, 74vw, 1100px);
  background: url("/img/sjarken-baat.jpg") 50% 56% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.sjarken-page.in-room .room-page { position: relative; z-index: 1; }
.sjarken-page.in-room .room-head .story-title { color: #1f2a33; text-shadow: 0 0 22px rgba(255,255,255,.9), 0 0 6px rgba(255,255,255,.7); }
.sjarken-page.in-room .room-filters button { color: #1f2a33; }
.sjarken-page.in-room .room-letter { margin-top: clamp(220px, 36vw, 520px); }
@media (max-width: 760px) {
  .sjarken-page.in-room .subpage-paper::before { height: 640px; background-position: 50% 40%; }
  .sjarken-page.in-room .room-letter { margin-top: 300px; }
}

/* Fast oppsett ved bytte «Ny / Allerede med»: knappen står alltid på samme sted */
.gate .gate-card { display: grid; grid-template-rows: auto 1fr; }
.gate .gate-switch { grid-row: 1; }
.gate .gate-pane { grid-row: 2; grid-column: 1; display: flex; flex-direction: column; }
.gate .gate-pane[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.gate .gate-pane form { flex: 1; display: flex; flex-direction: column; }
.gate .gate-pane form > .brush-btn { margin-top: auto; }
.signup-body { display: flex; flex-direction: column; }
#signup-form, #pop-enter-form { flex: 1; display: flex; flex-direction: column; }
#signup-form[hidden], #pop-enter-form[hidden] { display: none; }
#signup-form > .brush-btn, #pop-enter-form > .brush-btn { margin-top: auto; }

/* Tour og butikk: «Kommer» */
.soon { max-width: 620px; margin: 0 auto; padding: 40px 0 90px; text-align: center; }
.soon-stamp { display: inline-block; margin: 6px 0 22px; padding: 8px 22px 5px; border: 3px solid var(--rust); color: var(--rust); font-family: var(--display); font-size: clamp(34px, 6vw, 52px); letter-spacing: .06em; text-transform: uppercase; transform: rotate(-4deg); filter: url(#worn); }
.soon-text { font-size: 20px; margin: 0 auto 26px; max-width: 30em; }
@media (max-width: 760px) {
  .signup-modal[open] { grid-template-rows: auto 1fr; align-content: start; }
}

/* Samtykke: kort linje, resten i nedtrekk */
.consent-more { margin: 0 0 2px 32px; font-size: 14px; line-height: 1.4; }
.consent-more summary { cursor: pointer; font-family: var(--type); text-decoration: underline; text-underline-offset: 3px; width: max-content; }
.consent-more p { margin: 6px 0 0; }

/* Pop-up på mobil: mindre enn skjermen, med Sjarken-bildet som bånd øverst */
@media (max-width: 760px) {
  .signup-modal { width: calc(100vw - 32px); max-width: 440px; max-height: calc(100dvh - 56px); overflow-y: auto; overscroll-behavior: contain; }
  .signup-modal[open] { grid-template-rows: auto 1fr; }
  .signup-art { height: clamp(130px, 22dvh, 190px); max-height: none; }
  .signup-art img { height: 100%; min-height: 0; object-position: 44% 52%; }
  .signup-modal > .close { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
  .signup-body { padding: 14px 18px 12px; }
  .signup-modal .gate-switch { margin-bottom: 12px; }
  .signup-modal .signup-title { font-size: 28px; margin-bottom: 6px; }
  .signup-modal .signup-lead { font-size: 15px; line-height: 1.35; margin-bottom: 12px; }
  .signup-modal .field { margin-bottom: 8px; }
  .signup-modal .field label { font-size: 15px; margin-bottom: 2px; }
  .signup-modal input:not([type=checkbox]) { padding-top: 8px; padding-bottom: 8px; font-size: 16px; }
  .signup-modal .field.two { grid-template-columns: 1fr 1fr; gap: 10px; }
  .signup-modal .check { font-size: 14px; margin-top: 4px; }
  .signup-modal form .brush-btn { margin-top: 10px; }
  .signup-modal .later { margin-top: 4px; }
}

/* Desktop: bildet og skjemaet henger sammen (samme høyde, maleriet i riktig format) */
@media (min-width: 961px) {
  .signup-modal { width: fit-content; max-width: 94vw; }
  .signup-modal[open] { grid-template-columns: min(var(--art-w, 420px), calc(94vw - 460px)) 460px; }
  .signup-art img { object-position: 50% 50%; }
}

/* Skjult inntil videre i Sjarken (SMS-varsler og støtte). Fjern data-paused i sjarken/index.html for å vise igjen. */
.side-card[data-paused] { display: none !important; }
