/* ============================================================
   Body, typography, utilities
   ============================================================ */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--ivory);
  overflow-x: hidden;
}

/* ─── Layout container ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 640px) { .container { padding: 0 40px; } }
@media (min-width: 980px) { .container { padding: 0 56px; } }

/* ─── Sections ─── */
.section {
  position: relative;
  padding: 80px 0;
}
@media (min-width: 640px) { .section { padding: 110px 0; } }
@media (min-width: 980px) { .section { padding: 140px 0; } }

/* ─── Section background variants ─── */
.bg-ivory      { background: var(--ivory);     color: var(--navy); }
.bg-paper      { background: var(--paper);     color: var(--navy); }
.bg-periwinkle { background: var(--periwinkle); color: var(--ivory); }
.bg-navy       { background: var(--navy);      color: var(--ivory); }
.bg-navy-deep  { background: var(--navy-deep); color: var(--ivory); }
.bg-wine       { background: var(--wine);      color: var(--ivory); }
.bg-gold       { background: var(--gold);      color: var(--navy); }

/* ─── Typography blocks ─── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.section-title .accent { color: var(--gold); }

.section-lead {
  margin-top: 20px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  max-width: 620px;
}

/* ─── Reveal-on-scroll utility ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─── Small utilities ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
