/* ==========================================================================
   Norfelt AS – styles
   Palett: dypnavy / Norfelt-navy / stål / puls (aksent) / indikasjon (rød)
   Type:   Big Shoulders (titler, selvhostet) · IBM Plex Sans (brød) · IBM Plex Mono (etiketter)
   ========================================================================== */

/* Skrifter: selvhostet (latin-subsett fra Google Fonts, OFL-lisens) */
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("../assets/fonts/big-shoulders.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../assets/fonts/ibm-plex-sans.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #071020;
  --navy-900: #0A1628;
  --navy-700: #14294D;
  --navy-600: #1E3A66;
  --steel: #8CA1BF;
  --steel-300: #B9C7DA;
  --puls: #4CC2FF;
  --puls-600: #1FA8F0;
  --puls-800: #086AAB; /* aksent som tekst på lys bunn (WCAG AA) */
  --ind: #E0122F;
  --grey: #EDF1F6;
  --grey-200: #DDE4EE;
  --white: #FFFFFF;
  --ink: #0A1628;
  --ink-600: #3B4A63;

  --font-display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 72px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-scan: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
}
p { margin: 0 0 1em; }
a { color: inherit; }
::selection { background: var(--puls); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--puls); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--puls); color: var(--navy-950); padding: .6rem 1rem; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--puls);
  margin: 0 0 1rem;
}
.section--grey .eyebrow, .section--white .eyebrow { color: var(--puls-800); }

.only-touch { display: none; }
@media (hover: none) {
  .only-hover { display: none; }
  .only-touch { display: inline; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.125rem; line-height: 1;
  padding: .9rem 1.4rem; border: 1.5px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--lg { font-size: 1.35rem; padding: 1.05rem 1.7rem; }
.btn--primary { background: var(--puls); color: var(--navy-950); border-color: var(--puls); }
.btn--primary:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.btn--dark:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h); color: #fff;
  transition: box-shadow .35s;
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 22, 40, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(140, 161, 191, .18); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.wordmark { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.wordmark__mark { width: 30px; height: 30px; }
.wordmark__text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav__list a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: rgba(255, 255, 255, .85); position: relative; padding: .25rem 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--puls); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta { font-size: 1rem; padding: .7rem 1.1rem; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav-toggle__bar {
    display: block; width: 28px; height: 2px; background: #fff; margin-inline: auto;
    transition: transform .3s var(--ease-out);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--navy-950);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: var(--gutter); gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-scan);
    visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: .35rem; }
  .nav__list a {
    display: inline-block;
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
    font-size: clamp(2.8rem, 13vw, 4.5rem); line-height: 1; color: #fff; letter-spacing: .01em;
  }
  .nav__list a::after { height: 3px; bottom: 0; }
  .nav__cta { font-size: 1.25rem; padding: .9rem 1.3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  color: #fff; background: var(--navy-900);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  opacity: .55;
  animation: kenburns 36s ease-in-out infinite alternate;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, .30) 0%, rgba(10, 22, 40, .55) 45%, rgba(10, 22, 40, .96) 100%);
}
.hero__media.no-img img { display: none; }
.hero__media.no-img { background: radial-gradient(120% 80% at 75% 15%, var(--navy-600) 0%, var(--navy-900) 60%); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero__inner {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vh, 4.5rem));
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__eyebrow { animation: fade .8s var(--ease-out) both; animation-delay: .1s; }
.hero__title { font-size: clamp(3.2rem, 8.4vw, 7.4rem); max-width: 20ch; color: #fff; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span {
  display: block; transform: translateY(110%);
  animation: rise .95s var(--ease-out) forwards;
  animation-delay: calc(.2s + var(--i) * .13s);
}
.hero__title .dot { color: var(--puls); transition: color .3s; }
.hero__lede {
  max-width: 64ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--steel-300);
  margin: 1.5rem 0 2rem;
  animation: fade .9s var(--ease-out) both; animation-delay: .6s;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; animation: fade .9s var(--ease-out) both; animation-delay: .75s; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Scope (A-skann) */
