/* Ditt støtteapparat · Akari Gruppen. Designspråket «Støttespiller»: lyst, redaksjonelt og med menneskene i setningen.
   Alle farger og skrifter er variabler i :root (krav i agents.md). Mørke flater (.ink) bytter variablene, ikke fargene. */

/* Skriftene kommer fra cdn.akari.no/gfonts-css2 (lenken står i <head>). Alt utenom :root ligger i et lag, så reglene
   for redusert bevegelse og [hidden] til slutt alltid vinner. */
@layer site;

:root {
  /* Farger: papir, blekk og én grønn familie */
  --color-bg: #f6f5f0;
  --color-surface: #ffffff;
  --color-surface-2: #fbfaf7;
  --color-text: #13282a;
  --color-text-muted: #4a5b5d;
  --color-text-3: #5f6e70;
  --color-accent: #0f7a55;
  --color-accent-muted: #e4f6ed;
  --color-ink: #10292c;
  --color-ink-2: #183639;
  --color-ink-hover: #1f4a4e;
  --color-mint: #6ae6ad;
  --color-mint-2: #b9efd6;
  --color-on-ink: #f4f3ee;
  --color-white: #ffffff;
  --color-error: #b3341f;
  --color-error-ink: #ff8a7a;
  /* Kanaler for gjennomsiktighet */
  --fg-rgb: 19 40 42;
  --bg-rgb: 246 245 240;
  --accent-rgb: 15 122 85;
  --ink-rgb: 16 41 44;
  --mint-rgb: 106 230 173;
  --on-ink-rgb: 244 243 238;
  /* Fagområdene: varianter av Akaris grønne og blågrønne */
  --area-marked: #0f7a55;
  --area-nettside: #064f55;
  --area-it: #1d7a83;
  --area-regnskap: #4f8f6a;
  --area-hr: #2bb37f;
  --area-utvikling: #6ae6ad;

  /* Roller som følger flaten (byttes i .ink) */
  --bg: var(--color-bg);
  --surface: var(--color-surface);
  --text: var(--color-text);
  --text-2: var(--color-text-muted);
  --text-3: var(--color-text-3);
  --accent: var(--color-accent);
  --line: rgb(var(--fg-rgb) / .1);
  --line-2: rgb(var(--fg-rgb) / .18);
  --btn-bg: var(--color-ink);
  --btn-fg: var(--color-white);
  --btn-hover: var(--color-ink-hover);
  --ring-gap: var(--color-white);
  --error: var(--color-error);
  --shadow: 0 1px 2px rgb(var(--ink-rgb) / .04), 0 12px 32px rgb(var(--ink-rgb) / .07);
  --shadow-lg: 0 2px 6px rgb(var(--ink-rgb) / .05), 0 28px 70px rgb(var(--ink-rgb) / .13);

  /* Skrift */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-min: .8rem;

  /* Form */
  --radius: 16px;
  --radius-lg: 22px;
  --radius-frame: 32px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Ringen rundt fagpersonen i kartleggingen tegnes med en animert prosent. */
@property --p { syntax: '<number>'; inherits: false; initial-value: 100; }

@layer site {
.ink {
  --bg: var(--color-ink);
  --surface: var(--color-ink-2);
  --text: var(--color-on-ink);
  --text-2: rgb(var(--on-ink-rgb) / .78);
  --text-3: rgb(var(--on-ink-rgb) / .6);
  --accent: var(--color-mint);
  --line: rgb(var(--on-ink-rgb) / .12);
  --line-2: rgb(var(--on-ink-rgb) / .24);
  --btn-bg: var(--color-mint);
  --btn-fg: var(--color-ink);
  --btn-hover: var(--color-mint-2);
  --ring-gap: var(--color-ink);
  --error: var(--color-error-ink);
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--accent); }
::selection { background: var(--color-mint); color: var(--color-ink); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 50; background: var(--color-mint); color: var(--color-ink); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.kicker { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.kicker i { font-style: normal; color: var(--text-3); }
.h-xl { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; }
.h-lg { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.lead { color: var(--text-2); font-size: clamp(1.02rem, 1.25vw, 1.15rem); max-width: 58ch; margin-top: 18px; }
.label { display: block; font-size: var(--text-min); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-3); }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; cursor: pointer; font: 600 .94rem/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s, box-shadow .25s, color .2s; }
.btn:active { transform: scale(.97); }
.btn span[aria-hidden] { transition: translate .25s var(--ease); }
.btn:hover span[aria-hidden] { translate: 3px 0; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .86rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.text-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: .9rem; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.text-link:hover { border-bottom-color: currentColor; }

/* Ansikter */
.face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 5px var(--tint, var(--accent)); }
.face-sm { width: 32px; height: 32px; box-shadow: 0 0 0 2px var(--ring-gap), 0 0 0 3.5px var(--tint, var(--accent)); }
.face-xl { width: 120px; height: 120px; box-shadow: 0 0 0 4px var(--ring-gap), 0 0 0 6px var(--tint, var(--accent)), 0 14px 30px rgb(var(--ink-rgb) / .16); }
.inline-face { display: inline-block; vertical-align: -.1em; margin-right: .22em; }
.inline-face .face { width: .86em; height: .86em; box-shadow: 0 0 0 .05em var(--bg), 0 0 0 .09em var(--tint, var(--accent)); }
.faces { display: inline-flex; vertical-align: -.1em; margin: 0 .06em; }
.faces .face { width: .8em; height: .8em; margin-left: -.2em; box-shadow: 0 0 0 .05em var(--color-surface), 0 0 0 .085em var(--tint); }
.faces .face:first-child { margin-left: 0; }

/* Toppen */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(var(--bg-rgb) / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1440px; margin: 0 auto; padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) 12px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 16px; }
.logo img { height: 26px; width: auto; }
.areas { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; }
.areas::-webkit-scrollbar { display: none; }
.areas a { padding: 7px 13px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.areas a:hover { color: var(--text); background: var(--color-accent-muted); }
.areas a[aria-current] { background: var(--color-ink); color: var(--color-white); }

/* Rammer og seksjoner */
.frame { margin: 12px clamp(8px, 1.2vw, 16px) 0; border-radius: var(--radius-frame); background: radial-gradient(1100px 600px at 80% 20%, var(--color-accent-muted), transparent 62%), linear-gradient(180deg, var(--color-surface), var(--color-surface-2)); box-shadow: var(--shadow); }
.hero { max-width: 1440px; padding: clamp(36px, 6vw, 88px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1472px) { .frame { margin-left: auto; margin-right: auto; } }
.hero .h-xl { margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) 0; }
.sec-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1.5px solid var(--color-ink); margin-bottom: 8px; }
.sec-head span { font-size: .86rem; color: var(--text-3); }

/* Fagperson i toppen */
.person-card { justify-self: end; width: min(100%, 380px); background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--tint); display: grid; gap: 4px; }
.person-card .face-xl { margin-bottom: 18px; }
.person-card strong { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1.15; margin-top: 6px; }
.person-card .role { color: var(--text-2); font-size: .92rem; line-height: 1.35; }
.person-card .role + .role { margin-top: -4px; }
.ld-body span, .direct span { line-height: 1.35; }
.worries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.worries .label { width: 100%; margin-bottom: 2px; }
.chip { font-size: .86rem; font-weight: 500; color: var(--text); background: var(--color-surface); border: 1px solid rgb(var(--accent-rgb) / .32); border-radius: 999px; padding: 6px 13px; }

