/* Kuruluş 2015 — yalnızca #established dalga sahnesi */

#established.page-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    background: #000;
    background-attachment: scroll;
    z-index: 1;
}

#established .bw-wave__track {
    position: relative;
    height: calc(clamp(440px, 58vh, 640px) + 52vh);
    background: #000;
}

#established .bw-wave__stage {
    position: sticky;
    top: max(72px, calc((100vh - min(58vh, 640px)) / 2));
    height: clamp(440px, 58vh, 640px);
    background: #000;
}

#established .bw-wave__canvas,
#established .bw-wave__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

@media (max-width: 1199.98px) {
    #established.page-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    #established .bw-wave__track {
        height: calc(100dvh - var(--menu-bar-height) + 80vh);
    }

    #established .bw-wave__stage {
        top: var(--menu-bar-height);
        height: calc(100dvh - var(--menu-bar-height));
    }

    #established .bw-wave__copy {
        padding-bottom: 84px;
    }
}

#established .bw-wave__canvas {
    z-index: 1;
    -webkit-transform: translateZ(0);
    transform: translate3d(0, 0, 0);
}

#established .bw-wave__fallback {
    z-index: 0;
    object-fit: cover;
    object-position: center 55%;
}

#established .bw-wave__copy {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 28px 28px 72px;
    pointer-events: none;
}

#established .bw-wave__copy h2,
#established .bw-wave__copy p {
    pointer-events: auto;
}

#established .hs-title-5 {
    color: #fff;
    font-size: clamp(34px, 5.1vw, 78px);
    line-height: 0.95;
    letter-spacing: 0.045em;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.55);
    overflow: visible;
}

#established .section-descr {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(13px, 1.15vw, 16px);
    line-height: 1.45;
    letter-spacing: 0.06em;
    max-width: 34rem;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

#established .bw-wave__years {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

#established .bw-wave__year {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-alt), "Clash Grotesk", sans-serif;
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 236, 170, 0.72);
    text-shadow: 0 0 14px rgba(255, 180, 0, 0.35);
    white-space: nowrap;
}

#established .bw-wave__year.is-hot {
    color: #fff200;
    text-shadow: 0 0 16px rgba(255, 220, 0, 0.75);
}

@media (max-width: 767px) {
    #established .bw-wave__copy {
        padding: 20px 18px 64px;
        gap: 10px;
    }

    #established .hs-title-5 {
        font-size: clamp(30px, 8.2vw, 44px);
        letter-spacing: 0.03em;
    }

    #established .section-descr {
        font-size: 13px;
        letter-spacing: 0.04em;
        max-width: 18rem;
    }

    #established .bw-wave__year {
        font-size: 16px;
        letter-spacing: 0.06em;
    }
}

@media (prefers-reduced-motion: reduce) {
    #established .bw-wave__year {
        text-shadow: none;
    }
}
