@font-face {
    font-family: "Source Sans 3";
    src: url("./fonts/source-sans-3.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

/* The landing page uses Cyrillic, Latin, punctuation and rouble prices. */
@font-face {
    font-family: "Source Sans 3";
    src: url("./fonts/source-sans-3-ru-latin.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0020-007E, U+00A0-00FF, U+0400-045F, U+2000-204A, U+20AC, U+20BD, U+2116, U+2122, U+2190-2193, U+2197, U+2212, U+2713;
}

/* The header and landing hero keep the original Geist composition. */
#main > :not(.hero), .site-footer, #request {
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    font-weight: 400;
}
#main .section, #main.publications-page, .story-content, .publication-entry {
    font-size: clamp(1.0625rem, 1rem + .22vw, 1.1875rem);
    line-height: 1.55;
}
#main :is(.section, .publication-entry, .story-content) :is(h2, h3),
#main.publications-page :is(h1, h2, h3),
#main .story-head h1 {
    font-weight: var(--heading-weight);
    letter-spacing: -.017em;
    line-height: 1.17;
}
#main .section h2 { font-size: clamp(1.85rem, 1.55rem + 1.35vw, 2.8rem); }
#main .closing-pair h2 { font-size: clamp(1.65rem, 1.4rem + .9vw, 2.2rem); }
#main .section :is(.watch-list h3, .service-item h3) {
    font-size: clamp(1.2rem, 1.08rem + .5vw, 1.55rem);
    letter-spacing: -.008em;
    line-height: 1.25;
}
#main .section :is(.watch-list p, .service-result, .service-intro p, .work-copy > p,
    .software-lead, .publication-header p, .publication-summary, .callback-panel p) {
    font-size: clamp(1.0625rem, 1rem + .22vw, 1.1875rem);
    line-height: 1.53;
    font-weight: 400;
}
#main .watch-price strong { font-weight: 510; letter-spacing: -.03em; }
#main :is(.watch-price span, .watch-price small, .service-price, .watch-label) { font-weight: 500; }
#main .section :is(.primary, .outline, .text-link, summary), .site-footer dd { font-weight: 530; }

#main .home-article-lead .article-row-title,
#main .archive-feed .article-row:first-child .article-row-title {
    max-width: 29ch;
    font-size: clamp(1.65rem, 1.28rem + 1.45vw, 2.55rem);
    line-height: 1.16;
}
#main .article-row-title { font-size: clamp(1.3rem, 1.1rem + .65vw, 1.75rem); }
#main .article-row-copy p {
    max-width: 64ch;
    margin-top: .5rem;
    font-size: clamp(1.0625rem, 1rem + .2vw, 1.15rem);
    line-height: 1.5;
}
#main .article-row-copy time, #main .publication-meta {
    font-size: .9375rem;
    line-height: 1.4;
    font-weight: 400;
}
#main .article-row-copy time { margin-bottom: .5rem; }
#main.publications-page h1, #main .story-head h1 {
    font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.9rem);
    line-height: 1.09;
    letter-spacing: -.025em;
}
.story-lead { max-width: 55ch; line-height: 1.5; }
#main .story-content, #main .publication-entry {
    max-width: 68ch;
    font-size: clamp(1.125rem, 1.04rem + .36vw, 1.3125rem);
    line-height: 1.62;
}
#main .story-content h2 { margin-top: 1.6em; font-size: clamp(1.55rem, 1.3rem + 1vw, 2.1rem); }
#main .story-content h2 + p { margin-top: .65em; }
#main .story-content :is(strong, b):not(:where(h1,h2,h3,h4,h5,h6,[role="heading"]) *) { font-weight: 625; }
