:root {
    --primary-color: #7fb3b0;
    --secondary-color: #8ba88e;
    --text-color: #3a3a3a;
    --muted-text: rgba(58, 58, 58, 0.82);
    --soft-bg: #f8f7f3;
    --warm-paper: rgba(232, 213, 196, 0.28);
    --line-color: rgba(58, 58, 58, 0.16);
}

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

html {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--soft-bg);
    color: var(--text-color);
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(3rem, 5vw, 4.5rem) 1.5rem;
    background: var(--soft-bg);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("Images/hero.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    opacity: 0.14;
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(248, 247, 243, 0.76) 72%, rgba(248, 247, 243, 0.94) 100%),
        radial-gradient(circle at 20% 20%, rgba(232, 213, 196, 0.34) 0%, rgba(232, 213, 196, 0) 45%);
    z-index: -1;
}

.hero-content {
    width: min(100%, 52rem);
    text-align: center;
    padding: clamp(1.25rem, 2vw, 2rem);
}

.hero-logo {
    display: block;
    width: min(100%, 15.5rem);
    margin: 0 auto 1.75rem;
    height: auto;
}

.hero-copy {
    max-width: 46rem;
    margin: 0 auto;
}

.hero-kicker {
    margin-bottom: 0.85rem;
    color: rgba(58, 58, 58, 0.68);
    font-size: 0.82rem;
    font-weight: 560;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.18rem);
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

.hero-intro {
    max-width: 40rem;
    margin: 0.95rem auto 0;
    font-size: clamp(1rem, 1.65vw, 1.18rem);
    line-height: 1.72;
    font-weight: 430;
    color: var(--muted-text);
}

.preview-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(100%, 44rem);
    margin: clamp(2.1rem, 4.8vw, 3rem) auto 0;
}

.preview-card {
    margin: 0;
    aspect-ratio: 0.86;
    overflow: hidden;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 28px rgba(58, 58, 58, 0.08);
}

.preview-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-card-kurs4 img {
    object-position: center 42%;
}

.preview-card-jour1 img {
    object-position: center center;
}

.preview-card-loveitchangeit img {
    object-position: center 38%;
}

.event-note {
    width: min(100%, 33rem);
    margin: clamp(3rem, 7.5vw, 5rem) auto 0;
    padding-top: 1.65rem;
    border-top: 1px solid var(--line-color);
    text-align: left;
}

.event-label {
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    font-weight: 560;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(58, 58, 58, 0.62);
}

.event-note h2 {
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    line-height: 1.24;
    font-weight: 400;
    color: var(--text-color);
}

.event-date {
    margin-top: 0.55rem;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(58, 58, 58, 0.86);
}

.event-text {
    margin-top: 1rem;
    max-width: 28rem;
    font-size: 1rem;
    line-height: 1.78;
    font-weight: 420;
    color: var(--muted-text);
}

@media (max-width: 1023px) {
    .hero {
        padding: 3rem 1.35rem;
    }

    .hero::before {
        background-position: 38% top;
        opacity: 0.15;
    }

    .hero-logo {
        width: min(100%, 13rem);
        margin-bottom: 1.45rem;
    }

    .hero-intro {
        max-width: 36rem;
    }

    .hero-copy {
        max-width: 40rem;
    }

    .preview-gallery {
        width: min(100%, 38rem);
        gap: 0.9rem;
        margin-top: 2.6rem;
    }

    .event-note {
        width: min(100%, 31rem);
        margin-top: 3.25rem;
    }
}

@media (max-width: 767px) {
    .hero {
        align-items: flex-start;
        padding: 2.5rem 1.2rem 2.75rem;
    }

    .hero::before {
        background-size: auto 108%;
        background-position: 34% top;
        opacity: 0.17;
    }

    .hero-content {
        width: min(100%, 32rem);
        padding: 0.75rem 0.2rem;
    }

    .hero-logo {
        width: min(100%, 10.75rem);
        margin-bottom: 1.1rem;
    }

    .hero-kicker {
        font-size: 0.75rem;
        letter-spacing: 0.16em;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.23;
    }

    .hero-intro {
        margin-top: 0.85rem;
        font-size: 0.98rem;
        line-height: 1.74;
    }

    .preview-gallery {
        grid-template-columns: 1fr;
        width: min(100%, 24rem);
        gap: 0.85rem;
        margin-top: 2.2rem;
    }

    .preview-card {
        aspect-ratio: 1.18;
        border-radius: 0.8rem;
    }

    .event-note {
        margin-top: 2.65rem;
        padding-top: 1.35rem;
    }

    .event-note h2 {
        font-size: 1.45rem;
    }

    .event-date,
    .event-text {
        font-size: 0.96rem;
    }
}