/* ============================================
   NEON NOIR / CINEMATIC DARK — Design System
   ============================================ */

:root {
  --bg: #0B0C0E;
  --surface: #16181C;
  --text: #FFFFFF;
  --text-muted: #8E95A5;
  --accent: #E63946;
  --accent-glow: rgba(230, 57, 70, 0.45);
  --border: #2A2E36;
  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: var(--text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid var(--accent);
  color: var(--text);
  background: var(--accent);
  cursor: pointer;
  transition: box-shadow 0.25s, background 0.25s, color 0.25s, transform 0.15s;
}
.btn:hover {
  box-shadow: 0 0 24px var(--accent-glow);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a.active { color: var(--accent); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(230, 57, 70, 0.12), transparent),
    radial-gradient(ellipse 55% 45% at 15% 85%, rgba(56, 70, 110, 0.18), transparent),
    var(--bg);
}
/* Optional photo background. Toggle by adding/removing "hero--photo" on
   the <section class="hero"> in index.html — remove the class to fall
   back to the plain gradient above instantly. */
.hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.55) saturate(0.85) contrast(1.05);
}
.hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(11, 12, 14, 0.92) 0%, rgba(11, 12, 14, 0.78) 30%, rgba(11, 12, 14, 0.35) 60%, rgba(11, 12, 14, 0.55) 100%),
    radial-gradient(ellipse 70% 55% at 75% 20%, rgba(230, 57, 70, 0.14), transparent),
    linear-gradient(to top, rgba(11, 12, 14, 0.85) 0%, transparent 45%);
}
.hero--photo .container { position: relative; z-index: 2; }

.hero__content { max-width: 780px; padding: 90px 0; }
.hero .eyebrow { display: block; margin-bottom: 20px; }
.hero p.sub {
  margin: 26px 0 40px;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
}
.hero__ctas { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Credibility bar ---------- */
.cred-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.cred-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.cred-bar a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cred-bar a:hover { color: var(--accent); }
.cred-bar .dot { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-muted); max-width: 620px; margin-bottom: 56px; }

