/* ===== RATHOD FILMS – Rose-Gold / Copper & Charcoal Theme (Logo Match) ===== */
:root {
  --black: #0a0a0a;
  --black-soft: #0f0f0f;
  --black-card: #141414;
  --charcoal: #1a1a1a;
  --red: #b87333;
  --red-bright: #c9a86c;
  --red-glow: rgba(201, 168, 108, 0.35);
  --red-muted: #8b6914;
  --white: #fafafa;
  --gray: #a1a1aa;
  --gray-dark: #52525b;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== CINEMATIC GLOBAL OVERLAYS ===== */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 50%, rgba(0,0,0,0.4) 100%);
}
.director-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 997;
  background: radial-gradient(ellipse 60% 40% at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 168, 108, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
body:hover .director-spotlight {
  opacity: 1;
}
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainMove 8s steps(10) infinite;
}
@keyframes grainMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, -2%); }
  50% { transform: translate(2%, 2%); }
  75% { transform: translate(-1%, 1%); }
}

a {
  color: var(--red-bright);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
a:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== NAV ===== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
  transition: background 0.3s;
}
.main-nav.scrolled {
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid rgba(201, 168, 108, 0.25);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  /* background-color: green; */
  padding: 0px;
  height: 90px;
  width: auto;
  /* max-width: 350px; */
  object-fit: contain;
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.9;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright) 0%, transparent 100%);
  transition: width 0.3s var(--ease-out);
}
.nav-links a::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid var(--red-bright);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), left 0.3s var(--ease-out);
}
.nav-links a:hover {
  color: var(--red-bright);
  padding-left: 0.5rem;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover::before {
  opacity: 1;
  left: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--black-soft);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.3s;
    border-left: 1px solid var(--red-muted);
  }
  .nav-links.open { right: 0; }
}

/* ===== FULLPAGE SECTIONS ===== */
.fullpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  position: relative;
  padding: 6rem 1rem 4rem;
}

/* Film Slate / Clapperboard Marker */
.film-slate {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 2;
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red-bright);
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}
.reveal-section.visible .film-slate {
  opacity: 0.9;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .film-slate { top: 1rem; left: 1rem; font-size: 0.65rem; }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--red);
  transform-origin: left;
  transition: width 0.5s var(--ease-out);
}
.reveal-section.visible .section-title::after {
  width: 120px;
}

