/* Dorte Nielsen, draft v0.2
   Identitet: varm papirfarve, blæksort og Creative Thinker-rød.
   Gloock (redaktionel, kontrastrig serif) + Schibsted Grotesk (nordisk grotesk).
   Bærende motiv: den røde tråd, som forbinder prikker gennem hele siden. */

:root {
  --paper: #f4f0e8;
  --paper-2: #ebe5d9;
  --ink: #15130f;
  --ink-soft: #57514a;
  --red: #e2001a;
  --red-text: #b80016;   /* rød til lille tekst på papir (6:1) */
  --red-on-dark: #ff5a6b; /* rød til lille tekst på mørk baggrund */
  --line: rgba(21, 19, 15, .14);

  --serif: "Gloock", "Times New Roman", serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 clamp(17px, 1.1vw, 19px)/1.6 var(--sans);
  overflow-x: hidden; position: relative;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
h2 { font: 400 clamp(40px, 6vw, 92px)/1.08 var(--serif); letter-spacing: -.02em; max-width: 14ch; }
h3 { font: 700 clamp(20px, 1.6vw, 24px)/1.2 var(--sans); letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.35vw, 21px); color: var(--ink-soft); max-width: 52ch; margin-top: 24px; }
.note { font: italic 600 16px/1.3 var(--sans); color: var(--red-text); }

/* ---------- red thread ---------- */
.thread { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 3; overflow: visible; }
.thread path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.thread path { stroke-linejoin: round; }
.thread circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.8,.5,1); }
.thread circle.is-on { transform: scale(1); }
.thread circle.ring { fill: var(--paper); stroke: var(--red); stroke-width: 2; }
.thread circle.bead { fill: var(--red); }

