/* ============================= */
/* VIDEO BASE */
/* ============================= */

.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================= */
/* MOBILE FIX – IMPORTANT */
/* ============================= */

@media (max-width: 768px) {
  .video-hero {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-hero video {
    height: auto;
    min-height: 100%;
  }
}

/* ============================= */
/* OVERLAY */
/* ============================= */

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  text-align: center;
}

.video-overlay h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.video-overlay p {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

/* ============================= */
/* PROJECT VIDEO OVERLAY */
/* ============================= */

.project-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* ============================= */
/* VIDEO CONTROLS */
/* ============================= */

.video-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.play-toggle,
.sound-toggle {
  pointer-events: auto;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}

.play-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.project-video.is-playing .play-toggle {
  opacity: 0;
  pointer-events: none;
}

.sound-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.6rem;
}

/* ============================= */
/* PROJECT INTRO */
/* ============================= */

.experimental-project-intro {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-soft);
  padding: 5rem 0 4.5rem;
}

.experimental-project-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.experimental-project-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.experimental-project-text {
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
}

/* ============================= */
/* MOBILE TEXT TWEAKS */
/* ============================= */

@media (max-width: 600px) {
  .experimental-project-inner {
    padding: 0 1.5rem;
  }

  .play-toggle {
    font-size: 1.6rem;
  }

  .sound-toggle {
    font-size: 1.8rem;
  }
}
