:root {
  --paper: #ffffff;
  --ink: #121212;
  --ink-2: #3c3d40;
  --muted: #5d5f64;
  --stone: #eceef1;
  --stone-2: #e1e4e8;
  --line: rgba(18, 18, 18, 0.1);

  --orange: #e87a00;
  --orange-hover: #d46f00;

  --wine: #4a1822;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;

  --display: "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.9, 0.25, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

html[data-lang="da"] body [lang="en"],
html[data-lang="en"] body [lang="da"] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.005em;
  margin: 0;
}
.h-hero { font-size: clamp(4.5rem, 14vw, 13rem); }
.h-page { font-size: clamp(3.5rem, 10vw, 9rem); }
.h-2 { font-size: clamp(2.25rem, 5vw, 4rem); }
.h-3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 0.95; }
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; max-width: 40ch; margin: 0; }
.body { max-width: 60ch; color: var(--ink-2); }
.body p { margin: 0 0 1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; padding: 12px var(--gutter); }
.bar {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(18, 18, 18, 0.06);
}
.wordmark {
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 800;
  font-size: 1.375rem; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  margin-right: auto;
}
.menu { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu a {
  display: flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--ink-2);
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.menu a:hover { background: var(--stone); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--stone); }
.lang button {
  appearance: none; border: 0; cursor: pointer; background: none;
  min-width: 40px; height: 34px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 700; color: var(--muted);
  transition: background-color 160ms ease-out;
}
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(18, 18, 18, 0.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease), background-color 160ms ease-out;
}
.btn:active { transform: scale(0.96); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-hover); }
.btn--soft { background: rgba(18, 18, 18, 0.08); color: var(--ink); }
.btn--soft:hover { background: rgba(18, 18, 18, 0.13); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: 0.875rem; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.arrow::after { content: "→"; margin-left: 6px; display: inline-block; transition: transform 160ms var(--ease); }
.arrow:hover::after { transform: translateX(4px); }

/* ---------- Page bands: each section has its own colour ---------- */
.band { margin: 0 auto; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px); }
.band-wrap { max-width: var(--max); margin: 8px auto 0; padding: 0 var(--gutter); }
.band--orange { background: var(--orange); color: var(--ink); }
.band--orange .eyebrow { color: rgba(18, 18, 18, 0.72); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .eyebrow, .band--ink .body { color: #b9bbc0; }
.band--stone { background: var(--stone); }
.band .lede { margin-top: 24px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.section { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 32px; flex-wrap: wrap; }

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .lede { margin-top: 28px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--stone); aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.photo-missing {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center; color: var(--muted); font-size: 0.875rem; background: var(--stone);
}

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 300px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl);
  text-decoration: none; overflow: hidden;
  transition: transform 200ms var(--ease);
}
.tile:active { transform: scale(0.985); }
.tile p { margin: 12px 0 0; max-width: 34ch; }
.tile .go {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.25rem;
  transition: transform 200ms var(--ease);
}
.tile:hover .go { transform: translateX(4px); }
.tile--orange { background: var(--orange); }
.tile--orange .go { background: var(--ink); color: var(--orange); }
.tile--ink { background: var(--ink); color: var(--paper); }
.tile--ink p { color: #b9bbc0; }
.tile--ink .go { background: var(--orange); color: var(--ink); }
.tile--stone { background: var(--stone); }
.tile--stone .go { background: var(--ink); color: var(--paper); }
.tile--wine { background: var(--wine); color: #f4eee5; }
.tile--wine p { color: #dcc8cc; font-family: "DM Sans", var(--text); }
.tile--wine .go { background: #f4eee5; color: var(--wine); }
.tj-title { font: 500 clamp(2.5rem, 4.4vw, 3.5rem)/1 "Cormorant Garamond", Georgia, serif; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.tag {
  display: inline-block; margin-left: 12px; vertical-align: middle;
  padding: 5px 11px; border-radius: 999px; font: 600 0.6875rem/1 "DM Sans", var(--text); letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(244, 238, 229, 0.16); color: #f4eee5;
}

/* Latest episode feature */
.feature { display: grid; grid-template-columns: 1.5fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--orange); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.play {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 12px 22px 12px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); color: var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-weight: 700; font-size: 0.9375rem;
  transition: transform 140ms var(--ease);
}
.player button:active .play { transform: scale(0.96); }
.play svg { width: 16px; height: 16px; }
.feature-info { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 3vw, 40px); }
.feature-info .eyebrow { color: rgba(18, 18, 18, 0.72); }
.feature-name { font-size: clamp(2.5rem, 4.4vw, 4.25rem); margin-top: 10px; }
.feature-role { margin: 14px 0 0; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Episodes */
.episodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.ep { display: block; text-decoration: none; }
.ep-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--stone); }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.ep:hover .ep-thumb img { transform: scale(1.03); }
.ep-body { padding: 14px 4px 0; }
.ep-meta { display: flex; gap: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.ep-name { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; margin-top: 4px; }
.ep-role { font-size: 0.9375rem; color: var(--ink-2); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 12px 18px; border-radius: 999px; background: var(--paper); font-size: 0.9375rem; }
.chips b { font-weight: 700; }
.chips span { color: var(--muted); }

.card { border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); }
.card--stone { background: var(--stone); }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink .body, .card--ink .eyebrow { color: #b9bbc0; }
.card--orange { background: var(--orange); }
.card--orange .eyebrow { color: rgba(18, 18, 18, 0.72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-between { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

.doc { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: var(--paper); }
.doc-text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.doc .eyebrow, .doc .body { color: #b9bbc0; }
.doc .photo { aspect-ratio: auto; min-height: 340px; border-radius: 0; background: #1f1f21; }
.doc .photo-missing { background: #1f1f21; color: #8b8d92; }

/* Talks */
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.topics li {
  display: flex; gap: 18px; align-items: baseline;
  padding: 22px 26px; border-radius: var(--r-lg); background: var(--stone);
  font-weight: 600; font-size: 1.125rem;
}
.topics li { align-items: center; }
.topics li b { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: 1.125rem; }
.facts { display: grid; gap: 20px; margin: 0; }
.facts dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.72; }
.facts dd { margin: 4px 0 0; font-size: 1.0625rem; }

/* About */
.years { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.years li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 18px 22px; border-radius: var(--r-md); background: var(--paper); }
.years b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: 1.25rem; color: var(--ink); }

/* ---------- Contact + footer ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.mail {
  display: inline-block; margin-top: 16px;
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 4rem); line-height: 0.95; text-transform: lowercase;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--orange), var(--orange)) 0 100% / 100% 4px no-repeat;
  padding-bottom: 8px;
}
.socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; background: var(--stone); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: background-color 160ms ease-out, transform 140ms var(--ease);
}
.socials a:hover { background: var(--stone-2); }
.socials a:active { transform: scale(0.96); }
.socials a::after { content: "↗"; color: var(--muted); }
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 32px 0 40px; margin-top: 56px; border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--muted);
}

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero, .contact, .split, .doc, .feature { grid-template-columns: 1fr; }
  .hero .photo { max-height: 560px; }
  .episodes { grid-template-columns: 1fr 1fr; }
  .socials { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .site-header { padding: 8px 10px; }
  .bar { flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: 26px; }
  .menu { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; padding-top: 4px; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { min-height: 36px; padding: 8px 14px; white-space: nowrap; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
  .band-wrap { padding: 0 10px; }
  .band { border-radius: var(--r-lg); }
  .episodes { grid-template-columns: 1fr; gap: 24px; }
  .topics li { padding: 16px 18px; font-size: 1rem; }
  .years li { grid-template-columns: 64px 1fr; padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; align-content: start; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 0.875rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 13px 16px;
  border: 1px solid transparent; border-radius: 14px;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 1rem;
  box-shadow: 0 1px 2px rgba(18, 18, 18, 0.06);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 122, 0, 0.35); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form .btn { justify-self: start; }
.form .btn:disabled { opacity: 0.6; cursor: default; }
.form-status { margin: 0; font-size: 0.9375rem; font-weight: 600; min-height: 1.4em; }
.form-status--error { color: #b3261e; }
.form-status--ok { color: #1f6b3a; }
.card--orange .form-status--error, .card--orange .form-status--ok { color: var(--ink); }
.card--orange .field input, .card--orange .field textarea, .card--orange .field select { box-shadow: none; }
.small-mail { margin: 20px 0 0; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

/* ---------- Carousel ---------- */
.carousel { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--stone); aspect-ratio: 4 / 5; touch-action: pan-y; }
.carousel--wide { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.carousel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  opacity: 0; transform: scale(1.04);
  transition: opacity 900ms ease, transform 6000ms ease-out;
}
.carousel img.is-on { opacity: 1; transform: scale(1); }
.dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px 6px; border-radius: 999px;
  background: rgba(18, 18, 18, 0.32);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.dots button { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; width: 24px; height: 24px; display: grid; place-items: center; }
.dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); transition: width 300ms var(--ease), background-color 200ms ease-out; }
.dots button[aria-current="true"] { width: 34px; }
.dots button[aria-current="true"]::before { width: 22px; background: #fff; }
.doc.no-photo { grid-template-columns: 1fr; }
.band-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: 100%; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; }
.band-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .band-split { grid-template-columns: 1fr; } .band-photo { max-height: 480px; } }
@media (prefers-reduced-motion: reduce) { .carousel img { transform: none; transition: opacity 200ms ease; } }
