@font-face{font-family:"EB Garamond";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/eb-garamond-500.woff2") format("woff2");}
@font-face{font-family:"EB Garamond";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/eb-garamond-500-italic.woff2") format("woff2");}
@font-face{font-family:"EB Garamond";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/eb-garamond-600.woff2") format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/nunito-sans-400.woff2") format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/nunito-sans-600.woff2") format("woff2");}
@font-face{font-family:"Nunito Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/nunito-sans-700.woff2") format("woff2");}
@font-face{font-family:"Kalam";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/kalam-700.woff2") format("woff2");}
/* ==========================================================
   Besta – heibesta.no  (v2, i stil med pilotplakaten)
   Farger: Besta-blå, marine, solgul, lys blå, hvit.
   Skrift: EB Garamond (titler), Inter (tekst), Kalam (Bessi).
   ========================================================== */

:root {
  /* Besta-palett (samlet her) */
  --blue: #4F6BFF;
  --ink: #14234A;
  --sky: #C9DCFF;
  --bg: #FFFDF8;
  --gold: #FFC83D;
  /* avledet fra paletten */
  --white: #FFFFFF;
  --ink-soft: color-mix(in srgb, var(--ink) 78%, var(--bg));
  --blue-hover: color-mix(in srgb, var(--blue) 88%, var(--ink));
  --blue-ink: color-mix(in srgb, var(--blue) 80%, var(--ink));
  --sky-soft: color-mix(in srgb, var(--sky) 34%, var(--bg));
  --sky-faint: color-mix(in srgb, var(--sky) 16%, var(--bg));
  --rose: #FFB3C7;
  --leaf: #A7F3A0;
  --line: color-mix(in srgb, var(--ink) 13%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 30%, transparent);
  --line-dark: rgba(255, 255, 255, 0.18);

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --sec: clamp(80px, 11vw, 150px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(100px + env(safe-area-inset-top, 0px)); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold); }

h1, h2 { font-family: var(--serif); font-weight: 500; color: inherit; margin: 0 0 0.4em; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.2vw, 6.1rem); line-height: 0.98; }
h2 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); line-height: 1.02; }
h1 em, h2 em { font-style: italic; }
h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 0.4em; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); max-width: 42ch; }
.kicker { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 1.1rem; }
.small { font-size: 0.95rem; color: var(--ink-soft); }

