/* ==========================================================================
   WebArt ARMEC — Typography
   ========================================================================== */

html {
    font-size: 16px;
}

body {
    font-family: var(--wa-font-primary);
    font-size: var(--wa-font-size-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--wa-color-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--wa-font-primary);
    color: var(--wa-color-primary);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.75rem, 5vw, 4.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

h2 {
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 1.7vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 0 0 var(--wa-space-3);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--wa-transition),
        opacity var(--wa-transition);
}

strong,
b {
    font-weight: 700;
}

small {
    font-size: var(--wa-font-size-sm);
}

/* --------------------------------------------------------------------------
   Editorial helpers
   -------------------------------------------------------------------------- */

.wa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--wa-space-2);

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--wa-color-accent);
}

.wa-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    background: var(--wa-color-accent);
    border-radius: 1px;
}

.wa-text-accent {
    color: var(--wa-color-accent);
}

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

.wa-lead {
    max-width: var(--wa-reading);

    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    color: var(--wa-color-muted);
}

/* --------------------------------------------------------------------------
   WordPress / Elementor normalization
   -------------------------------------------------------------------------- */

.elementor-widget-heading .elementor-heading-title {
    font-family: var(--wa-font-primary);
    color: inherit;
    line-height: inherit;
}

.elementor-widget-text-editor {
    font-family: var(--wa-font-primary);
    color: inherit;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

    body {
        line-height: 1.65;
    }

    h1 {
        font-size: clamp(2.25rem, 10vw, 3rem);
    }

    h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    h3 {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }

    .wa-lead {
        font-size: 1.0625rem;
    }
}

@media (max-width: 420px) {

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}