/* Tjenester */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 8px 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.s-pitch { color: var(--text-2); margin-top: 6px; }
.gets { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.gets li { position: relative; padding-left: 26px; }
.gets li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.s-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 8px; }
.price { font-family: var(--font-display); color: var(--text); white-space: nowrap; line-height: 1; }
.price b { font-weight: 500; font-size: 2rem; letter-spacing: -.02em; }
.price small { font-family: var(--font-body); font-size: var(--text-min); font-weight: 500; color: var(--text-2); }
.price-more b { font-size: 1.4rem; }
.terms { display: grid; gap: 2px; font-size: var(--text-min); color: var(--text-3); margin-top: 2px; }
.s-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-top: 10px; }
.s-actions .btn { white-space: normal; text-align: center; max-width: 100%; padding-top: 8px; padding-bottom: 8px; line-height: 1.25; }
.tag { font: 600 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink); background: var(--color-mint); border-radius: 999px; padding: 5px 10px; }
.tag-logo { display: inline-flex; align-items: center; background: var(--color-ink); padding: 6px 12px 6px 10px; }
.tag-logo img { height: 15px; width: auto; }

/* Eksempler */
.events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.events.n1 { grid-template-columns: minmax(0, 1fr); }
.event { background: var(--color-surface); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); border-top: 3px solid var(--tint); }
.month { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.05rem; }
.event h3 { font-size: 1.25rem; letter-spacing: -.01em; margin: 6px 0 8px; line-height: 1.2; }
.event p { color: var(--text-2); }
.event .note { color: var(--text-3); font-size: .86rem; margin-top: 6px; }

/* Blekkpaneler */
.team, .steps { max-width: calc(var(--max) - 2 * var(--gutter)); margin: clamp(56px, 7vw, 96px) auto 0; border-radius: var(--radius-frame); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
@media (max-width: 1330px) { .team, .steps { margin-left: clamp(8px, 1.2vw, 16px); margin-right: clamp(8px, 1.2vw, 16px); } }
.team::after, .steps::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; border-radius: 50%; border: 1px solid rgb(var(--mint-rgb) / .22); box-shadow: 0 0 0 52px rgb(var(--mint-rgb) / .04), 0 0 0 104px rgb(var(--mint-rgb) / .025); pointer-events: none; }
.team { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: center; }
.team-text { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: start; }
.team-text p:not(.kicker) { color: var(--text-2); max-width: 52ch; }
.lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 20px 26px; position: relative; z-index: 1; }
.lineup a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-size: .86rem; color: var(--text-2); }
.lineup .face { width: 72px; height: 72px; box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 4.5px var(--line-2); filter: saturate(.7); transition: box-shadow .25s, filter .25s, transform .25s var(--ease); }
.lineup a:hover .face { box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 5px var(--tint); filter: none; transform: translateY(-2px); }
.lineup a:hover { color: var(--text); }
.lineup .is-current .face { box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 6px var(--tint); filter: none; }
.lineup .is-current a { color: var(--text); font-weight: 600; }

/* Portal: banen rundt deg */
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: end; border-radius: var(--radius-frame); }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-lines .ring { fill: none; stroke: rgb(var(--mint-rgb) / .22); stroke-width: .25; }
.orbit-lines .ring-2 { stroke: rgb(var(--mint-rgb) / .14); }
.orbit-lines .spoke { stroke: rgb(var(--mint-rgb) / .5); stroke-width: .3; stroke-dasharray: .8 1.6; }
.you { position: absolute; left: 50%; top: 47%; translate: -50% -50%; width: 25%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--color-ink-2); box-shadow: 0 0 0 2px var(--color-mint), 0 0 0 14px rgb(var(--mint-rgb) / .08); font: italic 400 clamp(1.4rem, 2.6vw, 2rem) var(--font-display); color: var(--text); }
.orb { position: absolute; translate: -50% calc(-1 * clamp(28px, 3.5vw, 41px)); display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; }
.orb .face { width: clamp(56px, 7vw, 82px); height: clamp(56px, 7vw, 82px); transition: transform .25s var(--ease), box-shadow .25s; }
.orb:hover .face { transform: scale(1.06); box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 6px var(--tint); }
.orb span { display: grid; font-size: .78rem; line-height: 1.25; color: var(--text-2); }
.orb b { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--text); }

