/**
 * LVCE aviation template - typography.
 *
 * Fonts are hosted locally (no Google Fonts request):
 *  - Montserrat (headings), variable weight, SIL OFL 1.1
 *  - Inter (body), variable weight, SIL OFL 1.1
 * The family names are prefixed with "LVCE" so a locally installed copy with
 * different metrics cannot interfere. Disable local fonts in the template
 * style to fall back to the system font stack.
 */

@font-face {
    font-family: "LVCE Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"),
        url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "LVCE Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
        url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "LVCE Inter";
    font-style: italic;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2-variations"),
        url("../fonts/inter-latin-wght-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.6em;
    font-family: var(--lvce-font-heading);
    font-weight: 750;
    line-height: var(--lvce-leading-tight);
    color: var(--lvce-heading);
    letter-spacing: -0.015em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
}

h1 {
    font-size: var(--lvce-text-3xl);
    font-weight: 800;
}

h2 {
    font-size: var(--lvce-text-2xl);
}

h3 {
    font-size: var(--lvce-text-xl);
}

h4 {
    font-size: var(--lvce-text-lg);
}

h5,
h6 {
    font-size: var(--lvce-text-base);
    letter-spacing: 0;
}

p,
ul,
ol,
dl,
blockquote,
pre,
address,
table {
    margin: 0 0 1.1em;
}

p {
    text-wrap: pretty;
}

ul,
ol {
    padding-inline-start: 1.4em;
}

li + li {
    margin-top: 0.3em;
}

address {
    font-style: normal;
}

strong,
b {
    font-weight: 700;
}

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

blockquote {
    position: relative;
    padding: var(--lvce-space-5) var(--lvce-space-6);
    border-inline-start: 4px solid var(--lvce-red);
    background: var(--lvce-bg-sky);
    border-radius: 0 var(--lvce-radius-medium) var(--lvce-radius-medium) 0;
    font-size: var(--lvce-text-lg);
    color: var(--lvce-heading);
}

blockquote > :last-child {
    margin-bottom: 0;
}

code,
kbd,
pre,
samp {
    font-family: var(--lvce-font-mono);
    font-size: 0.92em;
}

pre {
    overflow-x: auto;
    padding: var(--lvce-space-4);
    background: var(--lvce-bg-alt);
    border-radius: var(--lvce-radius-small);
}

/* Readable line length inside running text */
.lvce-prose,
.lvce-article__body,
.lvce-blog__description,
.lvce-section__body > .lvce-custom > p {
    max-width: var(--lvce-measure);
}

/* Small aviation-style label above headings */
.lvce-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    margin: 0 0 var(--lvce-space-3);
    font-family: var(--lvce-font-heading);
    font-size: var(--lvce-text-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lvce-red);
}

.lvce-eyebrow::before {
    content: "";
    width: 2.2em;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.lvce-lead {
    font-size: var(--lvce-text-lg);
    line-height: 1.55;
    color: var(--lvce-text-muted);
    max-width: 60ch;
}

/* Technical label, used sparingly (spec plates, flight data) */
.lvce-tech {
    font-family: var(--lvce-font-heading);
    font-size: var(--lvce-text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

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