:root {
  --bg: #060606;
  --text: #eef3f8;
  --muted: rgba(238, 243, 248, 0.72);
  --muted-strong: rgba(238, 243, 248, 0.92);
  --gold: #a8b6c7;
  --gold-bright: #dce6f0;
  --line: rgba(220, 230, 240, 0.14);
  --line-strong: rgba(220, 230, 240, 0.24);
  --shadow: 0 30px 92px rgba(2, 8, 18, 0.42);
  --shadow-soft: 0 18px 48px rgba(2, 8, 18, 0.22);
  --max-width: 1400px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --transition: 850ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(102, 124, 154, 0.18), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(220, 230, 240, 0.08), transparent 18%),
    linear-gradient(180deg, #03060c 0%, #08111b 45%, #131d2b 100%);
}

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 160px 160px;
}

.ambient {
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -10rem;
  left: -10rem;
  background: rgba(102, 124, 154, 0.28);
}

.ambient-right {
  right: -12rem;
  top: 20rem;
  background: rgba(220, 230, 240, 0.1);
}

.topbar,
main {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0.75rem;
  z-index: 3;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(8, 16, 26, 0.72), rgba(8, 16, 26, 0.3));
  backdrop-filter: blur(18px);
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.topbar.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, rgba(8, 16, 26, 0.86), rgba(8, 16, 26, 0.42));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(220, 230, 240, 0.28);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand-copy,
.nav a,
.eyebrow,
.card-label,
.section-index {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-copy,
.nav a {
  font-size: 0.72rem;
}

.brand-copy,
.nav a,
.eyebrow,
.card-label {
  color: var(--muted);
}

.nav {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(220, 230, 240, 0.04);
  border: 1px solid rgba(220, 230, 240, 0.06);
}

.nav a {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--muted-strong);
  background: rgba(220, 230, 240, 0.08);
  transform: translateY(-1px);
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 4rem;
}

section {
  padding: 4.2rem 0;
}

.hero,
.latest,
.stories,
.programs,
.partners,
.archive,
.contact {
  scroll-margin-top: 7rem;
}

.ticker {
  padding: 1rem 0 1.8rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
  animation: ticker-loop 28s linear infinite;
}

.ticker-track span::after {
  content: "•";
  margin-left: 2rem;
  color: var(--gold-bright);
}

.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: stretch;
}

.hero-stage {
  width: 100%;
}

.hero-stage-media,
.story-media,
.program-hero-media,
.partners-feature-media {
  position: relative;
  overflow: hidden;
}

.hero-stage-media {
  min-height: calc(100vh - 7rem);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.52)),
    radial-gradient(circle at 70% 18%, rgba(220, 230, 240, 0.1), transparent 16%),
    radial-gradient(circle at 25% 22%, rgba(102, 124, 154, 0.18), transparent 22%),
    linear-gradient(135deg, #121b28 0%, #0b1320 40%, #1d2938 100%);
  box-shadow: var(--shadow);
}

.hero-stage-media::before,
.latest-feature-media::before,
.story-media::before,
.program-hero-media::before,
.partners-feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.04), transparent 26%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-stage-media::after,
.latest-feature-media::after,
.story-media::after,
.program-hero-media::after,
.partners-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 230, 240, 0.09), transparent 30%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.hero-overlay {
  max-width: 56rem;
  padding-right: 1.5rem;
}

.hero-overlay h1,
.channel-intro h2,
.section-rail h2,
.story-copy h3,
.program-hero-copy h3,
.program-list h4,
.partners-feature-copy h3,
.contact-layout h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  margin: 0;
}

.hero-overlay h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 8vw, 8rem);
}

.hero-text,
.channel-note p,
.story-copy p,
.program-hero-copy p,
.partners-feature-copy p,
.partners-list p,
.latest-list p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-text {
  max-width: 36rem;
  margin: 1.2rem 0 0;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.hero-meta span {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 230, 240, 0.12);
  background: rgba(220, 230, 240, 0.05);
}

