/* Fishtech Hygena. Lyst, rent rom.
   Formsystem: alt man kan trykke på er pille. Flater og bilder har 6 px.
   Merkeblått kun som flate, strek og grafikk, aldri på tekst. */

:root {
  --paper: #f3f5f8;
  --white: #fcfdfd;
  --ink: #0e1b2c;
  --ink-soft: #46546a;
  --ink-faint: #7a8597;
  --line: #d9dfe7;
  --line-soft: #e6eaf0;
  --brand: #1d4c9a;
  --brand-hover: #173f82;
  --deep: #0f2550;
  --deep-2: #14306a;
  --on-deep: #eef2f8;
  --on-deep-soft: #a9b6cc;
  --r: 6px;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }
.eyebrow { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 18px; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); max-width: 18ch; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.section { padding-block: clamp(80px, 11vw, 150px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 99px; }

/* ---------- knapper ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; gap: 10px; height: var(--h); padding: 0 24px;
  border-radius: 99px; border: 1px solid transparent; text-decoration: none; font-weight: 500;
  font-size: .98rem; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { border-color: rgba(14, 27, 44, .18); background: rgba(252, 253, 253, .7); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-line-light { border-color: rgba(238, 242, 248, .35); color: var(--on-deep); }
.btn-line-light:hover { border-color: var(--on-deep); }

.link-u { text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link-u:hover { background-size: 100% 1.5px; }

/* ---------- navbar: flytende pille ---------- */
.nav-sentinel { position: absolute; top: 0; height: 80px; width: 1px; }
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - 24px)); height: 66px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(252, 253, 253, .78); border: 1px solid rgba(14, 27, 44, .08); border-radius: 99px;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: width .5s var(--ease), height .5s var(--ease), top .5s var(--ease), background .4s;
}
.nav.is-scrolled { width: min(1040px, calc(100% - 24px)); height: 58px; top: 10px; background: rgba(252, 253, 253, .92); }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 36px; width: auto; transition: height .5s var(--ease); }
.nav.is-scrolled .nav-logo img { height: 31px; }
.nav-track { display: flex; gap: 2px; padding: 4px; background: rgba(14, 27, 44, .045); border-radius: 99px; list-style: none; margin: 0; }
.nav-track a { display: block; padding: 8px 15px; border-radius: 99px; text-decoration: none; font-size: .92rem; color: var(--ink-soft); transition: background .25s, color .25s; }
.nav-track a:hover { color: var(--ink); background: rgba(252, 253, 253, .8); }
.nav-track a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(14, 27, 44, .08); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { --h: 44px; padding: 0 18px; font-size: .92rem; }
.nav-tel { font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); text-decoration: none; padding: 0 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 99px; border: 1px solid rgba(14, 27, 44, .12); background: var(--white); cursor: pointer; place-items: center; }
.nav-burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-burger span::before { top: -5px; } .nav-burger span::after { top: 5px; }
.nav-open .nav-burger span { background: transparent; }
.nav-open .nav-burger span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-burger span::after { transform: translateY(-5px) rotate(-45deg); }
.nav-sheet { display: none; }

@media (max-width: 1060px) { .nav-tel { display: none; } }
@media (max-width: 900px) {
  .nav-track { display: none; }
  .nav-burger { display: grid; }
  .nav-cta .btn { display: none; }
  .nav-sheet {
    display: block; position: fixed; z-index: 49; inset: 0; background: var(--paper);
    padding: 110px var(--gut) 40px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .nav-open .nav-sheet { opacity: 1; pointer-events: auto; }
  .nav-sheet ul { list-style: none; margin: 0 0 32px; padding: 0; }
  .nav-sheet li a { display: block; padding: 14px 0; font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
  .nav-sheet .btn { width: 100%; justify-content: center; }
  .nav-sheet p { margin-top: 20px; color: var(--ink-soft); }
}

/* ---------- hero (forside) ---------- */
.hero { position: relative; padding-top: 0; }
.hero-media { position: relative; min-height: min(100dvh, 940px); overflow: clip; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 60% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(243, 245, 248, .9) 0%, rgba(243, 245, 248, .62) 34%, rgba(243, 245, 248, 0) 58%),
              linear-gradient(180deg, rgba(243, 245, 248, .55) 0%, rgba(243, 245, 248, 0) 26%);
}
.hero-copy { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-bottom: 120px; }
.hero h1 { font-size: clamp(2.6rem, 4.9vw, 4.6rem); max-width: 16.5ch; letter-spacing: -.045em; line-height: 1.02; }
.hero .lead { margin-top: 24px; max-width: 40ch; color: #34425a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.facts { position: relative; z-index: 3; margin-top: -78px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fact { background: var(--white); padding: 24px 24px 22px; }
.fact b { display: block; font-size: 1.85rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact > span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }

/* ordmaske */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wm > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms); }
.is-in .wm > span { transform: none; }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.is-in .fade-up, .fade-up.is-in { opacity: 1; transform: none; }

