@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700;800&family=Space+Mono:wght@400;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: #111111;
  --panel-strong: #171717;
  --ink: #f4f4f0;
  --muted: #b9b8b2;
  --line: #2a2a2a;
  --red: #f20c0c;
  --red-hot: #ff2a1f;
  --red-deep: #970000;
  --amber: #f1b83e;
  --cyan: #6ee7f0;
  --steel: #8a8f98;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 42, 31, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 42, 31, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 42, 31, 0.16), rgba(7, 7, 7, 0) 24rem),
    linear-gradient(135deg, rgba(110, 231, 240, 0.12), transparent 18rem),
    var(--bg);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  color: var(--ink);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 2.5rem);
  background:
    linear-gradient(90deg, rgba(242, 12, 12, 0.15), rgba(7, 7, 7, 0.94) 34%),
    linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
    linear-gradient(45deg, #111 25%, #181818 25%, #181818 75%, #111 75%, #111);
  background-size: auto, 6px 6px, 6px 6px;
  background-position: 0 0, 0 0, 3px 3px;
  border-bottom: 1px solid rgba(255, 42, 31, 0.28);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: min(260px, 46vw);
}

.brand-mark img {
  max-height: 44px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.site-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255, 42, 31, 0.16), transparent 34%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 9px
    );
  mix-blend-mode: screen;
  opacity: 0.48;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  opacity: 0.18;
  pointer-events: none;
}

.hero-bg img {
  width: min(860px, 92vw);
  margin-right: -10vw;
  filter: drop-shadow(0 0 62px rgba(242, 12, 12, 0.56));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(5rem, 9vw, 7rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-main {
  max-width: 850px;
}

.hero-logo {
  width: min(560px, 78vw);
  margin: 0 0 1.5rem;
  filter:
    drop-shadow(0 0 24px rgba(242, 12, 12, 0.24))
    drop-shadow(0 16px 34px rgba(0, 0, 0, 0.5));
}

.eyebrow {
  font-family: "Space Mono", monospace;
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.15rem, 8.7vw, 7.8rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 30%, #a8a8a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, #a8a8a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 1.2rem 0 0;
  color: #deddd8;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.name-strip,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 900px;
  margin-top: 1.15rem;
}

.name-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 42, 31, 0.42);
  background: rgba(255, 42, 31, 0.1);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: space-between;
  text-transform: uppercase;
}

.hero-facts {
  margin-top: 0.7rem;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: 100%;
  padding: 0.42rem 0.62rem;
  border-left: 3px solid var(--amber);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-signal {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 42, 31, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 42, 31, 0.12), rgba(7, 7, 7, 0.9)),
    linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
    linear-gradient(45deg, #111 25%, #181818 25%, #181818 75%, #111 75%, #111);
  background-size: auto, 6px 6px, 6px 6px;
  background-position: 0 0, 0 0, 3px 3px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.anniversary-stamp {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem;
  border: 1px solid rgba(241, 184, 62, 0.5);
  background:
    linear-gradient(135deg, rgba(241, 184, 62, 0.18), rgba(7, 7, 7, 0.95)),
    linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
    linear-gradient(45deg, #111 25%, #181818 25%, #181818 75%, #111 75%, #111);
  background-size: auto, 6px 6px, 6px 6px;
  background-position: 0 0, 0 0, 3px 3px;
}

.anniversary-stamp strong {
  color: var(--ink);
  font-size: clamp(4rem, 8vw, 6.7rem);
  line-height: 0.8;
}

.anniversary-stamp span {
  color: var(--amber);
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: "Space Mono", monospace;
  font-weight: 800;
  box-shadow: 0 0 0 rgba(242, 12, 12, 0);
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover,
.link-card:hover {
  box-shadow: 0 0 28px rgba(242, 12, 12, 0.28);
}

.button-primary {
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
  border-color: var(--red-hot);
  color: white;
}

.button-secondary {
  background:
    linear-gradient(135deg, rgba(110, 231, 240, 0.11), rgba(255, 255, 255, 0.05));
  color: var(--ink);
}

.live-band,
.story-section,
.catalog-section,
.labels-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.4rem, 7vw, 6rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.75rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.live-console {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 1rem;
  align-items: stretch;
  min-width: 0;
}

.live-console > * {
  min-width: 0;
}

.live-poster {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 184, 62, 0.34);
  background: #050505;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.live-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.9)),
    linear-gradient(90deg, rgba(242, 12, 12, 0.22), transparent 55%);
  pointer-events: none;
}

.live-poster img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08);
}

