﻿.stage {
    position: relative;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(90% 70% at 78% 72%, rgba(255,255,255,0.06), transparent 46%),
        linear-gradient(180deg, #14161b 0%, #1c2026 52%, #101216 100%);
}
.stage-grid {
    position: absolute;
    inset: 0 0 0 42%;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 78px 78px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent);
}
.stage-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.85s cubic-bezier(0.76, 0, 0.18, 1);
}
.stage-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    background:
        radial-gradient(90% 70% at 78% 72%, rgba(255,255,255,0.06), transparent 46%),
        linear-gradient(180deg, #14161b 0%, #1c2026 52%, #101216 100%);
}
.stage-visual {
    position: absolute;
    z-index: 1;
    inset: 7% 1% 3% 36%;
    display: grid;
    place-items: end center;
    pointer-events: none;
}
.stage-visual.is-plate {
    inset: 5% 0 2% 34%;
    place-items: end center;
}
.stage-machine {
    width: min(100%, 1000px);
    max-width: none;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: darken;
    filter: contrast(1.05) saturate(1.04);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.stage-machine.is-plate {
    width: min(112%, 1220px);
    height: auto;
    max-height: 98%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: normal;
    filter: contrast(1.03) saturate(1.04);
}
.stage-copy {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    width: min(38rem, 48vw);
    margin-left: max(1.25rem, calc((100% - 80rem) / 2 + 2rem));
    flex-direction: column;
    justify-content: center;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
}
.stage-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}
.stage-title { margin: 0.65rem 0 0; }
.stage-model,
.stage-type {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0.01em;
    color: #fff;
}
.stage-model { font-size: clamp(3.3rem, 6.2vw, 6.35rem); }
.stage-type { margin-top: 0.2rem; font-size: clamp(2.3rem, 4.3vw, 4.35rem); }
.stage-lead {
    margin: 1.05rem 0 0;
    max-width: 26rem;
    font-size: 1.02rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.72);
}
.stage-specs {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    width: fit-content;
    margin-top: 1.45rem;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    padding: 0.8rem 1.15rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 0.02em;
}
.stage-spec-rule {
    width: 1px;
    height: 1.15rem;
    background: rgba(255,255,255,0.28);
}
.stage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.45rem;
}
.stage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.15rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 650;
}
.stage-btn-red { background: #BE000E; color: #fff; }
.stage-btn-red:hover { background: #96000B; color: #fff; }
.stage-btn-ghost {
    border: 1px solid rgba(255,255,255,0.55);
    background: transparent;
    color: #fff;
}
.stage-btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.stage-pager {
    position: absolute;
    z-index: 3;
    right: max(1.25rem, calc((100% - 80rem) / 2 + 2rem));
    bottom: 1.85rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(22,24,28,0.78);
    padding: 0.5rem 0.75rem 0.5rem 0.85rem;
}
.stage-dashes { display: flex; align-items: center; gap: 0.35rem; }
.stage-dashes button {
    position: relative;
    width: 1.65rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}
.stage-dashes button span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
    background: rgba(255,255,255,0.28);
}
.stage-dashes button span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(var(--fill, 0));
    transform-origin: left center;
}
.stage-index {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.06em;
}
@media (max-width: 980px) {
    .stage {
        height: 100svh;
        min-height: 100svh;
        max-height: 100svh;
    }
    .stage-grid { display: none; }
    .stage-track {
        height: 100%;
    }
    .stage-slide {
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        flex-direction: column;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 5.4rem;
        padding-bottom: 4.4rem;
        box-sizing: border-box;
    }
    .stage-visual,
    .stage-visual.is-plate {
        position: relative;
        inset: auto;
        z-index: 1;
        display: grid;
        height: clamp(210px, 34vh, 300px);
        width: 100%;
        place-items: center;
        flex: 0 0 auto;
        margin: 0;
        padding: 0 0.5rem;
    }
    .stage-machine,
    .stage-machine.is-plate {
        width: auto;
        max-width: min(92vw, 420px);
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: center bottom;
        mix-blend-mode: darken;
        filter: contrast(1.04) saturate(1.03);
    }
    .stage-machine.is-plate {
        mix-blend-mode: normal;
        filter: contrast(1.02) saturate(1.03);
        width: min(94vw, 440px);
        object-fit: contain;
        object-position: center bottom;
    }
    .stage-copy {
        position: relative;
        z-index: 2;
        display: flex;
        width: auto;
        height: auto;
        margin: 0.35rem 1rem 0;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 0 0.5rem;
    }
    .stage-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }
    .stage-title { margin-top: 0.45rem; }
    .stage-model {
        font-size: clamp(2.35rem, 11vw, 3.1rem);
        line-height: 0.9;
    }
    .stage-type {
        margin-top: 0.15rem;
        font-size: clamp(1.55rem, 7vw, 2.1rem);
        line-height: 0.95;
    }
    .stage-lead {
        margin-top: 0.7rem;
        max-width: 22rem;
        font-size: 0.92rem;
        line-height: 1.45;
    }
    .stage-specs {
        gap: 0.55rem;
        width: 100%;
        max-width: 22rem;
        margin-top: 0.95rem;
        justify-content: space-between;
        padding: 0.7rem 0.85rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }
    .stage-spec-rule { height: 0.95rem; }
    .stage-actions {
        gap: 0.55rem;
        margin-top: 0.95rem;
        width: 100%;
        max-width: 22rem;
    }
    .stage-btn {
        flex: 1 1 auto;
        min-height: 44px;
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    .stage-pager {
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.55rem;
        padding: 0.4rem 0.6rem;
    }
    .stage-dashes button { width: 1.2rem; }
    .stage-index { font-size: 1rem; }

}

@media (max-width: 420px) {
    .stage-actions { flex-direction: column; }
    .stage-btn { width: 100%; }
    .stage-specs {
        gap: 0.4rem;
        font-size: 0.95rem;
        padding: 0.65rem 0.7rem;
    }
}
