@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@400;500&family=Libre+Franklin:wght@400;600;700&display=swap');

:root {
  --paper: #f1ead8;
  --paper-dark: #d9cfb8;
  --ink: #161610;
  --muted: #686252;
  --red: #b7332a;
  --green: #264c3a;
  --yellow: #e0b849;
  --line: #1d1d17;
  --white: #fffdf6;
  --shadow: 8px 8px 0 rgba(22, 22, 16, 0.16);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(22, 22, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 22, 16, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: "Libre Franklin", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 2px solid var(--line);
  background: rgba(241, 234, 216, 0.96);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--line);
  background: var(--red);
  color: var(--white);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.45rem;
  box-shadow: 3px 3px 0 var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-weight: 700;
}

.site-header nav a {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-content: center;
  padding: 5rem clamp(1rem, 6vw, 5rem);
  overflow: hidden;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  border-left: 2px solid var(--line);
  background:
    radial-gradient(circle at 82% 34%, rgba(224, 184, 73, 0.9) 0 12%, transparent 12.5%),
    linear-gradient(125deg, transparent 0 58%, rgba(38, 76, 58, 0.18) 58% 100%),
    var(--white);
}

.hero::after {
  content: "MÖB";
  position: absolute;
  right: 3%;
  bottom: -7%;
  color: rgba(22, 22, 16, 0.07);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(8rem, 26vw, 20rem);
  line-height: 1;
}

.hero-banner {
  min-height: 0;
  padding: 0;
  background: var(--ink);
}

.hero-banner::after {
  content: none;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-banner .hero-actions {
  justify-content: center;
  padding: 1.5rem clamp(1rem, 6vw, 5rem);
}

.hero-banner .stamp {
  background: var(--paper);
  box-shadow: 3px 3px 0 rgba(22, 22, 16, 0.35);
}

.hero h1,
.text-page h1,
.episode-hero h1 {
  max-width: 900px;
  margin: 0.25rem 0 1rem;
  overflow-wrap: break-word;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.episode-hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.5rem);
}

.hero-copy,
.lead {
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.eyebrow,
.product-code,
.stamp,
.status,
.count {
  font-family: "DM Mono", monospace;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stamp {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.55rem 0.8rem;
  border: 3px solid var(--red);
  color: var(--red);
  transform: rotate(3deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--line);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.button.secondary {
  background: var(--yellow);
  color: var(--ink);
}

.section {
  padding: 5rem 0 1rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section h2,
.paper h2,
.episode-section h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  border: 2px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-copy {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.feature-score {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-left: 2px solid var(--line);
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.score-number {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 0.7fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 2px solid var(--line);
  background: var(--paper-dark);
}

.filters label {
  display: grid;
  gap: 0.35rem;
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.filters input,
.filters select {
  min-height: 46px;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.episode-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 1.25rem;
  border: 2px solid var(--line);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(22, 22, 16, 0.16);
}

.episode-card:hover {
  transform: translateY(-3px);
}

.episode-card h3 {
  margin: 1rem 0 0.5rem;
  overflow-wrap: break-word;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.8rem;
  line-height: 1.02;
}

.card-bottom {
  margin-top: auto;
}

.episode-card .card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
}

.natometer {
  margin-top: 0.9rem;
}

.natometer-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.natometer-label strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.natometer-track {
  position: relative;
  height: 14px;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(
    90deg,
    var(--paper) 0 9%,
    rgba(22, 22, 16, 0.1) 9% 10%
  );
}

.natometer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--red));
}

.natometer-fill.unrated {
  background: var(--paper-dark);
}

.natometer-verdict {
  margin: 0.3rem 0 0;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--muted);
}

.score-caption {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.85;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--line);
  background: var(--paper-dark);
}

.audio-controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.audio-play,
.audio-skip {
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.audio-play {
  width: 46px;
  height: 46px;
  font-size: 1rem;
}

.audio-skip {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}

.audio-play:disabled,
.audio-skip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.audio-body {
  display: grid;
  flex: 1;
  gap: 0.35rem;
  min-width: 0;
}

.audio-meta {
  display: grid;
  gap: 0.1rem;
}

.audio-meta strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 0.95rem;
}

.audio-meta span {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  color: var(--muted);
}

.audio-track {
  position: relative;
  height: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.audio-track.disabled-track {
  cursor: not-allowed;
}

.audio-fill {
  height: 100%;
  width: 0;
  background: var(--red);
  pointer-events: none;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted);
}

.status {
  width: fit-content;
  padding: 0.28rem 0.45rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
}

.status.published {
  background: var(--green);
  color: var(--white);
}

.status.planned {
  background: var(--yellow);
}

.card-link {
  font-weight: 800;
  text-underline-offset: 4px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
}

.episode-page,
.text-page {
  padding: 4rem 0 6rem;
}

.episode-hero {
  position: relative;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 2px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.episode-hero .episode-lead {
  max-width: 800px;
  font-size: 1.2rem;
}

.comic-strip {
  margin-top: 1.5rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  display: flex;
  justify-content: center;
}

.comic-strip img {
  max-width: 100%;
  height: auto;
  display: block;
}

.episode-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.episode-main,
.episode-sidebar {
  display: grid;
  gap: 1.5rem;
}

.episode-section,
.paper,
.sidebar-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px solid var(--line);
  background: var(--white);
}

.sidebar-card {
  background: var(--paper-dark);
}

.material-bar {
  margin: 0.8rem 0;
}

.material-bar header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: "DM Mono", monospace;
  font-size: 0.82rem;
}

.material-track {
  height: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.material-fill {
  height: 100%;
  background: var(--red);
}

.metrics {
  display: grid;
  gap: 0.8rem;
}

.metric {
  display: grid;
  grid-template-columns: minmax(160px, 0.6fr) 72px minmax(0, 1.2fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.metric-score {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
}

.big-score {
  padding: 1.2rem;
  border: 2px solid var(--line);
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.big-score strong {
  display: block;
  font-family: "Archivo Black", sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.quote-card {
  padding: 1rem;
  border-left: 8px solid var(--red);
  background: var(--paper);
  font-size: 1.15rem;
  font-weight: 700;
}

.placeholder {
  text-align: center;
}

.text-page {
  max-width: 860px;
}

.paper {
  margin-top: 1.25rem;
}

.loading,
.empty {
  padding: 4rem 1rem;
  text-align: center;
  font-family: "DM Mono", monospace;
}

.site-footer {
  margin-top: 5rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 2px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
}

.site-footer p {
  max-width: 950px;
  margin: 0 auto;
}

.footer-note {
  margin-top: 0.75rem;
  font-style: italic;
  opacity: 0.9;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-card,
  .episode-layout {
    grid-template-columns: 1fr;
  }

  .feature-score {
    min-height: 220px;
    border-top: 2px solid var(--line);
    border-left: 0;
  }

  .episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    grid-template-columns: 1fr 60px;
  }

  .metric p {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

@media (max-width: 590px) {
  main {
    width: min(100% - 1rem, 1180px);
  }

  .brand small {
    display: none;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 500px;
  }

  .stamp {
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
  }

  .filters,
  .episode-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
