:root {
  --bg: #07090e;
  --bg-card: #101520;
  --bg-elevated: #192132;
  --border: #263248;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --gold: #f59e0b;
  --accent: #38bdf8;
  --emerald: #10b981;
  --purple: #a855f7;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.58;
  font-size: 15px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.site-header {
  background: rgba(7, 9, 14, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; }
.brand-badge {
  background: linear-gradient(135deg, #f59e0b, #0284c7);
  color: #fff;
  font-weight: 800;
  padding: 8px 11px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 18px; letter-spacing: -0.02em; }
.brand-text small { font-size: 11.5px; color: var(--text-muted); }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-link {
  color: var(--text-muted);
  padding: 7px 11px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none !important;
  transition: all 0.15s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: var(--bg-elevated);
}
.hero {
  padding: 44px 0 32px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 80% 15%, rgba(245, 158, 11, 0.13), transparent 45%),
              radial-gradient(circle at 20% 25%, rgba(56, 189, 248, 0.13), transparent 50%);
}
.hero-kicker {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hero p.lead {
  color: #cbd5e1;
  max-width: 920px;
  font-size: 16.5px;
  margin-bottom: 20px;
}
.kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.kpi-card .kpi-val { font-size: 21px; font-weight: 800; color: #fff; }
.kpi-card .kpi-lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.section { padding: 36px 0; border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.section-header h2 { font-size: 24px; letter-spacing: -0.01em; }
.section-header p { color: var(--text-muted); font-size: 14px; max-width: 800px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #d97706, #0284c7);
  color: #fff !important;
  border: 1px solid transparent;
  padding: 9px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--border);
  color: #e2e8f0 !important;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-gold { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.badge-emerald { background: rgba(16, 185, 129, 0.16); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.badge-sky { background: rgba(56, 189, 248, 0.16); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.35); }
.badge-purple { background: rgba(168, 85, 247, 0.16); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.card h3 { font-size: 17.5px; color: #fff; }
.card p { color: #cbd5e1; font-size: 13.5px; }
.meta-list { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #cbd5e1; }
.meta-list li strong { color: #fff; }
.table-wrap {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data-table th, table.data-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid #1e293b; }
table.data-table th { background: #0b101b; color: #94a3b8; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Kinematic 3-Act Blueprint & Cutaway Stage */
@keyframes strokeDraw {
  0% { stroke-dashoffset: 1600; opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}
.stage-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 960px) {
  .stage-grid { grid-template-columns: 1fr; }
}
.blueprint-canvas {
  background: radial-gradient(circle at 50% 25%, #162238 0%, #070a12 100%);
  border: 1px solid #283a5a;
  border-radius: 12px;
  padding: 18px;
}
.draw-stroke {
  stroke-dasharray: 1600;
  stroke-dashoffset: 0;
  animation: strokeDraw 2.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.cutaway-floor {
  cursor: pointer;
  transition: all 0.2s ease;
}
.cutaway-floor:hover, .cutaway-floor.active {
  fill: rgba(245, 158, 11, 0.28) !important;
  stroke: #fbbf24 !important;
  stroke-width: 2.5px !important;
}
.showcase-pill, .floor-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: all 0.15s;
}
.showcase-pill.active, .showcase-pill:hover, .floor-btn.active, .floor-btn:hover {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.14);
  color: #fff;
}
.annex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.annex-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.16s;
}
.annex-item.active, .annex-item:hover {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
}
.control-group { display: flex; flex-direction: column; gap: 5px; }
.control-group label { font-size: 12px; font-weight: 600; color: #cbd5e1; }
.control-group input, .control-group select, .control-group textarea {
  background: var(--bg-elevated);
  border: 1px solid #334155;
  color: #fff;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 13.5px;
}
.site-footer {
  background: #04060a;
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.footer-bottom {
  border-top: 1px solid #162032;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.muted-sm { font-size: 12px; color: var(--text-muted); }