/* Emmerske Efterskole i radioen */
:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d6;
  --card: #fffdf8;
  --ink: #1b2a4a;
  --ink-2: #3b4a66;
  --muted: #6d7488;
  --line: #e2d8c3;
  --brick: #b4533a;
  --brick-2: #d4704f;
  --sage: #5f8a5a;
  --mustard: #d9a02b;
  --sky: #3f6f9e;
  --hl: #ffe7a3;
  --hl-ink: #1b2a4a;
  --shadow: 0 1px 2px rgba(27, 42, 74, .06), 0 8px 28px rgba(27, 42, 74, .08);
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --read-scale: 1;
  --ls: 0;
  --ws: 0;
  --lh: 1.6;
  --ee-green: #007a53;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111a2c; --paper-2: #16213a; --card: #1a2742; --ink: #f2ecdf; --ink-2: #cfd6e4;
    --muted: #93a0b8; --line: #2a3a5c; --brick: #e07a5b; --brick-2: #f09a78; --sage: #8dbb85;
    --mustard: #f0bd4f; --sky: #7fb0e0; --hl: #f0bd4f; --hl-ink: #111a2c; --ee-green: #3fb07f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111a2c; --paper-2: #16213a; --card: #1a2742; --ink: #f2ecdf; --ink-2: #cfd6e4;
  --muted: #93a0b8; --line: #2a3a5c; --brick: #e07a5b; --brick-2: #f09a78; --sage: #8dbb85;
  --mustard: #f0bd4f; --sky: #7fb0e0; --hl: #f0bd4f; --hl-ink: #111a2c; --ee-green: #3fb07f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); color-scheme: dark;
}
/* Læsevenlig visning – tænkt til ordblinde læsere */
:root.readable { --read-scale: 1.12; --ls: .035em; --ws: .14em; --lh: 1.9; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: calc(17px * var(--read-scale));
  line-height: var(--lh); letter-spacing: var(--ls); word-spacing: var(--ws);
  overflow-x: hidden; padding-bottom: 72px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; word-spacing: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 6px; }