.dark { background: var(--ink); color: #fff; }
.dark h1, .dark h2 { color: var(--gold); }
.dark h3 { color: #fff; }
.dark .lead, .dark p { color: rgba(255, 255, 255, 0.86); }
.dark .kicker { color: #fff; }
.dark a:not(.btn) { color: #fff; }
.sky { background: var(--sky-soft); }
.sky-soft { background: var(--sky-faint); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec-s { padding-block: calc(var(--sec) * 0.6); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knapper ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--sans); font-weight: 700; font-size: 1.17rem; line-height: 1; padding: 1rem 1.55rem; min-height: 56px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-outline { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: rgba(20, 35, 74, 0.15); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-top: 2.1rem; }
.link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.link:hover { color: var(--blue-ink); }
.dark .link { color: #fff; text-decoration-color: var(--gold); }

/* ---------- Header og meny ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: color-mix(in srgb, var(--bg) 96%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(20, 35, 74, 0.45); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 88px; transition: min-height .25s; }
.logo { display: inline-flex; flex: none; }
.logo img { height: 52px; width: auto; transition: height .25s; }
.menu { display: flex; align-items: center; gap: 0.3rem; margin: 0 0 0 1.5rem; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu-link { display: inline-flex; align-items: center; gap: 0.35rem; font: 600 1.02rem/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0.85rem 0.9rem; border-radius: 999px; transition: background-color .2s; }
.menu-link:hover, .menu-link[aria-expanded="true"] { background: var(--sky-soft); color: var(--ink); }
.menu-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.menu-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.menu-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: -1rem; width: min(720px, 80vw); display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 0.9rem; background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(20, 35, 74, 0.45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.dropdown.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd-list { list-style: none; margin: 0; padding: 0.6rem 0.4rem; }
.dd-list .dd-label { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); padding: 0.2rem 0.8rem 0.6rem; }
.dd-list a { display: block; padding: 0.7rem 0.8rem; border-radius: 14px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.dd-list a:hover, .dd-list a:focus-visible { background: var(--sky-soft); }
.dd-list b { display: block; font-weight: 600; font-size: 1.05rem; }
.dd-list span { display: block; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.4; margin-top: 0.15rem; }
.dd-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; background: var(--sky); border-radius: 18px; padding: 1.4rem; text-decoration: none; color: var(--ink); overflow: hidden; position: relative; min-height: 250px; }
.dd-card:hover { color: var(--ink); }
.dd-card img { width: 120px; align-self: center; transition: transform .35s var(--ease); }
.dd-card:hover img { transform: rotate(-6deg) scale(1.05); }
.dd-card .dd-title { font-family: var(--serif); font-weight: 500; font-size: 1.65rem; line-height: 1.1; }
.dd-card .dd-more { font-weight: 600; color: var(--blue-ink); }
.dd-card.photo-card { padding: 0; background: var(--ink); color: #fff; }
.dd-card.photo-card img { width: 100%; height: 150px; object-fit: cover; align-self: stretch; }
.dd-card.photo-card .dd-text { padding: 0 1.3rem 1.3rem; display: grid; gap: 0.6rem; }
.dd-card.photo-card .dd-title { color: var(--gold); }
.dd-card.photo-card .dd-more { color: #fff; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.header-tel { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-tel svg { width: 18px; height: 18px; color: var(--blue); }
.header-tel:hover { color: var(--blue-ink); }
.header-cta { min-height: 50px; padding: 0.85rem 1.3rem; font-size: 1.02rem; }
.menu-btn { display: none; align-items: center; gap: 0.5rem; background: var(--ink); color: #fff; border: 0; font: 600 1rem/1 var(--sans); padding: 0.85rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 48px; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu { display: none; }

@media (max-width: 1120px) {
  .header-tel span { display: none; }
}
@media (max-width: 1060px) {
  .menu, .header-cta, .header-tel { display: none; }
  .menu-btn { display: inline-flex; }
  .logo img { height: 44px; }
  .mobile-menu[data-open="true"] { display: block; position: fixed; inset: 0; z-index: 80; overflow-y: auto; background: var(--bg); padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px); animation: mm-in .3s var(--ease); }
  .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
  .mm-group { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
  .mm-group p { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 0.4rem; }
  .mm-group a { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.25; color: var(--ink); text-decoration: none; padding: 0.15rem 0; }
  .mm-group a[aria-current="page"] { color: var(--blue-ink); }
  .mm-contact { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
}
@keyframes mm-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero med foto ---------- */
.hero { position: relative; color: #fff; min-height: clamp(600px, 88vh, 900px); display: flex; align-items: flex-end; overflow: hidden; background: #1a1410; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.06); animation: hero-zoom 9s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, 0.82) 0%, rgba(10, 8, 6, 0.55) 45%, rgba(10, 8, 6, 0.1) 80%), linear-gradient(0deg, rgba(10, 8, 6, 0.75) 0%, rgba(10, 8, 6, 0) 55%); }
.hero-inner { position: relative; z-index: 2; padding-block: 120px clamp(70px, 10vh, 120px); }
.hero .kicker { color: #fff; }
.hero h1 { color: var(--gold); max-width: 11ch; }
.hero .lead { color: rgba(255, 255, 255, 0.9); max-width: 36ch; }
.u-word { position: relative; display: inline-block; white-space: nowrap; }
.u-word svg { position: absolute; left: -3%; bottom: -0.16em; width: 106%; height: 0.32em; overflow: visible; pointer-events: none; }
.u-word path { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.1s 0.9s var(--ease) forwards; }
.dark .u-word path, .hero .u-word path { stroke: #6F87FF; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.load-1, .load-2, .load-3, .load-4 { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; }
.load-1 { animation-delay: .1s; } .load-2 { animation-delay: .25s; } .load-3 { animation-delay: .55s; } .load-4 { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-bessi { position: absolute; z-index: 3; right: clamp(16px, 6vw, 110px); bottom: -14px; width: clamp(120px, 14vw, 190px); }
.bessi { appearance: none; background: none; border: 0; padding: 0; cursor: pointer; width: 100%; display: block; -webkit-tap-highlight-color: transparent; transition: transform .3s var(--ease); }
.bessi:hover { transform: rotate(-4deg); }
.bessi img { width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.bessi.hop { animation: hop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(4%) scale(1.05, .94); } 55% { transform: translateY(-14%) scale(.97, 1.04); } 100% { transform: translateY(0) scale(1, 1); } }
.bubble { position: absolute; right: 92%; top: 6%; width: max-content; max-width: 230px; background: #fff; color: var(--ink); font-family: var(--hand); font-weight: 700; font-size: 1.2rem; line-height: 1.25; padding: 0.75rem 1rem; border-radius: 18px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(6px) scale(.96); transform-origin: right center; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.bubble::after { content: ""; position: absolute; right: -8px; top: 22px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.bubble.show { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .hero-bessi { width: 110px; right: 12px; }
  .bubble { font-size: 1.05rem; max-width: 170px; }
}

/* ---------- Undersidehero ---------- */
.page-hero { padding-block: clamp(64px, 9vw, 120px) clamp(72px, 10vw, 130px); position: relative; overflow: hidden; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.ph-art { position: relative; display: grid; place-items: center; }
.ph-art .glow { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(79, 107, 255, 0.45) 0%, rgba(79, 107, 255, 0) 70%); }
.ph-art img { position: relative; width: 100%; max-width: 480px; }
.ph-art .photo { width: 100%; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.hero-tel { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); }
.hero-tel a { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--gold) !important; text-decoration: none; line-height: 1; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: 1fr; } .ph-art { max-width: 380px; margin-inline: auto; } }

/* ---------- Avsløring ved scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Intro ---------- */
.statement { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.9vw, 3.3rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 24ch; margin: 0; text-wrap: balance; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(32px, 6vw, 90px); align-items: end; }
.doors { display: grid; gap: 1rem; }
.door { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.15rem; }
.door:first-child { border-top: 1px solid var(--line-strong); }
.door i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.door i svg { width: 18px; height: 18px; }
.door:hover { color: var(--blue-ink); }
.door:hover i { background: var(--blue); color: #fff; transform: translateX(4px); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Glidende rad med aktiviteter ---------- */
.marquee { overflow: hidden; margin-top: clamp(40px, 6vw, 72px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: clamp(28px, 4vw, 56px); width: max-content; animation: slide 46s linear infinite; padding-block: 10px 6px; }
.marquee:hover .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; width: clamp(180px, 19vw, 250px); text-align: center; flex: none; }
.marquee img { width: 100%; height: clamp(140px, 14vw, 180px); object-fit: contain; filter: drop-shadow(0 10px 14px rgba(20, 35, 74, 0.12)); transition: transform .35s var(--ease); }
.marquee figure:nth-child(odd) img { transform: rotate(-2.5deg); }
.marquee figure:nth-child(even) img { transform: rotate(2deg); }
.marquee figure:hover img { transform: rotate(0) scale(1.05); }
.marquee figcaption { margin-top: 0.8rem; font-weight: 600; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-ctrl { margin-top: 1.2rem; display: flex; justify-content: center; }
.marquee-ctrl button { font: 600 0.95rem/1 var(--sans); color: var(--ink-soft); background: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer; }
.also { margin-top: clamp(36px, 5vw, 56px); text-align: center; color: var(--ink-soft); max-width: none; }
.also strong { color: var(--ink); }

/* ---------- Prosess med Bessi som går ---------- */
.track { position: relative; margin-top: clamp(56px, 7vw, 90px); --p: 0; }
.track-line { position: absolute; left: 0; right: 0; top: 27px; height: 4px; border-radius: 4px; background: var(--line); }
.track-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--blue); border-radius: 4px; }
.walker { position: absolute; z-index: 2; top: -96px; left: calc(var(--p) * 100%); width: 112px; transform: translateX(-50%); pointer-events: none; }
.walker img { width: 100%; animation: bob .7s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-5px) rotate(2deg); } }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.steps li { opacity: 0.42; transition: opacity .5s; }
.steps li.on { opacity: 1; }
.steps .num { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line-strong); font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.4rem; transition: background-color .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.steps li.on .num { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.06); }
.steps p { color: var(--ink-soft); margin: 0; }
.no-motion .steps li, .no-js .steps li { opacity: 1; }
@media (max-width: 860px) {
  .track { padding-left: 84px; }
  .track-line { left: 27px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .track-fill { inset: 0 0 auto 0; width: auto; height: calc(var(--p) * 100%); }
  .walker { top: calc(var(--p) * 100%); left: -6px; width: 70px; transform: translateY(-80%); }
  .steps { grid-template-columns: 1fr; gap: 2.6rem; }
  .steps .num { position: absolute; left: -84px; margin: 0; }
  .steps li { position: relative; min-height: 58px; padding-top: 0.6rem; }
}

/* ---------- Pilot ---------- */
.pilot-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.bigfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 1.8rem; border-top: 1px solid var(--line-dark); }
.bigfacts dt { order: 2; color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
.bigfacts dd { order: 1; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; }
.bigfacts div { display: flex; flex-direction: column; gap: 0.4rem; }
.sun-stage { position: relative; display: grid; place-items: center; }
.sun-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); opacity: .35; filter: blur(2px); animation: pulse 4s ease-in-out infinite alternate; }
.sun-stage img { position: relative; width: min(100%, 340px); }
@keyframes pulse { to { transform: scale(1.08); opacity: .5; } }
@media (max-width: 860px) { .pilot-grid { grid-template-columns: 1fr; } .sun-stage { max-width: 260px; margin-inline: auto; order: -1; } .bigfacts { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- To veier ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo > a { display: flex; flex-direction: column; padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px); text-decoration: none; position: relative; overflow: hidden; }
.duo > a:first-child { background: var(--sky); color: var(--ink); }
.duo > a:last-child { background: var(--ink); color: #fff; }
.duo h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); margin-bottom: 0.35em; }
.duo > a:last-child h2 { color: var(--gold); }
.duo p { max-width: 36ch; opacity: .9; }
.duo img { width: clamp(200px, 24vw, 300px); margin: 0 0 2rem; transition: transform .5s var(--ease); }
.duo > a:hover img { transform: rotate(-3deg) scale(1.04); }
.duo .link { margin-top: auto; align-self: flex-start; }
.duo > a:last-child .link { color: #fff; text-decoration-color: var(--gold); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.press { list-style: none; margin: 0; padding: 0; }
.press li { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: baseline; padding: 2rem 0; border-top: 1px solid var(--line); }
.press li:last-child { border-bottom: 1px solid var(--line); }
.press .outlet { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.press .when { display: block; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.3rem; }
.press .title { font-size: 1.2rem; margin: 0; }
.press q { font-family: var(--serif); font-style: italic; font-size: 1.6rem; quotes: "«" "»"; }
@media (max-width: 760px) { .press li { grid-template-columns: 1fr; } }

/* ---------- Foto og tekst ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature.flip > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--sky); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { margin-top: 0.8rem; font-size: 0.95rem; color: var(--ink-soft); }
.dark .photo-caption { color: rgba(255, 255, 255, 0.7); }
.art img { width: 100%; max-width: 460px; margin-inline: auto; }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } .art img { max-width: 340px; } }

/* ---------- Telefon-blokk ---------- */
.call { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.call img { width: clamp(140px, 15vw, 200px); }
.call .big-tel { display: inline-block; font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--blue-ink); text-decoration: none; margin: 0.15rem 0 0.8rem; }
.call .big-tel:hover { color: var(--ink); }
.call h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 0.15em; }
@media (max-width: 560px) { .call { grid-template-columns: 1fr; } }

/* ---------- Lister ---------- */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0.9rem 0 0.9rem 2.3rem; border-bottom: 1px solid var(--line); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23445AD7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.85rem no-repeat; }
.ticks.no li::before { background: #FDECEF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A63059' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 0.75rem no-repeat; }
.dark .ticks li { border-color: var(--line-dark); }

.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); margin: 0; }
.defs > div { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.defs dt { font-family: var(--serif); font-size: 1.85rem; line-height: 1.15; margin-bottom: 0.4rem; }
.defs dd { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.dark .defs > div { border-color: var(--line-dark); }
.dark .defs dt { color: var(--gold); }
.dark .defs dd { color: rgba(255, 255, 255, 0.82); }
@media (max-width: 760px) { .defs { grid-template-columns: 1fr; } }

.head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head-split h2 { margin: 0; }
.head-split p { margin: 0; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } }

/* ---------- Fakta-stripe ---------- */
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--line-strong); }
.facts > div { padding: 1.4rem 1.2rem 1.4rem 0; }
.facts > div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.3rem; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div, .facts > div + div { padding: 1.1rem 1rem 1.1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts > div:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); }
}

