/* Aurotind: page CSS for the editorial direction.
   The kit (assets/system.css, motion.css) carries the reset, tokens, grid, buttons, nav, form and focus.
   This file holds the editorial type and the six coded effects' looks; aurotind.js drives them.
   Motion identity (motion-design skill, Premium/Calm): one signature curve, one entrance curve, three durations.
   Every element's resting CSS is its finished picture: without script and under reduced motion the page stands whole. */
:root {
  --at-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --at-enter: cubic-bezier(0.05, 0.7, 0.1, 1);
  --at-q: 240ms; --at-s: 480ms; --at-l: 900ms;
  --at-paper: #efede6; --at-ink: #0c0f14; --at-night: #070b14; --at-snow: #e9eef2;
  --at-green: #6ff0b4; --at-blue: #7cc4ff; --at-deep: #3a8fd0; --at-pine: #0a7453;
    --sec: clamp(88px, 13vh, 168px);
}
/* The page moves up and down only. iPhone Safari lets a finger drag the whole page sideways when only the body is clipped,
   so the root is clipped too, sideways touch panning is switched off (pinch zoom stays), and every section clips itself. */
html { scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
body { overflow-x: clip; overscroll-behavior-x: none; touch-action: pan-y pinch-zoom; }
main, main > section, .footer { overflow-x: clip; max-width: 100%; }

/* the kit boxes every section to one or two screens; this page's sections are as tall as their content or their effect */
#historie, #kode, #tjenester, #produkter, #kontakt { height: auto; min-height: 0; padding: 0; display: block; }
#kontakt > .wrap { height: auto; display: block; }

/* paused by its button, or off screen (aurotind.js) */
.is-at-paused, .is-at-paused *, .is-at-paused *::before, .is-at-paused *::after,
.is-at-off, .is-at-off *, .is-at-off *::before, .is-at-off *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- nav: paper, and night over the dark parts */
.at-nav { transition: background-color var(--at-q) var(--at-ease), color var(--at-q) var(--at-ease), border-color var(--at-q) var(--at-ease); }
.at-nav .nav__logo { font: 600 24px/1 var(--font-display); letter-spacing: -0.045em; }
/* the wordmark: lower case, tight, the dot of the i in the aurora's green (the i is set without its own dot) */
.at-i { position: relative; display: inline-block; }
.at-i::after { content: ""; position: absolute; left: 50%; top: .1em; width: .19em; height: .19em; margin-left: -.095em; border-radius: 50%; background: var(--at-green); }
.at-nav .at-mark { width: 24px; height: 24px; }
.at-nav.is-night { --bg: var(--at-night); --ink: var(--at-snow); --muted: #93a1b3; --line: rgb(233 238 242 / .14); --line-strong: rgb(233 238 242 / .26); --action: var(--at-green); background: var(--at-night); color: var(--at-snow); border-color: rgb(233 238 242 / .14); }

/* ---------------------------------------------------------------- editorial type */
.ed { padding-block: var(--sec); }
.ed-no { display: flex; gap: var(--s-3); font: 500 13px/1.4 var(--font-mono); color: var(--muted); }
.ed-no span { color: var(--ink); }
.ed-h2 { margin: 0; font: 500 clamp(40px, 6.6vw, 116px)/.94 var(--font-display); letter-spacing: -0.045em; text-wrap: balance; max-width: none; }
.ed-h2 em, .lq__h em, .rv__h em { font-style: italic; }
.ed-lead { margin-top: var(--s-5); font-size: var(--t-lead); max-width: 44ch; }
.ed-head { margin-bottom: clamp(36px, 6vh, 72px); }
.ed-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-5); }
.ed-grid > .ed-no { grid-column: 1 / span 3; padding-top: .9em; }
.ed-grid > .mo-wh__text { grid-column: 4 / -1; }
@media (max-width: 1023px) { .ed-grid > .ed-no, .ed-grid > .mo-wh__text { grid-column: 1 / -1; } .ed-grid > .ed-no { padding-top: 0; } }

