/* Troms Portservice – demo by Kodelig
   Visual direction: industrial signage. Logo blue on graphite and steel,
   sectional-door panel lines as recurring motif, technical dimension lines. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}

:root {
  --blue: #1f50a6;
  --blue-600: #1a4592;
  --blue-800: #12306a;
  --blue-50: #eaf0fa;
  --graphite: #171b21;
  --graphite-2: #222831;
  --steel-900: #2c333d;
  --steel-600: #59626e;
  --steel-400: #8a929c;
  --steel-200: #d6dae0;
  --steel-100: #e9ecf0;
  --steel-50: #f4f5f7;
  --paper: #ffffff;
  --signal: #f5b400;
  --text: #1b1f26;
  --muted: #4f5864;
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: "Archivo", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6;
  color: var(--text); background: var(--paper); font-stretch: 100%;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-800); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--signal); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .5em; color: var(--graphite); font-weight: 800; font-stretch: 78%; letter-spacing: -.005em; word-spacing: .08em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 5.25rem); font-stretch: 72%; letter-spacing: -.01em; word-spacing: .1em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-stretch: 85%; }
h4 { font-size: 1.1rem; font-stretch: 90%; }
ul, ol { padding-left: 1.2em; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--graphite); color: #fff; padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--steel { background: var(--steel-50); }
.section--dark { background: var(--graphite); color: #c9ced6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--blue { background: var(--blue); color: #e6edf9; }
.section--blue h2, .section--blue h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; transform: scaleX(var(--eb, 1)); transform-origin: left; }
.section--dark .eyebrow, .section--blue .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #fff; }
.section--dark .eyebrow::before, .hero .eyebrow::before, .page-hero .eyebrow::before { background: var(--signal); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40em; }
.section--dark .lead { color: #c3c9d2; }
.measure { max-width: 42em; }
.section-head { display: grid; gap: 1rem 4rem; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; } .section-head--split .lead { margin-bottom: .4rem; } }
.section-head h2 { margin: 0; max-width: 16em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.4rem; border: 2px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 700; font-size: 1rem; font-stretch: 92%;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --bg: var(--blue-800); --bd: var(--blue-800); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--graphite); --bd: var(--graphite); }
.btn--ghost:hover { --bg: var(--graphite); --bd: var(--graphite); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--graphite); --bd: #fff; }
.btn--light:hover { --bg: var(--signal); --bd: var(--signal); color: var(--graphite); }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.6); }
.btn--outline-light:hover { --bg: #fff; --bd: #fff; color: var(--graphite); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-stretch: 92%; text-decoration: none; color: var(--blue);
}
.arrow-link::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.section--dark .arrow-link { color: #fff; }

/* ---------- Kodelig demo banner (fixed universal colors – do not restyle) ---------- */
.demo-banner {
  background: #0b1a28;
  border-bottom: 1px solid rgba(232,168,85,0.35);
  color: #8d999c; font-size: 0.78rem; text-align: center; padding: 10px 16px; line-height: 1.45;
}
.demo-banner b { color: #f3f5f0; }
.demo-banner a { color: #e8a855; text-decoration: underline; }
.demo-banner .banner-logo { display: inline-flex; align-items: center; gap: 5px; color: #e8a855; font-weight: 700; text-decoration: none; vertical-align: -2px; }
.demo-banner .banner-logo svg { width: 12px; height: 12px; }
.credit {
  display: inline-flex; align-items: center; gap: 6px;
  color: #8d999c; font-weight: 600; font-size: 0.85rem; text-decoration: none;
}
.credit:hover { opacity: .8; color: #8d999c; }
.credit-mark { width: 14px; height: 14px; color: #e8a855; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--steel-200);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--blue); flex: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-word { display: flex; flex-direction: column; font-style: italic; font-weight: 800; font-stretch: 112%; line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.brand-word span:first-child { font-size: 1.02rem; }
.brand-word span:last-child { font-size: 1.02rem; }
.brand:hover { color: var(--blue-800); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; display: block; padding: .55rem .7rem; color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .96rem; font-stretch: 92%;
}
.nav-list a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-stretch: 90%; color: var(--graphite); text-decoration: none; white-space: nowrap; padding: .5rem .25rem; }
.nav-phone svg { width: 18px; height: 18px; color: var(--blue); }
.nav-actions .btn { min-height: 44px; padding: .55rem 1.05rem; font-size: .95rem; }
.menu-toggle { display: none; }

@media (max-width: 1120px) {
  .nav-phone .nav-phone-num { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .brand svg { width: 36px; height: 36px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; min-height: 44px; padding: .5rem .8rem;
    border: 1.5px solid var(--steel-200); border-radius: var(--radius); background: #fff; color: var(--graphite);
    font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
  }
  .menu-toggle .bars { position: relative; width: 18px; height: 12px; }
  .menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
  .menu-toggle .bars span:nth-child(1) { top: 0; } .menu-toggle .bars span:nth-child(2) { top: 5px; } .menu-toggle .bars span:nth-child(3) { top: 10px; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99; margin: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem var(--gutter) 2rem; overflow-y: auto; border-top: 1px solid var(--steel-200);
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 1rem 0; font-size: 1.35rem; font-stretch: 80%; font-weight: 700; border-bottom: 1px solid var(--steel-100); }
  .nav-list a::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .nav-actions .btn { min-height: 52px; }
  .nav-phone { justify-content: center; border: 2px solid var(--graphite); border-radius: var(--radius); min-height: 52px; }
  .nav-phone .nav-phone-num { display: inline; }
  body.menu-open { overflow: hidden; }
}
/* No-JS: keep the menu reachable */
.no-js .menu-toggle { display: none; }
@media (max-width: 980px) {
  .no-js .nav { position: static; display: flex; padding: 0 0 1rem; border: 0; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: .8rem; }
  .no-js .site-header { position: static; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--graphite); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.78) 38%, rgba(14,17,22,.25) 70%, rgba(14,17,22,.1) 100%),
    linear-gradient(0deg, rgba(14,17,22,.75) 0%, rgba(14,17,22,0) 40%);
}
.hero-inner { min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(7rem, 12vw, 9rem); }
.hero h1 { color: #fff; max-width: 11.5em; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #9fbdf0; }
.hero .lead { color: #d5dae2; max-width: 34em; margin-bottom: 2rem; }
.hero-facts {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.18); background: rgba(14,17,22,.55); backdrop-filter: blur(6px);
}
.hero-facts ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); max-width: var(--wrap); }
.hero-facts li { padding: 1.15rem 1.25rem 1.15rem 0; font-size: .9rem; color: #c3c9d2; line-height: 1.35; }
.hero-facts li + li { padding-left: 1.25rem; border-left: 1px solid rgba(255,255,255,.14); }
.hero-facts strong { display: block; color: #fff; font-size: 1.25rem; font-stretch: 80%; font-weight: 800; letter-spacing: .01em; }
@media (max-width: 860px) {
  .hero::before { background: linear-gradient(0deg, rgba(14,17,22,.95) 0%, rgba(14,17,22,.8) 55%, rgba(14,17,22,.45) 100%); }
  .hero-inner { min-height: 0; padding-bottom: 3rem; padding-top: 5.5rem; }
  .hero-facts { position: relative; background: rgba(14,17,22,.92); }
  .hero-facts ul { grid-template-columns: 1fr 1fr; padding: 0 var(--gutter); }
  .hero-facts li, .hero-facts li + li { padding: 1rem 0; border-left: 0; }
  .hero-facts li:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.14); }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* Sectional door over the hero (decorative). Without motion.js it rolls up
   once in CSS; motion.js takes over and folds the panels into the ceiling
   track one by one. Panel 3 has a window row you can see the yard through. */
.door { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; grid-template-rows: repeat(6, 1fr);
  perspective: 1100px; perspective-origin: 50% 0; animation: door-up 1.35s var(--ease) .25s forwards; }
.door-panel {
  position: relative; display: block; transform-origin: 50% 0; backface-visibility: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07) 0, rgba(255,255,255,0) 3px),
    repeating-linear-gradient(180deg, rgba(255,255,255,.022) 0 2px, rgba(0,0,0,0) 2px 9px),
    linear-gradient(180deg, #2d3644 0%, #232a35 62%, #1b2029 100%);
  border-bottom: 2px solid #0f1318;
}
.door-panel::after { /* shade as the panel turns away over the top */
  content: ""; position: absolute; inset: 0; background: #07090c; opacity: var(--shade, 0);
}
.door-panel--windows {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 100'%3E%3Cpath fill-rule='evenodd' d='M0 0h230v100H0zM44 31h142v38H44z'/%3E%3Cpath fill-opacity='.58' d='M44 31h142v38H44z'/%3E%3Cpath fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='3' d='M44 31h142v38H44zM91 31v38M139 31v38'/%3E%3C/svg%3E") center / auto 100% space;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 100'%3E%3Cpath fill-rule='evenodd' d='M0 0h230v100H0zM44 31h142v38H44z'/%3E%3Cpath fill-opacity='.58' d='M44 31h142v38H44z'/%3E%3Cpath fill='none' stroke='%23000' stroke-opacity='.5' stroke-width='3' d='M44 31h142v38H44zM91 31v38M139 31v38'/%3E%3C/svg%3E") center / auto 100% space;
}
.door-panel--bottom { border-bottom: 0; box-shadow: inset 0 -7px 0 #0b0e12; } /* rubber seal */
.door-edge { /* daylight leaking under the closed door, then riding its bottom edge */
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(214,228,255,0), rgba(232,240,255,.95) 18%, #fff 50%, rgba(232,240,255,.95) 82%, rgba(214,228,255,0));
  box-shadow: 0 0 18px 4px rgba(190,212,255,.45), 0 0 60px 10px rgba(160,190,255,.2);
}
.door-wash { /* cool dusk light spilling onto the floor as the door lifts */
  position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 50% 100%, rgba(196,214,255,.34), rgba(196,214,255,.08) 45%, rgba(196,214,255,0) 70%);
}
@keyframes door-up { to { transform: translateY(-101%); visibility: hidden; } }
.hero-inner > * { animation: rise .8s var(--ease) both; }
.hero-inner > *:nth-child(1) { animation-delay: .9s; }
.hero-inner > *:nth-child(2) { animation-delay: 1s; }
.hero-inner > *:nth-child(3) { animation-delay: 1.1s; }
.hero-inner > *:nth-child(4) { animation-delay: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .door, .door-wash { display: none; }
  .hero-inner > * { animation: none; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; background: var(--graphite); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,17,22,.93) 0%, rgba(14,17,22,.8) 45%, rgba(14,17,22,.35) 100%); }
.page-hero .wrap { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4.4rem); max-width: 12em; }
.page-hero .lead { color: #d0d6df; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero--plain::before { background: none; }
.page-hero--plain { background: var(--graphite) repeating-linear-gradient(180deg, transparent 0 63px, rgba(255,255,255,.045) 63px 65px); }
@media (max-width: 760px) { .page-hero::before { background: linear-gradient(0deg, rgba(14,17,22,.94) 0%, rgba(14,17,22,.78) 100%); } }
.breadcrumbs { font-size: .85rem; margin-bottom: 1.5rem; color: #aeb5bf; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #6d7580; }
.breadcrumbs a { color: #dfe4ea; }

/* ---------- Paths (home) ---------- */
.paths { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.path { position: relative; grid-column: span 6; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.path:hover { border-color: var(--blue); box-shadow: 0 18px 40px -24px rgba(18,48,106,.45); color: inherit; }
.path-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-100); }
.path-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.path:hover .path-media img { transform: scale(1.035); }
.path-body { padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.path-kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--steel-600); margin-bottom: .6rem; }
.path h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-stretch: 78%; margin-bottom: .45em; }
.path p { color: var(--muted); }
.path ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.path li { font-size: .82rem; font-weight: 600; padding: .3rem .6rem; border-radius: 2px; background: var(--steel-50); border: 1px solid var(--steel-200); color: var(--steel-900); }
.path .arrow-link { margin-top: auto; }
.path--wide { grid-column: span 12; display: grid; grid-template-columns: 1.1fr 1fr; }
.path--wide .path-media { aspect-ratio: auto; min-height: 280px; }
@media (max-width: 860px) {
  .path, .path--wide { grid-column: span 12; }
  .path--wide { display: flex; }
  .path--wide .path-media { aspect-ratio: 16/10; min-height: 0; }
}

/* ---------- Split / media blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr 1fr; }
.split--top { align-items: start; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-media figcaption, figure figcaption { font-size: .82rem; color: var(--steel-600); margin-top: .7rem; }
.section--dark figcaption { color: #9aa2ad; }
@media (max-width: 860px) { .split, .split--wide-media { grid-template-columns: 1fr; } .split--reverse-mobile .split-media { order: -1; } }
figure { margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 2px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/100% no-repeat; }
.section--dark .check-list li::before { background-color: var(--signal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' stroke='%23171b21' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }

/* ---------- Service band (home) ---------- */
.service-band { position: relative; overflow: hidden; }
.service-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.fault-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.fault-list li { position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.15rem 0; }
.fault-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.14); transform: scaleX(var(--ln, 1)); transform-origin: left; }
.fault-list .num { font-weight: 800; font-stretch: 75%; font-size: 1.05rem; color: var(--signal); letter-spacing: .04em; padding-top: .1rem; }
.fault-list h3 { font-size: 1.15rem; margin: 0 0 .2rem; font-stretch: 90%; }
.fault-list p { margin: 0; font-size: .97rem; color: #b6bdc7; }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-auto-rows: clamp(120px, 15vw, 190px); gap: .75rem; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--steel-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2rem .9rem .7rem; color: #fff; font-size: .82rem; font-weight: 600; background: linear-gradient(0deg, rgba(10,12,16,.8), transparent); }
.g-a { grid-column: span 5; grid-row: span 2; } .g-b { grid-column: span 4; grid-row: span 2; } .g-c { grid-column: span 3; grid-row: span 2; }
.g-d { grid-column: span 3; grid-row: span 2; } .g-e { grid-column: span 5; grid-row: span 2; } .g-f { grid-column: span 4; grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery figure:first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 2px solid var(--graphite); margin-top: 2rem; }
.stat { padding: 1.2rem 1rem 0 0; }
.stat + .stat { padding-left: 1rem; border-left: 1px solid var(--steel-200); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-stretch: 72%; font-weight: 800; line-height: 1; color: var(--graphite); margin-bottom: .35rem; }
.stat span { font-size: .9rem; color: var(--muted); line-height: 1.35; display: block; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--steel-200); padding-top: 1rem; margin-top: 1rem; } }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.partner { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem; border: 1px solid var(--steel-200); border-radius: var(--radius); background: #fff; }
.partner-logo { height: 54px; display: flex; align-items: center; }
.partner-logo img { max-height: 54px; width: auto; }
.partner-logo--dark { background: var(--graphite); align-self: flex-start; padding: .5rem .9rem; border-radius: var(--radius); height: auto; }
.partner p { margin: 0; font-size: .95rem; color: var(--muted); }
.partner h3 { font-size: 1.15rem; margin: 0; font-stretch: 90%; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Contact strip ---------- */
.contact-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-strip h2 { color: #fff; }
.contact-cards { display: grid; gap: .75rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); color: #fff; text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease); }
a.contact-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.contact-card svg { width: 22px; height: 22px; flex: none; color: #9fbdf0; }
.contact-card small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #aeb5bf; font-weight: 600; }
.contact-card span { font-weight: 700; font-size: 1.12rem; font-stretch: 90%; }
@media (max-width: 860px) { .contact-strip { grid-template-columns: 1fr; } }

/* ---------- Product catalogue (industri) ---------- */
.cat-nav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--steel-200); }
.cat-nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; white-space: nowrap; padding: 1rem .8rem; font-size: .9rem; font-weight: 600; color: var(--steel-900); text-decoration: none; border-bottom: 2px solid transparent; }
.cat-nav a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.products { display: grid; gap: 0; }
.product { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 5vw, 4.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--steel-200); align-items: start; scroll-margin-top: calc(var(--header-h) + 70px); }
.product:first-child { border-top: 0; padding-top: 0; }
.product-media { position: relative; }
.product-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--steel-100); }
.spec-panel { aspect-ratio: 4/3; border-radius: var(--radius); background: var(--graphite) repeating-linear-gradient(180deg, transparent 0 46px, rgba(255,255,255,.06) 46px 48px); color: #fff; padding: clamp(1.25rem,3vw,2rem); display: flex; flex-direction: column; justify-content: flex-end; }
.spec-panel ul { list-style: none; margin: 0; padding: 0; }
.spec-panel li { font-weight: 800; font-stretch: 75%; font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.25; border-top: 1px solid rgba(255,255,255,.15); padding: .35rem 0; }
.spec-panel li::before { content: ""; display: inline-block; width: .5em; height: .5em; background: var(--signal); margin-right: .6em; vertical-align: .1em; }
.product-media img.contain { object-fit: contain; padding: 1.5rem; background: var(--steel-50); }
.product-index { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: .7rem; display: block; }
.product h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.product p { color: var(--muted); }
.product .note { border-left: 3px solid var(--signal); padding: .6rem 0 .6rem 1rem; background: var(--steel-50); color: var(--text); font-size: .97rem; }
.tags { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .82rem; font-weight: 600; padding: .3rem .6rem; border: 1px solid var(--steel-200); border-radius: 2px; color: var(--steel-900); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }

/* ---------- Garage door types ---------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.type { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden; }
.type img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.type-body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.type .type-doc { margin-top: auto; padding-top: 1rem; font-size: .92rem; }
.type--feature .type-doc { margin-top: 1.2rem; padding-top: 0; }
.type h3 { font-size: 1.35rem; margin-bottom: .35em; }
.type p { margin: 0; color: var(--muted); font-size: .97rem; }
.type--feature { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; }
.type--feature img { height: 100%; aspect-ratio: auto; min-height: 300px; }
.type--feature .type-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.type--feature h3 { font-size: 1.9rem; }
@media (max-width: 980px) { .types { grid-template-columns: 1fr 1fr; } .type--feature { grid-column: span 2; } }
@media (max-width: 640px) { .types { grid-template-columns: 1fr; } .type--feature { grid-column: span 1; display: flex; flex-direction: column; } .type--feature img { min-height: 0; aspect-ratio: 3/2; } }

/* Stocked doors with dimension lines */
.stock { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
@media (min-width: 1180px) { .stock { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.swatch-stage { aspect-ratio: 5000 / 2600; display: flex; align-items: flex-end; margin-bottom: 2.2rem; border-bottom: 2px solid var(--graphite); padding-right: 2.1rem; }
.stock-item { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; }
.swatch { position: relative; width: calc(var(--s) * 100%); }
.swatch img { width: 100%; aspect-ratio: var(--ar, 2500/2125); object-fit: cover; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.05); background: var(--steel-100); }
.dim { position: absolute; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--steel-600); font-variant-numeric: tabular-nums; }
.dim--w { left: 0; right: 0; bottom: -1.95rem; text-align: center; border-top: 1px solid var(--steel-400); padding-top: .2rem; }
.dim--w::before, .dim--w::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: var(--steel-400); }
.dim--w::before { left: 0; } .dim--w::after { right: 0; }
.dim--h { top: 0; bottom: 0; right: -.8rem; width: 1px; background: var(--steel-400); }
.dim--h span { position: absolute; top: 50%; left: .35rem; transform: translateY(-50%) rotate(90deg); transform-origin: center; white-space: nowrap; }
.dim--h::before, .dim--h::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: var(--steel-400); }
.dim--h::before { top: 0; } .dim--h::after { bottom: 0; }
.stock-item h3 { font-size: 1.15rem; margin: 0 0 .3rem; font-stretch: 88%; }
.stock-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.spec { list-style: none; padding: 0; margin: .9rem 0 0; font-size: .88rem; }
.spec li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-top: 1px dashed var(--steel-200); }
.spec li span:first-child { color: var(--steel-600); }
.spec li span:last-child { font-weight: 600; text-align: right; white-space: nowrap; }

