/* Spoonbender
   Én skrift, der kan bøjes: Archivo går fra smal og fed (64 %) til bred og let (125 %).
   Kontrasten mellem de to yderpunkter er sitets typografiske signatur. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #0c0b10;
  --ink-2: #13111a;
  --ink-3: #1a1823;
  --paper: #f2efe8;
  --white: #fbfaf7;
  --stone: #d3cfc6;
  --violet: #5b36ff;
  --violet-soft: #8f78ff;
  --acid: #d4ff3a;

  --muted-dark: rgba(242, 239, 232, 0.66);
  --muted-light: rgba(12, 11, 16, 0.66);
  --line-dark: rgba(242, 239, 232, 0.14);
  --line-light: rgba(12, 11, 16, 0.14);
  --chrome: linear-gradient(100deg, #8d8aa3 0%, #f7f6ff 22%, #a9a6c3 38%, #ffffff 52%, #6f6c88 66%, #dedbff 82%, #9c99b6 100%);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --gap: clamp(6px, 0.8vw, 12px);
  --radius: clamp(18px, 2.4vw, 36px);
  --max: 1320px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.3, 1.45, 0.5, 1);

  --accent: var(--acid);
  --muted: var(--muted-dark);
  --focus: var(--acid);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Fin kornstruktur, så de store flader ikke føles digitale og døde. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul { margin: 0; }
em { font-style: normal; font-weight: 300; font-stretch: 125%; }

::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -100px; z-index: 200;
  background: var(--acid); color: var(--ink);
  padding: 0.7em 1.1em; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- typografi ---------- */

.wide { font-weight: 250; font-stretch: 125%; letter-spacing: -0.03em; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 1.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.h2 {
  max-width: 17ch;
  margin-bottom: 0.45em;
  font-size: clamp(2.4rem, 1.3rem + 4.6vw, 5.8rem);
  font-weight: 800;
  font-stretch: 70%;
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lead {
  max-width: 46ch;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- knapper ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  font-stretch: 100%;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: font-stretch 0.45s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.45s var(--spring);
}
.btn:hover { font-stretch: 122%; }
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--acid); }
.btn-line { border-color: currentColor; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink-line { border-color: var(--ink); color: var(--ink); }
.btn-small { padding: 0.75em 1.15em; font-size: 0.92rem; }

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  color: var(--paper);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(12, 11, 16, 0.66);
  border: 1px solid rgba(242, 239, 232, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo-mark { width: 28px; height: 28px; flex: none; overflow: visible; }

/* Ordet bliver trukket mod gitteret: bogstaverne tættest på strækkes brede og lette. */
.logo-word { display: inline-flex; }
.logo-word .lt {
  display: inline-block;
  font-weight: 800;
  font-stretch: 78%;
  transform-origin: 0 100%;
  transition:
    transform 0.7s cubic-bezier(0.3, 1.35, 0.5, 1) calc(var(--i) * 24ms),
    font-stretch 0.7s var(--ease) calc(var(--i) * 24ms),
    font-weight 0.7s var(--ease) calc(var(--i) * 24ms);
}
.logo:hover .lt,
.logo:focus-visible .lt {
  font-stretch: calc((78 + 47 * var(--k)) * 1%);
  font-weight: calc(800 - 520 * var(--k));
  transform: translate(calc(var(--k) * -0.06em), calc(var(--k) * 0.12em)) rotate(calc(var(--k) * -7deg));
}

.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-menu a {
  padding: 0.62em 0.95em;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, font-stretch 0.35s var(--ease);
}
.nav-menu a:hover { background: rgba(242, 239, 232, 0.08); }
.nav-menu a[aria-current="true"] { color: var(--acid); }
.nav-menu .nav-cta { background: var(--paper); color: var(--ink); font-weight: 600; }
.nav-menu .nav-cta:hover { background: var(--acid); }

.nav-toggle {
  display: none;
  padding: 0.72em 1.15em;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: -2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.1rem;
    padding: 96px var(--gutter) 48px;
    background: var(--violet);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; }
  .nav-menu a,
  .nav-menu .nav-cta {
    padding: 0.08em 0;
    background: none;
    color: var(--paper);
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    font-weight: 800;
    font-stretch: 70%;
    line-height: 1.05;
  }
  .nav-menu a:hover,
  .nav-menu .nav-cta:hover { background: none; font-stretch: 110%; font-weight: 300; }
  .nav-menu .nav-cta { color: var(--acid); }
}

/* ---------- sektioner som flader ---------- */

.slab {
  position: relative;
  margin: var(--gap);
  padding-block: clamp(88px, 12vw, 180px);
  border-radius: var(--radius);
  overflow: clip;
}

.slab-light,
.mail, .dare, .you {
  background: var(--paper);
  color: var(--ink);
  --accent: var(--violet);
  --muted: var(--muted-light);
  --focus: var(--violet);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  background:
    radial-gradient(1000px 680px at 80% 42%, rgba(91, 54, 255, 0.26), transparent 62%),
    var(--ink);
}
.hero.is-grabbing { cursor: grabbing; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 132px 96px;
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; cursor: auto; }

.hero-title {
  --w0: 850; --w1: 250; --s0: 64; --s1: 125;
  max-width: 13ch;
  margin: 0.1em 0 0.34em;
  font-size: clamp(3.2rem, 0.8rem + 6.6vw, 8.6rem);
  font-weight: 850;
  font-stretch: 64%;
  line-height: 0.86;
  letter-spacing: -0.02em;
}
.hero-title .wide { --w0: 250; --w1: 850; --s0: 125; --s1: 64; display: block; }
@media (min-width: 700px) { .hero-title .wide { white-space: nowrap; } }

.hero-lead {
  max-width: 50ch;
  color: var(--muted-dark);
  font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.28rem);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.2rem; }