/* ---------- kundelogoer ---------- */
.clients { padding-block: 72px 24px; }
.clients-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 30px; }
.clients-head p { color: var(--ink-soft); font-size: .95rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; align-items: center; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 38px; width: auto; opacity: .72; transition: opacity .3s; }
.marquee img.tall { height: 56px; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- løsningsindeks ---------- */
.index { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: start; margin-top: 56px; }
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.index-list a::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--brand); transition: width .6s var(--ease); }
.index-list a.is-active::before { width: 100%; }
.index-list h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); transition: transform .5s var(--ease); }
.index-list a.is-active h3 { transform: translateX(10px); }
.index-list p { grid-column: 1; color: var(--ink-soft); font-size: .97rem; max-width: 44ch; transition: transform .5s var(--ease); }
.index-list a.is-active p { transform: translateX(10px); }
.index-list .mono { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-faint); text-align: right; }
.index-figure { position: sticky; top: 110px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--line-soft); }
.index-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.index-figure img.is-active { opacity: 1; transform: none; }
.index-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; justify-content: space-between; color: #fff; font-family: var(--mono); font-size: .76rem; background: linear-gradient(0deg, rgba(14, 27, 44, .55), transparent); }

/* ---------- hulkilvelger (mørkt merkebånd) ---------- */
.band { background: var(--deep); color: var(--on-deep); }
.band .eyebrow { color: var(--on-deep-soft); }
.band .lead { color: var(--on-deep-soft); }
.picker { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 6vw, 80px); margin-top: 52px; align-items: start; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: rgba(238, 242, 248, .07); border: 1px solid rgba(238, 242, 248, .1); border-radius: 99px; }
.seg button { border: 0; background: transparent; color: var(--on-deep-soft); border-radius: 99px; padding: 11px 8px; cursor: pointer; font-size: .9rem; transition: background .3s var(--ease), color .3s; }
.seg button:hover { color: var(--on-deep); }
.seg button[aria-selected="true"] { background: var(--on-deep); color: var(--deep); }
.picker-info { margin-top: 34px; min-height: 380px; }
.picker-info h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 22ch; }
.picker-info > p { margin-top: 14px; color: var(--on-deep-soft); max-width: 48ch; }
.models { margin-top: 26px; display: grid; gap: 1px; background: rgba(238, 242, 248, .12); border-radius: var(--r); overflow: hidden; }
.model { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 13px 16px; background: var(--deep-2); }
button.model { border: 0; width: 100%; text-align: left; color: inherit; cursor: pointer; transition: background .25s; }
button.model:hover { background: #193672; }
button.model[aria-pressed="true"] { background: #1d3f86; }
button.model[aria-pressed="true"] b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: #3f7ae0; margin-right: 8px; vertical-align: 1px; }
button.model:disabled { cursor: default; }
button.model:disabled:hover { background: var(--deep-2); }
.model b { font-family: var(--mono); font-weight: 500; font-size: .86rem; }
.model span { color: var(--on-deep-soft); font-size: .9rem; }
.model i { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--on-deep-soft); }
.spec-row { display: grid; grid-template-columns: 110px 1fr; gap: 6px 18px; margin-top: 22px; font-size: .94rem; }
.spec-row dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-deep-soft); padding-top: 4px; }
.spec-row dd { margin: 0; }
.drawing { position: relative; background: #0b1d42; border: 1px solid rgba(238, 242, 248, .1); border-radius: var(--r); padding: 18px; }
.drawing svg { display: block; width: 100%; height: auto; }
.drawing-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--on-deep-soft); letter-spacing: .06em; text-transform: uppercase; }
.drawing-foot { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 8px; font-family: var(--mono); font-size: .72rem; color: var(--on-deep-soft); }
.drawing-foot i { display: inline-block; width: 14px; height: 8px; margin-right: 7px; vertical-align: middle; border-radius: 1px; }