/* ===== HERO (PAGE 1) – CINEMATIC ===== */
.hero {
  justify-content: flex-end;
  text-align: center;
  padding: 0 0 3rem;
  overflow: hidden;
}
.letterbox {
  position: absolute;
  left: 0;
  right: 0;
  height: 12vh;
  background: var(--black);
  z-index: 3;
  pointer-events: none;
}
.letterbox-top { top: 0; }
.letterbox-bottom { bottom: 0; }
.film-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    var(--black) 0px,
    var(--black) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.7;
}
.film-strip-left { left: 0; }
.film-strip-right { right: 0; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}
@media (min-aspect-ratio: 16/9) {
  .hero-video {
    height: 56.25vw;
  }
}
@media (max-aspect-ratio: 16/9) {
  .hero-video {
    width: 177.78vh;
  }
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(201, 168, 108, 0.12) 0%, transparent 55%),
              radial-gradient(ellipse 120% 80% at 50% 120%, rgba(201, 168, 108, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
  z-index: 2;
}
.light-sweep {
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255,255,255,0.03) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: lightSweep 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes lightSweep {
  0%, 100% { transform: translateX(-100%) skewX(-12deg); opacity: 0; }
  50% { transform: translateX(100%) skewX(-12deg); opacity: 1; }
}
.lens-flare {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 168, 108, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: flarePulse 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes flarePulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: 0.15em;
  color: var(--white);
  text-shadow: 0 0 60px var(--red-glow);
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.05em;
}
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-80px);
  animation: letterRevealLeftToRight 0.7s var(--ease-out) forwards;
}
.hero-title .char.space { width: 0.25em; min-width: 4px; }
@keyframes letterRevealLeftToRight {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  min-height: 2em;
  animation: taglineIn 0.8s var(--ease-out) 1.2s both;
}
.hero-tagline.fade-out {
  animation: taglineOut 0.5s var(--ease-out) forwards;
}
@keyframes taglineIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes taglineOut {
  to { opacity: 0; transform: translateY(-10px); }
}
.reel-reel {
  position: absolute;
  bottom: 5rem;
  right: 4rem;
  z-index: 2;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reel-circle {
  position: relative;
  width: 50px;
  height: 50px;
  border: 3px solid var(--red);
  border-radius: 50%;
  animation: reelSpin 8s linear infinite;
  box-shadow: 0 0 20px var(--red-glow);
}
.reel-circle::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 2px solid rgba(220,38,38,0.4);
  border-radius: 50%;
}
@keyframes reelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero clapperboard graphic */
.hero-graphic {
  position: absolute;
  z-index: 2;
  color: var(--red);
  opacity: 0.35;
  pointer-events: none;
}
.hero-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-graphic-clapper {
  bottom: 8rem;
  left: 3rem;
  width: 70px;
  height: 70px;
  animation: floatGraphic 6s ease-in-out infinite;
}
@media (max-width: 768px) {
  .hero-graphic-clapper { width: 50px; height: 50px; left: 1.5rem; bottom: 6rem; }
}
@keyframes floatGraphic {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* Hero clapperboard – open by default, closes on click then scrolls */
.hero-clapper {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 80px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.15s var(--ease-out), opacity 0.2s;
}
.hero-clapper:hover {
  transform: translateX(-50%) scale(1.08);
}
.hero-clapper:focus {
  outline: none;
}
.hero-clapper .clapper-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.hero-clapper .clapper-stick {
  transform-origin: 12px 50px;
  transform: rotate(-45deg);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-clapper.closed .clapper-stick {
  transform: rotate(0deg);
}
.hero-clapper.closed {
  pointer-events: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal-section .reveal-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-section.visible .reveal-item { opacity: 1; transform: translateY(0); }
.reveal-section .reveal-item:nth-child(1) { transition-delay: 0.1s; }
.reveal-section .reveal-item:nth-child(2) { transition-delay: 0.2s; }
.reveal-section .reveal-item:nth-child(3) { transition-delay: 0.3s; }
.reveal-section .reveal-item:nth-child(4) { transition-delay: 0.4s; }
.reveal-section .reveal-item:nth-child(5) { transition-delay: 0.5s; }
.reveal-section .reveal-item:nth-child(6) { transition-delay: 0.6s; }
.reveal-section .reveal-item:nth-child(7) { transition-delay: 0.7s; }
.reveal-section .reveal-item:nth-child(8) { transition-delay: 0.8s; }
.reveal-section .reveal-item:nth-child(9) { transition-delay: 0.9s; }
.reveal-section .reveal-item:nth-child(10) { transition-delay: 1s; }
.reveal-section .reveal-item:nth-child(n+11) { transition-delay: 1.1s; }
.reveal-section:not(.visible) .reveal-item { transition-delay: 0s; }

/* Film burn transition effect */
.fullpage {
  position: relative;
}
.fullpage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(201, 168, 108, 0.1) 50%, rgba(0,0,0,0.8) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.8s var(--ease-out);
}
.fullpage.film-burn-in::after {
  opacity: 1;
  animation: filmBurn 0.8s var(--ease-out);
}
@keyframes filmBurn {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ===== ABOUT (PAGE 2) ===== */
.about {
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 8rem;
}
.about-bg {
  position: absolute;
  inset: 0;
  background: var(--black-soft);
  z-index: 0;
}

/* Frame corners - film frame graphic */
.frame-corners {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.frame-corner {
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: var(--red);
  border-style: solid;
  border-width: 0;
  opacity: 0.4;
  transition: opacity 0.3s, width 0.3s, height 0.3s;
}
.reveal-section.visible .frame-corner { opacity: 0.6; }
.frame-corner-tl { top: 2rem; left: 2rem; border-top-width: 3px; border-left-width: 3px; }
.frame-corner-tr { top: 2rem; right: 2rem; border-top-width: 3px; border-right-width: 3px; }
.frame-corner-bl { bottom: 2rem; left: 2rem; border-bottom-width: 3px; border-left-width: 3px; }
.frame-corner-br { bottom: 2rem; right: 2rem; border-bottom-width: 3px; border-right-width: 3px; }
@media (max-width: 768px) {
  .frame-corner { width: 40px; height: 40px; }
  .frame-corner-tl, .frame-corner-tr { top: 1rem; }
  .frame-corner-bl, .frame-corner-br { bottom: 1rem; }
  .frame-corner-tl, .frame-corner-bl { left: 1rem; }
  .frame-corner-tr, .frame-corner-br { right: 1rem; }
}

.about-header {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 1rem;
  margin-bottom: 2rem;
}
.about-tabs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.about-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--gray-dark);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}
.about-tab:hover {
  border-color: var(--red-muted);
  color: var(--white);
}
.about-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.about-panel {
  display: none;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 1rem;
  flex: 1;
  align-items: center;
}
.about-panel.active {
  display: flex;
  animation: panelSlideIn 0.6s var(--ease-out);
}
.about-panel .about-layout {
  animation: contentFadeUp 0.6s var(--ease-out);
}
@keyframes panelSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes contentFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.about-layout {
  display: grid;
  gap: 3rem;
  width: 100%;
}
.company-layout {
  grid-template-columns: 380px 1fr;
  align-items: center;
}
.about-logo-wrap {
  position: sticky;
  top: 6rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.about-logo-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  padding: 1.5rem;
  border: 1px solid rgba(201, 168, 108, 0.4);
}
.about-content-block {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
}
.about-content-block p {
  margin-bottom: 1.25rem;
}
.about-content-block strong {
  color: var(--white);
  font-weight: 600;
}
.ceo-layout {
  grid-template-columns: 380px 1fr;
  align-items: center;
}
.ceo-image-wrap {
  position: sticky;
  top: 6rem;
}
.ceo-image {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border: 2px solid var(--red);
  border-radius: 4px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--black-card) 0%, var(--charcoal) 100%);
  padding: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 108, 0.2);
  position: relative;
}
.ceo-image::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(201, 168, 108, 0.1) 0%, rgba(201, 168, 108, 0.05) 100%);
  border-radius: 6px;
  z-index: -1;
  opacity: 0.6;
}
.ceo-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(201, 168, 108, 0.1) 100%);
  border-radius: 4px;
  pointer-events: none;
}
.ceo-image-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, var(--black-card) 0%, var(--red-muted) 100%);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gray);
  text-align: center;
  padding: 1rem;
}
.ceo-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--red-bright);
  font-weight: 500;
  text-align: center;
}
.ceo-content .about-content-block { margin: 0; }