/* ---------- Featured spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spotlight__media img {
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.status-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 14px;
  margin-bottom: 20px;
  animation: status-tag-flash 1.8s ease-in-out infinite;
}
@keyframes status-tag-flash {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(230, 57, 70, 0); }
  50% { opacity: 0.5; box-shadow: 0 0 14px var(--accent-glow); }
}
@media (prefers-reduced-motion: reduce) {
  .status-tag { animation: none; }
}
.spotlight h2 { margin-bottom: 6px; }
.spotlight .genre {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.spotlight .starring {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.spotlight .starring strong { color: var(--text); }
.spotlight .logline { color: var(--text-muted); margin-bottom: 28px; }
.press { list-style: none; margin-bottom: 32px; }
.press li { margin-bottom: 10px; }
.press a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.press a:hover { color: var(--accent); border-color: var(--accent); }
.press li::before { content: '▸ '; color: var(--accent); }
.spotlight__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.coverage-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px 36px;
  font-family: var(--font-mono);
  position: relative;
}
.coverage-card::before {
  content: 'SCRIPT COVERAGE — EXCERPT';
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 20px;
}
.coverage-card blockquote {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.coverage-card cite {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ---------- Who am I ---------- */
.bio-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(230, 57, 70, 0.14), transparent),
    linear-gradient(160deg, #1C1F24 0%, #0B0C0E 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  overflow: hidden;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bio-split .excerpt p { color: var(--text-muted); margin-bottom: 20px; }
.bio-split h2 { margin-bottom: 28px; }

/* ---------- Script cards ---------- */
.script-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.script-card {
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.script-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.script-card--featured { grid-column: 1 / -1; }
.script-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.script-card__media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.media-placeholder--mountain {
  background:
    linear-gradient(165deg, transparent 40%, rgba(142, 149, 165, 0.08) 40.5%, transparent 60%),
    linear-gradient(195deg, transparent 45%, rgba(142, 149, 165, 0.1) 45.5%, transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(56, 70, 110, 0.25), transparent),
    linear-gradient(180deg, #14161A 0%, #0B0C0E 100%);
}
.media-placeholder--jungle {
  background:
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(46, 90, 60, 0.22), transparent),
    radial-gradient(ellipse 40% 30% at 78% 18%, rgba(230, 190, 90, 0.14), transparent),
    linear-gradient(180deg, #101318 0%, #0B0C0E 100%);
}
.script-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.script-card__body .status-tag { margin-bottom: 14px; align-self: flex-start; }
.script-card__body h3 { margin-bottom: 4px; }
.script-card__body .genre {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.script-card__body .logline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
  flex: 1;
}
.script-card__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Short stories ---------- */
.story { margin-bottom: 72px; }
.story__hero {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--border);
  margin-bottom: 32px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
  position: relative;
}
.story__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.story__hero span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.story__hero--noir {
  background:
    radial-gradient(ellipse 50% 60% at 20% 40%, rgba(230, 57, 70, 0.14), transparent),
    linear-gradient(120deg, #16181C 0%, #0B0C0E 70%);
}
.story__hero--drama {
  background:
    radial-gradient(ellipse 45% 55% at 80% 30%, rgba(90, 120, 180, 0.16), transparent),
    linear-gradient(200deg, #14161A 0%, #0B0C0E 70%);
}
.story__hero--fable {
  background:
    radial-gradient(ellipse 55% 50% at 50% 20%, rgba(120, 100, 160, 0.15), transparent),
    linear-gradient(180deg, #131519 0%, #0B0C0E 80%);
}
.story__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.story__meta .dot { color: var(--accent); }
.story h2 { margin-bottom: 18px; }
.story .teaser {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
  max-width: 680px;
}
.story__full {
  display: none;
  max-width: 680px;
  margin: 36px 0 8px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.story__full.open { display: block; }
.story__full p {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #C8CDD8;
  margin-bottom: 26px;
}
.story__full .the-end {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 40px;
}

/* ---------- About ---------- */
.about-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.exec-summary h3 { margin-bottom: 16px; font-size: 1.3rem; }
.exec-summary > p { color: var(--text-muted); margin-bottom: 32px; }
.stats { list-style: none; }
.stats li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.stats li strong { color: var(--text); font-weight: 400; }
.stats li::before { content: '▸ '; color: var(--accent); }
.bio-narrative { max-width: 740px; margin-top: 80px; }
.bio-narrative p {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #C8CDD8;
  margin-bottom: 26px;
}

/* ---------- Contact ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.contact-direct h3 { margin-bottom: 24px; }
.contact-direct ul { list-style: none; }
.contact-direct li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.contact-direct li .label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.contact-direct a { color: var(--text-muted); }
.contact-direct a:hover { color: var(--accent); }

/* ---------- Forms ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-group label .req { color: var(--accent); }
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(230, 57, 70, 0.2);
}
textarea { min-height: 140px; resize: vertical; }
.radio-group { display: flex; flex-direction: column; gap: 12px; }
.radio-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 0;
}
input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; }
.form-success {
  display: none;
  border: 1px solid var(--accent);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.form-success.visible { display: block; }
.form-success::before {
  content: '// TRANSMISSION RECEIVED';
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 520px;
  width: 100%;
  padding: 48px 44px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(230, 57, 70, 0.08);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.modal__close:hover { color: var(--accent); }
.modal h3 { margin-bottom: 8px; }
.modal .modal__sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- Page header ---------- */
.page-header {
  padding: 90px 0 64px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 70% at 80% 0%, rgba(230, 57, 70, 0.08), transparent),
    var(--bg);
}
.page-header .section-sub { margin-bottom: 0; margin-top: 14px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.footer__links { display: flex; gap: 24px; list-style: none; }
.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .nav__links.open { display: flex; }
  .nav__links li { padding: 14px 24px; }

  .spotlight,
  .bio-split,
  .about-split,
  .contact-split,
  .testimonials,
  .script-grid { grid-template-columns: 1fr; }

  .spotlight { gap: 40px; }
  .section { padding: 64px 0; }
  .hero { min-height: 70vh; }
}
