:root {
  color-scheme: dark;
  --bg: oklch(0.085 0 0);
  --bg-strong: oklch(0.045 0 0);
  --surface: oklch(0.145 0.012 25);
  --surface-2: oklch(0.2 0.018 27);
  --surface-line: oklch(0.34 0.024 27);
  --ink: oklch(0.96 0 0);
  --ink-soft: oklch(0.84 0.012 36);
  --muted: oklch(0.72 0.018 35);
  --primary: oklch(0.47 0.169 26.9);
  --primary-hot: oklch(0.62 0.2 27);
  --accent: oklch(0.78 0.13 188);
  --accent-deep: oklch(0.24 0.08 190);
  --warning: oklch(0.82 0.13 82);
  --radius: 14px;
  --shadow: 0 18px 54px oklch(0 0 0 / 0.35);
  --max: 1180px;
  --font: "Segoe UI Variable", "Segoe UI", Aptos, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(105deg, oklch(0.08 0 0) 0%, oklch(0.11 0.006 27) 48%, oklch(0.07 0 0) 100%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 14%, oklch(0.47 0.169 26.9 / 0.12) 14% 15%, transparent 15% 56%, oklch(0.78 0.13 188 / 0.1) 56% 57%, transparent 57%),
    linear-gradient(180deg, oklch(1 0 0 / 0.04), transparent 32%);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 78% 92%, 55% 84%, 28% 94%, 0 86%);
  opacity: 0.7;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--accent);
  color: var(--bg-strong);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.08 0 0 / 0.86);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.hero-proof,
.service-list,
.ticker,
.player-bar {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand img,
.site-footer img {
  height: auto;
  filter: drop-shadow(0 0 16px oklch(0.78 0.13 188 / 0.22));
}

.brand span {
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav-links {
  gap: clamp(12px, 2vw, 24px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  white-space: nowrap;
}

.btn {
  padding: 13px 18px;
  border-radius: 999px;
}

.btn:hover,
.header-cta:hover,
.channel:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--primary-hot);
  color: oklch(1 0 0);
}

.btn.secondary {
  background: oklch(1 0 0 / 0.08);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.18);
}