.live-poster-copy {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
}

.live-poster-copy span,
.twitch-fallback span {
  display: block;
  color: var(--amber);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-poster-copy strong,
.twitch-fallback strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.twitch-shell {
  border: 1px solid rgba(255, 42, 31, 0.34);
  background: #000;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 44px rgba(242, 12, 12, 0.14);
  position: relative;
}

.twitch-shell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 44px;
  width: 86px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-hot) 75%, var(--cyan) 75%);
  z-index: 2;
}

.twitch-frame {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(242, 12, 12, 0.2), rgba(0, 0, 0, 0.92)),
    linear-gradient(90deg, rgba(110, 231, 240, 0.08), transparent 28%),
    url("btx-red-stack.png") right 52% / min(470px, 72%) no-repeat,
    #050505;
}

.twitch-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%);
  background-position: 0 0, 3px 3px;
  background-size: 6px 6px;
  opacity: 0.35;
  pointer-events: none;
}

.twitch-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050505;
}

.twitch-fallback {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.twitch-fallback p {
  max-width: 440px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.twitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.twitch-frame a,
.twitch-frame button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(255, 42, 31, 0.5);
  background: rgba(242, 12, 12, 0.16);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.twitch-frame button {
  border-color: rgba(110, 231, 240, 0.45);
  background: rgba(110, 231, 240, 0.1);
}

.twitch-frame-loaded .twitch-fallback {
  opacity: 0;
  pointer-events: none;
}

.story-grid,
.link-grid,
.label-panels {
  display: grid;
  gap: 1rem;
}

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

.story-card,
.link-card,
.label-panel {
  border: 1px solid rgba(255, 42, 31, 0.4);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 42, 31, 0.13), transparent 40%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.story-card {
  padding: 1.2rem;
  position: relative;
}

.story-card::before,
.label-panel::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--red-hot), var(--cyan));
}

.story-card p,
.label-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.story-card .eyebrow,
.label-panel .eyebrow {
  color: var(--amber);
}

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

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

.link-card {
  min-height: 132px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.catalog-grid .link-card {
  display: flex;
  grid-column: span 2;
  min-height: 166px;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-grid .link-card::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 42, 31, 0.9), transparent);
  opacity: 0.5;
}