svg { width: 1em; height: 1em; }
kbd { font-family: var(--sans); font-size: .8em; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 .4em; background: var(--card); margin: 0 1px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 46px; height: 26px; flex: none; }
.brand-mark { display: inline-flex; align-items: center; gap: 2px; height: 10px; margin-left: 3px; vertical-align: -1px; }
.brand-mark span { width: 2.5px; height: 100%; border-radius: 2px; background: var(--brick); animation: bm 1.4s ease-in-out infinite; }
.brand-mark span:nth-child(1) { height: 40%; animation-delay: -.2s; }
.brand-mark span:nth-child(2) { height: 90%; background: var(--mustard); animation-delay: -.6s; }
.brand-mark span:nth-child(3) { height: 60%; background: var(--sage); animation-delay: -.9s; }
.brand-mark span:nth-child(4) { height: 75%; background: var(--sky); animation-delay: -.4s; }
body:not(.playing) .brand-mark span { animation-play-state: paused; }
@keyframes bm { 50% { transform: scaleY(.4); } }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 17px; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--brick); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 400; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); transition: background .2s; }
.nav a:hover, .nav a.active { background: var(--paper-2); color: var(--ink); }
.tools { display: flex; gap: 6px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); font-size: 19px; transition: transform .15s, background .2s;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn.sm { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
.icon-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#themeBtn .sun { display: none; }
:root[data-theme="dark"] #themeBtn .sun { display: block; }
:root[data-theme="dark"] #themeBtn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #themeBtn .sun { display: block; }
  :root:not([data-theme="light"]) #themeBtn .moon { display: none; }
}
@media (max-width: 900px) { .nav { display: none; } .tools { margin-left: auto; } }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .9;
  background:
    radial-gradient(600px 380px at 85% 20%, color-mix(in srgb, var(--mustard) 26%, transparent), transparent 70%),
    radial-gradient(520px 420px at 8% 90%, color-mix(in srgb, var(--sage) 22%, transparent), transparent 70%),
    radial-gradient(420px 300px at 50% 0%, color-mix(in srgb, var(--brick) 12%, transparent), transparent 70%);
}
.hero-copy { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 22px; }
.onair {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 6px;
  border: 1.5px solid var(--brick); color: var(--brick); font-weight: 600; letter-spacing: .14em; transition: all .3s;
}
.onair i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
body.playing .onair { background: var(--brick); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brick) 25%, transparent), 0 0 24px color-mix(in srgb, var(--brick) 60%, transparent); }
body.playing .onair i { opacity: 1; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); font-weight: 900; letter-spacing: -.025em; }
.hero h1 .accent { color: var(--brick); font-style: italic; font-weight: 700; }
.lede { font-size: 1.18em; max-width: 36em; color: var(--ink-2); margin: 24px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.big-play {
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 26px 10px 10px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 30%, transparent); transition: transform .2s;
}
.big-play:hover { transform: translateY(-2px); }
.bp-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brick); color: #fff; font-size: 24px; }
.bp-text { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.bp-text strong { font-weight: 500; font-size: 17px; }
.bp-text small { opacity: .7; font-size: 13px; }
.i-pause { display: none; }
body.playing .i-play { display: none; }
body.playing .i-pause { display: block; }
.ghost-btn { padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 500; transition: background .2s; }
.ghost-btn:hover { background: var(--paper-2); }
.polaroid {
  position: relative; margin: 0; background: #fffdf6; padding: 14px 14px 58px; border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(27,42,74,.35), 0 4px 12px rgba(27,42,74,.12);
  transform: rotate(2.5deg); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-3deg); background: color-mix(in srgb, var(--mustard) 55%, transparent); opacity: .8; }
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.polaroid figcaption { position: absolute; left: 20px; right: 100px; bottom: 16px; line-height: 1.2; font-size: clamp(14px, 3.4vw, 18px) !important; font-family: var(--serif); font-style: italic; color: #1b2a4a; font-size: 18px; }
.eq { position: absolute; right: 18px; bottom: 14px; height: 30px; display: flex; align-items: flex-end; gap: 3px; }
.eq i { width: 4px; border-radius: 2px; background: var(--brick); height: 12%; transition: height .12s linear; }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .polaroid { max-width: 380px; margin-inline: auto; }
}

/* Hero-personer */
.hero-people { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-people p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 22em; line-height: 1.45; }
.hero-people strong { font-weight: 500; color: var(--ink); }
.avatars { display: flex; padding-left: 10px; }
.av {
  display: grid; place-items: center; width: 42px; height: 42px; margin-left: -10px; border-radius: 50%;
  background: var(--c, var(--brick)); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 15px; text-decoration: none;
  border: 3px solid var(--paper); transition: transform .2s; letter-spacing: 0; word-spacing: 0;
}
.avatars .av:hover { transform: translateY(-4px); z-index: 1; }
@media (max-width: 480px) { .av { width: 32px; height: 32px; margin-left: -8px; font-size: 12px; border-width: 2px; } }
.av.sm { width: 34px; height: 34px; font-size: 13px; margin: 0; border-width: 0; flex: none; }

