:root {
  --night: #070817;
  --night-soft: #0d1027;
  --ink: #f4f2ed;
  --muted: #b9bbcb;
  --line: rgba(244, 242, 237, .18);
  --line-bright: rgba(244, 242, 237, .34);
  --electric: #7a86ff;
  --violet: #a274ff;
  --pink: #ff6cbb;
  --lime: #d8ff65;
  --cyan: #74e7ff;
}

* { box-sizing: border-box; }

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body.live-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

body.live-page::selection {
  background: var(--pink);
  color: var(--night);
}

a { color: inherit; }

.live-ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--night);
}

.live-ambient video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  filter: saturate(1.25) contrast(1.08);
}

.live-ambient__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 12%, rgba(122, 134, 255, .2), transparent 32%),
    linear-gradient(180deg, rgba(7, 8, 23, .64) 0%, rgba(7, 8, 23, .68) 38%, rgba(7, 8, 23, .94) 100%);
}

body.live-page::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: .28;
  pointer-events: none;
}

body.live-page > .global-menu,
body.live-page > main,
body.live-page > .site-footer {
  position: relative;
  z-index: 1;
}

body.live-page > .global-menu {
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, calc(100% - 48px));
  height: auto;
  margin: 0 auto;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.live-page > .global-menu::before {
  color: var(--ink);
  content: "Founders Threads\A / North Star";
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: pre;
}

body.live-page > .global-menu::after {
  margin-left: auto;
  color: var(--muted);
  content: "GEECHIE NIGHTS   //   LIVE BROADCAST   //   PHILLY";
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: .62rem;
  letter-spacing: .14em;
}

body.live-page .global-menu__toggle {
  position: relative;
  z-index: 2;
  min-height: 44px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(7, 8, 23, .72);
  color: var(--ink);
  box-shadow: none;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.live-page .global-menu__toggle:hover,
body.live-page .global-menu__toggle:focus-visible,
body.live-page .global-menu.is-open .global-menu__toggle {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--night);
}

body.live-page .global-menu__panel {
  top: 76px;
  right: 0;
  bottom: auto;
  left: auto;
  border-color: var(--line-bright);
  background: rgba(13, 16, 39, .98);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
}

body.live-page .global-menu__header {
  border-color: var(--line);
  background: transparent;
}

body.live-page .global-menu__header p,
body.live-page .global-menu__header button {
  color: var(--ink);
}

body.live-page .global-menu__links a { border-color: var(--line); }

body.live-page .global-menu__links a:hover,
body.live-page .global-menu__links a:focus-visible {
  background: var(--electric);
  color: var(--ink);
}

body.live-page main {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
}

.live-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  align-items: end;
  gap: 48px;
  min-height: 590px;
  padding: 84px 0 70px;
}

.live-hero__copy { max-width: 820px; }

.eyebrow,
.small-label {
  margin: 0 0 17px;
  color: var(--lime);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.signal-dot,
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255,108,187,.13), 0 0 18px rgba(255,108,187,.8);
  vertical-align: 1px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: -.065em;
  line-height: .9;
  text-wrap: balance;
}

h1 {
  max-width: 840px;
  color: transparent;
  font-size: clamp(64px, 11vw, 154px);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: clamp(1px, .18vw, 3px) var(--ink);
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(244, 242, 237, .12);
}

h1 span,
h1 em { display: block; }

h1 em {
  color: transparent;
  font-style: normal;
  transform: translateX(.08em);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: clamp(1px, .18vw, 3px) var(--pink);
  text-shadow: 0 0 24px rgba(255, 108, 187, .18);
}

.hero-copy {
  max-width: 600px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--cyan);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero-meta__line {
  width: 42px;
  height: 1px;
  background: var(--cyan);
  opacity: .7;
}

.hero-star {
  position: relative;
  justify-self: end;
  width: min(270px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(116,231,255,.42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,134,255,.2), rgba(7,8,23,.08) 56%, transparent 57%);
  box-shadow: inset 0 0 55px rgba(122,134,255,.1), 0 0 70px rgba(122,134,255,.1);
  transform: rotate(-12deg);
}

.hero-star::before,
.hero-star::after {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255,108,187,.42);
  border-radius: 50%;
  content: "";
}

.hero-star::after {
  inset: 28%;
  border-color: rgba(216,255,101,.5);
}

.hero-star__orbit {
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: rotate(32deg);
}

.hero-star__orbit--two { transform: rotate(-48deg); }

.hero-star__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 74px;
  text-shadow: 0 0 26px rgba(216,255,101,.85);
}

.hero-star__label {
  position: absolute;
  right: 12%;
  bottom: 17%;
  color: var(--ink);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-align: right;
}

.live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .6fr);
  align-items: stretch;
  gap: 20px;
}

.player-card,
.show-card,
.live-actions,
.live-details article {
  border: 1px solid var(--line);
  background: rgba(7, 8, 23, .72);
  box-shadow: 0 18px 60px rgba(0,0,0,.16);
}

.player-card { padding: 12px; }

