/* =====================================================
   MUSIC AROUND THE WORLD
   MAIN WEBSITE
   ===================================================== */

:root {
  --bg: #08090d;
  --bg-soft: #0e1016;
  --card: #12151c;
  --card-hover: #181c25;

  --text: #f5f5f7;
  --muted: #9da3b0;
  --muted-2: #6f7582;

  --line: rgba(255,255,255,.09);

  --accent: #ffffff;
  --accent-soft: rgba(255,255,255,.08);

  --max-width: 1200px;

  --font-main: "Inter", sans-serif;
  --font-display: "Montserrat", sans-serif;
}


/* =====================================================
   RESET
   ===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}


/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 82px;

  z-index: 1000;

  border-bottom: 1px solid transparent;

  transition:
    background .3s ease,
    border-color .3s ease,
    backdrop-filter .3s ease;
}

.navbar.scrolled {
  background: rgba(8,9,13,.88);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}

.nav-container {
  max-width: var(--max-width);

  height: 100%;

  margin: auto;
  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* LOGO */

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);

  font-size: 17px;
  font-weight: 900;

  letter-spacing: .12em;
}

.logo-sub {
  margin-top: 5px;

  font-size: 7px;
  font-weight: 600;

  letter-spacing: .36em;

  color: var(--muted);
}


/* NAV */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;

  font-size: 12px;
  font-weight: 600;

  color: var(--muted);

  transition: color .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -8px;

  height: 1px;

  background: white;
}

.nav-button {
  padding: 10px 17px;

  border: 1px solid rgba(255,255,255,.25);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: .08em;

  transition:
    background .25s ease,
    color .25s ease;
}

.nav-button:hover {
  background: white;
  color: black;
}


/* MOBILE MENU */

.menu-toggle {
  display: none;

  width: 40px;
  height: 40px;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 23px;
  height: 2px;

  margin: 5px auto;

  background: white;

  transition: .3s ease;
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(255,255,255,.12),
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(255,255,255,.05),
      transparent 30%
    ),
    #08090d;
}

.hero::before {
  content: "";

  position: absolute;

  width: 700px;
  height: 700px;

  right: -220px;
  top: 50%;

  transform: translateY(-50%);

  border: 1px solid rgba(255,255,255,.08);

  border-radius: 50%;

  box-shadow:
    0 0 0 100px rgba(255,255,255,.015),
    0 0 0 200px rgba(255,255,255,.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8,9,13,1) 0%,
      rgba(8,9,13,.92) 45%,
      rgba(8,9,13,.3) 100%
    );
}

.hero-content {
  position: relative;

  z-index: 2;

  max-width: var(--max-width);

  width: 100%;

  margin: auto;

  padding:
    130px 28px
    100px;
}

.hero-label,
.section-label {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: .22em;

  color: var(--muted);

  margin-bottom: 20px;
}

.hero h1 {
  max-width: 800px;

  font-family: var(--font-display);

  font-size: clamp(52px, 8vw, 110px);

  line-height: .9;

  letter-spacing: -.055em;

  font-weight: 900;
}

.hero h1 span {
  display: block;

  color: transparent;

  -webkit-text-stroke: 1px rgba(255,255,255,.8);
}

.hero-description {
  max-width: 570px;

  margin-top: 32px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;

  margin-top: 35px;
}

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 23px;

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .08em;

  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: white;
  color: black;
}

.btn-primary:hover {
  background: #ddd;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.2);

  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,.08);
}

.hero-meta {
  display: flex;

  gap: 45px;

  margin-top: 70px;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
}

.hero-meta strong {
  font-family: var(--font-display);

  font-size: 22px;
  font-weight: 800;
}

.hero-meta span {
  margin-top: 4px;

  color: var(--muted-2);

  font-size: 8px;
  font-weight: 700;

  letter-spacing: .16em;
}

.hero-scroll {
  position: absolute;

  bottom: 35px;
  right: 40px;

  z-index: 3;

  display: flex;
  align-items: center;
  gap: 15px;

  transform: rotate(90deg);
  transform-origin: right center;
}

.hero-scroll span {
  font-size: 8px;

  color: var(--muted-2);

  letter-spacing: .18em;
}

.scroll-line {
  width: 55px;
  height: 1px;

  background: rgba(255,255,255,.25);
}