.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.why-card { background: var(--color-surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.why-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why-card p { color: var(--text-2); }

.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.area-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--tint); display: grid; gap: 16px; align-content: start; transition: box-shadow .25s, transform .25s var(--ease); }
.area-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ac-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ac-head .face { flex: none; }
.ac-head > div { display: grid; min-width: 0; }
.area-card h3 { font-size: 1.45rem; }
.area-card h3 a { text-decoration: none; }
.area-card h3 a:hover { color: var(--accent); }
.ac-who { display: grid; font-size: .86rem; line-height: 1.45; color: var(--text-2); margin-top: 4px; }
.ac-who b { color: var(--text); font-weight: 600; }
.ac-who a { color: var(--text); font-weight: 600; text-decoration: none; justify-self: start; margin-top: 2px; }
.ac-who a:hover { color: var(--accent); }
.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu li { display: flex; align-items: baseline; gap: 10px; }
.m-name { font-weight: 500; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.m-name .tag-logo { padding: 4px 9px 4px 8px; }
.m-name .tag-logo img { height: 12px; }
.m-dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted rgb(var(--fg-rgb) / .28); translate: 0 -4px; }
.menu .price b { font-size: 1.2rem; }
.area-card .text-link { justify-self: start; }

.steps { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 32px 48px; }
.steps-head, .steps ol { position: relative; z-index: 1; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: grid; gap: 6px; align-content: start; padding-left: 18px; border-left: 1px solid var(--line); }
.steps li b { font-weight: 600; }
.steps li span { color: var(--text-2); font-size: .94rem; }

/* Kontakt */
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.direct { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.direct > div { display: grid; }
.direct strong { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.direct span { color: var(--text-2); font-size: .9rem; }
.phone { font-family: var(--font-display); font-size: 2rem; color: var(--accent); text-decoration: none; margin-top: 6px; line-height: 1.1; }
.phone:hover, .mail:hover { text-decoration: underline; }
.mail { color: var(--text-2); font-size: .94rem; text-decoration: none; }
.direct-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.direct-list li { display: flex; align-items: center; gap: 14px; font-size: .94rem; }
.direct-list span { flex: 1; color: var(--text-2); }
.direct-list b { color: var(--text); font-weight: 600; margin-right: 4px; }
.direct-list a { font-weight: 600; text-decoration: none; }
.direct-list a:hover { color: var(--accent); }
.form { background: var(--color-surface); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; border: 0; margin: 0; padding: 0; min-width: 0; }
.field i { font-style: normal; font-weight: 400; color: var(--text-3); }
.field input, .field select, .field textarea { font: 400 max(16px, 1rem) var(--font-body); color: var(--text); background: var(--color-surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(var(--fg-rgb) / .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--mint-rgb) / .3); }
.field [aria-invalid="true"] { border-color: var(--error); }
.picks legend { margin-bottom: 8px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: .88rem; transition: border-color .2s, background-color .2s; }
.pick:hover span { border-color: var(--color-ink); }
.pick input:checked + span { background: var(--color-accent-muted); border-color: var(--accent); }
.pick input:focus-visible + span { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-error { color: var(--error); font-size: .9rem; font-weight: 500; }
.form-note { font-size: var(--text-min); color: var(--text-3); }
.success { display: grid; gap: 10px; padding: 12px 4px; }
.success h3 { font-size: 1.6rem; }
.success p { color: var(--text-2); }

/* Bunnen */
.foot { margin: clamp(56px, 7vw, 96px) clamp(8px, 1.2vw, 16px) clamp(8px, 1.2vw, 16px); border-radius: var(--radius-frame); background: var(--color-ink); color: var(--color-on-ink); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px 56px; }
.foot-brand { display: grid; gap: 14px; max-width: 46ch; }
.foot-brand img { height: 26px; width: auto; }
.foot-brand p, .foot-legal { color: rgb(var(--on-ink-rgb) / .72); font-size: .9rem; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-k { font-size: var(--text-min); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgb(var(--on-ink-rgb) / .56); margin-bottom: 4px; }
.foot-values { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--color-mint); }
.foot-contact a { color: rgb(var(--on-ink-rgb) / .9); text-decoration: none; }
.foot-contact a:hover { color: var(--color-mint); }
.foot-links a { text-decoration: none; font-size: .92rem; color: rgb(var(--on-ink-rgb) / .86); transition: color .2s; }
.foot-links a:hover { color: var(--color-mint); }
.foot-legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgb(var(--on-ink-rgb) / .12); display: flex; flex-wrap: wrap; gap: 6px 28px; }
.foot-legal a { color: rgb(var(--on-ink-rgb) / .9); transition: color .2s; }
.foot-legal a:hover { color: var(--color-mint); }
.form-note a { color: var(--accent); }

/* Inngang: kort, forskjøvet og under 0,4 s */
.reveal { animation: rise .4s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .06s; }
.hero .reveal:nth-child(3) { animation-delay: .12s; }
.hero .reveal:nth-child(4) { animation-delay: .18s; }
.hero > .reveal:last-child { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* Om oss i menyen: skilt fra fagområdene med en tynn strek */
.areas .areas-about { margin-left: 6px; position: relative; }
.areas .areas-about::before { content: ""; position: absolute; left: -4px; top: 9px; bottom: 9px; width: 1px; background: var(--line-2); }

/* Vekstpartnerne */
.ld-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 24px; align-items: stretch; }
.ld-text { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 8px; }
.ld-text .text-link { grid-column: 2; justify-self: start; }
.ld-lead { font-family: var(--font-display); font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.25; letter-spacing: -.015em; color: var(--text); }
.ld-text p:not(.ld-lead) { color: var(--text-2); }
.ld-card { background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; transition: box-shadow .25s, transform .25s var(--ease); }
.ld-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ld-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.pc-phone { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.01em; line-height: 1.1; color: var(--accent); text-decoration: none; margin-top: 12px; }
.pc-phone:hover { text-decoration: underline; }
.pc-mail { color: var(--text-2); font-size: .92rem; text-decoration: none; margin-top: 2px; }
.pc-mail:hover, .ac-mail:hover { text-decoration: underline; }
.ac-who a.ac-mail { color: var(--text-2); font-weight: 400; margin-top: 0; }
.orbit-col { justify-self: end; width: min(100%, 520px); display: grid; gap: 14px; }
.orbit-col .orbit { width: 100%; }
.vp-band { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--color-surface); box-shadow: var(--shadow); text-decoration: none; transition: box-shadow .25s; }
.vp-band:hover { box-shadow: var(--shadow-lg); }
.vp-band > span:last-child { display: grid; font-size: .86rem; line-height: 1.35; color: var(--text-2); }
.vp-band b { color: var(--text); font-weight: 600; }
.vp-faces { display: flex; flex: none; }
.vp-faces .face { width: 38px; height: 38px; margin-left: -10px; box-shadow: 0 0 0 2.5px var(--color-surface), 0 0 0 4px var(--accent); }
.vp-faces .face:first-child { margin-left: 0; }
.ld-body { display: grid; gap: 2px; padding: 20px 24px 24px; align-content: start; }
.ld-body strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }
.ld-body span { color: var(--text-2); font-size: .92rem; }
.ld-phone { font-family: var(--font-display); font-size: 1.45rem; color: var(--accent); text-decoration: none; margin-top: 10px; }
.ld-mail { color: var(--text-2); font-size: .92rem; text-decoration: none; }
.ld-phone:hover, .ld-mail:hover { text-decoration: underline; }