.broadcast-rail {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 34px;
  padding: 0 5px 12px;
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.broadcast-rail__status { color: var(--pink); }
.broadcast-rail__title { color: var(--ink); }
.broadcast-rail__tag { margin-left: auto; color: var(--cyan); }

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050610;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

video { display: block; width: 100%; height: 100%; object-fit: cover; }

.player-shell > video {
  background: radial-gradient(circle at 50% 48%, rgba(122,134,255,.26), transparent 35%), #050610;
}

.player-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(7,8,23,.22), rgba(7,8,23,.87));
  color: var(--ink);
  cursor: pointer;
  text-align: center;
}

.player-message.is-hidden { opacity: 0; pointer-events: none; }
.message-icon { color: var(--lime); font-size: 35px; text-shadow: 0 0 25px rgba(216,255,101,.8); }
.player-message strong { font-size: 20px; }
.player-message span:last-child { max-width: 380px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.player-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 1px;
  color: var(--muted);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-badge { color: var(--pink); font-weight: 800; }
.status-badge.is-live { color: var(--lime); }
.status-badge.is-live .status-dot { background: var(--lime); box-shadow: 0 0 0 4px rgba(216,255,101,.12), 0 0 18px rgba(216,255,101,.7); }

.show-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 36px;
}

.show-card .eyebrow { color: var(--cyan); }
.show-card h2 { color: var(--ink); font-size: clamp(33px, 4.2vw, 56px); }
.show-card > p:not(.eyebrow):not(.small-label) { margin: 23px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.show-divider { width: 58px; height: 3px; margin: 8px 0 28px; background: var(--pink); box-shadow: 0 0 16px rgba(255,108,187,.65); }
.small-label { margin-bottom: 10px; color: var(--lime); }

.social-links { display: grid; gap: 5px; }
.social-links a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.social-links a:hover, .social-links a:focus-visible { color: var(--lime); }
.social-links span { color: var(--pink); }

.live-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 74px;
  padding: 31px 34px;
  background: linear-gradient(110deg, rgba(122,134,255,.2), rgba(13,16,39,.8) 60%);
}

.live-actions .eyebrow { color: var(--lime); }
.live-actions h2 { max-width: 600px; color: var(--ink); font-size: clamp(28px, 4vw, 46px); }
.action-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.button { display: inline-flex; align-items: center; gap: 15px; padding: 13px 17px; border: 1px solid transparent; font-family: "DM Mono", ui-monospace, monospace; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.button-primary { background: var(--lime); color: var(--night); }
.button-primary:hover, .button-primary:focus-visible { background: var(--pink); }
.button-secondary { border-color: var(--line-bright); color: var(--ink); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--cyan); color: var(--cyan); }

.live-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 88px; }
.live-details article { min-height: 228px; padding: 26px; }
.detail-number { color: var(--pink); font-family: "DM Mono", ui-monospace, monospace; font-size: 11px; font-weight: 800; }
.live-details h3 { margin-top: 54px; color: var(--ink); font-size: 27px; }
.live-details p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

body.live-page > .site-footer {
  width: min(1240px, calc(100vw - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line-bright);
  background: transparent;
  color: var(--muted);
}

body.live-page > .site-footer .site-footer__title,
body.live-page > .site-footer a { color: var(--ink); }

body.live-page > .site-footer a:hover,
body.live-page > .site-footer a:focus-visible { color: var(--lime); }

body.live-page > .site-footer .site-footer__eyebrow { color: var(--pink); }

@media (max-width: 860px) {
  body.live-page > .global-menu,
  body.live-page main,
  body.live-page > .site-footer { width: min(100% - 28px, 1240px); }

  body.live-page > .global-menu::after { display: none; }

  .live-hero { grid-template-columns: 1fr; min-height: auto; padding: 72px 0 60px; }
  .hero-star { justify-self: start; width: 190px; margin-top: 12px; }
  .hero-star__core { font-size: 54px; }
  .hero-star__label { font-size: 8px; }
  .live-layout { grid-template-columns: 1fr; }
  .show-card { min-height: 0; }
  .live-actions { grid-template-columns: 1fr; }
  .action-links { justify-content: flex-start; }
  .live-details { grid-template-columns: 1fr; }
  .live-details article { min-height: 0; }
  .live-details h3 { margin-top: 34px; }
}

@media (max-width: 560px) {
  body.live-page > .global-menu { width: calc(100% - 20px); }
  body.live-page main,
  body.live-page > .site-footer { width: calc(100% - 28px); }
  body.live-page > .global-menu::before { font-size: .62rem; }
  h1 { font-size: clamp(54px, 17vw, 92px); }
  .hero-copy { font-size: 16px; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero-meta__line { width: 28px; }
  .broadcast-rail { align-items: flex-start; flex-wrap: wrap; gap: 8px 13px; }
  .broadcast-rail__tag { width: 100%; margin-left: 0; }
  .player-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
  .show-card { padding: 28px; }
  .live-actions { padding: 26px 24px; }
  .action-links { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-star { transform: none; }
  .live-ambient video { display: none; }
}
