/* =============================================
   SKETCH — Pitch Site Styles
   Dark horror / cartoon hybrid aesthetic
   ============================================= */

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

:root {
  --black: #080504;
  --dark: #0e0906;
  --card-bg: #110c08;
  --orange: #e8691a;
  --gold: #c9971a;
  --amber: #f5a623;
  --white: #f0ece4;
  --muted: #9a8f82;
  --red-dark: #3a0a0a;
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'EB Garamond', serif;
}

html {
  scroll-behavior: smooth;
}

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

/* ---- PASSWORD GATE ---- */
#password-gate {
  position: fixed;
  inset: 0;
  background: #080504;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity 0.6s ease;
}

#password-gate.hidden {
  opacity: 0;
  pointer-events: none;
}

.gate-logo {
  width: min(480px, 80vw);
  filter: drop-shadow(0 0 40px rgba(232, 105, 26, 0.5));
}

.gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#gate-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--amber);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.35em;
  padding: 12px 20px;
  text-align: center;
  outline: none;
  width: 280px;
  text-transform: uppercase;
}

#gate-input::placeholder {
  color: #4a3a2a;
  letter-spacing: 0.25em;
}

.gate-btn {
  display: inline-block;
  padding: 14px 48px;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 8px;
}

.gate-btn:hover {
  background: var(--amber);
  color: var(--black);
}

.gate-error {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin: 0;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(8,3,2,0.3) 0%, rgba(8,3,2,0.75) 70%, #080302 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-logo {
  width: min(1120px, 88vw);
  display: block;
  filter: drop-shadow(0 0 40px rgba(232, 105, 26, 0.5)) drop-shadow(0 0 80px rgba(245, 166, 35, 0.25));
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-cta {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  font-size: 1.5rem;
  text-decoration: none;
  animation: bounce 2s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ---- SHARED SECTION ---- */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--white);
  max-width: 800px;
  margin-top: 32px;
  line-height: 1.8;
}

.full-page-img {
  width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.full-img-wrap {
  margin-top: 40px;
}

/* ---- POSTER + DIRECTOR'S STATEMENT SECTION ---- */
.poster-section {
  background: var(--black);
  padding: 80px 40px;
}

.poster-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}

.poster-img {
  width: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 100px rgba(0,0,0,0.95), 0 0 60px rgba(232, 105, 26, 0.2);
}

.director-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.director-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.director-copy {
  font-size: 1.05rem;
  color: #c0b4a8;
  margin-bottom: 28px;
  line-height: 1.75;
}

.director-video-wrap {
  position: relative;
  padding-top: 56.25%;
}
.director-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
  border: 1px solid #2a1a0a;
}
.director-video-wrap video {
  width: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
  border: 1px solid #2a1a0a;
}

/* ---- SYNOPSIS ---- */
.synopsis {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-logo {
  position: relative;
}

.section-bg-img {
  width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.synopsis-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.synopsis-text .section-title {
  margin-bottom: 24px;
}

.synopsis-text p {
  font-size: 1.1rem;
  color: #c8bfb3;
  line-height: 1.85;
}

.synopsis-text p.highlight {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- COMPS ---- */
.comps {
  padding: 100px 40px;
  text-align: center;
}

.comps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.comp-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold);
  border-radius: 3px;
  overflow: hidden;
  background: #0c0906;
}

.comp-item img {
  width: 100%;
  height: auto;
  object-fit: initial;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}

.comp-item:hover img {
  filter: brightness(1);
}

.comp-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  padding: 10px 12px;
  text-align: center;
}

.comps-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #c8bfb3;
  line-height: 1.85;
}

.comps-body strong {
  color: var(--amber);
}

/* ---- ANIMATION ---- */
.animation {
  text-align: center;
}

.animation-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-rows: 300px 300px 240px;
  gap: 8px;
  margin-top: 40px;
}

.am-cell {
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid #2a1e10;
  position: relative;
  background: #0a0806;
}

.am-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.am-cell:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}

.am-lineup   { grid-column: 2; grid-row: 1 / 3; }
.am-monster  { grid-column: 1; grid-row: 1; }
.am-nip-char { grid-column: 3; grid-row: 1; }
.am-jen      { grid-column: 1; grid-row: 2; }
.am-matt-char{ grid-column: 3; grid-row: 2; }
.am-film1    { grid-column: 1; grid-row: 3; }
.am-film2    { grid-column: 2; grid-row: 3; }
.am-film3    { grid-column: 3; grid-row: 3; }

.am-lineup-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(8,5,4,0.9));
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
  text-align: center;
}

/* ---- DEATH SCENES ---- */
.death-scenes {
  text-align: center;
  background: linear-gradient(180deg, var(--black) 0%, #120404 40%, var(--black) 100%);
  max-width: 100%;
  padding: 100px 40px;
}

.acme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.acme-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
}

.acme-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.acme-item:hover img {
  transform: scale(1.04);
}

.death-scenes .section-body {
  max-width: 820px;
  margin: 40px auto 0;
}

.death-stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.death-stills-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  filter: brightness(0.85);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.death-stills-grid img:hover {
  filter: brightness(1);
  transform: scale(1.02);
}

/* ---- HYBRID ---- */
.hybrid {
  max-width: 100%;
  padding: 0;
  position: relative;
}

.hybrid-label {
  text-align: center;
  padding: 80px 40px 40px;
}

.hybrid-label .section-title {
  font-size: clamp(2rem, 6vw, 4rem);
  text-shadow: 0 0 40px rgba(232, 105, 26, 0.8);
}

