/* ============================================================
   Lokalsajt — snekker-mal v4 (statisk, data-drevet, MOBIL-FIRST)
   Designretning: "Verkstedsluks" — dyp koksblå natt + varm tre-aksent.
   Rikere enn v3 igjen (nummerert bento, flytende folgertall-kort),
   men fortsatt dokumentarisk, ikke SaaS. Basestiler = mobil (390px).
   Salgslaget bor i et SEPARAT Animasjonlandslaget-panel (kjolig profil)
   nederst i fila — hjemmesiden selv har ingen pris/pakke-stiler.
   ============================================================ */

:root {
  --ink:      #0c1119;   /* dypeste bakgrunn (natt) */
  --ink-2:    #121a26;   /* opphøyd flate */
  --ink-3:    #18222f;   /* kort */
  --line:     #24303f;   /* subtil ramme */
  --line-2:   #34475c;   /* synlig ramme */
  --accent:   #d38a45;   /* varm tre / kobber */
  --accent-2: #eeae67;   /* lysere tre */
  --accent-ink:#1a1206;  /* tekst på aksent */
  --text:     #f4f6f9;   /* primærtekst */
  --text-2:   #b7c1cf;   /* sekundær (AA) */
  --text-3:   #8d99aa;   /* dempet (AA på små tekster) */
  --ok:       #64d6a4;

  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gap: clamp(52px, 9vw, 104px);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip-link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; font-size: .9rem;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Typografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-2);
}
.eyebrow svg { width: 15px; height: 15px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; }
.display { font-size: clamp(2.35rem, 8.4vw, 4.3rem); line-height: 1.03; }
.h2 { font-size: clamp(1.8rem, 5.6vw, 2.9rem); line-height: 1.09; }
.lead { font-size: clamp(1.02rem, 3.2vw, 1.2rem); color: var(--text-2); line-height: 1.6; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ink) 84%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 1.15rem; color: var(--accent-2);
}
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.1; }
.brand__sub { font-size: .62rem; color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; }

.nav__links { display: none; }
.nav__links.open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
  padding: 6px 16px 16px; background: var(--ink);
  border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0,0,0,.7);
}
.nav__links.open a {
  padding: 14px 4px; font-size: 1rem; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav__links.open a:last-child { border-bottom: 0; }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__cta .btn--ghost { display: none; }
.nav__toggle {
  display: inline-flex; background: none; border: 1px solid var(--line-2); color: var(--text);
  cursor: pointer; padding: 8px; border-radius: 9px;
}
.nav__toggle svg { width: 20px; height: 20px; }

/* ---------- Knapper ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: .92rem; font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-s); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; line-height: 1; text-align: center;
  transition: transform .18s var(--ease-spring), box-shadow .25s var(--ease-out),
              background .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn--primary:hover {
  box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--accent) 85%, transparent);
  transform: translateY(-1px);
}
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.btn--sm { padding: 9px 13px; font-size: .84rem; }
.btn--lg { padding: 15px 24px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: clamp(30px, 7vw, 84px) 0 var(--gap); overflow: hidden; }
.hero__glow {
  position: absolute; pointer-events: none; z-index: 0;
  width: 440px; height: 440px; border-radius: 50%; top: -20%; right: -32%;
  background: radial-gradient(circle at center,
    color-mix(in srgb, var(--accent) 22%, transparent), transparent 64%);
  filter: blur(30px);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(30px, 7vw, 60px); align-items: center; }
.hero__kicker { font-size: .82rem; font-weight: 700; letter-spacing: .14em; color: var(--accent-2); text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { max-width: 48ch; margin-bottom: 22px; }
.hero__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.hero__meta .loc { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: .92rem; }
.hero__meta .loc svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn { flex: 1 1 auto; }

.hero__visual { position: relative; }
.hero__card {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 30px 64px -34px rgba(0,0,0,.7);
  aspect-ratio: 4 / 5; background: var(--ink-3);
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }

/* Flytende, animert folgertall-kort (v2-signaturen, oppa fotoet) */
.hero__float {
  position: absolute; left: -10px; bottom: 26px; z-index: 3;
  display: inline-flex; align-items: center; gap: 12px;
  background: color-mix(in srgb, var(--ink-3) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 16px;
  padding: 12px 16px 12px 12px;
  box-shadow: 0 22px 46px -22px rgba(0,0,0,.82);
  animation: floaty 5.5s var(--ease-out) infinite;
  transition: transform .25s var(--ease-out), border-color .25s var(--ease-out);
}
.hero__float:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.hero__float-ic {
  width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 26%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--accent-2);
}
.hero__float-ic svg { width: 21px; height: 21px; }
.hero__float-txt { display: flex; flex-direction: column; line-height: 1.15; }
.hero__float-txt b { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--text); }
.hero__float-txt span { font-size: .72rem; color: var(--text-3); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) { .hero__float { animation: none; } }