@media (max-width: 900px) {
  .company-layout { grid-template-columns: 1fr; }
  .ceo-layout { grid-template-columns: 1fr; }
  .about-logo-wrap { position: relative; top: 0; }
  .ceo-image-wrap { position: relative; top: 0; }
  .ceo-image { max-width: 280px; margin: 0 auto; }
  .ceo-image-placeholder { max-width: 280px; margin: 0 auto; }
}

/* ===== PROJECTS (PAGE 3) ===== */
.projects {
  padding-top: 8rem;
}
.projects-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}

/* Section graphics - film reel, aperture, film strip */
.section-graphic {
  position: absolute;
  z-index: 1;
  color: var(--red);
  opacity: 0.2;
  pointer-events: none;
}
.section-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}
.section-graphic-reel {
  top: 50%;
  right: 2rem;
  width: 140px;
  height: 140px;
  transform: translateY(-50%);
  animation: reelFloat 8s ease-in-out infinite;
}
.reveal-section.visible .section-graphic-reel { opacity: 0.35; }
@keyframes reelFloat {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.2; }
  50% { transform: translateY(-50%) translateX(-10px) scale(1.05); opacity: 0.35; }
}
.section-graphic-aperture {
  top: 2rem;
  right: 3rem;
  width: 100px;
  height: 100px;
  opacity: 0.25;
  animation: aperturePulse 4s ease-in-out infinite;
}
.reveal-section.visible .section-graphic-aperture { opacity: 0.35; }
@keyframes aperturePulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.25; }
  50% { transform: scale(1.1) rotate(5deg); opacity: 0.4; }
}
.section-graphic-strip {
  bottom: 3rem;
  left: 2rem;
  width: 120px;
  height: 80px;
  opacity: 0.2;
}
.reveal-section.visible .section-graphic-strip { opacity: 0.35; }

/* Film strip divider - perforation dots */
.graphic-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5rem 0;
  pointer-events: none;
}
.graphic-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: transparent;
  opacity: 0.5;
}
.graphic-divider-projects { margin: 0.5rem 0 2rem; }
.graphic-divider-pitch { margin: 0 0 1.5rem; }

@media (max-width: 900px) {
  .section-graphic-reel { width: 90px; height: 90px; right: 1rem; }
  .section-graphic-aperture { width: 70px; height: 70px; right: 1rem; }
  .section-graphic-strip { width: 80px; height: 54px; left: 1rem; }
}

