/* ============================================================
   INTELHIA — Base Styles
   base.css: html, body, typography, utility classes
   ============================================================ */

html {
  font-size: 16px;
}

body {
  font-family: var(--font-ui, 'Manrope', sans-serif);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--ink, #0b0e14);
  background-color: var(--paper, #f4f5f7);
}

/* ── Typography — v2 design system ── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  color: var(--ink, #0b0e14);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p {
  font-family: var(--font-ui, 'Manrope', sans-serif);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--mut, rgba(11, 14, 20, 0.55));
}

strong {
  font-weight: 700;
  color: var(--ink, #0b0e14);
}

/* ── Links ── */

a {
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--signal, #2f6bd6);
}

/* ── Container ── */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ── Section Spacing ── */

.section {
  padding-block: var(--space-20);
}

.section--lg {
  padding-block: var(--space-32);
}

.section--sm {
  padding-block: var(--space-12);
}

/* ── Section Labels ── */

.section-label {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal, #2f6bd6);
  margin-bottom: var(--space-4);
  display: block;
}

.section-label--light {
  color: var(--dmut, rgba(242, 244, 248, 0.56));
}

/* ── Section Titles ── */

.section-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  color: var(--ink, #0b0e14);
  margin-bottom: var(--space-6);
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--color-graphite);
  max-width: 680px;
}

.section-subtitle--center {
  text-align: center;
  margin-inline: auto;
}

/* ── Color Utilities ── */

.text-white { color: var(--color-white) !important; }
.text-light { color: var(--color-text-light) !important; }
.text-muted { color: var(--color-text-muted) !important; }
.text-blue { color: var(--color-blue-deep) !important; }

.bg-dark { background-color: var(--color-bg-dark); }
.bg-black { background-color: var(--color-black); }
.bg-white { background-color: var(--color-white); }
.bg-alt { background-color: var(--color-bg-section-alt); }

/* ── Flex/Grid Utilities ── */

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ── Divider ── */

.divider {
  width: 60px;
  height: 2px;
  background: var(--signal, #2f6bd6);
  margin-block: var(--space-6);
}

.divider--center {
  margin-inline: auto;
}

/* ── Scroll Animation Base ── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