/* ============================================================
   Trust-stripe
   ============================================================ */
.trust { border-block: 1px solid var(--line); background: var(--ink-2); margin-top: var(--gap); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; }
.trust__item { padding: 24px 16px; text-align: center; position: relative; }
.trust__item:nth-child(odd)::before {
  content: ""; position: absolute; right: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line);
}
.trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trust__num { font-family: var(--font-display); font-size: clamp(1.55rem, 5vw, 2.3rem); color: var(--text); line-height: 1.05; }
.trust__lbl { font-size: .76rem; color: var(--text-2); margin-top: 8px; }
.trust__hl .trust__num { color: var(--accent-2); }

/* ============================================================
   Seksjons-ramme
   ============================================================ */
section.block { padding: var(--gap) 0; }
.block--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-top: 2px; }
.section-head p { color: var(--text-2); margin-top: 16px; font-size: 1.04rem; }

/* ---------- Tjenester (storre, roligere; mobler dominerer) ---------- */
.services { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc {
  position: relative; overflow: hidden;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px;
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.svc:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 38%, transparent); }
.svc__num {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
  color: var(--text-3); opacity: .55; letter-spacing: .02em;
  transition: color .3s var(--ease-out), opacity .3s var(--ease-out);
}
.svc:hover .svc__num { color: var(--accent-2); opacity: .95; }
.svc--feat .svc__num { font-size: 1.5rem; }
.svc__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  color: var(--accent-2); margin-bottom: 18px;
}
.svc__icon svg { width: 25px; height: 25px; }
.svc h3 { font-size: 1.28rem; margin-bottom: 8px; }
.svc p { color: var(--text-2); font-size: .96rem; }
.svc--feat { background: linear-gradient(155deg, var(--ink-3), var(--ink-2)); }
.svc--feat h3 { font-size: 1.5rem; }
.svc--feat .svc__icon { width: 56px; height: 56px; }
.svc--feat .svc__icon svg { width: 28px; height: 28px; }