.scope {
  position: relative;
  border-top: 1px solid rgba(140, 161, 191, .25);
  background: rgba(7, 16, 32, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fade 1s var(--ease-out) both; animation-delay: .9s;
}
.scope__bar, .scope__readout {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel); padding: .6rem var(--gutter);
}
.scope__bar { border-bottom: 1px solid rgba(140, 161, 191, .12); }
.scope__hint { margin-left: auto; color: rgba(140, 161, 191, .75); letter-spacing: .06em; text-transform: none; }
#ascan { display: block; width: 100%; height: clamp(110px, 16vh, 170px); touch-action: pan-y; cursor: crosshair; }
.scope__readout b { color: #fff; font-weight: 500; }
.scope__status b { color: var(--puls); transition: color .2s; }
body.is-indicating .scope__status b { color: var(--ind); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.section--grey { background: var(--grey); color: var(--ink); }
.section--white { background: var(--white); color: var(--ink); }
.section--dark { background: var(--navy-900); color: #fff; }
.section__head { max-width: 72ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section__title { font-size: clamp(2.6rem, 6.5vw, 5.25rem); margin-bottom: 1.25rem; }
.section--grey .section__title, .section--white .section__title { color: var(--navy-700); }
.section__lede { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-600); max-width: 58ch; margin: 0; }
.section--dark .section__lede { color: var(--steel-300); }

/* Reveal: skannelinje + innfading */
[data-reveal]::before {
  content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; z-index: 5;
  background: var(--puls); box-shadow: 0 0 24px 4px rgba(76, 194, 255, .55);
  opacity: 0; pointer-events: none;
}
[data-reveal].is-in::before { animation: scan 1.25s var(--ease-scan) forwards; }
@keyframes scan { 0% { top: -3px; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
[data-reveal-child] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}
[data-reveal-child].is-in, html.no-js [data-reveal-child] { opacity: 1; transform: none; }

/* ---------- Bransjer ---------- */
.sectors { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.sector {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.sector--flip .lens-figure { order: 2; }
.sector__body { max-width: 46ch; }
.sector__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--navy-700); margin-bottom: 1rem; }
.sector__body > p { color: var(--ink-600); }
.sector__flag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ind); margin: 0 0 .75rem; display: inline-flex; align-items: center; gap: .5rem;
}
.sector__flag::before { content: ""; width: 8px; height: 8px; background: var(--ind); border-radius: 50%; }
.tags { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .6rem; border: 1px solid var(--grey-200); background: #fff; color: var(--ink-600);
}
@media (max-width: 800px) {
  .sector { grid-template-columns: 1fr; }
  .sector--flip .lens-figure { order: 0; }
}

/* Lupe */
.lens-figure {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--navy-700); border-radius: 2px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.lens-figure img { width: 100%; height: 100%; object-fit: cover; }
.lens-figure.is-zooming { cursor: none; }
.lens-figure.no-img img { display: none; }
.lens-figure.no-img {
  background-color: var(--navy-900);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(140, 161, 191, .14) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(140, 161, 191, .14) 39px 40px);
}
.lens-figure.no-img::after {
  content: attr(data-ghost); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 7rem); color: rgba(140, 161, 191, .22); letter-spacing: .02em; text-align: center;
}
.lens-figure.no-img::before {
  content: "Bilde kommer"; position: absolute; left: 1rem; top: 1rem;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel);
}
.lens-figure.no-img .lens { display: none; }
.lens {
  --lens: 230px;
  position: absolute; left: 0; top: 0; width: var(--lens); height: var(--lens); z-index: 3;
  border-radius: 50%; border: 1.5px solid var(--puls);
  box-shadow: 0 0 0 1px rgba(7, 16, 32, .6), 0 0 0 6px rgba(76, 194, 255, .15), 0 18px 50px rgba(7, 16, 32, .55), inset 0 0 0 1px rgba(255, 255, 255, .15);
  background-color: var(--navy-950); background-repeat: no-repeat;
  opacity: 0; transform: translate(-50%, -50%); transition: opacity .25s;
  pointer-events: none; will-change: transform;
}
.lens-figure.is-zooming .lens { opacity: 1; }
.lens::before, .lens::after { content: ""; position: absolute; background: rgba(76, 194, 255, .6); }
.lens::before { left: 50%; top: 14%; bottom: 14%; width: 1px; transform: translateX(-.5px); }
.lens::after { top: 50%; left: 14%; right: 14%; height: 1px; transform: translateY(-.5px); }
.lens__label {
  position: absolute; left: 50%; bottom: -2.3rem; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--puls); background: rgba(7, 16, 32, .88); padding: .3rem .6rem; border: 1px solid rgba(76, 194, 255, .4);
}
@media (max-width: 800px) { .lens { --lens: 160px; } }

