/* ==========================================================================
   Gatefolket – redesign
   ========================================================================== */

:root {
  --ink: #005c5c;
  --ink-2: #006b6b;
  --ink-3: #008080;
  --paper: #f6f8f8;
  --sand: #e3f2f2;
  --card: #ffffff;
  --text: #2d3333;
  --muted: #5a6868;
  --line: #d6e4e4;
  --accent: #00b3b3;
  --accent-strong: #008080;
  --accent-ink: #032b2b;
  --accent-light: #6adcdc;   /* brand teal, lightened for text on dark backgrounds (4.8:1 on --ink, WCAG 1.4.3) */
  --brand-turquoise: #1abc9c;
  --terra: #900e3a;
  --vipps: #ff5b24;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(0 70 70 / .06), 0 2px 8px rgb(0 70 70 / .05);
  --shadow: 0 2px 4px rgb(0 70 70 / .05), 0 14px 40px rgb(0 70 70 / .10);
  --shadow-lg: 0 30px 80px rgb(0 70 70 / .22);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: 0; color: var(--ink); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.375rem; }
p { margin: 0; }
em { font-style: italic; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--accent-light); }
.eyebrow .dot { display: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow:hover { gap: .7em; color: var(--terra); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .975rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); box-shadow: 0 8px 24px rgb(0 179 179 / .35); }
.btn-accent:hover { --btn-bg: #1abc9c; box-shadow: 0 12px 30px rgb(0 179 179 / .45); }
.btn-ghost { --btn-bg: rgb(255 255 255 / .1); --btn-fg: #fff; border-color: rgb(255 255 255 / .45); backdrop-filter: blur(8px); }
.btn-ghost:hover { --btn-bg: rgb(255 255 255 / .2); border-color: #fff; }
.btn-outline { --btn-bg: transparent; --btn-fg: #fff; border-color: rgb(255 255 255 / .35); }
.btn-outline:hover { border-color: var(--accent-light); --btn-fg: var(--accent-light); }
.btn-outline.is-copied { border-color: #7bd389; --btn-fg: #7bd389; }
.btn-lg { padding: 1em 1.75em; font-size: 1.05rem; }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }

.icon-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgb(0 30 30 / .55), transparent);
  transition: opacity .35s;
}
/* Background + blur live on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu and clip it to the header height. */
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(0 70 70 / .94); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 8px 30px rgb(0 0 0 / .18); opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled { --header-h: 66px; }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 34px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; text-decoration: none; color: rgb(255 255 255 / .92);
  transition: background .2s, color .2s;
}
.nav-list > li > a:hover, .nav-list > li:focus-within > a { background: rgb(255 255 255 / .12); color: #fff; }
.has-sub > a::after {
  content: ""; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg) translateY(-3px); opacity: .7;
}
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.sub a:hover, .sub a:focus-visible { background: var(--sand); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 940px); min-height: max(640px, min(100svh, 940px));
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  padding-block: calc(var(--header-h) + 40px) clamp(140px, 16vw, 200px);
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 9s linear;
}
.hero-media img.is-active { opacity: 1; transform: scale(1); }
.hero-shade {
  background:
    linear-gradient(100deg, rgb(0 38 38 / .88) 0%, rgb(0 38 38 / .55) 45%, rgb(0 38 38 / .1) 80%),
    linear-gradient(to top, rgb(0 38 38 / .75), transparent 45%);
}
.hero-content { position: relative; }
.hero h1 {
  color: #fff; max-width: 13ch;
  font-size: clamp(2.75rem, 7.2vw, 6rem); font-weight: 500; line-height: 1.02; letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--accent-light); font-weight: 400; }
