/* OGCF About Spread – Scroll-driven pinning */

/* Tall wrapper – sits in normal page flow */
.ogcf-about {
    min-height: 250vh;
    background-color: #181818;
    position: relative;
}

.ogcf-about__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.ogcf-about__layout {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.ogcf-about__layout > div {
    display: flex;
}

/* Left: Title */
.ogcf-about__title-col {
    flex-shrink: 0;
    width: 30%;
}

.ogcf-about__title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 120%;
    letter-spacing: 0%;
    position: relative;
    z-index: 111;
}

.ogcf-about__title-line {
    display: block;
}

/* Center: Image cluster */
.ogcf-about__images-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ogcf-about__cluster {
    position: relative;
    width: 500px;
    height: 360px;
    z-index: 0;
}

.ogcf-about__image {
    position: absolute;
    width: 232px;
    height: 226px;
    left: 50%;
    top: 50%;
    margin-left: -116px;
    margin-top: -113px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transition: transform 0.1s ease-out;
}

.ogcf-about__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Description */
.ogcf-about__desc-col {
    flex-shrink: 0;
    width: 22%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0.3;
    transition: opacity 0.3s ease-out;
}

.ogcf-about__description {
    color: #a3a3a3;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    text-align: right;
    z-index: 111;
}

.ogcf-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    line-height: 132%;
    letter-spacing: 0%;
    text-transform: uppercase;
    align-self: flex-end;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    background: #474747;
    cursor: pointer;
}

.ogcf-about__cta:hover {
    background-color: #262626;
    color: #fff;
}

.ogcf-about__cta-icon {
    width: 16px;
    height: 16px;
}

/* Admin bar offset */
.admin-bar .ogcf-about__sticky {
    top: 32px;
    height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .ogcf-about__sticky {
        top: 46px;
        height: calc(70vh - 46px);
    }
}

/* Responsive */
@media (min-width: 768px) {
    .ogcf-about__layout {
        padding: 0 48px;
    }
    .ogcf-about__title {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .ogcf-about__layout {
        padding: 0 80px;
    }
    .ogcf-about__title {
        font-size: 60px;
    }
}

@media (min-width: 1280px) {
    .ogcf-about__title {
        font-size: 72px;
    }
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .ogcf-about {
        padding-top: 4rem;
    }

    .ogcf-about__sticky {
        height: 70vh;
    }

    .ogcf-about__layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .ogcf-about__title-col {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .ogcf-about__title-line {
        display: inline-block;
    }

    .ogcf-about__images-col {
        width: 100%;
        flex: none;
        display: flex;
        justify-content: center;
    }

    .ogcf-about__cluster {
        width: 300px;
        height: 220px;
    }

    .ogcf-about__image {
        width: 130px;
        height: 130px;
        margin-left: -65px;
        margin-top: -65px;
    }

    .ogcf-about__desc-col {
        width: 100%;
    }

    .ogcf-about__description {
        font-size: 16px;
        text-align: left;
    }

    .ogcf-about__cta {
        align-self: flex-start;
    }
}
