/* ==========================================================================
   Страница «О театре» — все стили изолированы внутри .about-page
   Шрифт Manrope берётся из __base.html
   ========================================================================== */

.about-page {
    --about-bg: #111014;
    --about-wine: #2B111C;
    --about-wine-line: #8a3d5c;
    --about-text: #F0EAE4;
    --about-text-muted: #B7AEB2;
    --about-line: #55404A;

    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 96px 32px 112px;
    background: var(--about-bg);
    color: var(--about-text);
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

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

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p,
.about-page ul,
.about-page blockquote {
    margin: 0;
    padding: 0;
}

.about-page ul {
    list-style: none;
}

/* винное свечение в правом верхнем углу */
.about-page::before {
    content: "";
    position: absolute;
    top: -300px;
    right: -240px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(43, 17, 28, 0.9) 0%, rgba(43, 17, 28, 0) 66%);
    pointer-events: none;
}

.about-page__inner {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.about-header {
    padding-bottom: 80px;
    animation: about-rise 0.9s ease both;
}

.about-eyebrow {
    display: block;
    margin-bottom: 32px;
    color: var(--about-text-muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.about-title {
    margin-bottom: 36px;
    color: var(--about-text);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-intro {
    max-width: 680px;
    color: var(--about-text-muted);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Смысловые разделы
   Единственные линии на странице — горизонтальные, одного цвета и толщины
   -------------------------------------------------------------------------- */

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 64px;
    padding: 80px 0;
    border-top: 1px solid var(--about-line);
}

.about-section__heading {
    position: sticky;
    top: 48px;
    align-self: start;
}

.about-section__label {
    display: block;
    margin-bottom: 24px;
    color: var(--about-text-muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.about-section__heading h2 {
    color: var(--about-text);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.about-section__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-section__content p {
    max-width: 560px;
    color: var(--about-text-muted);
    font-size: 15px;
}

.about-section__content em {
    color: var(--about-text);
    font-style: normal;
    font-weight: 500;
}

.about-section__content .about-section__lead {
    color: var(--about-text);
    font-size: 17px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Пункты списков
   -------------------------------------------------------------------------- */

.about-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-item {
    max-width: 560px;
}

.about-item + .about-item {
    padding-top: 40px;
    border-top: 1px solid var(--about-line);
}

.about-item__title {
    margin-bottom: 12px;
    color: var(--about-text);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

/* подчёркивание, прорисовывающееся при наведении */
.about-item__title span {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.about-item__title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--about-wine-line);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s ease;
}

.about-item p {
    color: var(--about-text-muted);
    font-size: 15px;
    transition: color 0.4s ease;
}

/* --------------------------------------------------------------------------
   Цитата
   -------------------------------------------------------------------------- */

.about-quote {
    max-width: 560px;
    margin: 12px 0;
    color: var(--about-text);
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Заключительный блок
   -------------------------------------------------------------------------- */

.about-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 56px;
    align-items: end;
    margin-top: 16px;
    padding: 64px;
    border: 1px solid var(--about-line);
    background:
        radial-gradient(ellipse at 100% 100%, rgba(43, 17, 28, 0.95) 0%, rgba(43, 17, 28, 0) 72%),
        var(--about-bg);
}

.about-cta__content .about-eyebrow {
    margin-bottom: 24px;
}

.about-cta__content h2 {
    margin-bottom: 28px;
    color: var(--about-text);
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.about-cta__content p {
    max-width: 480px;
    color: var(--about-text-muted);
    font-size: 15px;
}

.about-cta__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-width: 280px;
    padding: 20px 4px;
    border-top: 1px solid var(--about-line);
    border-bottom: 1px solid var(--about-line);
    color: var(--about-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 0.3s ease;
}

.about-cta__arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.35s ease;
}

.about-cta__link:focus-visible {
    outline: 1px solid var(--about-text);
    outline-offset: 6px;
}

/* --------------------------------------------------------------------------
   Ховеры (только для устройств с мышью; transform / opacity / color)
   -------------------------------------------------------------------------- */

@media (hover: hover) {
    .about-item:hover .about-item__title span::after {
        transform: scaleX(1);
    }

    .about-item:hover p {
        color: var(--about-text);
    }

    .about-cta__link:hover {
        border-color: var(--about-text);
    }

    .about-cta__link:hover .about-cta__arrow {
        transform: translate(4px, -4px);
    }
}

/* --------------------------------------------------------------------------
   Появление шапки
   -------------------------------------------------------------------------- */

@keyframes about-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-header {
        animation: none;
    }

    .about-item__title span::after,
    .about-item p,
    .about-cta__link,
    .about-cta__arrow {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   Планшет
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .about-page {
        padding: 72px 24px 88px;
    }

    .about-section {
        grid-template-columns: 1fr;
        row-gap: 36px;
        padding: 64px 0;
    }

    .about-section__heading {
        position: static;
    }

    .about-cta {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 48px 36px;
    }

    .about-cta__link {
        min-width: 0;
    }
}

/* --------------------------------------------------------------------------
   Мобильные
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
    .about-page {
        padding: 56px 20px 72px;
    }

    .about-page::before {
        top: -220px;
        right: -280px;
    }

    .about-header {
        padding-bottom: 56px;
    }

    .about-eyebrow {
        margin-bottom: 24px;
    }

    .about-title {
        margin-bottom: 28px;
        font-size: 38px;
    }

    .about-intro {
        font-size: 17px;
    }

    .about-section {
        row-gap: 28px;
        padding: 48px 0;
    }

    .about-section__heading h2 {
        font-size: 24px;
    }

    .about-section__content {
        gap: 22px;
    }

    .about-section__content .about-section__lead {
        font-size: 16px;
    }

    .about-list {
        gap: 32px;
    }

    .about-item + .about-item {
        padding-top: 32px;
    }

    .about-item__title {
        font-size: 16px;
    }

    .about-quote {
        font-size: 19px;
    }

    .about-cta {
        padding: 36px 24px;
    }

    .about-cta__content h2 {
        font-size: 32px;
    }
}