/* =====================================================
   GENERAL SECTIONS
   ===================================================== */

.section {
  padding: 120px 0;
}

.section-container {
  max-width: var(--max-width);

  margin: auto;

  padding: 0 28px;
}

.section-heading h2,
.section-top h2,
.live-info h2,
.research-box h2 {
  font-family: var(--font-display);

  font-size: clamp(38px, 5vw, 65px);

  line-height: .95;

  letter-spacing: -.045em;

  font-weight: 900;
}

.section-heading h2 span,
.live-info h2 span,
.research-box h2 span {
  color: var(--muted-2);
}


/* =====================================================
   ABOUT
   ===================================================== */

.about {
  background: var(--bg-soft);
}

.about-grid {
  display: grid;

  grid-template-columns:
    1.1fr
    .9fr;

  gap: 90px;

  margin-top: 70px;
}

.about-text {
  max-width: 650px;
}

.about-text p {
  color: var(--muted);

  font-size: 15px;

  line-height: 1.9;

  margin-bottom: 23px;
}

.about-text .lead {
  color: #dfe2e7;

  font-size: 18px;

  line-height: 1.75;
}

.about-text strong {
  color: white;
}

.about-stats {
  display: flex;
  flex-direction: column;

  border-top: 1px solid var(--line);
}

.stat-card {
  padding: 28px 0;

  border-bottom: 1px solid var(--line);

  display: grid;

  grid-template-columns: 45px 1fr;

  column-gap: 20px;
}

.stat-card span {
  grid-row: span 2;

  color: var(--muted-2);

  font-size: 11px;
}

.stat-card strong {
  font-size: 13px;

  letter-spacing: .1em;
}

.stat-card p {
  margin-top: 5px;

  color: var(--muted);

  font-size: 12px;
}


/* =====================================================
   EPISODES
   ===================================================== */

.episodes {
  background: var(--bg);
}

.section-top {
  display: flex;

  justify-content: space-between;
  align-items: end;

  gap: 30px;

  margin-bottom: 55px;
}

.section-note {
  color: var(--muted-2);

  font-size: 11px;

  letter-spacing: .08em;
}

.episode-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 15px;
}

.episode-card {
  position: relative;

  min-height: 380px;

  padding: 25px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    linear-gradient(
      145deg,
      #151820,
      #0c0e13
    );

  border: 1px solid var(--line);

  overflow: hidden;

  transition:
    transform .3s ease,
    border-color .3s ease;
}

.episode-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -70px;
  top: -70px;

  border: 1px solid rgba(255,255,255,.08);

  border-radius: 50%;
}

.episode-card:hover {
  transform: translateY(-6px);

  border-color: rgba(255,255,255,.2);
}

.episode-card.featured {
  background:
    linear-gradient(
      145deg,
      #262a32,
      #101217
    );
}

.episode-number {
  position: absolute;

  top: 20px;
  right: 22px;

  font-family: var(--font-display);

  font-size: 45px;

  font-weight: 900;

  color: rgba(255,255,255,.07);
}

.episode-tag {
  font-size: 8px;

  font-weight: 700;

  letter-spacing: .18em;

  color: var(--muted-2);
}

.episode-content h3 {
  margin-top: 10px;

  font-family: var(--font-display);

  font-size: 30px;

  font-weight: 900;

  letter-spacing: -.03em;
}

.episode-content p {
  margin-top: 12px;

  min-height: 62px;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}

.episode-content a {
  display: inline-block;

  margin-top: 20px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: .12em;
}

.episodes-more {
  padding-top: 35px;

  text-align: center;

  color: var(--muted-2);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: .18em;
}


/* =====================================================
   MUSICIANS
   ===================================================== */

.musicians {
  background: var(--bg-soft);
}

.musician-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.musician-card {
  background: var(--card);

  border: 1px solid var(--line);

  overflow: hidden;

  transition: transform .3s ease;
}

.musician-card:hover {
  transform: translateY(-5px);
}

.musician-image {
  aspect-ratio: 1 / 1.05;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,.1),
      transparent 45%
    ),
    #0b0d12;

  display: flex;

  align-items: center;
  justify-content: center;
}

.image-placeholder {
  color: var(--muted-2);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: .18em;
}

.musician-info {
  padding: 24px;
}