/* ---------- egenskaper ---------- */
.props { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.props-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.props-media img { width: 100%; height: 100%; object-fit: cover; }
.props-groups { display: grid; gap: 34px; margin-top: 40px; }
.props-group { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.props-group .mono { color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding-top: 5px; }
.props-group ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.props-group li { font-weight: 500; }
.props-group li small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; margin-top: 2px; }

/* ---------- prosjekt / arbeidsordre ---------- */
.case { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 52px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pair figure { margin: 0; }
.pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.pair figcaption { margin-top: 10px; font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.pair-switch { justify-self: start; display: inline-flex; gap: 4px; padding: 4px; background: rgba(14, 27, 44, .05); border-radius: 99px; margin-bottom: 16px; }
.pair-switch button { border: 0; background: transparent; padding: 8px 14px; border-radius: 99px; cursor: pointer; font-size: .86rem; color: var(--ink-soft); }
.pair-switch button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(14, 27, 44, .08); }
.pair[hidden] { display: none; }
.order { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.order-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.order dl { margin: 0; }
.order-field { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.order-field:last-child { border-bottom: 0; }
.order dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); padding-top: 3px; }
.order dd { margin: 0; font-size: .97rem; }
.order dd b { font-weight: 600; }
.order-nums { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-soft); }
.order-nums div { padding: 20px 22px; }
.order-nums div + div { border-left: 1px solid var(--line-soft); }
.order-nums b { display: block; font-size: 2.2rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.order-nums div > span { font-size: .88rem; color: var(--ink-soft); }

/* ---------- sitater ---------- */
.quotes { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); margin-top: 52px; align-items: end; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.22; }
.quote.small blockquote { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.38; letter-spacing: -.015em; }
.quote figcaption { margin-top: 22px; display: flex; gap: 14px; align-items: center; font-size: .94rem; }
.quote figcaption::before { content: ""; width: 28px; height: 1.5px; background: var(--brand); flex: none; }
.quote figcaption span { color: var(--ink-soft); }
.quote-note { margin-top: 10px; font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); padding-left: 42px; }

/* ---------- bruksområder (faner) ---------- */
.areas { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); margin-top: 52px; align-items: stretch; }
.area-tabs { display: grid; gap: 8px; align-content: start; }
.area-tab { text-align: left; border: 1px solid var(--line); background: transparent; border-radius: var(--r); padding: 20px 22px; cursor: pointer; transition: background .3s, border-color .3s; }
.area-tab b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.area-tab span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: .92rem; }
.area-tab[aria-selected="true"] { background: var(--white); border-color: var(--ink); }
.area-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-height: 460px; }
.area-panel[hidden] { display: none; }
.area-panel img { width: 100%; height: 100%; object-fit: cover; }
.area-body { padding: 30px 28px; display: flex; flex-direction: column; }
.area-body h3 { font-size: 1.5rem; }
.area-body > p { margin-top: 10px; color: var(--ink-soft); font-size: .96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; padding: 0; }
.chips li { border: 1px solid var(--line); border-radius: 99px; padding: 6px 13px; font-size: .88rem; }
.area-body .link-u { margin-top: auto; padding-top: 24px; align-self: flex-start; font-weight: 500; }

/* ---------- steg ---------- */
.steps-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps-media { position: sticky; top: 110px; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 6; }
.steps-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.step { position: relative; padding: 28px 0 28px 64px; border-top: 1px solid var(--line); opacity: .38; transition: opacity .6s var(--ease); }
.step.is-lit { opacity: 1; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 26px; width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: .82rem; transition: background .5s var(--ease), border-color .5s, color .5s; }
.step.is-lit::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.step h3 { font-size: 1.35rem; }
.step p { margin-top: 8px; color: var(--ink-soft); max-width: 46ch; }