/* ---------- cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; display: none; }
.cursor span { display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--red); transition: width .25s, height .25s, margin .25s, background .25s, border .25s; }
.cursor.is-link span { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; border: 2px solid var(--red); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bg); border-radius: 999px;
  padding: .95em 1.6em; font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: color .35s, border-color .35s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); border-radius: inherit; transform: scale(0); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.btn:hover::before { transform: scale(1.05); }
.btn:hover { color: #fff; border-color: var(--red); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light::before { background: var(--ink); }
.btn--light:hover { border-color: var(--ink); }
.btn--small { padding: .75em 1.2em; font-size: 14px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn:disabled::before { display: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
}
/* Blur ligger på et pseudo-element: backdrop-filter på selve .nav ville fange den faste mobilmenu inde i navigationen */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__brand { font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font: 500 15px/1 var(--sans); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .3s; }
.nav__links a:hover { background-size: 100% 2px; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 8px; background: none; border: 0; cursor: pointer; font: 600 14px/1 var(--sans); color: var(--ink-soft); padding: 6px; }
.lang .is-on { color: var(--ink); box-shadow: 0 2px 0 var(--red); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(60px, 8vw, 120px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__title { font: 400 clamp(64px, 11vw, 172px)/.86 var(--serif); letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .w { display: inline-block; transform: translateY(105%); animation: up 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__title .line:nth-child(1) .w:nth-child(1) { animation-delay: .05s }
.hero__title .line:nth-child(1) .w:nth-child(2) { animation-delay: .12s }
.hero__title .line:nth-child(1) .w:nth-child(3) { animation-delay: .19s }
.hero__title .line:nth-child(2) .w { animation-delay: .3s }
@keyframes up { to { transform: none; } }
.period { display: inline-block; width: .17em; height: .17em; border-radius: 50%; background: var(--red); margin-left: .04em; vertical-align: baseline; transform: scale(0); animation: dot .6s .85s cubic-bezier(.3,1.8,.5,1) forwards; }
@keyframes dot { to { transform: scale(1); } }

.hero__odd { display: flex; flex-wrap: wrap; gap: .25em .3em; margin-top: 22px; font: 700 clamp(22px, 2.4vw, 36px)/1 var(--sans); letter-spacing: -.02em; }
.odd { display: inline-block; padding: .18em .5em .24em; border-radius: 999px; background: var(--ink); color: var(--paper); opacity: 0; transform: translateY(30px) rotate(calc(var(--r) * 4)); animation: odd .8s var(--d) cubic-bezier(.3,1.5,.5,1) forwards; }
.odd--red { background: var(--red); color: #fff; }
.odd--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.odd:empty { display: none; }
/* Når indgangsanimationen er færdig, overtager .is-in, så hover aldrig genstarter animationen (pillerne forsvandt før).
   Hover på sætningen: pillerne retter sig op på linje. Hover på én pille: den hopper op. */
.hero__odd.is-in .odd { animation: none; opacity: 1; transform: rotate(var(--r)); transition: transform .5s cubic-bezier(.3,1.6,.5,1), background-color .25s, color .25s; transition-delay: calc(var(--k, 0) * 35ms); }
@media (hover: hover) {
  .hero__odd.is-in:hover .odd { transform: rotate(0deg); }
  .hero__odd.is-in .odd:hover { transform: translateY(-6px) rotate(calc(var(--r) * -1.5)) scale(1.06); transition-delay: 0s; }
  .hero__odd.is-in .odd:not(.odd--red):not(.odd--outline):hover { background: var(--red); }
}
@keyframes odd { to { opacity: 1; transform: rotate(var(--r)); } }

.hero__lede { margin-top: 34px; max-width: 40ch; font-size: clamp(18px, 1.4vw, 21px); color: var(--ink-soft); opacity: 0; animation: fade .9s 1.4s forwards; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; animation: fade .9s 1.55s forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

.hero__portrait { position: relative; margin: 0; aspect-ratio: 1; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero__portrait img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: cover; object-position: 50% 28%; border-radius: 50%; filter: grayscale(1) contrast(1.06); clip-path: circle(0% at 50% 50%); animation: iris 1.4s .35s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes iris { to { clip-path: circle(50% at 50% 50%); } }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--red); stroke-width: .7; stroke-dasharray: 305; stroke-dashoffset: 305; animation: ring 1.8s .5s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.hero__node { position: absolute; left: 0; top: 50%; width: 1px; height: 1px; }
.hero__node--out { left: 50%; top: 100%; }
.sticker { position: absolute; right: 2%; bottom: 8%; background: var(--red); color: #fff; font: 700 15px/1 var(--sans); padding: .8em 1.1em; border-radius: 999px; transform: rotate(-8deg) scale(0); animation: sticker .7s 1.7s cubic-bezier(.3,1.8,.5,1) forwards; }
@keyframes sticker { to { transform: rotate(-8deg) scale(1); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1.5px solid var(--ink); overflow: hidden; padding: 18px 0; background: var(--paper); position: relative; z-index: 4; }
.marquee__track { display: flex; gap: 32px; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font: 400 clamp(26px, 3vw, 44px)/1 var(--serif); white-space: nowrap; }
.marquee b { font: 300 clamp(22px, 2.4vw, 36px)/1 var(--sans); color: var(--red); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 100px) var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font: 400 clamp(64px, 8vw, 128px)/.9 var(--serif); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font: 500 17px/1.3 var(--sans); color: var(--ink-soft); }
.stat:nth-child(2) b { color: var(--red); }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--gutter); }
.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.split .ch { display: inline-block; transform: translateY(40%) rotate(4deg); opacity: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s; transition-delay: calc(var(--i) * 22ms); }
.split.is-visible .ch { transform: none; opacity: 1; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- talks ---------- */
.themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.theme {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3vw, 44px); border: 1.5px solid var(--ink); border-radius: 28px; background: var(--paper);
  transition: color .45s;
}
.theme::before { content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.theme:hover::before { transform: scale(180); }
.theme:hover { color: #fff; }
.theme:hover p { color: rgba(255,255,255,.9); }
.theme__icon { width: 80px; height: 40px; margin-bottom: 26px; overflow: visible; }
.theme__icon circle { fill: none; stroke: currentColor; stroke-width: 2; }
.theme__icon path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1); }
.theme.is-visible .theme__icon path { stroke-dashoffset: 0; }
.theme:hover .theme__icon path { stroke: #fff; }
.theme h3 { font: 400 clamp(26px, 2.4vw, 36px)/1.14 var(--serif); letter-spacing: -.01em; margin-bottom: 14px; max-width: 18ch; }
.theme p { color: var(--ink-soft); transition: color .45s; }
.talks__formats { margin-top: 28px; font-style: italic; color: var(--ink-soft); }

/* ---------- socks ---------- */
.socks { position: relative; z-index: 4; height: clamp(520px, 90vh, 900px); overflow: hidden; background: var(--ink); color: #fff; display: grid; align-items: end; }
.socks__img { position: absolute; inset: -12% 0; will-change: transform; }
.socks__img img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.socks::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(21,19,15,.95) 0%, rgba(21,19,15,.75) 40%, rgba(21,19,15,0) 85%); }
.socks blockquote { position: relative; z-index: 2; margin: 0; padding: clamp(32px, 6vw, 96px) var(--gutter); max-width: 1200px; }
.socks p { font: 400 clamp(30px, 4.2vw, 62px)/1.16 var(--serif); letter-spacing: -.015em; }
.socks .wd { opacity: .18; transition: opacity .3s; }
.socks .wd.on { opacity: 1; }
.socks cite { display: block; margin-top: 24px; font: 600 16px/1 var(--sans); font-style: normal; color: var(--red-on-dark); }

/* ---------- game ---------- */
.game__wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: stretch; }
.board {
  position: relative; min-height: 560px; border-radius: 32px; background: var(--ink); overflow: hidden; touch-action: none;
  background-image: radial-gradient(rgba(244,240,232,.09) 1.2px, transparent 1.2px); background-size: 26px 26px;
}
.board__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.board__lines .link { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.board__lines .link--near { stroke: #f4f0e8; stroke-dasharray: 2 9; }
.board__lines .rubber { fill: none; stroke: rgba(244,240,232,.6); stroke-width: 2; stroke-dasharray: 6 8; animation: march 1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -28; } }
.board__lines .tag { fill: var(--paper); font: 700 12px var(--sans); }
.board__lines .tagbg { fill: var(--red); }
.board__nodes { position: absolute; inset: 0; transition: opacity .3s; }
.board.is-asking .node:not(.is-selected) { opacity: .25; pointer-events: none; }
.node {
  position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px;
  background: var(--paper); color: var(--ink); border: 0; border-radius: 999px; padding: 12px 18px 12px 12px; cursor: pointer;
  font: 700 clamp(15px, 1.3vw, 19px)/1 var(--sans); white-space: nowrap; user-select: none; -webkit-user-select: none;
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .3s, background .3s;
  animation: nodeIn .6s cubic-bezier(.3,1.6,.5,1) backwards; animation-delay: calc(var(--i) * 60ms);
}
@keyframes nodeIn { from { transform: translate(-50%, -50%) scale(0); } }
.node i { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--paper); flex: none; transition: background .3s, border-color .3s; }
.node small { font: 500 11px/1 var(--sans); color: var(--ink-soft); }
.node:hover { transform: translate(-50%, -50%) scale(1.08); }
.node.is-selected { background: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(226,0,26,.3); }
.node.is-selected i { background: #fff; border-color: #fff; }
.node.is-selected small { color: rgba(255,255,255,.8); }
.node.is-linked i { background: var(--red); border-color: var(--red); }
.node.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translate(-54%, -50%) } 75% { transform: translate(-46%, -50%) } }
.pop { position: absolute; transform: translate(-50%, -50%); pointer-events: none; font: 800 22px/1 var(--sans); color: #fff; text-align: center; animation: popUp 1.6s ease-out forwards; z-index: 5; white-space: nowrap; }
.pop small { display: block; font: 600 13px/1.2 var(--sans); color: var(--paper); margin-top: 4px; }
@keyframes popUp { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6) } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) } 70% { opacity: 1 } 100% { opacity: 0; transform: translate(-50%, -140%) } }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--red); pointer-events: none; animation: spark .8s ease-out forwards; z-index: 4; }
@keyframes spark { to { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; } }

