:root {
  --paper: #f4f6fb;
  --surface: #ffffff;
  --ink: #0f1630;
  --ink-2: #1c2547;
  --muted: #58617a;
  --line: #e1e5f0;
  --violet: #4b3cff;
  --coral: #ff5a36;
  --mint: #0fa97a;
  --amber: #e39a00;
  --sky: #0a95cc;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 24px;
  --t: var(--violet);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
h1 { font-weight: 800; }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 74rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 1.5rem 0; }
.section.narrow, .narrow { max-width: 50rem; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 2rem; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--t); }
.kicker { margin: 0 0 0.35rem; font-family: var(--mono); font-size: 0.8rem; color: var(--t); font-weight: 500; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 42rem; margin: 1rem 0 0; }
.more { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--violet); }

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font: inherit; font-weight: 600; text-decoration: none;
  border: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--violet); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244, 246, 251, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-dots { display: flex; }
.logo-dots i { width: 18px; height: 18px; border-radius: 50%; margin-right: -6px; border: 2px solid var(--paper); }
.logo-dots i:nth-child(1) { background: var(--violet); }
.logo-dots i:nth-child(2) { background: var(--coral); }
.logo-dots i:nth-child(3) { background: var(--mint); margin-right: 0; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.1; display: flex; flex-direction: column; }
.logo-text small { font-family: var(--body); font-weight: 500; font-size: 0.78rem; color: var(--muted); }
.site-nav { display: flex; gap: 0.25rem; }
.site-nav a { padding: 0.45rem 0.95rem; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); }
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav a.active { color: var(--ink); background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 2rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero-text { font-size: 1.2rem; color: var(--muted); max-width: 36rem; margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero .eyebrow::before { background: var(--coral); }

.hero-visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.orb { position: absolute; border-radius: 50%; }
.orb-1 { width: 300px; height: 300px; background: var(--violet); top: 0; right: 4%; }
.orb-2 { width: 170px; height: 170px; background: var(--coral); bottom: 6%; left: 4%; }
.orb-3 { width: 90px; height: 90px; background: var(--mint); top: 12%; left: 16%; }

.terminal {
  position: relative; width: min(100%, 440px);
  background: var(--ink); color: #e8ebff;
  border-radius: var(--radius);
  padding: 1rem 1.4rem 1.4rem;
  box-shadow: 0 30px 60px -25px rgba(15, 22, 48, 0.6);
  transform: rotate(-2deg);
}
.terminal-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4470; }
.terminal-line { font-family: var(--mono); font-size: 1.02rem; line-height: 1.5; margin: 0; min-height: 4.6em; }
.caret-prefix { color: var(--mint); }
.caret { display: inline-block; width: 0.6em; height: 1.1em; vertical-align: -0.18em; background: #e8ebff; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.terminal-result { margin: 1rem 0 0; display: inline-block; font-family: var(--mono); font-size: 0.85rem; color: var(--ink); background: var(--mint); padding: 0.3rem 0.8rem; border-radius: 999px; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Tal ---------- */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; padding-top: 2rem; }
.stats .stat { flex: 0 1 12rem; }
.stat {
  aspect-ratio: 1; max-width: 12rem; width: 100%; justify-self: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 3px var(--t);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  text-decoration: none; padding: 1rem;
  transition: transform 0.2s;
}
.stat:hover { transform: scale(1.04); }
.stat strong { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; color: var(--t); }
.stat span { color: var(--muted); font-size: 0.9rem; margin-top: 0.35rem; line-height: 1.3; }

/* ---------- Sektioner ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.5rem; }
.project-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 22, 48, 0.45); }
.project-cover { display: block; aspect-ratio: 16 / 10; background: var(--t); position: relative; overflow: hidden; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-fallback {
  position: absolute; right: -8%; bottom: -30%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 5rem; color: #fff;
}
.project-card:nth-child(3n+2) .project-cover { background: var(--ink-2); }
.project-card:nth-child(3n+3) .project-cover { background: var(--coral); }
.project-body { padding: 1.4rem 1.5rem 1.6rem; }
.project-body p { margin: 0.6rem 0 0; color: var(--muted); }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; padding: 0; }
.pills li { font-size: 0.8rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--paper); color: var(--ink); }

.badge { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; color: var(--t); }
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--t); }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.post-list { display: flex; flex-direction: column; }
.post-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1.25rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row-meta { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: var(--muted); padding-top: 0.2rem; }
.post-row p { margin: 0.4rem 0 0; color: var(--muted); }
.post-row-extra { font-family: var(--mono); font-size: 0.8rem; }

.prompt-spot { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; box-shadow: inset 0 0 0 3px var(--t); }
.prompt-spot > p:not(.kicker) { color: var(--muted); margin: 0.5rem 0 1rem; }
.prompt-spot .prompt-block { margin: 1rem 0 1.25rem; }
.prompt-spot pre { max-height: 14rem; }

.prompt-block { background: var(--ink); border-radius: 18px; overflow: hidden; margin: 0 0 2rem; }
.prompt-block-bar { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem 0.6rem 1.1rem; background: var(--ink-2); font-family: var(--mono); font-size: 0.75rem; color: #9aa3c7; text-transform: uppercase; letter-spacing: 0.05em; }
.copy-btn { font: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; background: var(--mint); color: var(--ink); border: 0; border-radius: 999px; padding: 0.3rem 0.85rem; cursor: pointer; }
.copy-btn:hover { filter: brightness(1.08); }
.prompt-block pre { margin: 0; padding: 1.1rem 1.25rem 1.3rem; color: #e8ebff; font-family: var(--mono); font-size: 0.9rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; overflow: auto; }

.about-teaser { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; padding-bottom: 1rem; }
.about-circle { width: 180px; height: 180px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; box-shadow: 30px 0 0 -10px var(--violet); }
.about-circle span { font-family: var(--display); font-weight: 800; font-size: 3.5rem; color: #fff; }
.about-teaser .prose { margin: 1rem 0; }
.about-circle.has-photo { background: var(--surface); overflow: visible; }
.about-circle.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* Profilbillede på "Om mig" */
.about-head.has-photo { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
.profile-photo { position: relative; width: 220px; height: 220px; }
.profile-photo::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral); transform: translate(18px, 10px); }
.profile-photo::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); top: -6px; left: -10px; }
.profile-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; box-shadow: 0 0 0 6px var(--paper); }

