/*
  ============================================================
  ALMA-CORP — BASE STYLES
  ============================================================
  CSS reset and foundational rules. Applies site-wide.
  Do not put section-specific styles here.
  ============================================================
*/

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--leading-normal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Push content below fixed header */
  padding-top: var(--header-height);
}

/* ── TYPOGRAPHY BASE ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}

p {
  line-height: var(--leading-loose);
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ── LAYOUT UTILITIES ───────────────────────────────────── */

/* Centered max-width wrapper */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* Standard vertical section padding */
.section {
  padding-block: var(--space-xl);
}

/* ── EYEBROW / LABEL TEXT ───────────────────────────────── */
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--color-surface); }
::-webkit-scrollbar-thumb {
  background: var(--color-text-muted);
  border-radius: 4px;
}

/* ── ACCESSIBILITY ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