/* ---------- Accessories ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.acc { display: flex; flex-direction: column; border: 1px solid var(--steel-200); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-img { aspect-ratio: 1 / 1; background: var(--steel-50); display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.acc-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.acc-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--steel-100); }
.acc h3 { font-size: 1.05rem; margin: 0 0 .1rem; font-stretch: 90%; line-height: 1.2; }
.acc .sku { font-size: .78rem; color: var(--steel-600); letter-spacing: .04em; font-weight: 600; }
.acc p { font-size: .9rem; color: var(--muted); margin: .5rem 0 .8rem; }
.price { margin-top: auto; font-weight: 800; font-size: 1.25rem; font-stretch: 80%; color: var(--graphite); font-variant-numeric: tabular-nums; }

/* ---------- Service page ---------- */
.package { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--graphite); border-radius: var(--radius); overflow: hidden; background: #fff; }
.package-main { padding: clamp(1.5rem, 4vw, 2.75rem); }
.package-side { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--graphite); color: #c9ced6; display: flex; flex-direction: column; }
.package-side h3 { color: #fff; }
.package-price { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 800; font-stretch: 70%; line-height: 1; color: #fff; margin: .3rem 0 .4rem; font-variant-numeric: tabular-nums; }
.package-price small { font-size: 1rem; font-stretch: 100%; font-weight: 600; color: #aeb5bf; margin-left: .3rem; }
.package-side .btn { margin-top: auto; align-self: flex-start; }
.package-side ul { padding-left: 1.1em; margin: 0 0 1.75rem; font-size: .95rem; }
@media (max-width: 860px) { .package { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.benefit { padding: 1.75rem 1.5rem; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.benefit h3 { font-size: 1.3rem; margin-bottom: .4em; }
.benefit p { margin: 0; font-size: .97rem; color: #b6bdc7; }
.benefit .benefit-link { margin-top: .7rem; font-size: .92rem; }
.benefit a { color: #fff; text-decoration-color: var(--signal); }
.benefit a:hover { color: var(--signal); }
.benefit svg { width: 30px; height: 30px; color: var(--signal); margin-bottom: 1rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1.5rem 1.25rem; }
.member figure { margin: 0; }
.member .photo { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--steel-100); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .photo--none { display: flex; align-items: flex-end; justify-content: flex-start; padding: 1.1rem; color: var(--blue);
  background: var(--steel-50) repeating-linear-gradient(180deg, transparent 0 46px, var(--steel-200) 46px 47px); font-size: 3rem; font-weight: 800; font-stretch: 70%; }
.member h3 { font-size: 1.12rem; margin: .85rem 0 .1rem; font-stretch: 90%; }
.member p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.member a { font-size: .9rem; word-break: break-all; }

.depts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.dept { border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 1.75rem; background: #fff; }
.dept h3 { margin-bottom: .2em; }
.dept .dept-kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.dept p { color: var(--muted); margin: .6rem 0 0; }
@media (max-width: 760px) { .depts { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--graphite); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; background: var(--blue); }
.timeline b { display: block; font-stretch: 80%; font-size: 1.2rem; }
.timeline span { color: var(--muted); font-size: .97rem; }

/* ---------- Contact page / form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.info-block { border-top: 2px solid var(--graphite); padding-top: 1.2rem; margin-bottom: 2rem; }
.info-block h2 { font-size: 1.4rem; font-stretch: 85%; }
.info-block dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; }
.info-block dt { color: var(--steel-600); font-size: .92rem; }
.info-block dd { margin: 0; font-weight: 600; }
.info-block p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form { background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); }
.form fieldset { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.form legend { font-weight: 800; font-stretch: 85%; font-size: 1.3rem; color: var(--graphite); padding: 0; margin-bottom: 1rem; display: flex; gap: .7rem; align-items: baseline; }
.form legend .step { font-size: .78rem; letter-spacing: .14em; color: var(--blue); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .93rem; }
.field .hint { font-size: .82rem; color: var(--steel-600); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid #a3abb6; border-radius: var(--radius); padding: .72rem .85rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-600); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,80,166,.22); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: .85rem; font-weight: 600; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1.5px solid #a3abb6; border-radius: var(--radius); font-weight: 600; font-size: .95rem; transition: all .15s; }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice input:hover + span { border-color: var(--steel-600); }
.measure-wrap { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.measure-wrap .fields { grid-template-columns: repeat(4, minmax(0,1fr)); align-items: end; }
.measure-fig { max-width: 560px; }
.measure-fig { background: var(--steel-50); border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 1rem; }
.measure-fig svg { width: 100%; height: auto; display: block; }
.measure-fig figcaption { margin-top: .5rem; }
.input-unit { position: relative; }
.input-unit input { padding-right: 2.8rem; }
.input-unit::after { content: "mm"; position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); color: var(--steel-600); font-size: .85rem; pointer-events: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--steel-200); }
.form-foot p { margin: 0; font-size: .88rem; color: var(--muted); flex: 1 1 260px; }
.form-status { margin-top: 1rem; padding: 1rem 1.1rem; border-left: 3px solid var(--blue); background: var(--blue-50); font-size: .95rem; }
.form-status[hidden] { display: none; }
@media (max-width: 760px) { .measure-wrap .fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .measure-wrap .fields { grid-template-columns: 1fr 1fr; } }

/* ---------- Docs / downloads ---------- */
.docs { display: grid; gap: .75rem; }
.doc { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--steel-200); border-radius: var(--radius); text-decoration: none; color: var(--text); background: #fff; transition: border-color .2s; }
.doc:hover { border-color: var(--blue); color: var(--text); }
.doc svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
.doc b { display: block; font-stretch: 90%; }
.doc small { color: var(--steel-600); }

/* ---------- Prose (personvern) ---------- */
.prose { max-width: 44em; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; font-stretch: 85%; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #e6edf9; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 58px, rgba(255,255,255,.07) 58px 60px); background-position: 0 var(--bgy, 0); pointer-events: none; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { margin: 0; color: #dbe5f6; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: #aeb5bf; font-size: .95rem; }
.site-footer a { color: #e4e8ed; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3.5rem, 7vw, 5rem) 0 3rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1.2rem; }
.footer-brand .brand svg { color: var(--blue); }
.footer-brand p { max-width: 24em; }
.site-footer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-stretch: 100%; font-weight: 700; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-certs { list-style: none; margin: 0; display: flex !important; flex-wrap: wrap; gap: .5rem 1.5rem !important; padding: 1.4rem 0 !important; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-certs li { display: inline-flex; align-items: center; gap: .5rem; }
.footer-certs li::before { content: ""; width: 6px; height: 6px; background: var(--signal); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom .credit { color: #8d999c; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* Mobile sticky call bar */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--steel-200); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.2); padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom)); gap: .5rem; }
  .callbar .btn { min-height: 48px; padding: .5rem; font-size: .95rem; }
  body { padding-bottom: 72px; }
  body.menu-open .callbar { display: none; }
}

@media print { .demo-banner, .site-header, .callbar, .door { display: none; } }

/* ---------- Form text ---------- */
.form-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-intro { color: var(--muted); margin-bottom: 2rem; }
.legend-hint { font-size: .9rem; font-weight: 500; letter-spacing: 0; }

/* ---------- Kampanjer (fra Dashboard) ---------- */
.hero-campaign { align-self: flex-start;
  display: inline-flex; align-items: stretch; max-width: 100%; margin: 0 0 1.4rem; text-decoration: none; color: #fff;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(14,17,22,.55); backdrop-filter: blur(6px);
  font-size: .92rem; line-height: 1.3; overflow: hidden; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.hero-campaign:hover { color: #fff; border-color: var(--signal); background: rgba(14,17,22,.75); }
.hero-campaign-tag { display: flex; align-items: center; padding: .5rem .75rem; background: var(--signal); color: var(--graphite); font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hero-campaign-text { padding: .5rem .8rem; font-weight: 600; }
.hero-campaign-arrow { display: flex; align-items: center; padding: 0 .8rem 0 0; color: var(--signal); font-weight: 800; }

.campaigns { position: relative; background: var(--steel-50); padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--steel-200); scroll-margin-top: var(--header-h); }
.campaigns-inner { display: grid; gap: 1rem; }
.campaign {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(170px, .55fr);
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 22px 44px -32px rgba(23,27,33,.45);
}
.campaign--plain { grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); }
.campaign-media { position: relative; min-height: 220px; background: var(--steel-100); }
.campaign-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign-body { padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.campaign-label { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .7rem; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.campaign-label svg { width: 15px; height: 15px; }
.campaign-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0 0 .45rem; }
.campaign-text { color: var(--muted); margin: 0 0 1.25rem; max-width: 38em; }
.campaign-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.campaign-until { font-size: .88rem; font-weight: 600; color: var(--steel-900); display: inline-flex; align-items: center; gap: .5rem; }
.campaign-until::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2e9d5b; box-shadow: 0 0 0 3px rgba(46,157,91,.18); }
.campaign-terms { margin: 1rem 0 0; font-size: .8rem; color: var(--steel-600); }
.campaign-badge {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  background: var(--signal); color: var(--graphite); padding: 1.5rem 1rem; text-align: center;
}
.campaign-badge::before { /* hazard edge, like the stripe above an industrial door */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: repeating-linear-gradient(-45deg, var(--graphite) 0 6px, var(--signal) 6px 12px);
}
.campaign-big { font-size: clamp(3.2rem, 6vw, 4.8rem); font-weight: 800; font-stretch: 68%; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.campaign-small { font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 860px) {
  .campaign, .campaign--plain { grid-template-columns: 1fr; }
  .campaign-media { min-height: 0; aspect-ratio: 16 / 8; }
  .campaign-badge { position: absolute; top: 0; right: 0; width: auto; min-width: 118px; padding: .9rem 1rem .9rem 1.4rem; aspect-ratio: auto; }
  .campaign-big { font-size: 2.6rem; }
}
@media (max-width: 860px) { .hero-campaign { font-size: .85rem; } }

/* ---------- Motion (motion.js) ----------
   «motion» is set in <head> only when JS runs and the visitor has not asked
   for reduced motion; until motion.js has started, the hero is held back. */
.motion .door { animation: none; }
.motion .hero-inner > * { animation: none; }
.motion:not(.motion-ready) .hero-inner > *,
.motion:not(.motion-ready) .hero-facts li,
.motion:not(.motion-ready) .page-hero .wrap > * { opacity: 0; }
.motion:not(.motion-ready) .page-hero-media { clip-path: inset(100% 0 0 0); }
.ln-mask { padding: .12em 0; margin: -.12em 0; } /* room for Å-rings and descenders */
/* .rv: element opened by doorReveal(); motion.js makes it relative only if it was static */
.rv-box { display: block; overflow: hidden; border-radius: var(--radius); }
.rv-edge { position: absolute; left: 0; right: 0; height: 2px; margin-top: -1px; z-index: 2; pointer-events: none;
  background: var(--signal); box-shadow: 0 0 14px 1px rgba(245,180,0,.55); }
/* Odometer digits – written to win over the page's own `.stat span`, `.dim--h span` rules */
[aria-hidden].odo-row { display: inline-flex; white-space: nowrap; font-size: inherit; color: inherit; line-height: 1; }
.odo-row .odo { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; font-size: inherit; color: inherit; }
.odo-row .odo-strip { display: flex; flex-direction: column; font-size: inherit; color: inherit; }
.odo-row .odo-strip > span { display: block; height: 1em; font-size: inherit; color: inherit; line-height: 1; }
.dim--h .odo-row, .dim--h .odo-row span { position: static; inset: auto; transform: none; }
.stat b .odo-row .odo, .campaign-big .odo-row .odo { height: 1.02em; }
.site-header { transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(23,27,33,.55); }

/* Buttons: the hover colour rises from the bottom like a door closing */
.btn {
  --fill: var(--blue-800);
  background: linear-gradient(var(--fill), var(--fill)) 0 100% / 100% 0% no-repeat, var(--bg);
  transition: background-size .3s cubic-bezier(.7,0,.2,1), color .22s var(--ease) .08s, border-color .22s var(--ease), transform .2s var(--ease);
}
.btn:hover { --bg: var(--blue); background-size: 100% 100%, auto; }
.btn--ghost { --fill: var(--graphite); }
.btn--ghost:hover { --bg: transparent; }
.btn--light { --fill: var(--signal); }
.btn--light:hover { --bg: #fff; }
.btn--outline-light { --fill: #fff; }
.btn--outline-light:hover { --bg: transparent; }

/* Page changes: the next page opens upwards over the last one (Chrome, Edge, Safari 18.2+) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .demo-banner { view-transition-name: demo-banner; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(site-header), ::view-transition-group(demo-banner) { animation-duration: 0s; }
  ::view-transition-old(root) { animation: vt-out .62s cubic-bezier(.7,0,.2,1) both; }
  ::view-transition-new(root) { animation: vt-in .62s cubic-bezier(.7,0,.2,1) both; }
  @keyframes vt-out { to { opacity: .55; transform: translateY(-2.5%) scale(.985); } }
  @keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .campaign-until::before { animation: none; }
}
@media print { .door-wash, .rv-edge { display: none; } }