.link-card-featured {
  border-color: rgba(255, 42, 31, 0.7);
  background:
    linear-gradient(135deg, rgba(242, 12, 12, 0.2), transparent 44%),
    linear-gradient(180deg, #1c1c1c, var(--panel));
}

.catalog-grid .link-card-featured,
.catalog-grid .link-card:nth-child(2) {
  grid-column: span 3;
  min-height: 196px;
}

.link-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.link-card span {
  display: block;
  color: var(--amber);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.link-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.label-panels {
  grid-template-columns: 1.15fr 0.85fr;
}

.label-panel {
  position: relative;
  padding: 1.2rem;
}

.label-panel img {
  width: min(520px, 100%);
  margin-bottom: 1.5rem;
}

.label-panel-primary {
  background:
    linear-gradient(135deg, rgba(255, 42, 31, 0.28), rgba(17, 17, 17, 0.84)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 14px),
    var(--panel);
}

.placeholder-logo {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin: 0 0 1.5rem;
  border: 1px dashed rgba(241, 184, 62, 0.62);
  background: rgba(241, 184, 62, 0.07);
  color: var(--amber);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.placeholder {
  margin-top: 1rem;
  color: var(--amber) !important;
  font-weight: 700;
}

.label-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.label-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 42, 31, 0.42);
  background: rgba(255, 42, 31, 0.1);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.label-links a:hover {
  border-color: var(--red);
  box-shadow: 0 0 28px rgba(242, 12, 12, 0.28);
}

.bio-panel {
  margin-top: 1rem;
}

.bio-panel p {
  max-width: 70ch;
  font-size: 1.05rem;
}

.stage-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 0.75rem;
  margin: 1.55rem 0 0.85rem;
}

.stage-frame {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 31, 0.32);
  background: #050505;
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stage-frame-primary {
  border-color: rgba(241, 184, 62, 0.34);
}

.stage-frame img {
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: 40 / 19;
  object-fit: cover;
}

.stage-caption {
  margin: 0 0 1.35rem !important;
  padding-left: 0.85rem;
  border-left: 3px solid var(--red-hot);
  color: var(--muted) !important;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem !important;
  font-weight: 800;
  line-height: 1.45 !important;
  text-transform: uppercase;
}

.founder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: end;
  margin-bottom: 1.4rem;
}

.founder-heading {
  margin-bottom: 0;
}

.founder-stage-hero {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 42, 31, 0.4);
  background: #050505;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.45),
    0 0 36px rgba(242, 12, 12, 0.12);
}

.founder-stage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.84));
  pointer-events: none;
}

.founder-stage-hero img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08);
}

.founder-stage-hero figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--amber);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-panels {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(255, 42, 31, 0.28);
  background:
    linear-gradient(180deg, rgba(151, 0, 0, 0.12), rgba(7, 7, 7, 0.95)),
    linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
    linear-gradient(45deg, #111 25%, #181818 25%, #181818 75%, #111 75%, #111);
  background-size: auto, 6px 6px, 6px 6px;
  background-position: 0 0, 0 0, 3px 3px;
  color: var(--muted);
  text-align: center;
}

.site-footer img {
  width: min(340px, 70vw);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}

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

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

  .hero {
    min-height: 620px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .story-grid,
  .link-grid,
  .label-panels {
    grid-template-columns: 1fr;
  }

  .stage-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    font-size: 0.76rem;
  }

  .site-nav a {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
  }

  .hero-inner {
    width: min(100% - 1.2rem, var(--max));
    padding-top: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-bg img {
    width: min(560px, 78vw);
    margin-right: -20vw;
  }

  .twitch-frame {
    min-height: 0;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}

/* --- Added Layout & Theme Additions --- */

/* Active site nav state */
.site-nav a.active {
  color: var(--ink);
  border-bottom: 2px solid var(--red-hot);
  padding-bottom: 2px;
}

/* Timeline on Founder Page */
.timeline-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.timeline-item {
  border-left: 2px solid var(--red-hot);
  padding-left: 1.25rem;
  position: relative;
  transition: border-color 160ms ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--bg);
  border: 2px solid var(--red-hot);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-hot);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.timeline-item:hover {
  border-left-color: var(--cyan);
}

.timeline-item:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 12px var(--cyan);
  background: var(--cyan);
  border-color: var(--cyan);
}