.projects-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 1rem;
}
.projects-intro {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.projects-desc {
  color: var(--gray);
  max-width: 100%;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.project-categories {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  perspective: 1200px;
}
.project-card {
  max-width: 400px;
  width: 100%;
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: var(--black-card);
  border: 2px solid var(--gray-dark);
  color: var(--white);
  text-align: center;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.project-card-poster {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--black-card) 0%, var(--charcoal) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.poster-frame {
  position: absolute;
  inset: 8px;
  border: 2px solid var(--red);
  border-style: dashed;
  opacity: 0.4;
}
.project-card:hover .poster-frame {
  opacity: 0.7;
  border-color: var(--red-bright);
}
.project-card-icon {
  font-size: 4rem;
  opacity: 0.8;
  transition: transform 0.4s var(--ease-out), filter 0.4s;
  z-index: 1;
}
.project-card:hover .project-card-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 15px var(--red-glow));
}
.poster-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  font-weight: 700;
  opacity: 0.9;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(201, 168, 108, 0.1) 50%,
    transparent 100%
  );
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.project-card:hover {
  border-color: var(--red);
  transform: translateY(-12px) rotateX(8deg) scale(1.03);
  box-shadow: 0 40px 80px -20px var(--red-glow), 0 0 0 2px rgba(201, 168, 108, 0.3);
}
.project-card:hover::before {
  transform: translateX(100%) skewX(-20deg);
}
.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 1rem 0 0.5rem;
  padding: 0 1rem;
}
.project-card p {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0 1rem 1.5rem;
}
.project-detail-wrap {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-dark);
}
.project-detail-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.project-detail-note {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.project-grid:empty::after {
  content: 'No projects added yet. Add posters and links here.';
  color: var(--gray-dark);
  font-size: 0.95rem;
  grid-column: 1 / -1;
}

/* Film Poster Card */
.film-poster-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.film-poster-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(201, 168, 108, 0.2);
}
.film-poster-image-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--black);
}
.film-poster-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.film-poster-card:hover .film-poster-image {
  transform: scale(1.02);
}
.film-poster-info {
  padding: 2rem;
}
.film-poster-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.film-poster-genre {
  font-size: 0.9rem;
  color: var(--red-bright);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.film-poster-desc {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.film-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.film-watch-btn:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 168, 108, 0.4);
}
.film-watch-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .film-poster-info {
    padding: 1.5rem;
  }
  .film-poster-title {
    font-size: 1.5rem;
  }
  .film-watch-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}


/* ===== PITCH (PAGE 4) ===== */
.pitch {
  padding-top: 8rem;
}
.pitch-bg {
  position: absolute;
  inset: 0;
  background: var(--black-soft);
  z-index: 0;
}
.pitch-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}
.pitch-intro {
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.pitch-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .form-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .form-columns {
    grid-template-columns: 1fr;
  }
}
.form-clapper {
  position: absolute;
  top: -3rem;
  right: 0;
  background: var(--black-card);
  border: 2px solid var(--red);
  padding: 0.4rem 0.8rem;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--red-bright);
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.clapper-top {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.clapper-info {
  font-size: 0.65rem;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .form-clapper { top: -2.5rem; font-size: 0.6rem; padding: 0.3rem 0.6rem; }
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-row label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
}
.form-row input,
.form-row select {
  padding: 0.9rem 1rem;
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.2s;
}
.form-row input::placeholder {
  color: var(--gray-dark);
}
.form-row input:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.2), 0 0 20px rgba(201, 168, 108, 0.15);
  background: var(--charcoal);
}
.form-row input,
.form-row select {
  transition: border-color 0.2s, box-shadow 0.3s var(--ease-out);
}
.form-row select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.btn-submit {
  padding: 1rem 2rem;
  background: var(--red);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 4px;
}
.btn-submit:hover {
  background: var(--red-bright);
  box-shadow: 0 0 30px var(--red-glow);
  transform: scale(1.02);
}
.btn-submit:active {
  transform: scale(0.98);
}

/* ===== CONTACT (PAGE 5) ===== */
.contact {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  min-height: auto;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}
.contact-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 1rem;
}
.contact-inner .section-title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  width: 100%;
  margin-top: 0.5rem;
}
.contact-item {
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0;
}
.btn-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  background: #25D366;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
  margin-top: 0.4rem;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-whatsapp-inline:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.contact-item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  margin-bottom: 0.25rem;
}
.contact-item p,
.contact-item a {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}
.contact-item a:hover {
  color: var(--white);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #25D366;
  color: #fff !important;
  font-weight: 600;
  border-radius: 4px;
  width: fit-content;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-whatsapp:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  color: var(--gray);
  border-radius: 4px;
  transition: var(--transition);
  padding: 0;
}
.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.social-icon:hover {
  border-color: var(--red);
  color: var(--red-bright);
  background: rgba(201, 168, 108, 0.1);
}
.contact-map-wrap {
  min-height: 320px;
}
.contact-map-placeholder {
  width: 100%;
  height: 320px;
  background: var(--black-card);
  border: 1px solid var(--gray-dark);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  text-align: center;
  padding: 2rem;
}
.contact-map-placeholder p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}


/* ===== FOOTER ===== */
.site-footer {
  padding: 0.75rem 2rem;
  text-align: center;
  border-top: 1px solid var(--gray-dark);
  color: var(--gray-dark);
  font-size: 0.75rem;
}
