/* ── Atomic Fear Films — Global Styles ─────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --black:    #080808;
  --off-black:#0d0d0d;
  --dark:     #111111;
  --red:      #c0392b;
  --red-dim:  rgba(192,57,43,0.15);
  --white:    #e8e8e0;
  --white-60: rgba(232,232,224,0.6);
  --white-40: rgba(232,232,224,0.4);
  --white-20: rgba(232,232,224,0.2);
  --white-08: rgba(232,232,224,0.08);
  --white-06: rgba(255,255,255,0.06);
  --amber:    #f0a500;
  --border:   1px solid rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: 'Inter', sans-serif; cursor: pointer; }

/* ── Typography ─────────────────────────────────────────────────────────────── */

.display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  line-height: 0.92;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(8,8,8,0.95);
  border-bottom: var(--border);
  backdrop-filter: blur(8px);
}

.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--white);
}
.site-logo em { color: var(--red); font-style: normal; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white-40);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links .nav-cta a { color: var(--red); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 8px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10,10,10,0.98);
  border: var(--border);
  padding: 8px 0;
  min-width: 160px;
  /* No margin-top — eliminates the gap that causes the menu to vanish */
}
/* Invisible bridge fills the gap between nav link and dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-40);
}
.dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.03); }

/* ── Buttons ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  border: none;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(232,232,224,0.25);
}
.btn-outline:hover { border-color: rgba(232,232,224,0.5); }

/* ── Page Hero (inner pages) ────────────────────────────────────────────────── */

.page-hero {
  padding: 80px 48px 64px;
  border-bottom: var(--border);
  background: var(--off-black);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: 72px; }

/* ── Sections ────────────────────────────────────────────────────────────────── */

.section { padding: 96px 48px; }
.section-header { margin-bottom: 56px; }
.section-header .eyebrow { margin-bottom: 10px; }
.section-header h2 { font-size: 52px; }

/* ── People Grid (actors + crew) ────────────────────────────────────────────── */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px;
}

.person-card {}

.person-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--dark);
  border: var(--border);
  margin-bottom: 20px;
  position: relative;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.person-card:hover .person-photo img { filter: grayscale(0%); }

.person-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-08);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
}

.person-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}
.person-role {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.person-bio {
  font-size: 13px;
  color: var(--white-40);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Status Badge ────────────────────────────────────────────────────────────── */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.25);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Divider ────────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: rgba(255,255,255,0.06); }

/* ── Support CTA ────────────────────────────────────────────────────────────── */
.support-cta {
  background: #0a0404;
  border-top: 1px solid rgba(192,57,43,0.2);
  border-bottom: 1px solid rgba(192,57,43,0.2);
  padding: 80px 48px;
  text-align: center;
}
.support-cta h2 { font-size: 48px; margin-bottom: 14px; }
.support-cta p {
  font-size: 14px;
  color: var(--white-40);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 48px;
  border-top: var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white-20);
}
.footer-logo em { color: var(--red); font-style: normal; opacity: 0.7; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white-20);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white-40); }
.footer-copy { font-size: 11px; color: rgba(232,232,224,0.15); }

/* ── Locus Subnav ───────────────────────────────────────────────────────────── */
.locus-subnav {
  background: var(--off-black);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 0 48px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.locus-subnav a {
  display: block;
  padding: 20px 28px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-20);
  border-right: var(--border);
  transition: color 0.2s, background 0.2s;
}
.locus-subnav a:hover { color: var(--white); background: rgba(255,255,255,0.03); }
.locus-subnav a:first-child { border-left: var(--border); }

/* ── Hamburger Menu ──────────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white-60);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .site-nav { padding: 16px 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 57px;
    left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 0;
    overflow-y: auto;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: var(--border); }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--white-60);
  }
  .nav-dropdown > a::after { display: none; }
  .dropdown-menu {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0 0 8px 16px;
  }
  .dropdown-menu a { padding: 8px 0; font-size: 11px; color: var(--white-40); }
  .nav-cta { border-bottom: none !important; margin-top: 16px; }
  .nav-cta a { color: var(--red) !important; }

  /* Page hero */
  .page-hero { padding: 48px 20px 40px; }
  .page-hero h1 { font-size: 48px; }

  /* Sections */
  .section { padding: 56px 20px; }
  .section-header h2 { font-size: 40px; }

  /* People grid */
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .person-bio { font-size: 12px; }

  /* Support CTA */
  .support-cta { padding: 56px 20px; }
  .support-cta h2 { font-size: 36px; }

  /* Subnav */
  .locus-subnav {
    padding: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .locus-subnav::-webkit-scrollbar { display: none; }
  .locus-subnav a { padding: 16px 20px; white-space: nowrap; flex-shrink: 0; }

  /* Footer */
  .site-footer { flex-direction: column; align-items: flex-start; padding: 32px 20px; gap: 24px; }
  .footer-links { gap: 16px; }
}
