:root {
    --font-body: "Inter", sans-serif;
    --font-display: "Lilita One", sans-serif;

    --size-base: 16px;
    --size-step-1: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    --size-step-2: clamp(1.5rem, 1.2rem + 1vw, 2.5rem);
    --size-step-3: clamp(2.8rem, 2rem + 3vw, 5.75rem);

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 5rem;

    --radius-soft: 1rem;
    --radius-pill: 999px;
    --content-width: 1120px;
    --header-height: 84px;

    --color-ink: #122029;
    --color-paper: #f8f3e8;
    --color-about: #f6d9c5;
    --color-job: #c9e8d8;
    --color-price: #f5efb8;
    --color-contact: #cfe0f6;
    --color-brand: #183a37;
    --color-accent: #f26a4b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--size-base);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-paper);
    line-height: 1.6;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: rgb(248 243 232 / 82%);
    border-bottom: 1px solid rgb(18 32 41 / 10%);
}

.header-inner {
    max-width: var(--content-width);
    min-height: var(--header-height);
    margin: 0 auto;
    padding: var(--space-2) var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.site-nav a {
    padding: 0.65rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgb(255 255 255 / 35%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
    color: var(--color-brand);
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--color-brand);
    color: var(--color-paper);
    font-weight: 700;
}

.brand-text {
    max-width: 14ch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 700;
    line-height: 1.1;
}

.panel {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: var(--space-6) var(--space-3);
    scroll-margin-top: var(--header-height);
}

.panel-about {
    position: relative;
    background-image: url('../images/bgpicture.jpg');
    background-size: cover;
    background-position: 34% center;
    background-attachment: fixed;
    background-color: var(--color-about);
    overflow: hidden;
}

.about-halves {
    display: flex;
    justify-content: flex-end;
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.about-half {
    flex: 0 1 50%;
}

.about-half--text {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0 var(--space-6) var(--space-4);
    color: #ffffff;
}

.about-mobile-image {
    display: none;
}

.panel-job {
    background: linear-gradient(135deg, var(--color-job), #a8dbc2);
}

.panel-price {
    background: linear-gradient(135deg, var(--color-price), #eadc76);
}

.panel-contact {
    background: linear-gradient(135deg, var(--color-contact), #abc6ec);
}

.panel-content {
    width: min(100%, var(--content-width));
    margin: 0 auto;
}

.hero-block {
    display: grid;
    gap: var(--space-2);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--space-5);
    align-items: start;
}

.shadow-text {
    text-shadow:
        0 1px 2px rgb(0 0 0 / 95%),
        0 3px 8px rgb(0 0 0 / 50%);
}

.eyebrow {
    font-size: var(--size-step-1);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    width: fit-content;
    text-shadow: none;
}

.eyebrow.bg-picture {
    background: var(--color-job);
    color: var(--color-ink);
    border-radius: var(--radius-pill);
    padding: var(--space-1) var(--space-2);
    font-size: clamp(0.78rem, 0.7rem + 0.35vw, 0.95rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    white-space: nowrap;
    text-shadow: none;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.95;
}

h1 {
    max-width: 11ch;
    font-size: var(--size-step-3);
}

h2 {
    max-width: 12ch;
    font-size: var(--size-step-2);
}

.lead,
.two-column p,
.price-note {
    font-size: var(--size-step-1);
    max-width: 52ch;
}

.price-card {
    padding: var(--space-4);
    border-radius: var(--radius-soft);
    background: rgb(255 255 255 / 55%);
    box-shadow: 0 18px 45px rgb(18 32 41 / 8%);
}

.price-card p + p,
.two-column p + p {
    margin-top: var(--space-2);
}

@media (max-width: 760px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        text-align: left;
    }

    .site-nav {
        width: 100%;
        gap: var(--space-1);
    }

    .site-nav a {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .panel {
        min-height: 0;
        padding: var(--space-5) var(--space-2);
    }

    .panel-about {
        background-image: none;
        background-color: var(--color-about);
    }

    .about-halves {
        display: grid;
        justify-content: flex-start;
        gap: var(--space-3);
        width: min(100%, var(--content-width));
        margin: 0 auto;
        padding: 0;
    }

    .about-half--text {
        padding: 0;
        justify-content: flex-start;
        color: var(--color-ink);
    }

    .about-half--text .hero-block {
        width: 100%;
        gap: 0;
    }

    .about-half--text .shadow-text {
        text-shadow: none;
    }

    .about-half--text h1 {
        max-width: 12ch;
        font-size: var(--size-step-2);
    }

    .about-mobile-image {
        display: block;
        min-height: 18rem;
        border-radius: var(--radius-soft);
        background-image: url('../images/bgpicture.jpg');
        background-size: cover;
        background-position: 0% bottom;
        box-shadow:
            inset 0 1px 0 rgb(255 255 255 / 28%),
            inset 0 -2.5rem 3.5rem rgb(18 32 41 / 24%),
            inset 0 0 0 1px rgb(18 32 41 / 12%);
    }

    .eyebrow.bg-picture {
        background: none;
        color: inherit;
        border-radius: 0;
        padding: 0;
        font-size: var(--size-step-1);
        letter-spacing: 0.18em;
        display: block;
        white-space: normal;
    }
}