/* Om oss */
.ab-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--color-surface); }
.ab-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.ab-photo figcaption { padding: 12px 18px; font-size: var(--text-min); color: var(--text-3); }
.val-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.val-card { background: var(--color-surface); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.val-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-style: italic; font-weight: 400; color: var(--accent); }
.val-card p { color: var(--text-2); margin-top: 8px; font-size: 1.05rem; }
.ab-invest { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; background: var(--color-surface); border-radius: var(--radius-frame); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.ab-invest > div { display: grid; gap: 12px; justify-items: start; }
.ab-invest .lead { margin-top: 0; }

/* Akari Invest */
.inv-about { color: var(--text-2); max-width: 58ch; margin-top: 12px; }
.inv-person { justify-self: end; width: min(100%, 360px); background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.inv-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text-2); font-size: .92rem; }
.inv-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inv-step { background: var(--color-surface); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.inv-step h3 { font-size: 1.35rem; }
.inv-step p { color: var(--text-2); }

/* Kontakt: felles adresse og «usikker» */
.direct-note { margin-top: 16px; color: var(--text-2); font-size: .92rem; }
.direct-note a { color: var(--accent); }
.pick-unsure span { border-style: dashed; }

/* Kartleggingen: en skjermovertakelse. Scenen er 1600 × 900 og skaleres til vinduet, så ingenting scroller.
   Alle animasjoner ender synlig (ingen hvilende opacity: 0), og de slås av med redusert bevegelse. */
html:has([data-kf]) { overflow: hidden; }
.kf { --spring: cubic-bezier(.34, 1.4, .64, 1); --dx: 36px; position: fixed; inset: 0; z-index: 60; background: radial-gradient(1200px 700px at 85% 0%, var(--color-accent-muted), transparent 60%), var(--color-bg); overflow: hidden; }
.kf[data-dir="back"] { --dx: -36px; }
.kf-stage { position: absolute; left: 50%; top: 50%; width: 1600px; height: 900px; translate: -50% -50%; scale: var(--kf-scale, 1); display: grid; grid-template-rows: 96px minmax(0, 1fr) 104px; font-size: 18px; }
.kf-body { position: relative; min-height: 0; padding: 0 64px; }
.kf-screen { position: absolute; inset: 0 64px; }
.kf-pane { position: absolute; inset: 0; border: 0; margin: 0; padding: 0; min-width: 0; }
.kf em { font-style: italic; color: var(--accent); }

/* Toppen: merket, de seks ansiktene og verktøyene */
.kf-rail { position: relative; display: grid; grid-template-columns: 300px 1fr 300px; align-items: center; padding: 0 64px; }
.kf-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.kf-brand img { height: 22px; width: auto; }
.kf-brand span { padding-left: 14px; border-left: 1px solid var(--line-2); }
.kf-seats { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 22px; }
.kf-seats li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 76px; font-size: 12.5px; color: var(--text-3); transition: color .3s; }
.kf-seats .face { width: 42px; height: 42px; filter: grayscale(1); opacity: .5; box-shadow: 0 0 0 2px var(--ring-gap), 0 0 0 3.5px var(--line-2); transition: filter .4s, opacity .4s, box-shadow .4s, scale .45s var(--spring); }
.kf-seats li[data-done="true"] { color: var(--text); }
.kf-seats li[data-done="true"] .face { filter: none; opacity: 1; box-shadow: 0 0 0 2px var(--ring-gap), 0 0 0 4.5px var(--tint); animation: kf-pop .5s var(--spring); }
.kf-seats li[data-current="true"] { color: var(--text); font-weight: 600; }
.kf-seats li[data-current="true"] .face { filter: none; opacity: 1; scale: 1.18; box-shadow: 0 0 0 2px var(--ring-gap), 0 0 0 4.5px var(--tint), 0 8px 18px rgb(var(--ink-rgb) / .18); }
.kf-tools { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.kf-count { margin-right: 10px; font-size: 14px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.kf-tool { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font: 500 14px var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.kf-tool:hover { background: var(--color-surface); color: var(--text); }
.kf-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kf-reset[data-confirm="true"] { color: var(--error); }
.kf-progress { position: absolute; left: 64px; right: 64px; bottom: 0; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.kf-progress span { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--color-accent), var(--color-mint)); transition: width .6s var(--ease); }

/* Bunnen: tilbake, tastene, hopp over og neste */
.kf-nav { display: flex; align-items: center; gap: 18px; padding: 0 64px; border-top: 1px solid var(--line); }
.kf-nav .btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.kf-nav [data-kf-next] { margin-left: auto; box-shadow: 0 10px 24px rgb(var(--ink-rgb) / .18); }
.kf-nav [data-kf-next]:hover { translate: 0 -1px; }
.kf-skip { border: 0; background: none; font: 500 16px var(--font-body); color: var(--text-2); cursor: pointer; padding: 12px; text-decoration: underline; text-underline-offset: 4px; }
.kf-skip:hover { color: var(--text); }

/* Spørsmålet */
.kf-ask { display: grid; gap: 12px; margin: 0 0 34px; padding: 0; max-width: 1100px; animation: kf-in .55s var(--ease) both; }
.kf-ask .kicker { margin: 0; }
.kf-title { display: block; font-family: var(--font-display); font-weight: 400; font-size: 58px; line-height: 1.04; letter-spacing: -.025em; color: var(--text); text-wrap: balance; }
.kf-title:focus { outline: none; }
.kf-hint { display: block; font-size: 20px; line-height: 1.45; color: var(--text-2); max-width: 62ch; }
.kf-legend { display: block; margin: 0 0 14px; font-family: var(--font-display); font-size: 26px; color: var(--text); }
.kf-pane:not(.kf-intro) { display: flex; flex-direction: column; justify-content: center; padding-bottom: 36px; }
legend.kf-ask { float: left; width: 100%; }
.kf-pane > .kf-stepper, .kf-pane > .kf-big-input { align-self: flex-start; }

/* Svaralternativene: store fliser med tall, hake som tegnes, og fjær når de trykkes */
.kf-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; max-width: 1300px; }
.kf-opt { position: relative; display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 18px 56px 18px 22px; border-radius: 20px; border: 1.5px solid var(--line-2); background: var(--color-surface); color: var(--text); font: 500 21px/1.25 var(--font-body); text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgb(var(--ink-rgb) / .04); animation: kf-in .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); transition: border-color .2s, background-color .25s, box-shadow .3s, scale .35s var(--spring), opacity .3s, translate .35s var(--spring); }
.kf-opt:hover { border-color: var(--color-ink); translate: 0 -2px; box-shadow: var(--shadow); }
.kf-opt:active { scale: .97; }
.kf-opt:focus-visible { outline: 3px solid rgb(var(--mint-rgb) / .7); outline-offset: 3px; }
.kf-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--color-accent-muted); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.kf-opt-t { display: grid; gap: 4px; }
.kf-opt-t b { font-weight: 600; }
.kf-opt-t small { font-size: 15.5px; font-weight: 400; line-height: 1.4; color: var(--text-2); }
.kf-opt .face { flex: none; width: 52px; height: 52px; }
.kf-opt-face .face-sm { width: 44px; height: 44px; }
.kf-tick { position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; translate: 0 -50%; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .1s; }
[aria-pressed="true"] > .kf-tick { stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--ease) .05s; }
.kf[data-leaving] [data-pane]:not([hidden]) .kf-opt[aria-pressed="false"] { opacity: .32; scale: .98; }
.kf[data-leaving] [data-pane]:not([hidden]) .kf-opt[aria-pressed="true"] { scale: 1.03; }
.kf-goalgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kf-goal { align-items: flex-start; min-height: 150px; padding-top: 24px; }
.kf-goal .kf-opt-t b { font-family: var(--font-display); font-weight: 500; font-size: 27px; letter-spacing: -.01em; }
.kf-priogrid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.kf-sellers { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; }
.kf-sellers .kf-opt { min-height: 104px; }
.kf-sellers .face { width: 60px; height: 60px; }

