/* ============================================================
   FEIRI MILANO — BASE / ELEMENT DEFAULTS
   Light page reset so specimens & kits inherit the brand feel.
   ============================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  margin: 0 0 0.4em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--text-accent); text-decoration: none; }
a:hover { color: var(--brand-hover); }

/* Brand eyebrow / micro-label */
.feiri-eyebrow {
  font-family: var(--font-eyebrow);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Display caps lockup helper (FEIRI-style) */
.feiri-display {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Small-caps serif heading — the dominant FEIRI headline treatment */
.feiri-smallcaps {
  font-family: var(--font-serif);
  font-variant: small-caps;
  font-feature-settings: "smcp" 1;
  letter-spacing: var(--tracking-wide);
  color: var(--text-strong);
}

/* The heritage tricolore rule (red | white | green) */
.feiri-tricolore {
  display: inline-block;
  width: 96px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--tricolore-red) 0 33.33%,
    var(--tricolore-white) 33.33% 66.66%,
    var(--tricolore-green) 66.66% 100%
  );
}

::selection { background: var(--cobalt-100); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