.grid-hint {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4em 1.4em;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  pointer-events: none;
  transition: opacity 0.6s;
}
.grid-hint span { color: var(--acid); }
.grid-hint span::after { content: " →"; display: inline-block; animation: nudge 2s var(--ease) infinite; }
.hero.is-touched .grid-hint span { opacity: 0; transition: opacity 0.6s; }
.no-js .grid-hint span, .no-js .hero { cursor: auto; }
.no-js .grid-hint span { display: none; }

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero-inner { padding-block: 112px 104px; }
  .grid-hint { left: var(--gutter); justify-content: flex-start; }
}

/* ---------- ticker ---------- */

.ticker {
  margin: var(--gap);
  overflow: hidden;
  padding: 15px 0;
  border-radius: 999px;
  background: var(--violet);
  color: var(--paper);
}
.ticker-track {
  display: flex;
  width: max-content;
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: ticker 48s linear infinite;
  transform: skewX(var(--skew, 0deg));
}
.ticker-track span,
.ticker-track i { margin-right: 1.4rem; }
.ticker-track i { font-style: normal; color: var(--acid); }

@keyframes ticker { to { translate: -50% 0; } }

/* ---------- idéen: processen opløses ---------- */

.melt { position: relative; margin: var(--gap); }
.js .melt { height: 400vh; }

.melt-sticky {
  --pad: clamp(96px, 13vh, 132px);
  --left: max(var(--gutter), (100% - var(--max)) / 2);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--pad) var(--gutter) 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  color: var(--ink);
}
.js .melt-sticky {
  position: sticky;
  top: var(--gap);
  height: calc(100svh - 2 * var(--gap));
}

.melt-beats {
  position: relative;
  width: min(100%, var(--max));
  margin-inline: auto;
}
.js .melt-beats { position: static; height: clamp(6.5rem, 22vh, 12rem); }

