/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
body { cursor: none; }

.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s;
}

.cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1px solid rgba(196,96,30,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s, height 0.35s, border-color 0.35s;
}

.cursor.hover  { width: 5px; height: 5px; }
.cursor-ring.hover { width: 54px; height: 54px; border-color: rgba(196,96,30,0.18); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-subtitle {
  max-width: 560px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   FILM LIST
   ============================================================ */
.film-list {
  padding: 0 0 120px;
}

.film-item {
  display: grid;
  grid-template-columns: 55% 1fr;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.3s;
}

.film-item:first-child { border-top: 1px solid var(--border); }
.film-item:hover { background: rgba(196,96,30,0.03); }

/* Thumbnail */
.film-thumb {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.film-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.85);
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1), filter 0.5s;
  display: block;
}

.film-item:hover .film-thumb img {
  transform: scale(1.05);
  filter: brightness(0.9) saturate(1);
}

/* Play button */
.play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.play-circle {
  width: 56px; height: 56px;
  border: 1px solid rgba(196,96,30,0.55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,0.45);
  backdrop-filter: blur(4px);
  transform: scale(0.82);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease, border-color 0.35s, background 0.35s;
}

.play-circle svg {
  width: 18px; height: 18px;
  fill: var(--accent);
  margin-left: 3px;
}

.film-item:hover .play-circle {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent);
  background: rgba(8,8,8,0.65);
}

.film-item.no-video .play-circle { display: none; }

/* Film info */
.film-info {
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border);
}

.film-meta {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 20px;
}

.film-index {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.film-client {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.film-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.film-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}

.film-desc {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.film-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.3s;
}

.film-link:hover { gap: 16px; }

.film-link svg {
  width: 14px; height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

/* Nav active state */
.nav-links a.active { color: var(--text); }

/* ============================================================
   VIDEO LIGHTBOX
   ============================================================ */
.video-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(8,8,8,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-overlay.open {
  opacity: 1; pointer-events: all;
}

.video-wrap-lb {
  position: relative;
  width: min(1100px, 92vw);
  aspect-ratio: 16 / 9;
  background: #000;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.video-overlay.open .video-wrap-lb { transform: scale(1); }

.video-wrap-lb iframe {
  width: 100%; height: 100%; border: none;
}

.video-close {
  position: absolute;
  top: -40px; right: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s;
}

.video-close:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .page-header { padding: 120px 0 60px; }

  .film-item {
    grid-template-columns: 1fr;
  }

  .film-thumb { min-height: 200px; }

  .film-info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 24px;
  }
}

@media (max-width: 640px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}