/* Første rute: overskriften til venstre, selgerne til høyre */
.kf-intro { display: grid; grid-template-columns: minmax(0, 1fr) 700px; gap: 72px; align-items: center; }
.kf-intro > .kf-ask { padding-top: 0; margin: 0; }
.kf-intro .kf-title { font-size: 84px; }
.kf-intro .kf-hint { font-size: 21px; }
.kf-intro-pick { animation: kf-in .6s var(--ease) both .12s; }

/* Felt og tall */
.kf-big-input { width: min(100%, 980px); font: 400 52px/1.2 var(--font-display); color: var(--text); background: none; border: 0; border-bottom: 2px solid var(--line-2); padding: 10px 0 14px; animation: kf-in .55s var(--ease) both .1s; transition: border-color .3s; }
.kf-big-input:focus { outline: none; border-color: var(--accent); }
.kf-big-input::placeholder { color: var(--text-3); opacity: .6; }
.kf-stepper { display: inline-flex; align-items: center; gap: 18px; padding: 12px; border-radius: 999px; background: var(--color-surface); box-shadow: var(--shadow); animation: kf-in .55s var(--ease) both .1s; }
.kf-stepper button { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--color-bg); color: var(--text); font-size: 34px; cursor: pointer; transition: background-color .2s, scale .3s var(--spring); }
.kf-stepper button:hover { background: var(--color-accent-muted); }
.kf-stepper button:active { scale: .9; }
.kf-stepper input { width: 200px; border: 0; background: none; text-align: center; font: 400 96px/1 var(--font-display); color: var(--text); -moz-appearance: textfield; appearance: textfield; }
.kf-stepper input::-webkit-inner-spin-button, .kf-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kf-stepper input:focus { outline: none; }