/* ---------- Tidslinje som tegnes ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 13px; top: 10px; width: 3px; border-radius: 3px; }
.timeline::before { bottom: 10px; background: var(--line); }
.timeline::after { height: calc(var(--p) * (100% - 20px)); background: var(--blue); }
.timeline li { position: relative; padding: 0 0 clamp(40px, 5vw, 60px) 64px; opacity: .45; transition: opacity .5s; }
.timeline li.on { opacity: 1; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; z-index: 1; left: 2px; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 3px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.timeline li.on::before { background: var(--blue); border-color: var(--blue); transform: scale(1.1); }
.timeline li.next.on::before { background: var(--gold); border-color: var(--ink); }
.timeline .when { display: block; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 0.35rem; }
.timeline h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.timeline p { margin: 0; color: var(--ink-soft); }
.timeline .tag { display: inline-block; margin-left: 0.6rem; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--ink); background: var(--gold); padding: 0.18rem 0.6rem; border-radius: 999px; vertical-align: 2px; }
.no-motion .timeline li, .no-js .timeline li { opacity: 1; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin: 0; padding: 0; list-style: none; }
.team .photo { aspect-ratio: 4 / 5; }
.team .photo img { transition: transform .6s var(--ease); }
.team li:hover .photo img { transform: scale(1.04); }
.team h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin: 1.1rem 0 0.1rem; }
.team .role { color: var(--blue-ink); font-weight: 600; margin: 0 0 0.4rem; }
.team p { color: var(--ink-soft); }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .team { grid-template-columns: 1fr; max-width: 380px; } }

/* ---------- Spørsmål ---------- */
.faq { max-width: 900px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314234A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq .answer { padding: 0 3.5rem 1.6rem 0; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Avslutning ---------- */
.end-cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.end-cta .bessi-end { width: clamp(150px, 16vw, 220px); }
@media (max-width: 760px) { .end-cta .wrap { grid-template-columns: 1fr; } .end-cta .bessi-end { order: -1; width: 140px; } }

/* ---------- Skjema ---------- */
.form-area { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .form-area { grid-template-columns: 1fr; } }
.form-side { position: sticky; top: 120px; }
.form-side img { width: clamp(130px, 13vw, 170px); margin-bottom: 1rem; }
.form-side .big-tel { font-family: var(--serif); font-size: 2.6rem; color: var(--blue-ink); text-decoration: none; display: inline-block; margin: 0.1rem 0 0.6rem; line-height: 1; }
@media (max-width: 960px) { .form-side { position: static; } }
.form { background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(20, 35, 74, 0.5); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.7rem; min-width: 0; }
.form legend { font-family: var(--serif); font-size: 1.7rem; padding: 0; margin-bottom: 0.9rem; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; background: var(--sky-soft); border-radius: 999px; padding: 6px; gap: 6px; }
.role-switch label { position: relative; text-align: center; padding: 0.95rem 0.6rem; border-radius: 999px; font-weight: 600; cursor: pointer; line-height: 1.2; transition: background-color .2s, color .2s; }
.role-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role-switch label:has(input:checked) { background: var(--ink); color: #fff; }
.role-switch label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { margin-bottom: 1.15rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.field .hint { display: block; font-size: 0.95rem; color: var(--ink-soft); margin: -0.2rem 0 0.45rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; font: inherit; font-size: 1.08rem; color: var(--ink); background: var(--sky-soft); border: 2px solid transparent; border-radius: 14px; padding: 0.85rem 1rem; min-height: 56px; transition: border-color .15s, background-color .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1rem; border-radius: 999px; border: 2px solid var(--line-strong); font-weight: 600; font-size: 1rem; cursor: pointer; user-select: none; min-height: 46px; transition: background-color .15s, border-color .15s; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chips label:has(input:checked) { background: var(--sky); border-color: var(--blue); }
.chips label:has(input:checked)::before { content: "✓"; color: var(--blue-ink); }
.chips label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 1rem; color: var(--ink-soft); margin: 0.5rem 0 1.5rem; }
.consent input { width: 24px; height: 24px; margin: 0.15rem 0 0; accent-color: var(--blue); }
.form .btn { width: 100%; }
.form-msg { margin-top: 1rem; font-weight: 600; }
.form-msg.error { color: #A63059; }
.hp { display: none; }
[data-role-only][hidden] { display: none; }
.form-done { text-align: center; }
.form-done img { width: 170px; margin: 0 auto 1rem; }
.form-done h3 { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; }
.form-done p { margin-inline: auto; }

/* ---------- App-demo som går av seg selv ---------- */
.demo { display: grid; gap: 2rem; justify-items: center; }
.demo-tabs { display: inline-flex; background: var(--sky-soft); border: 1px solid var(--line); padding: 5px; border-radius: 999px; gap: 4px; }
.demo-tabs button { font: 600 1rem/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 0.85rem 1.2rem; border-radius: 999px; cursor: pointer; min-height: 46px; transition: background-color .2s, color .2s; }
.demo-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.demo-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
@media (max-width: 860px) { .demo-body { grid-template-columns: 1fr; justify-items: center; } }
.phone { width: min(320px, 80vw); aspect-ratio: 9 / 19; background: #0B1730; border-radius: 50px; padding: 11px; box-shadow: 0 50px 80px -40px rgba(20, 35, 74, 0.6), inset 0 0 0 2px #2A3A60; position: relative; }
.phone::before { content: ""; position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; background: #0B1730; border-radius: 20px; z-index: 5; }
.phone-screen { position: relative; height: 100%; background: #fff; border-radius: 40px; overflow: hidden; }
.status { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 18px 28px 0; font: 600 0.82rem/1 var(--sans); color: var(--ink); }
.status i { display: inline-flex; gap: 4px; }
.status i b { width: 16px; height: 9px; border-radius: 2px; border: 1.5px solid var(--ink); display: inline-block; }
.flow { position: absolute; inset: 0; }
.flow[hidden] { display: none; }
.scr { position: absolute; inset: 0; padding: 58px 16px 82px; display: flex; flex-direction: column; gap: 10px; font-size: 0.84rem; line-height: 1.4; opacity: 0; transform: translateX(40px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.scr.on { opacity: 1; transform: none; pointer-events: auto; }
.scr.out { opacity: 0; transform: translateX(-40px); }
.scr.blue { background: var(--blue); color: #fff; justify-content: center; align-items: center; text-align: center; }
.scr-top { display: flex; justify-content: space-between; align-items: center; }
.scr-top img { height: 22px; width: auto; }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; flex: none; }
.scr h4 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.05; margin: 4px 0 0; }
.scr .mut { color: var(--ink-soft); margin: 0; }
.scr.blue .mut { color: rgba(255,255,255,.88); }
.card { background: var(--sky-soft); border-radius: 16px; padding: 12px; }
.card.b { background: var(--blue); color: #fff; }
.card.b .mut { color: rgba(255,255,255,.85); }
.card b { display: block; font-size: 0.95rem; }
.per { display: flex; gap: 10px; align-items: center; }
.per .av { width: 40px; height: 40px; background: var(--gold); }
.lbl { font-weight: 700; margin: 4px 0 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills span { padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: 0.78rem; }
.pills span.on { background: var(--sky); border-color: var(--blue); }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.days span { padding: 8px 0; border-radius: 10px; background: var(--sky-soft); font-weight: 700; font-size: 0.78rem; }
.days span.on { background: var(--ink); color: #fff; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.okdot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); flex: none; }
.cta { margin-top: auto; background: var(--blue); color: #fff; text-align: center; font-weight: 700; padding: 12px; border-radius: 999px; }
.check { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 8px; }
.check svg { width: 38px; height: 38px; }
.tabbar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 70px; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; font-size: 0.68rem; font-weight: 600; color: var(--ink-soft); padding-bottom: 12px; }
.tabbar span::before { content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 4px; border-radius: 6px; background: var(--line); }
.tabbar span.on { color: var(--blue-ink); }
.tabbar span.on::before { background: var(--blue); }
.demo-copy { width: 100%; max-width: 520px; }
.demo-steps { list-style: none; margin: 0; padding: 0; }
.demo-steps li { border-top: 1px solid var(--line); }
.demo-steps li:last-child { border-bottom: 1px solid var(--line); }
.demo-steps button { all: unset; box-sizing: border-box; display: block; width: 100%; padding: 1.05rem 0; cursor: pointer; position: relative; }
.demo-steps button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.demo-steps b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; color: var(--ink-soft); transition: color .3s; }
.demo-steps span { display: block; color: var(--ink-soft); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .35s, margin .35s; }
.demo-steps li.on b { color: var(--ink); }
.demo-steps li.on span { max-height: 6em; opacity: 1; margin-top: 0.35rem; }
.demo-steps .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--blue); }
.demo-steps li.on .bar { animation: fill var(--dur, 4.5s) linear forwards; }
.demo.paused .demo-steps li.on .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.demo-ctrl { display: flex; gap: 0.6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.demo-ctrl button { display: inline-flex; align-items: center; gap: 0.4rem; font: 600 0.98rem/1 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0.75rem 1.1rem; cursor: pointer; min-height: 46px; }
.demo-ctrl button:hover { border-color: var(--ink); }
.demo-note { font-size: 0.95rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.85); padding-block: clamp(64px, 9vw, 110px) 32px; }
.site-footer a { color: #fff; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); }
.f-brand .f-logo { height: 52px; width: auto; margin-bottom: 1.4rem; }
.f-brand .f-bessi { width: 110px; margin-top: 1.2rem; transform: rotate(-5deg); }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.f-tel { font-family: var(--serif); font-size: 2rem; text-decoration: none; line-height: 1; color: var(--gold) !important; }
.f-news { display: grid; gap: 0.7rem; }
.f-news .f-row { display: flex; gap: 0.5rem; }
.f-news input[type="email"], .f-news select { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 0.8rem 1rem; min-height: 52px; border-radius: 999px; border: 2px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); color: #fff; }
.f-news input::placeholder { color: rgba(255,255,255,.6); }
.f-news select option { color: var(--ink); }
.f-news input:focus, .f-news select:focus { outline: none; border-color: var(--gold); }
.f-news .btn { min-height: 52px; padding-inline: 1.3rem; }
.f-bottom { margin-top: clamp(48px, 7vw, 80px); padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.f-bottom .slogan { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }
@media (max-width: 1000px) { .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-top { grid-template-columns: 1fr; } }

/* ---------- Diverse ---------- */
.downloads { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.downloads li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.downloads .meta { color: var(--ink-soft); font-size: 0.95rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2.4rem; }
.sticker { transform: rotate(var(--r, 0deg)); transition: transform .4s var(--ease); }
.sticker:hover { transform: rotate(0deg) scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; animation-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.menu { position: relative; }
.menu > li { position: static; }
.dropdown { left: 0; }
.menu-link.is-current { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.walk-flip { display: block; transform: scaleX(-1); }
.demo-body { max-width: 980px; margin-inline: auto; }
.hero h1 { max-width: 14ch; }
.hero-bessi { pointer-events: auto; }
.hero-bessi img.waver { transform-origin: 50% 88%; animation: wave 2.2s ease-in-out 1.1s 2; }
.hero-bessi:hover img.waver { animation: wave 1.4s ease-in-out 1; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 18% { transform: rotate(-8deg); } 36% { transform: rotate(6deg); } 54% { transform: rotate(-6deg); } 72% { transform: rotate(4deg); } }
.activities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.activities li { text-align: center; }
.activities img { width: 100%; height: clamp(130px, 14vw, 180px); object-fit: contain; filter: drop-shadow(0 6px 12px rgba(20, 35, 74, 0.10)); }
.activities span { display: block; margin-top: 1rem; font-weight: 600; }
@media (max-width: 760px) { .activities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.scr { padding: 0; display: block; }
.scr img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.status { background: transparent; }
.phone-screen { background: #FBF8F1; }
.bigfacts dd { white-space: nowrap; }
@media (max-width: 700px) {
  .hero-photo img { object-position: 74% 38%; }
  .bigfacts dd { font-size: 2.1rem; }
  .bigfacts { gap: 1rem; }
}
.duo > a:last-child .kicker { color: #fff; }
.page-hero:not(.dark) h1 { color: var(--ink); }
.hero-tel span { color: rgba(255,255,255,.85); }
@media (max-width: 640px) {
  .hero-inner { padding-bottom: 150px; }
  .bubble { right: 0; top: auto; bottom: 102%; transform-origin: bottom right; }
  .bubble::after { right: 26px; top: auto; bottom: -7px; }
}
/* ---------- v3: rolig, lys og ryddig ---------- */
.hero-c { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); text-align: center; }
.hero-c .kicker { color: var(--blue-ink); margin-inline: auto; }
.hero-c h1 { color: var(--ink); max-width: 15ch; margin-inline: auto; }
.hero-c .lead { margin-inline: auto; max-width: 40ch; }
.hero-c .actions { justify-content: center; }
.hero-figure { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.hero-figure .photo { aspect-ratio: 1122 / 641; border-radius: 28px; background: #1d1a17; }
.hero-figure .photo img { transform: scale(1.05); animation: hero-zoom 10s var(--ease) forwards; }
.hero-figure .hero-bessi { position: absolute; right: clamp(8px, 4vw, 56px); bottom: -46px; width: clamp(110px, 13vw, 180px); }
.press-strip { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 0.6rem 2.4rem; margin-top: clamp(64px, 7vw, 88px); }
.press-strip span { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.press-strip a { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); text-decoration: none; opacity: 0.72; transition: opacity .2s; }
.press-strip a:hover { opacity: 1; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin: 0; }
.stats > div { background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); display: flex; flex-direction: column; }
.stats dt .big { display: block; white-space: nowrap; font-family: var(--serif); font-size: clamp(3.2rem, 5.6vw, 4.6rem); line-height: 1; color: var(--blue-ink); }
.stats dt .lbl { display: block; font-weight: 600; margin-top: 0.6rem; font-size: 1.1rem; }
.stats dd { margin: 0.6rem 0 0; color: var(--ink-soft); display: flex; flex-direction: column; flex: 1; }
.src { display: block; margin-top: auto; padding-top: 1.1rem; font-size: 0.85rem; color: var(--ink-soft); }
a.src { text-decoration-thickness: 1px; }
a.src:hover { color: var(--ink); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }

.panel { border-radius: 24px; overflow: hidden; background: var(--sky); }
.panel img { width: 100%; height: auto; display: block; max-width: none; }
.art .panel { max-width: 460px; margin-inline: auto; }
.ph-art .panel { width: 100%; max-width: 460px; }
.acts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); list-style: none; margin: 0; padding: 0; }
.acts span { display: block; margin-top: 1rem; font-weight: 600; font-size: 1.08rem; }
.acts .panel img { transition: transform .6s var(--ease); }
.acts li:hover .panel img { transform: scale(1.04); }
@media (max-width: 860px) { .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.also { text-align: left; margin-top: 2.2rem; }

.center-band { text-align: center; }
.center-band .lead { margin-inline: auto; max-width: 46ch; }
.center-band .bigfacts { max-width: 760px; margin-inline: auto; }
.center-band .bigfacts div { align-items: center; }
.center-band .actions { justify-content: center; }

.duo2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.duo2 > a { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; background: var(--sky-soft); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.duo2 > a:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -40px rgba(20, 35, 74, 0.5); color: var(--ink); }
.duo2 .panel { margin-bottom: 1.6rem; aspect-ratio: 16 / 10; }
.duo2 .panel img { height: 100%; width: 100%; max-width: 100%; object-fit: contain; }
.duo2 > a, .stats > div, .acts li { min-width: 0; }
.duo2 h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.duo2 p { color: var(--ink-soft); }
.duo2 .kicker { margin-bottom: 0.7rem; color: var(--blue-ink); }
.duo2 .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .duo2 { grid-template-columns: 1fr; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.numbers { list-style: none; margin: 0; padding: 0; }
.numbers li { display: grid; grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr); gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); align-items: baseline; }
.numbers li:last-child { border-bottom: 1px solid var(--line); }
.numbers .big { white-space: nowrap; font-family: var(--serif); font-size: clamp(3.2rem, 6.5vw, 5.2rem); line-height: 0.95; color: var(--blue-ink); }
.numbers h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.numbers p { color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 700px) { .numbers li { grid-template-columns: 1fr; gap: 0.6rem; } }

.page-hero h1 { color: var(--ink); }
.page-hero .kicker { color: var(--blue-ink); }
.hero-tel { border-top-color: var(--line); }
.hero-tel span { color: var(--ink-soft); }
.hero-tel a { color: var(--blue-ink) !important; }
.dark .hero-tel a { color: var(--gold) !important; }
.dark .hero-tel span { color: rgba(255, 255, 255, .85); }

.walker img { animation: none; }
.track.walking .walker { transition: left 1.7s cubic-bezier(.45, .05, .55, .95), top 1.7s cubic-bezier(.45, .05, .55, .95); }
.track.walking .track-fill { transition: width 1.7s cubic-bezier(.45, .05, .55, .95), height 1.7s cubic-bezier(.45, .05, .55, .95); }
.track.walking .walker img { animation: bob .42s ease-in-out infinite alternate; }
.walker.done .walk-flip { transform: none; }
.replay-row { margin: 2.2rem 0 0; }
.replay { font: 600 0.98rem/1 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0.75rem 1.1rem; cursor: pointer; min-height: 44px; }
.replay:hover { border-color: var(--ink); }
.end-cta .bessi-end { transform: none; }

/* ---------- toppscene ---------- */
.hero-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.stage-bg { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; overflow: hidden; border-radius: 32px; background: linear-gradient(180deg, var(--sky-soft) 0%, var(--sky) 100%); padding: clamp(36px, 5vw, 64px) clamp(12px, 3vw, 40px) 0; min-height: clamp(360px, 42vw, 560px); }
.st-card { position: relative; z-index: 1; width: clamp(150px, 25vw, 330px); flex: none; }
.st-card .panel { box-shadow: 0 30px 50px -36px rgba(20, 35, 74, 0.55); border: 6px solid #fff; }
.st-left { transform: rotate(-5deg) translate(22%, -4%); }
.st-right { transform: rotate(5deg) translate(-22%, 4%); }
.st-phone { position: relative; z-index: 2; align-self: flex-end; width: clamp(200px, 23vw, 300px); flex: none; margin-bottom: -16%; }
.st-phone .phone { width: 100%; aspect-ratio: 1170 / 2532; box-shadow: 0 40px 70px -40px rgba(20, 35, 74, 0.7), inset 0 0 0 2px #2A3A60; }
.st-phone .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-stage .hero-bessi { position: absolute; z-index: 3; right: clamp(8px, 4vw, 56px); bottom: -10px; width: clamp(100px, 12vw, 170px); }
.stage-note { margin: 0.9rem auto 0; text-align: center; font-size: 0.85rem; color: var(--ink-soft); max-width: none; }
.js .hero-stage .st-left, .js .hero-stage .st-right, .js .hero-stage .st-phone { opacity: 0; animation: stage-in 1s var(--ease) forwards; }
.js .hero-stage .st-phone { animation-delay: .5s; }
.js .hero-stage .st-left { animation-delay: .75s; --tx: 22%; --ty: -4%; --r: -5deg; }
.js .hero-stage .st-right { animation-delay: .9s; --tx: -22%; --ty: 4%; --r: 5deg; }
@keyframes stage-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 700px) {
  .stage-bg { min-height: 0; padding-top: 28px; }
  .stage-bg { padding-inline: 0; }
  .st-card { width: 31vw; }
  .st-card .panel { border-width: 4px; }
  .st-left { transform: rotate(-5deg) translate(42%, -6%); }
  .st-right { transform: rotate(5deg) translate(-42%, 6%); }
  .st-phone { width: 44vw; margin-bottom: -30%; }
  .hero-stage .hero-bessi { display: none; }
}

/* ---------- v5: illustrasjonspakken ---------- */
.ill { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ill-stage { display: grid; place-items: center; width: clamp(200px, 26vw, 300px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--sky-soft); }
.ill-stage .ill { width: 70%; }
.framed { position: relative; margin: 0; }
.framed-inner { position: relative; overflow: hidden; border-radius: 28px; background: var(--sky-soft); }
.framed-inner img { display: block; width: 100%; height: auto; }
.decor { position: absolute; z-index: 2; pointer-events: none; user-select: none; }
.hero-pic { margin-top: clamp(56px, 7vw, 96px); }

.decor-flower { width: var(--fw); top: calc(var(--fw) * -0.6); right: calc(var(--fw) * -0.34); }
.hero-c .press-strip { margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 1140px) { .decor-flower { right: calc(var(--fw) * -0.12); } }
.dark h1, .dark h2 { color: #fff; }
.dark h1 em, .dark h2 em { color: var(--gold); }
.dark .defs dt { color: #fff; }
.site-footer .f-tel { color: #fff !important; }
.hero-pic .photo-caption { text-align: center; margin: 1rem auto 0; max-width: none; }
.act-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); list-style: none; margin: 0; padding: 0; }
.act-cards li { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 36px); min-width: 0; }
.act-cards .ill { width: auto; max-width: 100%; height: clamp(96px, 9vw, 124px); margin-bottom: 1.4rem; }
.act-cards h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.2vw, 1.95rem); line-height: 1.15; }
.act-cards p { color: var(--ink-soft); margin: 0; }
.duo2 > a { background: var(--white); border: 1px solid var(--line); }
.duo2 .ill-stage { width: clamp(150px, 15vw, 190px); margin: 0 0 1.6rem; }
.ill-small { width: clamp(84px, 8vw, 110px); margin-bottom: 1.1rem; }
.end-ill { width: clamp(90px, 9vw, 120px); }
.end-cta .wrap { align-items: end; }
@media (max-width: 860px) { .act-cards { grid-template-columns: 1fr; } .act-cards .ill { height: 100px; } }
@media (max-width: 640px) {
  .hero-framed { --fw: 84px; }
  .decor-flower { right: -8px; }
  .ill-small { display: none; }
  .end-ill { width: 84px; }
}
/* ---------- v6: tegnet stil ---------- */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Håndtegnet ramme rundt bilder (9-slice av rammetegningen) */
.drawn-frame { position: relative; margin: 0; --k: 0.32;
  padding: calc(70px * var(--k)) calc(49px * var(--k)) calc(56px * var(--k)) calc(42px * var(--k)); }
.df-photo { position: relative; overflow: hidden; border-radius: calc(46px * var(--k)); background: var(--sky-soft); }
.df-photo img, .df-photo picture { display: block; width: 100%; height: 100%; }
.df-photo img { object-fit: cover; }
.df-portrait .df-photo { aspect-ratio: 4 / 5; }
.df-border { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  border-style: solid; border-color: transparent;
  border-width: calc(170px * var(--k)) calc(205px * var(--k)) calc(235px * var(--k)) calc(200px * var(--k));
  border-image-source: url("../img/ramme/tegnet-ramme.webp");
  border-image-slice: 170 205 235 200;
  border-image-repeat: stretch; }
.df-lg { --k: 0.42; }
.df-md { --k: 0.32; }
.df-sm { --k: 0.24; }
.hero-framed { max-width: 1000px; margin-inline: auto; }
.team .drawn-frame .df-photo img { transition: transform .6s var(--ease); }
.team li:hover .drawn-frame .df-photo img { transform: scale(1.04); }
@media (max-width: 640px) { .df-lg { --k: 0.22; } .df-md { --k: 0.22; } .df-sm { --k: 0.2; } }

/* Tegnet preg uten filtre: ujevne, håndtegnede kanter */
.stats > div, .act-cards li, .duo2 > a, .form {
  background: var(--white); border: 2.5px solid var(--blue);
  border-radius: 30px 22px 32px 20px / 22px 32px 20px 30px;
  box-shadow: 4px 5px 0 var(--sky); }
.duo2 > a:hover { box-shadow: 6px 8px 0 var(--sky); }
.btn { border-radius: 32px 26px 30px 24px / 26px 32px 24px 30px; }
.btn-outline { border-width: 2.5px; border-color: var(--ink); }
.ill-stage { border: 2.5px solid color-mix(in srgb, var(--blue) 40%, transparent); border-radius: 52% 48% 50% 50% / 48% 52% 48% 52%; }
.steps .num { border-radius: 54% 46% 50% 50% / 46% 54% 48% 52%; }
.faq summary::after { border-radius: 54% 46% 50% 50% / 46% 54% 48% 52%; }
.ticks li::before { border-radius: 54% 46% 52% 48% / 48% 52% 46% 54%; background-color: var(--sky); }
.timeline li::before { border-radius: 54% 46% 50% 50% / 46% 54% 48% 52%; }
.dd-card, .demo-tabs, .role-switch { border-radius: 26px 20px 28px 18px / 20px 28px 18px 26px; }
.kicker { display: inline-block; font-family: var(--hand); font-weight: 700; font-size: 1.35rem; letter-spacing: 0; text-transform: none; line-height: 1.2; transform: rotate(-1.5deg); transform-origin: left center; }
.hero-c .kicker { transform-origin: center; }
.center-band .kicker { transform-origin: center; }
.end-cta, .page-hero { position: relative; }

/* ---------- v7: illustrasjonene står fritt, uten sirkler ---------- */
.ill-stage { display: block; width: auto; aspect-ratio: auto; margin: 0; background: none !important; border: 0 !important; border-radius: 0 !important; }
.ill-stage::before { content: none !important; }
.ill-stage .ill { width: auto; max-width: 100%; margin-inline: auto; }
.ph-art .ill-stage .ill { height: clamp(200px, 24vw, 300px); }
.art .ill-stage .ill { height: clamp(170px, 19vw, 240px); }
.duo2 .ill-stage { margin: 0 0 1.4rem; }
.duo2 .ill-stage .ill { height: clamp(110px, 11vw, 140px); margin-inline: 0; }
.cols .ill-stage .ill { height: clamp(150px, 16vw, 200px); margin-inline: 0; }
.sun-stage::before { content: none; }
@media (max-width: 860px) { .ph-art .ill-stage .ill { height: 180px; } .art .ill-stage .ill { height: 160px; } }

/* ---------- v8: nye ikoner og rene Bessi-figurer ---------- */
.dd-card img { width: 110px; }
.call .call-bessi { width: clamp(120px, 13vw, 170px); }
.form-side .side-ill { width: clamp(110px, 11vw, 140px); height: auto; margin-bottom: 1rem; }

/* ---------- v9: «Hva er Besta» og fargeordet ---------- */
.what { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.what-art img { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 10px 18px rgba(20, 35, 74, 0.10)); }
.what-list { margin: 1.6rem 0 0; display: grid; gap: 0; }
.what-list > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--line); }
.what-list > div:last-child { border-bottom: 1px solid var(--line); }
.what-list dt { font-weight: 700; color: var(--blue-ink); }
.what-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .what { grid-template-columns: 1fr; } .what-art img { max-width: 420px; } }
@media (max-width: 520px) { .what-list > div { grid-template-columns: 1fr; gap: 0.2rem; } }

button.color-word { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; letter-spacing: inherit; line-height: inherit;
  color: var(--wc, inherit); cursor: pointer; isolation: isolate; transition: color .35s var(--ease); }
button.color-word::before { content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: 0.14em; height: 0.42em;
  background: var(--hc, transparent); border-radius: 0.2em 0.35em 0.25em 0.4em; transform: rotate(-1.2deg); transition: background-color .35s var(--ease); }
button.color-word path { stroke: var(--lc, var(--blue)); transition: stroke .35s var(--ease); }
button.color-word:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 10px; }
button.color-word.pop { animation: word-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes word-pop { 0% { transform: scale(1); } 40% { transform: scale(1.08) rotate(-2deg); } 100% { transform: scale(1); } }