/* ---------- CTA med portrett ---------- */
.cta { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; }
.cta-body { padding: clamp(32px, 5vw, 64px); }
.cta-body .h2 { max-width: 16ch; }
.cta-body .lead { margin-top: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-person { position: relative; background: var(--line-soft); min-height: 340px; }
.cta-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cta-person figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--white); border-radius: var(--r); padding: 12px 16px; font-size: .9rem; }
.cta-person figcaption b { display: block; }
.cta-person figcaption span { color: var(--ink-soft); }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: var(--on-deep); padding: 84px 0 40px; margin-top: clamp(80px, 11vw, 150px); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 54px; width: auto; }
.footer-top p { color: var(--on-deep-soft); margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.footer h4 { font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-deep-soft); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(238, 242, 248, .14); font-size: .86rem; color: var(--on-deep-soft); }

/* ---------- undersider ---------- */
.page-hero { padding: 150px 0 0; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); max-width: 15ch; letter-spacing: -.045em; }
.page-hero .lead { margin-top: 22px; }
.page-hero-img { margin-top: 56px; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-family: var(--mono); font-size: .76rem; color: var(--ink-faint); margin-bottom: 22px; letter-spacing: .04em; }
.crumbs a { text-decoration: none; }

.subnav { position: sticky; top: 86px; z-index: 10; margin-top: 48px; }
.subnav ul { display: flex; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 4px; background: rgba(252, 253, 253, .9); border: 1px solid var(--line); border-radius: 99px; width: max-content; max-width: 100%; backdrop-filter: blur(10px); }
.subnav a { display: block; padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: .88rem; color: var(--ink-soft); }
.subnav a.is-active { background: var(--ink); color: var(--white); }

.prod { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); padding-block: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.prod:first-of-type { border-top: 0; }
.prod h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 16ch; }
.prod .lead { margin-top: 16px; }
.prod-media { display: grid; gap: 12px; align-content: start; }
.prod-media .main { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.prod-media .main img { width: 100%; height: 100%; object-fit: cover; }
.prod-media .cut { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prod-media .cut figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.prod-media .cut img { aspect-ratio: 1; object-fit: contain; width: 100%; mix-blend-mode: multiply; }
.prod-media .cut figcaption { font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); margin-top: 6px; }
.spec { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.spec > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 18px; }
.spec > div + div { border-top: 1px solid var(--line-soft); }
.spec dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); padding-top: 3px; }
.spec dd { margin: 0; font-size: .95rem; }
.prod .btn { margin-top: 26px; }
.table { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: .92rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-faint); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 14px; vertical-align: top; }
.table tbody tr + tr td { border-top: 1px solid var(--line-soft); }
.table td:first-child { font-family: var(--mono); font-size: .84rem; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.suppliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 40px; }
.suppliers > div { background: var(--white); padding: 26px; min-height: 170px; display: flex; flex-direction: column; gap: 14px; }
.suppliers img { height: 44px; width: auto; object-fit: contain; align-self: flex-start; }
.suppliers p { color: var(--ink-soft); font-size: .93rem; }