.hybrid-label .section-subtitle {
  margin-bottom: 0;
}

.hybrid-grid-wrap {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

.hybrid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hybrid-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  border: 1px solid #2a1a0a;
  filter: brightness(0.8);
  transition: filter 0.3s ease;
}

.hybrid-grid img:hover {
  filter: brightness(1);
}

/* Top row = storyboard panels, rendered in B&W */
.hybrid-grid img:nth-child(-n+3) {
  filter: grayscale(1) brightness(0.85);
}

.hybrid-grid img:nth-child(-n+3):hover {
  filter: grayscale(1) brightness(1);
}

/* ---- NIP ---- */
.nip {
  max-width: 100%;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  background: linear-gradient(135deg, #08060a 0%, #0d0b04 100%);
}

.nip-img-wrap {
  margin-top: 0;
}

.nip-video-wrap {
  margin-top: 0;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.nip-video-wrap video {
  width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.nip-credit {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 8px;
}

.nip-text .section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.nip-text .section-body {
  margin-top: 16px;
}

/* ---- MASK ---- */
.mask {
  text-align: center;
}

.mask-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.mask-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  border: 1px solid #1e1208;
  filter: brightness(0.9);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.mask-grid img:hover {
  filter: brightness(1.05);
  transform: scale(1.02);
}

/* ---- STORYBOARDS ---- */
.storyboards {
  text-align: center;
}

.storyboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.storyboard-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  border: 1px solid var(--gold);
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}

.storyboard-grid img:hover {
  filter: brightness(1);
}

/* ---- ATTACHED TALENT (Emma Roberts) ---- */
.talent-section {
  background: #0a0608;
  border-top: 1px solid #1a1018;
  border-bottom: 1px solid #1a1018;
  padding: 100px 40px;
}

.talent-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  align-items: center;
}

.talent-img-wrap {
  position: relative;
}

.talent-img {
  width: 100%;
  display: block;
  border-radius: 3px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 16px 80px rgba(0,0,0,0.8);
}

.talent-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.talent-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--orange);
  text-transform: uppercase;
}

.talent-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.talent-accent {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  margin: 8px 0 16px;
}

.talent-bio {
  font-size: 1.05rem;
  color: #c0b4a8;
  line-height: 1.85;
}

.talent-bio em {
  color: var(--white);
  font-style: italic;
}

/* ---- TEAM ---- */
.team {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
  text-align: center;
}

.team .section-title {
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid #1e1510;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 60px rgba(232, 105, 26, 0.15);
}

.team-card-img-wrap {
  width: 100%;
  height: auto;
  overflow: visible;
  flex-shrink: 0;
}

.team-card-bg {
  width: 100%;
  height: auto;
  object-fit: initial;
  display: block;
  filter: brightness(0.9);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.team-card:hover .team-card-bg {
  filter: brightness(1);
  transform: scale(1.03);
}

.team-card-info {
  padding: 28px 32px 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 2px solid var(--orange);
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.team-card-info p {
  font-size: 0.95rem;
  color: #a09080;
  line-height: 1.75;
}

.team-card-info p em {
  color: var(--white);
  font-style: italic;
}

/* ---- SCRIPT DOWNLOAD ---- */
.script-download {
  background: linear-gradient(135deg, #0d0806 0%, #120a04 100%);
  border-top: 1px solid #2a1a0a;
  border-bottom: 1px solid #2a1a0a;
  max-width: 100%;
  padding: 100px 40px;
}

.script-download-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.script-info { flex: 1; }

.script-body {
  font-size: 1.05rem;
  color: #c0b4a8;
  line-height: 1.8;
  margin-top: 12px;
}

.download-btn {
  display: inline-block;
  padding: 18px 44px;
  border: 2px solid var(--amber);
  color: var(--amber);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.download-btn:hover {
  background: var(--amber);
  color: var(--black);
}

/* ---- THANK YOU ---- */
.thankyou {
  position: relative;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou-bg {
  position: absolute;
  inset: 0;
}

.thankyou-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.thankyou-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  max-width: 800px;
}

.thankyou-content .section-title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(245, 166, 35, 0.5);
}

.thankyou-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 20px;
}

.thankyou-sig {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--orange);
}

/* ---- DIVIDERS ---- */
.section + .section,
.hybrid + .section,
.nip + .section {
  border-top: 1px solid #1a120a;
}

/* ---- FADE IN ON SCROLL ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .synopsis {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 24px;
  }

  .poster-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nip {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 24px;
  }

  .talent-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .talent-img {
    max-height: 500px;
    object-fit: cover;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .animation-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px 200px;
  }

  .am-lineup   { grid-column: 1 / 3; grid-row: 1; }
  .am-monster  { grid-column: 1; grid-row: 2; }
  .am-nip-char { grid-column: 2; grid-row: 2; }
  .am-jen      { grid-column: 1; grid-row: 3; }
  .am-matt-char{ grid-column: 2; grid-row: 3; }
  .am-film1    { grid-column: 1; grid-row: 4; }
  .am-film2    { grid-column: 2; grid-row: 4; }
  .am-film3    { grid-column: 1 / 3; grid-row: 5; }

  .acme-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hybrid-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mask-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mask-grid img {
    height: 200px;
  }

  .storyboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .script-download-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .section {
    padding: 80px 24px;
  }

  .hero-img {
    width: 90vw;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.4rem;
  }

  .section {
    padding: 60px 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .comps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .acme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .storyboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mask-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mask-grid img {
    height: 150px;
  }
}
