/* ================================================================
   EPISODE PAGE — episode.css
   Extends style.css. Episode-specific layout only.
   ================================================================ */

/* ================================================================
   EPISODE HERO — full-viewport title card
   ================================================================ */
.ep-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
  overflow: hidden;
}

.ep-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ep-hero-img-wrap {
  position: absolute;
  inset: 0;
}

.ep-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: epHeroZoom 22s ease-out forwards;
}

@keyframes epHeroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.ep-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 6, 15, 0.35) 0%,
    rgba(4, 6, 15, 0.1)  30%,
    rgba(4, 6, 15, 0.65) 65%,
    rgba(4, 6, 15, 0.98) 100%
  );
}

.ep-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 130px;
}

.ep-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 28px;
}

.ep-series-badge { color: var(--neon); }
.ep-divider      { color: var(--text-3); }

.ep-hero-title {
  font-family: var(--font-disp);
  font-size: clamp(58px, 9.5vw, 128px);
  line-height: 0.9;
  letter-spacing: 1px;
  color: var(--milky);
  margin-bottom: 22px;
}

.ep-hero-title span { display: block; }

.ep-hero-guest {
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 300;
  color: var(--neon-bright);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.ep-hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ep-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ep-hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  right: 44px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ep-hero-scroll-cue .scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
}

/* ================================================================
   EPISODE OVERVIEW
   ================================================================ */
.ep-overview-section {
  padding: 100px 0;
  background: var(--bg-1);
  position: relative;
}

.ep-overview-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-h), transparent);
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}

.ep-overview-section.section-line-visible::before { transform: scaleX(1); }

.ep-overview-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}

.ep-overview-text .section-label { margin-bottom: 28px; }

.ep-long-p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-1);
  margin-bottom: 22px;
}

.ep-long-p:last-of-type { margin-bottom: 36px; }

/* Guest card */
.ep-guest-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  position: sticky;
  top: 100px;
  transition: border-color 0.35s;
}

.ep-guest-card:hover { border-color: var(--border-h); }

.ep-guest-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.ep-guest-photo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--neon-dim);
  flex-shrink: 0;
}

.ep-guest-name {
  font-family: var(--font-disp);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--milky);
  margin-bottom: 4px;
}

.ep-guest-role {
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.05em;
}

.ep-guest-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin-bottom: 22px;
}

.ep-g-stat { display: flex; flex-direction: column; gap: 5px; }

.ep-g-num {
  font-family: var(--font-disp);
  font-size: 34px;
  color: var(--neon);
  line-height: 1;
}

.ep-g-lbl {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.4;
}

.ep-guest-origin {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.ep-origin-label { color: var(--text-3); }
.ep-origin-val   { color: var(--text-2); font-weight: 500; }

/* ================================================================
   PRODUCTION NOTES
   ================================================================ */
.ep-production-section {
  padding: 100px 0;
  background: var(--bg-0);
  position: relative;
}

.ep-production-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-h), transparent);
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}

.ep-production-section.section-line-visible::before { transform: scaleX(1); }

.ep-prod-header { margin-bottom: 60px; }

.ep-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ep-prod-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}

.ep-prod-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 0 32px var(--neon-glow);
  transform: translateY(-3px);
}

.ep-prod-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--neon);
  background: var(--neon-glow);
}

.ep-prod-icon svg { width: 22px; height: 22px; }

.ep-prod-heading {
  font-family: var(--font-disp);
  font-size: 19px;
  letter-spacing: 2px;
  color: var(--milky);
  margin-bottom: 14px;
}

.ep-prod-body {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-2);
}

/* ================================================================
   BTS GALLERY
   ================================================================ */
.ep-bts-section {
  padding: 100px 0;
  background: var(--bg-1);
  position: relative;
}

.ep-bts-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-h), transparent);
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}

.ep-bts-section.section-line-visible::before { transform: scaleX(1); }

.ep-bts-header { margin-bottom: 48px; }

.ep-bts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ep-bts-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--border);
  cursor: pointer;
}

.ep-bts-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.ep-bts-item:hover img { transform: scale(1.06); }

.ep-bts-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(4, 6, 15, 0.82) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.ep-bts-item:hover .ep-bts-hover { opacity: 1; }

.ep-bts-hover span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--milky);
  font-weight: 500;
}

/* ================================================================
   MORE EPISODES (reuses .clips-section styles from style.css)
   ================================================================ */
.ep-more-section {
  padding: 100px 0 0;
  background: var(--bg-0);
  position: relative;
}

.ep-more-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-h), transparent);
  transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}

.ep-more-section.section-line-visible::before { transform: scaleX(1); }

/* ================================================================
   CONTACT — overrides contact-section padding on episode page
   ================================================================ */
.ep-contact-section {
  margin-top: 0;
}

/* ================================================================
   SELECT FIELD
   ================================================================ */
.ep-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
  color: var(--text-2);
}

.ep-select option {
  background: var(--bg-card);
  color: var(--text-1);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .ep-overview-grid {
    grid-template-columns: 1fr;
  }
  .ep-guest-card {
    position: static;
    max-width: 520px;
  }
  .ep-prod-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ep-hero { padding-bottom: 64px; }
  .ep-hero-title { font-size: clamp(46px, 13vw, 76px); }
  .ep-bts-grid { grid-template-columns: repeat(2, 1fr); }
  .ep-hero-scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .ep-bts-grid { grid-template-columns: 1fr; }
  .ep-guest-stats { grid-template-columns: 1fr 1fr; }
}