/* ---------------------------------------------------------------- aurora ribbons (CSS, no canvas) */
.at-ribbons { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.at-ribbons i {
  position: absolute; top: -12%; height: 96%; width: 30%; border-radius: 50%;
  background: linear-gradient(to top, transparent 0%, rgb(111 240 180 / .55) 20%, rgb(58 143 208 / .4) 58%, transparent 100%);
  filter: blur(22px); opacity: .5; transform-origin: 50% 100%;
  animation: at-sway 11s ease-in-out infinite alternate;
}
.at-ribbons i:nth-child(1) { left: 4%; }
.at-ribbons i:nth-child(2) { left: 36%; width: 24%; height: 80%; animation-duration: 14s; animation-delay: -5s; }
.at-ribbons i:nth-child(3) { left: 64%; width: 34%; animation-duration: 17s; animation-delay: -9s; }
@keyframes at-sway {
  0%   { transform: translateX(-9%) skewX(-9deg) scaleY(.9); opacity: .26; }
  50%  { opacity: .62; }
  100% { transform: translateX(11%) skewX(8deg) scaleY(1.06); opacity: .36; }
}

/* ---------------------------------------------------------------- 1. the story: one WebGL scene, terraformed by the scroll
   At rest (no script, reduced motion) the first screen is one still picture of the finished mountain and the chapters
   follow as a plain list. Live, the section is seven screens and the screen holds while aurotind.js moves the scene. */
.st { position: relative; background: var(--at-night); }
.st__pin { position: relative; overflow: clip; }
.st__gl { position: absolute; left: 0; top: 0; width: 100%; height: 100svh; display: block; background:
  radial-gradient(90% 60% at 60% 0%, rgb(111 240 180 / .22), transparent 60%), radial-gradient(70% 50% at 20% 10%, rgb(58 143 208 / .2), transparent 60%), var(--at-night); }
.st__veil { position: absolute; left: 0; right: 0; top: 45svh; height: 55svh; pointer-events: none; background: linear-gradient(to top, rgb(7 11 20 / .9), rgb(7 11 20 / .55) 45%, rgb(7 11 20 / 0)); }
.st__wrap { position: relative; z-index: 2; padding: 0 0 var(--sec); display: grid; gap: clamp(48px, 9vh, 96px); }
.st__ch { max-width: 760px; }
.st__ch--intro { min-height: 100svh; padding: calc(var(--nav) + 24px) 0 clamp(40px, 9vh, 96px); display: flex; flex-direction: column; justify-content: flex-end; }
.st__no { font: 500 13px/1.4 var(--font-mono); color: var(--muted); }
.st__h { margin: var(--s-3) 0 var(--s-4); max-width: 12ch; font: 500 clamp(44px, 8.4vw, 144px)/.94 var(--font-display); letter-spacing: -0.045em; }
.st__w { margin: var(--s-2) 0 var(--s-4); max-width: none; font: 500 clamp(54px, 11vw, 190px)/.9 var(--font-display); letter-spacing: -0.05em; }
.st__w em { font-style: normal; color: var(--at-green); }
.st__p { max-width: 30ch; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
.st__lead { max-width: 13ch; font: 500 clamp(30px, 4.4vw, 68px)/1.04 var(--font-display); letter-spacing: -0.04em; }
.st__rail, .st__cue { display: none; }
.st__ch--intro > * { animation: at-up var(--at-l) var(--at-enter) backwards; }
.st__ch--intro > :nth-child(2) { animation-delay: 80ms; }
.st__ch--intro > :nth-child(3) { animation-delay: 160ms; }
@keyframes at-up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.st__pin > .loop-pause { z-index: 6; }

.at-live #historie { height: 700svh; }
.at-live .st__pin { position: sticky; top: 0; height: 100svh; }
.at-live .st__gl { height: 100%; }
.at-live .st__veil { top: auto; bottom: 0; height: 58%; }
.at-live .st__wrap { position: absolute; left: 0; right: 0; top: 0; bottom: 0; padding: 0; display: block; }
.at-live .st__ch { position: absolute; left: 0; bottom: clamp(40px, 9vh, 96px); min-height: 0; padding: 0; display: block; opacity: 0; transform: translateY(26px); pointer-events: none; transition: opacity var(--at-s) var(--at-ease), transform var(--at-l) var(--at-enter); }
.at-live .st__ch.is-on { opacity: 1; transform: none; pointer-events: auto; }
.at-live .st__rail { position: absolute; right: 0; top: 50%; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; transform: translateY(-50%); }
.st__rail li { position: relative; width: 2px; height: clamp(28px, 6vh, 52px); overflow: hidden; background: rgb(233 238 242 / .2); }
.st__rail li::after { content: ""; position: absolute; inset: 0; background: var(--at-green); transform-origin: top; transform: scaleY(var(--f, 0)); }
.at-live .st__cue { display: block; position: absolute; right: 0; bottom: clamp(40px, 9vh, 96px); font: 500 13px/1.4 var(--font-mono); color: var(--muted); transition: opacity var(--at-q) var(--at-ease); }
.st__cue::after { content: ""; display: inline-block; width: 1px; height: 28px; margin-left: 12px; vertical-align: bottom; background: currentColor; transform-origin: top; animation: at-cue 2.4s var(--at-ease) infinite; }
@keyframes at-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }
.at-live .st__pin.is-moved .st__cue { opacity: 0; }
@media (max-width: 639px) {
  .st__pin > .loop-pause { bottom: auto; top: calc(var(--nav) + 10px); }
  .at-live .st__rail { top: calc(var(--nav) + 64px); transform: none; }
}

/* ---------------------------------------------------------------- 2. liquid cursor reveal */
.lq__stage { position: relative; display: grid; min-height: 100svh; overflow: clip; }
.lq__top { position: relative; z-index: 0; }
.lq__top, .lq__under { grid-area: 1 / 1; display: flex; align-items: center; padding-block: var(--sec); min-width: 0; }
.lq__top > .wrap, .lq__under > .wrap { position: relative; flex: none; }
.lq__under { position: relative; z-index: 2; color: #02110a; --ink: #02110a; --muted: rgb(2 17 10 / .7); clip-path: url(#lq-clip);
  background: radial-gradient(60% 55% at 28% 30%, rgb(111 240 180 / .3), transparent 70%), radial-gradient(55% 60% at 76% 72%, rgb(46 200 150 / .26), transparent 70%), #0d5a3e; }
.lq__core { position: absolute; left: 0; top: 0; width: var(--hs, 480px); height: var(--hs, 480px); margin: calc(var(--hs, 480px) / -2) 0 0 calc(var(--hs, 480px) / -2); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(205 255 232 / .85), rgb(111 240 180 / .6) 30%, rgb(60 210 150 / .2) 60%, rgb(60 210 150 / 0) 80%); transform: translate3d(var(--hx, -999px), var(--hy, -999px), 0); will-change: transform; }
/* grain over the glow: one small tile of noise, drawn once */
.lq__under::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .6  0 0 0 0 1  0 0 0 0 .8  0 0 0 .5 -.12'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* the glow that follows it: a soft green light under the clipped layer, so the edge burns */
.lq__under > .wrap { z-index: 1; }
.lq__halo { position: absolute; left: 0; top: 0; z-index: 1; width: var(--hs, 480px); height: var(--hs, 480px); margin: calc(var(--hs, 480px) / -2) 0 0 calc(var(--hs, 480px) / -2); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(111 240 180 / .62), rgb(111 240 180 / .2) 52%, rgb(111 240 180 / 0) 74%); transform: translate3d(var(--hx, -999px), var(--hy, -999px), 0); will-change: transform; }
.lq__h { margin: 0 0 var(--s-6); max-width: 9.5ch; font: 500 clamp(50px, 13.2vw, 216px)/.88 var(--font-display); letter-spacing: -0.05em; }
.lq__h em { display: block; }
.lq__p { max-width: 44ch; font-size: var(--t-lead); line-height: 1.45; }
.lq__code { margin: 0 0 var(--s-6); font: 500 clamp(18px, 4.6vw, 78px)/1.22 var(--font-mono); letter-spacing: -0.03em; white-space: pre; overflow: hidden; text-shadow: 0 0 18px rgb(190 255 225 / .55); }
.lq__code i { font-style: normal; color: rgb(2 17 10 / .55); }
.lq__code u { text-decoration: none; color: var(--at-blue); }
.lq__code s { text-decoration: none; color: var(--at-green); }
.lq__code b { font-weight: 500; color: var(--at-green); }
.lq__defs { position: absolute; }
/* the light is a canvas under everything; the wall of source lies over it in the ground's own colour, so it shows only where the light is */
.lq__stage { background: var(--at-night); }
.lq__gl { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.lq__wall { position: absolute; inset: var(--nav) 0 0; z-index: 1; margin: 0; padding: var(--s-4) var(--gut); overflow: hidden; pointer-events: none; -webkit-user-select: none; user-select: none;
  font: 500 13px/1.62 var(--font-mono); letter-spacing: 0; white-space: pre; tab-size: 2; color: var(--at-night); }
.lq__top { z-index: 2; }
.lq__top .lq__h, .lq__top .lq__p { text-shadow: 0 0 26px rgb(7 11 20 / .6), 0 0 3px rgb(7 11 20 / .45); }   /* the words hold against the light */
.lq__stage:not(.no-gl) > .lq__halo { display: none; }                 /* the soft CSS light stands in only where WebGL is missing */
.lq__stage > .lq__halo { z-index: 0; }
.lq__under .lq__p { font: 500 clamp(12px, 1.2vw, 16px)/1.5 var(--font-mono); max-width: none; }

/* ---------------------------------------------------------------- the living illustrations (night windows) */
.at-ill {
  position: relative; container-type: size; overflow: hidden; min-height: 0;
  display: grid; place-items: center; color: var(--at-snow);
  border-radius: 6px; border: 1px solid rgb(233 238 242 / .1);
  background:
    radial-gradient(120% 90% at 78% -10%, rgb(111 240 180 / .17), transparent 58%),
    radial-gradient(90% 80% at 0% 0%, rgb(58 143 208 / .17), transparent 60%),
    #0b1220;
}
.at-ill > .loop-pause { --bg: #0f1626; --ink: #e9eef2; }
.at-slot {
  position: absolute; left: 12px; top: 12px; z-index: 3; padding: 6px 10px; border-radius: 999px;
  font: 500 13px/1.2 var(--font-mono); letter-spacing: 0; color: var(--at-snow);
  border: 1px dashed rgb(233 238 242 / .5); background: rgb(7 11 20 / .72);
}
.at-phone {
  position: relative; overflow: hidden; height: min(84cqh, 150cqw); aspect-ratio: 9 / 17;
  border-radius: 22px; border: 1.5px solid rgb(233 238 242 / .3); background: #0f1626;
  box-shadow: 0 0 0 5px rgb(15 22 38 / .7), 0 24px 60px -24px rgb(0 0 0 / .9);
}
.at-feed { position: absolute; inset: 6% 8% 13%; overflow: hidden; }
.at-feed__track { animation: at-feed 10s linear infinite; }
.at-feed__track i { display: block; position: relative; aspect-ratio: 5 / 3.2; margin-bottom: 9%; border-radius: 10px; background: rgb(233 238 242 / .06); border: 1px solid rgb(233 238 242 / .09); }
.at-feed__track i::before { content: ""; position: absolute; inset: 9% 9% 40%; border-radius: 6px; background: linear-gradient(120deg, rgb(111 240 180 / .5), rgb(58 143 208 / .35)); }
.at-feed__track i:nth-child(even)::before { background: linear-gradient(120deg, rgb(124 196 255 / .45), rgb(233 238 242 / .12)); }
.at-feed__track i::after { content: ""; position: absolute; left: 9%; bottom: 14%; width: 56%; height: 9%; border-radius: 99px; background: rgb(233 238 242 / .3); }
@keyframes at-feed { to { transform: translateY(-50%); } }
.at-toast { position: absolute; left: 10%; right: 10%; top: 5%; height: 8.5%; border-radius: 99px; background: var(--at-green); opacity: 0; box-shadow: 0 8px 24px -6px rgb(111 240 180 / .6); animation: at-toast 5s var(--at-enter) infinite; }
@keyframes at-toast { 0%, 12% { transform: translateY(-180%); opacity: 0; } 22%, 62% { transform: none; opacity: 1; } 72%, 100% { transform: translateY(-180%); opacity: 0; } }
.at-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 10.5%; display: grid; grid-template-columns: repeat(3, 1fr); place-items: center; background: rgb(7 11 20 / .94); border-top: 1px solid rgb(233 238 242 / .1); }
.at-tabs i { width: 22%; aspect-ratio: 1; border-radius: 32%; background: rgb(233 238 242 / .22); }
.at-tabs b { position: absolute; left: 10.67%; bottom: 10%; width: 12%; height: 2px; border-radius: 2px; background: var(--at-green); animation: at-tab 6s var(--at-ease) infinite; }
@keyframes at-tab { 0%, 27% { transform: none; } 33%, 60% { transform: translateX(277.8%); } 66%, 93% { transform: translateX(555.6%); } 100% { transform: none; } }

.at-game {
  position: relative; overflow: hidden; width: min(86cqw, 138cqh); aspect-ratio: 16 / 10;
  border-radius: 14px; border: 1.5px solid rgb(233 238 242 / .3);
  background: linear-gradient(#0c182c, #142c4e 62%, #0f2038);
  box-shadow: 0 0 0 5px rgb(15 22 38 / .7), 0 24px 60px -24px rgb(0 0 0 / .9);
}
.at-game svg { position: absolute; left: 0; width: 200%; max-width: none; display: block; }
.at-game__far { bottom: 16%; height: 50%; fill: #1b3358; animation: at-pan 16s linear infinite; }
.at-game__near { bottom: 0; height: 42%; fill: #091322; stroke: rgb(111 240 180 / .5); stroke-width: 1; animation: at-pan 5s linear infinite; }
@keyframes at-pan { to { transform: translateX(-50%); } }
.at-game__orb { position: absolute; left: 24%; bottom: 20%; width: 7.5%; aspect-ratio: 1; border-radius: 50%; background: var(--at-green); box-shadow: 0 0 18px 5px rgb(111 240 180 / .55); animation: at-hop 1.25s infinite; }
@keyframes at-hop {
  0%   { transform: translateY(0) scale(1.14, .86); animation-timing-function: cubic-bezier(.25, .7, .45, 1); }
  50%  { transform: translateY(-190%) scale(.96, 1.04); animation-timing-function: cubic-bezier(.55, 0, .75, .3); }
  100% { transform: translateY(0) scale(1.14, .86); }
}
.at-game__gem { position: absolute; left: 0; width: 100%; height: 0; animation: at-gem 5s linear infinite; }
.at-game__gem::before { content: ""; position: absolute; left: 104%; top: 0; width: 3.6%; aspect-ratio: 1; background: var(--at-blue); transform: rotate(45deg); box-shadow: 0 0 10px 1px rgb(124 196 255 / .6); }
.at-game__gem.g1 { top: 34%; }
.at-game__gem.g2 { top: 22%; animation-delay: -1.7s; }
.at-game__gem.g3 { top: 40%; animation-delay: -3.4s; }
@keyframes at-gem { to { transform: translateX(-112%); } }
.at-game__hud { position: absolute; right: 5%; top: 7%; display: flex; gap: 5px; width: 30%; }
.at-game__hud i { flex: 1; height: 5px; border-radius: 9px; background: rgb(233 238 242 / .3); }
.at-game__hud i:first-child { background: var(--at-green); transform-origin: left; animation: at-hud 5s var(--at-ease) infinite; }
@keyframes at-hud { 0% { transform: scaleX(.25); } 90%, 100% { transform: scaleX(1); } }

.at-win {
  position: relative; overflow: hidden; width: min(88cqw, 140cqh); aspect-ratio: 16 / 10;
  display: grid; grid-template: 11% minmax(0, 1fr) / 24% minmax(0, 1fr);
  border-radius: 12px; border: 1.5px solid rgb(233 238 242 / .3); background: #0f1626;
  box-shadow: 0 0 0 5px rgb(15 22 38 / .7), 0 24px 60px -24px rgb(0 0 0 / .9);
}
.at-win__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; padding-inline: 4%; border-bottom: 1px solid rgb(233 238 242 / .1); }
.at-win__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgb(233 238 242 / .3); }
.at-win__side { display: grid; grid-template-rows: repeat(4, 12%); row-gap: 6%; align-content: start; padding: 14% 12%; border-right: 1px solid rgb(233 238 242 / .1); }
.at-win__side i { border-radius: 4px; background: rgb(233 238 242 / .12); }
.at-win__side b { grid-area: 1 / 1; border-radius: 4px; background: rgb(111 240 180 / .22); box-shadow: inset 2px 0 var(--at-green); animation: at-step 6.4s var(--at-ease) infinite; }
@keyframes at-step { 0%, 20% { transform: none; } 25%, 45% { transform: translateY(150%); } 50%, 70% { transform: translateY(300%); } 75%, 95% { transform: translateY(450%); } 100% { transform: none; } }
.at-win__main { padding: 6% 7%; display: grid; align-content: start; gap: 9%; min-height: 0; }
.at-win__main svg { width: 100%; aspect-ratio: 200 / 80; height: auto; display: block; overflow: visible; }
.at-win__area { fill: rgb(111 240 180 / .12); animation: at-fade-area 4s var(--at-ease) infinite; }
.at-win__line { fill: none; stroke: var(--at-green); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; animation: at-chart 4s var(--at-ease) infinite; }
@keyframes at-chart { 0% { stroke-dashoffset: 1; opacity: 1; } 45%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes at-fade-area { 0%, 30% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }
.at-win__main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.at-win__main li { position: relative; height: 7px; margin-left: 14px; border-radius: 9px; background: rgb(233 238 242 / .16); }
.at-win__main li:nth-child(2) { width: 78%; }
.at-win__main li:nth-child(3) { width: 58%; }
.at-win__main li::before { content: ""; position: absolute; left: -14px; top: -1px; width: 9px; height: 9px; border-radius: 3px; background: var(--at-green); animation: at-tick 4s var(--at-ease) infinite; }
.at-win__main li:nth-child(2)::before { animation-delay: .5s; }
.at-win__main li:nth-child(3)::before { animation-delay: 1s; }
@keyframes at-tick { 0%, 18% { background: rgb(233 238 242 / .2); transform: scale(.8); } 26%, 100% { background: var(--at-green); transform: none; } }

.at-browser {
  position: relative; overflow: hidden; width: min(84cqw, 132cqh); aspect-ratio: 16 / 10.4;
  display: grid; grid-template-rows: 12% minmax(0, 1fr);
  border-radius: 12px; border: 1.5px solid rgb(233 238 242 / .3); background: #0f1626;
  box-shadow: 0 0 0 5px rgb(15 22 38 / .7), 0 24px 60px -24px rgb(0 0 0 / .9);
}
.at-browser__bar { display: flex; align-items: center; gap: 5px; padding-inline: 3.5%; border-bottom: 1px solid rgb(233 238 242 / .1); }
.at-browser__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgb(233 238 242 / .3); }
.at-browser__bar b { flex: 1; height: 38%; margin-left: 4%; border-radius: 99px; background: rgb(233 238 242 / .09); }
.at-browser__page { position: relative; padding: 4.5% 5%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 14% 9% 13% minmax(0, 1fr); gap: 5% 5%; animation: at-clear 4s var(--at-ease) infinite; }
@keyframes at-clear { 0%, 92% { opacity: 1; } 100% { opacity: 0; } }
.b-hero { grid-area: 1 / 2 / 4 / 3; border-radius: 8px; background: linear-gradient(135deg, rgb(111 240 180 / .6), rgb(58 143 208 / .45)); transform-origin: left; animation: at-b1 4s var(--at-enter) infinite; }
.b-h1 { grid-area: 1 / 1; width: 92%; border-radius: 5px; background: rgb(233 238 242 / .85); animation: at-b2 4s var(--at-enter) infinite; }
.b-h2 { grid-area: 2 / 1; width: 68%; border-radius: 99px; background: rgb(233 238 242 / .28); animation: at-b3 4s var(--at-enter) infinite; }
.b-btn { grid-area: 3 / 1; width: 44%; border-radius: 99px; background: var(--at-green); animation: at-b4 4s var(--at-enter) infinite; }
.b-cards { grid-area: 4 / 1 / 5 / 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.b-cards i { border-radius: 7px; background: rgb(233 238 242 / .08); border: 1px solid rgb(233 238 242 / .1); animation: at-b5 4s var(--at-enter) infinite; }
.b-cards i:nth-child(2) { animation-delay: 80ms; }
.b-cards i:nth-child(3) { animation-delay: 160ms; }
@keyframes at-b1 { 0%, 6% { transform: scaleX(0); opacity: 0; } 22%, 100% { transform: none; opacity: 1; } }
@keyframes at-b2 { 0%, 16% { transform: translateY(40%); opacity: 0; } 28%, 100% { transform: none; opacity: 1; } }
@keyframes at-b3 { 0%, 24% { transform: translateY(60%); opacity: 0; } 36%, 100% { transform: none; opacity: 1; } }
@keyframes at-b4 { 0%, 32% { transform: scale(.6); opacity: 0; } 44%, 100% { transform: none; opacity: 1; } }
@keyframes at-b5 { 0%, 42% { transform: translateY(24%); opacity: 0; } 56%, 100% { transform: none; opacity: 1; } }

.at-swipe { display: flex; width: 300%; height: 89%; animation: at-swipe 4.8s var(--at-ease) infinite; }
@keyframes at-swipe { 0%, 26% { transform: none; } 33.3%, 59% { transform: translateX(-33.333%); } 66.6%, 92% { transform: translateX(-66.666%); } 100% { transform: none; } }
.at-screen { flex: none; width: 33.333%; padding: 16% 4% 0; display: grid; align-content: start; gap: 5%; }
.at-screen > * { display: block; border-radius: 8px; background: rgb(233 238 242 / .1); }
.at-screen i { aspect-ratio: 5 / 1.25; }
.at-screen.s1 i:first-child { background: linear-gradient(120deg, rgb(111 240 180 / .55), rgb(58 143 208 / .4)); aspect-ratio: 5 / 2.6; }
.at-screen.s2 b { aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 60%, rgb(124 196 255 / .5), rgb(58 143 208 / .12) 70%); }
.at-screen.s3 em { width: 36%; aspect-ratio: 1; border-radius: 50%; justify-self: center; background: var(--at-green); }
.at-dots { position: absolute; left: 0; right: 0; bottom: 4%; display: flex; justify-content: center; gap: 6px; }
.at-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--at-snow); opacity: .35; animation: at-dot 4.8s var(--at-ease) infinite; }
.at-dots i:nth-child(2) { animation-delay: 1.6s; }
.at-dots i:nth-child(3) { animation-delay: 3.2s; }
@keyframes at-dot { 0%, 28% { opacity: 1; transform: scale(1.35); } 34%, 100% { opacity: .35; transform: none; } }

