/* Fleksnes-arkivet
   A 1970s TV-magazine look, coloured after Marve's trench coat, plaid hat and striped tie. */

:root {
  --paper: #efe7d3;
  --paper-2: #e3d8bd;
  --card: #fbf7ec;
  --ink: #221a14;
  --ink-soft: #5f5246;
  --navy: #1f2436;
  --navy-2: #2c3249;
  --slate: #71818c;
  --trench: #cdbf9c;
  --hat: #4a3427;
  --rust: #b3432c;
  --mustard: #d9a441;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(34 26 20 / 10%), 0 8px 24px rgb(34 26 20 / 12%);
  --display: "Fraunces", "Georgia", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 16.5px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rust); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
em { font-style: italic; }
code { background: var(--paper-2); padding: .1em .35em; border-radius: 5px; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow {
  margin: 0 0 .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rust);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 38rem; }
.empty { padding: 3rem 0; color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 0;
  background: var(--rust); color: #fff8ea; font-weight: 700; text-decoration: none;
  box-shadow: 0 3px 0 #7d2b1b; transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #7d2b1b; }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #7d2b1b; }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 3px 0 #b3a582; }
.btn-light:hover { box-shadow: 0 5px 0 #b3a582; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: var(--paper); position: relative; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; }
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 800; font-size: 1.45rem;
  color: var(--paper); text-decoration: none; font-variation-settings: "SOFT" 100, "WONK" 1;
}
.logo em { color: var(--mustard); font-style: italic; font-weight: 500; }
.logo-mark { width: 2.4rem; height: 2.4rem; flex: none; transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }

/* Accessibility helpers */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100; padding: .6rem 1rem; border-radius: 8px;
  background: var(--mustard); color: var(--navy); font-weight: 700; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: .6rem; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.nav-links { display: flex; gap: .4rem; }
.nav-links a {
  padding: .45rem .95rem; border-radius: 999px; color: var(--paper-2);
  text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav-links a:hover { background: var(--navy-2); color: #fff; }
.nav-links a[aria-current="page"] { background: var(--paper); color: var(--navy); }

/* ---------- Hero (front page) ---------- */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--slate); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(20 22 34 / 92%) 0%, rgb(20 22 34 / 55%) 38%, rgb(20 22 34 / 0%) 70%),
    var(--grain);
}
.hero-content { position: relative; padding: 4rem 0 3.2rem; color: #fbf3e2; }
.hero-content .eyebrow { color: var(--mustard); }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgb(0 0 0 / 35%); }
.hero h1 em { color: var(--mustard); }
.hero .lead { color: #eadfc6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: var(--paper); border-top: 4px solid var(--mustard); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0 auto; padding: 1.4rem 0; }
.stats div { border-left: 2px solid var(--navy-2); padding-left: 1rem; }
.stats dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--mustard); line-height: 1.1; }
.stats dd { margin: 0; color: var(--paper-2); font-size: .9rem; }

/* ---------- Play button ---------- */
.card-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  width: 76px; height: 76px; border-radius: 50%; background: rgb(179 67 44 / 92%);
  box-shadow: 0 6px 24px rgb(0 0 0 / 40%); transition: scale .2s;
}
.card-play::before {
  content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%;
  border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff8ea;
}

/* ---------- Episode guide ---------- */
.episodes { padding: 2rem 0 3rem; }
.section-head { margin-bottom: 1rem; }
.toolbar {
  position: sticky; top: 0; z-index: 5; padding: .8rem 0;
  background: rgb(239 231 211 / 92%); backdrop-filter: blur(8px);
  border-block: 1px solid var(--paper-2);
}
.toolbar-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.season-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.season-pills a {
  min-width: 2.6rem; padding: .4rem .85rem; border-radius: 999px; text-align: center;
  background: var(--card); color: var(--navy); font-weight: 700; text-decoration: none;
  border: 2px solid var(--paper-2); transition: background .15s, border-color .15s;
}
.season-pills a:hover { background: var(--mustard); border-color: var(--mustard); }
.search input {
  width: min(24rem, 86vw); padding: .7rem 1.1rem .7rem 2.6rem; border-radius: 999px;
  border: 2px solid var(--paper-2); font: inherit; color: var(--ink);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235f5246' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 1rem 50%;
}
.search input:focus { outline: none; border-color: var(--rust); }