.beat {
  max-width: 24ch;
  margin: 0 0 0.6em;
  font-size: clamp(1.6rem, 0.9rem + 2.8vw, 3.4rem);
  font-weight: 700;
  font-stretch: 78%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.js .beat { position: absolute; top: var(--pad); left: var(--left); margin: 0; opacity: 0; will-change: opacity, transform; }

.beat-big {
  max-width: 18ch;
  font-size: clamp(2.4rem, 1.1rem + 5vw, 6rem);
  font-weight: 800;
  font-stretch: 68%;
  line-height: 0.93;
}
.js .beat-big { top: 50%; color: var(--paper); }

.melt-stage { position: relative; flex: 1; min-height: 0; }
.no-js .melt-stage, .melt.is-static .melt-stage { display: none; }
.melt-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.flow-box path.shape { stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.flow-box text { font-family: var(--mono); font-size: 15px; letter-spacing: 0.01em; fill: currentColor; }
.flow-arrow { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.flow-core text { font-family: var(--sans); font-weight: 700; font-stretch: 85%; fill: var(--ink); }

.melt-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.4s;
}
.melt-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 8px auto 0;
  background: currentColor;
  animation: cue 1.8s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.no-js .melt-cue, .melt.is-static .melt-cue { display: none; }

/* Statisk version (uden JavaScript eller med reduceret bevægelse). */
.melt.is-static { height: auto; }
.melt.is-static .melt-sticky { position: relative; top: 0; height: auto; padding-block: clamp(88px, 12vw, 160px); }
.melt.is-static .melt-beats { height: auto; }
.melt.is-static .beat { position: static; opacity: 1; transform: none; margin-bottom: 0.6em; }
.melt.is-static .beat-big { margin-top: 0.8em; color: var(--ink); }

/* ---------- mailen ---------- */

.mail-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 72px);
  transition: grid-template-columns 1s var(--ease);
}
.mail-stage.is-direct { grid-template-columns: minmax(0, 1fr) minmax(0, 0fr) minmax(0, 1fr); }

.mail-col {
  min-width: 0;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: var(--white);
  transition: opacity 0.6s var(--ease), padding 1s var(--ease), border-color 0.6s;
}
.mail-stage.is-direct .mail-doc { opacity: 0; padding-inline: 0; border-color: transparent; }

.mail-label {
  margin-bottom: 1.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-points {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.25;
}
.mail-points li { display: flex; gap: 0.55em; }
.mail-points li::before { content: "—"; color: var(--violet); }

.mail-count { margin: 0; font-family: var(--mono); font-size: 0.82rem; color: var(--violet); }

.doc {
  position: relative;
  height: clamp(220px, 26vw, 340px);
  margin-bottom: 1.4rem;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.6;
  color: #3b3946;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, #000 78%, transparent);
}
.doc-text p { margin: 0 0 0.85em; }

.js .mail-to .mail-points li { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.js .mail-to .mail-points li.is-on { opacity: 1; transform: none; }
.js .mail-to .mail-count { opacity: 0; transition: opacity 0.4s; }
.js .mail-to.is-done .mail-count { opacity: 1; }

.mail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; min-height: 3.2rem; margin-top: 1.6rem; }

.punch {
  max-width: 21ch;
  margin: clamp(40px, 6vw, 88px) 0 1.6rem;
  font-size: clamp(2rem, 1rem + 3.4vw, 4rem);
  font-weight: 800;
  font-stretch: 72%;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.js .punch { opacity: 0.12; transition: opacity 0.9s var(--ease); }
.js .punch.is-on { opacity: 1; }

.mail-body { max-width: 52ch; color: var(--muted-light); font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); }

@media (max-width: 760px) {
  .mail-stage,
  .mail-stage.is-direct { grid-template-columns: minmax(0, 1fr); }
  .mail-doc { max-height: 640px; transition: opacity 0.5s, max-height 0.9s var(--ease), padding 0.9s var(--ease), margin 0.9s; }
  .mail-stage.is-direct .mail-doc { max-height: 0; padding-block: 0; margin-block: -12px; overflow: hidden; }
  .doc { height: 200px; }
}

/* ---------- hvad nu hvis ---------- */

.whatif {
  background: var(--violet);
  color: var(--paper);
  --muted: rgba(242, 239, 232, 0.8);
}

.whatif-q {
  max-width: 19ch;
  margin: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px);
  font-size: clamp(2.3rem, 1rem + 5.4vw, 6.4rem);
  font-weight: 800;
  font-stretch: 68%;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.whatif-pre { font-weight: 250; font-stretch: 125%; letter-spacing: -0.03em; }

.slot {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.slot > span {
  display: inline-block;
  transition: transform 0.65s var(--ease), opacity 0.65s var(--ease);
}
.slot[data-slot="0"] > span,
.slot[data-slot="1"] > span {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.12em;
  text-decoration-color: rgba(212, 255, 58, 0.7);
}
.slot.is-out > span { transform: translateY(-110%); opacity: 0; }
.slot.is-in > span { transform: translateY(110%); opacity: 0; transition: none; }

.slot-follow {
  display: block;
  margin-top: 0.7em;
  font-size: 0.42em;
  font-weight: 300;
  font-stretch: 112%;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--acid);
}

.whatif-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- workshops ---------- */

.formats {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}

.dial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
}

