/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── Section base ── */
.s {
  padding: var(--section-py) 0;
  position: relative;
  z-index: var(--z-content);
}

/* Alternate section background */
.s--alt {
  background: var(--bg2);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

/* ── Grid helpers ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-base);
}

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

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

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap-base);
}

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

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

/* ── Section header ── */
.s-header {
  margin-bottom: 48px;
}

.s-header--center {
  text-align: center;
}