/* Fagområdet: personen står til venstre mens spørsmålene skifter til høyre */
.kf-area { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; }
.kf-who { align-self: center; display: grid; gap: 10px; justify-items: start; padding: 36px; border-radius: 28px; background: var(--color-surface); box-shadow: var(--shadow-lg); border-top: 5px solid var(--tint); animation: kf-rise .6s var(--ease) both; }
.kf-portrait { position: relative; margin-bottom: 14px; }
.kf-portrait .face-xl { width: 168px; height: 168px; box-shadow: 0 0 0 5px var(--ring-gap), 0 16px 34px rgb(var(--ink-rgb) / .18); animation: kf-pop .7s var(--spring) both .05s; }
.kf-portrait::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(var(--tint) calc(var(--p) * 1%), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), var(--color-ink) calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), var(--color-ink) calc(100% - 3.5px)); animation: kf-ring .9s var(--ease) both .15s; }
.kf-area-name { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.05; letter-spacing: -.02em; }
.kf-who-p { display: grid; font-size: 16px; line-height: 1.4; color: var(--text-2); }
.kf-who-p b { color: var(--text); font-weight: 600; }
.kf-dots { list-style: none; display: flex; gap: 6px; margin: 10px 0 4px; padding: 0; }
.kf-dots li { width: 10px; height: 10px; border-radius: 999px; background: var(--line-2); transition: width .45s var(--spring), background-color .3s; }
.kf-dots li[data-done="true"] { background: var(--tint); }
.kf-dots li[data-on="true"] { width: 34px; background: var(--accent); }
.kf-goalhit { font-size: 13px; font-weight: 600; color: var(--accent); background: var(--color-accent-muted); border-radius: 999px; padding: 6px 12px; }
.kf-private { margin-top: 8px; border: 0; background: none; padding: 4px 0; font: 600 15px var(--font-body); color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-align: left; }
.kf-private[aria-pressed="true"] { color: var(--accent); }
.kf-private-hint { font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.kf-qs { position: relative; min-width: 0; }
.kf-area .kf-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 960px; }
.kf-area .kf-title { font-size: 50px; }
.kf-mode .kf-title { font-size: 54px; }
.kf-chips { display: flex; flex-wrap: wrap; gap: 12px; max-width: 980px; }
.kf-worry { display: inline-flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 26px 0 16px; border-radius: 999px; border: 1.5px solid rgb(var(--accent-rgb) / .3); background: var(--color-surface); color: var(--text); font: 500 21px var(--font-body); cursor: pointer; animation: kf-chip .5s var(--spring) both; animation-delay: calc(var(--i, 0) * 55ms + 100ms); transition: border-color .2s, background-color .25s, translate .35s var(--spring), box-shadow .3s; }
.kf-worry:hover { border-color: var(--accent); }
.kf-worry[aria-pressed="true"] { background: var(--color-accent-muted); border-color: var(--accent); translate: 0 -3px; box-shadow: 0 10px 22px rgb(var(--accent-rgb) / .16); }

/* Forslaget i tre steg: ringen alene, ett forslag om gangen, og summen */

/* 1 · Ringen: de som passer, tennes etter tur */
.kf-result .kr-reveal { display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 64px; align-items: center; padding-bottom: 0; }
.kr-reveal .kf-ask { margin: 0; }
.kr-reveal .kf-title { font-size: 76px; }
.kr-count { font-family: var(--font-display); font-size: 30px; line-height: 1.25; color: var(--text); }
.kr-orbit { width: 620px; height: 620px; justify-self: center; border-radius: 40px; animation: kf-rise .7s var(--ease) both; }
.kr-orbit .orb { translate: -50% -50%; }
.kr-orbit .orb .face { width: 92px; height: 92px; transition: filter .4s, opacity .4s, box-shadow .4s, scale .45s var(--spring); }
.kr-orbit .orb > span { position: absolute; top: 100%; left: 50%; translate: -50% 8px; white-space: nowrap; font-size: 13px; color: rgb(var(--on-ink-rgb) / .7); text-align: center; }
.kr-orbit .orb > span b { display: block; font-size: 17px; }
.kr-orbit .orb[data-state="later"] .face, .kr-orbit .orb[data-state="nofit"] .face, .kr-orbit .orb[data-state="skipped"] .face, .kr-orbit .orb[data-state="customer"] .face { filter: grayscale(1); opacity: .32; box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 4.5px var(--line-2); }
.kr-orbit .orb[data-state="later"] > span, .kr-orbit .orb[data-state="nofit"] > span, .kr-orbit .orb[data-state="skipped"] > span, .kr-orbit .orb[data-state="customer"] > span { opacity: .4; }
.kr-orbit .orb[data-state="rec"] .face, .kr-orbit .orb[data-state="talk"] .face, .kr-orbit .orb[data-state="private"] .face { animation: kf-light .8s var(--spring) both; animation-delay: var(--d, 0ms); }
.kr-orbit .orb[data-state="talk"] .face, .kr-orbit .orb[data-state="private"] .face { box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 5px var(--color-mint); outline: 2px dashed var(--color-mint); outline-offset: 8px; }
.kr-orbit .orb[data-picked="true"] .face { box-shadow: 0 0 0 3px var(--ring-gap), 0 0 0 6px var(--color-mint), 0 0 30px rgb(var(--mint-rgb) / .55); }
.kr-orbit .orbit-lines .spoke { stroke-dasharray: 40; stroke-dashoffset: 40; stroke: rgb(var(--mint-rgb) / .6); stroke-width: .35; }
.kr-orbit .orbit-lines .spoke[data-state="rec"], .kr-orbit .orbit-lines .spoke[data-state="talk"], .kr-orbit .orbit-lines .spoke[data-state="private"] { stroke-dashoffset: 0; animation: kf-spoke .9s var(--ease) both; animation-delay: var(--d, 0ms); }
.kr-orbit .orbit-lines .spoke-pulse { stroke: var(--color-mint); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3 60; stroke-dashoffset: 3; }
.kr-orbit .orbit-lines .spoke-pulse[data-go] { animation: kf-pulse .9s var(--ease) both; }
.kr-orbit .you { width: 30%; top: 48%; font-size: 34px; padding: 0 16px; text-align: center; line-height: 1.1; overflow-wrap: anywhere; animation: kf-pop .8s var(--spring) both .1s; }