.dial-visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(91, 54, 255, 0.3), transparent 62%),
    var(--ink);
}
.dial-visual canvas { width: 100%; height: 100%; }
.no-js .dial-visual { display: none; }

.dial-deg {
  position: absolute;
  left: 22px;
  bottom: 14px;
  margin: 0;
  font-size: clamp(3.4rem, 2rem + 4.4vw, 6.8rem);
  font-weight: 200;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dial-label {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.no-js .dial-control { display: none; }

.dial input[type="range"] {
  --fill: 25%;
  width: 100%;
  height: 36px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.dial input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--acid) var(--fill), rgba(242, 239, 232, 0.2) var(--fill));
}
.dial input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 7px rgba(212, 255, 58, 0.16);
  transition: transform 0.3s var(--spring);
}
.dial input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.dial input[type="range"]::-moz-range-track { height: 2px; background: rgba(242, 239, 232, 0.2); }
.dial input[type="range"]::-moz-range-progress { height: 2px; background: var(--acid); }
.dial input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 7px rgba(212, 255, 58, 0.16);
}

.dial-stops { position: relative; height: 2.6rem; margin-top: 0.6rem; }
.dial-stops button {
  position: absolute;
  top: 0;
  left: calc(12px + (100% - 24px) * var(--pos));
  transform: translateX(-50%);
  padding: 0.45em 0.8em;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.dial-stops button[data-stop="360"] { transform: translateX(-80%); }
.dial-stops button:hover { border-color: var(--paper); }
.dial-stops button[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); color: var(--ink); }

.formats-list { margin-top: 2.2rem; }
.js .formats-list { min-height: 17rem; }
.js .format { display: none; }
.js .format.is-active { display: block; animation: rise 0.5s var(--ease) both; }
.js .format-deg { display: none; }
.no-js .format { padding-block: 1.6rem; border-top: 1px solid var(--line-dark); }

.format-deg { margin-bottom: 0.4rem; font-family: var(--mono); color: var(--acid); }
.format h3 {
  margin-bottom: 0.35em;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem);
  font-weight: 800;
  font-stretch: 70%;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.format-meta { margin-bottom: 1.2rem; font-family: var(--mono); font-size: 0.8rem; color: var(--acid); }
.format p:last-child { max-width: 48ch; color: var(--muted-dark); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.18rem); }

@media (max-width: 860px) {
  .dial { grid-template-columns: minmax(0, 1fr); }
  .dial-visual { aspect-ratio: 1 / 0.86; }
}

/* ---------- det kræver fire ting ---------- */

.dare-list {
  position: relative;
  margin: 2.4rem 0 3.2rem;
  padding: 0;
  list-style: none;
  border-top: 1.5px solid var(--ink);
}
/* Grænsen, som det sidste ord går over. */
.dare-list::after {
  content: "";
  position: absolute;
  top: -24px;
  bottom: -24px;
  right: 0;
  border-right: 1.5px dashed var(--ink);
  opacity: 0.55;
}

.dare-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.6rem;
  padding: 0.2em 0 0.45em;
  border-bottom: 1.5px solid var(--ink);
}

.dare-word {
  --w0: 850; --w1: 250; --s0: 64; --s1: 125;
  font-size: clamp(3.4rem, 1.2rem + 9.6vw, 11.5rem);
  font-weight: 850;
  font-stretch: 64%;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.dare-line {
  max-width: 24ch;
  color: var(--muted-light);
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
  line-height: 1.35;
  text-align: right;
}

.dare-over { flex-direction: column; align-items: flex-start; }
.dare-over .dare-word { color: var(--violet); white-space: nowrap; }
.dare-over .dare-line { text-align: left; }

.dare-after { max-width: 44ch; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); line-height: 1.4; }