.hero-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 1px solid rgba(220, 230, 240, 0.15);
  background: rgba(220, 230, 240, 0.06);
  color: var(--muted-strong);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(220, 230, 240, 0.04);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.hero-stage:hover .hero-play,
.hero-stage:focus-within .hero-play {
  transform: scale(1.04);
  border-color: rgba(220, 230, 240, 0.22);
  background: rgba(220, 230, 240, 0.1);
}

.channel-grid,
.section-rail,
.latest-grid,
.stories-grid,
.programs-layout,
.partners-stage,
.contact-layout {
  display: grid;
  gap: 1.25rem;
}

.channel-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  padding: 0 0 1.4rem;
  border-bottom: 1px solid var(--line);
}

.channel-intro h2,
.section-rail h2,
.contact-layout h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.section-rail {
  grid-template-columns: 90px 1fr;
  align-items: start;
  margin-bottom: 1.6rem;
}

.section-rail > div {
  padding-top: 0.1rem;
}

.latest-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 1.6rem;
}

.latest-feature,
.archive-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.024);
  box-shadow: var(--shadow);
}

.latest-feature {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.latest-feature-media {
  min-height: 28rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48)),
    radial-gradient(circle at 78% 18%, rgba(220, 230, 240, 0.1), transparent 14%),
    radial-gradient(circle at 24% 26%, rgba(102, 124, 154, 0.18), transparent 20%),
    linear-gradient(135deg, #15202e 0%, #0c1520 44%, #202c3c 100%);
}

.latest-feature-copy {
  padding: 1.6rem;
}

.latest-feature-copy h3,
.archive-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.95;
  margin: 0.6rem 0 0;
}

.latest-feature-copy h3 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.latest-feature-copy p,
.archive-card p {
  color: var(--muted);
  line-height: 1.8;
}

.latest-list {
  display: grid;
  align-content: stretch;
}

.latest-list article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    padding-left 220ms ease;
}

.latest-list article:first-child {
  padding-top: 0;
}

.latest-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.latest-list article:hover,
.latest-list article:focus-within {
  transform: translateX(6px);
  padding-left: 0.65rem;
  border-color: var(--line-strong);
}

.latest-list span {
  display: block;
  margin-bottom: 0.6rem;
  color: rgba(213, 222, 232, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.latest-list h4 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 2.7vw, 2.9rem);
  line-height: 0.98;
}

.section-index {
  color: rgba(213, 222, 232, 0.72);
  font-size: 0.8rem;
  padding-top: 0.35rem;
}

.stories-grid {
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-areas:
    "large tall"
    "large text";
  align-items: stretch;
}

.story {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.story-large {
  grid-area: large;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.story-tall {
  grid-area: tall;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.story-text {
  grid-area: text;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.story-media-podcast {
  min-height: 33rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46)),
    radial-gradient(circle at 72% 22%, rgba(220, 230, 240, 0.12), transparent 18%),
    linear-gradient(135deg, #131e2c 0%, #1a2636 45%, #0c131d 100%);
}

.story-media-portrait {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 45% 25%, rgba(102, 124, 154, 0.18), transparent 20%),
    linear-gradient(135deg, #131e2c 0%, #0c141d 48%, #1d2938 100%);
}

.story-copy,
.program-hero-copy,
.partners-feature-copy {
  padding: 1.6rem;
}

.story-copy h3,
.program-hero-copy h3,
.partners-feature-copy h3 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-top: 0.6rem;
}

.programs-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.program-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.program-hero-media {
  min-height: 28rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.44)),
    radial-gradient(circle at 72% 18%, rgba(220, 230, 240, 0.11), transparent 16%),
    linear-gradient(135deg, #14202d 0%, #0e1621 45%, #213041 100%);
}

.program-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.program-list article,
.partners-list article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    padding-left 220ms ease;
}

.program-list article:first-child,
.partners-list article:first-child {
  padding-top: 0;
}