.timeline-year {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.timeline-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Styling for cards containing artist badges (Vinyl Sleeve layout) */
.story-card:has(.artist-badge) {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.story-card:has(.artist-badge)::before {
  display: none; /* Hide default gradient bar */
}

.story-card:has(.artist-badge) > *:not(.artist-badge) {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.story-card:has(.artist-badge) > p:last-child {
  padding-bottom: 1.5rem;
}

.story-card:has(.artist-badge) .artist-badge {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1.15;
  margin: 0 0 1.2rem;
  border: none;
  border-bottom: 1px solid rgba(255, 42, 31, 0.28);
  object-fit: cover;
  transition: filter 160ms ease, transform 200ms ease;
  user-select: none;
}

.story-card:has(.artist-badge):hover {
  border-color: var(--red-hot);
  box-shadow: 0 8px 32px rgba(242, 12, 12, 0.16);
  transform: translateY(-3px);
}

.story-card:has(.artist-badge):hover .artist-badge {
  filter: drop-shadow(0 0 12px rgba(255, 42, 31, 0.3));
  transform: scale(1.01);
}

.artist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.artist-grid .story-card:has(.artist-badge) {
  background:
    linear-gradient(180deg, rgba(255, 42, 31, 0.08), transparent 28%),
    linear-gradient(180deg, #101010, #090909);
}

.artist-grid .story-card:has(.artist-badge) .artist-badge {
  aspect-ratio: 1.48;
  margin-bottom: 0.9rem;
}

.artist-grid .story-card:has(.artist-badge) > *:not(.artist-badge) {
  padding-left: 1rem;
  padding-right: 1rem;
}

.artist-grid .story-card:has(.artist-badge) .eyebrow {
  margin-top: 0.8rem !important;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
}

.artist-grid .story-card:has(.artist-badge) h3 {
  font-size: 1.05rem !important;
  line-height: 1.05;
}

.artist-grid .story-card:has(.artist-badge) p:last-child {
  padding-bottom: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .live-console,
  .founder-hero-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid .link-card,
  .catalog-grid .link-card-featured,
  .catalog-grid .link-card:nth-child(2) {
    grid-column: 1 / -1;
  }

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

@media (max-width: 520px) {
  .live-poster img {
    min-height: 230px;
  }

  .twitch-actions {
    flex-direction: column;
  }

  .twitch-frame a,
  .twitch-frame button {
    justify-content: center;
    width: 100%;
  }

  .founder-stage-hero img {
    min-height: 210px;
  }

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

  .artist-grid .story-card:has(.artist-badge) .artist-badge {
    aspect-ratio: 1.35;
  }
}

/* Online Badge Graphic */
.catalog-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.badge-online {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: 2px;
  color: #22c55e;
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
  vertical-align: middle;
  text-transform: uppercase;
}

.badge-online::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-green 1.5s infinite alternate;
}

@keyframes pulse-green {
  from {
    opacity: 0.4;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 12px #22c55e;
  }
}




.contact-board {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-routes {
  display: grid;
  gap: 0.85rem;
}

.route-card,
.inbox-panel {
  border: 1px solid rgba(255, 42, 31, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 42, 31, 0.13), transparent 42%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.route-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1rem;
  min-height: 150px;
  padding: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.route-card:hover {
  border-color: var(--red-hot);
  box-shadow: 0 0 28px rgba(242, 12, 12, 0.18);
  transform: translateY(-2px);
}

.route-number {
  grid-row: span 3;
  color: var(--amber);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.route-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.route-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.route-card strong {
  align-self: end;
  color: var(--cyan);
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inbox-panel {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.5), rgba(7, 7, 7, 0.9)),
    url("btx-red-stack.png") right -8% top 6% / min(230px, 52%) no-repeat,
    linear-gradient(180deg, #181818, #090909);
}

.inbox-panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.inbox-panel p:not(.eyebrow) {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.25rem 0;
  color: var(--amber);
  font-family: "Space Mono", monospace;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(241, 184, 62, 0.45);
}

.mail-link:hover {
  color: var(--red-hot);
  border-bottom-color: var(--red-hot);
}

.inbox-mail {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.copy-mail {
  width: fit-content;
  min-height: 44px;
  margin-top: 0.85rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(110, 231, 240, 0.45);
  border-radius: 0;
  background: rgba(110, 231, 240, 0.1);
  color: var(--ink);
  cursor: pointer;
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .contact-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .route-card {
    grid-template-columns: 1fr;
  }

  .route-number {
    grid-row: auto;
  }
}