@media (max-width: 640px) {
  .dare-list li { flex-direction: column; align-items: flex-start; }
  .dare-line { text-align: left; }
}

/* ---------- holdet ---------- */

.lineup { background: var(--ink-3); }

.lineup-rows { display: grid; gap: 0.05em; margin-bottom: clamp(56px, 8vw, 110px); }
.row {
  margin: 0;
  font-size: clamp(3.2rem, 1.2rem + 8.6vw, 10.5rem);
  font-weight: 850;
  font-stretch: 64%;
  line-height: 0.92;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transform: translateX(var(--x, 0px));
  will-change: transform;
}
.row-outline {
  color: transparent;
  font-weight: 300;
  font-stretch: 125%;
  -webkit-text-stroke: 1.5px var(--paper);
}
.row:nth-child(3) { color: var(--violet-soft); }

.acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.act-num { margin-bottom: 1.4rem; font-family: var(--mono); font-size: 0.8rem; color: var(--acid); }
.act h3 {
  margin-bottom: 0.55em;
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem);
  font-weight: 800;
  font-stretch: 72%;
  line-height: 1;
}
.act p { color: var(--muted-dark); }


@media (max-width: 860px) {
  .acts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- og dig? ---------- */

.you-title {
  margin-bottom: 0.35em;
  font-size: clamp(3.4rem, 1.2rem + 9.4vw, 10.5rem);
  font-weight: 850;
  font-stretch: 64%;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.you-qs {
  margin: clamp(32px, 5vw, 56px) 0;
  padding: 0;
  list-style: none;
  color: var(--violet);
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.4rem);
  font-weight: 300;
  font-stretch: 112%;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.no-js .you-qs li + li { margin-top: 0.3em; }
.js .you-qs { position: relative; min-height: 2.3em; }
.js .you-qs li { max-width: 24ch; }
.js .you-qs li:not(.is-on) {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.you-after { max-width: 50ch; font-size: 1.1rem; }
.you-after a { color: var(--violet); font-weight: 600; text-underline-offset: 0.2em; }

/* ---------- kontakt ---------- */

.contact {
  background: var(--violet);
  color: var(--paper);
  --muted: rgba(242, 239, 232, 0.82);
}
.contact-title {
  --w0: 850; --w1: 250; --s0: 64; --s1: 125;
  max-width: 11ch;
  margin-bottom: 0.4em;
  font-size: clamp(3.4rem, 1.2rem + 9vw, 10.5rem);
  font-weight: 850;
  font-stretch: 64%;
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.contact-mail {
  display: inline-flex;
  gap: 0.25em;
  margin-top: 2rem;
  padding-bottom: 0.08em;
  border-bottom: 2px solid var(--acid);
  font-size: clamp(1.6rem, 0.9rem + 3.4vw, 3.8rem);
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: font-stretch 0.6s var(--ease), font-weight 0.6s var(--ease);
}
.contact-mail:hover { font-stretch: 68%; font-weight: 800; }

/* ---------- footer ---------- */

.footer { padding: clamp(56px, 8vw, 110px) var(--gutter) 28px; overflow: hidden; }
.footer-mark {
  --w0: 850; --w1: 250; --s0: 64; --s1: 125;
  margin: 0 0 0.12em;
  font-size: 19.5vw;
  font-weight: 850;
  font-stretch: 64%;
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted-dark);
}
.footer-row p { margin: 0; }
.footer-tag { display: flex; align-items: center; gap: 0.6em; }
.footer-icon { width: 20px; height: 20px; flex: none; color: var(--paper); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--paper); }

/* ---------- bøjelige bogstaver ---------- */

.flex-vis .w { white-space: nowrap; }
.flex-vis .ch {
  font-weight: calc(var(--w0) + (var(--w1) - var(--w0)) * var(--f, 0));
  font-stretch: calc((var(--s0) + (var(--s1) - var(--s0)) * var(--f, 0)) * 1%);
  transition: font-weight 0.3s var(--ease), font-stretch 0.3s var(--ease);
}

/* ---------- indtoning ---------- */

.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .rv.is-visible { opacity: 1; transform: none; }

/* ---------- reduceret bevægelse ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .js .rv { opacity: 1; transform: none; }
}
