/* ─── RESET & ROOT ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #06060a;
  --bg-2: #0d0d14;
  --fg: #e8e2d8;
  --fg-muted: #8a8378;
  --accent: #c8963e;
  --accent-dim: rgba(200, 150, 62, 0.12);
  --accent-glow: rgba(200, 150, 62, 0.06);
  --border: rgba(200, 150, 62, 0.15);
  --border-bright: rgba(200, 150, 62, 0.35);
  --text-secondary: #b0a89e;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(6,6,10,0.95) 0%, transparent 100%);
}

.nav-inner {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}

.brand-accent { color: var(--accent); }

.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-brand--link { text-decoration: none; color: var(--fg); }

.nav-links { margin-left: auto; }

.nav-tool-link {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.nav-tool-link:hover {
  color: var(--fg);
  border-color: var(--border-bright);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 3rem 6rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,150,62,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(200,150,62,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}

.hero-frame-line {
  position: absolute;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-bright), var(--border), transparent);
}

.hero-frame-top { top: 5.5rem; }
.hero-frame-bottom { bottom: 3rem; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.eyebrow-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
}

.eyebrow-text {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

.hero-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0 2rem;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.pillar-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.pillar-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: var(--space-xl) 3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ─── FILMS ─── */
.films {
  padding: var(--space-xl) 3rem;
}

.films-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.films-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.films-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.film-card {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.film-card--tall { min-height: 440px; }

.film-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1208 0%, #0a0a0a 60%);
}

.film-card-bg--cleveland::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(200,150,62,0.03) 3px, rgba(200,150,62,0.03) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(200,150,62,0.03) 3px, rgba(200,150,62,0.03) 4px),
    radial-gradient(ellipse at 30% 70%, rgba(200,150,62,0.15) 0%, transparent 60%);
}

.film-card-bg--enormity::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(200,150,62,0.02) 40px, rgba(200,150,62,0.02) 41px),
    radial-gradient(ellipse at 70% 30%, rgba(200,150,62,0.1) 0%, transparent 55%);
}

.film-card-bg--fractured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,50,50,0.04) 2px, rgba(255,50,50,0.04) 3px),
    linear-gradient(180deg, rgba(80,10,10,0.3) 0%, rgba(6,6,10,0.9) 100%);
}

.film-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.film-year {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.film-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: var(--fg);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.film-descriptor {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.film-logline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: auto;
  padding-bottom: 1rem;
}

.film-cast {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.film-platforms,
.film-awards {
  font-size: 0.7rem;
  color: var(--accent);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* ─── OPERATING ─── */
.operating {
  padding: var(--space-xl) 3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.operating-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.operating-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 3.5rem;
  max-width: 560px;
}

.operating-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.op-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.op-card:hover { background: var(--accent-dim); }
.op-card:nth-child(3n) { border-right: none; }
.op-card:nth-last-child(-n+3) { border-bottom: none; }

.op-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.op-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.op-card-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── CLOSING ─── */
.closing {
  padding: var(--space-xl) 3rem;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  margin-bottom: 2.5rem;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 2rem;
}

.closing-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 3.5rem;
}

.closing-signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sig-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sig-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* ─── FOOTER ─── */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.footer-brand-sub {
  font-size: 0.65rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

.footer-note {
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .films-grid {
    grid-template-columns: 1fr 1fr;
  }
  .film-card--tall {
    grid-column: 1 / -1;
    min-height: 340px;
  }
  .operating-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .op-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .op-card:nth-child(2n) { border-right: none; }
  .op-card:nth-last-child(-n+2) { border-bottom: none; }
  .op-card:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero-frame-line { left: 1.5rem; right: 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .nav-tagline { display: none; }
  .hero-pillars { flex-wrap: wrap; gap: 1rem; }
  .pillar-divider { display: none; }
  .pillar { padding: 0 1rem; }

  .films-grid,
  .operating-grid {
    grid-template-columns: 1fr;
  }

  .op-card { border-right: none; border-bottom: 1px solid var(--border); }
  .op-card:last-child { border-bottom: none; }

  .manifesto,
  .films,
  .operating,
  .closing {
    padding: var(--space-lg) 1.5rem;
  }

  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }

  .closing-signature { flex-direction: column; gap: 0.75rem; }
  .sig-line { width: 60px; height: 1px; }
}
