/* Felles stil for undersidene (Aktuelt, Medarbeidere). Samme tokens som forsiden. */
:root {
  --paper: #F2F5F8; --mist: #E4EBF1; --white: #FFFFFF; --ink: #0B2340; --deep: #081829;
  --soft: #364A61; --drop: #2256A6; --sky: #8DB8EE; --flame: #E93F3A; --ember: #F5A08A;
  --margin: clamp(20px, 3.4vw, 56px); --gutter: clamp(14px, 1.8vw, 28px); --radius: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-rest: 0 1px 2px rgb(14 42 71 / 0.05), 0 10px 24px -12px rgb(14 42 71 / 0.14), 0 32px 64px -36px rgb(34 86 166 / 0.22);
  --shadow-lift: 0 2px 4px rgb(14 42 71 / 0.07), 0 18px 36px -14px rgb(14 42 71 / 0.2), 0 48px 88px -40px rgb(34 86 166 / 0.35);
}
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--drop) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'General Sans', ui-sans-serif, system-ui, sans-serif; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--drop); color: var(--white); }
:focus-visible { outline: 3px solid var(--drop); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -120px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip:focus { top: 8px; }
.serif { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; font-weight: 500; letter-spacing: -0.03em; }
.tnum { font-variant-numeric: tabular-nums; }
.shell { max-width: 1240px; margin-inline: auto; padding-inline: var(--margin); }

/* Mørkt sidehode med glød */
.top { position: relative; isolation: isolate; overflow: clip; background: var(--deep); color: var(--white); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(56% 80% at 85% 0%, rgb(34 86 166 / 0.55), transparent 68%), radial-gradient(34% 50% at 0% 100%, rgb(233 63 58 / 0.14), transparent 72%); } /* taste-skill-ignore: CLAUDE.md-dybdesystem */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.bar img { height: 36px; width: auto; }
.bar nav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.navlink { position: relative; display: inline-block; padding-block: 8px; font-weight: 500; font-size: 0.9375rem; text-decoration: none; }
.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease-out); }
.navlink[aria-current="page"]::after { transform: scaleX(1); }
.navlink:active { opacity: 0.6; }
@media (hover: hover) and (pointer: fine) { .navlink:hover::after { transform: scaleX(1); transform-origin: left; } }
@media (max-width: 760px) { .bar { flex-direction: column; align-items: flex-start; } }
.top__head { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 104px); }
.top__head h1 { margin: 0; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); line-height: 0.98; }
.top__head p { margin: 20px 0 0; max-width: 46ch; color: rgb(255 255 255 / 0.84); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.45; }

.sec { padding-block: clamp(56px, 8vw, 120px); }
.sec--white { background: var(--white); }
.sec h2 { margin: 0 0 clamp(24px, 3vw, 40px); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.04; }
.lead { max-width: 60ch; color: var(--soft); }

.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--drop); color: var(--white); transition: transform 140ms var(--ease-out); box-shadow: 0 1px 2px rgb(8 24 41 / 0.2), 0 14px 32px -14px rgb(34 86 166 / 0.6); } /* taste-skill-ignore: CLAUDE.md-dybdesystem */
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white); opacity: 0; transition: opacity 180ms ease; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); } .btn:hover::before { opacity: 0.12; } }
.lenke { font-weight: 600; color: var(--drop); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.24em; padding-block: 0.3em; display: inline-block; }
.lenke:active { opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .lenke:hover { text-decoration-thickness: 0.14em; } }

.foot { background: var(--deep); color: rgb(255 255 255 / 0.78); font-size: 0.9375rem; }
.foot .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; padding-block: 40px; }
.foot a { color: var(--white); text-underline-offset: 0.22em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
