/* ── SECTION BASE ── */

.section {
  padding: 6rem 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 1rem;
}

.section-heading {
  margin-bottom: 3rem;
}

/* ── VISION SECTION ── */

.vision {
  background: var(--bg-deep);
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  background: var(--accent-dim);
  border-radius: 4px;
  z-index: 0;
}

.vision .container {
  position: relative;
  z-index: 1;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vision-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.vision-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
}

.stat-card-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.stat-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CRISIS SECTION ── */

.crisis {
  background: var(--bg-surface);
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.crisis-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.crisis-stat {
  text-align: center;
  padding: 1.5rem 0;
}

.crisis-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.crisis-stat-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.crisis-stat-source {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.crisis-rule {
  border: none;
  height: 2px;
  background: var(--accent);
  width: 100%;
}

/* ── VOICES SECTION ── */

.voices {
  background: var(--bg-surface);
}

.voices-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote-card {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 1.75rem 2rem;
  border-radius: 0 4px 4px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.quote-card:hover {
  background: rgba(30, 30, 30, 0.9);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.quote-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.quote-text::before {
  content: '\201C';
  color: var(--accent);
  font-size: 1.4em;
  margin-right: 0.1em;
}

.quote-source {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── APPROACH SECTION ── */

.approach {
  background: var(--bg-deep);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.approach-card {
  background: var(--bg-surface);
  border-top: 3px solid var(--accent);
  padding: 2rem 1.5rem;
  border-radius: 0 0 4px 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent-dim);
  background: var(--bg-elevated);
}

.approach-card-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.approach-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CTA SECTION ── */

.cta-section {
  background: var(--accent);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--bg-deep);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(10, 10, 10, 0.75);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── PAGE HEADER (interior pages) ── */

.page-header {
  padding: 8rem 0 3rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--rule);
}

.page-header h1 {
  margin-bottom: 1.5rem;
}

.page-header hr {
  border: none;
  height: 2px;
  background: var(--accent);
  width: 100%;
}

/* ── CONTENT SECTIONS (text-heavy pages) ── */

.content-section {
  padding: 5rem 0;
}

.content-section h4 {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
}

.content-section h4:first-child {
  margin-top: 0;
}

.content-section p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* ── HISTORY CARDS ── */

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.history-card {
  background: var(--bg-surface);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.history-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.history-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.history-card-body {
  padding: 1.5rem;
}

.history-card-body h4 {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.history-card-body p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── DESIGN LINKS ── */

.design-group {
  margin-bottom: 2.5rem;
}

.design-group:last-child {
  margin-bottom: 0;
}

.design-group-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.design-group-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.design-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.design-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.design-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── BIBLIOGRAPHY CARDS ── */

.bib-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bib-card {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
}

.bib-card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.bib-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.bib-card-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── DOWNLOAD CARDS ── */

.download-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  border-radius: 0 4px 4px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.download-card:hover {
  background: var(--bg-elevated);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.download-card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.download-card-info {
  flex: 1;
}

.download-card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.download-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── CONTACT FORM ── */

.contact-form {
  max-width: 480px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-required {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .vision-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 200px;
  }

  .crisis-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }



  .history-grid {
    grid-template-columns: 1fr;
  }

  .bib-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .crisis {
    padding: 3.5rem 0;
  }

  .crisis-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .crisis-stat {
    padding: 1rem 0;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 1.25rem 1.5rem;
  }

  .vision-stats {
    flex-direction: column;
  }

  .cta-section {
    padding: 3.5rem 0;
  }
}
