/* ==============================
   TYPOGRAPHY.CSS (BASE)
   Sito:
   Richiede: reset.css + variables.css
   ============================== */

/* ● base */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-primary, sans-serif);
  color: var(--color-text);
  background: var(--color-bg);
}

/* ● links */
a {
  color: inherit;
  text-decoration: none;
}

/* ● role-based typography */
.text-1 {
  font-size: var(--fs-1);
  letter-spacing: -0.05rem;
}

.text-2 {
  font-size: var(--fs-2);
  line-height: 3rem;
}

.text-3 {
  font-size: var(--fs-3);
}

.text-4 {
  font-size: var(--fs-4);
}

.text-5 {
  font-size: var(--fs-5);
  line-height: 1.5rem;
}

.text-6 {
  font-size: var(--fs-6);
  letter-spacing: 0.0175rem;
}

.text-display {
  font-size: var(--fs-display);
}

/* ● font weight utilities */
.fw-extrabold {
  font-weight: var(--fw-extrabold);
}
.fw-bold {
  font-weight: var(--fw-bold);
}
.fw-semibold {
  font-weight: var(--fw-semibold);
}
.fw-medium {
  font-weight: var(--fw-medium);
}
.fw-regular {
  font-weight: var(--fw-regular);
}
.fw-light {
  font-weight: var(--fw-light);
}

/* font-family */
.ff-philosopher {
  font-family: var(--font-secondary);
}

/* ● text alignment */
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}

/* ● color utilities */
.cl-primary {
  color: var(--color-primary);
}
.cl-secondary {
  color: var(--color-secondary);
}
.cl-accent {
  color: var(--color-accent);
}
.cl-muted {
  color: var(--color-muted);
}
.cl-text {
  color: var(--color-text);
}

.cl-bg {
  color: var(--color-bg);
}

/* GAP */
.gp-1 {
  gap: 1rem;
}

.gp-15 {
  gap: 1.5rem;
}

.gp-2 {
  gap: 2rem;
}

.gp-25 {
  gap: 2.5rem;
}