.season { padding-top: 2.6rem; scroll-margin-top: 5rem; }
.season-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.season-head h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.season-head p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.season-badge {
  display: grid; place-items: center; min-width: 3.4rem; height: 3.4rem; padding: 0 .6rem;
  border-radius: 14px; font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  color: #fff8ea; background:
    repeating-linear-gradient(90deg, rgb(179 67 44 / 55%) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(0deg, rgb(217 164 65 / 35%) 0 2px, transparent 2px 14px),
    var(--hat);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 25%);
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.4rem; }
.card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--card); color: inherit; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 14px 34px rgb(34 26 20 / 22%); }
.card-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card-screen img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12) saturate(1.05); transition: scale .35s; }
.card:hover .card-screen img { scale: 1.05; }
.card-noimg { display: grid; place-items: center; height: 100%; color: var(--paper); font-family: var(--display); font-size: 1.6rem; }
.card-play { width: 58px; height: 58px; opacity: 0; scale: .8; transition: opacity .2s, scale .2s; }
.card-play::before { border-width: 10px 0 10px 16px; }
.card:hover .card-play { opacity: 1; scale: 1; }
.card-time {
  position: absolute; right: .6rem; bottom: .6rem; padding: .15rem .55rem; border-radius: 6px;
  background: rgb(20 22 34 / 80%); color: #fff; font-size: .78rem; font-weight: 600;
}
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-meta { display: flex; gap: .5rem; align-items: center; font-size: .78rem; font-weight: 600; color: var(--ink-soft); }
.card-meta .code { padding: .1rem .5rem; border-radius: 6px; background: var(--navy); color: var(--mustard); letter-spacing: .04em; }
.card h3 { margin: .45rem 0 .35rem; font-size: 1.22rem; }
.card p {
  margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Teaser band ---------- */

/* ---------- Episode page ---------- */
.stage { background: var(--navy) var(--grain); color: #fbf3e2; padding: 2rem 0 2.6rem; }
.stage-inner { max-width: 1000px; }
.stage .eyebrow { color: var(--mustard); margin-top: 1rem; }
.stage h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.back { color: var(--paper-2); text-decoration: none; font-weight: 600; }
.back:hover { color: #fff; }
.cabinet {
  padding: 20px 20px 0; border-radius: 26px;
  background: linear-gradient(160deg, #7a5538, #4a3427 55%, #3a281d);
  box-shadow: 0 30px 60px rgb(0 0 0 / 45%), inset 0 2px 0 rgb(255 255 255 / 12%);
}
.cabinet-screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
  border-radius: 22px / 18px; border: 8px solid #d9d2c0;
}
.cabinet-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-off { position: absolute; inset: 0; display: grid; place-content: center; gap: 1rem; text-align: center; padding: 2rem; }
.cabinet-panel { display: flex; align-items: center; gap: 14px; padding: 12px 8px 14px; }
.cabinet-panel .brand {
  flex: 1; font-family: var(--display); font-style: italic; font-weight: 700;
  color: #d9c9a3; letter-spacing: .04em; font-size: .95rem;
}
.credit { margin: 1rem 0 0; font-size: .88rem; color: var(--paper-2); }
.credit a { color: var(--mustard); }

.episode-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem;
  max-width: 1000px; padding: 2.8rem 0 1rem;
}
.synopsis { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; margin-top: 0; }
.episode-text h2 { font-size: 1.3rem; margin-top: 2rem; }
.cast { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.cast li { padding: .35rem .9rem; border-radius: 999px; background: var(--card); border: 1px solid var(--paper-2); font-size: .92rem; }
.cast li.lead-actor { background: var(--navy); color: var(--mustard); border-color: var(--navy); font-weight: 700; }

.factbox {
  align-self: start; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); border-top: 6px solid var(--mustard);
}
.factbox h2 { font-size: 1.3rem; }
.factbox dl { margin: 0 0 1rem; }
.factbox dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem; padding: .5rem 0; border-bottom: 1px dashed var(--paper-2); }
.factbox dl div:last-child { border-bottom: 0; }
.factbox dt { color: var(--ink-soft); font-size: .88rem; }
.factbox dd { margin: 0; font-weight: 600; font-size: .93rem; }
.sticky { position: sticky; top: 1.5rem; }

.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 1000px; padding: 1.5rem 0; }
.neighbour {
  display: flex; flex-direction: column; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .15s;
}
.neighbour:hover { transform: translateY(-2px); }
.neighbour small { color: var(--rust); font-weight: 700; letter-spacing: .04em; }
.neighbour span { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.neighbour.next { text-align: right; }
.more { padding: 2rem 0 1rem; }
.empty-page { padding: 5rem 0; }

/* ---------- About page ---------- */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; background: #333; color: #fbf3e2; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(20 22 34 / 90%), rgb(20 22 34 / 20%) 60%); }
.page-hero-content { position: relative; padding: 3rem 0; }
.page-hero-content .eyebrow { color: var(--mustard); }
.page-hero h1 em { color: var(--mustard); }
.page-hero .lead { color: #eadfc6; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; padding: 3.5rem 0 2rem; }
.prose { max-width: 720px; font-size: 1.05rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.dropcap::first-letter {
  float: left; margin: .08em .12em 0 0; font-family: var(--display); font-weight: 900;
  font-size: 4.2em; line-height: .8; color: var(--rust);
}
.people { display: grid; gap: 1rem; }
.person {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 1.3rem;
  border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.person h3 { margin: 0; }
.person p { margin: .35rem 0 0; font-size: .97rem; }
.person .role { margin: .1rem 0 0; color: var(--rust); font-weight: 700; font-size: .85rem; letter-spacing: .03em; }
.avatar {
  flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: #fff8ea;
  background:
    repeating-linear-gradient(90deg, rgb(179 67 44 / 55%) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(0deg, rgb(217 164 65 / 35%) 0 2px, transparent 2px 12px),
    var(--hat);
}
.avatar-rust { background-color: var(--rust); background-image: repeating-linear-gradient(45deg, rgb(255 255 255 / 12%) 0 3px, transparent 3px 10px); }
.avatar-slate { background-color: var(--slate); background-image: repeating-linear-gradient(-45deg, rgb(255 255 255 / 14%) 0 3px, transparent 3px 10px); }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: .6rem; bottom: .6rem; width: 3px; background: var(--mustard); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1.6rem; padding: .55rem 0; position: relative; }
.timeline li::after {
  content: ""; position: absolute; left: calc(4.6rem - 6px); top: 1.05rem; width: 15px; height: 15px;
  border-radius: 50%; background: var(--rust); border: 3px solid var(--paper);
}
.timeline b { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.05rem; text-align: right; padding-right: .3rem; }
.sources { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 4rem; background: var(--navy); color: var(--paper-2); }
.tie {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--rust) 0 10px, var(--navy-2) 10px 18px, var(--mustard) 18px 22px, var(--navy-2) 22px 30px);
}
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center; padding: 2.4rem 0; font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-links a { color: var(--paper-2) !important; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--mustard) !important; }
.share-btn { margin-top: .7rem; }
.footer-inner p { margin: 0; max-width: 46rem; }
.site-footer a:not(.logo) { color: var(--mustard); }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .episode-body, .about { grid-template-columns: 1fr; gap: 2rem; }
  .sticky { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-links a { padding: .4rem .7rem; font-size: .88rem; }
  .logo { font-size: 1.2rem; }
  .neighbours { grid-template-columns: 1fr; }
  .neighbour.next { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .cabinet { padding: 10px 10px 0; border-radius: 18px; }
  .timeline::before { left: 3.8rem; }
  .timeline li { grid-template-columns: 3.8rem 1fr; gap: 1.2rem; }
  .timeline li::after { left: calc(3.8rem - 6px); }
}

/* =====================================================================
   Retroarkivet: front page, show cards, Christmas calendar
   ===================================================================== */
/* Business pages */
.biz { max-width: 980px; padding: 3rem 0 2rem; }
.biz .eyebrow a { color: inherit; }
.biz h2 { margin-top: 2.4rem; }
.biz-links { margin: 1.4rem 0 .5rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.plan-grid.three { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.plan-card { padding: 1.2rem 1.3rem; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); border-top: 5px solid var(--mustard); }
.plan-card h2, .plan-card h3 { margin-top: 0; }
.plan-card ul { margin: 0; padding-left: 1.1rem; }
.plan-card p { margin: 0; }
.plan-card.stat { text-align: center; }
.plan-card.stat span { color: var(--ink-soft); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.plan-card.stat strong { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--rust); line-height: 1.1; }
.plan-list li { margin: .45rem 0; }
.plan-list.warn li::marker { content: "✕  "; color: var(--rust); font-weight: 700; }
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 1.6rem; margin-top: 2rem; }
.reel video { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; box-shadow: var(--shadow); }
.reel h2 { font-size: 1.25rem; margin: .8rem 0 .2rem; }
.reel p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.feedback { margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--card); border-left: 5px solid var(--rust); }
.feedback h2 { margin-top: 0; }
.muted { color: var(--ink-soft); font-size: .9rem; }

.crumbs { font-size: .9rem; color: var(--paper-2); }
.crumbs a { color: var(--paper-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.show-blurb { margin-top: 2rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--card); border-left: 4px solid var(--mustard); font-size: .95rem; }
.section-head.row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; }
.credit-line { color: var(--ink-soft); font-size: .9rem; margin: 2rem auto 0; }
.about-page { padding: 3rem 0 2rem; }

/* Front hero: a mosaic of show images */
.hero-front { min-height: min(72vh, 640px); background: var(--navy); }
.mosaic {
  position: absolute; inset: -4%; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; transform: rotate(-3deg) scale(1.08); opacity: .75;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; filter: sepia(.25) saturate(.9); }
.hero-front h1 { font-size: clamp(3rem, 9vw, 6.5rem); }

/* Advent banner */
.advent-banner {
  display: flex; align-items: center; gap: 1.4rem; margin-top: 2.5rem; padding: 1.2rem 1.4rem;
  border-radius: var(--radius); text-decoration: none; color: #fbf3e2;
  background: radial-gradient(circle at 10% 20%, #2a3a6e, #141a33 70%); box-shadow: var(--shadow);
  border: 2px solid rgb(217 164 65 / 50%);
}
.advent-day {
  flex: none; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 14px;
  background: var(--rust); font-family: var(--display); font-weight: 900; font-size: 2rem;
  box-shadow: inset 0 -4px 0 rgb(0 0 0 / 25%);
}
.advent-text { flex: 1; display: flex; flex-direction: column; }
.advent-text strong { font-family: var(--display); font-size: 1.45rem; }
.advent-text span { color: #d8cfb8; }

/* Show grid */
.shows { padding: 3rem 0 1rem; }
.category { margin-top: 2.4rem; }
.category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--paper-2); margin-bottom: 1.2rem; }
.category-head h3 { font-size: 1.6rem; margin: 0 0 .4rem; }
.section-link { font-weight: 700; text-decoration: none; }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.show-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--card); color: inherit; text-decoration: none; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.show-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 14px 34px rgb(34 26 20 / 22%); }
.show-card-img { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.show-card-img img { width: 100%; height: 100%; object-fit: cover; transition: scale .35s; }
.show-card:hover .show-card-img img { scale: 1.05; }
.show-card-body { padding: .9rem 1rem 1.1rem; }
.show-card h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.show-card-meta { margin: 0; color: var(--ink-soft); font-size: .88rem; }

/* ---------- Christmas calendar ---------- */
body.xmas {
  background:
    radial-gradient(2px 2px at 20% 30%, #fff8 50%, transparent 51%),
    radial-gradient(2px 2px at 70% 10%, #fff6 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 70%, #fff7 50%, transparent 51%),
    radial-gradient(2px 2px at 85% 55%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 10% 85%, #fff6 50%, transparent 51%),
    linear-gradient(#10152b, #1b2448 60%, #24305c);
  background-size: 220px 220px, 260px 260px, 180px 180px, 300px 300px, 240px 240px, 100% 100%;
  background-attachment: fixed;
  color: #f3ead6;
}
body.xmas .credit-line { color: #c9c0a8; }
body.xmas .credit-line a { color: var(--mustard); }
.xmas-hero { padding: 3rem 0 1.5rem; }
.xmas-hero .eyebrow { color: var(--mustard); }
.xmas-hero h1 em { color: var(--mustard); }
.xmas-hero .lead { color: #d8cfb8; }

.cal-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; margin-bottom: 1.5rem; }
.cal-pick {
  display: flex; align-items: center; gap: .7rem; padding: .5rem; border-radius: 14px;
  background: rgb(255 255 255 / 6%); border: 2px solid transparent; color: inherit; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.cal-pick:hover { background: rgb(255 255 255 / 12%); }
.cal-pick.active { border-color: var(--mustard); background: rgb(217 164 65 / 15%); }
.cal-pick img { width: 64px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.cal-pick span { display: flex; flex-direction: column; line-height: 1.25; }
.cal-pick strong { font-size: .9rem; }
.cal-pick small { color: #b9b09a; font-size: .75rem; }

.board {
  position: relative; overflow: hidden; padding: 1.6rem; border-radius: 22px;
  background: #3a1d17; border: 6px solid #6b2a1e;
  box-shadow: 0 30px 60px rgb(0 0 0 / 45%), inset 0 0 0 2px rgb(217 164 65 / 40%);
}
.board-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(.45) saturate(1.2); scale: 1.1; }
.board-head { position: relative; margin-bottom: 1.2rem; max-width: 46rem; }
.board-head h2 { margin-bottom: .2rem; color: #fff6e0; }
.board-head p { margin: 0; color: #e2d8bf; }
.doors { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.door {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; border: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  font: inherit; color: #fff6e0; cursor: default;
  background: linear-gradient(145deg, #a8402b, #7a2a1c);
  box-shadow: inset 0 0 0 2px rgb(217 164 65 / 55%), 0 4px 10px rgb(0 0 0 / 35%);
}
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .2s, scale .3s; }
.door-num { position: relative; font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.4rem); text-shadow: 0 2px 6px rgb(0 0 0 / 60%); }
.door small { position: relative; font-size: .72rem; font-weight: 700; text-shadow: 0 1px 4px rgb(0 0 0 / 70%); }
button.door { cursor: pointer; }
button.door:hover img { opacity: .85; scale: 1.06; }
.door-open { background: #1c120a; }
.door-locked { background: linear-gradient(145deg, #5b2a20, #3e1c15); color: #cdb9a0; }
.door-locked .door-num { opacity: .7; }
.door-today { background: var(--mustard); box-shadow: 0 0 0 3px #fff3c4, 0 0 26px 6px rgb(217 164 65 / 70%); animation: glow 1.8s ease-in-out infinite; }
.door-today img { opacity: .35; }
.door-soon { background: #2b2f4a; }
.door-missing { opacity: .3; }
@keyframes glow { 50% { box-shadow: 0 0 0 3px #fff3c4, 0 0 40px 12px rgb(217 164 65 / 85%); } }

/* Modal with the NRK player */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(8 10 20 / 80%); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; width: min(920px, 100%); max-height: 94vh; overflow: auto; padding: 1.6rem;
  border-radius: 20px; background: #1b2140; color: #f3ead6; box-shadow: 0 30px 80px rgb(0 0 0 / 60%);
  border: 2px solid rgb(217 164 65 / 45%);
}
.modal-box .eyebrow { color: var(--mustard); }
.modal-close {
  position: absolute; top: .8rem; right: .8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / 10%); color: #fff; font-size: 1.1rem; cursor: pointer;
}
.modal-player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin: 1rem 0; }
.modal-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-player .player-off { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 2rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  .doors { grid-template-columns: repeat(4, 1fr); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .doors { grid-template-columns: repeat(3, 1fr); gap: .55rem; }
  .board { padding: 1rem; }
  .advent-banner { flex-wrap: wrap; }
  .advent-banner .btn { width: 100%; justify-content: center; }
}

/* 404 page */
.lost { padding: 4rem 0 2rem; text-align: center; }
.lost .lead { margin-inline: auto; }
.lost .hero-actions { justify-content: center; }
.test-card {
  display: grid; grid-template-columns: repeat(7, 1fr); width: min(420px, 90%); aspect-ratio: 4 / 3;
  margin: 0 auto 2rem; border-radius: 32px / 26px; overflow: hidden; border: 10px solid var(--hat);
  box-shadow: var(--shadow), inset 0 0 40px rgb(0 0 0 / 40%);
}
.test-card span:nth-child(1) { background: #d8d8d8; }
.test-card span:nth-child(2) { background: #d9c22b; }
.test-card span:nth-child(3) { background: #2bb8c9; }
.test-card span:nth-child(4) { background: #3fa63a; }
.test-card span:nth-child(5) { background: #b83aa6; }
.test-card span:nth-child(6) { background: #c93a2b; }
.test-card span:nth-child(7) { background: #2b3ac9; }

/* Narrow phones: let the header wrap instead of overflowing */
@media (max-width: 420px) {
  .nav { flex-wrap: wrap; gap: .5rem; }
  .nav-links { width: 100%; justify-content: space-between; }
}

/* Supporter page */
.support { max-width: 1040px; padding: 3rem 0 2rem; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; margin-top: 2rem; align-items: start; }
.tier { position: relative; padding: 1.6rem; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); border-top: 6px solid var(--paper-2); }
.tier h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.tier ul { padding-left: 1.1rem; margin: .8rem 0 1.2rem; }
.tier > p { margin: .4rem 0 1.2rem; }
.price { font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--rust); margin: .2rem 0 .6rem !important; }
.price small { font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.featured-tier { border-top-color: var(--mustard); transform: translateY(-8px); box-shadow: 0 16px 40px rgb(34 26 20 / 18%); }
.badge { position: absolute; top: -14px; right: 1.2rem; margin: 0 !important; padding: .25rem .8rem; border-radius: 999px; background: var(--mustard); color: var(--navy); font-size: .8rem; font-weight: 700; }
.pay-note { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--navy); color: var(--paper); text-align: center; font-weight: 600; }
.support-faq { margin-top: 3rem; max-width: 720px; }
.support-faq details { padding: .9rem 1.1rem; border-radius: 12px; background: var(--card); margin: .6rem 0; box-shadow: var(--shadow); }
.support-faq summary { font-weight: 700; cursor: pointer; }
.support-faq details p { margin: .6rem 0 0; }