.hero-lead { max-width: 52ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / .86); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-dots { position: absolute; right: var(--gutter); bottom: clamp(130px, 16vw, 190px); display: flex; align-items: center; gap: 8px; }
/* 24 px tall buttons (WCAG 2.5.8) drawn as a 4 px bar. */
.hero-dots button {
  width: 34px; height: 24px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: linear-gradient(rgb(255 255 255 / .35), rgb(255 255 255 / .35)) center / 100% 4px no-repeat;
  transition: background .3s, width .3s var(--ease);
}
.hero-dots button[aria-pressed="true"] { background-image: linear-gradient(var(--accent), var(--accent)); width: 56px; }
/* Pause/play for the rotating hero images (WCAG 2.2.2). */
.hero-dots .hero-pause { width: 32px; height: 32px; margin: 0 0 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: rgb(0 0 0 / .35); border: 1px solid rgb(255 255 255 / .5); color: #fff; }
.hero-dots .hero-pause::before { content: none; }
.hero-dots .hero-pause:hover { background: rgb(0 0 0 / .55); }
.hero-dots .hero-pause[aria-pressed="true"] { width: 32px; background: var(--accent); color: #032b2b; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: clamp(-110px, -10vw, -80px); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: clamp(22px, 3vw, 36px); display: grid; gap: 6px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.stat-num small { font-size: .5em; font-weight: 500; color: var(--terra); }
.stat-label { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { max-width: 18ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 22ch; }
.section-intro { max-width: 44ch; color: var(--muted); font-size: 1.075rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, auto); gap: 24px; }
.news-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-media { display: block; overflow: hidden; background: var(--sand); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.05); }
.news-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.news-body h3 { font-size: 1.2rem; }
.news-body h3 a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.news-card:hover h3 a { background-size: 100% 2px; }
.news-body p { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .link-arrow { margin-top: auto; align-self: flex-start; font-size: .95rem; }
.tag {
  align-self: flex-start; padding: 4px 10px; border-radius: 999px;
  background: var(--sand); color: #7a0c31; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}

.news-card--feature { grid-row: 1 / span 3; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.news-card--feature .news-media { aspect-ratio: 4 / 3; }
.news-card--feature .news-body { padding: 30px 34px 34px; gap: 14px; }
.news-card--feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.news-card--feature p { -webkit-line-clamp: 4; font-size: 1.025rem; }

/* ---------- Quote ---------- */
.quote-band { background: var(--sand); padding-block: clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.quote-band::before, .quote-band::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px solid rgb(144 14 58 / .14);
}
.quote-band::before { left: -140px; top: -180px; }
.quote-band::after { right: -120px; bottom: -220px; width: 520px; height: 520px; }
.quote-inner { text-align: center; max-width: 980px; position: relative; }
.quote-mark { color: var(--accent); margin: 0 auto 18px; }
.quote-inner blockquote { margin: 0; }
.quote-inner blockquote p {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 3.8vw, 3rem); line-height: 1.22; color: var(--ink); letter-spacing: -.01em;
}
.quote-cite { margin-top: 24px; color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: 520px; border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; text-decoration: none; box-shadow: var(--shadow-sm);
}
.work-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 38 38 / .92) 0%, rgb(0 38 38 / .55) 45%, rgb(0 38 38 / .05) 75%); transition: background .4s; }
.work-card:hover img { transform: scale(1.06); }
.work-body { padding: 30px; display: grid; gap: 12px; }
.work-num { font-family: var(--font-display); font-size: .95rem; color: var(--accent-light); font-weight: 600; letter-spacing: .1em; }
.work-body h3 { color: #fff; font-size: 1.85rem; }
.work-body p { color: rgb(255 255 255 / .82); font-size: .975rem; }
.work-body .link-arrow { color: #fff; justify-self: start; margin-top: 6px; }
.work-card:hover .link-arrow { gap: .7em; color: var(--accent-light); }

/* ---------- Gallery ---------- */
.gallery { padding-top: 0; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 38vw, 520px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-bottom: 16px; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { scroll-snap-align: start; }
.gallery-item figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; inset: auto 12px 12px; padding: 12px 16px; border-radius: 14px;
  background: rgb(255 255 255 / .92); backdrop-filter: blur(8px);
  color: var(--ink); font-size: .9rem; line-height: 1.45;
}

/* ---------- Give ---------- */
.give { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.give::before {
  content: ""; position: absolute; z-index: -1; right: -15%; top: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(0 179 179 / .22), transparent);
}
.give-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.give h2 { color: #fff; margin-bottom: 22px; }
.give h2 em { color: var(--accent-light); font-weight: 400; }
.give-intro > p { color: rgb(255 255 255 / .78); font-size: 1.1rem; max-width: 50ch; }
.give-note { display: flex; gap: 10px; align-items: center; margin-top: 26px; padding: 14px 18px; border-radius: 14px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); font-size: .95rem; color: rgb(255 255 255 / .82); }
.give-note svg { color: var(--accent-light); flex: none; }
.give-note a { color: var(--accent-light); }

.give-cards { display: grid; gap: 16px; }
.give-card {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 20px;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgb(255 255 255 / .08);
  transition: background .25s, transform .3s var(--ease), border-color .25s;
}
.give-card:hover { background: var(--ink-3); transform: translateX(4px); border-color: rgb(0 179 179 / .4); }
.give-icon { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; }
.give-icon img { width: 100%; height: 100%; object-fit: cover; }
.give-icon--light img { width: 78%; height: 78%; object-fit: contain; }
.give-icon--vipps { background: var(--vipps); }
.give-icon--vipps img { width: 86%; height: auto; object-fit: contain; }
.give-text { min-width: 0; }
.give-text h3 { color: #fff; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.give-text p { color: rgb(255 255 255 / .72); font-size: .95rem; margin-top: 2px; overflow-wrap: anywhere; }
.give-text a { color: var(--accent-light); }

/* ---------- Sponsors: two calm rows gliding in opposite directions ---------- */
.sponsors-premium { padding-block: var(--section); background: var(--card); border-block: 1px solid var(--line); }
.sponsors-head { text-align: center; display: grid; justify-items: center; }
.sponsors-head h2 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.25rem); }
.sponsors-head h2 em { display: block; color: var(--ink-3); font-weight: 400; }
.sponsors-lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }


