@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/assets/fonts/inter-latin-400-600.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: "Newsreader";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("/assets/fonts/newsreader-latin-400-600.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;
}

:root {
    --font-ui: "Inter", system-ui, -apple-system, sans-serif;
    --font-display: "Newsreader", Georgia, serif;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-ui);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h1 {
    font-size: 2.6rem;
}

h2 {
    font-size: 1.9rem;
}

h3 {
    font-size: 1.4rem;
}

button,
.btn {
    font-family: var(--font-ui);
    font-weight: 600;
    letter-spacing: 0.02em;
}

input,
textarea,
select {
    font-family: var(--font-ui);
    font-size: 0.95rem;
}

.album-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1.12;
}

.meta,
.album-meta,
.lightbox-counter {
    font-size: 0.9rem;
    opacity: 0.7;
}

.lightbox-caption {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 680px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
