/* RoleAI — Dark Editorial Theme */

:root {
  --bg: #0c0c0e;
  --surface: #161618;
  --surface-alt: #1e1e21;
  --text: #e8e0d0;
  --text-muted: #8a8478;
  --accent: #c8973c;
  --accent-dim: rgba(200, 151, 60, 0.12);
  --border: rgba(232, 224, 208, 0.08);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

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

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo-accent { color: var(--accent); }
.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  font-weight: 300;
}

/* Casting board widget */
.casting-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-body);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5);
}
.board-header {
  background: var(--surface-alt);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.board-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.board-status {
  font-size: 11px;
  font-family: var(--font-mono);
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
}
.board-role {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.role-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 4px; }
.role-name { font-size: 15px; font-weight: 600; color: var(--text); }
.board-candidates { padding: 12px 20px; }
.candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.candidate:last-child { border-bottom: none; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  flex-shrink: 0;
}
.av-1 { background: #3b2a1a; color: #c9973c; }
.av-2 { background: #1a2a3b; color: #3c8ec9; }
.av-3 { background: #2a1a3b; color: #a03cc9; }
.candidate-info { flex: 1; min-width: 0; }
.c-name { font-size: 14px; font-weight: 500; display: block; }
.c-loc { font-size: 12px; color: var(--text-muted); display: block; }
.match-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.board-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.action-btn {
  flex: 1;
  padding: 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.schedule { background: var(--accent); color: #0c0c0e; }
.schedule:hover { background: #d4a84a; }
.msg { background: var(--surface-alt); color: var(--text); border: 1px solid var(--border); }
.msg:hover { background: #252528; }

.hero-bottom {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.bottom-stat {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}
.bottom-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Manifesto ── */
.manifesto {
  padding: 80px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 32px;
  align-items: start;
}
.manifesto-rule {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  min-height: 120px;
  margin-top: 6px;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 24px;
}
.manifesto-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Features ── */
.features {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header { margin-bottom: 64px; }
.section-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-icon { color: var(--accent); margin-bottom: 20px; }
.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ── How It Works ── */
.howitworks {
  padding: 100px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-header { margin-bottom: 72px; }
.steps {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 24px; }
.step-connector {
  width: 40px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
  margin-top: 36px;
  flex-shrink: 0;
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* ── Audiences ── */
.audiences {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.audiences-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.aud-divider {
  width: 1px;
  height: 100%;
  min-height: 160px;
  background: var(--border);
  margin: 0 48px;
}
.audience-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-weight: 500;
}
.audience-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.audience-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* ── Closing ── */
.closing {
  padding: 100px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-rule {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 40px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  font-weight: 300;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}
.footer-accent { color: var(--accent); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
  .audiences-inner { grid-template-columns: 1fr; }
  .aud-divider { display: none; margin: 32px 0; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 20px 60px; }
  .features, .howitworks, .closing, .audiences { padding: 60px 20px; }
  .manifesto { padding: 60px 20px; }
  .hero-bottom { flex-wrap: wrap; gap: 12px; }
}