
:root {
    --primary: #f2a14a;
    --primary-dark: #ca6f25;
    --coral: #db5a67;
    --coral-dark: #a72f4b;
    --dark: #241c17;
    --text: #40342c;
    --muted: #756960;
    --cream: #fff7ed;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 5%, rgba(242, 161, 74, 0.16), transparent 26%),
        linear-gradient(180deg, #fffdf9, #fff7ed);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.65;
}

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

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

.page-container {
    width: min(calc(100% - 36px), 1050px);
    margin-inline: auto;
}

.page-header {
    padding: 22px 0;
}

.page-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.page-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--dark);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.page-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.page-back {
    padding: 10px 16px;
    border: 1px solid rgba(96, 66, 45, 0.14);
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 800;
}

.event-hero {
    position: relative;
    min-height: 520px;
    padding: 75px 0;
    overflow: hidden;
    border-radius: 36px;
    color: white;
    background:
        radial-gradient(circle at 86% 15%, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(135deg, #7b3d1f, #c66b25 58%, #e49a43);
    box-shadow: 0 28px 70px rgba(105, 55, 25, 0.22);
}

.event-hero--coral {
    background:
        radial-gradient(circle at 86% 15%, rgba(255, 255, 255, 0.2), transparent 24%),
        linear-gradient(135deg, var(--coral-dark), var(--coral));
}

.event-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-inline: clamp(28px, 7vw, 78px);
}

.event-kicker {
    margin-bottom: 16px;
    color: #ffe1b2;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.event-hero h1 {
    margin: 0 0 20px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3.6rem, 10vw, 7rem);
    line-height: 0.86;
}

.event-lead {
    max-width: 680px;
    margin-bottom: 27px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.87rem;
    font-weight: 800;
}

.event-main {
    padding: 55px 0 95px;
}

.event-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    align-items: start;
    gap: 32px;
}

.event-card,
.event-aside {
    padding: clamp(25px, 5vw, 42px);
    border: 1px solid rgba(96, 66, 45, 0.11);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 44px rgba(83, 55, 35, 0.1);
}

.event-card h2,
.event-aside h2 {
    margin: 0 0 20px;
    color: var(--dark);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.6rem;
    line-height: 1;
}

.program-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.program-list li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(242, 161, 74, 0.08);
}

.program-list strong {
    color: var(--primary-dark);
}

.event-aside {
    position: sticky;
    top: 24px;
}

.event-aside p {
    color: var(--muted);
}

.page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 21px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 13px 30px rgba(202, 111, 37, 0.28);
    font-weight: 800;
}

.page-button--secondary {
    margin-top: 10px;
    color: var(--primary-dark);
    background: var(--cream);
    box-shadow: none;
}

.page-footer {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.72);
    background: var(--dark);
    text-align: center;
}

.legal-page {
    padding: 30px 0 95px;
}

.legal-card {
    padding: clamp(28px, 6vw, 56px);
    border: 1px solid rgba(96, 66, 45, 0.11);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 55px rgba(83, 55, 35, 0.11);
}

.legal-card h1 {
    margin: 0 0 25px;
    color: var(--dark);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3.2rem, 8vw, 5.4rem);
    line-height: 0.9;
}

.legal-card h2 {
    margin: 32px 0 12px;
    color: var(--primary-dark);
}

.legal-card p,
.legal-card li {
    color: var(--muted);
}

.error-page {
    display: grid;
    min-height: 100vh;
    padding: 30px;
    place-items: center;
    text-align: center;
}

.error-card {
    max-width: 760px;
    padding: 50px 35px;
    border-radius: 35px;
    background: white;
    box-shadow: 0 25px 65px rgba(83, 55, 35, 0.14);
}

.error-card strong {
    display: block;
    color: var(--coral);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 8rem;
    line-height: 0.8;
}

.error-card h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 3rem;
}

@media (max-width: 800px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    .page-header__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-back {
        width: 100%;
        text-align: center;
    }

    .event-hero {
        min-height: 0;
        border-radius: 25px;
    }

    .program-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
