/* ============================================================
   Project page styles (extends main styles.css)
   ============================================================ */

.project-header {
  padding: 80px 0 64px;
  border-bottom: 1px solid #e5e5e5;
}
.back-link {
  display: inline-block;
  font-size: 14px;
  color: #525252;
  margin-bottom: 32px;
  font-weight: 500;
}
.back-link:hover { color: #0a0a0a; text-decoration: none; }
.project-title {
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.project-tagline {
  font-size: 20px;
  line-height: 1.5;
  color: #404040;
  margin-bottom: 48px;
  max-width: 62ch;
}
.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}
.meta-item .meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #525252;
  margin-bottom: 8px;
}
.meta-item .meta-value {
  font-size: 15px;
  font-weight: 600;
  color: #0a0a0a;
}
@media (max-width: 720px) {
  .project-meta { grid-template-columns: 1fr; gap: 20px; }
}

.project h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 22ch;
}
.project p.lead {
  font-size: 18px;
  line-height: 1.65;
  color: #262626;
  max-width: 62ch;
  margin-bottom: 16px;
}

/* Loom placeholder */
.loom-placeholder, .screenshot-placeholder {
  border: 1.5px dashed #d4d4d4;
  background: #fafafa;
  padding: 64px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 32px 0;
}
.section-alt .loom-placeholder, .section-alt .screenshot-placeholder {
  background: #ffffff;
}
.placeholder-text { max-width: 60ch; }
.placeholder-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}
.placeholder-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #525252;
}
.placeholder-text a {
  color: #0a0a0a;
  font-weight: 600;
  border-bottom: 1px solid #0a0a0a;
}
.placeholder-text a:hover { text-decoration: none; opacity: 0.7; }

/* Architecture diagram */
.architecture-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 48px auto;
  max-width: 640px;
}
.arch-node {
  width: 100%;
  padding: 24px 28px;
  background: #ffffff;
  border: 1.5px solid #0a0a0a;
  position: relative;
}
.arch-step {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 28px;
  height: 28px;
  background: #0a0a0a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.arch-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.arch-model {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  color: #525252;
  margin-bottom: 10px;
}
.arch-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #404040;
}
.arch-desc code {
  background: #f5f5f5;
  padding: 1px 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  border: 1px solid #e5e5e5;
}
.arch-arrow {
  font-size: 24px;
  color: #525252;
  line-height: 1;
}

/* Simple architecture (text-only steps) */
.architecture-diagram-simple {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.arch-step-simple {
  padding: 20px 24px;
  background: #ffffff;
  border: 1.5px solid #e5e5e5;
  font-size: 16px;
  line-height: 1.55;
  color: #262626;
}
.arch-step-simple strong {
  display: inline-block;
  margin-right: 8px;
  color: #0a0a0a;
}

/* Feature list (Deal Radar) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}
.feature-item {
  padding: 24px;
  background: #ffffff;
  border: 1.5px solid #e5e5e5;
}
.feature-item h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 15px;
  line-height: 1.55;
  color: #404040;
}

/* CTA row inside dark section */
.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