/* ---------- Metoder ---------- */
.methods { display: grid; border-top: 1px solid rgba(140, 161, 191, .22); }
.method {
  position: relative;
  display: grid; grid-template-columns: 8rem minmax(0, 1.4fr) minmax(0, 1fr) 4rem;
  gap: clamp(1rem, 3vw, 3rem); align-items: start;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid rgba(140, 161, 191, .22);
  transition: background .35s;
}
.method:hover { background: linear-gradient(90deg, rgba(76, 194, 255, .07), transparent 60%); }
.method__code {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: .85; color: var(--steel); letter-spacing: -.02em; transition: color .35s;
}
.method:hover .method__code { color: var(--puls); }
.method__name { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: .6rem; color: #fff; }
.method__main p { color: var(--steel-300); margin: 0; max-width: 52ch; }
.method__facts { margin: 0; display: grid; gap: .9rem; font-size: .95rem; }
.method__facts div { display: grid; gap: .15rem; }
.method__facts dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--puls); }
.method__facts dd { margin: 0; color: var(--steel-300); }
.method__icon { width: 56px; height: 56px; color: var(--puls); justify-self: end; }
.method__icon path, .method__icon circle {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s var(--ease-out);
}
.method:hover .method__icon path, .method:hover .method__icon circle { stroke-dashoffset: 0; }
@media (hover: none) { .method__icon path, .method__icon circle { stroke-dashoffset: 0; } }
@media (max-width: 880px) {
  .method { grid-template-columns: 5rem minmax(0, 1fr); grid-template-areas: "code main" "code facts"; }
  .method__code { grid-area: code; font-size: 3rem; }
  .method__main { grid-area: main; }
  .method__facts { grid-area: facts; }
  .method__icon { display: none; }
}
@media (max-width: 520px) {
  .method { grid-template-columns: 1fr; grid-template-areas: "code" "main" "facts"; gap: .9rem; }
}