.ask {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); z-index: 6;
  background: var(--paper); border-radius: 22px; padding: 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); animation: askIn .35s cubic-bezier(.3,1.5,.5,1);
}
@keyframes askIn { from { transform: translate(-50%, 30px); opacity: 0; } }
.ask__q { display: block; font: 400 22px/1.15 var(--serif); margin-bottom: 12px; }
.ask__q em { font-style: normal; color: var(--red-text); }
.ask__row { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; font: 400 17px/1.3 var(--sans); border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; background: #fff; }
.ask__cancel { margin-top: 8px; background: none; border: 0; padding: 4px 0; font: 500 14px var(--sans); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

.result { position: absolute; inset: 0; z-index: 7; display: grid; place-content: center; text-align: center; padding: 32px; background: rgba(21,19,15,.86); color: var(--paper); animation: fade .5s; }
.result__kicker { font: 600 16px var(--sans); color: var(--red-on-dark); }
.result__title { font: 400 clamp(40px, 5vw, 72px)/1.08 var(--serif); margin: 10px auto 16px; max-width: 14ch; }
.result__text { max-width: 46ch; margin: 0 auto; color: rgba(244,240,232,.85); }
.result__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.result .btn--ghost { --fg: var(--paper); border-color: var(--paper); }
.result .btn { --bg: var(--paper); --fg: var(--ink); }

.panel { border: 1.5px solid var(--ink); border-radius: 32px; padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font: 600 16px/1.2 var(--sans); color: var(--ink-soft); transition: color .3s; }
.steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font: 700 14px/1 var(--sans); transition: background .3s, color .3s, border-color .3s; }
.steps li.is-active { color: var(--ink); }
.steps li.is-active b { background: var(--red); border-color: var(--red); color: #fff; }
.score { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.score__num { font: 400 72px/.9 var(--serif); color: var(--red); font-variant-numeric: tabular-nums; display: inline-block; }
.score__num.bump { animation: bump .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 50% { transform: scale(1.3) } }
.score__label { font: 600 16px var(--sans); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.legend li { display: flex; gap: 10px; align-items: flex-start; }
.chip { flex: none; width: 26px; height: 3px; margin-top: 8px; border-radius: 3px; }
.chip--near { background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 7px); }
.chip--far { background: var(--red); }
.chip--bonus { width: 10px; height: 10px; margin: 4px 8px 0; border-radius: 50%; background: var(--red); }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 200px; overflow: auto; }
.log li { font-size: 14px; line-height: 1.35; padding: 10px 12px; border-radius: 14px; background: var(--paper-2); animation: fade .4s; }
.log b { display: block; font-weight: 700; }
.log em { font-style: normal; color: var(--red-text); font-weight: 700; float: right; }
.panel__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- books ---------- */
.feature { display: grid; grid-template-columns: minmax(220px, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-bottom: clamp(60px, 8vw, 110px); }
.feature__cover { position: relative; padding: 0 14% 30px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.feature__cover .book { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1.2deg); } }
.feature__cover::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 0; height: 16px; border-radius: 50%; background: rgba(21,19,15,.22); filter: blur(10px); animation: shadow 6s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scaleX(.82); opacity: .6; } }
.feature__copy h3 { font: 400 clamp(36px, 4vw, 64px)/1.1 var(--serif); letter-spacing: -.02em; margin: 14px 0 12px; max-width: 13ch; }
.feature__by { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }
.feature__copy > p:last-child { max-width: 50ch; }