/* ---------- Undersider ---------- */
.page-head { padding-top: 4rem; }
.page-head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.page-head .eyebrow::before { background: var(--t); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.filters a { padding: 0.45rem 1rem; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; font-size: 0.95rem; box-shadow: inset 0 0 0 2px var(--line); }
.filters a:hover { box-shadow: inset 0 0 0 2px var(--t, var(--ink)); }
.filters a.active { background: var(--t, var(--ink)); color: #fff; box-shadow: none; }
.filters a:first-child { --t: var(--ink); }

.prompt-list { display: flex; flex-direction: column; gap: 1.5rem; }
.prompt-card { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; }
.prompt-card h2 { font-size: 1.5rem; }
.prompt-card h2 a { text-decoration: none; }
.prompt-card > p { color: var(--muted); margin: 0.5rem 0 1.25rem; }
.prompt-card .prompt-block { margin-bottom: 1rem; }
.prompt-card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; font-size: 0.9rem; }
.prompt-card-foot .pills { margin: 0; }
.prompt-card-foot .more { margin-left: auto; }

/* ---------- Indlæg ---------- */
.draft-banner { background: var(--amber); color: var(--ink); text-align: center; padding: 0.6rem 1rem; font-weight: 600; font-size: 0.95rem; }
.article-head { max-width: 50rem; padding-top: 3.5rem; }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 1.25rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 0; font-size: 0.9rem; color: var(--muted); }
.back-link { text-decoration: none; font-weight: 600; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 3px solid var(--t); }
.facts dt { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-weight: 600; }
.facts .pills { margin: 0.1rem 0 0; }
.article-cover { max-width: 62rem; margin: 2.5rem auto 0; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; }
.article-body { max-width: 50rem; padding-top: 2.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2.5rem 0 0; color: var(--muted); font-family: var(--mono); font-size: 0.85rem; }