/* prosjekter */
.proj { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.proj:nth-of-type(even) { grid-template-columns: .9fr 1.1fr; }
.proj:nth-of-type(even) .proj-media { order: 2; }
.proj h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.proj .lead { margin-top: 14px; }
.proj .order { margin-top: 26px; }
.proj-media { display: grid; gap: 12px; align-content: start; }
.proj-media img { border-radius: var(--r); width: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; margin-top: 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.gallery img:first-child { grid-row: span 2; }
.gallery-caption { margin-top: 14px; color: var(--ink-soft); max-width: 70ch; }

/* om oss */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { border-radius: var(--r); width: 100%; object-fit: cover; }
.split .lead + .lead { margin-top: 14px; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.timeline li { padding: 22px 20px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 99px; background: var(--brand); }
.timeline b { font-size: 1.6rem; font-weight: 600; letter-spacing: -.04em; display: block; }
.timeline span { color: var(--ink-soft); font-size: .93rem; display: block; margin-top: 6px; }
.person { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.person-text { grid-template-columns: 1fr; padding: 28px 30px; max-width: 640px; }
.person img { border-radius: var(--r); aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; width: 100%; }
.person h3 { font-size: 1.5rem; }
.person p { color: var(--ink-soft); margin-top: 8px; }
.person .contact-lines { margin-top: 16px; display: grid; gap: 4px; }
.person .contact-lines a { font-family: var(--mono); font-size: .9rem; text-decoration: none; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.form h2 { font-size: 1.7rem; }
.form > p { color: var(--ink-soft); margin-top: 8px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 500; padding: 0; }
.field input, .field textarea, .field select { font: inherit; font-size: .98rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field small { color: var(--ink-faint); font-size: .82rem; }
.field .err { color: #a3261c; font-size: .82rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #a3261c; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font-size: .9rem; font-weight: 400; transition: background .2s, border-color .2s, color .2s; }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form .btn { margin-top: 26px; }
.form-ok { display: none; padding: 26px 0 4px; }
.form-ok h3 { font-size: 1.5rem; }
.form-ok p { margin-top: 8px; color: var(--ink-soft); }
.form.is-sent .form-ok { display: block; }
.form.is-sent form { display: none; }
.contact-side { display: grid; gap: 14px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.contact-card h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.contact-card p, .contact-card a { color: var(--ink-soft); }
.contact-card .big { display: block; margin-top: 8px; font-size: 1.6rem; font-weight: 600; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.5); }

/* ---------- responsivt ---------- */
@media (max-width: 1100px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .picker { grid-template-columns: 1fr; }
  .picker-info { min-height: 0; }
  .picker > div:first-child { display: contents; }
  .picker .seg { order: 1; }
  .picker .drawing { order: 2; }
  .picker-info { order: 3; margin-top: 0; }
  .areas { grid-template-columns: 1fr; }
  .area-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .index, .props, .case, .quotes, .steps-wrap, .cta, .prod, .proj, .proj:nth-of-type(even), .split, .contact, .footer-top { grid-template-columns: 1fr; }
  .proj:nth-of-type(even) .proj-media { order: 0; }
  .index-figure { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; }
  .steps-media { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .props-media { aspect-ratio: 4 / 3; }
  .area-panel { grid-template-columns: 1fr; }
  .area-panel img { aspect-ratio: 16 / 9; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .suppliers { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .page-hero-img { aspect-ratio: 16 / 9; }
  .footer-top { gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-media { min-height: 760px; }
  .hero-media img { object-position: 70% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(243, 245, 248, .94) 0%, rgba(243, 245, 248, .78) 46%, rgba(243, 245, 248, .1) 75%); }
  .hero-copy { justify-content: flex-start; padding-top: 120px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 18px 16px; }
  .fact b { font-size: 1.45rem; }
  .seg { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .model { grid-template-columns: 70px 1fr; }
  .model i { grid-column: 2; }
  .spec-row, .order-field, .spec > div { grid-template-columns: 1fr; gap: 4px; }
  .props-group { grid-template-columns: 1fr; gap: 10px; }
  .props-group ul { grid-template-columns: 1fr; }
  .area-tabs { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .clients-head { flex-direction: column; gap: 6px; }
  .marquee-track { gap: 48px; }
  .marquee img { height: 30px; } .marquee img.tall { height: 44px; }
  .pair { grid-template-columns: 1fr 1fr; gap: 8px; }
  .subnav { top: 80px; }
  .subnav ul { flex-wrap: nowrap; overflow-x: auto; width: 100%; border-radius: 22px; scrollbar-width: none; }
  .subnav a { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .wm > span, .fade-up { transform: none; opacity: 1; }
}
/* Debug-hook: ?vis viser alt uten animasjon (for skjermbilder i headless). */
.vis .wm > span, .vis .fade-up { transform: none !important; opacity: 1 !important; transition: none !important; }
.vis .step { opacity: 1; }
.vis .marquee-track { animation: none; }