/* 2 · Ett forslag om gangen: personen til venstre, forslaget og to store valg til høyre */
.kf-result .kr-one { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: center; padding-bottom: 0; }
.kr-who { align-self: center; }
.kr-who .kf-portrait[data-bump] .face-xl { animation: kf-pop .6s var(--spring); }
.kr-one-body { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kr-card { display: flex; flex-direction: column; gap: 12px; max-height: 500px; padding: 30px 34px; border-radius: 28px; background: var(--color-surface); box-shadow: var(--shadow-lg); border-top: 5px solid var(--tint); overflow: hidden; animation: kf-in .55s var(--ease) both .05s; }
.kr-head { display: none; }
.kr-verdict { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.kr-verdict .kf-opt { min-height: 80px; }
.kr-verdict .kf-opt[data-kr-verdict="yes"] .kf-opt-t b { font-weight: 700; }
.kr-prod { display: flex; flex-direction: column; gap: 6px; }
.kr-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kr-name b { font-family: var(--font-display); font-weight: 500; font-size: 34px; letter-spacing: -.015em; line-height: 1.1; }
.kr-price { font-family: var(--font-display); font-size: 32px; line-height: 1.2; color: var(--accent); }
.kf-tbd { display: inline-block; margin-left: 10px; padding: 1px 9px; border-radius: 999px; border: 1px dashed currentColor; font: 600 11px/1.7 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); vertical-align: middle; white-space: nowrap; }
.kr-pitch { font-size: 18px; line-height: 1.45; color: var(--text); }
.kr-reason { font-size: 16px; line-height: 1.45; color: var(--text-2); }
.kr-gets { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.kr-gets li { padding-left: 20px; position: relative; }
.kr-gets li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); rotate: -45deg; }
.kr-terms { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.kr-pnote, .kr-next, .kr-note, .kr-text { font-size: 13.5px; line-height: 1.45; color: var(--text-2); margin: 0; }
.kr-text { font-family: var(--font-display); font-size: 30px; color: var(--text); line-height: 1.3; }
.kr-notes { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.kr-today { margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--color-bg); font-size: 13.5px; font-weight: 500; }

/* 3 · Summen: store tall, det dere valgte, og de stille linjene */
.kr-sumpane { align-items: flex-start; }
.kr-sumpane .kf-ask { margin-bottom: 26px; }
.kr-bigsums { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 34px 40px; border-radius: 30px; background: var(--color-ink); color: var(--color-on-ink); box-shadow: var(--shadow-lg); animation: kf-rise .6s var(--ease) both .05s; }
.kr-sum { display: grid; gap: 6px; padding: 0 28px; border-left: 1px solid rgb(var(--on-ink-rgb) / .14); }
.kr-sum:first-child { border-left: 0; padding-left: 0; }
.kr-sum span { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--on-ink-rgb) / .6); }
.kr-sum b { font-family: var(--font-display); font-weight: 400; font-size: 64px; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kr-sum b[data-ticking] { color: var(--color-mint); }
.kr-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kr-chips li { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--color-surface); box-shadow: var(--shadow); border: 1.5px solid var(--tint); animation: kf-chip .5s var(--spring) both; animation-delay: calc(var(--i, 0) * 70ms + 250ms); }
.kr-chips .face { width: 40px; height: 40px; }
.kr-chips li > span { display: grid; line-height: 1.25; font-size: 13.5px; color: var(--text-2); }
.kr-chips b { font-size: 15.5px; color: var(--text); }
.kr-sum-text { display: grid; gap: 4px; margin-top: 20px; font-size: 15px; line-height: 1.45; color: var(--text-2); max-width: 1100px; }
.kr-sum-text p { margin: 0; }
.kr-year { color: var(--text); font-weight: 600; }
.kr-bind { color: var(--accent); font-weight: 600; }
.kr-disc[data-on="true"] { color: var(--accent); font-weight: 600; }
.kr-foot { color: var(--text-3); }
.kr-missing-btn { margin-left: 6px; border: 0; background: none; padding: 0; font: 600 13.5px var(--font-body); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.kr-missing { width: min(520px, 90vw); padding: 22px 24px; border: 0; border-radius: 18px; background: var(--color-surface); color: var(--text); box-shadow: var(--shadow-lg); font-size: 16px; }
.kr-missing::backdrop { background: rgb(var(--ink-rgb) / .25); }
.kr-missing p { margin: 0 0 8px; font-weight: 700; }
.kr-missing ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); }