/* Bøger: flad forside + papirkanter + ryg-highlight + skygge. Skarpt og ens for alle titler. */
.book { position: relative; border-radius: 2px 5px 5px 2px; box-shadow:
  1px 1px 0 #e8e3d9, 2px 2px 0 #fbfaf6, 3px 3px 0 #e8e3d9, 4px 4px 0 #fbfaf6, 5px 5px 0 #ddd7cb,
  0 24px 34px -16px rgba(21,19,15,.5), 0 2px 6px rgba(21,19,15,.12); }
.book img { width: 100%; border-radius: inherit; }
.book::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.16) 0, rgba(255,255,255,.35) 1.2%, rgba(0,0,0,.08) 3%, rgba(0,0,0,0) 6%),
              linear-gradient(115deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%); }
.book--box { border-radius: 4px; box-shadow: 4px 4px 0 #2a2622, 0 24px 34px -16px rgba(21,19,15,.5); }
.book--box::after { background: linear-gradient(115deg, rgba(255,255,255,.16), rgba(255,255,255,0) 45%); }
.book--xl { box-shadow:
  1px 1px 0 #e8e3d9, 2px 2px 0 #fbfaf6, 3px 3px 0 #e8e3d9, 4px 4px 0 #fbfaf6, 5px 5px 0 #e8e3d9, 6px 6px 0 #fbfaf6, 7px 7px 0 #ddd7cb,
  0 40px 50px -24px rgba(21,19,15,.55); }

.shelf { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(18px, 2.6vw, 40px); align-items: end; padding-bottom: 26px; border-bottom: 10px solid var(--ink); }
.item { margin: 0; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.item.reveal { opacity: 0; transform: none; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.item.reveal.is-visible { opacity: 1; animation: drop 1.1s calc(var(--i) * 90ms) cubic-bezier(.3,1.45,.5,1) backwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-80px) rotate(calc((var(--i) - 2.5) * 4deg)); } }
.item figcaption { margin-top: 18px; font: 600 14px/1.3 var(--sans); min-height: 3.9em; }
.books__more { margin-top: 26px; color: var(--ink-soft); font-style: italic; }

/* ---------- schools ---------- */
.schools { position: relative; z-index: 4; background: var(--red); color: #fff; overflow: hidden; }
.schools__dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.schools__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 170px) var(--gutter); pointer-events: none; }
.schools__inner a { pointer-events: auto; }
.schools h2 { color: #fff; }
.schools p { margin: 26px 0 34px; max-width: 54ch; font-size: clamp(18px, 1.4vw, 21px); }
.schools .hint { margin: 26px 0 0; font-size: 14px; opacity: .75; font-style: italic; }

/* ---------- about ---------- */
.about__hero { height: clamp(380px, 70vh, 760px); overflow: hidden; clip-path: inset(12% 12% 12% 12% round 40px); transition: clip-path 1.4s cubic-bezier(.6,0,.2,1); }
.about__hero.is-visible { clip-path: inset(0 0 0 0 round 0); }
.about__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1); transform: scale(1.15); transition: transform 2s cubic-bezier(.2,.8,.2,1); }
.about__hero.is-visible img { transform: scale(1); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 40px; }
.about__cols .lede { margin-top: 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 136px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.timeline b { font: 400 23px/1.1 var(--serif); color: var(--red); overflow-wrap: anywhere; }

/* ---------- press ---------- */
.press { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.press blockquote { margin: 0; }
.press blockquote p { font: 400 clamp(34px, 4vw, 60px)/1.14 var(--serif); letter-spacing: -.015em; }
.press cite { display: block; margin-top: 18px; font: 600 15px var(--sans); font-style: normal; color: var(--red-text); }
.press__list { list-style: none; margin: 0; padding: 0; }
.press__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.press__list em { font-weight: 400; color: var(--ink-soft); text-align: right; }
.press__list a { text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.press__list a:hover { background-size: 100% 2px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact__title { font: 400 clamp(56px, 8vw, 128px)/.96 var(--serif); letter-spacing: -.03em; }
.contact__mail { display: inline-block; margin-top: 34px; font: 700 clamp(18px, 1.8vw, 26px)/1 var(--sans); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 3px no-repeat; padding-bottom: 6px; word-break: break-all; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.form label { display: grid; gap: 8px; font: 600 14px/1 var(--sans); }
.form__wide, .form .btn { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; padding: 13px 16px; width: 100%; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 4; background: var(--ink); color: var(--paper); padding: 56px var(--gutter); display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; font-size: 15px; }
.footer p:first-child { font-weight: 700; }
.footer a { color: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .game__wrap { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .shelf { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__portrait { width: min(78vw, 420px); justify-self: end; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .themes, .about__cols, .press, .contact, .feature { grid-template-columns: 1fr; }
  .feature__cover { max-width: 300px; }
  .board { min-height: 620px; }
}
@media (max-width: 560px) {
  .nav { padding-block: 12px; }
  .nav__brand { font-size: 22px; }
  .nav__actions .btn--small { display: none; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .node { padding: 9px 13px 9px 9px; gap: 7px; }
  .node small { display: none; }
  .theme { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--paper); display: grid; place-content: center; justify-items: center; gap: 6px;
  clip-path: circle(150vmax at var(--x, 50%) var(--y, 50%)); transition: clip-path 1.05s cubic-bezier(.75,0,.2,1); cursor: pointer; }
.intro.is-out { clip-path: circle(0px at var(--x, 50%) var(--y, 50%)); }
.intro__svg { width: min(560px, 82vw); overflow: visible; }
.intro__line { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 760; stroke-dashoffset: 760; }
.intro.is-playing .intro__line { animation: introLine 1.15s .45s cubic-bezier(.6,0,.25,1) forwards; }
@keyframes introLine { to { stroke-dashoffset: 0; } }
.intro__a, .intro__b { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.intro__a { fill: var(--ink); }
.intro__b { fill: var(--red); }
.intro.is-playing .intro__a { animation: introDot .5s .1s cubic-bezier(.3,1.9,.5,1) forwards; }
.intro.is-playing .intro__b { animation: introDot .5s 1.45s cubic-bezier(.3,1.9,.5,1) forwards; }
@keyframes introDot { to { transform: scale(1); } }
.intro__name { font: 400 clamp(40px, 6vw, 76px)/1.1 var(--serif); letter-spacing: -.02em; overflow: hidden; margin-top: 4px; }
.intro__name span { display: inline-block; transform: translateY(110%); }
.intro.is-playing .intro__name span:first-child { animation: up .9s 1.15s cubic-bezier(.2,.8,.2,1) forwards; }
.intro.is-playing .intro__name span:last-child { animation: up .9s 1.25s cubic-bezier(.2,.8,.2,1) forwards; }
.intro__tag { font: italic 500 16px/1 var(--sans); color: var(--ink-soft); opacity: 0; }
.intro.is-playing .intro__tag { animation: fade .8s 1.5s forwards; }
body.is-loading { overflow: hidden; }
body.is-loading .hero *, body.is-loading .hero { animation-play-state: paused !important; }

/* ---------- extra motion ---------- */
.nav { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.nav.is-hidden { transform: translateY(-100%); }
body.menu-open .nav { transform: none !important; }
.btn { transition: color .35s, border-color .35s, transform .35s cubic-bezier(.2,.8,.2,1); }
.marquee__track span { display: inline-block; }
.timeline li { position: relative; }
.timeline li::after { content: ""; position: absolute; left: -22px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .5s cubic-bezier(.3,1.8,.5,1) .3s; }
.timeline li.is-visible::after { transform: scale(1); }
.footer { flex-direction: column; gap: 32px; }
.footer__row { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__word { font: 400 clamp(40px, 14.5vw, 240px)/.9 var(--serif); letter-spacing: -.04em; white-space: nowrap; overflow: hidden; color: var(--paper); margin: 0; }
.footer__word span { display: inline-block; transform: translateY(100%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 40ms); }
.footer__word.is-visible span { transform: none; }
.footer__word span:last-child { color: var(--red); }
@media (max-width: 860px) { .timeline li::after { display: none; } }

/* ---------- v1.1 (19-10-2026): undervisningsemner, priser, Creative Circle, FourSight ---------- */
.lede--hook { font: 400 clamp(26px, 2.6vw, 38px)/1.15 var(--serif); color: var(--ink); max-width: 24ch; }
.teaches { margin-top: 48px; }
.teaches h3 { font: 600 18px/1 var(--sans); margin: 0 0 16px; }
.teaches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.teaches li { font: 600 15px/1 var(--sans); padding: .7em 1em; border: 1.5px solid var(--ink); border-radius: 999px; transition: background-color .25s, color .25s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.teaches li:nth-child(3n+2) { transform: rotate(-1.5deg); } .teaches li:nth-child(4n+3) { transform: rotate(1.5deg); }
.teaches li:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px) rotate(0); }
.about__text p:not(.lede) { color: var(--ink-soft); max-width: 58ch; margin-top: 18px; font-size: 17px; }
.awards__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(24px, 5vw, 80px); }
.awards__list li { font: 400 clamp(24px, 2.6vw, 38px)/1.2 var(--serif); padding: 12px 0; border-bottom: 1px solid rgba(21,19,15,.15); break-inside: avoid; display: flex; gap: 14px; align-items: baseline; }
.awards__list li::before { content: "+"; font: 300 .8em/1 var(--sans); color: var(--red); }
.awards__honours { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.awards__honours li { background: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 6px; align-content: start; box-shadow: 0 1px 0 rgba(21,19,15,.08); }
.awards__honours b { font: 400 34px/1 var(--serif); color: var(--red); }
.awards__honours span { font: 700 16px/1.25 var(--sans); }
.awards__honours em { font-style: normal; font-size: 14px; color: var(--ink-soft); line-height: 1.4; }
.cc { background: var(--ink); color: var(--paper); padding: clamp(80px, 10vw, 150px) var(--gutter); position: relative; overflow: hidden; }
.cc::after { content: ""; position: absolute; right: -12vw; top: -12vw; width: 40vw; height: 40vw; border-radius: 50%; border: 2px solid var(--red); opacity: .5; }
.cc__inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.cc__hook { font: italic 600 18px/1 var(--sans); color: var(--red-on-dark); margin: 0 0 18px; }
.cc h2 { color: #fff; }
.cc__cols { columns: 2; column-gap: clamp(28px, 5vw, 80px); margin-top: 40px; }
.cc__cols p { color: rgba(244,240,232,.82); margin: 0 0 18px; break-inside: avoid; }
.cc__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn--light-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.5); }
.foursight__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.foursight__grid p:not(.lede) { color: var(--ink-soft); max-width: 52ch; margin: 18px 0 26px; }
.four { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.four li { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 400 clamp(20px, 2vw, 28px)/1 var(--serif); color: #fff; transform: scale(.6) rotate(-20deg); opacity: 0; transition: transform .9s cubic-bezier(.3,1.6,.5,1), opacity .6s; transition-delay: calc(var(--i) * 120ms); }
.four li:nth-child(1) { background: var(--ink); } .four li:nth-child(2) { background: var(--red); } .four li:nth-child(3) { background: #e8a33d; color: var(--ink); } .four li:nth-child(4) { background: #2f7d55; }
.four.is-in li { transform: none; opacity: 1; }
.four li:hover { transform: scale(1.06) rotate(-4deg); }
.contact__lines { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__lines li { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.contact__lines span { width: 3.4em; font: 600 14px/1 var(--sans); color: var(--ink-soft); }
.contact__lines a { font: 700 clamp(19px, 1.9vw, 27px)/1.2 var(--sans); text-decoration: none; background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 3px no-repeat; padding-bottom: 5px; transition: background-size .3s, color .3s; overflow-wrap: anywhere; }
.contact__lines a:hover { background-size: 100% 100%; color: #fff; }
.link-arrow { display: inline-block; margin-top: 18px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); }
.link-arrow::after { content: " →"; color: var(--red); }
.item > a { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-decoration: none; }
.item > a:hover figcaption { color: var(--red-text); }
.footer__legal { max-width: var(--max); margin: 30px auto 0; padding: 0 var(--gutter); font-size: 13px; line-height: 1.5; opacity: .7; }
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--k, 0) * 50ms); }
.reveal-up.is-in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .awards__list, .cc__cols { columns: 1; }
  .awards__honours { grid-template-columns: 1fr 1fr; }
  .foursight__grid { grid-template-columns: 1fr; }
  .four { max-width: 340px; }
}
@media (max-width: 480px) { .awards__honours { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .four li, .reveal-up { opacity: 1; transform: none; transition: none; } }

/* ---------- Burger-menu (under 1100 px): fuldskærm med store serif-links, der glider op én efter én ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; }
.burger span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1100px) {
  .burger { display: block; }
  .nav__links { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--gutter) 40px; background: var(--paper); clip-path: circle(0 at calc(100% - 40px) 34px); transition: clip-path .7s cubic-bezier(.7,0,.2,1); visibility: hidden; }
  .nav__links.is-open { clip-path: circle(150vmax at calc(100% - 40px) 34px); visibility: visible; }
  .nav__links a { font: 400 clamp(38px, 9vw, 64px)/1.1 var(--serif); padding: 4px 0; background: none; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), color .2s; }
  .nav__links.is-open a { opacity: 1; transform: none; }
  .nav__links.is-open a:nth-child(1) { transition-delay: .18s; } .nav__links.is-open a:nth-child(2) { transition-delay: .23s; }
  .nav__links.is-open a:nth-child(3) { transition-delay: .28s; } .nav__links.is-open a:nth-child(4) { transition-delay: .33s; }
  .nav__links.is-open a:nth-child(5) { transition-delay: .38s; } .nav__links.is-open a:nth-child(6) { transition-delay: .43s; }
  .nav__links.is-open a:nth-child(7) { transition-delay: .48s; }
  .nav__links a:hover { color: var(--red); }
  .nav__brand, .nav__actions { position: relative; z-index: 2; }
}

/* Ingen vandret scroll på iPhone (Safari ignorerer nogle gange overflow-x: hidden på body) */
html, body { overflow-x: clip; }