.program-list article:last-child,
.partners-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.program-list article:hover,
.program-list article:focus-within,
.partners-list article:hover,
.partners-list article:focus-within {
  transform: translateX(6px);
  padding-left: 0.65rem;
  border-color: var(--line-strong);
}

.program-list span,
.partners-list span {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(213, 222, 232, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.program-list h4 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  margin: 0;
}

.partners-stage {
  grid-template-columns: 1.05fr 0.95fr;
}

.partners-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.partners-feature-media {
  min-height: 28rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 28% 20%, rgba(102, 124, 154, 0.2), transparent 20%),
    linear-gradient(135deg, #14202d 0%, #0b1320 48%, #1f2d3d 100%);
}

.partners-list {
  display: grid;
  align-content: end;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.archive-card {
  min-height: 16rem;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.archive-card-wide {
  grid-column: span 2;
  min-height: 20rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 30% 20%, rgba(102, 124, 154, 0.16), transparent 20%),
    rgba(255, 255, 255, 0.025);
}

.archive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 230, 240, 0.08), transparent 36%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.contact {
  padding-top: 5.5rem;
}

.contact-layout {
  max-width: 58rem;
  gap: 1rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    background-color 300ms ease;
}

.button-primary {
  color: #111;
  background: linear-gradient(135deg, #d7e0ea, #99aabc);
  box-shadow: 0 14px 34px rgba(102, 124, 154, 0.26);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted-strong);
  transition: transform 300ms ease;
}

.text-link::after {
  content: "\2197";
  color: var(--gold);
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(102, 124, 154, 0.3);
}

.latest-feature:hover,
.latest-feature:focus-within,
.story:hover,
.story:focus-within,
.program-hero:hover,
.program-hero:focus-within,
.partners-feature:hover,
.partners-feature:focus-within,
.archive-card:hover,
.archive-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(220, 230, 240, 0.2);
  box-shadow: 0 34px 98px rgba(2, 8, 18, 0.48);
}

.latest-feature:hover .latest-feature-media::after,
.latest-feature:focus-within .latest-feature-media::after,
.story:hover .story-media::after,
.story:focus-within .story-media::after,
.program-hero:hover .program-hero-media::after,
.program-hero:focus-within .program-hero-media::after,
.partners-feature:hover .partners-feature-media::after,
.partners-feature:focus-within .partners-feature-media::after,
.hero-stage:hover .hero-stage-media::after,
.hero-stage:focus-within .hero-stage-media::after,
.archive-card:hover::before,
.archive-card:focus-within::before {
  opacity: 1;
}

.reveal {
  --reveal-offset: 34px;
  --float-x: 0px;
  --float-y: 0px;
  opacity: 0;
  transform: translate3d(var(--float-x), calc(var(--float-y) + var(--reveal-offset)), 0);
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.reveal.is-visible {
  opacity: 1;
  --reveal-offset: 0px;
  transform: translate3d(var(--float-x), calc(var(--float-y) + var(--reveal-offset)), 0);
}

.reveal-delay-1 {
  transition-delay: 140ms;
}

@keyframes ticker-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .channel-grid,
  .latest-grid,
  .stories-grid,
  .programs-layout,
  .partners-stage,
  .section-rail,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    grid-template-areas:
      "large"
      "tall"
      "text";
  }

  .hero-stage-media {
    min-height: 78vh;
  }

  .archive-card-wide {
    grid-column: auto;
  }

  .story-media-portrait {
    min-height: 24rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    border-radius: 26px;
  }
}

@media (max-width: 720px) {
  section {
    padding: 3.6rem 0;
  }

  .ticker {
    padding: 0.85rem 0 1.2rem;
  }

  .hero-stage-media {
    min-height: 72vh;
    padding: 1.2rem;
  }

  .topbar {
    top: 0.5rem;
    padding: 0.9rem;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-overlay h1,
  .channel-intro h2,
  .section-rail h2,
  .contact-layout h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .story-copy h3,
  .program-hero-copy h3,
  .partners-feature-copy h3,
  .program-list h4 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