/* Neste steg: hvem og når til venstre, kontaktfeltene til høyre */
.kf-next [data-pane="next"] { display: grid; grid-template-columns: 720px minmax(0, 1fr); gap: 72px; padding-top: 36px; }
.kf-next-text { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.kf-next-text .kf-ask { margin: 0; }
.kf-next-text .kf-title { font-size: 52px; }
.kf-coord { display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--color-surface); box-shadow: var(--shadow); animation: kf-in .5s var(--ease) both .08s; }
.kf-coord > span { flex: none; }
.kf-coord .face { width: 52px; height: 52px; }
.kf-coord p { margin: 0; font-size: 15px; line-height: 1.5; }
.kf-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kf-contacts li { display: flex; align-items: center; gap: 14px; animation: kf-in .45s var(--ease) both .12s; }
.kf-pick { position: relative; flex: none; width: 330px; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 48px 6px 8px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--color-surface); color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s, background-color .25s, scale .35s var(--spring); }
.kf-pick:active { scale: .97; }
.kf-pick .face { flex: none; width: 40px; height: 40px; }
.kf-pick span { display: grid; font-size: 13.5px; line-height: 1.3; color: var(--text-2); }
.kf-pick b { color: var(--text); font-size: 15.5px; font-weight: 600; }
.kf-pick[aria-pressed="false"] .face { filter: grayscale(1); opacity: .55; }
.kf-pick[aria-pressed="true"] { border-color: var(--accent); background: var(--color-accent-muted); }
.kf-pick .kf-tick { right: 14px; width: 22px; height: 22px; }
.kf-whenrow { display: flex; gap: 6px; animation: kf-chip .4s var(--spring) both; }
.kf-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--color-surface); color: var(--text); font: 500 14.5px var(--font-body); cursor: pointer; white-space: nowrap; transition: border-color .2s, background-color .25s, scale .3s var(--spring); }
.kf-chip:hover { border-color: var(--color-ink); }
.kf-chip:active { scale: .95; }
.kf-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--color-accent-muted); }
.kf-next .form-wrap { align-self: center; animation: kf-rise .6s var(--ease) both .1s; }
.kf-form { display: grid; gap: 18px; padding: 32px; border-radius: 26px; background: var(--color-surface); box-shadow: var(--shadow-lg); transition: scale .5s var(--ease), opacity .5s, translate .5s var(--ease); }
.kf-form .field input { min-height: 54px; font-size: 17px; }
.kf-fields { display: grid; gap: 16px; }
.kf-how .kf-legend { font-size: 18px; margin-bottom: 10px; }
.kf-how .kf-chips { gap: 8px; }
.kf-text { display: none; }
.kf-text textarea { height: 300px; resize: none; font-size: 14.5px; line-height: 1.55; }
.kf-form[data-view="text"] .kf-fields { display: none; }
.kf-form[data-view="text"] .kf-text { display: grid; animation: kf-in .4s var(--ease) both; }
.kf-send { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kf-viewbtn { border: 0; background: none; padding: 8px 0; font: 600 15.5px var(--font-body); color: var(--text-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.kf-viewbtn:hover { color: var(--text); }
.kf-form .form-note { margin: 0; font-size: 13px; color: var(--text-3); }
.kf[data-sending] .kf-form { scale: .94; opacity: .55; translate: -40px 0; }
.kf-sent { display: grid; gap: 12px; justify-items: start; padding: 40px; border-radius: 26px; background: var(--color-surface); box-shadow: var(--shadow-lg); animation: kf-rise .6s var(--spring) both; }
.kf-sent h3 { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1.1; }
.kf-sent p:not(.kicker) { font-size: 18px; color: var(--text-2); }
.kf-sent-mark { width: 84px; height: 84px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.kf-sent-mark circle { stroke-dasharray: 151; stroke-dashoffset: 0; animation: kf-draw-c .8s var(--ease) both; }
.kf-sent-mark path { stroke-dasharray: 40; stroke-dashoffset: 0; animation: kf-draw-p .45s var(--ease) both .6s; }

/* Telefon på høykant: be om en større skjerm */
.kf-rotate { display: none; }
@media (max-width: 760px) and (orientation: portrait) {
  .kf-stage { display: none; }
  .kf-rotate { display: grid; place-items: center; position: absolute; inset: 0; padding: 32px; text-align: center; font-family: var(--font-display); font-size: 26px; line-height: 1.3; }
}

@keyframes kf-in { from { opacity: 0; translate: var(--dx) 0; } }
@keyframes kf-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes kf-pop { 0% { scale: .7; } 60% { scale: 1.08; } 100% { scale: 1; } }
@keyframes kf-chip { from { opacity: 0; scale: .8; } }
@keyframes kf-ring { from { --p: 0; } to { --p: 100; } }
@keyframes kf-light { from { filter: grayscale(1); opacity: .32; scale: .78; } }
@keyframes kf-spoke { from { stroke-dashoffset: 40; } }
@keyframes kf-pulse { from { stroke-dashoffset: -33; opacity: 1; } 85% { opacity: 1; } to { stroke-dashoffset: 3; opacity: 0; } }
@keyframes kf-bump { 0% { scale: 1; } 40% { scale: 1.12; box-shadow: 0 0 0 2px var(--color-mint), 0 0 0 26px rgb(var(--mint-rgb) / .14); } 100% { scale: 1; } }
@keyframes kf-draw-c { from { stroke-dashoffset: 151; } }
@keyframes kf-draw-p { from { stroke-dashoffset: 40; } }

/* Mobil */
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .person-card, .orbit { justify-self: start; }
  .service { grid-template-columns: minmax(0, 1fr); }
  .s-price { grid-column: 1; align-items: flex-start; text-align: left; }
  .s-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .team, .steps, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .steps ol, .why { grid-template-columns: minmax(0, 1fr); }
  .area-grid { grid-template-columns: minmax(0, 1fr); }
  .ld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-text { grid-template-columns: minmax(0, 1fr); }
  .ld-text .text-link { grid-column: 1; }
  .orbit-col { justify-self: start; }
  .val-grid, .inv-steps { grid-template-columns: minmax(0, 1fr); }
  .inv-person { justify-self: start; }
  .foot-in { grid-template-columns: minmax(0, 1fr) auto; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top-cta { display: none; }
  .top-in { gap: 10px; }
  .areas { margin-right: 0; }
  .events, .field-row { grid-template-columns: minmax(0, 1fr); }
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
  .lineup .face { width: 60px; height: 60px; }
  .menu li { flex-wrap: wrap; }
  .m-dots { display: none; }
  .menu .price { margin-left: auto; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .ab-invest { grid-template-columns: minmax(0, 1fr); }
  .ld-grid { gap: 12px; }
  .ld-body { padding: 14px 16px 18px; }
  .ld-phone { font-size: 1.15rem; }
  .orb { translate: -50% -34px; }
  .orb .face { width: 48px; height: 48px; }
  .orb span { font-size: .7rem; }
  .orb b { font-size: .82rem; }
}
/* Skjemaet: <ae-form> fra Akari Engine sender det og viser malene «success» og «error» */
ae-form { display: block; }
.form-fail { color: var(--error); font-weight: 500; margin-top: 12px; }
}

/* Utenfor laget, så de alltid vinner */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal * { animation: none; }
  .kf, .kf *, .kf *::before, .kf *::after { animation: none; }
  *, *::before, *::after { transition: none; }
}
[hidden]:not([hidden="until-found"]) { display: none; }
