/* ==========================================================================
   B-ENGEN · OSLO — åpen-verden-spillfølelse, men 100 % B-Engens egen stil.
   Sort lakk, krom, SINNER-rødt, drypp, 404-tagger og B-symbolet.
   Publikum: ADHD → ett budskap per skjerm, rask belønning, alt kan pauses.
   ========================================================================== */

@font-face { font-family: "Anton"; src: url("assets/fonts/anton-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Marker"; src: url("assets/fonts/permanent-marker-latin-400-normal.woff2") format("woff2"); font-display: swap; }

:root {
  color-scheme: dark;
  --black: #050506;
  --carbon: #0d0d10;
  --surface: #131317;
  --raised: #1c1c21;
  --line: #2b2a30;
  --text: #f5f3ef;
  --muted: #b9b5bd;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9d9de 38%, #7d7d86 52%, #e8e8ec 60%, #a3a3ab 100%);
  /* B-Engen-solnedgang: rødt, ikke rosa/lilla */
  --sunset: linear-gradient(180deg, #ffd27a 0%, #ff8a2a 35%, #e52336 70%, #8d0d1c 100%);
  --red: #e52336;
  --red-hot: #ff2e45;
  --red-glow: 0 0 32px rgba(229, 35, 54, .55);
  --focus: #a4cbff;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --marker: "Marker", "Comic Sans MS", cursive;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --outline: 4px solid #050506;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--body); font-size: 19px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 14px 20px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ——— Typografi ——— */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .9; }
.marker { font-family: var(--marker); font-weight: 400; text-transform: none; line-height: 1; }
h2.display { font-size: clamp(48px, 7vw, 104px); }
.red { color: var(--red); }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sunset { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.tag::before { content: ""; width: 36px; height: 4px; background: var(--red); box-shadow: var(--red-glow); }
.muted { color: var(--muted); }
strong { color: var(--text); }

/* ——— Knapper ——— */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 26px; border: 2px solid transparent; border-radius: 0; font: inherit; font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .15s, box-shadow .2s, color .15s, border-color .15s; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.btn:active { transform: translateY(2px) scale(.98); }
.btn-xl { min-height: 64px; padding-inline: 34px; font-size: 19px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); box-shadow: var(--red-glow); }
.btn-chrome { background: linear-gradient(180deg, #2a2a30, #121215); color: var(--text); border-color: #6d6d75; }
.btn-chrome:hover { background: var(--chrome); color: #0a0a0c; border-color: #fff; }
.btn-white { background: #fff; color: #0a0a0c; }
.btn-white:hover { background: #0a0a0c; color: #fff; }
.btn span[aria-hidden] { transition: transform .2s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(5px); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 32px; }
.center { display: flex; justify-content: center; margin-top: 56px; }

/* ═══ LASTESKJERM ═══ */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; background: #000; overflow: hidden; }
.loader[hidden] { display: none; }
.loader-art { position: absolute; inset: 0; }
.la { position: absolute; object-fit: cover; border: var(--outline); box-shadow: 0 0 0 3px var(--red); filter: contrast(1.15) saturate(1.2); }
.la1 { left: -4%; top: 6%; width: 52%; height: 70%; transform: rotate(-4deg); }
.la2 { right: -2%; top: -4%; width: 40%; height: 64%; transform: rotate(3deg); object-position: 50% 25%; }
.la3 { right: 12%; bottom: -10%; width: 44%; height: 46%; transform: rotate(-2deg); }
.loader::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.4) 45%, rgba(0,0,0,.96) 78%); }
.loader-ui { position: relative; z-index: 2; align-self: end; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(32px, 6vh, 64px); }
.loader-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 18px; margin-bottom: 18px; }
.loader-title .display { font-size: clamp(72px, 13vw, 190px); }
.loader-title .marker { font-size: clamp(54px, 8vw, 120px); transform: rotate(-6deg); }
.loader-tip { max-width: 46ch; min-height: 3em; font-size: clamp(19px, 2vw, 23px); }
.tip-label { display: inline-block; margin-right: 8px; padding: 2px 10px; background: var(--red); color: #fff; font-family: var(--display); font-size: .9em; letter-spacing: .06em; text-transform: uppercase; }
.loader-bar { height: 8px; margin: 22px 0 26px; max-width: 520px; background: #2a2a30; border: 2px solid #050506; outline: 1px solid #55545c; }
.loader-bar span { display: block; width: 0; height: 100%; background: var(--red); box-shadow: var(--red-glow); transition: width .25s linear; }

/* ═══ HUD ═══ */
.hud { position: fixed; z-index: 45; top: calc(var(--header-h) + 14px); right: var(--gutter); pointer-events: none; text-align: right; }
.hud-top { display: grid; gap: 6px; justify-items: end; }
.hud-clock { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: .02em; color: #fff; -webkit-text-stroke: 1px #050506; text-shadow: 3px 3px 0 #050506; }
.hud-city { font-family: var(--marker); font-size: 22px; color: var(--red); -webkit-text-stroke: 0; text-shadow: 2px 2px 0 #050506; }
.hud-respect { display: flex; align-items: center; gap: 10px; }
.hud-label { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; text-shadow: 2px 2px 0 #050506; }
.pips { display: flex; gap: 4px; }
.pips i { display: grid; place-items: center; width: 22px; height: 26px; font-style: normal; font-family: var(--display); font-size: 17px; color: #4a4950; background: #0b0b0d; border: 2px solid #050506; outline: 1px solid #4a4950; transition: color .3s, background .3s, outline-color .3s, transform .3s var(--ease); }
.pips i::before { content: "B"; }
.pips i.on { color: #fff; background: var(--red); outline-color: #ff7b89; transform: translateY(-2px); box-shadow: var(--red-glow); }

/* ═══ MINIKART ═══ */
.minimap { position: fixed; z-index: 45; right: var(--gutter); bottom: 22px; width: 190px; height: 190px; }
.map { width: 100%; height: 100%; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
#map-world { transition: transform .5s var(--ease); transform-origin: 100px 100px; }
.blips li { display: contents; }
.blip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; width: 34px; height: 34px; text-decoration: none; transition: left .5s var(--ease), top .5s var(--ease); }
.blip span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #050506; border: 2px solid #fff; font-family: var(--display); font-size: 15px; color: #fff; transition: transform .2s var(--ease), background .2s; }
.blip.is-target span { background: var(--red); border-color: #fff; transform: scale(1.25); box-shadow: var(--red-glow); }
.blip em { position: absolute; left: 50%; bottom: 110%; transform: translateX(-50%); padding: 3px 8px; background: #050506; border: 1px solid var(--red); font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.blip:hover em, .blip:focus-visible em { opacity: 1; }
.blip:hover span { transform: scale(1.2); }

/* ═══ HEADER ═══ */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(5,5,6,.9); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red) 80%, transparent); box-shadow: var(--red-glow); }
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: blur(12px) saturate(1.4); } }
.header-inner { display: flex; align-items: center; gap: 20px; height: 100%; }
.wordmark { font-family: var(--display); font-size: 34px; line-height: 1; letter-spacing: .02em; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.wordmark span { -webkit-text-fill-color: var(--red); color: var(--red); }
.wordmark.wordmark-lg { font-size: clamp(48px, 7vw, 80px); margin-bottom: 10px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 14px; font-size: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.btn-shop { min-height: 46px; padding: 8px 20px; font-size: 16px; }
.phone-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; background: transparent; color: var(--text); border: 2px solid #4a4950; font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.phone-btn:hover { border-color: var(--red); }
.phone-ico { width: 14px; height: 22px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.phone-ico::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 2px; background: currentColor; transform: translateX(-50%); }
html:not(.js) .phone-btn { display: none; }

/* ═══ TELEFON-MENY ═══ */
.phone-wrap { position: fixed; inset: 0; z-index: 120; display: grid; place-items: end center; padding: 16px; background: rgba(0,0,0,.6); }
.phone-wrap[hidden] { display: none; }
@media (min-width: 861px) { .phone-wrap { place-items: center end; padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); } }
.phone { width: min(380px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 18px 18px 22px; background: linear-gradient(180deg, #1a1a1f, #08080a); border: 3px solid #3a3940; border-radius: 34px; box-shadow: 0 0 0 2px #050506, 0 30px 80px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06); animation: phone-up .35s var(--ease) both; }
@keyframes phone-up { from { transform: translateY(40px) rotate(2deg); opacity: 0; } to { transform: none; opacity: 1; } }
.phone-status { display: flex; justify-content: space-between; padding: 0 10px 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.phone-head { padding: 6px 10px 16px; font-family: var(--display); font-size: 34px; text-transform: uppercase; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; padding: 0 4px 20px; }
.app { display: grid; justify-items: center; gap: 8px; min-height: 96px; padding-top: 4px; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.app-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(180deg, #2c2c33, #151519); border: 2px solid #050506; outline: 1px solid #45444b; font-family: var(--display); font-size: 26px; color: #fff; transition: transform .15s var(--ease), background .15s; }
.app-red .app-ico { background: var(--red); outline-color: #ff7b89; }
.app:hover .app-ico, .app:focus-visible .app-ico { transform: scale(1.08); background: var(--red); }
.phone-close { width: 100%; }

/* ═══ ① HERO ═══ */
.hero { position: relative; display: flex; align-items: flex-end; min-height: calc(100svh - var(--header-h)); overflow: hidden; isolation: isolate; background: #000; }
.collage { position: absolute; inset: -4%; z-index: -2; }
.panel { position: absolute; margin: 0; overflow: hidden; border: var(--outline); box-shadow: 0 0 0 3px var(--red), 0 30px 60px rgba(0,0,0,.6); transition: transform .4s var(--ease); will-change: transform; }
.panel img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.12) saturate(1.15); }
.pn1 { left: 2%; top: 4%; width: 30%; height: 58%; rotate: -5deg; }
.pn2 { left: 30%; top: 2%; width: 40%; height: 74%; rotate: 2deg; z-index: 2; }
.pn3 { right: 2%; top: 6%; width: 28%; height: 60%; rotate: 4deg; }
.pn3 img { object-position: 50% 30%; }
.pn4 { left: 8%; bottom: 0; width: 34%; height: 40%; rotate: 3deg; z-index: 1; }
.pn5 { right: 8%; bottom: 2%; width: 30%; height: 36%; rotate: -3deg; z-index: 1; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,6,.1) 0%, rgba(5,5,6,.15) 35%, rgba(5,5,6,.82) 66%, rgba(5,5,6,.98) 88%); }
.hero-content { position: relative; padding-block: 40px clamp(48px, 7vw, 90px); }
.hero h1 { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 20px; line-height: .85; }
.title-main { font-size: clamp(84px, 15vw, 240px); filter: drop-shadow(6px 6px 0 #050506); }
.title-city { font-size: clamp(64px, 9vw, 150px); transform: rotate(-7deg) translateY(-12%); filter: drop-shadow(4px 4px 0 #050506); }
.hero-sub { margin-top: 14px; font-size: clamp(30px, 4vw, 58px); }
.hero-sub .red { text-shadow: 0 0 30px rgba(229,35,54,.45); }

.plate { display: inline-flex; align-items: stretch; margin-bottom: 18px; background: #f4f4f1; color: #0b0b0c; border: 2px solid #0b0b0c; border-radius: 6px; box-shadow: 0 0 0 2px #f4f4f1, 0 10px 30px rgba(0,0,0,.5); font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .08em; line-height: 1; overflow: hidden; }
.plate > span:last-child { padding: 8px 16px 6px; }
.plate-flag { display: grid; place-items: center; width: 30px; background: #0f3a8c; color: #fff; font-family: var(--body); font-weight: 700; font-size: 14px; }

/* ═══ ② TICKER ═══ */
.ticker { position: relative; z-index: 3; display: flex; align-items: center; background: var(--red); color: #fff; }
.ticker-track { display: flex; flex: 1; overflow: hidden; }
.ticker-list { display: flex; flex-shrink: 0; animation: ticker 32s linear infinite; }
.ticker-list li { display: flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.ticker-list li::after { content: "B"; display: grid; place-items: center; width: 26px; height: 26px; background: #050506; color: var(--red); font-size: 18px; }
.ticker.is-paused .ticker-list { animation-play-state: paused; }
.ticker-toggle { flex: 0 0 auto; align-self: stretch; min-width: 88px; padding: 0 16px; border: 0; border-left: 2px solid rgba(0,0,0,.35); background: #b8172a; color: #fff; font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.ticker-toggle:hover { background: #8f0f1f; }
@keyframes ticker { to { transform: translateX(-100%); } }
.drips { position: absolute; left: 0; top: 100%; width: 100%; height: 34px; fill: var(--red); pointer-events: none; }

/* ═══ ③ MELLOMSEKVENS ═══ */
.cutscene { position: relative; display: grid; grid-template-columns: 1fr; background: #000; }
.cs-sticky { grid-area: 1 / 1; position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; }
.cs-frame { position: relative; width: 100%; height: 100%; }
.cs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 6s linear; filter: contrast(1.1) saturate(1.1) brightness(.8); }
.cs-img.is-on { opacity: 1; transform: scale(1); }
.letterbox { position: absolute; left: 0; right: 0; height: 11%; background: #000; z-index: 2; }
.letterbox.top { top: 0; }
.letterbox.bottom { bottom: 0; }
.cs-chapter { position: absolute; z-index: 3; top: calc(11% + 18px); right: var(--gutter); font-family: var(--display); font-size: clamp(28px, 3vw, 40px); color: #fff; text-shadow: 3px 3px 0 #000; }
.cs-chapter span { color: var(--red); }
.cs-lines { grid-area: 1 / 1; position: relative; z-index: 4; }
.cs-line { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 0 var(--gutter) calc(11svh + 40px); text-align: center; }
.cs-tag { display: inline-block; margin-bottom: 14px; padding: 6px 14px; background: var(--red); color: #fff; font-family: var(--display); font-size: clamp(18px, 1.8vw, 22px); letter-spacing: .06em; text-transform: uppercase; }
.subtitle { max-width: 22ch; padding: 10px 18px; background: rgba(0,0,0,.72); font-family: var(--display); font-size: clamp(34px, 5vw, 72px); line-height: 1; text-transform: uppercase; color: #fff; }
.cs-line .actions { justify-content: center; background: rgba(0,0,0,.72); padding: 16px 20px; margin-top: 18px; }

/* ═══ ④ GARDEROBEN ═══ */
.wardrobe { padding-block: clamp(90px, 11vw, 160px); background: var(--carbon); border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.section-intro { max-width: 30ch; font-size: 21px; color: var(--muted); }
.store { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: start; }
.store-preview { position: relative; display: grid; grid-template-rows: auto auto; background: #08080a; border: 1px solid var(--line); }
.preview-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2a1015, #050506 70%); }
.preview-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .4s var(--ease); }
.preview-img img.swap { opacity: 0; transform: scale(1.04); }
.preview-no { position: absolute; left: 18px; top: 10px; font-size: clamp(80px, 9vw, 140px); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); }
.preview-info { display: grid; gap: 6px; padding: 20px 22px 24px; border-top: 3px solid var(--red); }
.preview-name { font-size: clamp(34px, 3.4vw, 50px); }
.preview-spec { color: var(--muted); margin-bottom: 14px; }
.store-list { display: grid; gap: 8px; }
.item { display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 0 20px; background: linear-gradient(90deg, #17171b, #0e0e11); border: 1px solid var(--line); text-decoration: none; transition: background .15s, border-color .15s, transform .15s var(--ease), padding .15s; }
.item-no { font-family: var(--display); font-size: 22px; color: var(--red); }
.item-name { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); text-transform: uppercase; line-height: 1; }
.item::after { content: "→"; margin-left: auto; font-size: 24px; opacity: .35; transition: opacity .15s, transform .15s; }
.item:hover, .item.is-active { background: linear-gradient(90deg, var(--red), #8d0d1c); border-color: #ff7b89; transform: translateX(6px); }
.item:hover .item-no, .item.is-active .item-no { color: #fff; }
.item.is-active::after, .item:hover::after { opacity: 1; }
.store-hint { margin-top: 18px; font-size: 16px; color: var(--muted); }

/* ═══ ⑤ TIPS-KORT ═══ */
.tipcard { padding-block: clamp(80px, 10vw, 140px); background: #000; border-top: 1px solid var(--line); }
.tip-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.tip-inner img { width: 100%; border: var(--outline); box-shadow: 0 0 0 3px var(--red); transform: rotate(-2deg); }
.tip-text { position: relative; }
.tip-label.big { font-size: 22px; padding: 4px 14px; margin-bottom: 22px; display: inline-block; background: var(--red); font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; }
.big-quote { font-size: clamp(42px, 5.4vw, 80px); line-height: .95; }
.quote-by { margin-top: 22px; color: var(--muted); font-size: 18px; letter-spacing: .06em; }
.tag-404 { position: absolute; right: 0; bottom: -40px; font-size: clamp(90px, 12vw, 180px); color: var(--red); opacity: .22; transform: rotate(-10deg); pointer-events: none; }

/* ═══ ⑥ GARASJEN ═══ */
.garage { padding-block: clamp(90px, 11vw, 160px); background: linear-gradient(180deg, var(--black), #0b0b0e); border-top: 1px solid var(--line); }
.rail-controls { display: flex; align-items: center; gap: 12px; }
.rail-count { min-width: 72px; font-family: var(--display); font-size: 30px; text-align: right; }
.rail-btn { min-width: 60px; min-height: 56px; padding: 0 18px; font-size: 24px; }
.rail { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding: 12px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 26px; scrollbar-width: thin; scrollbar-color: var(--red) var(--raised); }
.rail li { flex: 0 0 clamp(260px, 30vw, 420px); scroll-snap-align: start; }
.rail li:nth-child(odd) .shot { rotate: -1.2deg; }
.rail li:nth-child(even) .shot { rotate: 1.2deg; }
.shot { display: block; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: var(--outline); box-shadow: 0 0 0 3px #3a3940; background: var(--raised); cursor: zoom-in; overflow: hidden; transition: rotate .3s var(--ease), box-shadow .2s, transform .3s var(--ease); }
.shot:hover, .shot:focus-visible { rotate: 0deg !important; transform: translateY(-6px); box-shadow: 0 0 0 3px var(--red), var(--red-glow); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); filter: contrast(1.08) saturate(1.1); }
.shot:hover img { transform: scale(1.06); }

/* ═══ ⑦ POPUP ═══ */
.popup { padding-block: clamp(90px, 11vw, 160px); background: var(--carbon); border-top: 1px solid var(--line); }
.popup-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.popup-text h2 { margin-bottom: 24px; }
.popup-text p:not(.tag) { max-width: 32ch; margin-bottom: 32px; font-size: 21px; }
.popup-img { position: relative; }
.popup-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: var(--outline); box-shadow: 0 0 0 3px var(--red); }
.pin { position: absolute; top: -26px; right: 24px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--red); border: 4px solid #050506; box-shadow: var(--red-glow); font-family: var(--display); font-size: 28px; color: #fff; animation: pin 1.6s var(--ease) infinite; }
@keyframes pin { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ═══ ⑧ FØLG ═══ */
.follow { position: relative; padding-block: clamp(90px, 10vw, 140px); background: var(--red); color: #fff; text-align: center; }
.drips-top { top: auto; bottom: 100%; transform: scaleY(-1); }
.follow h2 { font-size: clamp(56px, 9vw, 130px); }
.follow p { margin-top: 14px; font-size: 22px; font-weight: 700; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.socials .btn { min-width: 200px; }
.follow :focus-visible { outline-color: #fff; }

/* ═══ FOOTER ═══ */
.site-footer { padding-top: 80px; padding-bottom: 24px; background: #000; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 48px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; font-size: 18px; text-decoration: none; }
.footer-links a:hover { color: var(--red-hot); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-block: 24px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.footer-bottom .text-link { font-size: 16px; color: var(--text); }

/* ═══ OPPDRAGSVARSEL ═══ */
.toast { position: fixed; z-index: 110; left: 50%; top: calc(var(--header-h) + 20px); transform: translate(-50%, -30px); min-width: min(440px, calc(100vw - 32px)); padding: 14px 24px 16px; background: rgba(5,5,6,.94); border: 2px solid var(--red); box-shadow: var(--red-glow); text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast-kicker { font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1; text-transform: uppercase; }
.toast-kicker::first-letter { color: var(--red); }
.toast-text { margin-top: 4px; font-weight: 700; color: var(--muted); }

/* ═══ FAST HANDLEKNAPP ═══ */
.sticky-shop { display: none; }

/* ═══ LIGHTBOX ═══ */
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 16px var(--gutter); border: 0; background: rgba(0,0,0,.97); color: var(--text); }
.lightbox[open] { display: flex; flex-direction: column; gap: 14px; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lb-top, .lb-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lb-count { font-family: var(--display); font-size: 26px; }
#lb-img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.lb-nav .btn { flex: 1; max-width: 280px; }

/* ═══ BEVEGELSE ═══ */
@media (prefers-reduced-motion: no-preference) {
  html:not(.calm) .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s var(--ease); }
  html:not(.calm) .reveal.is-visible { opacity: 1; transform: none; }
  html:not(.calm) .panel { animation: slam .7s var(--ease) both; }
  .pn1 { animation-delay: .05s !important; } .pn3 { animation-delay: .15s !important; } .pn4 { animation-delay: .25s !important; } .pn5 { animation-delay: .32s !important; }
  html:not(.calm) .hero-content > * { animation: rise .8s var(--ease) both; }
  .hero-content > :nth-child(1) { animation-delay: .4s; } .hero-content > :nth-child(2) { animation-delay: .5s; } .hero-content > :nth-child(3) { animation-delay: .65s; } .hero-content > :nth-child(4) { animation-delay: .75s; }
  @keyframes slam { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}
/* Brukerstyrt eller system: rolig modus */
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition: none !important; }
html.calm .ticker-list[aria-hidden], html.calm .ticker-toggle { display: none; }
html.calm .ticker-track, html.calm .ticker-list { flex-wrap: wrap; }
html.calm .reveal { opacity: 1 !important; transform: none !important; }
html.calm .cs-img { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-list[aria-hidden], .ticker-toggle { display: none; }
  .ticker-track, .ticker-list { flex-wrap: wrap; }
}

/* ═══ NETTBRETT ═══ */
@media (max-width: 1180px) { .minimap { width: 150px; height: 150px; } }
@media (max-width: 1080px) {
  .nav { display: none; }
  .btn-shop { margin-left: auto; }
}

/* ═══ MOBIL ═══ */
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 18px; }
  .wordmark { font-size: 28px; }
  .header-inner { gap: 10px; }
  .nav { display: none; }
  .btn-shop { margin-left: auto; padding-inline: 16px; }
  .minimap { display: none; }
  .hud { top: calc(var(--header-h) + 10px); }
  .hud-clock { font-size: 26px; }
  .hud-label { display: none; }
  .pips i { width: 18px; height: 22px; font-size: 14px; }

  .pn1 { left: -6%; top: 2%; width: 50%; height: 44%; }
  .pn2 { left: 20%; top: 6%; width: 70%; height: 56%; }
  .pn3 { display: none; }
  .pn4 { left: -4%; bottom: 22%; width: 46%; height: 28%; }
  .pn5 { right: -6%; bottom: 26%; width: 44%; height: 26%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(5,5,6,0) 0%, rgba(5,5,6,.2) 30%, rgba(5,5,6,.9) 58%, rgba(5,5,6,.99) 76%); }
  .hero-content { padding-bottom: 36px; }
  .actions .btn-xl { flex: 1 1 100%; }

  .subtitle { font-size: clamp(30px, 9vw, 46px); }
  .cs-line .actions { flex-direction: column; }
  .store { grid-template-columns: 1fr; }
  .store-preview { position: sticky; top: calc(var(--header-h) + 8px); z-index: 2; grid-template-columns: 40% 1fr; grid-template-rows: auto; }
  .preview-img { aspect-ratio: 3 / 4; }
  .preview-no { font-size: 64px; left: 10px; }
  .preview-info { border-top: 0; border-left: 3px solid var(--red); padding: 14px; align-content: center; }
  .preview-name { font-size: 26px; }
  .preview-spec { font-size: 15px; margin-bottom: 8px; }
  .preview-info .btn-xl { min-height: 52px; padding-inline: 14px; font-size: 15px; }
  .item { min-height: 64px; }
  .tip-inner { grid-template-columns: 1fr; }
  .popup-grid { grid-template-columns: 1fr; }
  .popup-img { order: -1; }
  .rail li { flex-basis: 78vw; }
  .rail-count { font-size: 24px; min-width: 56px; }
  .footer-links { grid-template-columns: 1fr; }

  .sticky-shop { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 24px; background: var(--red); color: #fff; font-family: var(--display); font-size: 26px; text-transform: uppercase; text-decoration: none; box-shadow: 0 12px 40px rgba(0,0,0,.6), var(--red-glow); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); transform: translateY(140%); transition: transform .35s var(--ease); }
  .sticky-shop.is-visible { transform: none; }
  .site-footer { padding-bottom: 96px; }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .wordmark { font-size: 24px; }
  .btn-shop { font-size: 15px; padding-inline: 12px; }
  .phone-btn { padding: 0 10px; gap: 8px; font-size: 15px; }
  .rail-btn { min-width: 52px; padding: 0 12px; }
}

/* Ingen sidelengs scrolling på noen skjerm */
html, body { overflow-x: clip; }
@media (max-width: 860px) { .item:hover, .item.is-active { transform: none; } }
