.subpage {
    max-width: 1080px;
}

.subpage p.live-lead {
    width: min(640px, 100%);
    margin: 14px auto 0;
    text-align: center;
}

.live-project {
    display: grid;
    grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    width: min(920px, 100%);
    margin: 48px auto 0;
    padding: 18px;
    border: 1px solid rgba(242, 242, 242, 0.72);
    border-radius: 18px;
    background: rgba(7, 7, 7, 0.28);
    text-align: left;
}

.live-frame {
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    background: #111;
}

.live-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.live-project h2 {
    margin: 0;
    color: var(--primary-yellow, #FFC425);
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.live-project__text {
    margin: 14px 0 0;
    text-align: left;
}

.live-project__copy {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.live-project__details {
    margin-block: auto;
}

.live-project__link {
    display: inline-flex;
    align-self: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: rgba(242, 242, 242, 0.72);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
    text-decoration: none;
}

.live-project__link svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.live-project__link span {
    position: relative;
}

.live-project__link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary-yellow, #FFC425);
}

.live-project__link:hover,
.live-project__link:focus-visible {
    color: var(--primary-yellow, #FFC425);
}

.live-project__link:hover span::after,
.live-project__link:focus-visible span::after {
    width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    .live-project__link span::after {
        transition: width 0.32s ease;
    }
}

body.shell:has(.live-hero) .home-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
}

body.shell main .live-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 108px var(--page-gutter) 72px;
    overflow: hidden;
    background: #070707;
    box-sizing: border-box;
    text-align: center;
}

.live-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.4;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, #000 14%, #000 73%, rgba(0, 0, 0, 0.78) 85%, rgba(0, 0, 0, 0.34) 93%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, #000 14%, #000 73%, rgba(0, 0, 0, 0.78) 85%, rgba(0, 0, 0, 0.34) 93%, transparent 100%);
}

.live-credit {
    position: absolute;
    right: 22px;
    bottom: 16px;
    z-index: 2;
    max-width: min(320px, 70vw);
    margin: 0;
    color: #9a9a9a;
    opacity: 0.4;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    text-align: right;
    pointer-events: none;
}

.live-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    max-width: 100%;
}

body.shell .live-hero .page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.16em;
    margin: 0;
    max-width: none;
    color: #f2f2f2;
    font-family: "Bebas Neue", Arial, sans-serif;
    font-size: clamp(calc(72px - 3pt), calc(10vw - 3pt), calc(132px - 3pt));
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
}

.live-title__dot {
    flex: 0 0 auto;
    width: 0.198em;
    height: 0.198em;
    border-radius: 50%;
    background: #ff2d2d;
    transform: translateY(-0.055em);
    animation: live-dot 1.8s ease-in-out infinite;
}

.live-title__text {
    white-space: nowrap;
}

.live-title__live {
    color: #ff2d2d;
}

@keyframes live-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .live-title__dot {
        opacity: 1;
        animation: none;
        box-shadow: none;
    }
}

.live-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 28px;
    margin-top: 32px;
}

.live-hero .home-hero__quiet {
    color: #f2f2f2;
}

.live-body {
    width: min(1080px, calc(100% - 60px));
    margin: 97px auto 49px;
}

.home-partners + .home-contact {
    padding-top: 49px;
}

@media (width > 800px) {
    .live-project[data-media-side="right"] {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 380px);
    }

    .live-project[data-media-side="right"] .live-frame {
        order: 2;
    }
}

@media (max-width: 800px) {
    .live-body {
        width: calc(100% - 24px);
        margin-top: 65px;
        margin-bottom: 33px;
    }

    .live-project {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 36px;
    }

    .live-frame {
        max-width: 420px;
        margin: 0 auto;
    }
}
