:root {
    --bg: #f6f1e8;
    --paper: rgba(255, 255, 255, 0.84);
    --paper-strong: #fffdf9;
    --text: #3b332a;
    --muted: #6d6255;
    --button: #8b7a61;
    --button-hover: #75664f;
    --shadow: 0 18px 40px rgba(70, 52, 31, 0.14);
    --radius: 18px;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

a {
    color: inherit;
}

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

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(105, 87, 62, 0.08);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header__inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    transition: min-height 0.25s ease;
}

.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.site-header .brand img,
.site-header .brand svg {
    max-height: 92px;
    width: auto;
    transition: max-height 0.25s ease;
}

.site-header.is-shrunk {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(70, 52, 31, 0.08);
}

.site-header.is-shrunk .site-header__inner {
    min-height: 72px;
}

.site-header.is-shrunk .brand img,
.site-header.is-shrunk .brand svg {
    max-height: 54px;
}

/* HERO */
.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero__bg,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__bg {
    background:
        linear-gradient(rgba(246, 241, 232, 0.18), rgba(246, 241, 232, 0.22)),
        url('../images/hero-bg.svg') center/cover no-repeat;
    transform: scale(1.02);
}

.hero__overlay {
    background: linear-gradient(
        90deg,
        rgba(246, 241, 232, 0.84) 0%,
        rgba(246, 241, 232, 0.58) 35%,
        rgba(246, 241, 232, 0.15) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 56px 0;
}

.hero__main {
    width: 100%;
}

.hero__card {
    width: 100%;
    max-width: 100%;
    padding: clamp(24px, 4vw, 48px);
    background:
        linear-gradient(rgba(255,255,255,0.68), rgba(255,255,255,0.68)),
        url('../img/bloom.png') center/cover no-repeat;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

h1,
h2 {
    line-height: 1.15;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(1.9rem, 3.2vw, 3.4rem);
    line-height: 1.06;
    margin: 0 0 24px;
    max-width: 100%;
    white-space: normal;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.lead {
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    margin-bottom: 0;
    max-width: 70ch;
}

/* BUTTONS */
.button-group {
    display: flex;
    gap: 18px;
    margin-top: 24px;
    width: 100%;
}

.btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 12px 18px;
    border-radius: 6px;
    background: var(--button);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(73, 56, 35, 0.16);
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
    background: var(--button-hover);
    transform: translateY(-1px);
}

/* CONTENT SECTIONS */
.section {
    padding: 56px 0;
}

.section--light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.65));
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: var(--paper-strong);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 24px rgba(70, 52, 31, 0.08);
}

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

.site-footer {
    padding: 24px 0 44px;
    color: var(--muted);
    font-size: 0.95rem;
}

code {
    background: #f1ebe1;
    padding: 2px 6px;
    border-radius: 6px;
}

/* TABLET */
@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(246, 241, 232, 0.9) 0%,
            rgba(246, 241, 232, 0.7) 45%,
            rgba(246, 241, 232, 0.3) 100%
        );
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        white-space: normal;
        font-size: clamp(2rem, 6.5vw, 3rem);
    }

    .button-group {
        flex-wrap: wrap;
    }

    .btn {
        flex: 1 1 calc(50% - 9px);
    }
}

/* MOBILE */
@media (max-width: 640px) {
    .site-header__inner {
        min-height: 70px;
    }

    .site-header .brand img,
    .site-header .brand svg {
        max-height: 56px;
    }

    .site-header.is-shrunk .site-header__inner {
        min-height: 60px;
    }

    .site-header.is-shrunk .brand img,
    .site-header.is-shrunk .brand svg {
        max-height: 46px;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .hero__content {
        padding: 28px 0 42px;
    }

    .hero__card,
    .card {
        border-radius: 14px;
        padding: 22px;
    }

    .button-group {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        flex: none;
    }

    .section {
        padding: 36px 0;
    }
}