.musician-info > span {
  color: var(--muted-2);

  font-size: 8px;

  font-weight: 700;

  letter-spacing: .15em;
}

.musician-info h3 {
  margin-top: 8px;

  font-family: var(--font-display);

  font-size: 21px;

  font-weight: 800;
}

.musician-info p {
  margin-top: 3px;

  color: var(--muted);

  font-size: 11px;
}


/* =====================================================
   LIVE
   ===================================================== */

.live-section {
  background: #0b0d12;
}

.live-wrapper {
  display: grid;

  grid-template-columns:
    .65fr
    1.35fr;

  gap: 60px;

  align-items: center;
}

.live-badge {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 20px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: .15em;
}

.live-badge span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 0 12px rgba(255,255,255,.7);
}

.live-info > p:not(.section-label) {
  max-width: 470px;

  margin: 25px 0 30px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.8;
}

.youtube-placeholder {
  aspect-ratio: 16 / 9;

  border: 1px solid var(--line);

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,.09),
      transparent 25%
    ),
    #07080b;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  color: var(--muted-2);
}

.play-button {
  width: 70px;
  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.3);

  border-radius: 50%;

  color: white;

  font-size: 18px;

  padding-left: 3px;

  transition:
    background .3s ease,
    transform .3s ease;
}

.youtube-placeholder:hover .play-button {
  background: white;
  color: black;

  transform: scale(1.08);
}

.youtube-placeholder p {
  margin-top: 20px;

  color: #ddd;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: .18em;
}

.youtube-placeholder small {
  margin-top: 4px;

  font-size: 9px;
}


/* =====================================================
   RESEARCH
   ===================================================== */

.research {
  background: var(--bg);
}

.research-box {
  padding: 55px;

  border: 1px solid var(--line);

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.045),
      transparent
    );

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;
}

.research-box h2 {
  max-width: 700px;
}

.research-box p:not(.section-label) {
  max-width: 600px;

  margin-top: 20px;

  color: var(--muted);

  font-size: 13px;
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  padding: 55px 0 30px;

  background: #06070a;

  border-top: 1px solid var(--line);
}

.footer-container {
  max-width: var(--max-width);

  margin: auto;

  padding: 0 28px;

  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr;

  gap: 50px;

  align-items: start;
}

.footer-brand p {
  margin-top: 18px;

  color: var(--muted-2);

  font-size: 10px;
}