/* Funn (bilder fra felt) */
.finds { margin-top: clamp(3rem, 6vw, 5rem); }
.finds__eyebrow { margin-bottom: 1.25rem; }
.finds__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.find { display: flex; flex-direction: column; aspect-ratio: auto; background: transparent; }
.find img { aspect-ratio: 4 / 3; }
.find figcaption {
  padding: .8rem 0 0; font-size: .92rem; color: var(--steel-300); display: flex; gap: .75rem; align-items: baseline;
}
.find figcaption span {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--puls); flex: none;
}
.find .lens { --lens: 180px; }
@media (max-width: 800px) { .finds__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Prosess ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem);
}
.step { border-top: 2px solid var(--navy-700); padding-top: 1.25rem; }
.step__num {
  display: block; font-family: var(--font-display); font-weight: 900; font-size: 3.5rem; line-height: 1;
  color: var(--puls-600); margin-bottom: .5rem;
}
.step__title { font-size: 1.6rem; color: var(--navy-700); margin-bottom: .5rem; }
.step p { color: var(--ink-600); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Referanser ---------- */
.marquee {
  overflow: hidden; background: #fff;
  border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span {
  display: flex; align-items: center; gap: 2.2rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; padding: 1.1rem 0 1.1rem 2.2rem;
  color: var(--navy-700); white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 10px; height: 10px; background: var(--puls); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.refs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.refs th {
  text-align: left; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-600); font-weight: 500; padding: .75rem 1rem .75rem 0; border-bottom: 2px solid var(--navy-700);
}
.refs td { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--grey-200); vertical-align: top; color: var(--ink-600); }
.refs td:first-child { font-weight: 600; color: var(--navy-700); }
@media (max-width: 640px) {
  .refs thead { display: none; }
  .refs tr { display: grid; padding: .9rem 0; border-bottom: 1px solid var(--grey-200); }
  .refs td { border: 0; padding: .1rem 0; }
  .refs td:not(:first-child) { font-family: var(--font-mono); font-size: .8rem; }
}

/* ---------- Om oss ---------- */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__text p { color: var(--ink-600); max-width: 52ch; }
.about__text .btn { margin-top: 1rem; }
.about__figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-700); border-radius: 2px; }
.about__figure > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.about__figure.no-img > img:first-child { display: none; }
.about__figure.no-img {
  background-color: var(--navy-900);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(140, 161, 191, .14) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(140, 161, 191, .14) 39px 40px);
}
.about__logo {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  width: clamp(110px, 24%, 170px); height: auto;
  background: #fff; padding: .5rem; border-radius: 2px;
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .about__figure { aspect-ratio: 4 / 3; }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--navy-950); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__intro > p { color: var(--steel-300); max-width: 44ch; }
.contact__phone {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; letter-spacing: .01em;
  color: #fff; text-decoration: none; margin: 1.5rem 0 .5rem; transition: color .25s;
}
.contact__phone:hover { color: var(--puls); }
.contact__mail {
  display: inline-block; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--puls); text-decoration: none;
  border-bottom: 1px solid rgba(76, 194, 255, .4); margin-bottom: 1.5rem; transition: border-color .2s;
}
.contact__mail:hover { border-color: var(--puls); }
.contact__org { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel) !important; }

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: #fff;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(140, 161, 191, .35); border-radius: 2px;
  padding: .85rem 1rem; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(140, 161, 191, .55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--puls); background: rgba(76, 194, 255, .06);
  box-shadow: 0 0 0 3px rgba(76, 194, 255, .18);
}
.field.is-invalid input, .field.is-invalid select { border-color: var(--ind); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238CA1BF' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 7rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form__status { margin: 0; color: var(--steel-300); font-size: .95rem; }
.form__status.is-error { color: #ff7a8a; }
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); color: var(--steel);
  border-top: 1px solid rgba(140, 161, 191, .15);
  padding: 2.5rem 0 5.5rem; font-size: .9rem;
}
.site-footer__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.site-footer p { margin: 0 0 .25rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--puls); }
.wordmark--footer { color: #fff; margin-bottom: .5rem; }
@media (max-width: 640px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Ring-knapp (mobil) ---------- */
.call-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  display: none; align-items: center; gap: .5rem;
  background: var(--puls); color: var(--navy-950);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem;
  padding: .85rem 1.15rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(7, 16, 32, .45);
  transform: translateY(140%); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s;
}
.call-fab svg { width: 1.2em; height: 1.2em; }
.call-fab.is-visible { transform: none; opacity: 1; }
@media (max-width: 880px) { .call-fab { display: inline-flex; } }
body.menu-open .call-fab { opacity: 0; pointer-events: none; }

/* ---------- Redusert bevegelse ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
  .hero__title .line > span { transform: none; animation: none; }
  .hero__eyebrow, .hero__lede, .hero__cta, .scope { animation: none; }
  .hero__media img { animation: none; }
  [data-reveal-child] { opacity: 1; transform: none; }
  [data-reveal]::before { display: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; }
}

/* ==========================================================================
   Tillegg 2026-09-21: zoom-figur (helhet → detalj), metodesider, kompetanse
   ========================================================================== */

/* ---------- Zoom-figur ---------- */
.zoom {
  position: relative; margin: 0; aspect-ratio: 2.09 / 1; overflow: hidden; isolation: isolate;
  background: var(--navy-700); border-radius: 2px; cursor: zoom-in;
}
.zoom.is-detail { cursor: zoom-out; }
.zoom picture, .zoom img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zoom img { object-fit: cover; object-position: left bottom; }
.zoom__wide img {
  transform-origin: var(--origin, 50% 50%);
  transition: transform 1.25s var(--ease-scan), opacity .9s ease .2s;
  will-change: transform, opacity;
}
.zoom__detail img {
  opacity: 0; transform: scale(1.12);
  transition: transform 1.25s var(--ease-scan), opacity .85s ease .25s;
  will-change: transform, opacity;
}
.zoom.is-detail .zoom__wide img { transform: scale(2.3); opacity: 0; }
.zoom.is-detail .zoom__detail img { transform: none; opacity: 1; }
.zoom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 16, 32, 0) 0%, rgba(7, 16, 32, .62) 100%);
}
.zoom__panel {
  position: absolute; left: 2%; bottom: 5.5%; z-index: 2;
  min-width: 50%; min-height: 23%; margin: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: .8rem 1.1rem .8rem 1.2rem;
  background: rgba(7, 16, 32, .93); border-left: 3px solid var(--puls); color: #fff;
}
.zoom__labels { display: grid; }
.zoom__label { grid-area: 1 / 1; display: grid; gap: .15rem; transition: opacity .45s ease, transform .45s var(--ease-out); }
.zoom__label b {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1;
}
.zoom__label span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.zoom__label--detail { opacity: 0; transform: translateY(6px); }
.zoom.is-detail .zoom__label--wide { opacity: 0; transform: translateY(-6px); }
.zoom.is-detail .zoom__label--detail { opacity: 1; transform: none; }
.zoom__btn {
  flex: none; font: 500 .68rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--puls); background: transparent; border: 1px solid rgba(76, 194, 255, .45); border-radius: 2px;
  padding: .55rem .7rem; cursor: pointer; transition: border-color .2s, background .2s;
}
.zoom__btn:hover { border-color: var(--puls); background: rgba(76, 194, 255, .1); }
.zoom__btn:focus-visible { outline: 2px solid var(--puls); outline-offset: 2px; }
.zoom__btn > span { display: grid; }
.zoom__btn > span > span { grid-area: 1 / 1; }
.zoom__btn-out, .zoom.is-detail .zoom__btn-in { visibility: hidden; }
.zoom.is-detail .zoom__btn-out { visibility: visible; }
@media (max-width: 800px) {
  .zoom { aspect-ratio: 4 / 3; }
  .zoom__panel { left: 0; right: 0; bottom: 0; min-height: 26%; }
}
@media (prefers-reduced-motion: reduce) {
  .zoom__wide img, .zoom__detail img { transition: opacity .4s ease !important; transform: none !important; }
}

