.dcs-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    height: clamp(900px, calc(100vh - 60px), 980px);
    min-height: 900px;
    overflow: hidden;
    color: #fff;
    background: #0b1c2d;
}

.dcs-hero::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: calc(50% - 200px);
    left: -30px;
    width: 400px;
    height: 400px;
    background: url('../img/decor/background-pentagon-head-yellow.svg') center / contain no-repeat;
    opacity: 0;
    transform: rotate(35deg);
    transform-origin: 50% 50%;
    transition: opacity .75s ease-in-out, transform .75s ease-in-out;
    will-change: transform, opacity;
    pointer-events: none;
}

.dcs-hero.visible::after {
    opacity: var(--pentagon-opacity, 1);
    transform: rotate(calc(var(--pentagon-scroll, 0) * 78deg)) scale(calc(1 - var(--pentagon-scroll, 0) * .16));
}
.dcs-hero.scroll-ready::after {
    transition: none;
}
.dcs-hero__bottom-cut {
    position: absolute;
    z-index: 3;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.dcs-hero__bottom-cut::before,
.dcs-hero__bottom-cut::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    bottom: 0;
    border-style: solid;
}

.dcs-hero__bottom-cut::before {
    left: 0;
    border-width: 25px 25px;
    border-color: transparent transparent #fff #fff;
}

.dcs-hero__bottom-cut::after {
    right: 0;
    border-width: 25px 500px;
    border-color: transparent #fff #fff transparent;
}
.dcs-hero__art {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
}

.dcs-hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.dcs-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(8, 20, 36, .62) 0%,
            rgba(8, 20, 36, .48) 48%,
            rgba(8, 20, 36, .38) 100%
        );
}

.dcs-hero__inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1250px);
    margin: 0 auto;
    padding: 80px 24px 112px;
    display: flex;
    align-items: center;
}

.dcs-hero__content {
    width: 570px;
    max-width: 50%;
    transform: translateY(-4px);
}

.dcs-hero__milestone {
    display: block;
    margin-bottom: 38px;
}

.dcs-hero__milestone strong {
    color: #d8b866;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(132px, 11vw, 190px);
    font-weight: 400;
    line-height: .82;
    letter-spacing: -10px;
    text-shadow: 0 1px 0 #fff0b5, 0 3px 2px rgba(0, 0, 0, .45);
}

.dcs-hero__milestone > span {
    width: 2px;
    height: 196px;
    background: rgba(255, 255, 255, .88);
}

.dcs-hero__milestone h1 {
    margin: 0;
    color: #fff;
    font-size: 90px !important;
    font-weight: normal;
    line-height: 1;
    letter-spacing: .025em;
}

.dcs-hero__description {
    width: 535px;
    max-width: 100%;
    margin: 0 0 31px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.48;
}

.dcs-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 56px;
    padding: 14px 31px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #0b1c2d;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    transition: color .2s ease, background .2s ease;
}

.dcs-hero__button:hover {
    color: #fff;
    background: transparent;
}

@media (min-width: 470px) {
    .dcs-hero::after { top: calc(50% - 250px); width: 470px; height: 470px; }
}
@media (min-width: 576px) {
    .dcs-hero::after { top: calc(50% - 275px); left: -45px; width: 550px; height: 550px; }
}
@media (min-width: 768px) {
    .dcs-hero__bottom-cut::before {
        border-width: 50px 50px;
    }

    .dcs-hero__bottom-cut::after {
        border-width: 50px 1000px;
    }
}
@media (min-width: 768px) {
    .dcs-hero::after { top: calc(50% - 250px); left: -45px; width: 500px; height: 500px; }
}
@media (min-width: 992px) {
    .dcs-hero::after { top: calc(50% - 300px); left: -60px; width: 600px; height: 600px; }
}
@media (min-width: 1200px) {
    .dcs-hero::after { top: calc(50% - 325px); width: 650px; height: 650px; }
}
@media (min-width: 1400px) {
    .dcs-hero::after { top: calc(50% - 375px); left: calc(50% - 719px); width: 750px; height: 750px; }
    .dcs-hero__inner { width: 1298px; }
}
@media (min-width: 1600px) {
    .dcs-hero::after { top: calc(50% - 400px); left: calc(50% - 749px); width: 800px; height: 800px; }
}
@media (min-width: 1800px) {
    .dcs-hero::after { top: calc(50% - 415px); left: calc(50% - 769px); width: 900px; height: 900px; }
}
@media (max-width: 1023px) {
    .dcs-hero {
        height: clamp(720px, 100svh, 900px);
        min-height: 720px;
    }
    .dcs-hero__art { inset: 0; }
    .dcs-hero__inner { padding: 96px 40px 104px; }
    .dcs-hero__content { width: min(66%, 570px); max-width: none; }
    .dcs-hero__milestone { margin-bottom: 30px; }
    .dcs-hero__milestone > span { height: 160px; }
    .dcs-hero__milestone h1 { font-size: clamp(54px, 7.5vw, 72px) !important; }
    .dcs-hero__description { width: min(100%, 520px); }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .dcs-hero {
        height: clamp(620px, calc(100svh - 76px), 760px);
        min-height: 620px;
    }

    .dcs-hero__art img {
        object-position: 58% center;
    }

    .dcs-hero::before {
        background: linear-gradient(90deg, rgba(8, 20, 36, .76), rgba(8, 20, 36, .43) 64%, rgba(8, 20, 36, .26));
    }

    .dcs-hero::after {
        top: calc(50% - 275px);
        left: 1px;
        width: 550px;
        height: 550px;
    }

    .dcs-hero__inner {
        padding: 90px 48px 100px;
    }

    .dcs-hero__content {
        width: min(62%, 520px);
        max-width: none;
    }

    .dcs-hero__milestone h1 {
        font-size: clamp(58px, 7vw, 72px) !important;
    }

    .dcs-hero__description {
        font-size: 16px;
    }

    .dcs-hero__bottom-cut::before {
        border-width: 35px;
    }

    .dcs-hero__bottom-cut::after {
        border-width: 35px 50vw;
    }
}

