@font-face {
    font-family: "Roboto";
    src: url("fonts/roboto/roboto-latin-400-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/roboto/roboto-latin-500-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("fonts/roboto/roboto-latin-700-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Salo Giorgio";
    src: url("fonts/salo/salo-giorgio-webfont.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

/* Light theme — inspired by Alphonse Mucha's aged-paper palette:
   warm cream, golden ochre, soft sage blue, deep warm brown. */
:root {
    --bg: #f4e7cd;
    --bg-end: #ecdcbb;
    --bg-soft: #efe1c3;
    --card: #fbf4e3;
    --text: #3d2c17;
    --muted: #6f5a3c;
    --primary: #c2932f;
    --primary-strong: #9c7416;
    --primary-2: #d8a44a;
    --on-primary: #fffaf0;
    --accent: #6f9890;
    --eyebrow: #8a6309;
    --border: #d8c193;
    --header-bg: rgba(244, 231, 205, 0.78);
    --header-border: rgba(216, 193, 147, 0.7);

    --max-width: 1100px;
    --radius: 14px;
}

/* Dark theme — Mucha's deep mosaic browns lit by warm gold and sage. */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1d1408;
        --bg-end: #120c05;
        --bg-soft: #271a0c;
        --card: #2f2110;
        --text: #f1e4c8;
        --muted: #c6b083;
        --primary: #dcab43;
        --primary-strong: #f0c668;
        --primary-2: #c98a3a;
        --on-primary: #2a1c0a;
        --accent: #82a69d;
        --eyebrow: #e0b347;
        --border: #4c3a21;
        --header-bg: rgba(29, 20, 8, 0.78);
        --header-border: rgba(76, 58, 33, 0.8);
    }
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light dark;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family:
        "Roboto",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-end) 100%);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    z-index: 30;
}

.site-header .container.nav {
    width: 100%;
    max-width: none;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.25rem 1.1rem;
}

.brand {
    display: block;
    width: 100%;
    text-decoration: none;
    color: var(--text);
}

.brand-name {
    display: block;
    width: 100%;
    text-align: center;
    font-family: "Salo Giorgio", "Roboto", Arial, sans-serif;
    font-weight: 600;
    font-size: clamp(2.8rem, 11vw, 7.5rem);
    line-height: 0.93;
    letter-spacing: 0.015em;
    background: linear-gradient(
        90deg,
        var(--primary-strong) 0%,
        var(--primary) 45%,
        var(--accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h1,
h2,
h3 {
    font-family: "Salo Giorgio", "Roboto", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
}

.hero {
    padding: 5rem 0 3rem;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-top: 0;
}

h1 {
    font-size: clamp(2.6rem, 6.5vw, 4.4rem);
    margin-bottom: 1rem;
    color: var(--primary-strong);
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
}

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

.lede {
    color: var(--muted);
    max-width: 62ch;
    margin-inline: auto;
}

.section {
    padding: 3.2rem 0;
}

.section p {
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--header-border);
    padding: 1.2rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero {
        padding-top: 3.5rem;
    }
}
