/**
 * Imperial House Real Estate — tipografia
 * Fraunces (serif, variabile) per titoli/hero, Inter (sans, variabile) per
 * testi e UI. File self-hosted in /fonts, nessuna richiesta a Google Fonts
 * in produzione.
 */

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/fraunces-variable.woff2') format('woff2-variations'),
         url('../fonts/fraunces-variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-variable.woff2') format('woff2-variations'),
         url('../fonts/inter-variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--color-ink);
    background-color: var(--color-bg);
}

h1, h2, h3, .font-serif {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: var(--lh-heading);
    color: var(--color-ink);
}

h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: var(--lh-heading);
}

h1, .h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    letter-spacing: -0.01em;
}

h2, .h2 {
    font-size: var(--fs-h2);
}

h3, .h3 {
    font-size: var(--fs-h3);
    font-weight: 600;
}

p {
    max-width: 62ch;
}

p + p {
    margin-top: var(--space-sm);
}

a {
    transition: color var(--duration-fast) var(--ease-default);
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-metal);
}

.text-muted {
    color: var(--color-muted);
}

.text-lg {
    font-size: 1.25rem;
    line-height: var(--lh-body);
}

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