.footer-links {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.footer-links a {
  color: var(--muted);

  font-size: 10px;
}

.footer-links a:hover {
  color: white;
}

.footer-credit {
  text-align: right;
}

.footer-credit p {
  margin-bottom: 8px;

  color: var(--muted-2);

  font-size: 9px;

  line-height: 1.6;
}

.footer-credit strong {
  color: var(--muted);
}


/* =====================================================
   RESPONSIVE TABLET
   ===================================================== */

@media (max-width: 900px) {

  .nav-menu {
    gap: 18px;
  }

  .episode-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .about-grid,
  .live-wrapper {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .musician-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-credit {
    text-align: left;

    grid-column: span 2;
  }

}


/* =====================================================
   RESPONSIVE MOBILE
   ===================================================== */

@media (max-width: 650px) {

  .navbar {
    height: 70px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;

    top: 70px;
    left: 0;

    width: 100%;

    padding: 20px;

    display: none;

    flex-direction: column;

    align-items: stretch;

    background: rgba(8,9,13,.97);

    border-bottom: 1px solid var(--line);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-button {
    text-align: center;

    margin-top: 5px;
  }

  .hero-content {
    padding:
      120px 20px
      80px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 75px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-meta {
    gap: 25px;

    margin-top: 50px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .section-container {
    padding: 0 20px;
  }

  .section-top {
    display: block;
  }

  .section-note {
    margin-top: 15px;
  }

  .about-grid {
    margin-top: 45px;
  }

  .about-text .lead {
    font-size: 16px;
  }

  .episode-grid {
    grid-template-columns: 1fr;
  }

  .episode-card {
    min-height: 330px;
  }

  .musician-grid {
    grid-template-columns: 1fr;
  }

  .live-wrapper {
    gap: 40px;
  }

  .research-box {
    padding: 30px;

    flex-direction: column;

    align-items: flex-start;
  }

  .footer-container {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-credit {
    grid-column: auto;
  }

  .footer-credit {
    text-align: left;
  }

}


/* =====================================================
   ACCESSIBILITY
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

}

/* =====================================================
   YOUTUBE LIVE FRAME
   ===================================================== */

.youtube-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.youtube-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}


/* =====================================================
   PRODUCTION TEAM
   ===================================================== */

.production-team {
  background: var(--bg-soft);
}

.production-hierarchy {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.production-tier {
  width: 100%;
  display: grid;
  gap: 15px;
}

.tier-1 {
  max-width: 520px;
}

.tier-2 {
  max-width: 610px;
}

.tier-3 {
  max-width: 1050px;
  grid-template-columns: repeat(4, 1fr);
}

.production-member {
  min-height: 105px;
  padding: 27px 25px;
  border: 1px solid var(--line);
  background: rgba(8,9,13,.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-member {
  background: #12151c;
}

.member-level {
  display: block;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}

.member-role {
  display: block;
  margin-bottom: 3px;
  color: #7891b1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
}

.production-member h3 {
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.production-member p {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.hierarchy-connector {
  width: 1px;
  height: 25px;
  background: rgba(255,255,255,.16);
  position: relative;
}

.hierarchy-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 7px;
  transform: translate(-50%, 50%);
  border-right: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
  transform: translate(-50%, 25%) rotate(45deg);
}

@media (max-width: 900px) {

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

}

@media (max-width: 650px) {

  .production-hierarchy {
    margin-top: 10px;
  }

  .production-tier,
  .tier-1,
  .tier-2,
  .tier-3 {
    max-width: none;
  }

  .tier-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .production-member {
    min-height: 92px;
    padding: 22px 20px;
  }

  .production-member h3 {
    font-size: 15px;
  }

  .member-level,
  .member-role {
    font-size: 8px;
  }

}


/* =====================================================
   MOTION / INTERACTION SYSTEM
   ===================================================== */

html {
  scroll-padding-top: 82px;
}
 
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 2000;
  pointer-events: none;
  background: rgba(255,255,255,.04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
  transform-origin: left center;
}
 
.hero-grain {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.hero-content > * {
  will-change: transform, opacity;
}

.hero-label,
.hero h1,
.hero-description,
.hero-actions,
.hero-meta {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn .8s cubic-bezier(.2,.75,.2,1) forwards;
}

.hero-label { animation-delay: .15s; }
.hero h1 { animation-delay: .28s; }
.hero-description { animation-delay: .42s; }
.hero-actions { animation-delay: .56s; }
.hero-meta { animation-delay: .70s; }

.hero h1 span {
  display: inline-block;
  animation: heroWord 1s cubic-bezier(.2,.75,.2,1) .28s both;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroWord {
  from { opacity: 0; transform: translateY(18px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}

.section-heading,
.about-grid,
.episode-card,
.musician-card,
.production-member,
.live-wrapper,
.research-box {
  will-change: transform, opacity;
}

.episode-card,
.musician-card,
.stat-card,
.production-member,
.research-box,
.btn,
.nav-link,
.nav-button {
  transition-timing-function: cubic-bezier(.2,.75,.2,1);
}

.episode-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.08), transparent 65%);
  transform: translateX(-120%);
  transition: transform .75s cubic-bezier(.2,.75,.2,1);
}

.episode-card:hover::after {
  transform: translateX(120%);
}

.stat-card {
  transition: padding-left .35s ease, background .35s ease;
}

.stat-card:hover {
  padding-left: 10px;
  background: rgba(255,255,255,.025);
}

.musician-card:hover {
  transform: translateY(-8px) scale(1.008);
  box-shadow: 0 22px 60px rgba(0,0,0,.3);
}

.musician-image {
  overflow: hidden;
}

.musician-card .musician-image {
  transition: transform .6s cubic-bezier(.2,.75,.2,1);
}

.musician-card:hover .musician-image {
  transform: scale(1.025);
}

.production-member {
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.production-member::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #fff;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .4s ease;
}

.production-member:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.035);
}

.production-member:hover::after {
  transform: scaleY(1);
}

.hierarchy-connector {
  transform-origin: top center;
  animation: connectorPulse 2.8s ease-in-out infinite;
}

@keyframes connectorPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

.live-badge span {
  animation: livePulse 1.7s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.45); opacity: 1; }
}

.youtube-frame {
  border: 1px solid var(--line);
  box-shadow: 0 0 0 0 rgba(255,255,255,.05);
  transition: transform .5s ease, box-shadow .5s ease, border-color .5s ease;
}

.youtube-frame:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

.research-box {
  position: relative;
  overflow: hidden;
}

.research-box::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -140px;
  top: -140px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  transition: transform .8s cubic-bezier(.2,.75,.2,1);
}

.research-box:hover::before {
  transform: scale(1.18);
}

.btn {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  transform: translateX(-105%);
  transition: transform .45s cubic-bezier(.2,.75,.2,1);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn > * {
  position: relative;
}
 
@media (prefers-reduced-motion: reduce) {
  .hero-label,
  .hero h1,
  .hero-description,
  .hero-actions,
  .hero-meta {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hierarchy-connector,
  .live-badge span {
    animation: none;
  }
 
  .hero-grain {
    display: none;
  }
}


/* =====================================================
   CINEMATIC HERO + EDITORIAL EPISODES
   ===================================================== */

.hero::before {
  animation: heroOrbit 18s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 50%;
  pointer-events: none;
  animation: heroOrbitReverse 24s linear infinite;
}

.hero h1 .hero-line {
  display: block;
  width: fit-content;
  opacity: 0;
  transform: translateY(30px);
  animation: heroLineIn .9s cubic-bezier(.2,.75,.2,1) forwards;
}

.hero h1 .hero-line:nth-child(1) { animation-delay: .28s; }
.hero h1 .hero-line:nth-child(2) { animation-delay: .40s; }
.hero h1 .hero-line:nth-child(3) { animation-delay: .52s; }

.hero h1 .hero-line-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.8);
}

@keyframes heroLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroOrbit {
  from { transform: translateY(-50%) rotate(-3deg) scale(.98); }
  to { transform: translateY(-50%) rotate(3deg) scale(1.02); }
}

@keyframes heroOrbitReverse {
  from { transform: translateY(-50%) rotate(0deg) scale(1); }
  to { transform: translateY(-50%) rotate(-360deg) scale(1.04); }
}

.episode-card .episode-content {
  position: relative;
  z-index: 2;
  transition: transform .45s cubic-bezier(.2,.75,.2,1);
}

.episode-card .episode-number {
  transition: color .45s ease, transform .45s cubic-bezier(.2,.75,.2,1);
}

.episode-card:hover .episode-content {
  transform: translateY(-6px);
}

.episode-card:hover .episode-number {
  color: rgba(255,255,255,.13);
  transform: translateY(-4px);
}

.episode-card.featured {
  isolation: isolate;
}

.episode-card.featured::before {
  width: 230px;
  height: 230px;
  right: -90px;
  top: -90px;
  border-color: rgba(255,255,255,.11);
  transition: transform .7s cubic-bezier(.2,.75,.2,1);
}

.episode-card.featured:hover::before {
  transform: rotate(25deg) scale(1.08);
}

@media (max-width: 650px) {
  .hero::after {
    width: 300px;
    height: 300px;
    right: -100px;
  }

  .hero h1 .hero-line {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }

  .hero h1 .hero-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* =====================================================
   PRODUCTION TEAM — MEMBER PORTRAIT
   ===================================================== */

.production-member.has-photo {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: stretch;
  padding: 0;
  min-height: 190px;
  overflow: hidden;
}

.member-photo {
  height: 100%;
  min-height: 190px;
  overflow: hidden;
  background: #0b0d12;
  border-right: 1px solid var(--line);
}

.member-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(100%) contrast(1.04);
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .7s ease;
}

.production-member.has-photo:hover .member-photo img {
  transform: scale(1.06);
  filter: grayscale(15%) contrast(1.04);
}

.member-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}

.member-details .member-level,
.member-details .member-role {
  margin-bottom: 5px;
}

.member-details h3 {
  max-width: 430px;
}

@media (max-width: 650px) {
  .production-member.has-photo {
    grid-template-columns: 110px 1fr;
    min-height: 155px;
  }

  .member-photo {
    min-height: 155px;
  }

  .member-details {
    padding: 22px 18px;
  }

  .member-details h3 {
    font-size: 14px;
  }
}


/* =====================================================
   PRODUCTION TEAM — TIER 3 PHOTO CARDS
   ===================================================== */

.production-member.team-photo-small {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: stretch;
  padding: 0;
  min-height: 150px;
  overflow: hidden;
}

.team-photo-small .member-photo {
  min-height: 150px;
}

.team-photo-small .member-details {
  padding: 22px 20px;
}

.team-photo-small .member-details h3 {
  max-width: 260px;
}

@media (max-width: 900px) {
  .production-member.team-photo-small {
    grid-template-columns: 90px 1fr;
    min-height: 140px;
  }

  .team-photo-small .member-photo {
    min-height: 140px;
  }
}

@media (max-width: 650px) {
  .production-member.team-photo-small {
    grid-template-columns: 95px 1fr;
    min-height: 145px;
  }

  .team-photo-small .member-photo {
    min-height: 145px;
  }

  .team-photo-small .member-details {
    padding: 20px 16px;
  }
}


/* =====================================================
   PRODUCTION TEAM — WIDER LAYOUT + PROPORTIONAL PORTRAITS
   ===================================================== */

.production-hierarchy {
  width: 100%;
}

.tier-1 {
  max-width: 620px;
}

.tier-2 {
  max-width: 860px;
}

.tier-3 {
  width: 100%;
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tier-3 .production-member {
  min-width: 0;
}

/* All portrait cards use a dedicated image area.
   contain keeps future uploaded photos fully visible
   without forcing a crop. */
.production-member.has-photo {
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 220px;
}

.production-member.has-photo .member-photo {
  min-height: 220px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #0a0c11;
}

.production-member.has-photo .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.production-member.has-photo:hover .member-photo img {
  transform: scale(1.025);
}

.production-member.has-photo .member-details {
  min-width: 0;
  padding: 30px 32px;
}

.production-member.has-photo .member-details h3 {
  max-width: none;
  overflow-wrap: anywhere;
}

/* Tier 3 portrait cards stay compact but get enough room
   for the full portrait and the member information. */
.production-member.team-photo-small {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 190px;
}

.team-photo-small .member-photo {
  min-height: 190px;
  padding: 9px;
}

.team-photo-small .member-details {
  min-width: 0;
  padding: 26px 26px;
}

.team-photo-small .member-details h3 {
  max-width: none;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .tier-2 {
    max-width: 760px;
  }

  .tier-3 {
    max-width: 760px;
    grid-template-columns: 1fr;
  }

  .production-member.has-photo {
    grid-template-columns: 165px minmax(0, 1fr);
    min-height: 210px;
  }

  .production-member.has-photo .member-photo {
    min-height: 210px;
  }

  .production-member.team-photo-small {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 190px;
  }

  .team-photo-small .member-photo {
    min-height: 190px;
  }
}

@media (max-width: 650px) {
  .production-member.has-photo,
  .production-member.team-photo-small {
    grid-template-columns: 115px minmax(0, 1fr);
    min-height: 165px;
  }

  .production-member.has-photo .member-photo,
  .team-photo-small .member-photo {
    min-height: 165px;
    padding: 7px;
  }

  .production-member.has-photo .member-details,
  .team-photo-small .member-details {
    padding: 22px 18px;
  }

  .production-member.has-photo .member-details h3,
  .team-photo-small .member-details h3 {
    font-size: 14px;
  }
}


/* =====================================================
   RESEARCH → PROGRAM JOURNEY
   ===================================================== */

.program-journey {
  background: #0b0d12;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}

.journey-card {
  min-height: 205px;
  padding: 25px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}

.journey-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.2);
}

.journey-card > span {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.journey-card strong {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: .1em;
}

.journey-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.journey-arrow {
  align-self: center;
  color: var(--muted-2);
  font-size: 20px;
}

.journey-footer {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}


/* =====================================================
   EPISODE DETAIL MODAL
   ===================================================== */

.episode-open {
  margin-top: 20px;
  padding: 0;
  background: none;
  border: 0;
  color: white;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.episode-open:hover {
  color: var(--muted);
}

.episode-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.episode-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.episode-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
}

.episode-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 42px;
  background: #0e1117;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  transform: translateY(18px);
  transition: transform .3s ease;
}

.episode-modal.open .episode-modal-card {
  transform: translateY(0);
}

.episode-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  color: white;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.episode-modal-number {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 70px;
  font-weight: 900;
  line-height: .8;
}

.episode-modal-card h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 76px);
  line-height: .9;
  letter-spacing: -.05em;
}

.episode-modal-lead {
  max-width: 620px;
  margin-top: 22px;
  color: #dce0e6;
  font-size: 17px;
  line-height: 1.7;
}

.episode-modal-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.episode-modal-meta div {
  padding: 17px 0;
}

.episode-modal-meta span {
  display: block;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.episode-modal-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.episode-modal-body {
  margin-top: 26px;
}

.episode-modal-body p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.episode-modal-live {
  margin-top: 28px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 950px) {
  .journey-grid {
    grid-template-columns: 1fr 1fr;
  }

  .journey-arrow {
    display: none;
  }
}

@media (max-width: 700px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .journey-card {
    min-height: auto;
  }

  .journey-card strong {
    margin-top: 18px;
  }

  .journey-footer {
    justify-content: flex-start;
  }

  .episode-modal {
    padding: 14px;
  }

  .episode-modal-card {
    padding: 32px 24px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .episode-modal-number {
    font-size: 52px;
  }

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

  .episode-modal-meta div {
    padding: 12px 0;
  }
}


/* ================= EDITABLE PROGRAM MODULES ================= */
.schedule-section,
.genre-explorer,
.bts-section { position: relative; }

.schedule-card {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.schedule-episode { display:flex; align-items:center; gap:24px; }
.schedule-number { font-size: clamp(3rem, 7vw, 6rem); line-height:.8; font-weight:800; letter-spacing:-.08em; opacity:.28; }
.schedule-episode h3 { margin:8px 0 8px; font-size:clamp(2rem,4vw,3.5rem); }
.schedule-episode p { margin:0; color:var(--muted); }
.schedule-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; align-items:stretch; }
.schedule-meta div { border-left:1px solid var(--border); padding:10px 0 10px 18px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.schedule-meta span, .genre-card small, .bts-card span { font-size:.65rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.schedule-meta strong { font-size:.9rem; letter-spacing:.08em; }

.genre-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.genre-card { text-align:left; min-height:180px; padding:24px; border:1px solid var(--border); background:transparent; color:inherit; cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; transition:transform .25s ease,border-color .25s ease,background .25s ease; }
.genre-card:hover, .genre-card.active { transform:translateY(-4px); border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.035); }
.genre-card span { font-size:.72rem; letter-spacing:.14em; color:var(--muted); }
.genre-card strong { font-size:clamp(1.5rem,3vw,2.5rem); letter-spacing:-.03em; }
.genre-detail { margin-top:18px; padding:28px 0 0; border-top:1px solid var(--border); max-width:760px; }
.genre-detail h3 { margin:8px 0 10px; font-size:clamp(2rem,5vw,4rem); }
.genre-detail p { margin:0; color:var(--muted); max-width:680px; line-height:1.7; }

.bts-grid { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:repeat(2,220px); gap:14px; }
.bts-card { min-width:0; border:1px solid var(--border); background:rgba(255,255,255,.02); display:grid; grid-template-rows:1fr auto; overflow:hidden; }
.bts-card.bts-large { grid-row:span 2; }
.bts-placeholder { min-height:0; display:flex; align-items:center; justify-content:center; background:#0b0d12; color:var(--muted); font-size:.68rem; letter-spacing:.16em; }
.bts-card > div:last-child { padding:16px 18px; border-top:1px solid var(--border); }
.bts-card h3 { margin:6px 0 0; font-size:1rem; letter-spacing:.08em; }

@media (max-width: 800px) {
  .schedule-card { grid-template-columns:1fr; }
  .schedule-meta { grid-template-columns:1fr 1fr 1fr; }
  .genre-grid { grid-template-columns:repeat(2,1fr); }
  .bts-grid { grid-template-columns:1fr; grid-template-rows:repeat(3,220px); }
  .bts-card.bts-large { grid-row:auto; }
}
@media (max-width: 560px) {
  .schedule-card { padding:22px; }
  .schedule-episode { align-items:flex-start; }
  .schedule-meta { grid-template-columns:1fr; }
  .schedule-meta div { border-left:0; border-top:1px solid var(--border); padding:12px 0 0; }
  .genre-grid { grid-template-columns:1fr; }
}
