:root {
  --dark: #07070d;
  --ink: #101322;
  --panel: rgba(16, 19, 34, 0.88);
  --text: #f7f8ff;
  --muted: #bbc3d8;
  --red: #ff263d;
  --blue: #0b7dff;
  --slime: #a6ff00;
  --slime-yellow: #ffe600;
  --cyan: #1ee7ff;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body::selection {
  background: var(--slime);
  color: #08080c;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 7.6rem);
  text-shadow: 7px 7px 0 #000, -2px -2px 0 rgba(255, 255, 255, 0.12);
}

h2 {
  font-size: clamp(2.35rem, 6vw, 5.7rem);
  text-shadow: 5px 5px 0 #000;
}

h3 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 38, 61, 0.34), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(11, 125, 255, 0.34), transparent 30%),
    radial-gradient(circle at 50% 88%, rgba(30, 231, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #07070d, #101222 48%, #050507);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

.splat {
  position: absolute;
  width: 280px;
  height: 220px;
  border-radius: 48% 52% 43% 57% / 43% 42% 58% 57%;
  opacity: 0.72;
  transform: rotate(-14deg);
}

.splat::before,
.splat::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.splat::before {
  width: 80px;
  height: 80px;
  left: -34px;
  top: 54px;
}

.splat::after {
  width: 52px;
  height: 52px;
  right: -18px;
  top: -20px;
}

.splat-a {
  left: -92px;
  top: 25%;
  background: var(--slime);
}

.splat-b {
  right: -105px;
  top: 47%;
  background: var(--slime-yellow);
  transform: rotate(20deg) scale(0.8);
}

.splat-c {
  right: 19%;
  bottom: -118px;
  background: var(--red);
  opacity: 0.5;
  transform: rotate(8deg) scale(0.9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(var(--max), calc(100% - 28px));
  min-height: 76px;
  margin: 12px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(7, 7, 13, 0.84);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 146px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.menu-toggle {
  min-height: 42px;
  padding: 12px 14px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 950;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a[aria-current="page"] {
  border-color: #000;
  background: var(--slime);
  color: #07070d;
  box-shadow: 4px 4px 0 #000;
}

.menu-toggle {
  display: none;
  background: var(--ink);
  border-color: var(--line);
}

.section {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) 0;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 44px;
}

.hero > *,
.about > *,
.split-note > *,
.format-strip > *,
.home-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--slime), var(--slime-yellow));
  color: #101010;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lead {
  max-width: 650px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border: 2px solid #000;
  box-shadow: 5px 5px 0 #000;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #000;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: #fff;
}

.btn-secondary {
  background: var(--slime);
  color: #050507;
}

.hero-visual {
  position: relative;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 38, 61, 0.22), rgba(11, 125, 255, 0.24)),
    rgba(16, 19, 34, 0.7);
}

.hero-visual img {
  display: block;
  width: 100%;
  background: rgba(0, 0, 0, 0.26);
}

.hero-visual figcaption {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.section-title {
  max-width: 880px;
  margin-bottom: 30px;
}

.section-title p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
}

.page-hero {
  padding-top: clamp(78px, 12vw, 150px);
  padding-bottom: clamp(34px, 5vw, 72px);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.home-card {
  position: relative;
  min-height: 360px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.home-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 100px;
  right: -46px;
  top: -24px;
  border-radius: 45% 55% 50% 50%;
  background: var(--slime);
  opacity: 0.72;
  transform: rotate(18deg);
}

.home-card h2,
.home-card p,
.home-card .feature-number {
  position: relative;
  z-index: 1;
}

.home-card h2 {
  font-size: clamp(2.4rem, 4vw, 4.15rem);
  overflow-wrap: anywhere;
}

.home-card p {
  margin-top: 18px;
}

.feature-grid,
.knowledge-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature,
.knowledge-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature::after,
.knowledge-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 90px;
  right: -45px;
  top: -28px;
  border-radius: 45% 55% 50% 50%;
  background: var(--slime);
  opacity: 0.7;
  transform: rotate(18deg);
}

.feature-number {
  display: block;
  margin-bottom: 12px;
  color: var(--slime);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", system-ui, sans-serif;
  font-size: 3.4rem;
  line-height: 1;
  text-shadow: 3px 3px 0 #000;
}