/* Fortællingen */
.story { padding-top: 40px; }
.acts { position: relative; display: flex; flex-direction: column; gap: 96px; }
.acts::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 8px, transparent 8px 16px);
}
.act { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-left: 84px; }
.act:nth-child(even) .act-visual { order: -1; }
.act-num { position: absolute; left: 0; top: 0; margin: 0; }
.act-num span {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-weight: 900; font-size: 20px; letter-spacing: 0; box-shadow: 0 0 0 8px var(--paper);
}
.act h3 { font-size: clamp(30px, 3.8vw, 46px); margin: 0 0 14px; }
.act-text > p { color: var(--ink-2); margin: 0 0 18px; font-size: 1.05em; }
.act-people { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pchip {
  --c: var(--brick); display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); text-align: left; line-height: 1.15; transition: border-color .2s, transform .15s;
}
.pchip:hover { border-color: var(--c); transform: translateY(-1px); }
.pchip strong { display: block; font-weight: 500; font-size: 14px; }
.pchip small { font-size: 12px; color: var(--muted); }
.pchip .av { background: var(--c); }
.says { display: flex; flex-direction: column; gap: 14px; }
.say { margin: 0; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brick); box-shadow: var(--shadow); }
.say + .say { border-left-color: var(--sage); }
.say blockquote { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); font-weight: 500; line-height: 1.35; }
.say figcaption { margin: 10px 0 14px; font-size: 14px; color: var(--ink-2); font-weight: 400; }
.clip {
  --p: 0; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; transition: border-color .2s;
}
.clip:hover, .clip.on { border-color: var(--brick); }
.clip-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brick); color: #fff; font-size: 13px; }
.clip .ci-pause { display: none; }
body.playing .clip.on .ci-play { display: none; }
body.playing .clip.on .ci-pause { display: block; }
.clip-len { color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.clip-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p) * 100%); background: var(--brick); }
.aside { margin: -6px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.facts strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--brick); }
.facts span { font-size: 13px; color: var(--muted); }
.act-visual { margin: 0; }
.zoomable {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(27,42,74,.35), 0 2px 8px rgba(27,42,74,.1); transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.act:nth-child(even) .zoomable { transform: rotate(1.2deg); }
.act .zoomable:hover { transform: rotate(0) scale(1.02); }
.zoomable img { width: 100%; height: auto; }
.act-visual figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 900px) {
  .acts { gap: 64px; }
  .acts::before { left: 21px; }
  .act { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .act:nth-child(even) .act-visual { order: 0; }
  .act-num { position: static; margin-bottom: 12px; }
  .act-num span { width: 44px; height: 44px; font-size: 16px; }
  .acts::before { display: none; }
}

/* Sections */
.section { padding: 80px 0; }
.section.tint { background: var(--paper-2); }
.sec-head { max-width: 44em; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 6px 0 12px; }
.sec-head p { color: var(--ink-2); margin: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brick); margin: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Player */
.player-section { padding-top: 24px; }
.player { padding: 28px; }
.player-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.now { display: flex; gap: 16px; align-items: center; min-width: 0; }
.now-num { font-family: var(--serif); font-weight: 900; font-size: 54px; line-height: 1; color: var(--chc, var(--brick)); min-width: 1.25em; transition: color .3s; }
.now-label { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 500; }
.now-title { font-size: clamp(22px, 3vw, 32px); margin: 2px 0; }
.now-who { margin: 0; color: var(--ink-2); font-weight: 400; }
.time { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; font-size: 18px; }
.wave { position: relative; height: 96px; cursor: pointer; touch-action: none; border-radius: 10px; }
.wave canvas { width: 100%; height: 100%; display: block; }
.wave-tip {
  position: absolute; top: -40px; transform: translateX(-50%); background: var(--ink); color: var(--paper);
  padding: 4px 10px; border-radius: 8px; font-size: 13px; white-space: nowrap; pointer-events: none; z-index: 2;
}
.controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ctl {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); font-size: 22px; transition: transform .15s, background .2s;
}
.ctl:hover { transform: scale(1.06); }
.ctl.main { width: 64px; height: 64px; background: var(--brick); border-color: var(--brick); color: #fff; font-size: 28px; box-shadow: 0 8px 22px color-mix(in srgb, var(--brick) 40%, transparent); }
.ctl.main.sm { width: 44px; height: 44px; font-size: 20px; box-shadow: none; }
.ctl-right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s, transform .15s;
}
.pill:hover { background: var(--paper-2); transform: translateY(-1px); }
.resume { margin: 14px 4px 0; color: var(--ink-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brick); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.kbd-hint { margin: 10px 4px 0; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .player { padding: 18px; }
  .now-num { font-size: 40px; }
  .wave { height: 72px; }
  .ctl-right { margin-left: 0; width: 100%; }
  .controls { justify-content: center; }
  .kbd-hint { display: none; }
}

/* Chapters */
.chapters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.ch {
  --c: var(--brick); position: relative; display: flex; gap: 16px; padding: 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ch.active { border-color: var(--c); box-shadow: 0 0 0 2px var(--c), var(--shadow); }
.ch-ico {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c);
}
.ch-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ch-body { min-width: 0; flex: 1; }
.ch-top { display: flex; gap: 8px; align-items: baseline; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ch-top b { color: var(--c); font-weight: 600; }
.ch h3 { font-size: 21px; margin: 4px 0 2px; }
.ch-who { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.ch-desc { margin: 8px 0 12px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.ch-actions { display: flex; gap: 8px; align-items: center; }
.ch-play {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 0;
  background: var(--c); color: #fff; font-size: 14px; font-weight: 500;
}
.ch-prog { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--c); transition: width .25s linear; }
body.playing .ch:not(.active) .ch-play .i-play { display: block; }
body.playing .ch:not(.active) .ch-play .i-pause { display: none; }
@media (max-width: 400px) { .chapters { grid-template-columns: 1fr; } .ch { padding: 16px; } }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { --c: var(--brick); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.avatar {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif);
  font-weight: 700; font-size: 22px; color: #fff; background: var(--c); position: relative;
}
.avatar::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--c) 45%, transparent); }
.person h3 { font-size: 22px; }
.person .role { margin: -6px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.person p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 500; transition: all .15s; }
.chip:hover { background: var(--c); color: #fff; border-color: var(--c); }

/* Quotes */
.quotes-section { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
:root[data-theme="dark"] .quotes-section { background: #0b1322; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quotes-section { background: #0b1322; } }
.quotes-section .sec-head p { color: color-mix(in srgb, var(--paper) 75%, transparent); }
:root[data-theme="dark"] .quotes-section { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .quotes-section { color: var(--ink); } }
:root[data-theme="dark"] .quotes-section .sec-head p { color: var(--ink-2); }
.quotes-section .eyebrow { color: var(--mustard); }
.quotes { columns: 3 300px; column-gap: 18px; }
.quote {
  break-inside: avoid; margin: 0 0 18px; padding: 26px 24px 20px; border-radius: var(--radius);
  background: color-mix(in srgb, #fff 7%, transparent); border: 1px solid color-mix(in srgb, #fff 12%, transparent); position: relative;
  transition: background .2s;
}
.quote:hover { background: color-mix(in srgb, #fff 11%, transparent); }
.quote.big { background: var(--brick); border-color: var(--brick); color: #fff; }
.quote::before { content: "“"; font-family: var(--serif); font-size: 80px; line-height: .6; display: block; color: var(--mustard); height: 30px; }
.quote.big::before { color: #fff; opacity: .6; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; font-weight: 500; }
.quote.big blockquote { font-size: 28px; }
.quote footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; }
.quote footer strong { font-weight: 500; }
.q-play {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid color-mix(in srgb, #fff 30%, transparent);
  background: transparent; color: inherit; border-radius: 999px; padding: 5px 12px 5px 9px; font-size: 13px; white-space: nowrap;
}
.q-play:hover { background: #fff; color: var(--ink); }

/* Deck */
.deck { padding: 14px; margin-bottom: 26px; }
.deck-stage { position: relative; border-radius: 12px; overflow: hidden; background: #efe8da; aspect-ratio: 1920 / 1072; }
.deck-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.deck-stage:fullscreen { background: #000; display: grid; place-items: center; }
.deck-nav, .deck-full {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(27,42,74,.78); color: #fff; font-size: 20px; opacity: 0; transition: opacity .2s;
}
.deck-stage:hover .deck-nav, .deck-stage:hover .deck-full, .deck-nav:focus-visible, .deck-full:focus-visible { opacity: 1; }
@media (hover: none) { .deck-nav, .deck-full { opacity: .9; width: 40px; height: 40px; } }
.deck-nav { top: 50%; transform: translateY(-50%); }
.deck-nav.prev { left: 14px; } .deck-nav.next { right: 14px; }
.deck-full { right: 14px; top: 14px; }
.deck-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 6px 10px; }
.deck-meta p { margin: 0; }
.deck-count { font-variant-numeric: tabular-nums; color: var(--brick); font-weight: 600; margin-right: 8px; }
.deck-meta strong { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.deck-dl { display: flex; gap: 8px; }
.deck-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 8px; scroll-snap-type: x mandatory; }
.deck-thumbs button { flex: none; width: 150px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: .65; transition: all .2s; scroll-snap-align: start; }
.deck-thumbs button:hover { opacity: 1; }
.deck-thumbs button.active { border-color: var(--brick); opacity: 1; }
.deck-thumbs img { width: 100%; height: auto; aspect-ratio: 480 / 268; }
.gallery { display: grid; grid-template-columns: 1fr 1.4fr; grid-template-rows: auto auto; gap: 18px; }
.g-item { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); text-align: left; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.g-item:hover img { transform: scale(1.04); }
.g-item span {
  position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: var(--paper); padding: 6px 14px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
}
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .g-item.tall { grid-row: auto; max-height: 520px; } }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.dl {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); text-decoration: none; transition: transform .15s, box-shadow .2s;
}
.dl:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dl-type { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #fff; background: var(--c, var(--sky)); }
.dl-body { min-width: 0; flex: 1; }
.dl-body strong { display: block; font-weight: 500; line-height: 1.3; }
.dl-body small { color: var(--muted); font-size: 13px; }
.dl > svg { font-size: 20px; color: var(--muted); flex: none; }
.dl-group { grid-column: 1 / -1; margin: 18px 0 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* CTA + footer */
.cta { background: linear-gradient(120deg, var(--brick), #8c3b28); color: #fff; padding: 72px 0; }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(34px, 5vw, 58px); margin: 6px 0 14px; }
.cta p { margin: 0; opacity: .92; max-width: 34em; }
.cta .eyebrow { color: #ffd98a; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.big-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-radius: 16px; background: #fff; color: #1b2a4a; text-decoration: none; font-weight: 500; font-size: 19px; transition: transform .2s; }
.big-link:hover { transform: translateX(4px); }
.big-link.alt { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }
.footer { padding: 40px 0 30px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 24px 40px; align-items: start; }
.foot-logo { display: block; color: var(--ink); }
.foot-logo svg { display: block; width: 170px; height: 82px; }
.foot-grid strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mini player */
.mini {
  position: fixed; left: 50%; bottom: 14px; z-index: 60; width: min(560px, calc(100% - 24px));
  transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  background: var(--ink); color: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.mini.show { transform: translate(-50%, 0); }
.mini-bar { height: 3px; background: rgba(255,255,255,.15); }
.mini-bar i { display: block; height: 100%; width: 0; background: var(--mustard); }
.mini-inner { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; }
.mini-title { flex: 1; min-width: 0; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.mini-title span:first-child { font-family: var(--serif); font-weight: 900; color: var(--mustard); margin-right: 4px; }
.mini-title strong { font-weight: 500; }
.mini .muted { color: rgba(255,255,255,.6); }
.mini-time { font-variant-numeric: tabular-nums; font-size: 14px; opacity: .8; }
:root[data-theme="dark"] .mini { background: #f2ecdf; color: #111a2c; }
:root[data-theme="dark"] .mini .muted { color: #5b6478; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini { background: #f2ecdf; color: #111a2c; } :root:not([data-theme="light"]) .mini .muted { color: #5b6478; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 12, 22, .94); display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lb-scroll { flex: 1; overflow: auto; display: grid; place-items: center; padding: 60px 16px 8px; }
.lb-scroll img { max-width: 100%; max-height: calc(100vh - 140px); cursor: zoom-in; border-radius: 6px; }
.lb-scroll.zoom { place-items: start; }
.lb-scroll.zoom img { max-width: none; max-height: none; cursor: zoom-out; }
.lb-close { position: absolute; right: 16px; top: 16px; z-index: 2; }
.lb-bar { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 12px 16px 18px; color: #eee; font-size: 15px; }
.lb-bar .muted { color: #9aa; font-size: 13px; }

.toast {
  position: fixed; left: 50%; top: 84px; z-index: 95; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; font-size: 15px; transition: all .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
