/* ============================================================
   Broadway Indie Shorts — Season 1 Site
   Visual reference: runwayml DESIGN.md
   Stack: vanilla HTML/CSS/JS (no framework, no build step).
   ============================================================ */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  /* Palette — runwayml-inspired with warm amber accent */
  --c-bg: #0A0A0A;
  --c-bg-soft: #111111;
  --c-bg-card: #1A1A1A;
  --c-text: #F5F2E8;          /* Cool projector white */
  --c-text-mute: #A1A29A;     /* Cool slate-warm */
  --c-text-faint: #6B6B65;
  --c-amber: #E8B86D;         /* Warm spotlight */
  --c-amber-strong: #F2C272;
  --c-velvet: #5A1A1F;        /* Deep crimson velvet (used very sparingly) */
  --c-border: #1F1F1F;
  --c-border-light: #2A2A2A;

  /* Type scale */
  --f-display: 'Cormorant Garamond', 'Tiempos Headline', Georgia, serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Spacing rhythm — 8px base, generous */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 720px;
  --container-max: 1440px;

  /* Radius — sharp, never pill */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Skip link for a11y */
.skip-link {
  position: absolute; top: -100px; left: 16px; padding: 12px 20px;
  background: var(--c-amber); color: var(--c-bg);
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  border-radius: var(--r-md); z-index: 1000;
}
.skip-link:focus { top: 16px; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }

.display {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-12);
  max-width: 16ch;
}

.section-eyebrow,
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: var(--s-6);
}

p { font-size: 17px; line-height: 1.65; color: var(--c-text); }
p + p { margin-top: var(--s-4); }
strong { font-weight: 600; color: var(--c-text); }
em { font-style: italic; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--r-sm);
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center; text-decoration: none;
}
.btn-primary {
  background: var(--c-amber); color: #1A0E00;
  font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--c-amber-strong); transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--c-text);
  border-color: var(--c-border-light);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--c-amber); color: var(--c-amber);
}
.btn-large { padding: 18px 36px; font-size: 15px; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled { border-bottom-color: var(--c-border); background: rgba(10, 10, 10, 0.92); }
.nav-inner {
  max-width: var(--container-max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--s-6);
}
.nav-brand { display: flex; align-items: center; gap: var(--s-3); font-weight: 500; font-size: 15px; }
.nav-mark { width: 24px; height: 24px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: var(--s-8); }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--c-text-mute);
  letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--c-text); }
.nav-cta {
  padding: 8px 18px; border: 1px solid var(--c-border-light);
  border-radius: var(--r-sm); color: var(--c-text) !important;
}
.nav-cta:hover, .nav-cta:focus-visible {
  border-color: var(--c-amber); color: var(--c-amber) !important;
}

@media (max-width: 640px) {
  .nav-name { display: none; }
  .nav-links { gap: var(--s-4); }
  .nav-links a:not(.nav-cta) { font-size: 13px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 880px);
  display: flex; align-items: center;
  padding: var(--s-16) var(--s-6) var(--s-12);
  overflow: hidden;
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url('img/hero.jpg');
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.92) 100%),
    radial-gradient(80% 60% at 30% 50%, rgba(10,10,10,0) 0%, rgba(10,10,10,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--content-max); margin: 0 auto; width: 100%;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--c-text-mute);
  margin-top: var(--s-6); max-width: 36ch;
  line-height: 1.45;
}
.hero-ctas {
  display: flex; gap: var(--s-3); margin-top: var(--s-10); flex-wrap: wrap;
}

/* Marquee strip */
.marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: rgba(10, 10, 10, 0.85);
  overflow: hidden;
  padding: var(--s-3) 0;
}
.marquee-track {
  display: flex; gap: var(--s-6);
  white-space: nowrap;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--c-amber); letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: marquee 60s linear infinite;
}
.marquee-track span { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Section base ───────────────────────────────────────── */
.section {
  max-width: var(--content-max); margin: 0 auto;
  padding: var(--s-32) var(--s-6);
  position: relative;
}
.section-light { background: transparent; }
.section-intro {
  font-size: 19px; color: var(--c-text-mute);
  max-width: 50ch; margin-bottom: var(--s-10);
  line-height: 1.55;
}
@media (max-width: 720px) {
  .section { padding: var(--s-20) var(--s-5); }
}

/* ── Editorial (Concept) ─────────────────────────────────── */
.editorial-body {
  max-width: var(--content-narrow);
}
.editorial-body p {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--c-text);
  font-weight: 400;
}
.editorial-body p strong {
  color: var(--c-amber);
  font-weight: 500;
}
.editorial-body p + p { margin-top: var(--s-6); }

/* ── Full-bleed dividers ─────────────────────────────────── */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: clamp(280px, 38vw, 480px);
  overflow: hidden;
  position: relative;
}
.full-bleed img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.85);
}

/* ── Grid 2-col (The Night, What We Look For) ───────────── */
.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-16); align-items: center;
}
.grid-2-text h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05; margin-bottom: var(--s-6);
}
.grid-2-text p { margin-top: var(--s-4); max-width: 42ch; }
.grid-2-image img {
  width: 100%; border-radius: var(--r-lg);
  filter: brightness(0.9);
}
.grid-2-reverse .grid-2-image { order: -1; }
@media (max-width: 880px) {
  .grid-2 { grid-template-columns: 1fr; gap: var(--s-10); }
  .grid-2-reverse .grid-2-image { order: 0; }
}

/* Meta list (Date / Venue / Format) */
.meta-list {
  margin-top: var(--s-10);
  border-top: 1px solid var(--c-border-light);
}
.meta-list li {
  display: grid; grid-template-columns: 120px 1fr;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-border-light);
  font-size: 14px;
}
.meta-key {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-text-faint);
}
.meta-val { color: var(--c-text); }

