.showcase-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 6vw;
    z-index: 10;
}

.showcase-stage-container {
    position: relative;
    width: 100%;
}

.showcase-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.showcase-layer.layer-old {
    z-index: 1;
    pointer-events: none;
}

.showcase-layer.layer-new {
    z-index: 2;
    pointer-events: auto;
}

.showcase-transition-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.v4-container {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 0.9375vw, 1.5rem);
    width: 100%;
    background-color: transparent;
    user-select: none;
}

.v4-hero-card {
    position: relative;
    width: 100%;
    height: 45vh;
    border-radius: clamp(0.5rem, 0.625vw, 1rem);
    background-color: #171315;
}

.v4-hero-card .sc-img {
    border-radius: clamp(0.5rem, 0.625vw, 1rem);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v4-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: clamp(1rem, 1vw, 1.6rem) clamp(1.2rem, 1.375vw, 2.2rem);
    background: linear-gradient(to top, rgba(16, 14, 15, 0.96) 0%, rgba(16, 14, 15, 0.55) 60%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.v4-hero-title {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 1.75vw, 2.8rem);
    color: var(--fg);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.v4-hero-role {
    font-size: clamp(0.75rem, 0.5625vw, 0.9rem);
    color: var(--alt);
    margin-top: clamp(0.2rem, 0.21875vw, 0.35rem);
    display: block;
}

.v4-bottom-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(1rem, 0.9375vw, 1.5rem);
    width: 100%;
}

.v4-panel {
    background-color: #161314;
    padding: clamp(1rem, 1vw, 1.6rem) clamp(1.1rem, 1.125vw, 1.8rem);
    border-radius: clamp(0.5rem, 0.625vw, 1rem);
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 0.53125vw, 0.85rem);
    justify-content: space-between;
}
.v4-panel:first-child {
    cursor: pointer;
}

.v4-panel-title {
    font-size: clamp(0.65rem, 0.4875vw, 0.78rem);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--alt);
    opacity: 0.85;
}

.v4-panel-body {
    font-family: var(--font-main);
    font-size: clamp(0.85rem, 0.6375vw, 1.02rem);
    color: #cfc6c3;
    line-height: 1.65;
    text-align: justify;
    justify-content: start;
    height: 100%;
}

.sc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
    margin-top: clamp(0.25rem, 0.3125vw, 0.5rem);
}

.sc-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.25rem, 0.3125vw, 0.5rem);
}

.sc-repo {
    color: var(--alt);
    transition: color .15s ease-out, transform .15s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.3);
    text-decoration: none;
}

.sc-repo:hover {
    color: var(--fg);
    transform: scale(1.45) translate(1px, -1px);
}

.sc-tag {
    background-color: #211c1e;
    color: var(--alt);
    padding: clamp(0.2rem, 0.21875vw, 0.35rem) clamp(0.4rem, 0.46875vw, 0.75rem);
    border-radius: clamp(0.15rem, 0.1875vw, 0.3rem);
    font-size: clamp(0.65rem, 0.4875vw, 0.78rem);
    letter-spacing: 0.03em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sc-meta-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(0.8rem, 0.78125vw, 1.25rem);
    position: relative;
    overflow: hidden;
}

.sc-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.sc-year-wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(0.05rem, 0.0625vw, 0.1rem);
}

.sc-meta-caption {
    font-size: clamp(0.6rem, 0.45vw, 0.72rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--alt);
    opacity: 0.75;
}

.sc-year-big {
    font-size: clamp(2.2rem, 2.375vw, 3.8rem);
    line-height: 0.95;
    color: var(--fg);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.sc-classification-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(0.2rem, 0.21875vw, 0.35rem);
}

.sc-meta-chips {
    display: flex;
    gap: clamp(0.2rem, 0.25vw, 0.4rem);
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sc-chip {
    font-size: clamp(0.65rem, 0.475vw, 0.76rem);
    padding: clamp(0.2rem, 0.1875vw, 0.3rem) clamp(0.4rem, 0.40625vw, 0.65rem);
    border-radius: clamp(0.15rem, 0.1875vw, 0.3rem);
    background-color: #211c1e;
    color: var(--alt);
    letter-spacing: 0.03em;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.sc-details-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.6rem, 0.59375vw, 0.95rem);
    width: 100%;
    padding-top: clamp(0.5rem, 0.53125vw, 0.85rem);
    border-top: 1px solid rgba(148, 139, 137, 0.18);
}

.sc-detail-block {
    display: flex;
    flex-direction: column;
    gap: clamp(0.15rem, 0.15625vw, 0.25rem);
}

.sc-detail-label {
    font-size: clamp(0.6rem, 0.45vw, 0.72rem);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--alt);
    opacity: 0.85;
}

.sc-detail-value {
    font-size: clamp(0.85rem, 0.65625vw, 1.05rem);
    color: var(--fg);
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .showcase-stage {
        padding-right: 0;
        width: 100%;
        height: auto;
    }

    .v4-hero-card {
        height: clamp(260px, 35vh, 380px);
    }

    .v4-bottom-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .v4-panel-body {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .showcase-stage {
        padding-right: 0;
    }

    .v4-container {
        gap: 1rem;
    }

    .v4-hero-card {
        height: clamp(200px, 28vh, 300px);
    }

    .v4-hero-overlay {
        padding: 1rem 1.2rem;
    }

    .v4-hero-title {
        font-size: clamp(1.4rem, 4.8vw, 2rem);
    }

    .v4-hero-role {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    }

    .v4-panel {
        padding: 1.2rem 1.2rem;
        gap: 0.85rem;
    }

    .v4-panel-title {
        font-size: 0.72rem;
    }

    .v4-panel-body {
        font-size: clamp(0.88rem, 2.8vw, 0.98rem);
        line-height: 1.6;
        text-align: left;
    }

    .sc-tag {
        font-size: 0.72rem;
        padding: 0.25rem 0.55rem;
    }

    .sc-year-big {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    .sc-chip {
        font-size: 0.72rem;
        padding: 0.22rem 0.5rem;
    }

    .sc-detail-label {
        font-size: 0.68rem;
    }

    .sc-detail-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .v4-hero-card {
        height: clamp(180px, 25vh, 240px);
    }

    .v4-hero-overlay {
        padding: 0.85rem 1rem;
    }

    .v4-panel {
        padding: 1rem 1rem;
    }

    .sc-meta-top {
        align-items: center;
    }

    .sc-year-big {
        font-size: 1.8rem;
    }
}
