:root {
  --bg: #000;
  --blue: #1a9bff;
  --blue-hot: #3cb2ff;
  --blue-deep: #0077e4;
  --text: #f3f7fb;
  --muted: #c5d0dc;
  --dim: #8ea0b4;
  --line: rgba(80, 168, 255, 0.28);
  --header: 84px;
  --serif-none: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif-none);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.dock-open { padding-bottom: 92px; }
img { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--blue-hot);
  outline-offset: 3px;
}
::selection { background: #0b63b0; color: #fff; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 30;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-hot);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.3rem); }
.section-head h1,
.about-grid h1,
.contact-grid h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}
.feature h1,
.feature h2 {
  margin: 0 0 2px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.02em;
}
.feature h2 a { text-decoration: none; }
.feature h2 a:hover { color: var(--blue-hot); }
.feature .eyebrow { margin: 0 0 10px; color: var(--blue-hot); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  padding: 0 36px;
}
.site-header.is-stuck,
body.sub .site-header {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(40, 140, 255, 0.16);
}
body.sub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.sub main { flex: 1; }
main.page { padding: calc(var(--header) + 56px) 0 88px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
}
.brand-mark img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(26, 155, 255, 0.45));
}
.brand-name {
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.02;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: 34px;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--blue-hot); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 12px) 24px 72px;
  isolation: isolate;
}
.circuits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
}
.board { opacity: 0.72; }
.trace-flow { stroke-dasharray: 10 180; animation: flow 18s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -380; } }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 46% 42% at 50% 46%, rgba(0, 0, 0, 0.55), transparent 72%),
    linear-gradient(90deg, #000 0%, transparent 16%, transparent 84%, #000 100%),
    linear-gradient(#000, transparent 12%, transparent 82%, #000);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
  text-align: center;
}
.emblem-wrap {
  width: min(280px, 58vw);
  margin: 0 auto 8px;
}
.emblem-wrap img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 22px rgba(26, 155, 255, 0.4));
}
.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.05rem, 4.7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 0.98;
}
.lede {
  margin: 22px auto 0;
  max-width: 640px;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 400;
  line-height: 1.45;
}
.actions { margin-top: 34px; }
.action-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.reflect {
  margin-top: 10px;
  transform: scaleY(-1);
  opacity: 0.45;
  filter: blur(0.3px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 46%, transparent 100%);
  pointer-events: none;
  user-select: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 210px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 10px;
  border: 1.5px solid var(--blue);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
}
.btn.solid {
  background: linear-gradient(#1aa4ff, #0084ee);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 120, 230, 0.22);
}
.btn.solid:hover { background: linear-gradient(#3cb4ff, #0a90f5); }
.btn.ghost { color: var(--blue-hot); background: rgba(0, 10, 20, 0.35); }
.btn.ghost:hover { background: rgba(20, 120, 220, 0.16); }
.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.is-playing .eq { display: flex; }
.eq i {
  display: block;
  width: 2px;
  height: 5px;
  background: #fff;
  animation: bar 0.8s ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-delay: 0.15s; height: 10px; }
.eq i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bar { to { height: 12px; } }

.phones {
  position: absolute;
  z-index: 2;
  right: -2vw;
  bottom: -2vh;
  width: min(460px, 34vw);
  pointer-events: none;
  user-select: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 14%, #000 90%, transparent),
    linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.episodes, .about, .contact { position: relative; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-lede { margin: 0; color: var(--muted); max-width: 58ch; }

.filters { margin: 0 0 28px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.filter-count {
  margin-left: 6px;
  color: var(--dim);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.filter:hover { border-color: var(--blue); color: var(--blue-hot); }
.filter.is-on {
  background: var(--blue);
  border-color: transparent;
  color: #fff;
}
.filter.is-on .filter-count { color: rgba(255, 255, 255, 0.82); }
.filter-status {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 0.9rem;
}
.filter-empty { margin: 8px 0 0; color: var(--muted); }
.feature .ep-tags,
.ep-list .ep-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.ep-tags span {
  color: var(--blue-hot);
  border: 1px solid rgba(60, 178, 255, 0.35);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature[hidden],
.ep-list li[hidden] { display: none; }
.feature {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px 32px;
  align-items: center;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(26, 155, 255, 0.55);
  border-radius: 18px;
  background:
    radial-gradient(600px 180px at 0% 0%, rgba(20, 130, 255, 0.16), transparent 60%),
    #070b12;
  scroll-margin-top: 100px;
}
.feature .latest-flag {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  margin: -22px -22px 0;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.feature .latest-flag span {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.feature-art {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.feature h3 { margin: 0 0 10px; font-size: clamp(1.45rem, 2vw, 1.9rem); }
.feature p { margin: 0; color: var(--muted); }
.feature-actions { display: flex; align-items: center; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.text-link {
  color: var(--blue-hot);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.text-link:hover { color: #fff; }

.ep-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.ep-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid rgba(80, 168, 255, 0.16);
}
.ep-list h3 { margin: 0 0 2px; font-size: 1.08rem; font-weight: 600; letter-spacing: 0; }
.feature .ep-theory,
.ep-list .ep-theory {
  margin: 0 0 8px;
  color: var(--blue-hot);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.ep-list h3 a { text-decoration: none; }
.ep-list h3 a:hover { color: var(--blue-hot); }
.ep-list p { margin: 0; color: var(--dim); font-size: 0.95rem; }
.ep-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--dim);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ep-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #071018;
  color: var(--blue-hot);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}
.ep-play svg { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
.ep-play:hover, .ep-play.is-playing { background: var(--blue); color: #fff; border-color: transparent; }
.ep-play.is-playing svg { display: none; }
.ep-play.is-playing::before,
.ep-play.is-playing::after {
  content: "";
  width: 3px;
  height: 12px;
  background: currentColor;
  display: block;
}
.ep-play.is-playing { display: flex; gap: 4px; }
.back { margin: 0 0 18px; }
.back a {
  color: var(--blue-hot);
  font-weight: 600;
  text-decoration: none;
}
.back a:hover { color: #fff; }
.episode-notes {
  max-width: 68ch;
  margin-top: 36px;
}
.episode-notes p { margin: 0 0 14px; color: var(--muted); }
.episode-notes h2 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  letter-spacing: 0;
}
.studies {
  list-style: none;
  margin: 0;
  padding: 0;
}
.studies li {
  padding: 12px 0;
  border-top: 1px solid rgba(80, 168, 255, 0.16);
  color: var(--muted);
}
.studies a { color: var(--blue-hot); text-decoration: none; font-weight: 600; }
.studies a:hover { color: #fff; }
.episode-turn {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}
.episode-turn .turn { max-width: 42%; text-decoration: none; }
.episode-turn .turn:only-child { margin-left: auto; text-align: right; }
.episode-turn small {
  display: block;
  color: var(--dim);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.episode-turn span {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-weight: 600;
}
.episode-turn a:hover span { color: var(--blue-hot); }
.archive { margin: 28px 0 0; color: var(--muted); }
.archive .text-link { margin: 0 0.2em; }

.about { padding: 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose em { color: var(--text); font-style: normal; font-weight: 600; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}
.facts div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.facts dt {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.facts dd { margin: 4px 0 0; font-weight: 600; }
.cover { margin: 0; max-width: 360px; justify-self: end; }
.cover img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 110, 220, 0.18);
}
.cover figcaption { margin-top: 12px; color: var(--dim); font-size: 0.92rem; }
.listen { margin-top: 54px; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; }
.platform {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 600;
}
.platform:hover { border-color: var(--blue); color: var(--blue-hot); }

.contact { padding: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.mail { margin: 18px 0 0; font-size: 1.15rem; }
.mail a { color: var(--blue-hot); font-weight: 600; text-decoration: none; }
.mail a:hover { color: #fff; }
.card-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #070b12;
}
.card-form label {
  display: grid;
  gap: 6px;
  color: var(--dim);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-form input,
.card-form textarea {
  width: 100%;
  border: 1px solid rgba(80, 168, 255, 0.28);
  background: #04070c;
  border-radius: 10px;
  padding: 12px 14px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  color: var(--text);
}
.card-form input:focus,
.card-form textarea:focus { border-color: var(--blue); outline: none; }
.card-form .btn { justify-self: start; }
.form-error { margin: 0; color: #ffb4b4; letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.form-ok { margin: 0; color: #b7e4ff; letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
[aria-invalid="true"] { border-color: #e07070 !important; }

.site-footer {
  border-top: 1px solid rgba(80, 168, 255, 0.16);
  padding: 22px 0 28px;
  color: var(--dim);
  font-size: 0.92rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-row p { margin: 0; }

.dock {
  position: fixed;
  z-index: 25;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: auto minmax(140px, 240px) 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(6, 10, 16, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}
.dock[hidden] { display: none; }
.dock-id .eyebrow { margin: 0; }
.dock-title { margin: 2px 0 0; font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scrub-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  position: relative;
}
.scrub-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0077e4, #7ecbff);
}
.scrub-time {
  display: flex;
  justify-content: space-between;
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1040px) {
  .phones {
    position: relative;
    z-index: 3;
    right: auto;
    bottom: auto;
    width: min(380px, 78vw);
    margin: 8px auto 0;
    grid-row: 2;
  }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .about-grid, .contact-grid, .feature { grid-template-columns: 1fr; }
  .cover { max-width: 360px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { padding: 0 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(80, 168, 255, 0.12); }
  .wrap { width: min(1080px, calc(100% - 32px)); }
  .hero h1 { letter-spacing: 0.03em; }
  .lede br { display: none; }
  .btn { min-width: 0; width: 100%; }
  .action-row { flex-direction: column; align-items: stretch; }
  .reflect { display: none; }
  .ep-list li { grid-template-columns: auto 1fr; }
  .ep-meta { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: 12px; }
  .dock {
    grid-template-columns: auto 1fr;
    left: 8px;
    right: 8px;
  }
  .dock .text-link, .scrub { grid-column: 1 / -1; }
  .feature-actions .btn { width: auto; }
  .episode-turn { flex-direction: column; }
  .episode-turn .turn,
  .episode-turn .turn:only-child { max-width: none; margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i, .trace-flow { animation: none; }
}
