/* ===========================
   MA MEDIA PRODUCTIONS
   styles.css
   =========================== */

html { scroll-behavior: smooth; }

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0c0c0a;
  color: #f0ede6;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes diag {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.2; transform: scale(0.5); }
}

/* ===========================
   POSTER STRIP
   =========================== */

.p {
  flex-shrink: 0;
  width: 150px;
  height: 267px;
  position: relative;
  overflow: hidden;
}

.pl {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.5);
  text-align: center;
}

/* ===========================
   REEL SECTION
   =========================== */

.reel-section {
  position: relative;
  height: 520px;
  overflow: hidden;
  cursor: pointer;
}

.reel-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://res.cloudinary.com/dlf3rffsh/image/upload/v1776789958/Alpha-405556_bdy87y.jpg');
  background-size: cover;
  background-position: center 75%;
  filter: brightness(0.6);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.reel-section:hover .reel-bg {
  filter: brightness(0.75);
  transform: scale(1.02);
}

.reel-bar-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #0c0c0a;
  z-index: 2;
}

.reel-bar-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #0c0c0a;
  z-index: 2;
}

.reel-center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.reel-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0.5px solid rgba(240, 237, 230, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s, background 0.3s;
}

.reel-section:hover .reel-play-btn {
  border-color: #f0ede6;
  background: rgba(0, 0, 0, 0.4);
}

.reel-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(240, 237, 230, 0.4);
  text-transform: uppercase;
  transition: color 0.3s;
}

.reel-section:hover .reel-label {
  color: rgba(240, 237, 230, 0.8);
}

/* ===========================
   DIRECTORS
   =========================== */

.director-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(20%);
}

.director-photo.top img { object-position: top; }

.director-role {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.director-name {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: #f0ede6;
}

.director-meta {
  font-size: 12px;
  color: #444;
  line-height: 1.7;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.12s; }
.fade-up:nth-child(3) { transition-delay: 0.24s; }
.fade-up:nth-child(4) { transition-delay: 0.36s; }
.fade-up:nth-child(5) { transition-delay: 0.48s; }
@media (max-width: 768px) {

  /* NAV */
  [style*="padding:20px 48px"] {
    padding: 16px 20px !important;
  }

  /* HERO */
  [style*="padding:80px 48px"] {
    padding: 48px 24px 32px !important;
  }
  [style*="font-size:72px"] {
    font-size: 42px !important;
  }

  /* REEL */
  .reel-section {
    height: 320px !important;
  }

  /* STRIPS */
  [style*="height:380px"] {
    height: 240px !important;
  }

  /* OVERVIEW */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* SECTIONS PADDING */
  #overview, #about, #portfolio, #directors, #process, #contact {
    padding: 48px 24px !important;
  }

  /* PORTFOLIO GRID */
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* DIRECTORS */
  [style*="grid-template-columns:1fr 0.5px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="padding:48px 80px 48px 0"],
  [style*="padding:48px 0 48px 80px"],
  [style*="padding:48px 80px 0 0"],
  [style*="padding:48px 0 0 80px"] {
    padding: 32px 0 !important;
  }
  [style*="background:rgba(240,237,230,0.1)"] {
    display: none !important;
  }

  /* PROCESS */
  [style*="grid-template-columns:repeat(5,1fr)"] {
    grid-template-columns: 1fr !important;
    border-left: none !important;
  }
  [style*="padding:0 28px;border-right"] {
    padding: 24px 0 !important;
    border-right: none !important;
    border-bottom: 0.5px solid rgba(240,237,230,0.1) !important;
  }

  /* FOOTER */
  [style*="font-size:52px"] {
    font-size: 32px !important;
  }

  /* NAV LINKS — hide on mobile */
  [style*="display:flex;gap:36px"] {
    display: none !important;
  }

}