:root {
  color-scheme: dark;
  --ink: #090806;
  --paper: #eadba9;
  --cream: #f6e9bd;
  --red: #df2828;
  --muted: #ad9f75;
  --shadow: 7px 7px 0 rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 5%, rgba(223, 40, 40, .12), transparent 30rem),
    repeating-linear-gradient(96deg, rgba(255,255,255,.015) 0 1px, transparent 1px 7px),
    #090806;
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; }
button, input, select { font: inherit; }
button, select, input { min-height: 44px; }
img { display: block; max-width: 100%; }
picture { display: block; width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.home-page { overflow-x: hidden; background: #070605; }
.home-site { width: min(100%, 1180px); margin: 0 auto; background: #080706; box-shadow: 0 0 80px rgba(0,0,0,.5); }
.home-section { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.home-section-art { width: 100%; height: auto; }
.home-header { aspect-ratio: 1024 / 82; position: sticky; top: 0; z-index: 100; }
.home-hero { aspect-ratio: 1024 / 419; }
.home-latest { aspect-ratio: 2172 / 724; }
.home-categories { aspect-ratio: 1024 / 279; scroll-margin-top: 86px; }
.home-recommend { aspect-ratio: 1024 / 265; }
.home-featured { aspect-ratio: 1024 / 258; }
.home-patreon { aspect-ratio: 1024 / 384; scroll-margin-top: 86px; }
.home-footer { aspect-ratio: 1024 / 86; }
.home-hotspot { position: absolute; z-index: 40; display: block; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; appearance: none; cursor: pointer; }
.home-hotspot:hover { background: rgba(223,40,40,.08); }
.home-hotspot:focus-visible { outline: 3px solid var(--cream); outline-offset: -3px; }
.home-logo { left: .7%; top: 4%; width: 19.5%; height: 92%; }
.home-featured-stage { position: absolute; left: 4.9%; right: 4.9%; top: 25.2%; bottom: 5.5%; z-index: 12; }
.home-featured-page { display: grid; width: 100%; height: 100%; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1.15%; }
.home-featured-page[hidden] { display: none; }
.home-featured-cover { display: block; position: relative; min-width: 0; min-height: 0; height: 100%; padding: 0; overflow: hidden; border: 2px solid #17120f; box-shadow: inset 0 0 0 1px #efe1b1, 3px 3px 0 rgba(71,43,28,.42); background: #080706; cursor: pointer; transition: transform .16s ease, filter .16s ease, opacity .18s ease; }
.home-featured-cover img { width: 100%; height: 100%; object-fit: contain; background: #080706; }
.home-featured-cover:hover { transform: translateY(-3px); filter: brightness(1.06); }
.home-featured-cover:focus-visible { outline: 3px solid var(--cream); outline-offset: -3px; }
.home-featured-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  overflow: hidden;
  background: rgba(4,4,3,.96);
  color: var(--cream);
  text-align: left;
  transform: translateY(100%);
  transition: transform .2s ease;
}
.home-featured-cover:hover .home-featured-copy,
.home-featured-cover:focus .home-featured-copy { transform: translateY(0); }
.home-featured-title { color: var(--red); font: 700 clamp(12px,1.35vw,16px)/1.05 Impact, "Arial Narrow", sans-serif; letter-spacing: .04em; }
.home-featured-copy .episode-meta { color: var(--cream); font-size: clamp(8px,.85vw,11px); font-weight: 800; line-height: 1.15; }
.home-featured-copy .description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cream);
  font-size: clamp(8px,.8vw,10px);
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
.home-featured-stage.is-changing .home-featured-cover { opacity: .28; }
.home-carousel-arrow { position: absolute; z-index: 25; top: 47%; width: 4.6%; min-height: 0; border: 0; padding: 0; margin: 0; background: transparent; appearance: none; cursor: pointer; }
.home-carousel-arrow img { width: 100%; height: auto; pointer-events: none; }
.home-carousel-arrow.previous { left: .2%; }
.home-carousel-arrow.next { right: .1%; }
.home-carousel-arrow:hover { transform: scale(1.06); }
.home-carousel-arrow:focus-visible { outline: 3px solid var(--cream); }
.home-carousel-dots { position: absolute; z-index: 30; left: 50%; bottom: 1.1%; transform: translateX(-50%); display: flex; gap: 8px; line-height: 1; }
.home-carousel-dot { width: 9px; height: 9px; min-height: 0; border-radius: 50%; border: 1px solid #17120f; background: #9b8960; padding: 0; cursor: pointer; }
.home-carousel-dot.active { background: #d92924; }
.home-patreon-link { position: absolute; inset: 0; z-index: 20; }
.home-recommend-mobile-cover { display: none; }
.home-patreon-link:focus-visible { outline: 4px solid var(--cream); outline-offset: -6px; }

.site-header, .site-footer { position: relative; width: min(100%, 938px); margin: 0 auto; background: #080706; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--paper); }
.site-header img, .site-footer img { width: 100%; }
.header-home-link { position: absolute; left: .5%; top: 3%; z-index: 2; width: 21%; height: 93%; }
.header-links { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.header-links a, .header-links button {
  position: absolute;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: transparent;
  font-size: 0;
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color .14s ease;
}
.header-home-link, .header-links a, .header-links button { transition: background-color .14s ease; }
.header-home-link:hover, .header-links a:hover, .header-links button:hover { background: rgba(223,40,40,.08); }
.header-home-link:focus-visible, .header-links a:focus-visible, .header-links button:focus-visible { outline: 3px solid var(--cream); outline-offset: -3px; }
.header-episodes { left: 23%; top: 27%; width: 7.1%; height: 51%; }
.header-collections { left: 30.7%; top: 27%; width: 8.7%; height: 51%; }
.header-categories { left: 40.1%; top: 27%; width: 8.8%; height: 51%; }
.header-about { left: 49.6%; top: 27%; width: 6.1%; height: 51%; }
.header-community { left: 56.3%; top: 27%; width: 8.7%; height: 51%; }
.header-search { left: 65.8%; top: 19%; width: 4.7%; height: 65%; }
.header-listen { left: 71.3%; top: 20%; width: 17.7%; height: 64%; }
body[data-page="episodes"] .header-episodes,
body[data-page="collections"] .header-collections,
body[data-page="categories"] .header-categories,
body[data-page="about"] .header-about,
body[data-page="community"] .header-community { background: rgba(223,40,40,.15); }

.community-page { overflow-x: hidden; background: #070605; }
.community-site { width: min(100%, 1180px); margin: 0 auto; background: #080706; box-shadow: 0 0 80px rgba(0,0,0,.6); }
.community-section { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.community-section-art { width: 100%; height: auto; }
.community-hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  min-height: 0;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.community-hotspot:hover { background: rgba(223,40,40,.09); }
.community-hotspot:focus-visible { outline: 4px solid var(--cream); outline-offset: -4px; background: rgba(223,40,40,.12); }
.community-review-link:hover { background: rgba(246,233,189,.06); }
.community-patreon-link:hover { background: rgba(255,255,255,.05); }
.community-mobile-footer { display: none; }

.page-shell {
  width: min(100% - 24px, 1180px);
  margin: 0 auto;
  padding: 24px 0 48px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.22), transparent 20rem),
    repeating-linear-gradient(0deg, rgba(22,16,10,.035) 0 1px, transparent 1px 5px),
    var(--paper);
  color: var(--ink);
  min-height: 80vh;
  box-shadow: 0 0 50px rgba(0,0,0,.75);
}
.page-masthead { width: calc(100% - 32px); margin: 0 auto 22px; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.masthead-wrap { position: relative; }
.masthead-wrap .page-masthead { position: relative; z-index: 1; }
.episode-count-badge { position: absolute; z-index: 2; height: auto; pointer-events: none; }
.archive-masthead-wrap .episode-count-badge { top: 4%; right: -.2%; width: 24%; }
.archive-masthead { height: auto; object-fit: contain; background: var(--paper); }
.categories-masthead { aspect-ratio: 3 / 1; object-fit: cover; }

.controls {
  position: sticky;
  top: clamp(52px, 8vw, 82px);
  z-index: 10;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 0 16px 18px;
  padding: 14px;
  border: 4px solid var(--ink);
  background: #11100e;
  color: var(--cream);
  box-shadow: var(--shadow);
}
.controls label { display: grid; gap: 6px; font-weight: 800; letter-spacing: .03em; }
.controls input, .controls select, .controls button, .jump-row a {
  border: 2px solid var(--cream);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 11px;
  font-weight: 800;
}
.controls button { cursor: pointer; background: var(--red); color: white; }
.controls .surprise-button { align-self: stretch; min-width: 210px; padding: 0; border: 0; background: transparent; }
.surprise-button img { width: 100%; height: 100%; max-height: 66px; object-fit: contain; }
.surprise-button:focus-visible { outline: 4px solid var(--cream); outline-offset: 3px; }
.result-count { margin: 0 20px 14px; font-weight: 800; }

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 18px;
  padding: 0 18px;
}
.episode-card {
  position: relative;
  min-width: 0;
  border: 4px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  box-shadow: 5px 5px 0 rgba(223,40,40,.65);
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
}
.episode-card:nth-child(4n+2) { transform: rotate(.35deg); }
.episode-card:nth-child(5n+3) { transform: rotate(-.45deg); }
.episode-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #030302; }
.episode-card .card-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px;
  background: rgba(4, 4, 3, .96);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .2s ease;
}
.episode-card:hover .card-copy, .episode-card:focus-within .card-copy { transform: translateY(0); }
.episode-card h3 { margin: 0 0 5px; color: var(--red); font: 700 16px/1.05 Impact, "Arial Narrow", sans-serif; letter-spacing: .04em; }
.episode-card p { margin: 4px 0 0; font-size: 12px; line-height: 1.25; }
.episode-card .episode-meta { color: var(--cream); font-weight: 800; }
.episode-card .description { color: var(--cream); }
.episode-card button { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { padding: 3px 6px; background: var(--red); color: white; font-size: 11px; font-weight: 800; text-transform: uppercase; }

.category-jump, .collection-jump, .jump-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px 24px;
}
.category-jump a, .collection-jump a { display: block; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--red); background: var(--ink); }
.category-jump img, .collection-jump img { width: 100%; aspect-ratio: 1200 / 170; object-fit: cover; }
.jump-row a { text-align: center; text-decoration: none; text-transform: uppercase; }

.category-section, .collection-section { padding: 18px 0 44px; scroll-margin-top: 95px; }
.section-banner { width: calc(100% - 32px); margin: 0 auto 18px; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.collection-section .section-banner { aspect-ratio: 1200 / 170; object-fit: contain; }
.category-section .episode-grid, .collection-section .episode-grid { grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); }
.section-note { margin: 0 20px 18px; font-weight: 700; }
.empty-panel { margin: 0 18px; padding: 28px; border: 4px solid var(--ink); background: rgba(255,255,255,.22); text-align: center; font-weight: 800; }

.about-shell { padding-bottom: 58px; }
.about-masthead { aspect-ratio: 3 / 1; object-fit: cover; background: var(--paper); }
.graves-message { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.15fr); gap: 34px; align-items: stretch; padding: 10px 36px 34px; }
.graves-portrait-panel { position: relative; min-width: 0; margin: 0; border: 6px solid var(--ink); background: var(--ink); box-shadow: 9px 9px 0 var(--red); overflow: hidden; transform: rotate(-.7deg); }
.graves-portrait-panel img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; object-position: 50% 48%; }
.graves-letter-art { align-self: center; width: 100%; transform: rotate(.2deg); }
.about-cta { display: block; width: calc(100% - 72px); margin: 12px auto 0; transform: rotate(-.35deg); }
.about-cta img { width: 100%; }
.about-cta:hover { transform: rotate(-.35deg) translateY(-3px); filter: brightness(1.05); }
.about-cta:focus-visible { outline: 4px solid var(--ink); outline-offset: 5px; }

dialog {
  width: min(92vw, 760px);
  border: 5px solid var(--cream);
  border-radius: 0;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 12px 12px 0 var(--red);
  padding: 22px;
}
dialog::backdrop { background: rgba(0,0,0,.82); }
.dialog-close { float: right; border: 0; background: var(--red); color: white; font-size: 28px; cursor: pointer; }
.dialog-layout { display: grid; grid-template-columns: minmax(180px, .85fr) 1.3fr; gap: 22px; align-items: start; }
.dialog-layout img { width: 100%; border: 3px solid var(--paper); }
.dialog-layout h2 { margin: 0 42px 8px 0; color: var(--red); font: 42px/1 Impact, "Arial Narrow", sans-serif; }
.dialog-layout p { line-height: 1.55; }
.episode-player { margin-top: 14px; padding: 12px; border: 2px solid var(--paper); background: #171512; }
.player-label { margin: 0 0 8px; color: var(--red); font-weight: 900; }
.episode-player audio { display: block; width: 100%; min-height: 48px; accent-color: var(--red); }
.episode-share { margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--paper); }
.share-label { margin: 0 0 8px; color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.share-options { display: flex; flex-wrap: wrap; gap: 7px; }
.share-options a, .share-options button { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--paper); background: #211e19; color: var(--cream); padding: 8px; text-decoration: none; cursor: pointer; }
.share-options svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.share-options a:hover, .share-options button:hover { background: var(--red); color: white; }
.share-options a:focus-visible, .share-options button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.share-status { min-height: 1.4em; margin: 8px 0 0; color: var(--paper); font: 13px/1.4 Arial, sans-serif; }

@media (max-width: 760px) {
  .home-site { width: 100vw; box-shadow: none; }
  .community-site { width: 100vw; box-shadow: none; }
  .home-header { position: relative; }
  .home-hero, .home-latest, .home-categories, .home-recommend, .home-featured, .home-patreon { aspect-ratio: auto; }
  .home-hero > .home-hotspot { left: 5% !important; top: 68% !important; width: 90% !important; height: 27% !important; }
  .home-categories > .home-hotspot:nth-of-type(1) { left: 4% !important; top: 17% !important; width: 45% !important; height: 27% !important; }
  .home-categories > .home-hotspot:nth-of-type(2) { left: 51% !important; top: 17% !important; width: 45% !important; height: 27% !important; }
  .home-categories > .home-hotspot:nth-of-type(3) { left: 4% !important; top: 45% !important; width: 45% !important; height: 27% !important; }
  .home-categories > .home-hotspot:nth-of-type(4) { left: 51% !important; top: 45% !important; width: 45% !important; height: 27% !important; }
  .home-categories > .home-hotspot:nth-of-type(5) { left: 4% !important; top: 73% !important; width: 45% !important; height: 25% !important; }
  .home-categories > .home-hotspot:nth-of-type(6) { left: 51% !important; top: 73% !important; width: 45% !important; height: 25% !important; }
  .home-recommend-mobile-cover { position: absolute; z-index: 15; display: block; left: 13%; top: 37%; width: 74%; height: 32%; object-fit: contain; background: #080706; border: 3px solid #17120f; }
  #home-recommend-listen { left: 4% !important; top: 87% !important; width: 59% !important; height: 10% !important; }
  #home-recommend-art { left: 65% !important; top: 87% !important; width: 31% !important; height: 10% !important; }
  .home-featured > .home-hotspot { left: 8% !important; top: 90% !important; width: 84% !important; height: 8% !important; }
  .home-featured-stage { left: 9%; right: 9%; top: 28%; bottom: 14%; }
  .home-featured-page { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 2%; }
  .home-featured-page .home-featured-cover:last-child { grid-column: 1 / -1; width: 49%; justify-self: center; }
  .home-featured-cover { border-width: 1px; }
  .home-featured-copy { display: none; }
  .home-carousel-arrow { top: 52%; width: 9%; }
  .home-carousel-dots { bottom: 10.5%; }
  .community-social > .community-hotspot:nth-of-type(1) { left: 13% !important; top: 16% !important; width: 36% !important; height: 10% !important; }
  .community-social > .community-hotspot:nth-of-type(2) { left: 51% !important; top: 16% !important; width: 36% !important; height: 10% !important; }
  .community-social > .community-hotspot:nth-of-type(3) { left: 13% !important; top: 26% !important; width: 36% !important; height: 10% !important; }
  .community-social > .community-hotspot:nth-of-type(4) { left: 51% !important; top: 26% !important; width: 36% !important; height: 10% !important; }
  .community-social > .community-hotspot:nth-of-type(5) { left: 25% !important; top: 36% !important; width: 50% !important; height: 10% !important; }
  .community-social > .community-review-link:nth-of-type(6) { left: 2% !important; top: 55% !important; width: 32% !important; height: 42% !important; }
  .community-social > .community-review-link:nth-of-type(7) { left: 34% !important; top: 55% !important; width: 32% !important; height: 42% !important; }
  .community-social > .community-review-link:nth-of-type(8) { left: 66% !important; top: 55% !important; width: 32% !important; height: 42% !important; }
  .community-vault .community-patreon-link { left: 5% !important; top: 83% !important; width: 90% !important; height: 14% !important; }
  .community-closing > .community-hotspot:first-of-type { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }
  .community-desktop-footer-hotspot { display: none; }
  .community-mobile-footer { display: block; }
  .site-header { position: relative; }
  .page-shell { width: 100%; padding-top: 12px; }
  .controls { position: static; grid-template-columns: 1fr; }
  .controls .surprise-button { width: min(100%, 420px); justify-self: center; }
  .category-jump, .collection-jump, .jump-row { grid-template-columns: 1fr 1fr; }
  .episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 12px; }
  .episode-card .card-copy { display: none; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-layout img { max-width: 340px; margin: 0 auto; }
  .graves-message { grid-template-columns: 1fr; gap: 26px; padding: 4px 18px 28px; }
  .graves-portrait-panel img { min-height: 440px; }
  .graves-letter-art { width: min(100%, 620px); margin: 0 auto; }
  .about-cta { width: calc(100% - 36px); }
}

@media (max-width: 430px) {
  .category-jump, .collection-jump, .jump-row { grid-template-columns: 1fr; }
  .episode-grid { grid-template-columns: 1fr 1fr; }
  .episode-card h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .episode-card .card-copy { transition: none; }
  .home-featured-cover { transition: none; }
  .home-featured-cover:hover, .home-featured-cover:focus-visible { transform: none; }
}
