:root {
  color-scheme: dark;
  --space: #090a06;
  --panel: #11130d;
  --ink: #f4f4e8;
  --muted: #bfc1b1;
  --lime: #ceff36;
  --yellow: #ffda21;
  --line: #434637;
  --mono: "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

body {
  min-block-size: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--space);
  background-image:
    radial-gradient(circle at 31px 49px, #d5af32 0 1.4px, transparent 2px),
    radial-gradient(circle at 86px 128px, #79652c 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 172px 44px, #b58e2b 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 213px 189px, #5f5629 0 1px, transparent 1.6px);
  background-size: 211px 151px, 251px 211px, 277px 179px, 311px 307px;
  font-family: system-ui, sans-serif;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--space);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site {
  width: min(1016px, calc(100% - 56px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: bold .8125rem/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-block: 10px 14px;
  min-block-size: 48px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal {
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--lime);
  box-shadow: 0 0 10px #ceff3670;
}

.listen-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 11px;
  border: 1px solid #6a7137;
  background: var(--panel);
  color: var(--lime);
  font: inherit;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

.listen-trigger[hidden] {
  display: none;
}

.listen-trigger:hover {
  background: var(--lime);
  color: var(--space);
}

.listen-trigger span {
  font-size: .8em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-width: 0;
  border: 1px solid #6a7137;
  box-shadow: 5px 5px 0 #272b12;
  background: #080904;
}

.hero::before,
.hero::after {
  z-index: 1;
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: -1px auto auto -1px;
  border-top: 2px solid var(--lime);
  border-left: 2px solid var(--lime);
}

.hero::after {
  inset: auto -1px -1px auto;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
}

.hero-copy {
  padding: clamp(16px, 2.6vw, 30px) clamp(19px, 3.6vw, 40px);
}

.hero-label {
  margin: 0 0 10px;
  color: var(--yellow);
  font: bold .8125rem/1.3 var(--mono);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero-label span {
  margin-right: 5px;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(2.625rem, 5.9vw, 4.25rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.082em;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
  color: var(--yellow);
}

.tagline {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.55;
}

.hero-art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  border-left: 1px solid #30331a;
}

.hero-art img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(600px, 76vw, 1010px);
  height: auto;
  transform: translate(-50%, -50%);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 24%, var(--yellow) 0 2.5px, transparent 3px),
    radial-gradient(circle at 27% 12%, #b18e17 0 1.5px, transparent 2px),
    radial-gradient(circle at 81% 23%, var(--yellow) 0 2px, transparent 2.6px),
    radial-gradient(circle at 89% 69%, #b18e17 0 1.5px, transparent 2px),
    radial-gradient(circle at 15% 80%, #b18e17 0 1.5px, transparent 2px),
    radial-gradient(circle at 72% 87%, var(--yellow) 0 2.5px, transparent 3px);
  content: "";
}

.sections {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-block: 22px 24px;
}

.sections section {
  scroll-margin-top: 14px;
  min-width: 0;
  padding: 17px 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 4px 4px 0 #080904;
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  padding-bottom: 13px;
  border-bottom: 1px dashed #4f5142;
  font: bold clamp(.9375rem, 1.8vw, 1.125rem)/1.35 var(--mono);
  letter-spacing: .045em;
  text-transform: uppercase;
}

h2 span {
  color: var(--lime);
  font-size: .9em;
}

.platforms {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.platform {
  --accent: #f4f4e8;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 8px 11px;
  border: 1px solid #55584a;
  background: #1b1e15;
  box-shadow: 3px 3px 0 #070803;
  color: var(--ink);
  line-height: 1.2;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}

.show-platforms .platform {
  height: 100%;
}

a.platform {
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

a.platform:hover,
a.platform:focus-visible {
  border-color: var(--accent);
  background: #282d1e;
  box-shadow: 3px 4px 0 var(--accent);
  transform: translate(-1px, -2px);
}

a.platform:active {
  box-shadow: 1px 1px 0 var(--accent);
  transform: translate(1px, 1px);
}

.platform small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: .75rem/1.2 var(--mono);
  overflow-wrap: anywhere;
}

.apple { --accent: #dac4ff; }
.pocket { --accent: #ff9a8f; }
.rss { --accent: #ffc56c; }
.youtube { --accent: #ff9a8f; }
.spotify { --accent: #7eef9d; }
.amazon { --accent: #a0e6ff; }
.podcast-index { --accent: #ffb59e; }
.instagram { --accent: #ffc2ee; }

.icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  background: #11130d;
  color: var(--accent);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1;
}

.rss-icon::before {
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at bottom left,
    currentColor 0 3px, transparent 3.5px 6px,
    currentColor 6.5px 8px, transparent 8.5px 11px,
    currentColor 11.5px 13px, transparent 13.5px);
  content: "";
}

.youtube-icon::before {
  width: 18px;
  height: 13px;
  border-radius: 4px;
  background: currentColor;
  content: "";
}

.youtube-icon::after {
  position: absolute;
  left: calc(50% - 2px);
  border-block: 3px solid transparent;
  border-left: 5px solid #11130d;
  content: "";
}

.instagram-icon i {
  display: grid;
  place-items: center;
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}

.instagram-icon i::before {
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.instagram-icon i::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.arrow {
  color: var(--accent);
  font: bold 1.25rem/1 var(--mono);
}

.spotify-icon i {
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 7px 3px at 50% 49%, transparent 70%, currentColor 80% 96%, transparent) 0 -3px,
    radial-gradient(ellipse 6px 2px at 50% 55%, transparent 70%, currentColor 80% 96%, transparent) 0 0,
    radial-gradient(ellipse 5px 2px at 50% 66%, transparent 70%, currentColor 80% 96%, transparent) 0 3px;
}

.episode-dialog {
  width: min(424px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 15px 20px 22px;
  border: 1px solid #6a7137;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 5px 5px 0 #272b12;
}

.episode-dialog::backdrop {
  background: #000c;
}

.episode-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #4f5142;
}

.episode-dialog-header h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.episode-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 1.5rem/1 var(--mono);
  cursor: pointer;
}

.episode-close:hover {
  color: var(--lime);
}

.episode-title {
  margin: 16px 0;
  font-size: 1.0625rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.episode-fallback {
  color: var(--lime);
  text-underline-offset: .2em;
}

@media (max-width: 700px) {
  .site {
    width: calc(100% - 32px);
  }

  .masthead {
    margin-block: 8px 12px;
  }

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

  .hero {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .hero-copy {
    padding-inline: clamp(12px, 3vw, 20px);
  }

  h1 {
    font-size: clamp(1.5rem, 7.7vw, 3.5rem);
  }

  .hero-art img {
    width: clamp(335px, 112vw, 620px);
  }

  .sections {
    gap: 18px;
    margin-block: 18px 24px;
  }

  .sections section {
    padding: 14px 12px 16px;
  }
}

@media (max-width: 480px) {
  .show-platforms {
    gap: 8px;
  }

  .show-platforms .platform {
    grid-template-columns: 25px minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 46px;
    padding: 5px 7px;
    font-size: .875rem;
    overflow-wrap: anywhere;
  }

  .show-platforms .icon {
    width: 25px;
    height: 25px;
  }

  .show-platforms .arrow {
    font-size: 1rem;
  }

  .show-platforms small {
    display: none;
  }
}

@media (min-width: 481px) and (max-height: 700px) {
  .hero-copy {
    padding-block: 13px;
  }

  h1 {
    font-size: clamp(2rem, 5.1vw, 3.5rem);
  }

  .sections {
    margin-block-start: 14px;
  }

  .show-platforms {
    gap: 8px;
  }

  .show-platforms .platform {
    min-height: 48px;
    padding-block: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.platform {
    transition: none;
  }
}
