/* Company detail page — reuses the Zinc-dark palette + orange accent from style.css */

.detail-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.back-link {
  display: inline-block;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  transition: color 0.15s ease;
}
.back-link:hover { color: #f97316; }

/* ── Header ─────────────────────────────────────────────── */
.detail-container { overflow-wrap: break-word; }

.detail-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.detail-heading { min-width: 0; flex: 1; }
.detail-logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #27272a;
  padding: 6px;
  flex-shrink: 0;
}
.detail-logo.placeholder { background: #27272a; }
.detail-heading h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fafafa;
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
.detail-oneliner {
  color: #a1a1aa;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.detail-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Social row ─────────────────────────────────────────── */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.social-link {
  font-size: 0.85rem;
  color: #e4e4e7;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social-link:hover { border-color: #3f3f46; color: #fafafa; }
.social-link.primary {
  background: #f97316;
  border-color: #f97316;
  color: #09090b;
  font-weight: 600;
}
.social-link.primary:hover { background: #fb923c; border-color: #fb923c; }

/* ── Sections ───────────────────────────────────────────── */
.detail-section { margin-bottom: 2.25rem; }
.detail-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fafafa;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-section h2 .count {
  font-size: 0.75rem;
  font-weight: 600;
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
}

/* ── Narrative ──────────────────────────────────────────── */
.narrative-row {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #1e1e22;
}
.narrative-row:last-child { border-bottom: none; }
.narrative-label {
  flex: 0 0 110px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 0.1rem;
}
.narrative-row p { margin: 0; color: #d4d4d8; line-height: 1.6; }

/* ── Timeline ───────────────────────────────────────────── */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.timeline li {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tl-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #71717a; }
.tl-value { font-size: 0.95rem; color: #fafafa; font-weight: 600; }

/* ── Founders ───────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.9rem;
}
.founder-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  gap: 0.85rem;
}
.founder-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #27272a;
}
.founder-avatar.placeholder { background: #27272a; }
.founder-body { min-width: 0; }
.founder-name { font-weight: 700; color: #fafafa; }
.founder-title { font-size: 0.85rem; color: #f97316; margin-top: 0.1rem; }
.founder-bio { font-size: 0.85rem; color: #a1a1aa; line-height: 1.5; margin: 0.5rem 0 0.4rem; }
.founder-socials { font-size: 0.8rem; }
.founder-socials a { color: #93c5fd; text-decoration: none; }
.founder-socials a:hover { text-decoration: underline; }

/* ── Jobs ───────────────────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: 0.6rem; }
.job-row {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.job-title { font-weight: 600; color: #fafafa; }
.job-meta { font-size: 0.82rem; color: #a1a1aa; margin-top: 0.2rem; }
.job-apply {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #09090b;
  background: #f97316;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.job-apply:hover { background: #fb923c; }

/* ── Similar startups ───────────────────────────────────── */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.sim-card {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sim-card:hover { border-color: #f97316; transform: translateY(-1px); }
.sim-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}
.sim-logo.placeholder { background: #27272a; }
.sim-name { font-weight: 600; color: #fafafa; font-size: 0.9rem; }
.sim-oneliner { font-size: 0.78rem; color: #a1a1aa; margin-top: 0.15rem; line-height: 1.35; }

@media (max-width: 640px) {
  .detail-heading h1 { font-size: 1.5rem; }
  .detail-logo { width: 54px; height: 54px; }
  .narrative-row { flex-direction: column; gap: 0.3rem; }
  .narrative-label { flex-basis: auto; }
  .job-row { flex-direction: column; align-items: flex-start; }
}