.at-net { width: min(88cqw, 150cqh); height: auto; aspect-ratio: 320 / 180; display: block; overflow: visible; }
.at-net__lines path { fill: none; stroke: rgb(233 238 242 / .22); stroke-width: 1.5; }
.at-net__nodes circle { fill: #0f1626; stroke: rgb(233 238 242 / .5); stroke-width: 1.5; }
.at-net__hub { fill: var(--at-green); }
.at-net__ring { fill: none; stroke: var(--at-green); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; animation: at-ring 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes at-ring { 0%, 30% { transform: scale(1); opacity: 0; } 34% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.at-net__pulse { fill: none; stroke: var(--at-green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: .14 2; stroke-dashoffset: -1; animation: at-pulse 3.2s var(--at-ease) infinite; }
.at-net__pulse.p2, .at-net__pulse.p3, .at-net__pulse.p4 { stroke: var(--at-blue); animation-name: at-pulse-out; }
@keyframes at-pulse { 0% { stroke-dashoffset: .14; } 34%, 100% { stroke-dashoffset: -1; } }
@keyframes at-pulse-out { 0%, 34% { stroke-dashoffset: .14; } 72%, 100% { stroke-dashoffset: -1; } }

.at-chart { position: relative; width: min(78cqw, 150cqh); aspect-ratio: 21 / 10; }
.at-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; border-bottom: 1px solid rgb(233 238 242 / .25); }
.at-bars i { height: calc(var(--v) * 100%); margin-inline: 24%; border-radius: 4px 4px 0 0; background: linear-gradient(rgb(111 240 180 / .95), rgb(111 240 180 / .18)); transform-origin: bottom; animation: at-grow 3.8s var(--at-enter) infinite; animation-delay: calc(var(--i) * 60ms); }
@keyframes at-grow { 0% { transform: scaleY(0); } 24%, 90% { transform: none; } 100% { transform: scaleY(0); } }
.at-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.at-trend { fill: none; stroke: var(--at-snow); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: at-trend 3.8s var(--at-ease) infinite; }
@keyframes at-trend { 0%, 26% { stroke-dashoffset: 1; opacity: 1; } 56%, 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------------------------------------------------------------- 3. the services: one band of type that drags sideways with the scroll
   At rest (no script, reduced motion) a plain list of filled words. Live, the section is 3.8 screens and the screen holds. */
.dr__pin { position: relative; padding-block: var(--sec); }
.dr__track { position: relative; z-index: 1; width: min(100% - 2 * var(--gut), var(--container)); margin-inline: auto; display: grid; gap: clamp(40px, 8vh, 80px); }
.dr__item { display: grid; gap: var(--s-3); justify-items: start; }
.dr__n { font: 500 13px/1.4 var(--font-mono); color: var(--at-green); }
.dr__item h3 { position: relative; margin: 0; font: 500 clamp(52px, 12.5vw, 210px)/.9 var(--font-display); letter-spacing: -0.055em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgb(233 238 242 / .55); }
/* the same word again, filled: snow running into the aurora's green and blue. --f (0..1) is how near the middle it stands */
.dr__item h3::after { content: attr(data-t); position: absolute; left: 0; top: 0; -webkit-text-stroke: 0 transparent; color: transparent; background: linear-gradient(100deg, #e9eef2 18%, #6ff0b4 68%, #7cc4ff) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; opacity: var(--f, 1); }
.dr__item p { max-width: 30ch; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; }
.dr__bar, .dr__ridge { display: none; }
.at-live #tjenester { height: 380svh; }
.at-live .dr__pin { position: sticky; top: 0; height: 100svh; padding: var(--nav) 0 0; overflow: clip; display: flex; align-items: center; }
.at-live .dr__track {
  --edge: max(var(--gut), calc(50vw - var(--container) / 2));
  flex: none; width: max-content; margin: 0; padding-inline: var(--edge) calc(var(--edge) + 10vw);
  display: flex; align-items: center; gap: clamp(64px, 11vw, 200px);
  transform: translate3d(var(--x, 0px), 0, 0) skewX(var(--sk, 0deg)); transform-origin: 50% 100%; will-change: transform;
}
.at-live .dr__head { flex: none; width: min(74vw, 760px); }
.at-live .dr__head .ed-h2 { font-size: clamp(48px, 9vw, 150px); }
.at-live .dr__item { flex: none; }
/* the range behind the words: it moves at seven tenths of their pace, so it lies further away */
.at-live .dr__ridge { display: block; position: absolute; left: 0; bottom: 0; z-index: 0; max-width: none; pointer-events: none; transform: translate3d(calc(var(--x, 0px) * 0.7), 0, 0); will-change: transform; }
.dr__ridge path { fill: none; stroke: var(--at-green); stroke-width: 1.5; stroke-linejoin: round; opacity: calc(0.62 - var(--k) * 0.11); }
.at-live .dr__pin.is-grab { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.at-live .dr__bar { display: block; position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: clamp(20px, 4vh, 40px); height: 2px; background: rgb(233 238 242 / .16); }
.dr__bar i { display: block; height: 100%; background: var(--at-green); transform-origin: left; transform: scaleX(var(--f, 0)); }
@media (hover: hover) and (pointer: fine) { .at-live .dr__pin { cursor: grab; } }
@media (max-width: 767px) {
  .dr__item h3 { font-size: clamp(48px, 17vw, 110px); -webkit-text-stroke-width: 1px; }
  .at-live .dr__head { width: 80vw; }
}

/* ---------------------------------------------------------------- 4. cylinder carousel (own products) */
.cy { overflow-x: clip; }
.cy__scene { --cw: clamp(236px, 24vw, 350px); --R: calc(var(--cw) * 1.866 + 34px); position: relative; }
.cy__ring { width: min(100% - 2 * var(--gut), var(--container)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.cy__panel { display: flex; flex-direction: column; min-width: 0; }
.cy__panel > .at-ill { aspect-ratio: 4 / 5; margin-bottom: var(--s-4); }
.cy__panel h3 { font: 500 clamp(22px, 2vw, 30px)/1.1 var(--font-display); letter-spacing: -0.035em; }
.cy__panel p { margin-top: 6px; }
.cy__hint { margin-top: var(--s-5); text-align: center; font: 500 13px/1.4 var(--font-mono); color: var(--muted); display: none; }
@media (max-width: 767px) { .cy__ring { grid-template-columns: minmax(0, 1fr); } }
.cy__scene.is-3d { height: calc(var(--cw) * 1.25 + 64px); perspective: 1700px; perspective-origin: 50% 40%; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.cy__scene.is-3d.is-drag { cursor: grabbing; }
.is-3d .cy__ring { display: block; position: absolute; left: 50%; top: 0; width: var(--cw); height: 100%; margin: 0 0 0 calc(var(--cw) / -2); transform-style: preserve-3d; transform: translateZ(calc(var(--R) * -1)) rotateY(calc(var(--a, 0) * 1deg)); }
.is-3d .cy__panel { position: absolute; inset: 0; backface-visibility: hidden; transform: rotateY(calc(var(--i, 0) * 30deg)) translateZ(var(--R)); }
.is-3d ~ .wrap .cy__hint { display: block; }
.cy__scene > .loop-pause { top: -52px; bottom: auto; right: max(var(--gut), calc(50% - var(--container) / 2)); }

/* ---------------------------------------------------------------- 6. contact and footer */
.ct { padding: var(--sec) 0 var(--s-5) !important; }
.ct__top { gap: 0; }
.ct__mail { align-self: flex-start; margin: var(--s-5) 0 clamp(36px, 7vh, 80px); font: 500 clamp(28px, 6.4vw, 108px)/1.05 var(--font-display); letter-spacing: -0.045em; color: var(--at-green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; transition: color var(--at-q) var(--at-ease); }
.ct__mail:hover { color: var(--at-snow); }
.ct__grid { display: grid; grid-template-columns: minmax(0, 720px); align-items: start; }
.ct__facts { margin: 0; display: grid; }
.ct__facts > div { display: grid; gap: 4px; padding: var(--s-4) 0; border-top: 1px solid var(--line-strong); }
.ct__facts dt { font: 500 13px/1.4 var(--font-mono); color: var(--muted); }
.ct__facts dd { margin: 0; font-size: var(--t-lead); }
.ct__facts .link { display: inline-flex; align-items: center; min-height: 44px; }
.ct__foot { margin-top: clamp(56px, 10vh, 120px); display: block; }
.ct__word { margin: 0 0 var(--s-5); display: flex; justify-content: space-between; font: 500 calc(min(100vw - 2 * var(--gut), var(--container)) / var(--word-k, 4.4))/.8 var(--font-display); letter-spacing: -0.05em; white-space: nowrap; -webkit-user-select: none; user-select: none; cursor: default; }
.ct__word span { display: inline-block; transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg)); }
@media (max-width: 767px) { .ct__grid { grid-template-columns: minmax(0, 1fr); } }
