@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --paper: #f3f0e8;
    --ink: #171717;
    --muted: #77736b;
    --line: #c9c5bb;
    --header-height: 97px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

header {
    position: sticky;
    top: 0;
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--line);
    background: rgba(243, 240, 232, 0.94);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.logo-wordmark {
    display: block;
    width: 200px;
    height: auto;
}

.hero {
    flex: 0 0 auto;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: clamp(24px, 6svh, 60px) 32px clamp(28px, 7svh, 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-top {
    max-width: 1100px;
}

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 28px;
}

h1 {
    font-size: clamp(64px, 12vw, 170px);
    line-height: 0.82;
    letter-spacing: -0.075em;
    font-weight: 700;
    margin: 0;
    max-width: 1100px;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-top: clamp(32px, 8svh, 100px);
}

.hero-description {
    max-width: 440px;
    font-size: 19px;
    line-height: 1.4;
}

.scroll-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

footer {
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 30px 32px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 13px;
    color: var(--muted);
}

footer a {
    color: var(--ink);
}

@media (max-width: 700px) {
    :root {
        --header-height: 85px;
    }

    header {
        padding: 18px 20px;
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding: clamp(20px, 4svh, 36px) 20px clamp(24px, 5svh, 42px);
    }

    h1 {
        font-size: clamp(58px, 19vw, 100px);
    }

    .hero-bottom {
        display: flex;
        align-items: flex-end;
        margin-top: clamp(24px, 5svh, 48px);
        gap: 20px;
    }

    .hero-description {
        font-size: clamp(16px, 4.4vw, 19px);
    }

    .scroll-note {
        margin-left: auto;
    }

    footer {
        padding: 25px 20px;
        flex-direction: column;
    }
}


@media (max-height: 700px) and (max-width: 700px) {
    .hero {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .eyebrow {
        margin-bottom: 16px;
    }

    h1 {
        font-size: clamp(52px, 16vw, 76px);
    }

    .hero-bottom {
        margin-top: 20px;
    }

    footer {
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