/* ---------- Om ---------- */
.about { display: grid; gap: clamp(30px, 6vw, 68px); align-items: center; }
.about__media { position: relative; max-width: 460px; }
.about__frame {
  border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line-2);
  aspect-ratio: 4 / 5; box-shadow: 0 24px 56px -34px rgba(0,0,0,.7); background: var(--ink-3);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; right: 12px; bottom: -14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .82rem; padding: 10px 14px; border-radius: 11px;
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 70%, transparent);
}
.about__badge svg { width: 17px; height: 17px; }
.about__body .eyebrow { margin-bottom: 12px; }
.about__body h2 { margin-bottom: 6px; }
.about__body p { color: var(--text-2); margin-top: 15px; font-size: 1.04rem; }
.about__body p:first-of-type { color: var(--text); font-size: 1.14rem; }
.about__facts { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.about__fact dt { font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.about__fact dd { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-2); margin-top: 4px; }

/* ---------- Galleri ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shot { position: relative; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.shot:hover img { transform: scale(1.04); }
.shot--1 { grid-column: span 2; aspect-ratio: 16/11; }
.shot__tag {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(12,17,25,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--text); font-size: .66rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line-2);
}

/* ---------- Instagram ---------- */
.ig__head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.ig__head .eyebrow { margin-bottom: 10px; }
.ig__head h2 { margin-bottom: 8px; }
.ig__head p { color: var(--text-2); max-width: 46ch; font-size: .98rem; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig__cell { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ig__cell img { width: 100%; height: 100%; object-fit: cover; }
.ig__hover {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--ink) 55%, transparent); opacity: 0;
  transition: opacity .25s var(--ease-out); color: #fff;
}
.ig__hover svg { width: 26px; height: 26px; }
.ig__cell:hover .ig__hover, .ig__cell:focus-visible .ig__hover { opacity: 1; }

/* ---------- Verifisert / verktoy ---------- */
.tz { display: grid; gap: 20px; }
.tz__col { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; }
.tz__title { display: flex; align-items: center; gap: 9px; font-size: 1.08rem; margin-bottom: 18px; font-family: var(--font-sans); font-weight: 700; }
.tz__title svg { width: 19px; height: 19px; color: var(--ok); }
.tz__badges { display: grid; gap: 12px; }
.tz__badge {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--radius-m); font-size: .95rem;
}
.tz__badge > svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 1px; }
.tz__badge--link { transition: border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.tz__badge--link:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.tz__note { color: var(--text-3); font-size: .82rem; }
.tz__ext { margin-left: auto; align-self: center; color: var(--accent-2); font-size: .74rem; font-weight: 700; white-space: nowrap; }
.tz__partners { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.tz__partners li {
  padding: 9px 15px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--text);
}
.tz__fine { margin-top: 16px; font-size: .8rem; color: var(--text-3); line-height: 1.5; }

/* ============================================================
   Gjenbrukbare salgs-komponenter (brukes KUN i Animasjonlandslaget-
   panelet nederst; palett overstyres der til kjolig profil).
   ============================================================ */
/* Komponentforklaringer */
.feats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feat {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.feat:hover { border-color: color-mix(in srgb, var(--accent) 34%, transparent); transform: translateY(-2px); }
.feat--hot { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 10%, var(--ink-3)), var(--ink-3)); }
.feat__ic {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); color: var(--accent-2);
}
.feat__ic svg { width: 21px; height: 21px; }
.feat h4 { font-size: 1.06rem; font-family: var(--font-sans); font-weight: 700; margin-bottom: 3px; }
.feat p { color: var(--text-2); font-size: .9rem; line-height: 1.5; }

/* Billing-toggle */
.billing-toggle {
  display: inline-flex; background: var(--ink-3); border: 1px solid var(--line-2);
  border-radius: 999px; padding: 4px;
}
.billing-toggle__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer; color: var(--text-2);
  font-size: .86rem; font-weight: 600; padding: 8px 16px; border-radius: 999px;
  transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.billing-toggle__btn.is-active { background: var(--accent); color: var(--accent-ink); }
.billing-toggle__save { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; opacity: .95; }
.billing-toggle__btn:not(.is-active) .billing-toggle__save { color: var(--accent-2); }

