/* ============================================================
   The Dev — /dev page styles
   ============================================================ */

/* ── Page Hero ── */
.dev-page-hero {
  background: var(--bg-0);
  padding: clamp(4rem, 8vw, 7rem) 1rem clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.dev-hero-label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.dev-hero-label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--ice);
  opacity: 0.4;
}

.dev-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text-high);
  line-height: 1.25;
  margin: 0 auto 1.5rem;
  max-width: 760px;
  letter-spacing: 0.03em;
}

.dev-hero-sub {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Story Section ── */
.dev-story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.dev-story-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0 0 1.1rem;
}

.dev-story-text p:last-child { margin-bottom: 0; }

.dev-story-lead {
  font-size: 1.05rem;
  color: var(--text-high) !important;
}

.dev-photo-ph {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
}

/* ── How It's Built ── */
.dev-built-section {
  background: var(--bg-1);
}

.dev-built-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.dev-built-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin: 0 0 1.1rem;
}

.dev-built-text p:last-child { margin-bottom: 0; }

.dev-facts-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dev-fact-item {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: 6px;
}

.dev-fact-item h4 {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--ice);
  margin: 0 0 0.5rem;
}

.dev-fact-item p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* ── The Goals ── */
.dev-goals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.dev-goal {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: 6px;
}

.dev-goal-tag {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.dev-goal h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--text-high);
  margin: 0 0 0.9rem;
}

.dev-goal p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* ── CTA ── */
.dev-cta-section {
  text-align: center;
  background: var(--bg-1);
}

.dev-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0 1.25rem;
}

.dev-cta-note {
  font-size: 0.82rem;
  color: var(--text-low);
  max-width: 420px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dev-story-layout,
  .dev-built-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dev-photo-ph { aspect-ratio: 16 / 9; }
}

@media (max-width: 680px) {
  .dev-goals-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
