/* Okvas: dark grey and orange from okvas.no (the Webflow brand tokens
   --base-color-brand--grey-dark and --orange), on the shared site
   template, of which this is the reference. Orange text and buttons use okvas.no's own accessible orange
   (#cb4f11, 4.6:1 on white); the bright #eb6000 is kept for marks only. */
:root {
  /* Call to action, the same red on every site (CONTENT-MODEL.md, Site template). */
  --cta: #ef4444;
  --cta-hover: #dc2626;
  --ink: #17272c;
  --ink-2: #44535a;
  --paper: #f4f3ef;
  --white: #ffffff;
  --line: #d8d3ca;
  --grey-900: #17272c;
  --grey-800: #1f3239;
  --grey-600: #5d6c7b;
  --grey-300: #b8c2c6;
  --accent: #cb4f11;
  --accent-700: #a63f0b;
  --accent-50: #fbece3;
  --accent-bright: #eb6000;
  --surface: #ffffff;
  --muted: #5d6c7b;
  --field-line: #a9a59c;
  --accent-fill: #cb4f11;
  /* A solid orange band as the one graphic device. */
  --stripe: linear-gradient(currentColor, currentColor);

  --wide: "wdth" 110;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 4px;
  --head-h: 72px;
  color-scheme: light;
}

/* Dark: the system setting unless the visitor picked Light, or the footer
   switch set Dark. Header and footer follow the theme; the hero stays dark
   over its photo. Orange
   text gets lighter to keep 4.5:1 on the dark grounds; buttons keep the
   brand fill with white text. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef0ee;
    --ink-2: #b9c3c6;
    --paper: #0f181b;
    --surface: #172327;
    --line: #2b3b41;
    --muted: #98a6ac;
    --field-line: #4a5c63;
    --grey-800: #13252b;
    --grey-900: #0a1215;
    --accent: #f08a4b;
    --accent-700: #c75f1f;
    --accent-50: #33231a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef0ee;
  --ink-2: #b9c3c6;
  --paper: #0f181b;
  --surface: #172327;
  --line: #2b3b41;
  --muted: #98a6ac;
  --field-line: #4a5c63;
  --grey-800: #13252b;
  --grey-900: #0a1215;
  --accent: #f08a4b;
  --accent-700: #c75f1f;
  --accent-50: #33231a;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--head-h) + 64px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Schibsted Grotesk", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a, dd a, .lede a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-variation-settings: var(--wide);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 0.8em;
  margin-right: 10px;
  vertical-align: -0.05em;
  background: var(--stripe);
}

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--surface); }
.skip:focus { top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--cta);
  border-radius: var(--radius);
  background: var(--cta);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  font-variation-settings: "wdth" 112;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: rgb(255 255 255 / 0.1); }
.text-link {
  display: inline-flex;
  gap: 6px;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.text-link:hover { border-bottom-color: currentColor; }

/* ---- Header ------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px var(--gutter);
  background: var(--grey-800);
  color: var(--white);
}
.brand { display: block; flex: none; }
/* Sizes from the lockup README: own logo under 768 px, header lockup 44 px
   tall up to 1023 px, horizontal lockup 48 px from 1024 px. */
.brand img { height: 22px; width: auto; }
@media (min-width: 768px) { .brand img { height: 44px; } }
@media (min-width: 1024px) { .brand img { height: 48px; } }