/* Metoder på forsiden: hele raden er lenke */
.method__name a { color: inherit; text-decoration: none; }
.method__name a::after { content: ""; position: absolute; inset: 0; }
.method:focus-within { background: linear-gradient(90deg, rgba(76, 194, 255, .1), transparent 60%); }
.method:focus-within .method__code { color: var(--puls); }
.method__name a:focus-visible { outline: none; }
.method:has(.method__name a:focus-visible) { outline: 2px solid var(--puls); outline-offset: -2px; }
.method__more {
  display: inline-block; margin-top: .7rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--puls);
  border-bottom: 1px solid rgba(76, 194, 255, .4); transition: border-color .2s;
}
.method:hover .method__more, .method:focus-within .method__more { border-color: var(--puls); }
.finds__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .finds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .finds__grid { grid-template-columns: 1fr; } }

/* Kompetanse (Om oss) */
.creds { margin: 1.75rem 0 0; padding: 1.25rem 0 0; border-top: 2px solid var(--navy-700); display: grid; gap: .5rem; }
.creds dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--puls-800); }
.creds dd { margin: 0; color: var(--ink-600); }
.creds__levels { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds__levels li {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .6rem; border: 1px solid var(--grey-200); background: var(--grey); color: var(--navy-700);
}
.creds__levels b { font-weight: 500; color: var(--puls-800); }
.contact__mail--sub { display: block; margin-top: -1rem; margin-bottom: 1.5rem; font-size: 1rem; color: var(--steel-300); text-decoration: none; border: 0; }
.contact__mail--sub span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-right: .6rem; }
.contact__mail--sub:hover { color: var(--puls); }