/* ── Categories grid ────────────────────────────────────── */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px; background: var(--c-border);
  border: 1px solid var(--c-border);
}
.category-card {
  background: var(--c-bg); padding: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: background 0.2s;
}
.category-card:hover { background: var(--c-bg-card); }
.category-card h3 {
  font-family: var(--f-display); font-size: 24px;
  line-height: 1.1; font-weight: 500;
  color: var(--c-text);
}
.category-card p { font-size: 14px; color: var(--c-text-mute); line-height: 1.55; }
.category-card-audience {
  background: linear-gradient(135deg, var(--c-bg) 0%, rgba(232,184,109,0.04) 100%);
}
.category-card-audience h3 { color: var(--c-amber); }

/* ── Receive grid ───────────────────────────────────────── */
.receive-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-10);
}
.receive-item { display: flex; flex-direction: column; gap: var(--s-3); }
.receive-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--c-amber);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-md);
  margin-bottom: var(--s-2);
}
.receive-item h3 { font-size: 18px; font-weight: 500; line-height: 1.2; }
.receive-item p { font-size: 14px; color: var(--c-text-mute); line-height: 1.55; }

/* ── Rules list ─────────────────────────────────────────── */
.rules-list {
  max-width: var(--content-narrow);
  border-top: 1px solid var(--c-border-light);
}
.rules-list li {
  display: grid; grid-template-columns: 160px 1fr;
  padding: var(--s-4) 0; gap: var(--s-6);
  border-bottom: 1px solid var(--c-border-light);
  align-items: baseline;
}
.rules-key {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-text-faint);
}
.rules-val { font-size: 16px; color: var(--c-text); line-height: 1.5; }
@media (max-width: 640px) {
  .rules-list li { grid-template-columns: 1fr; gap: var(--s-1); }
}

/* ── Fees ───────────────────────────────────────────────── */
.section-fees { text-align: left; }
.fees-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
}
.fee-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.fee-card-mid {
  border-color: var(--c-amber);
  background: linear-gradient(180deg, rgba(232,184,109,0.06) 0%, var(--c-bg-card) 60%);
}
.fee-tier {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-text-faint);
}
.fee-name {
  font-family: var(--f-display); font-size: 28px;
  font-weight: 500; line-height: 1.0;
  color: var(--c-text);
}
.fee-price {
  font-family: var(--f-display); font-size: 56px;
  font-weight: 400; line-height: 1.0;
  color: var(--c-amber);
  margin-top: var(--s-2);
}
.fee-meta { font-size: 13px; color: var(--c-text-mute); }
.fees-footnote {
  margin-top: var(--s-8); font-size: 14px; color: var(--c-text-faint);
  max-width: 60ch;
}
.fees-cta {
  margin-top: var(--s-12);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4);
}
.fees-pending { font-size: 13px; color: var(--c-text-faint); max-width: 50ch; }
@media (max-width: 720px) {
  .fees-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list {
  max-width: var(--content-narrow);
  border-top: 1px solid var(--c-border-light);
}
.faq-item {
  border-bottom: 1px solid var(--c-border-light);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: var(--s-6) 0;
  font-family: var(--f-display); font-size: 22px;
  color: var(--c-text); line-height: 1.25;
  display: flex; justify-content: space-between; gap: var(--s-4);
  align-items: baseline;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--f-mono); font-size: 22px;
  color: var(--c-amber); flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--c-amber); }
.faq-body { padding: 0 0 var(--s-6); }
.faq-body p { font-size: 16px; color: var(--c-text-mute); max-width: 55ch; line-height: 1.6; }

/* ── Final CTA ──────────────────────────────────────────── */
.section-final {
  text-align: center; padding-top: var(--s-32); padding-bottom: var(--s-32);
}
.closing-line {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15; font-weight: 400;
  color: var(--c-text);
  margin-bottom: var(--s-12);
  max-width: 22ch; margin-left: auto; margin-right: auto;
}
.closing-emphasis { color: var(--c-amber); font-style: italic; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--c-border);
  padding: var(--s-16) var(--s-6) var(--s-10);
}
.footer-inner {
  max-width: var(--content-max); margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--s-8);
}
.footer-brand {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: 16px; font-weight: 500;
}
.footer-meta p { font-size: 14px; color: var(--c-text-mute); line-height: 1.6; }
.footer-meta a { color: var(--c-amber); transition: opacity 0.2s; }
.footer-meta a:hover { opacity: 0.75; }
.footer-fineprint {
  font-size: 12px; color: var(--c-text-faint);
  border-top: 1px solid var(--c-border); padding-top: var(--s-4);
}

/* ── Mobile Sticky CTA ──────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed; bottom: var(--s-4); right: var(--s-4); z-index: 50;
  padding: 14px 22px;
  background: var(--c-amber); color: #1A0E00;
  font-weight: 600; font-size: 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(0,0,0,0.1);
}
@media (max-width: 720px) {
  .sticky-cta { display: inline-block; }
}

/* ── Reveal class — currently a no-op ───────────────────
   The .reveal class is kept on sections so we can later re-introduce
   scroll-driven animations without touching HTML. For now: no transform,
   no opacity change — content always visible (better for SEO, headless
   rendering, accessibility). */
.reveal { opacity: 1; transform: none; }

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ── Selection ──────────────────────────────────────────── */
::selection { background: var(--c-amber); color: var(--c-bg); }

/* ── Focus outline ──────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 3px; border-radius: var(--r-sm); }