/* Tier-kort */
.tiers { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tier {
  display: flex; flex-direction: column;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.tier:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tier--rec { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent) inset; }
.tier__top { margin-bottom: 16px; }
.tier__name { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tier__badge {
  font-family: var(--font-sans); font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 3px 8px; border-radius: 6px;
}
.tier__price { min-height: 28px; }
.tier__price b { font-family: var(--font-display); font-size: 1.65rem; color: var(--accent-2); font-weight: 500; }
.tier__mo, .tier__yr { color: var(--text-3); font-size: .84rem; }
.tier__yr { display: none; }
.tier__yr em { font-style: normal; color: var(--ok); font-weight: 700; margin-left: 4px; }
.pricing[data-billing="year"] .tier__mo { display: none; }
.pricing[data-billing="year"] .tier__yr { display: inline; }
.tier__feats { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; flex: 1; align-content: start; }
.tier__feats li { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; color: var(--text-2); }
.tier__feats li svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* ============================================================
   Kontakt + skjema
   ============================================================ */
.contact { display: grid; gap: clamp(28px, 6vw, 56px); }
.contact__info h2 { margin: 12px 0 14px; }
.contact__info .lead { max-width: 46ch; }
.contact__call {
  display: flex; align-items: center; gap: 16px; margin-top: 26px;
  padding: 18px 20px; border-radius: var(--radius-m);
  background: var(--ink-3); border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.contact__call:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.contact__call .ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent-2); }
.contact__call .ic svg { width: 22px; height: 22px; }
.contact__call .lbl { display: block; font-size: .72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.contact__call .num { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.contact__hours { margin-top: 18px; color: var(--text-2); font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.contact__hours svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; }

.lead-form {
  background: var(--ink-3); border: 1px solid var(--line-2);
  border-radius: var(--radius-l); padding: clamp(20px, 5vw, 32px);
  box-shadow: 0 24px 50px -34px rgba(0,0,0,.6);
}
.lead-form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.lead-form__intro { color: var(--text-2); font-size: .9rem; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field--split { display: grid; gap: 15px; }
.field--split > div { margin: 0; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--text-3); text-transform: none; letter-spacing: 0; font-size: .72rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-sans); font-size: 16px;
  background: var(--ink); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--radius-s);
  padding: 12px 14px; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23eeae67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e0745a; box-shadow: 0 0 0 3px rgba(224,116,90,.16); }
.field textarea { resize: vertical; min-height: 88px; }
.form-note { font-size: .74rem; color: var(--text-3); margin-top: 12px; text-align: center; }
.form-status { display: none; margin-top: 14px; padding: 13px 15px; border-radius: var(--radius-s); font-size: .88rem; line-height: 1.45; }
.form-status.ok { display: block; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 34%, transparent); }
.form-status.draft { display: block; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-2); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding: 44px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.footer__brand { grid-column: 1 / -1; max-width: 340px; }
.footer__brand p { color: var(--text-2); font-size: .88rem; margin-top: 12px; }
.footer__col h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 12px; font-family: var(--font-sans); font-weight: 700; }
.footer__col a, .footer__col span { display: block; color: var(--text-2); font-size: .9rem; margin-bottom: 8px; }
.footer__col a:hover { color: var(--accent-2); }
.footer__bar {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  font-size: .76rem; color: var(--text-3);
}
/* ============================================================
   ANIMASJONLANDSLAGET-PANEL — SEPARAT salgslag, kjolig profil.
   Egen palett; klart avskilt fra den varme hjemmesiden.
   ============================================================ */
.agency { --a-brand: #8b93ff; --a-brand-2: #b7bdff; }

/* Kollapset linje (fast i bunn). Glir mykt inn etter en liten stund. */
.agency-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  padding: 11px clamp(14px, 4vw, 28px);
  padding-bottom: calc(11px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #171a2e, #101120);
  border: 0; border-top: 1px solid #2b2f52;
  box-shadow: 0 -14px 40px -22px rgba(0,0,0,.75);
  color: #eef0ff; font-family: var(--font-sans);
  transform: translateY(110%); animation: agencyBarIn .7s 1.1s var(--ease-out) forwards;
}
.agency-bar__logo {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--a-brand), #5b63e0); color: #0a0d1a;
}
.agency-bar__logo svg { width: 18px; height: 18px; }
.agency-bar__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.agency-bar__txt strong { font-size: .9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agency-bar__sub { font-size: .74rem; color: #9aa0d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agency-bar__go {
  margin-left: auto; width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: rgba(139,147,255,.14); color: var(--a-brand-2); border: 1px solid rgba(139,147,255,.28);
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.agency-bar__go svg { width: 18px; height: 18px; }
.agency-bar:hover .agency-bar__go { background: rgba(139,147,255,.26); transform: translateX(2px); }
.agency.is-open .agency-bar { pointer-events: none; }
@keyframes agencyBarIn { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .agency-bar { animation: none; transform: none; } }

/* Backdrop (kun nar apen; ingen auto-modal ved last) */
.agency-backdrop {
  position: fixed; inset: 0; z-index: 85; background: rgba(6,7,15,.64);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.agency.is-open .agency-backdrop { opacity: 1; }

/* Sheet — egen kjolig palett-overstyring */
.agency-sheet {
  --ink: #0b0d1a; --ink-2: #12152a; --ink-3: #191d38;
  --line: #262b52; --line-2: #3a4176;
  --accent: #7a83f0; --accent-2: #aab1ff; --accent-ink: #0a0c18;
  --text: #f3f4ff; --text-2: #c3c7ee; --text-3: #8a90c4; --ok: #64d6a4;
  position: fixed; z-index: 90; inset: auto 0 0 0;
  display: flex; flex-direction: column; max-height: 92dvh;
  background: var(--ink-2);
  border-top: 2px solid var(--accent);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -30px 72px -20px rgba(0,0,0,.82);
  transform: translateY(101%); transition: transform .42s var(--ease-out);
  color: var(--text);
}
.agency.is-open .agency-sheet { transform: translateY(0); }
.agency-sheet__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px clamp(16px, 4vw, 28px); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #171b36, var(--ink-2));
  border-radius: 22px 22px 0 0;
}
.agency-sheet__id { display: flex; align-items: center; gap: 12px; }
.agency-sheet__logo {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), #5b63e0); color: var(--accent-ink);
}
.agency-sheet__logo svg { width: 22px; height: 22px; }
.agency-sheet__id strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.18rem; }
.agency-sheet__id span { font-size: .78rem; color: var(--text-3); }
.agency-sheet__close { background: none; border: 1px solid var(--line-2); color: var(--text-2); cursor: pointer; padding: 8px; border-radius: 10px; transition: border-color .2s var(--ease-out), color .2s var(--ease-out); }
.agency-sheet__close:hover { border-color: var(--accent-2); color: var(--text); }
.agency-sheet__close svg { width: 20px; height: 20px; }