.feature h3,
.feature p,
.knowledge-card h3,
.knowledge-card p,
.knowledge-card ul {
  position: relative;
  z-index: 1;
}

.feature p,
.knowledge-card p {
  margin-top: 12px;
}

.format-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.36fr);
  gap: 22px;
  align-items: stretch;
}

.format-copy,
.format-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(166, 255, 0, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 38, 61, 0.23), rgba(11, 125, 255, 0.23)),
    rgba(16, 19, 34, 0.9);
}

.format-copy {
  padding: clamp(26px, 5vw, 54px);
}

.format-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 18px;
}

.format-list {
  display: grid;
  gap: 10px;
}

.format-tab,
.gallery-filter {
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(16, 19, 34, 0.92);
  color: var(--text);
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.format-tab.is-active,
.gallery-filter.is-active {
  border-color: #000;
  background: var(--slime);
  color: #07070d;
  box-shadow: 4px 4px 0 #000;
}

.format-panel {
  grid-column: 1 / -1;
  min-height: 145px;
  padding: 26px;
}

.format-panel p {
  max-width: 760px;
  margin-top: 10px;
}

.episode-list {
  display: grid;
  gap: 22px;
}

.episode-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.45fr);
  gap: 22px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.episode-entry::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 90px;
  right: -45px;
  top: -28px;
  border-radius: 45% 55% 50% 50%;
  background: var(--slime);
  opacity: 0.7;
  transform: rotate(18deg);
}

.episode-entry.is-featured {
  background:
    radial-gradient(circle at 18% 18%, rgba(166, 255, 0, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 38, 61, 0.24), rgba(11, 125, 255, 0.24)),
    rgba(16, 19, 34, 0.92);
}

.episode-copy,
.episode-gallery,
.episode-entry h3,
.episode-entry p,
.episode-entry .episode-meta,
.episode-entry .episode-status {
  position: relative;
  z-index: 1;
}

.episode-copy {
  align-self: center;
}

.episode-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.episode-thumb {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
}

.episode-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.episode-thumb:hover img,
.episode-thumb:focus-visible img {
  transform: scale(1.04);
}

.episode-entry p {
  margin-top: 12px;
}

.episode-meta,
.episode-status {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  color: #07070d;
  background: var(--slime);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.episode-status {
  margin-top: 20px;
  margin-bottom: 0;
  background: var(--slime-yellow);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  padding: 24px;
  place-items: center;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #000;
}

.lightbox-caption {
  max-width: min(900px, 92vw);
  margin-top: 14px;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid #000;
  background: var(--slime);
  color: #07070d;
  box-shadow: 4px 4px 0 #000;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.knowledge-grid {
  grid-template-columns: repeat(4, 1fr);
}

.knowledge-card {
  min-height: 340px;
}

.knowledge-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 24px;
  align-items: start;
}

.about-copy,
.about-facts {
  border: 1px solid var(--line);
  background: var(--panel);
}

.about-copy {
  padding: clamp(28px, 5vw, 54px);
}

.about-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--slime);
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-facts {
  display: grid;
}

.about-facts div {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.about-facts div:last-child {
  border-bottom: 0;
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  color: var(--slime);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-facts span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.split-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.gallery-filter {
  padding: 0 18px;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  min-height: 280px;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(16, 19, 34, 0.86);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  transition: transform 0.18s ease;
}

.gallery-item img:hover,
.gallery-item img:focus-visible {
  transform: scale(1.04);
}

.gallery-item figcaption {
  min-height: 58px;
  padding: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.site-footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto 20px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.site-footer .small {
  max-width: 650px;
  text-align: right;
  font-size: 0.88rem;
}

@media (max-width: 1040px) {
  .knowledge-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .knowledge-card {
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    background: rgba(7, 7, 13, 0.96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero,
  .format-strip,
  .about,
  .split-note {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero-visual {
    max-width: 560px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-card {
    min-height: 0;
  }

  .feature {
    min-height: 0;
  }

  .format-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer .small {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .brand img {
    width: 118px;
  }

  .section {
    width: min(100% - 20px, var(--max));
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
    overflow-wrap: anywhere;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    padding: 14px;
  }

  .format-list,
  .knowledge-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-height: 0;
  }
}