.ribbons { display: grid; gap: clamp(28px, 4vw, 44px); margin-block: clamp(40px, 6vw, 72px); }
.ribbon {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.ribbon-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); width: max-content; padding-inline: clamp(24px, 3vw, 44px); }
.ribbon-track > li { flex: none; }

.logo-tile { display: grid; place-items: center; height: 64px; text-decoration: none; }
/* multiply makes the logos' own white backgrounds melt into the section */
.logo-tile img {
  width: auto; height: auto; max-height: 64px; max-width: 190px; object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .35s var(--ease);
}
.logo-tile:hover img, .logo-tile:focus-visible img { transform: scale(1.04); }
/* Very wide logos (e.g. Hestekraft, 3.6:1) shrink too much at the default width cap. */
.logo-tile--wide img { max-width: 240px; }

.ribbons.is-running .ribbon-track { animation: ribbon var(--ribbon-duration, 60s) linear infinite; }
.ribbons.is-running .ribbon-track--reverse { animation-direction: reverse; }
.ribbons:hover .ribbon-track,
.ribbons:focus-within .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Without JS or with reduced motion: both rows merge into one calm logo wall. */
.ribbons:not(.is-running) {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 40px 32px; justify-items: center;
}
@media (min-width: 1200px) { .ribbons:not(.is-running) { grid-template-columns: repeat(7, 1fr); } }
.ribbons:not(.is-running) .ribbon, .ribbons:not(.is-running) .ribbon-track { display: contents; }
.ribbons:not(.is-running) .logo-tile img { max-width: 100%; }

.sponsors-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; color: var(--muted); font-size: 1rem; }