.btn.full {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100svh - 77px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 112px) 0 44px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  max-width: 15ch;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.032em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-lede,
.section-heading p,
.bridge-copy > p,
.contact-section > div > p {
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.hero-proof {
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

.hero-proof div {
  min-width: min(190px, 100%);
  padding: 12px 0;
  border-top: 1px solid oklch(1 0 0 / 0.14);
}

.hero-proof dt {
  color: var(--ink);
  font-weight: 900;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-player {
  position: relative;
}

.hero-player > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.live-frame {
  position: relative;
  isolation: isolate;
  min-height: 530px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.live-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, oklch(0 0 0 / 0.15), oklch(0 0 0 / 0.62)),
    linear-gradient(90deg, oklch(0.47 0.169 26.9 / 0.28), transparent 42%, oklch(0.78 0.13 188 / 0.18));
  pointer-events: none;
}

.live-frame img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

#signalCanvas {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  width: 100%;
  height: 42%;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.player-bar {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 4;
  gap: 10px;
  flex-wrap: wrap;
}

.player-bar span:not(.live-dot) {
  padding: 7px 10px;
  border-radius: 999px;
  background: oklch(0 0 0 / 0.58);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.live-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--primary-hot);
  box-shadow: 0 0 0 7px oklch(0.62 0.2 27 / 0.24);
  animation: livePulse 1.7s ease-out infinite;
}

.play-control {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border: 1px solid oklch(1 0 0 / 0.25);
  border-radius: 999px;
  background: oklch(0 0 0 / 0.48);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.play-control span {
  display: block;
  font-weight: 900;
}

.program-chip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: grid;
  gap: 3px;
  max-width: 520px;
  padding: 16px;
  border-radius: var(--radius);
  background: oklch(0.08 0 0 / 0.82);
}

.program-chip span,
.broadcast-card p:first-child,
.archive-item p,
.agenda-item time {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
}

.program-chip strong {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.ticker {
  position: relative;
  z-index: 1;
  gap: 0;
  overflow: hidden;
  border-block: 1px solid oklch(1 0 0 / 0.1);
  background: var(--bg-strong);
}

.ticker span {
  flex: 1 0 220px;
  padding: 18px clamp(16px, 3vw, 32px);
  color: var(--ink-soft);
  text-align: center;
  box-shadow: inset -1px 0 0 oklch(1 0 0 / 0.1);
}

.section,
.contact-section {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 118px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.channel-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  align-items: stretch;
}

.channel-switcher {
  display: grid;
  gap: 10px;
}

.channel {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 88px;
  padding: 18px;
  border: 1px solid oklch(1 0 0 / 0.13);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.channel span {
  color: var(--muted);
  font-size: 0.9rem;
}

.channel strong {
  font-size: 1.06rem;
}

.channel.is-active {
  border-color: oklch(0.62 0.2 27 / 0.75);
  background: oklch(0.47 0.169 26.9 / 0.22);
}

.broadcast-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(280px, 1fr);
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.13);
  border-radius: var(--radius);
  background: var(--surface);
}

.broadcast-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.broadcast-card > div {
  padding: clamp(24px, 4vw, 44px);
}

.broadcast-card p,
.agenda-item p,
.process-list p,
.archive-item h3,
.site-footer p {
  color: var(--ink-soft);
}

.broadcast-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.broadcast-card li {
  padding: 12px 0;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  color: var(--muted);
}

.agenda-section {
  padding-top: 30px;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.agenda-item,
.process-list li {
  padding: 22px;
  border-radius: var(--radius);
  background: oklch(1 0 0 / 0.055);
}

.agenda-item {
  border: 1px solid oklch(1 0 0 / 0.1);
}

.agenda-item.is-current {
  background: oklch(0.24 0.08 190 / 0.72);
  border-color: oklch(0.78 0.13 188 / 0.4);
}

.bridge-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.bridge-media {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 600px;
}

.bridge-media img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

.service-list {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.service-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.08);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.archive-item {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: var(--radius);
  background: var(--surface);
}

.archive-item.wide {
  grid-row: span 2;
  min-height: 696px;
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.archive-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, oklch(0 0 0 / 0.82));
}

.archive-item > div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.archive-item h3 {
  color: var(--ink);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  counter-increment: steps;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}

.process-list span::before {
  content: counter(steps);
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-strong);
  font-size: 0.96rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-top: 40px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid oklch(1 0 0 / 0.16);
  border-radius: 10px;
  background: oklch(0.08 0 0);
  color: var(--ink);
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form ::placeholder {
  color: oklch(0.68 0.012 36);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 42px);
  border-top: 1px solid oklch(1 0 0 / 0.12);
  background: var(--bg-strong);
}

.site-footer p {
  max-width: 56ch;
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 900;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 oklch(0.62 0.2 27 / 0.4);
  }
  100% {
    box-shadow: 0 0 0 12px oklch(0.62 0.2 27 / 0);
  }
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .channel-layout,
  .broadcast-card,
  .bridge-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  h1 {
    max-width: 12ch;
  }

  .live-frame,
  .live-frame img {
    min-height: 440px;
  }

  .agenda-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

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

  .archive-item,
  .archive-item.wide {
    min-height: 360px;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span,
  .header-cta {
    display: none;
  }

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

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .live-frame,
  .live-frame img {
    min-height: 390px;
  }

  .play-control {
    width: 72px;
    height: 72px;
  }

  .player-bar span:not(.live-dot) {
    font-size: 0.72rem;
  }

  .ticker span {
    flex-basis: 170px;
  }

  .bridge-media,
  .bridge-media img {
    min-height: 430px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