#site-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-item > a {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-variation-settings: "wdth" 112;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.nav-item > a:hover, .nav-item > a.is-current { border-bottom-color: var(--accent); }
.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--grey-900);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav-sub a { display: block; padding: 9px 18px; text-decoration: none; color: var(--grey-300); }
.nav-sub a:hover { color: var(--white); background: rgb(255 255 255 / 0.06); }
.nav-item:is(:hover, :focus-within):not(.is-dismissed) .nav-sub { opacity: 1; visibility: visible; transform: none; }
.tools { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .top { gap: 12px; }
  .tools { margin-left: auto; }
  .tools .btn { min-height: 40px; padding: 0 14px; font-size: 0.88rem; }
  .menu-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  #site-nav {
    position: fixed;
    inset: var(--head-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--grey-800);
    border-top: 1px solid rgb(255 255 255 / 0.1);
    display: none;
  }
  #site-nav.is-open { display: flex; }
  .nav-item > a { padding: 14px 0; font-size: 1.15rem; }
  .nav-sub { position: static; min-width: 0; padding: 0 0 8px 14px; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-sub a { padding: 6px 0; }
}

/* ---- Layout ------------------------------------------------------------- */
main > section > *:not(.hero):not(.subnav):not(.proof):not(.cta-band) {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
main > section > .proof, main > section > .cta-band { padding-inline: var(--gutter); }
.page-head { padding-block: clamp(48px, 8vw, 96px) 32px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.section:focus { outline: none; }
.section-head { margin-bottom: 36px; }
.split { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 0.9fr; } }
.prose { max-width: 64ch; }
.split img { border-radius: var(--radius); }

/* Sticky in-page menu for each view's content-model sections. */
.subnav {
  position: sticky;
  top: var(--head-h);
  z-index: 10;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.subnav ol {
  display: flex;
  gap: 4px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav a {
  display: block;
  padding: 14px 12px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
  border-bottom: 3px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-current { color: var(--ink); border-bottom-color: var(--accent); }

/* ---- Home --------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: min(78vh, 760px);
  background: var(--grey-900);
  color: var(--white);
  overflow: hidden;
}
.hero-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
}
.hero::after {
  content: "";
  grid-area: 1 / 1;
  background: linear-gradient(90deg, rgb(30 37 46 / 0.92) 0%, rgb(30 37 46 / 0.7) 45%, rgb(30 37 46 / 0.1) 80%);
}
/* An orange band as the hero's lower edge. */
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 14px;
  color: var(--accent);
  background: var(--stripe);
}
.hero-copy {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: end;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 80px var(--gutter) clamp(56px, 8vw, 96px);
}
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lede { color: rgb(255 255 255 / 0.86); }
.hero-copy .kicker, .cta-band .kicker { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(0deg, rgb(30 37 46 / 0.95) 25%, rgb(30 37 46 / 0.55) 70%, rgb(30 37 46 / 0.2)); }
  .hero { min-height: 640px; }
}

.proof { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-stats,
.proof-clients {
  max-width: var(--max);
  margin: 0 auto;
}
.proof-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 40px 0 28px;
  list-style: none;
}
.proof-stats li { display: grid; gap: 4px; padding-left: 18px; border-left: 3px solid var(--accent-bright); }
.proof-stats strong { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-variation-settings: var(--wide); line-height: 1.1; }
.proof-stats span { color: var(--ink-2); }
.proof-clients { padding: 20px 0 40px; border-top: 1px solid var(--line); }
.client-names { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.client-names li { font-weight: 700; font-variation-settings: "wdth" 112; color: var(--muted); }

.band { padding-block: clamp(56px, 8vw, 104px); }
.band-head { margin-bottom: 36px; }
.groups { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 32px; }
.group-card {
  position: relative;
  display: block;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.group-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.group-card p { color: var(--ink-2); }
.group-card ul { margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line); }
.group-card li { padding: 3px 0; font-weight: 600; }

.duo { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); padding-bottom: clamp(56px, 8vw, 104px); }
.teaser { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.teaser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.teaser > div { padding: 28px; }
.teaser p { color: var(--ink-2); }

.cta-band {
  position: relative;
  padding-block: clamp(48px, 7vw, 80px);
  background: var(--cta);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { max-width: var(--max); margin: 0 auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn { background: var(--white); border-color: var(--white); color: #b91c1c; }
.cta-band .btn:hover { background: #fde8e8; }
.cta-band .btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }

/* ---- Solutions ---------------------------------------------------------- */
.group { padding-bottom: 40px; }
.group + .group { padding-top: 40px; border-top: 1px solid var(--line); }
.group-head { margin-bottom: 24px; padding-top: 14px; border-top: 3px solid var(--accent-bright); max-width: 70ch; }
.group-head h3 { font-size: 1.6rem; margin-bottom: 4px; }
.group-head p { color: var(--ink-2); margin: 0; }
.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.svc:focus { outline: none; border-color: var(--accent); }
.svc figure { margin: 0; }
.svc img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-body { padding: 24px 28px; }
.svc-body > p { max-width: 66ch; }
@media (min-width: 800px) {
  .svc { grid-template-columns: 300px 1fr; }
  .svc img { aspect-ratio: auto; min-height: 240px; }
}
.svc-body h4 { font-size: 1.35rem; }
.svc-ex-label { margin: 16px 0 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.svc-ex { margin: 0; padding-left: 1.1em; }
.svc-ex li::marker { color: var(--accent); }

.cap-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.cap { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cap p { color: var(--ink-2); font-size: 0.97rem; }
.cap-group { margin: 40px 0 16px; }
.specs { width: 100%; margin: 4px 0 14px; border-collapse: collapse; font-size: 0.9rem; }
.specs th, .specs td { padding: 7px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.specs th { width: 44%; padding-right: 12px; font-weight: 700; }
.specs td { font-variant-numeric: tabular-nums; }
.cap-service { margin: 0; font-size: 0.9rem; }
.cap-service a { font-weight: 700; }

.ref-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ref-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-variation-settings: "wdth" 112; }

.docs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.doc { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--grey-800); border-radius: var(--radius); }
.doc p { flex: 1; color: var(--ink-2); font-size: 0.97rem; }
.docs-title { margin: 48px 0 16px; }

/* ---- About -------------------------------------------------------------- */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 32px 0; }
.gallery img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 800px) { .gallery { grid-template-columns: 0.6fr 1.4fr; } }
.careers { padding: 28px; background: var(--grey-800); color: var(--white); border-radius: var(--radius); }
.careers p { margin: 0; color: rgb(255 255 255 / 0.85); }
.careers a { color: var(--white); }
.sisters { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.sister { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.sister-logo { display: flex; align-items: center; height: 60px; margin-bottom: 18px; }
.sister-logo img { max-height: 52px; max-width: 180px; width: auto; }
.sister-logo.is-plate { align-self: flex-start; padding: 6px 10px; background: #ffffff; border-radius: var(--radius); }
.sister-logo.is-plate img { max-height: 44px; }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-light { display: none; }
  :root:not([data-theme="light"]) .on-dark { display: block; }
}
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .on-dark { display: block; }
.sister-role { margin: 0 0 6px; font-size: 0.85rem; color: var(--muted); }
.sister h3 a { text-decoration: none; }
.sister h3 a:hover { color: var(--accent); }
.sister p:last-child { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* ---- News --------------------------------------------------------------- */
.news-empty, .news-follow { color: var(--ink-2); }
.news-item { padding: 28px 0; border-top: 1px solid var(--line); max-width: 70ch; }

/* ---- Contact ------------------------------------------------------------ */
.form { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form .wide { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  background: var(--surface);
  font: inherit;
  font-weight: 400;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 16px; background: var(--accent-50); border-left: 3px solid var(--accent); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.aside-note { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2); }

.staff { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.person { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.person img, .person-mark { width: 88px; height: 112px; border-radius: 3px; object-fit: cover; object-position: 50% 20%; }
.person-mark {
  display: grid;
  place-items: center;
  background: var(--grey-800);
  color: var(--white);
  font-weight: 800;
  font-size: 1.4rem;
  font-variation-settings: var(--wide);
}
.person h3 { font-size: 1.02rem; margin-bottom: 2px; font-variation-settings: "wdth" 112; }
.person-role { margin: 0 0 8px; font-size: 0.9rem; color: var(--muted); }
.person-links { display: grid; gap: 2px; margin: 0; font-size: 0.92rem; }
.person-links a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.person-links a:hover { text-decoration: underline; }

.visit-address { font-size: 1.3rem; font-weight: 800; font-variation-settings: var(--wide); }
.facts { display: grid; gap: 0; margin: 24px 0 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.map { width: 100%; height: 100%; min-height: 360px; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---- Footer ------------------------------------------------------------- */
.foot { position: relative; background: var(--grey-900); color: var(--grey-300); padding: 64px var(--gutter) 28px; font-size: 0.95rem; }
.foot::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; color: var(--muted); background: var(--stripe); }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1.3fr 1fr 1fr; max-width: var(--max); margin: 0 auto; }
@media (max-width: 767px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot-grid p { margin: 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--white); text-decoration: underline; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { width: 240px; }
@media (min-width: 768px) { .foot-brand img { width: auto; height: 80px; } }
@media (max-width: 767px) { .foot-brand { align-items: center !important; } }
.foot-label { margin-bottom: 6px !important; color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-variation-settings: var(--wide); }
.foot-follow { margin-top: 14px !important; }
.social { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; gap: 8px; }
.lang { display: flex; gap: 6px; }
.lang button {
  min-width: 48px;
  min-height: 40px;
  border: 1px solid var(--grey-600);
  border-radius: var(--radius);
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lang button.is-active { background: var(--white); border-color: var(--white); color: var(--grey-900); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: var(--max); margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; }
.foot-base p { margin: 0; }
.foot .agent-link, .foot .legal-link { color: var(--grey-300); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: rgb(255 255 255 / 0.3); }
.foot .agent-link:hover, .foot .agent-link:focus-visible, .foot .legal-link:hover, .foot .legal-link:focus-visible { color: var(--white); text-decoration-color: var(--accent-bright); }

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

/* Footer settings under the menu: Language and Theme (CONTENT-MODEL.md, Site template). */
.foot-settings { display: grid; grid-template-columns: max-content max-content; align-items: center; gap: 8px 14px; }
.foot-sublabel { font-size: 0.85rem; }

/* Header and footer follow the theme (CONTENT-MODEL.md, Site template): light
   in Light mode, dark in Dark mode, as on Ship & Rig. They use the page's own
   surface, ink and line tokens, which change with the theme; app.js picks the
   matching lockup artwork. The hero stays dark over its photo. */
.top { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-sub { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 30px rgb(0 0 0 / 0.12); }
.nav-sub a { color: var(--ink-2); }
.nav-sub a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
@media (max-width: 860px) {
  #site-nav { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}
.foot { background: var(--surface); color: var(--ink-2); border-top: 1px solid var(--line); }
.foot-label { color: var(--ink); }
.foot-grid a:hover { color: var(--ink); }
.lang button { background: transparent; border-color: var(--line); color: var(--ink); }
.lang button.is-active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.foot-base { border-top-color: var(--line); }
.foot .agent-link, .foot .legal-link { color: var(--ink-2); text-decoration-color: var(--line); }
.foot .agent-link:hover, .foot .agent-link:focus-visible, .foot .legal-link:hover, .foot .legal-link:focus-visible { color: var(--ink); }

/* A news item not yet published (draft: true in content.js), e.g. a press
   release waiting for the people quoted to confirm it. */
.news-source { margin: 4px 0 0; font-size: 0.9rem; }
.news-draft { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border: 1px dashed var(--accent); border-radius: var(--radius); color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Privacy page (footer link "Personvern"): one text column. */
.privacy { max-width: 68ch; }
.privacy h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 1.6em 0 0.4em; }
.privacy h2:first-child { margin-top: 0; }
.privacy p { color: var(--ink-2); }
