/* Project page styles — shared */
.project-hero {
  padding: 7rem 0 3.5rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.proj-crumb { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin-bottom: 1rem; }
.proj-crumb a { color: var(--text-muted); }
.proj-crumb a:hover { color: var(--fire-3); }
.proj-hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 620px; line-height: 1.75; margin-bottom: 1.5rem; }
.proj-tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.proj-tag { font-family: var(--font-mono); font-size: 0.68rem; padding: 3px 8px; background: rgba(90,122,53,0.1); border: 1px solid var(--reptile-4); color: var(--reptile-2); border-radius: 3px; }

.tech-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tc { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.tc-tag { font-family: var(--font-mono); font-size: 0.62rem; font-weight: bold; color: var(--fire-3); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.tc h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.tc p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

.sku-table-wrap { overflow-x: auto; margin-bottom: 1rem; }
.sku-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.sku-table th { background: var(--bg-dark); color: #C8B898; font-family: var(--font-mono); font-size: 0.72rem; text-align: left; padding: 0.7rem 1rem; letter-spacing: 0.1em; }
.sku-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); background: var(--bg-white); }
.sku-table tr.sku-apex td { background: rgba(215,53,2,0.04); color: var(--text-primary); font-weight: 500; }
.sku-table tr:hover td { background: rgba(168,192,128,0.1); }
.metrics-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); margin-top: 0.5rem; }

.cad-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cad-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cad-item img { width: 100%; display: block; }
.cad-cap { padding: 0.65rem 1rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); border-top: 1px solid var(--border); }
.cad-cap strong { color: var(--fire-3); }

/* Research page specifics */
.research-content { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.research-body h3 { font-size: 1.2rem; color: var(--text-primary); margin: 2rem 0 0.6rem; }
.research-body h3:first-child { margin-top: 0; }
.research-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.8rem; }
.research-body ul { margin: 0.5rem 0 1rem 1.2rem; }
.research-body li { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.3rem; list-style: disc; }
.research-sidebar { position: sticky; top: 80px; }
.sidebar-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.sidebar-card h4 { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.ref-link { display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--fire-3); margin-top: 0.4rem; word-break: break-all; }
.quest-status-badge { display: inline-block; font-family: var(--font-mono); font-size: 0.65rem; padding: 3px 8px; border-radius: 3px; background: rgba(200,146,10,0.12); color: var(--gold); border: 1px solid rgba(200,146,10,0.3); margin-bottom: 1rem; }

@media(max-width:768px) {
  .tech-cards { grid-template-columns: 1fr; }
  .cad-2col { grid-template-columns: 1fr; }
  .research-content { grid-template-columns: 1fr; }
  .research-sidebar { position: static; }
}
