/* MarmaAI Product Film & Architecture Showcase */
.film-page {
  background: var(--land-bg, #0b1412);
  color: var(--land-ink, #f5f0e4);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

.film-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px max(4vw, 24px) 24px;
  text-align: center;
}

.film-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1.4 'JetBrains Mono', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.film-kicker .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
  display: inline-block;
}

.film-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 600;
}

.film-hero h1 em {
  font-style: normal;
  color: #e2be51;
}

.film-hero p.lead {
  max-width: 760px;
  margin: 0 auto 32px;
  color: #a7b7ae;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}

/* Video Theater */
.film-theater-wrap {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 max(3vw, 16px);
}

.film-video-card {
  position: relative;
  background: #000;
  border: 1px solid rgba(226, 190, 81, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 229, 255, 0.08);
  aspect-ratio: 16 / 9;
}

.film-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

/* Eliminate duplicate browser-rendered WebVTT subtitle cues over burned-in captions */
.film-video-card video::cue {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  color: transparent !important;
  background: transparent !important;
}

/* Quick Chapter Navigation */
.film-chapters-section {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 max(3vw, 16px);
}

.film-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.film-section-title h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
  margin: 0;
  color: #f5f0e4;
}

.film-section-title span {
  font: 500 12px 'JetBrains Mono', monospace;
  color: #e2be51;
}

.film-chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.chapter-btn {
  background: rgba(21, 36, 31, 0.85);
  border: 1px solid rgba(226, 190, 81, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  color: #f5f0e4;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chapter-btn:hover {
  background: rgba(21, 36, 31, 1);
  border-color: #00e5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.15);
}

.chapter-btn.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.chapter-btn .ch-time {
  font: 600 11px 'JetBrains Mono', monospace;
  color: #e2be51;
}

.chapter-btn.active .ch-time {
  color: #00e5ff;
}

.chapter-btn .ch-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* Two-column layout: Transcript and Action Cards */
.film-columns {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 max(3vw, 16px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.film-transcript-panel {
  background: rgba(18, 30, 26, 0.8);
  border: 1px solid rgba(226, 190, 81, 0.18);
  border-radius: 14px;
  padding: 24px;
  max-height: 520px;
  overflow-y: auto;
}

.film-transcript-panel h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  margin: 0 0 16px;
  color: #e2be51;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.transcript-item {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-left: 3px solid transparent;
}

.transcript-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.transcript-item.active {
  background: rgba(0, 229, 255, 0.08);
  border-left-color: #00e5ff;
}

.transcript-item .ts-tag {
  font: 600 11px 'JetBrains Mono', monospace;
  color: #e2be51;
  display: inline-block;
  margin-right: 8px;
}

.transcript-item p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #cdd8d2;
}

.transcript-item.active p {
  color: #f5f0e4;
  font-weight: 500;
}

/* Interactive Action Cards */
.film-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-card {
  background: #14221d;
  border: 1px solid rgba(226, 190, 81, 0.22);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: #e2be51;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.action-card .badge {
  display: inline-block;
  font: 600 10px 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(226, 190, 81, 0.15);
  color: #e2be51;
  margin-bottom: 12px;
}

.action-card h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: #f5f0e4;
}

.action-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #a7b7ae;
  margin: 0 0 16px;
}

.action-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #00e5ff;
  text-decoration: none;
}

.action-card .btn-link:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .film-columns {
    grid-template-columns: 1fr;
  }
  .film-chapter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .film-chapter-grid {
    grid-template-columns: 1fr;
  }
}