/* ---------- Newsletter ---------- */
.newsletter-wrap { padding-bottom: var(--section); }
.sponsors-premium + .newsletter-wrap { padding-top: var(--section); }
.newsletter {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 56px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, #1abc9c 100%);
  color: var(--accent-ink); position: relative; overflow: hidden;
}
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgb(255 255 255 / .18); }
.newsletter h2 { color: var(--accent-ink); font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 10px; }
.newsletter p { color: rgb(3 43 43 / .78); max-width: 46ch; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.newsletter-form input {
  flex: 1 1 240px; min-width: 0; padding: 1em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: 500 1rem var(--font-body); background: #fff; color: var(--text);
}
.newsletter-form input:focus { outline: none; border-color: var(--ink); }
.newsletter-form .btn { --btn-bg: var(--ink); --btn-fg: #fff; box-shadow: none; padding: 1em 1.5em; }
.newsletter-form .btn:hover { --btn-bg: var(--ink-3); }
.form-msg { flex-basis: 100%; min-height: 1.4em; font-weight: 600; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #004747; color: rgb(255 255 255 / .72); padding-top: clamp(56px, 7vw, 88px); font-size: .975rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 32ch; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col p + p { margin-top: 4px; }
.footer-col li + li { margin-top: 8px; }
.site-footer a { color: rgb(255 255 255 / .85); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; font-size: .875rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgb(255 255 255 / .1); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .95rem;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Hamburger menu up to 1100px so touch tablets in landscape never depend on hover dropdowns. */
@media (max-width: 1100px) {
  :root { --header-h: 68px; }
  .news-card { grid-template-columns: 160px 1fr; }
  .js .menu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; position: relative; z-index: 2;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

  .js .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: calc(var(--header-h) + 16px) var(--gutter) 32px; background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .js .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .js .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-list > li { border-bottom: 1px solid rgb(255 255 255 / .1); }
  .js .nav-list > li > a { padding: 16px 0; font-family: var(--font-display); font-size: 1.6rem; border-radius: 0; }
  .js .nav-list > li > a:hover { background: none; color: var(--accent); }
  .js .has-sub > a::after { display: none; }
  .js .sub { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 14px; min-width: 0; }
  .js .sub a { color: rgb(255 255 255 / .75); padding: 6px 0; }
  .js .sub a:hover { background: none; color: #fff; }
  .js .nav-cta { align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  /* Without JS the menu stays visible as a simple wrapped list instead of an overlay. */
  html:not(.js) .site-header { position: absolute; height: auto; background: var(--ink); }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .main-nav, html:not(.js) .nav-list { flex-wrap: wrap; gap: 4px 8px; }
  html:not(.js) .sub { display: none; }
}

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .news-card--feature { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1.1fr 1fr; grid-template-rows: none; }
  .news-card--feature .news-media { aspect-ratio: auto; min-height: 320px; }
  .news-card:not(.news-card--feature) { grid-template-columns: 1fr; grid-template-rows: 200px 1fr; }

  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 420px; }

  .give-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 130px; min-height: 92svh; }
  .hero-shade { background: linear-gradient(to top, rgb(0 38 38 / .92) 0%, rgb(0 38 38 / .7) 55%, rgb(0 38 38 / .35) 100%); }
  .hero-dots { bottom: 112px; left: var(--gutter); right: auto; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats-wrap { margin-top: -70px; }
  .stat { padding: 20px 18px; }
  .stat-label { font-size: .85rem; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card--feature { grid-template-columns: 1fr; }
  .news-card--feature .news-media { min-height: 0; aspect-ratio: 4 / 3; }
  .news-card--feature .news-body { padding: 24px; }
  .news-card:not(.news-card--feature) { grid-template-rows: 190px 1fr; }

  .gallery-controls { display: none; }
  .gallery-track { grid-auto-columns: 84%; gap: 14px; }

  .give-card { grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; }
  .give-icon { width: 52px; height: 52px; }
  .give-card .btn { grid-column: 1 / -1; width: 100%; }

  .logo-tile { height: 46px; }
  .logo-tile img { max-height: 46px; max-width: 140px; }
  .newsletter-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* WCAG 1.4.10: long button labels wrap instead of widening the page on narrow screens. */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
/* WCAG 2.5.8: at least 24 × 24 px targets. */
.to-top { display: inline-flex; align-items: center; min-height: 24px; }
/* WCAG 1.4.13: a hover/focus submenu closed with Esc stays closed until the pointer/focus leaves. */
.has-sub.is-dismissed .sub { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* ==========================================================================
   Subpages
   ========================================================================== */
.nav-list a[aria-current="page"] { color: #fff; background: rgb(255 255 255 / .12); }
.sub a[aria-current="page"] { background: var(--sand); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--ink-3); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px);
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 55%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(0 179 179 / .18), transparent);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero--image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(0 38 38 / .92) 0%, rgb(0 38 38 / .72) 50%, rgb(0 38 38 / .35) 100%);
}
.page-hero-inner { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.25rem, 5.4vw, 4.25rem); font-weight: 500; letter-spacing: -.025em; max-width: 22ch; margin-bottom: 18px; }
.page-lead { max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgb(255 255 255 / .84); }
.page-lead strong { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 26px; font-size: .875rem; color: rgb(255 255 255 / .6); }
.crumbs a { color: rgb(255 255 255 / .82); text-decoration: none; }
.crumbs a:hover { color: var(--accent-light); }
.crumbs [aria-current] { color: rgb(255 255 255 / .6); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: rgb(255 255 255 / .75); font-size: .95rem; }
.tag--light { background: rgb(255 255 255 / .12); color: #fff; align-self: center; }

/* ---------- Layout with sidebar ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 88px); align-items: start; }
.page-main { min-width: 0; }
.page-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.side-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.side-card p { color: var(--muted); font-size: .975rem; margin-bottom: 16px; }
.side-card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.side-card--dark h2 { color: #fff; }
.side-card--dark p { color: rgb(255 255 255 / .75); }
.side-facts { margin: 20px 0 0; display: grid; gap: 14px; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 18px; }
.side-facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; }
.side-facts dd { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.copy-chip { min-height: 24px; padding: 3px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); background: none; color: #fff; font: 600 .75rem var(--font-body); cursor: pointer; }
.copy-chip:hover, .copy-chip.is-copied { border-color: var(--accent-light); color: var(--accent-light); }
.side-list li { display: grid; gap: 2px; padding-block: 10px; border-top: 1px solid var(--line); font-size: .95rem; }
.side-list li:first-child { border-top: 0; padding-top: 0; }
.side-list span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.side-list a { color: var(--ink); font-weight: 500; }
.side-news { margin-bottom: 16px; }
.side-news li { padding-block: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.side-news li:first-child { border-top: 0; padding-top: 0; }
.side-news a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.side-news a:hover { color: var(--terra); }
.side-news time { font-size: .8rem; color: var(--muted); }

/* ---------- Prose ---------- */
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--text); max-width: 72ch; }
.prose::after { content: ""; display: table; clear: both; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.15rem; margin-top: 1.4em; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--terra); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--terra); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { width: 100%; border-radius: var(--radius-sm); background: var(--sand); }
.prose figcaption, .framed figcaption { margin-top: 10px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose img { max-width: 100%; height: auto; }
@media (min-width: 761px) {
  .prose figure.align-left, .prose figure.align-right { width: 44%; margin-top: .3em; margin-bottom: 1em; }
  .prose figure.align-left { float: left; margin-right: 28px; }
  .prose figure.align-right { float: right; margin-left: 28px; }
}
.lead-text { font-size: 1.2rem; line-height: 1.65; color: var(--ink); max-width: 64ch; margin-bottom: 32px; }
.block-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 48px 0 22px; }
.page-main > .block-title:first-child { margin-top: 0; }
.framed { margin: 32px 0; }
.framed img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-row--top { margin: 0 0 32px; }

/* ---------- Articles ---------- */
.article-lead-image { margin: 0 0 36px; }
.article-lead-image img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager-link { display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .3s var(--ease); }
.pager-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.pager-link span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.pager-link strong { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }
.pager-link--next { text-align: right; grid-column: 2; }

/* ---------- Post cards + archive ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; position: relative;
}
.post-card[hidden] { display: none; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-placeholder { display: block; width: 100%; height: 100%; background:
  url("../img/brand/favicon-192.png") center / 56px no-repeat, linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); opacity: .95; }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .85rem; color: var(--muted); }
.post-card h2, .post-card h3 { font-size: 1.2rem; line-height: 1.25; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--terra); }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .tag { align-self: center; }

.archive-tools { display: grid; gap: 16px; margin-bottom: 24px; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); max-width: 520px; color: var(--muted); }
.search-field:focus-within { border-color: var(--ink); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; padding: 14px 0; font: 500 1rem var(--font-body); color: var(--text); outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 .875rem var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.archive-count { color: var(--muted); font-size: .95rem; margin-bottom: 18px; min-height: 1.5em; }
.archive-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.archive-more { display: flex; justify-content: center; margin-top: 40px; }
.area-block + .area-block { padding-top: 0; }
.area-intro { margin: -20px 0 32px; }

/* ---------- Bli fadder ---------- */
.price-card { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--sand); }
.price-main { display: grid; }
.price-main strong { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.75rem); line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.price-main small { font-size: .45em; color: var(--terra); }
.price-main span { color: var(--muted); font-weight: 600; }
.price-alt { display: grid; gap: 10px; }
.price-alt li { padding: 12px 16px; border-radius: 12px; background: var(--card); color: var(--muted); }
.price-alt strong { color: var(--ink); }
.price-card > p { grid-column: 1 / -1; color: var(--text); }
.steps { counter-reset: step; display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 26px 26px 26px 92px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps > li::before {
  content: counter(step); position: absolute; left: 26px; top: 24px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 600 1.25rem var(--font-display);
}
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }
.steps p + p, .steps p + .btn { margin-top: 12px; }
.steps a:not(.btn) { color: var(--ink); }
.callout { margin: 40px 0; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--ink); color: rgb(255 255 255 / .85); display: grid; gap: 10px; }
.callout-number { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; color: var(--accent-light); }
.callout strong { color: #fff; }
.callout a { color: var(--accent-light); }

/* ---------- Gaver ---------- */
.give-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.give-tile { display: grid; gap: 6px; justify-items: start; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.give-tile strong { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); }
.give-tile > span:not(.give-tile-label) { color: var(--muted); }
.give-tile .btn { margin-top: 10px; }
.give-tile-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.give-tile--vipps { background: #fff3ee; border-color: #ffd5c4; }
.give-tile .btn.is-copied { --btn-bg: #1e7a3c; }

/* ---------- Kontakt ---------- */
.contact-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-tile { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.contact-tile span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.contact-tile a, .contact-tile strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 4vw, 34px); border-radius: var(--radius-lg); background: var(--sand); margin-bottom: 48px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 500 1rem var(--font-body); color: var(--text); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .form-msg { flex-basis: auto; margin: 0; color: var(--ink); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.person-photo { aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.person-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sand), var(--line)); }
.person h3 { font-size: 1.2rem; padding: 18px 20px 0; }
.person-role { padding: 2px 20px 0; color: var(--terra); font-weight: 600; font-size: .9rem; }
.person-contact { display: grid; gap: 2px; padding: 12px 20px 20px; font-size: .875rem; }
.person-contact a { color: var(--muted); text-decoration: none; overflow-wrap: break-word; }
.person-contact a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Materiell ---------- */
.work-body h2 { color: #fff; font-size: 1.85rem; }
.doc-list { display: grid; gap: 12px; margin-bottom: 24px; }
.doc-link { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.doc-link:hover { border-color: var(--accent); transform: translateX(4px); }
.doc-link svg { flex: none; color: var(--terra); }
.doc-link span { display: grid; }
.doc-link small { color: var(--muted); font-size: .85rem; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.partner { display: grid; gap: 6px; height: 100%; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
a.partner:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.partner strong { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.partner-country { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.partner-link { color: var(--muted); font-size: .9rem; }

@media (max-width: 1100px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post-grid, .give-tiles, .contact-tiles, .contact-form, .partners { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person h3 { font-size: 1.05rem; padding: 14px 14px 0; }
  .person-role { padding: 2px 14px 0; }
  .person-contact { padding: 10px 14px 16px; font-size: .8rem; }
  .price-card { grid-template-columns: 1fr; }
  .steps > li { padding: 76px 20px 22px; }
  .steps > li::before { left: 20px; top: 20px; }
  .article-pager { grid-template-columns: 1fr; }
  .pager-link--next { grid-column: auto; }
  .crumbs [aria-current] { max-width: 22ch; }
  .prose { font-size: 1.04rem; }
}

/* ---------- Media + galleries inside articles ---------- */
.prose figure.media video { width: 100%; border-radius: var(--radius-sm); background: #000; aspect-ratio: 16 / 9; }
.prose figure.media audio { width: 100%; }
.prose .media-download a { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.prose-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 1.8em 0; }
.prose .prose-gallery figure { margin: 0; }
.prose .prose-gallery img { aspect-ratio: 1; object-fit: cover; height: 100%; }

/* ---------- Sponsorer (subpage) ---------- */
.sponsor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.sponsor-card {
  display: grid; grid-template-rows: 140px auto; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
a.sponsor-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.sponsor-card-logo { display: grid; place-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.sponsor-card-logo img { max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.sponsor-card-body { display: grid; gap: 4px; padding: 16px 20px 20px; }
.sponsor-card-body strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.sponsor-card-body span { font-size: .875rem; color: var(--muted); }
a.sponsor-card .sponsor-card-body span { color: var(--terra); font-weight: 600; }
.sponsor-cta { margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--sand); display: grid; gap: 12px; justify-items: start; }
.sponsor-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.page-section { padding-block: clamp(48px, 6vw, 88px); }
@media (max-width: 640px) {
  .sponsor-list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sponsor-card { grid-template-rows: 96px auto; }
  .sponsor-card-logo { padding: 14px; }
  .sponsor-card-logo img { max-height: 56px; }
  .sponsor-card-body { padding: 12px 14px 14px; }
  .sponsor-card-body strong { font-size: 1rem; }
}
