.work {
    background: radial-gradient(circle at 62% 45%, #2a2a2a 0%, #171717 46%, #080808 100%);
}

.work-title-vertical {
    position: absolute;
    left: -34px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    color: transparent;
    -webkit-text-stroke: 2px var(--green);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.work-slider {
    position: absolute;
    left: 140px;
    right: 80px;
    top: 50%;
    width: auto;
    height: min(610px, calc(100vh - 120px));
    overflow: hidden;
    transform: translateY(-50%);
}

.work-track {
    display: flex;
    align-items: center;
    gap: 38px;
    height: 100%;
    transition: transform 0.55s ease;
}

.project-toggle {
    display: none;
}

.project-card {
    flex: 0 0 min(860px, 100%);
    max-width: 100%;
    height: min(610px, calc(100vh - 120px));
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) minmax(260px, 370px);
    grid-template-rows: max-content;
    column-gap: 18px;
    align-content: center;
    align-items: start;
    padding: clamp(28px, 4vh, 36px) 34px;
    border-radius: 22px;
    background: rgba(58, 76, 32, 0.95);
    color: var(--white);
}

.project-number {
    color: transparent;
    -webkit-text-stroke: 1px var(--green);
    font-size: clamp(64px, 7.2vh, 78px);
    font-weight: 400;
    line-height: 1;
}

.project-info {
    padding-top: 0;
}

.project-info h2 {
    margin: 4px 0 clamp(24px, 4.2vh, 38px);
    color: var(--green);
    font-size: clamp(38px, 5vh, 50px);
    line-height: 1;
}

.project-info h3 {
    position: relative;
    margin: 0 0 10px;
    font-size: clamp(20px, 2.4vh, 23px);
    font-weight: 400;
}

.project-info h3::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 10px;
    width: 10px;
    height: 10px;
    border: 1px solid var(--green);
    border-radius: 50%;
}

.project-info p {
    max-width: 360px;
    margin: 0 0 clamp(20px, 3.4vh, 32px);
    font-size: clamp(16px, 1.85vh, 18px);
    line-height: 1.25;
}

.project-media {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(18px, 3vh, 26px);
    padding-top: clamp(58px, 10vh, 88px);
}

.project-actions {
    width: 100%;
    gap: clamp(10px, 1.2vw, 16px);
}

.project-actions .btn {
    flex: 0 1 clamp(82px, 7.5vw, 104px);
    min-width: 0;
    min-height: clamp(34px, 3vw, 42px);
    padding: 8px clamp(12px, 1.4vw, 22px);
    font-size: clamp(14px, 1.05vw, 16px);
    white-space: normal;
}

.project-image-placeholder,
.project-media img {
    width: 100%;
    height: clamp(155px, 25vh, 220px);
    object-fit: cover;
    border-radius: 18px;
    background: var(--white);
}

.ongoing-card {
    flex: 0 0 min(500px, calc(100% - 168px));
    max-width: calc(100% - 168px);
    height: min(610px, calc(100vh - 120px));
    display: grid;
    grid-template-columns: 78px 1fr;
    grid-template-rows: max-content;
    column-gap: 18px;
    align-content: center;
    align-items: start;
    padding: 36px 34px;
    color: var(--white);
}

.ongoing-content {
    padding-top: 0;
}

.ongoing-content h2 {
    margin: 4px 0 clamp(24px, 4.2vh, 38px);
    color: var(--green);
    font-size: clamp(38px, 5vh, 50px);
    line-height: 1;
}

.ongoing-content p {
    max-width: 320px;
    margin: 0 0 clamp(24px, 4.2vh, 38px);
    font-size: clamp(16px, 1.85vh, 18px);
    line-height: 1.3;
}

.work-track-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    bottom: auto;
    z-index: 7;
    display: none;
    width: 106px;
    height: 54px;
    margin: 0;
    animation: workEndArrowMove 1.4s ease-in-out infinite;
}

.work.is-work-end .work-track-arrow {
    display: block;
}

.work > .panel-arrow:not(.work-track-arrow) {
    display: none;
}

@keyframes workEndArrowMove {
    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-14px);
    }
}
