@font-face {
    font-family: Prata;
    src: url("prata-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #151313;
    --brown: #431a0c;
    --muted: #5e5550;
    --line: #cfc8c3;
    --serif: Prata, "Times New Roman", serif;
    --gutter: clamp(18px, 6.9vw, 48px);
    --section-extra: 12px;
    --section-gap: clamp(68px, 10vw, 90px);
    --body-size: clamp(17px, 2.15vw, 20px);
    --body-leading: 1.45;
    color: var(--ink);
    background: #fff;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-synthesis: none;
    scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

:where(a, summary):focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: 4px;
}

.wrap {
    width: min(1280px, 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-block: 12px 9px;
    border-bottom: 1px solid var(--ink);
    position: relative;
    z-index: 1;
}

.brand {
    font: 12px/1.25 var(--serif);
    text-align: center;
}

.masthead-control {
    display: inline-flex;
    gap: clamp(6px, 2vw, 12px);
    align-items: center;
    min-height: 47px;
    font-size: clamp(12px, 2.3vw, 16px);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.masthead-control:hover { text-decoration: underline; text-underline-offset: .2em; }

.menu { justify-self: start; }

.menu-mark {
    width: clamp(15px, 3.95vw, 24px);
    height: clamp(11px, 2.85vw, 17px);
    border-block: 1px solid;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.menu nav {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    width: min(280px, 100%);
    padding: 8px 16px;
    border: 1px solid var(--line);
    background: white;
}

.menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 6px;
    text-decoration: none;
}

.menu nav a:hover { text-decoration: underline; }
.menu nav a + a { border-top: 1px solid var(--line); }

.tickets { justify-self: end; }
.tickets img { width: clamp(21px, 5.95vw, 30px); }

.hero { text-align: center; }

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    margin-top: clamp(38px, 10.4vw, 60px);
}

.invitation, .hero-dates {
    font-size: clamp(14px, 4.16vw, 22px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.025em;
    text-align: left;
}

.hero-dates {
    margin-left: 10px;
    padding-left: clamp(12px, 6vw, 34px);
    border-left: 1px solid var(--ink);
}

.hero :where(h1, .hero-description, .hero-format, .scene, .hero-location) { grid-column: 1 / -1; }

.hero h1 {
    width: min(83.1%, 440px);
    margin: clamp(32px, 8.6vw, 58px) auto 0;
}

.hero-description, .hero-format {
    font-size: clamp(15px, 4vw, 22px);
    line-height: 1.12;
    letter-spacing: -.024em;
}

.hero-description {
    max-width: 20em;
    margin: clamp(15px, 4vw, 28px) auto 0;
}

.hero-format::before {
    content: "";
    display: block;
    width: 2.05em;
    height: 1px;
    margin: 1.35em auto 1em;
    background: var(--ink);
}

.scene {
    width: min(100% + 2 * var(--gutter), 700px);
    max-width: none;
    justify-self: center;
    margin-top: clamp(12px, 2.9vw, 24px);
    mask-image: linear-gradient(black 81%, transparent);
}

.hero-location {
    font-size: clamp(18px, 4.6vw, 25px);
    font-weight: 500;
    letter-spacing: -.025em;
}

.content {
    margin-top: calc(var(--section-gap) + var(--section-extra));
    font-size: var(--body-size);
    line-height: var(--body-leading);
}

main > section { scroll-margin-top: 24px; }

h2 {
    font: 400 clamp(28px, 8.72vw, 34px)/1.05 var(--serif);
    letter-spacing: -.045em;
}

.about { margin-top: calc(clamp(72px, 11vw, 90px) + var(--section-extra)); }
.about-intro h2 { margin-bottom: 17px; }
.about p + p, .about-copy { margin-top: .9em; }
.about-copy .list-intro { margin-top: 1.45em; }
.about-copy ul { margin: .55em 0 0; padding-left: 1.15em; }
.about-copy li + li { margin-top: .45em; }

.evening-program {
    margin: clamp(26px, 3.5vw, 42px) 0 0;
    padding: 0;
    list-style: none;
}

.evening-program li {
    display: grid;
    grid-template-columns: clamp(56px, 9.03vw, 130px) minmax(0, 1fr);
    align-items: start;
}

.evening-program li + li {
    margin-top: clamp(19px, 2vw, 25px);
    padding-top: clamp(23px, 2.1vw, 29px);
    border-top: 1px solid var(--line);
}

.evening-number {
    color: var(--brown);
    font: 400 clamp(31px, 8.98vw, 35px)/1 var(--serif);
    letter-spacing: -.025em;
}

.evening-step { max-width: 778px; }
.evening-step h3 { font-size: clamp(19px, 1.81vw, 26px); line-height: 1.24; }
.evening-step p { margin-top: clamp(6px, .7vw, 10px); }

@media (width < 690px) {
    .evening-program li { grid-template-columns: clamp(56px, 16.92vw, 66px) minmax(0, 1fr); }
}

.section-subtitle { margin-top: .55em; }

.date-grid {
    display: grid;
    gap: clamp(18px, 3vw, 30px);
    margin-top: clamp(28px, 4.2vw, 40px);
}

.date-card {
    border-top: 1px solid var(--ink);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.date-card h3 {
    font-size: clamp(26px, 3.7vw, 36px);
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 600;
    margin-bottom: 10px;
}

.date-card p { font-size: clamp(15px, 2vw, 18px); line-height: 1.4; }
.seats { margin: 4px 0 16px; color: var(--muted); }

.ticket-button {
    display: grid;
    place-items: center;
    width: 100%;
    margin-top: auto;
    border: 1px solid var(--brown);
    padding: 10px;
    min-height: 44px;
    color: var(--brown);
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.ticket-button:hover { background: var(--brown); color: #fff; }

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 88px;
    gap: 0 16px;
    padding: 0;
    margin: 14px 0 0;
    list-style: none;
}

.logo-grid li { display: grid; place-items: center; }
.logo-grid img { width: min(100%, var(--logo-width)); max-height: 80px; object-fit: contain; }
.logo-tatneft { --logo-width: 132px; }
.logo-cifra { --logo-width: 110px; }
.logo-club-first { --logo-width: 125px; }
.logo-creative-economy { --logo-width: 137px; }
.logo-my-business { --logo-width: 130px; }
.logo-mes { --logo-width: 80px; }

.testimonial { margin-top: 52px; }
.testimonial figure { margin-top: 22px; }
.testimonial figcaption { margin-top: 20px; }
.testimonial figcaption p { margin-top: 5px; font-size: 15px; line-height: 1.4; color: var(--muted); }

.faq { margin-top: calc(clamp(64px, 10vw, 90px) + var(--section-extra)); }
.accordion { margin-top: 22px; border-bottom: 1px solid var(--line); }

.accordion details { border-top: 1px solid var(--line); }
.accordion summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding-block: 13px;
    min-height: 47px;
    font-weight: 700;
    line-height: 1.29;
}

.accordion summary:hover { color: var(--brown); }
.faq-symbol { color: var(--brown); font-size: 22px; font-weight: 400; line-height: 1; }
.faq-symbol::before { content: "+"; }
details[open] > summary .faq-symbol::before { content: "−"; }
.answer { max-width: 690px; padding-bottom: 19px; }

.accordion details::details-content {
    block-size: 0;
    overflow: clip;
    interpolate-size: allow-keywords;
    transition: block-size .24s ease, content-visibility .24s allow-discrete;
}

.accordion details[open]::details-content { block-size: auto; }

@supports not (interpolate-size: allow-keywords) {
    @media (prefers-reduced-motion: no-preference) {
        .accordion details[open] .answer { animation: answer-reveal .24s ease; }
    }
}

@keyframes answer-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contacts { padding-bottom: clamp(60px, 9vw, 120px); }
.contact-name { margin-top: 20px; }
.contacts address { margin-top: 8px; font-style: normal; overflow-wrap: anywhere; }
.contacts address p + p { margin-top: 8px; }
.contacts address a { text-decoration-color: transparent; text-underline-offset: .2em; }
.contacts address a:hover, .contacts address a:focus-visible { text-decoration-color: currentColor; }

@media (min-width: 690px) {
    h2 { font-size: clamp(39px, 5.4vw, 49px); }
    .evening-number { font-size: clamp(42px, 4.24vw, 61px); }
    .date-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (690px <= width < 960px) {
    .hero-layout { margin-top: 46px; }
    .hero h1 { width: min(68%, 400px); margin-top: 42px; }
    .scene { width: min(100%, 650px); }
    .about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5%; }
    .about-copy { margin-top: 4px; }
    .testimonial figure { max-width: 38em; }
}

@media (min-width: 960px) {
    :root {
        --gutter: clamp(48px, 5.56vw, 80px);
        --section-extra: 16px;
        --section-gap: clamp(84px, 7.9vw, 120px);
        --body-size: clamp(19px, 1.53vw, 22px);
    }

    .masthead { padding-block: 31px 24px; }
    .brand { font-size: 21px; }
    .masthead-control { font-size: 19px; }
    .tickets img { width: 38px; }

    .hero { text-align: left; }
    .hero-layout {
        grid-template-columns: 54.3% 24.6% 21.1%;
        grid-template-rows: auto auto auto 1fr;
        position: relative;
        min-height: clamp(490px, 45.1vw, 650px);
        margin-top: clamp(38px, 4vw, 58px);
    }

    .invitation, .hero-dates, .hero-format {
        font-size: clamp(18px, 1.74vw, 25px);
        line-height: 1.2;
        letter-spacing: 0;
    }

    .invitation, .hero-dates, .hero .hero-format { padding-top: 2px; }
    .hero-dates, .hero .hero-format {
        margin: 0;
        padding-inline-start: clamp(16px, 1.8vw, 26px);
        border-left: 1px solid var(--ink);
    }

    .hero .hero-format { grid-area: 1 / 3; }
    .hero-format::before { display: none; }

    .hero h1 {
        grid-area: 2 / 1;
        width: min(70%, 482px);
        margin: clamp(32px, 3.35vw, 48px) 0 0 -2%;
    }

    .hero .hero-description {
        grid-area: 3 / 1;
        width: 66%;
        max-width: 405px;
        margin: clamp(19px, 2.3vw, 33px) 0 0;
        font-size: clamp(19px, 1.67vw, 24px);
        line-height: 1.33;
        letter-spacing: 0;
    }

    .hero .scene {
        position: absolute;
        right: calc(-1 * var(--gutter));
        top: clamp(78px, 7.25vw, 104px);
        width: 66.5%;
        margin: 0;
        mask-image: linear-gradient(to right, transparent, black 5.2%, black 91%, transparent),
                    linear-gradient(to bottom, transparent, black 4.4%, black 76%, transparent);
        mask-composite: intersect;
    }

    .hero .hero-location {
        grid-area: 4 / 1;
        font-size: clamp(17px, 1.53vw, 22px);
        letter-spacing: 0;
    }

    .hero-location::before {
        content: "";
        display: block;
        width: 56px;
        height: 1px;
        margin: clamp(24px, 2.6vw, 38px) 0 clamp(18px, 2vw, 29px);
        background: var(--ink);
    }

    h2 {
        font-size: clamp(38px, 3.9vw, 56px);
        line-height: 1.12;
        letter-spacing: -.025em;
    }

    .editorial-grid { display: grid; grid-template-columns: 37% minmax(0, 1fr); gap: 2.3%; }
    .about { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 8.4%; }
    .about-intro h2 { margin-bottom: 23px; }
    .about-copy { margin-top: 4px; }
    .about-copy .list-intro { margin-top: .85em; }
    .about-copy li + li { margin-top: .15em; }

    .section-subtitle { margin-top: 14px; }
    .date-grid { gap: clamp(24px, 2.36vw, 34px); margin-top: 38px; }
    .date-card { padding-top: 24px; }
    .date-card h3 { font-size: clamp(32px, 2.92vw, 42px); font-weight: 500; margin-bottom: 15px; }
    .date-card p { font-size: clamp(18px, 1.46vw, 21px); }
    .date-card .seats { font-size: clamp(16px, 1.32vw, 19px); margin: 5px 0 20px; }
    .ticket-button { min-height: 56px; font-size: 19px; }

    .logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 105px; margin-top: 26px; }
    .logo-grid img { max-height: 105px; }
    .logo-tatneft { --logo-width: 156px; }
    .logo-cifra { --logo-width: 132px; }
    .logo-club-first { --logo-width: 156px; }
    .logo-creative-economy { --logo-width: 166px; }
    .logo-my-business { --logo-width: 156px; }
    .logo-mes { --logo-width: 99px; }

    .testimonial { margin-top: calc(clamp(56px, 6vw, 86px) + 8px); }
    .testimonial figure { max-width: 720px; margin-top: 0; }
    .testimonial blockquote { font-size: clamp(24px, 2.02vw, 29px); line-height: 1.38; }
    .testimonial figcaption { margin-top: 24px; }
    .testimonial figcaption p { font-size: 18px; line-height: 1.44; max-width: 660px; }

    .accordion { margin-top: 0; }
    .accordion summary { padding-block: 13px; min-height: 56px; }
    .answer { padding-bottom: 23px; }
    .contact-name { margin-top: 25px; font-size: 24px; }
    .contacts address { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    .accordion details::details-content { transition: none; }
}