.agency-sheet__scroll {
  overflow-y: auto;
  padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 28px) calc(env(safe-area-inset-bottom, 0px) + 40px);
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}

.agency-hello {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(1.05rem, 3vw, 1.32rem); line-height: 1.5;
  color: var(--text); max-width: 66ch; margin-bottom: clamp(28px, 5vw, 40px);
}
.agency-hello__hi { color: var(--accent-2); font-weight: 500; }

.agency-sec { margin-bottom: clamp(30px, 5vw, 46px); }
.agency-sec__head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.agency-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 4vw, 1.75rem); line-height: 1.12; }
.agency-note { color: var(--text-3); font-size: .86rem; margin-bottom: 18px; }
.agency-fine { font-size: .82rem; color: var(--text-3); margin-top: 16px; }

/* Hva er chatten (fremhevet) */
.agency-chat-explain {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, var(--ink-3)), var(--ink-3));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  border-radius: var(--radius-l); padding: clamp(20px, 4vw, 28px);
  margin-bottom: clamp(30px, 5vw, 46px);
}
.agency-chat-explain__ic { width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); }
.agency-chat-explain__ic svg { width: 24px; height: 24px; }
.agency-chat-explain h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1.2rem; margin-bottom: 6px; }
.agency-chat-explain p { color: var(--text-2); font-size: .96rem; line-height: 1.6; }
.agency-chat-explain strong { color: var(--accent-2); }

/* Demoer */
.agency-demos { display: grid; grid-template-columns: 1fr; gap: 16px; }
.agency-demo { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 18px; }
.agency-demo__label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.agency-demo__label svg { width: 18px; height: 18px; color: var(--accent-2); }
.agency-demo__tag { margin-left: auto; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  background: rgba(122,131,240,.18); color: var(--accent-2); border: 1px solid rgba(122,131,240,.34); padding: 3px 8px; border-radius: 999px; }
.agency-demo__note { margin-top: 12px; font-size: .76rem; color: var(--text-3); }

/* Booking-demo */
.dbook { background: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius-m); padding: 16px; }
.dbook__title { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; margin-bottom: 12px; }
.dbook__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.dbook__day { text-align: center; font-size: .78rem; padding: 8px 0; border-radius: 9px; border: 1px solid var(--line-2); color: var(--text-2); }
.dbook__day.is-sel { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 700; }
.dbook__day.is-off { opacity: .4; }
.dbook__slots { display: flex; gap: 8px; margin-bottom: 14px; }
.dbook__slot { flex: 1; text-align: center; font-size: .82rem; padding: 9px 0; border-radius: 9px; border: 1px solid var(--line-2); color: var(--text-2); }
.dbook__slot.is-sel { border-color: var(--accent-2); color: var(--accent-2); background: rgba(122,131,240,.12); font-weight: 600; }
.dbook__cta { pointer-events: none; }