.prose { font-size: 1.125rem; }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.2rem; }
.prose h2 { font-size: 1.75rem; margin: 2.5rem 0 0.9rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.prose h4 { font-family: var(--display); font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--t); font-weight: 700; }
.prose a { color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose img { border-radius: 18px; display: block; margin: 1.5rem 0; }
.prose blockquote { margin: 1.75rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 4px solid var(--t); font-family: var(--display); font-size: 1.35rem; line-height: 1.35; }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--surface); padding: 0.1em 0.4em; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.prose pre { background: var(--ink); color: #e8ebff; padding: 1.1rem 1.25rem; border-radius: 18px; overflow-x: auto; margin: 0 0 1.5rem; }
.prose pre code { background: none; box-shadow: none; padding: 0; color: inherit; font-size: 0.9rem; }

.related { padding-bottom: 1rem; }
.related h2 { margin-bottom: 1.5rem; }
.contact-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 5rem; background: var(--ink); color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0; }
.footer-muted { margin: 0.25rem 0 0; color: #9aa3c7; font-size: 0.9rem; }
.footer-links { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: #c8cdea; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ---------- Mindre skærme ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-visual { min-height: 300px; }
  .orb-1 { width: 220px; height: 220px; }
  .orb-2 { width: 120px; height: 120px; }
  .stats .stat { flex-basis: calc(50% - 1rem); max-width: 11rem; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); flex-direction: column; background: var(--surface); padding: 0.75rem; border-radius: 20px; box-shadow: 0 20px 40px -20px rgba(15, 22, 48, 0.4); }
  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); flex-direction: column; background: var(--surface); padding: 0.75rem; border-radius: 20px; box-shadow: 0 20px 40px -20px rgba(15, 22, 48, 0.4); }
  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
  .logo-text small { display: none; }
  .post-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .post-row-meta { flex-direction: row; gap: 1rem; }
  .about-teaser { grid-template-columns: 1fr; }
  .about-circle { width: 120px; height: 120px; }
  .about-circle span { font-size: 2.4rem; }
  .about-head.has-photo { grid-template-columns: 1fr; gap: 1.75rem; }
  .profile-photo { width: 160px; height: 160px; }
  .prompt-card-foot .more { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .btn, .stat, .project-card { transition: none; }
}

