/* ==========================================================================
   Utilities — Spacing, Visibility, Responsive Helpers
   ========================================================================== */

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

/* --- Text Alignment --- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* --- Display --- */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }

/* --- Spacing --- */
.mt-sm  { margin-block-start: var(--space-sm); }
.mt-md  { margin-block-start: var(--space-md); }
.mt-lg  { margin-block-start: var(--space-lg); }
.mt-xl  { margin-block-start: var(--space-xl); }
.mb-sm  { margin-block-end: var(--space-sm); }
.mb-md  { margin-block-end: var(--space-md); }
.mb-lg  { margin-block-end: var(--space-lg); }
.mb-xl  { margin-block-end: var(--space-xl); }

/* --- Width Constraints --- */
.w-full      { width: 100%; }
.max-w-content { max-width: var(--content-max-width); }

/* --- Responsive Visibility --- */
@media (max-width: 600px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 601px) {
  .hide-desktop { display: none !important; }
}

/* --- Tabular Numbers --- */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}