/* ---------- Metodesider ---------- */
.crumbs { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.crumbs li + li::before { content: "/"; margin-right: .6rem; color: rgba(140, 161, 191, .5); }
.crumbs a { color: var(--steel-300); text-decoration: none; }
.crumbs a:hover { color: var(--puls); }
.crumbs [aria-current] { color: #fff; }

.mhero { background: var(--navy-900); color: #fff; padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden; }
.mhero__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.mhero__code {
  font-family: var(--font-display); font-weight: 900; line-height: .8; letter-spacing: -.03em;
  font-size: clamp(6rem, 18vw, 15rem); color: var(--steel); user-select: none;
}
.mhero__code::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--puls); margin-top: 1rem; }
.mhero__title { font-size: clamp(2.6rem, 6.5vw, 5.25rem); color: #fff; margin-bottom: 1.25rem; }
.mhero__lede { max-width: 58ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--steel-300); margin: 0 0 2rem; }
.mhero .hero__cta { animation: none; }
.mhero__zoom { margin-top: clamp(2rem, 5vw, 4rem); }
@media (max-width: 640px) {
  .mhero__grid { grid-template-columns: 1fr; }
  .mhero__code { font-size: 5.5rem; }
}

.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0; border: 1px solid var(--grey-200); border-right: 0; border-bottom: 0; background: #fff; }
.facts > div { padding: 1.5rem; border-bottom: 1px solid var(--grey-200); border-right: 1px solid var(--grey-200); }
.facts dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--puls-800); margin-bottom: .6rem; }
.facts dd { margin: 0; color: var(--ink-600); }
.facts dd ul { margin: 0; padding-left: 1.1rem; }
.facts dd li + li { margin-top: .25rem; }

.howto { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.howto .steps { grid-template-columns: 1fr; gap: 1.5rem; }
.howto .step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1rem; border-top: 0; padding-top: 0; }
.howto .step__num { font-size: 2.6rem; grid-row: 1 / 3; }
.howto .step__title { font-size: 1.4rem; }
.howto__figure { position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; }
.howto__figure .lens-figure { aspect-ratio: 4 / 5; }
.howto__figure figcaption { padding: .8rem 0 0; font-size: .92rem; color: var(--ink-600); }
@media (max-width: 880px) { .howto { grid-template-columns: 1fr; } .howto__figure { position: static; } .howto__figure .lens-figure { aspect-ratio: 4 / 3; } }

.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0 2.5rem; }
.jobs li { padding: 1.1rem 0; border-top: 1px solid var(--grey-200); color: var(--ink-600); }
.jobs li b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; color: var(--navy-700); margin-bottom: .25rem; letter-spacing: .01em; }

.mnav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); border-top: 1px solid rgba(140, 161, 191, .22); }
.mnav li { border-bottom: 1px solid rgba(140, 161, 191, .22); }
.mnav a { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); align-items: center; gap: .75rem; padding: 1.1rem .5rem; text-decoration: none; color: #fff; transition: background .3s; }
.mnav a:hover, .mnav a:focus-visible { background: rgba(76, 194, 255, .08); }
.mnav b { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: .9; color: var(--steel); letter-spacing: -.02em; }
.mnav a:hover b, .mnav a[aria-current] b { color: var(--puls); }
.mnav a[aria-current] { color: var(--steel-300); }
.mnav span { font-size: .95rem; }

.mcta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(140, 161, 191, .22); }
.mcta p { color: var(--steel-300); margin: 0; max-width: 52ch; }
.mcta__title { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: .75rem; }
.mcta .hero__cta { animation: none; }
@media (max-width: 800px) { .mcta { grid-template-columns: 1fr; } }

/* <picture>-innpakning rundt bilder (WebP med JPG-fallback) */
.hero__media picture, .lens-figure picture, .about__figure > picture { display: block; width: 100%; height: 100%; }
.find picture { height: auto; }
.about__figure > picture img { width: 100%; height: 100%; object-fit: cover; }
.about__figure.no-img > picture, .hero__media.no-img picture { display: none; }