/* Chat-demo */
.dchat { background: var(--ink); border: 1px solid var(--line-2); border-radius: var(--radius-m); overflow: hidden; }
.dchat__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .85rem; }
.dchat__head svg { width: 16px; height: 16px; color: var(--accent-2); }
.dchat__log { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.dchat__row { display: flex; }
.dchat__row--user { justify-content: flex-end; }
.dchat__b { max-width: 86%; padding: 9px 13px; border-radius: 13px; font-size: .85rem; line-height: 1.42; }
.dchat__b--bot { background: var(--ink-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.dchat__b--user { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); border-bottom-right-radius: 4px; font-weight: 500; }
.dchat__b--cta { background: rgba(122,131,240,.10); border: 1px dashed var(--line-2); color: var(--text-2); }
.dchat__b--cta b { color: var(--accent-2); }
.dchat__input { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .85rem; }
.dchat__input span { flex: 1; }
.dchat__input svg { width: 18px; height: 18px; color: var(--accent-2); }

/* Logo-tillegg */
.agency-addon {
  display: flex; gap: 16px; align-items: center;
  background: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--radius-l);
  padding: clamp(18px, 4vw, 24px); margin-bottom: clamp(28px, 5vw, 40px);
}
.agency-addon__ic { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-2); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.agency-addon__ic svg { width: 23px; height: 23px; }
.agency-addon h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1.08rem; margin-bottom: 3px; }
.agency-addon p { color: var(--text-2); font-size: .92rem; line-height: 1.5; }
.agency-addon b { color: var(--accent-2); }

/* CTA + foot */
.agency-cta { display: flex; flex-direction: column; gap: 12px; }
.agency-cta .btn { flex: 1 1 auto; }
.agency-foot { margin-top: 18px; font-size: .84rem; color: var(--text-3); }
.agency-foot strong { color: var(--text-2); }
.agency-foot a { color: var(--accent-2); }

body.agency-locked { overflow: hidden; }

@media (min-width: 640px) {
  .agency-demos { grid-template-columns: 1fr 1fr; }
  .agency-sec__head { flex-direction: row; justify-content: space-between; align-items: center; }
  .agency-cta { flex-direction: row; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(4, 1fr); }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .agency-sheet__scroll > * { max-width: 1120px; margin-inline: auto; }
}

/* ============================================================
   Scroll-reveal (varierte retninger)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal[data-r="left"] { transform: translateX(-26px); }
.js .reveal[data-r="scale"] { transform: scale(.94); }
.reveal.in { opacity: 1 !important; transform: none !important; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }

body.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Oppover-skalering (mobil -> desktop)
   ============================================================ */
@media (min-width: 560px) {
  .nav__cta .btn--ghost { display: inline-flex; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item:nth-child(-n+2) { border-bottom: 0; }
  .trust__item + .trust__item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
  .trust__item:nth-child(odd)::before { right: auto; }
  .services { grid-template-columns: 1fr 1fr; }
  .field--split { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bar { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .shot { aspect-ratio: auto; }
  .shot--1 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .shot--4 { grid-column: span 2; }
  .ig__grid { grid-template-columns: repeat(6, 1fr); }
  .ig__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .tz { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 900px) {
  .nav { height: 74px; }
  .nav__links { display: flex; align-items: center; gap: 28px; }
  .nav__links a { font-size: .9rem; color: var(--text-2); position: relative; padding: 4px 0; transition: color .2s var(--ease-out); }
  .nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--accent); transition: width .25s var(--ease-out); }
  .nav__links a:hover { color: var(--text); }
  .nav__links a:hover::after { width: 100%; }
  .nav__toggle { display: none; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .hero__actions .btn { flex: 0 0 auto; }
  .services { grid-template-columns: repeat(6, 1fr); }
  .svc { grid-column: span 2; }
  .svc--feat { grid-column: span 3; }
  .about { grid-template-columns: .85fr 1.15fr; }
  .about__media { max-width: none; }
  .about__badge { right: -18px; bottom: 28px; }
  .contact { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
}
