/* ── Containers ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: 1440px;
}

.container--narrow {
  max-width: 860px;
}

/* ── Sections ── */
.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--color-charcoal);
}

.section--darker {
  background: #1A1A1A;
}

/* ── Grids ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-3--spaced {
  margin-top: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* ── Flex Utilities ── */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-base), transform 400ms ease;
}

#navbar.navbar--scrolled {
  background: var(--color-charcoal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  letter-spacing: 0.08em;
  color: var(--color-offwhite);
  line-height: 1;
}

/* ── Alignment ── */
.items-center { align-items: center; }

/* ── Width ── */
.w-full { width: 100%; }

/* ── Margin Utilities ── */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }

/* ── Gap Utilities ── */
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ── Hero overlay (unique) ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}

/* ── Hero scroll indicator inner dot (unique) ── */
.scroll-indicator span {
  display: block;
  width: 2px;
  height: 10px;
  background: var(--color-sand);
  border-radius: 1px;
  animation: scrollIndicator 2s ease-in-out infinite;
}

/* ── Hero title override ── */
.hero__title {
  font-size: var(--text-hero);
  line-height: 0.9;
  margin-bottom: var(--space-sm);
}
