:root {
    --home-bg: #090909;
    --home-panel: rgba(255, 255, 255, 0.055);
    --home-border: rgba(255, 255, 255, 0.13);
    --home-muted: rgba(255, 255, 255, 0.7);
}

.home-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% -10%, rgba(202, 29, 38, 0.24), transparent 34%),
        radial-gradient(circle at 85% 14%, rgba(39, 108, 160, 0.22), transparent 30%),
        var(--home-bg);
}

.home-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 26px 0 70px;
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-brand {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-decoration: none;
}

.home-nav-links,
.home-lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-nav-links a,
.home-lang-switch a {
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-nav-links a:hover,
.home-lang-switch a:hover,
.home-lang-switch a.is-active {
    border-color: var(--home-border);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.home-lang-switch a.is-active {
    background: #fff;
    color: #050505;
}

.home-intro {
    max-width: 720px;
    margin: 104px auto 62px;
    text-align: center;
}

.home-eyebrow,
.home-card-status,
.archive-card-year {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 11px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-intro h1 {
    margin: 18px 0 16px;
    font-size: clamp(3rem, 9vw, 6.3rem);
    letter-spacing: 0.08em;
    line-height: 0.9;
}

.home-intro p {
    max-width: 580px;
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.home-section + .home-section {
    margin-top: 64px;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.home-section-heading h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    letter-spacing: 0.04em;
}

.home-section-heading p {
    color: var(--home-muted);
    line-height: 1.55;
    text-align: right;
}

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

.home-event-card,
.archive-teaser {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 24px;
    background: var(--home-panel);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.home-event-card {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.home-event-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 3%, rgba(0, 0, 0, 0.1) 72%);
}

.home-event-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-event-card:hover img {
    transform: scale(1.035);
}

.home-event-card--planning {
    cursor: default;
}

.home-event-card--planning::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(8, 16, 22, 0.2);
}

.home-event-card-content {
    padding: 28px;
}

.home-card-status {
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(10px);
}

.home-event-card h3 {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    line-height: 1;
}

.home-event-card time,
.archive-card time {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-event-card p {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.home-card-action {
    display: inline-flex;
    margin-top: 20px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.archive-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    isolation: isolate;
}

.archive-teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.68));
}

.archive-teaser > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.72) contrast(0.9);
    opacity: 0.78;
}

.archive-teaser h2 {
    margin-bottom: 8px;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.archive-teaser p {
    max-width: 620px;
    color: var(--home-muted);
    line-height: 1.6;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #fff;
    color: #090909;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.archive-page-title {
    margin: 100px 0 40px;
}

.archive-page-title h1 {
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    letter-spacing: 0.03em;
}

.archive-page-title p {
    max-width: 650px;
    color: var(--home-muted);
    line-height: 1.7;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.archive-card {
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 22px;
    background: var(--home-panel);
    color: #fff;
    text-decoration: none;
}

.archive-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.archive-card-content {
    padding: 20px;
}

.archive-card-year {
    margin-bottom: 13px;
}

.archive-card h2 {
    margin-bottom: 9px;
    font-size: 1.45rem;
}

.archive-card p {
    color: var(--home-muted);
    line-height: 1.55;
}

@media (max-width: 720px) {
    .home-shell {
        width: min(100% - 28px, 1120px);
        padding-top: 16px;
    }

    .home-nav {
        align-items: flex-start;
    }

    .home-nav-links a {
        display: none;
    }

    .home-intro,
    .archive-page-title {
        margin-top: 76px;
    }

    .home-intro {
        margin-bottom: 48px;
    }

    .home-events-grid,
    .archive-grid {
        grid-template-columns: 1fr;
    }

    .home-event-card {
        min-height: 410px;
    }

    .home-section-heading,
    .archive-teaser {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-section-heading p {
        text-align: left;
    }

    .archive-teaser {
        gap: 20px;
        padding: 24px;
    }

    .home-button {
        width: 100%;
    }
}