@media (max-width: 767px) {
    .dcs-hero {
        height: clamp(560px, calc(100svh - 76px), 650px);
        min-height: 560px;
    }
    .dcs-hero__art { inset: 36% 0 0; opacity: .92; }
    .dcs-hero__art img { object-position: 52% bottom; }
    .dcs-hero::before { background: linear-gradient(180deg, #0b1c2d 0%, rgba(11, 28, 45, .94) 37%, rgba(11, 28, 45, .62) 56%, rgba(11, 28, 45, .12) 82%, transparent 100%); }
    .dcs-hero::after {
        top: 92px;
        left: -2px;
        width: min(112vw, 450px);
        height: min(112vw, 450px);
        opacity: .92;
        transform: translateY(calc(var(--pentagon-scroll, 0) * -34px))
            rotate(calc(var(--pentagon-scroll, 0) * 48deg))
            scale(calc(1 - var(--pentagon-scroll, 0) * .1));
        transform-origin: center;
    }
    .dcs-hero.visible::after {
        opacity: var(--pentagon-opacity, .92);
        transform: translateY(calc(var(--pentagon-scroll, 0) * -34px))
            rotate(calc(var(--pentagon-scroll, 0) * 48deg))
            scale(calc(1 - var(--pentagon-scroll, 0) * .1));
    }
    .dcs-hero__inner { align-items: flex-start; padding: 138px 20px 64px; }
    .dcs-hero__content { width: min(100%, 250px); max-width: 250px; transform: none; }
    .dcs-hero__milestone { margin-bottom: 20px; }
    .dcs-hero__milestone strong { font-size: clamp(86px, 28vw, 120px); letter-spacing: -7px; }
    .dcs-hero__milestone > span { height: 118px; }
    .dcs-hero__milestone h1 {
        max-width: 100%;
        font-size: clamp(32px, 9vw, 40px) !important;
        line-height: 1.1;
        letter-spacing: .01em;
        text-wrap: balance;
    }
    .dcs-hero__description {
        width: min(100%, 360px);
        margin-bottom: 26px;
        font-size: 14px;
        line-height: 1.52;
        text-wrap: pretty;
    }
    .dcs-hero__button { min-width: 50px; min-height: 20px; padding: 5px; font-size: 11px; margin-left: 10px; }
    .dcs-hero__bottom-cut::before { border-width: 18px 18px; }
    .dcs-hero__bottom-cut::after { border-width: 18px 50vw; }
}

@media (max-width: 420px) {
    .dcs-hero {
        height: clamp(400px, calc(100svh - 76px), 400px);
        min-height: 400px;
    }
    .dcs-hero::after {
        top: 40px;
        width: 305px;
        height: 305px;
    }
    .dcs-hero__inner { padding: 100px 19px 54px; }
    .dcs-hero__milestone { margin-bottom: 20px; }
    .dcs-hero__milestone h1 { font-size: clamp(20px, 9vw, 22px) !important; }
    .dcs-hero__description { width: 100%; font-size: 11px; }
}

@media (max-width: 359px) {
    .dcs-hero::after { top: 78px; left: -4px; width: 400px; height: 400px; }
    .dcs-hero__inner { padding-inline: 16px; }
    .dcs-hero__milestone h1 { font-size: 29px !important; }
    .dcs-hero__description { font-size: 13px; }
}