/* ---------- Kontakt ---------- */
.contact-form { background: var(--surface); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-weight: 600; }
.field input, .field textarea {
  font: inherit; color: inherit;
  padding: 0.8rem 1rem;
  border: 2px solid var(--line); border-radius: 16px;
  background: var(--paper);
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.field textarea { resize: vertical; min-height: 10rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--surface); }
.field small { color: var(--coral); font-weight: 600; font-size: 0.9rem; }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.form-error { margin: 0; padding: 0.8rem 1rem; border-radius: 14px; background: #ffe9e3; color: #a0301a; font-weight: 600; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; }
.privacy { margin: 0; color: var(--muted); font-size: 0.9rem; max-width: 28rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { display: flex; gap: 1.5rem; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 2rem; }
.contact-done-icon { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--mint); color: #fff; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.contact-done h2 { margin-bottom: 0.5rem; }
.contact-done p { margin: 0 0 0.5rem; color: var(--muted); }
@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form, .contact-done { padding: 1.5rem; }
}

/* ---------- De tre cirkler ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.venn { width: 100%; height: auto; display: block; overflow: visible; }
.venn-fill { fill: var(--c); fill-opacity: 0.1; stroke: none; }
.venn-ring { fill: none; stroke: var(--c); stroke-width: 3; pointer-events: none; }
.venn-region { fill: var(--ink); fill-opacity: 0; transition: fill-opacity 0.2s; }
.venn-link { cursor: pointer; }
.venn-hit { fill: transparent; }
.venn-link:hover .venn-region, .venn-link:focus-visible .venn-region { fill-opacity: 0.08; }
.venn-link:focus-visible { outline: none; }
.venn-link:focus-visible .venn-bubble { stroke: var(--violet); stroke-width: 3; }
.venn-region.is-active { fill-opacity: 0.16; }
.venn-name { font-family: var(--display); font-weight: 800; font-size: 26px; fill: var(--ink); text-anchor: middle; pointer-events: none; }
.venn-count { font-family: var(--body); font-size: 15px; fill: var(--muted); text-anchor: middle; pointer-events: none; }
.venn-bubble { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; pointer-events: none; transition: transform 0.2s; transform-box: fill-box; transform-origin: center; }
.venn-num { font-family: var(--display); font-weight: 800; font-size: 17px; fill: var(--ink); text-anchor: middle; pointer-events: none; }
.venn-link:hover .venn-bubble { transform: scale(1.15); }
.venn-link:has(.is-empty) .venn-num, .venn-link:has(.is-empty) .venn-count { fill: #a3aac0; }

.venn-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.venn-wrap { max-width: 520px; width: 100%; margin: 0 auto; }
.venn-copy h2 { margin-bottom: 1rem; }
.venn-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 32rem; }
.venn-copy .eyebrow::before { background: conic-gradient(var(--violet) 0 33%, var(--coral) 0 66%, var(--mint) 0); }
.venn-legend { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.venn-legend a { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 600; text-decoration: none; }
.venn-legend a::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.venn-legend a:hover { color: var(--violet); }

.felter-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.venn-wrap-side { max-width: 420px; }

.venn-mini { width: 64px; flex: 0 0 64px; }
.venn-mini .venn-ring { stroke-width: 10; }
.venn-mini .venn-fill { fill-opacity: 0.12; }
.venn-mini .venn-region.is-active { fill-opacity: 0.55; }

.dims-card { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 0; padding: 1rem 1.25rem; background: var(--surface); border-radius: 20px; text-decoration: none; max-width: 26rem; transition: transform 0.2s; }
.dims-card:hover { transform: translateY(-2px); }
.dims-card small { display: block; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.dims-card strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.dims-more { display: block; font-size: 0.85rem; color: var(--violet); font-weight: 600; margin-top: 0.1rem; }

.dims-dots { display: inline-flex; gap: 4px; margin-top: 0.2rem; }
.dims-dots i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--c); }
.dims-dots i.on { background: var(--c); }

@media (max-width: 900px) {
  .venn-section, .felter-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .venn-section .venn-wrap { max-width: 420px; }
  .felter-head .venn-wrap-side { order: -1; max-width: 340px; margin: 0; }
}

/* ---------- Deling ---------- */
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share-label { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-right: 0.4rem; }
.share-btn { display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-weight: 600; font-size: 0.95rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.share-btn:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.share-btn svg { width: 18px; height: 18px; }
.share-linkedin { background: #0a66c2; color: #fff; box-shadow: none; }
.share-linkedin:hover { background: #004182; box-shadow: none; }

/* ---------- Sparring ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.5rem; position: relative; overflow: hidden; margin-top: 3rem; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: var(--coral); opacity: 0.9; }
.cta-band::before { content: ""; position: absolute; right: 120px; top: -40px; width: 90px; height: 90px; border-radius: 50%; background: var(--mint); opacity: 0.9; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: #9aa3c7; }
.cta-band .eyebrow::before { background: var(--mint); }
.cta-band h2 { color: #fff; }
.cta-band .cta-text { color: #c8cdea; margin: 0.75rem 0 0; max-width: 34rem; }
.cta-band .cta-text p { margin: 0 0 0.75rem; }
.cta-band .cta-text p:last-child { margin-bottom: 0; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); color: var(--ink); }

/* ---------- Karriere og uddannelse ---------- */
.career-intro { color: var(--muted); max-width: 40rem; margin: -0.75rem 0 2rem; font-size: 1.1rem; }
.career-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.career-grid.single { grid-template-columns: minmax(0, 46rem); }
.career-col { background: var(--surface); border-radius: var(--radius); padding: 1.75rem 1.75rem 1rem; }
.career-col-title { font-size: 1.25rem; margin-bottom: 1.5rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 18px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 2.25rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 3px var(--c); }
.timeline li.is-current::before { background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent); }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; font-size: 0.85rem; color: var(--muted); }
.timeline-meta .period { font-family: var(--mono); font-size: 0.8rem; color: var(--ink); font-weight: 500; }
.timeline-meta .kind { color: var(--c); font-weight: 600; }
.timeline h4 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; margin: 0.3rem 0 0; }
.timeline .org { margin: 0.1rem 0 0; font-weight: 600; color: var(--ink-2); }
.timeline .desc { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) {
  .career-grid { grid-template-columns: 1fr; }
  .career-col { padding: 1.5rem 1.25rem 0.75rem; }
}
