@import url("https://fonts.googleapis.com/css2?family=Marck+Script&display=swap");

/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #020304;
    color: #fff;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
}


/* =========================================================
   HERO + CINEMA WRAPPER

   ВАЖНО:
   первого экрана и cinema теперь не два отдельных экрана.
   Это ОДНА sticky-сцена, поэтому фон не повторяется.
========================================================= */

.hero-cinema-section {
    position: relative;

    height: 370vh;

    background: #020304;
}

.hero-cinema-sticky {
    position: sticky;

    top: 0;

    width: 100%;
    height: 100vh;

    min-height: 720px;

    overflow: hidden;

    background: #020304;

    isolation: isolate;
}

.cinema-anchor {
    position: absolute;

    top: 52vh;
    left: 0;

    width: 1px;
    height: 1px;

    pointer-events: none;
}


/* =========================================================
   VIDEO UNDER HERO
========================================================= */

.cinema-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 108%;
    height: 108%;

    object-fit: cover;

    opacity: 0;

    transform:
        translate(-50%, -50%)
        scale(1.09);

    filter:
        blur(3px)
        brightness(0.62)
        contrast(1.08)
        saturate(0.84);

    will-change:
        opacity,
        transform;

    z-index: 0;
}


/* =========================================================
   HERO BACKGROUND
========================================================= */

.hero-background {
    position: absolute;

    inset: -45px;

    background:
        url("../images/hero-bg.png")
        center / cover
        no-repeat;

    filter:
        blur(3.1px)
        brightness(0.57)
        contrast(1.08)
        saturate(0.86);

    transform:
        scale(1.06);

    will-change:
        transform,
        opacity;

    z-index: 2;
}


.hero-thinker {
    position: absolute;

    inset: -45px;

    background:
        url("../images/hero-bg.png")
        center / cover
        no-repeat;

    filter:
        brightness(0.76)
        contrast(1.12)
        saturate(0.90);

    transform:
        scale(1.06);

    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 22%,
            rgba(0, 0, 0, 0.95) 27%,
            rgba(0, 0, 0, 0.50) 33%,
            transparent 42%
        );

    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 22%,
            rgba(0, 0, 0, 0.95) 27%,
            rgba(0, 0, 0, 0.50) 33%,
            transparent 42%
        );

    pointer-events: none;

    will-change:
        transform,
        opacity;

    z-index: 3;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(1, 3, 4, 0.17),
            rgba(1, 3, 4, 0.48) 35%,
            rgba(1, 3, 4, 0.39) 65%,
            rgba(1, 3, 4, 0.58)
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.42),
            transparent 26%,
            transparent 70%,
            rgba(0, 0, 0, 0.60)
        );

    pointer-events: none;

    will-change: opacity;

    z-index: 4;
}


/* =========================================================
   WAVE TRANSITION
========================================================= */

.wave-transition {
    position: absolute;

    inset: 0;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    will-change: opacity;

    z-index: 10;
}


.wave-strip {
    position: absolute;

    left: -5%;

    width: 110%;

    overflow: hidden;

    will-change:
        transform,
        opacity,
        filter;
}


.wave-strip-image {
    position: absolute;

    left: 0;

    width: 100%;
    height: 100vh;

    background:
        url("../images/hero-bg.png")
        center / cover
        no-repeat;

    filter:
        brightness(0.58)
        contrast(1.08)
        saturate(0.86);

    will-change: transform;
}


/* =========================================================
   VIDEO OVERLAYS
========================================================= */

.cinema-darkness {
    position: absolute;

    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.03) 35%,
            rgba(0, 0, 0, 0.06) 65%,
            rgba(0, 0, 0, 0.50)
        );

    pointer-events: none;

    z-index: 5;
}


.cinema-vignette {
    position: absolute;

    inset: 0;

    opacity: 0;

    background:
        radial-gradient(
            ellipse at center,
            transparent 30%,
            rgba(0, 0, 0, 0.15) 60%,
            rgba(0, 0, 0, 0.68) 100%
        );

    pointer-events: none;

    z-index: 6;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 92px;

    padding:
        0 5.5vw;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.04);

    background:
        linear-gradient(
            180deg,
            rgba(1, 3, 4, 0.65),
            rgba(1, 3, 4, 0.02)
        );

    will-change:
        opacity,
        transform;

    z-index: 30;
}


.logo {
    margin-right: auto;

    color: #fff;

    text-decoration: none;

    font-size: 19px;
    font-weight: 600;

    letter-spacing: 5px;
}


.nav {
    display: flex;

    gap: 42px;
}


.nav-link {
    position: relative;

    color:
        rgba(255, 255, 255, 0.56);

    text-decoration: none;

    font-size: 13px;

    transition:
        color 0.25s ease;
}


.nav-link:hover,
.nav-link.active {
    color: #fff;
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -13px;

    width: 30px;
    height: 1px;

    transform:
        translateX(-50%);

    background: #df8a31;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: absolute;

    left: 36vw;
    top: 25vh;

    width:
        min(720px, 48vw);

    will-change:
        opacity,
        transform;

    z-index: 20;
}


.system-line {
    display: flex;

    gap: 10px;

    margin-bottom: 28px;

    color:
        rgba(255, 255, 255, 0.35);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 13px;
}


.system-prompt {
    color: #df8a31;
}


.hero-title {
    min-height: 215px;

    max-width: 790px;

    color:
        rgba(255, 255, 255, 0.96);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(42px, 4vw, 66px);

    font-weight: 400;

    line-height: 1.16;

    letter-spacing: -1px;
}


.typing-cursor {
    color: #df8a31;

    animation:
        cursorBlink 0.72s infinite;
}


@keyframes cursorBlink {

    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }

}


.title-line {
    width: 54px;
    height: 1px;

    margin:
        23px 0 27px;

    background:
        linear-gradient(
            90deg,
            #df8a31,
            transparent
        );
}


.hero-tagline {
    display: flex;

    gap: 18px;

    margin-bottom: 26px;

    color:
        rgba(255, 255, 255, 0.69);

    font-family:
        Consolas,
        monospace;

    font-size: 14px;

    letter-spacing: 5px;
}


.hero-tagline span:first-child {
    color: #df8a31;
}


.hero-description {
    max-width: 540px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 15px;

    line-height: 1.8;
}


.hero-buttons {
    display: flex;

    gap: 16px;

    margin-top: 35px;
}


.button {
    min-width: 150px;
    height: 52px;

    padding:
        0 27px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    border-radius: 4px;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    transition:
        transform 0.25s ease;
}


.button:hover {
    transform:
        translateY(-2px);
}


.button-primary {
    color: #080a0b;

    background: #df8a31;

    border:
        1px solid
        #df8a31;
}


.button-secondary {
    color:
        rgba(255, 255, 255, 0.82);

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid
        rgba(255, 255, 255, 0.17);
}


/* =========================================================
   CINEMA COPY
========================================================= */

.cinema-copy {
    position: absolute;

    left: 8vw;
    bottom: 12vh;

    width:
        min(850px, 68vw);

    opacity: 0;

    pointer-events: none;

    z-index: 20;
}


.cinema-caption {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    opacity: 0;

    transform:
        translateY(35px);

    filter:
        blur(7px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        filter 0.7s ease;
}


.cinema-caption.active {
    opacity: 1;

    transform:
        translateY(0);

    filter:
        blur(0);
}


.cinema-number {
    display: block;

    margin-bottom: 14px;

    color: #df8a31;

    font-family:
        Consolas,
        monospace;

    font-size: 12px;

    letter-spacing: 4px;
}


.cinema-caption h2 {
    color: #fff;

    font-size:
        clamp(44px, 5vw, 82px);

    font-weight: 400;

    line-height: 1.04;

    letter-spacing: -3px;

    text-shadow:
        0 10px 40px
        rgba(0, 0, 0, 0.80);
}


.cinema-caption p {
    margin-top: 20px;

    max-width: 500px;

    color:
        rgba(255, 255, 255, 0.50);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CINEMA RIGHT SCROLL
========================================================= */

.cinema-scroll {
    position: absolute;

    right: 34px;
    top: 50%;

    height: 58vh;

    transform:
        translateY(-50%);

    display: flex;

    flex-direction: column;
    align-items: center;

    gap: 14px;

    opacity: 0;

    pointer-events: none;

    z-index: 20;
}


.cinema-scroll-track {
    position: relative;

    width: 1px;

    flex: 1;

    background:
        rgba(255, 255, 255, 0.13);
}


.cinema-scroll-progress {
    position: absolute;

    top: 0;

    width: 1px;
    height: 0;

    background: #df8a31;

    box-shadow:
        0 0 12px
        rgba(223, 138, 49, 0.90);
}


.cinema-scroll-dot {
    position: absolute;

    left: 50%;
    top: 0;

    width: 7px;
    height: 7px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: #df8a31;
}


.cinema-scroll-percent {
    color:
        rgba(255, 255, 255, 0.45);

    font-family:
        Consolas,
        monospace;

    font-size: 10px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #020304;
}


.about-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 108%;
    height: 108%;

    object-fit: cover;

    transform:
        translate(-50%, -50%)
        scale(1.09);

    filter:
        blur(3px)
        brightness(0.40)
        contrast(1.10)
        saturate(0.78);
}


.about-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(1, 3, 4, 0.92),
            rgba(1, 3, 4, 0.76) 35%,
            rgba(1, 3, 4, 0.56) 62%,
            rgba(1, 3, 4, 0.66)
        );

    z-index: 1;
}


.about-vignette {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            ellipse at center,
            transparent 30%,
            rgba(0, 0, 0, 0.12) 62%,
            rgba(0, 0, 0, 0.55) 100%
        );

    z-index: 2;
}


.about-content {
    position: relative;

    width:
        min(1500px, 88vw);

    margin: auto;

    display: grid;

    grid-template-columns:
        0.84fr 1.16fr;

    gap: 7vw;

    align-items: center;

    z-index: 5;
}


.section-label {
    margin-bottom: 28px;

    color: #df8a31;

    font-family:
        Consolas,
        monospace;

    font-size: 11px;

    letter-spacing: 4px;
}


.about-title {
    font-size:
        clamp(48px, 4.5vw, 78px);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -3px;
}


.about-title span {
    color:
        rgba(255, 255, 255, 0.40);
}


.about-text {
    max-width: 550px;

    margin-top: 24px;

    color:
        rgba(255, 255, 255, 0.53);

    font-size: 15px;

    line-height: 1.85;
}


.about-stack {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;
}


.about-stack span {
    padding:
        8px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    color:
        rgba(255, 255, 255, 0.44);

    font-family:
        Consolas,
        monospace;

    font-size: 11px;
}


/* =========================================================
   TERMINAL
========================================================= */

.game-terminal {
    width: 100%;

    max-width: 760px;

    min-height: 530px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 9px;

    background:
        rgba(2, 5, 7, 0.66);

    backdrop-filter:
        blur(15px);
}


.terminal-header {
    height: 48px;

    padding:
        0 17px;

    display: flex;
    align-items: center;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}


.terminal-dots {
    display: flex;

    gap: 7px;
}


.terminal-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.16);
}


.terminal-title {
    margin-left: auto;

    color:
        rgba(255, 255, 255, 0.23);

    font-family:
        Consolas,
        monospace;

    font-size: 10px;
}


.terminal-stage {
    position: relative;

    min-height: 420px;
}


.game-code {
    position: absolute;

    inset: 0;

    padding:
        28px 30px;

    white-space: pre-wrap;

    color:
        rgba(255, 255, 255, 0.68);

    font-family:
        Consolas,
        monospace;

    font-size: 13px;

    line-height: 1.7;

    transition:
        opacity 0.65s ease;
}


.game-canvas {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    transition:
        opacity 0.7s ease;
}


.game-terminal.is-running
.game-code {
    opacity: 0;
}


.game-terminal.is-running
.game-canvas {
    opacity: 1;
}


.terminal-status {
    height: 52px;

    padding:
        0 29px;

    display: flex;
    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, 0.31);

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);

    font-family:
        Consolas,
        monospace;

    font-size: 12px;
}


.terminal-status span:first-child {
    color: #df8a31;
}


/* =========================================================
   FUTURE
========================================================= */

.future-section {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #040607;
}


.future-section > span {
    color:
        rgba(255, 255, 255, 0.04);

    font-size:
        clamp(60px, 10vw, 170px);

    font-weight: 700;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1000px) {

    .nav {
        display: none;
    }


    .hero-content {
        left: 30px;
        top: 22vh;

        width:
            calc(100% - 60px);
    }


    .about-content {
        grid-template-columns: 1fr;

        padding:
            100px 0;
    }

}


@media (max-width: 650px) {

    .header {
        height: 74px;

        padding:
            0 22px;
    }


    .logo {
        font-size: 15px;

        letter-spacing: 4px;
    }


    .hero-cinema-sticky {
        min-height: 700px;
    }


    .hero-title {
        min-height: 190px;

        font-size:
            clamp(34px, 9vw, 48px);
    }


    .hero-tagline {
        gap: 9px;

        font-size: 10px;

        letter-spacing: 2px;
    }


    .hero-buttons {
        flex-direction: column;

        width: 210px;
    }


    .button {
        width: 100%;
    }


    .cinema-copy {
        left: 25px;
        bottom: 12vh;

        width:
            calc(100% - 80px);
    }


    .cinema-caption h2 {
        font-size:
            clamp(36px, 10vw, 58px);

        letter-spacing: -2px;
    }


    .cinema-scroll {
        right: 13px;
    }

}


/* =========================================================
   PROMETHEUS — TEXT / ABOUT UPDATE
========================================================= */

/* Чуть больше места для длинных текстов на видео */
.cinema-copy {
    width: min(930px, 72vw);
}

.cinema-caption p.cinema-text-wide {
    max-width: 680px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 15px;

    line-height: 1.8;
}

.cinema-caption-story h2 {
    max-width: 980px;
}

.cinema-caption-story p {
    max-width: 720px;
}



/* =========================================================
   HANDWRITTEN QUOTE
========================================================= */

.about-quote {
    position: relative;

    max-width: 590px;

    margin-top: 30px;

    padding:
        4px 0 6px 23px;

    border-left:
        1px solid
        rgba(223, 138, 49, 0.78);
}

.quote-kicker {
    margin-bottom: 7px;

    color:
        rgba(223, 138, 49, 0.72);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;

    letter-spacing: 3px;
}

.about-quote blockquote {
    margin: 0;

    max-width: 540px;

    color:
        rgba(255, 255, 255, 0.82);

    font-family:
        "Marck Script",
        "Segoe Print",
        "Bradley Hand",
        cursive;

    font-size:
        clamp(27px, 2vw, 36px);

    font-weight: 400;

    line-height: 1.25;

    letter-spacing: 0.2px;

    text-shadow:
        0 5px 24px
        rgba(0, 0, 0, 0.50);

    transform:
        rotate(-0.45deg);
}


/* Блок стал насыщеннее, поэтому немного уменьшаем стек */
.about-stack {
    margin-top: 25px;
}


/* =========================================================
   ABOUT RESPONSIVE UPDATE
========================================================= */

@media (max-width: 1180px) {

    .about-content {
        gap: 4vw;
    }
}


@media (max-width: 1000px) {
.about-quote {
        max-width: 680px;
    }

}


@media (max-width: 650px) {
.about-quote {
        margin-top: 28px;

        padding-left: 17px;
    }

    .about-quote blockquote {
        font-size:
            clamp(26px, 8vw, 34px);
    }

    .cinema-caption p.cinema-text-wide {
        font-size: 13px;

        line-height: 1.65;
    }

}


/* =========================================================
   ABOUT TYPEWRITER
========================================================= */

.about-typewriter-title {
    position: relative;

    min-height:
        clamp(220px, 23vw, 350px);

    max-width: 690px;
}


.about-type-primary,
.about-type-secondary {
    display: block;
}


.about-type-primary {
    color:
        rgba(255, 255, 255, 0.97);
}


.about-type-secondary {
    margin-top: 8px;

    color:
        rgba(255, 255, 255, 0.39);
}


.about-typing-cursor {
    display: inline-block;

    margin-left: 5px;

    color: #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-weight: 300;

    animation:
        aboutCursorBlink 0.72s infinite;
}


@keyframes aboutCursorBlink {

    0%,
    48% {
        opacity: 1;
    }

    49%,
    100% {
        opacity: 0;
    }

}


/*
    Пока набор ещё не начался —
    заголовок остаётся чистым.
*/

.about-typewriter-title:not(.is-typing)
.about-typing-cursor {
    opacity: 0;

    animation: none;
}


@media (max-width: 1000px) {

    .about-typewriter-title {
        min-height:
            clamp(190px, 28vw, 300px);
    }

}


@media (max-width: 650px) {

    .about-typewriter-title {
        min-height: 220px;
    }

}


/* =========================================================
   ROME ABOUT — HORIZONTAL SCROLL
   Колесо идёт вниз, контент движется справа налево.
========================================================= */

.about-scroll-section {
    position: relative;
    height: 300vh;
    min-height: 300vh;
    display: block;
    overflow: visible;
    background: #020304;
}

.about-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: #020304;
    isolation: isolate;
}

/*
    Только размытие самого видео.
    Затемнение делается отдельным overlay,
    поэтому цвет ролика фильтрами не меняем.
*/
.about-sticky .about-video {
    display: block !important;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    transform:
        translate(-50%, -50%)
        scale(1.035);
    filter: blur(3px) !important;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.about-sticky .about-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.56) 42%,
            rgba(0, 0, 0, 0.46) 70%,
            rgba(0, 0, 0, 0.64) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.34) 0%,
            rgba(0, 0, 0, 0.05) 44%,
            rgba(0, 0, 0, 0.58) 100%
        );
}

.about-sticky .about-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at center,
            transparent 22%,
            rgba(0, 0, 0, 0.12) 58%,
            rgba(0, 0, 0, 0.62) 100%
        );
}

.about-horizontal-window {
    position: absolute;
    inset: 0;
    z-index: 5;
    overflow: hidden;
}

.about-horizontal-track {
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.about-panel {
    position: relative;
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-panel::after {
    content: "";
    position: absolute;
    right: 0;
    top: 11vh;
    bottom: 11vh;
    width: 1px;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.10) 22%,
            rgba(255, 255, 255, 0.10) 78%,
            transparent
        );
    pointer-events: none;
}

.about-panel:last-child::after {
    display: none;
}

.about-panel-content {
    width: min(1500px, 88vw);
    margin: 0 auto;
    position: relative;
}

.about-panel-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.84fr)
        minmax(520px, 1.16fr);
    gap: 6vw;
    align-items: center;
}

.about-panel-main .about-left {
    min-width: 0;
}

.about-panel-main .about-typewriter-title {
    min-height: 195px;
    margin: 0;
    font-size:
        clamp(46px, 4.35vw, 76px);
    line-height: 1.06;
    letter-spacing: -3px;
}

.about-panel-main .about-text {
    max-width: 590px;
}

.about-panel-main .about-stack {
    margin-top: 28px;
}

/* Терминал чуть прозрачнее, чтобы Рим оставался виден */
.about-panel-main .game-terminal {
    max-width: 760px;
    margin-left: auto;
    background:
        rgba(2, 5, 7, 0.64);
    backdrop-filter:
        blur(14px);
    -webkit-backdrop-filter:
        blur(14px);
    box-shadow:
        0 28px 80px
        rgba(0, 0, 0, 0.28);
}

/* PANEL 2 */
.about-editorial {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(330px, 0.8fr);
    gap: 9vw;
    align-items: end;
}

.about-editorial-title {
    margin: 0;
    max-width: 960px;
    color:
        rgba(255, 255, 255, 0.94);
    font-size:
        clamp(68px, 7.3vw, 132px);
    font-weight: 300;
    line-height: 0.90;
    letter-spacing: -6px;
}

.about-editorial-copy {
    max-width: 480px;
    padding-bottom: 8px;
}

.about-editorial-copy p {
    margin: 0 0 25px;
    color:
        rgba(255, 255, 255, 0.58);
    font-size:
        clamp(15px, 1.05vw, 18px);
    line-height: 1.85;
}

.about-editorial-copy p:last-child {
    margin-bottom: 0;
}

/* PANEL 3 */
.about-quote-stage {
    min-height: 68vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-quote-stage .quote-kicker {
    margin-bottom: 34px;
}

.about-big-quote {
    max-width: 1240px;
    margin: 0;
    padding: 0;
    border: 0;
    color:
        rgba(255, 255, 255, 0.93);
    font-family:
        "Marck Script",
        "Segoe Print",
        "Bradley Hand",
        cursive;
    font-size:
        clamp(58px, 6.3vw, 116px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -2px;
    text-wrap: balance;
}

.about-quote-line {
    width: min(520px, 42vw);
    height: 1px;
    margin-top: 54px;
    background:
        linear-gradient(
            90deg,
            #df8a31,
            rgba(223, 138, 49, 0)
        );
}

/* Нижний прогресс — без лишних цифр и подписей */
.about-scroll-progress {
    position: absolute;
    left: 6vw;
    right: 6vw;
    bottom: 28px;
    z-index: 8;
    height: 1px;
    background:
        rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.about-scroll-progress-fill {
    width: 100%;
    height: 100%;
    transform:
        scaleX(0);
    transform-origin: left center;
    background: #df8a31;
    will-change: transform;
}

/* Плавное появление содержимого внутри панелей */
.about-panel-content {
    opacity: 0.42;
    transform:
        translate3d(46px, 0, 0);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.about-panel.is-current
.about-panel-content {
    opacity: 1;
    transform:
        translate3d(0, 0, 0);
}

/* В первой панели typewriter должен быть хорошо виден сразу */
.about-panel-main
.about-type-primary {
    color:
        rgba(255, 255, 255, 0.98);
}

.about-panel-main
.about-type-secondary {
    color:
        rgba(255, 255, 255, 0.48);
}


/* =========================================================
   ROME ABOUT — RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .about-panel-grid {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(440px, 1.1fr);
        gap: 4vw;
    }

    .about-panel-main .game-terminal {
        min-height: 480px;
    }

    .about-panel-main .terminal-stage {
        min-height: 370px;
    }

    .about-editorial {
        gap: 6vw;
    }

}


@media (max-width: 820px) {

    .about-scroll-section {
        height: 330vh;
        min-height: 330vh;
    }

    .about-sticky,
    .about-panel {
        min-height: 620px;
    }

    .about-panel-content {
        width: min(92vw, 720px);
    }

    .about-panel-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        align-content: center;
    }

    .about-panel-main .about-typewriter-title {
        min-height: 150px;
        font-size:
            clamp(36px, 8.4vw, 58px);
    }

    .about-panel-main .about-text {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.65;
    }

    .about-panel-main .about-stack {
        display: none;
    }

    .about-panel-main .game-terminal {
        width: 100%;
        max-width: none;
        min-height: 330px;
    }

    .about-panel-main .terminal-stage {
        min-height: 240px;
    }

    .about-panel-main .terminal-status {
        height: 42px;
    }

    .about-editorial {
        grid-template-columns: 1fr;
        gap: 38px;
        align-items: center;
    }

    .about-editorial-title {
        font-size:
            clamp(54px, 14vw, 92px);
        letter-spacing: -4px;
    }

    .about-big-quote {
        font-size:
            clamp(48px, 12vw, 82px);
    }

}


@media (max-width: 560px) {

    .about-panel {
        min-height: 680px;
    }

    .about-panel-content {
        width:
            calc(100vw - 42px);
    }

    .about-panel-main .section-label {
        margin-bottom: 18px;
    }

    .about-panel-main .about-typewriter-title {
        min-height: 138px;
        letter-spacing: -2px;
    }

    .about-panel-main .about-intro {
        max-height: 82px;
        overflow: hidden;
    }

    .about-panel-main .game-terminal {
        min-height: 300px;
    }

    .about-panel-main .terminal-stage {
        min-height: 215px;
    }

    .about-editorial-copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    .about-scroll-progress {
        left: 22px;
        right: 22px;
        bottom: 18px;
    }

}



/* =========================================================
   ABOUT ROME — COMPACT / QUOTE / GAME FIX
========================================================= */

.about-scroll-section {
    height: 200vh !important;
    min-height: 200vh !important;
}

.about-panel-main .about-typewriter-title {
    min-height: 176px;
    margin-bottom: 10px;
}

.about-panel-main .about-intro {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 620px;
}

/* Личная цитата — внутри первого экрана. */
.about-inline-quote {
    max-width: 610px;
    margin-top: 25px;
    padding-top: 16px;

    border-top:
        1px solid
        rgba(223, 138, 49, 0.36);
}

.about-inline-quote-label {
    margin-bottom: 9px;

    color: #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.34em;
}

.about-inline-quote blockquote {
    margin: 0;
    padding: 0;
    border: 0;

    max-width: 590px;

    color:
        rgba(255, 255, 255, 0.91);

    font-family:
        "Marck Script",
        "Segoe Print",
        "Bradley Hand",
        cursive;

    font-size:
        clamp(27px, 2.05vw, 38px);

    font-weight: 400;
    line-height: 1.12;
}

.about-inline-quote-thought {
    max-width: 570px;

    margin:
        13px 0 0;

    color:
        rgba(255, 255, 255, 0.46);

    font-size:
        clamp(12px, 0.86vw, 15px);

    line-height: 1.65;
}

/* Второй и последний экран. */
.about-finale {
    min-height: 64vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-finale-title {
    max-width: 1320px;
    margin: 0;

    color:
        rgba(255, 255, 255, 0.96);

    font-size:
        clamp(76px, 8.3vw, 148px);

    font-weight: 300;
    line-height: 0.87;

    letter-spacing: -0.055em;
}

.about-finale-lead {
    max-width: 790px;

    margin:
        38px 0 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        clamp(24px, 2.1vw, 38px);

    font-weight: 300;
    line-height: 1.25;

    letter-spacing: -0.02em;
}

.about-finale-line {
    width:
        min(520px, 42vw);

    height: 1px;

    margin-top: 31px;

    background:
        linear-gradient(
            90deg,
            #df8a31,
            rgba(223, 138, 49, 0)
        );
}

.about-finale-note {
    max-width: 610px;

    margin:
        18px 0 0;

    color:
        rgba(255, 255, 255, 0.38);

    font-size:
        clamp(14px, 1vw, 18px);

    line-height: 1.7;
}

/* Игровая область гарантированно видима. */
.about-panel-main .game-terminal {
    min-height: 530px;
}

.about-panel-main .terminal-stage {
    min-height: 428px;
}

.about-panel-main .game-canvas {
    display: block;
    visibility: hidden;
}

.game-terminal.is-running .game-code {
    opacity: 0 !important;
    visibility: hidden;
}

.game-terminal.is-running .game-canvas {
    opacity: 1 !important;
    visibility: visible;
}

@media (max-width: 1100px) {

    .about-inline-quote {
        margin-top: 18px;
    }

    .about-inline-quote blockquote {
        font-size:
            clamp(24px, 2.4vw, 32px);
    }

    .about-inline-quote-thought {
        font-size: 12px;
    }

}

@media (max-width: 820px) {

    .about-scroll-section {
        height: 220vh !important;
        min-height: 220vh !important;
    }

    .about-inline-quote {
        display: none;
    }

    .about-finale-title {
        font-size:
            clamp(56px, 14vw, 96px);
    }

    .about-finale-lead {
        margin-top: 27px;

        font-size:
            clamp(22px, 6vw, 34px);
    }

}



/* =========================================================
   ABOUT + PROJECTS — THREE HORIZONTAL SCENES
========================================================= */

.about-scroll-section {
    height: 300vh !important;
    min-height: 300vh !important;
}


/* =========================================================
   PROJECT — S10XX
========================================================= */

.about-panel-project {
    position: relative;
}

.project-showcase {
    display: grid;

    grid-template-columns:
        minmax(330px, 0.70fr)
        minmax(620px, 1.30fr);

    gap: clamp(40px, 5vw, 90px);

    align-items: center;
}

.project-copy {
    max-width: 520px;
}

.project-title {
    margin:
        0 0 22px;

    color:
        rgba(255, 255, 255, 0.97);

    font-size:
        clamp(78px, 7.8vw, 140px);

    font-weight: 300;

    line-height: 0.88;

    letter-spacing: -0.06em;
}

.project-lead {
    max-width: 520px;

    margin:
        0 0 18px;

    color:
        rgba(255, 255, 255, 0.78);

    font-size:
        clamp(19px, 1.35vw, 25px);

    font-weight: 300;

    line-height: 1.45;
}

.project-description {
    max-width: 500px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.45);

    font-size:
        clamp(13px, 0.94vw, 16px);

    line-height: 1.75;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.project-tech span {
    padding:
        7px 11px;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 999px;

    background:
        rgba(0, 0, 0, 0.22);

    color:
        rgba(255, 255, 255, 0.56);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 10px;

    letter-spacing: 0.08em;

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}

.project-caption {
    margin-top: 24px;

    color:
        rgba(223, 138, 49, 0.66);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;

    line-height: 1.6;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.project-visual {
    min-width: 0;
}

.project-shot {
    position: relative;

    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius:
        clamp(16px, 1.45vw, 25px);

    background:
        rgba(4, 5, 7, 0.78);

    box-shadow:
        0 34px 100px
        rgba(0, 0, 0, 0.42);

    transform:
        translateZ(0);

    cursor: zoom-in;
}

.project-shot img {
    display: block;

    width: 100%;
    height: auto;

    transform:
        scale(1.002);

    transform-origin:
        center center;

    transition:
        transform
            0.72s
            cubic-bezier(
                0.16,
                1,
                0.3,
                1
            ),
        filter
            0.72s
            ease;

    filter:
        brightness(0.90)
        contrast(1.02);

    will-change:
        transform,
        filter;
}

/*
    Небольшое увеличение именно изображения.
    Рамка проекта остаётся на месте.
*/
.project-shot:hover img {
    transform:
        scale(1.055);

    filter:
        brightness(1.02)
        contrast(1.03);
}

/*
    Блок профиля на исходном скрине:
    справа сверху.
    Проценты привязаны к самому изображению,
    поэтому blur остаётся на месте при resize.
*/
.project-privacy-blur {
    position: absolute;

    top: 2.4%;
    right: 0.75%;

    width: 16.2%;
    height: 7.2%;

    z-index: 5;

    border-radius:
        clamp(8px, 0.75vw, 14px);

    background:
        rgba(10, 12, 14, 0.38);

    backdrop-filter:
        blur(18px)
        saturate(0.55);

    -webkit-backdrop-filter:
        blur(18px)
        saturate(0.55);

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, 0.035);

    pointer-events: none;

    transition:
        backdrop-filter
            0.45s ease,
        background
            0.45s ease;
}

/*
    При hover усиливаем blur,
    чтобы имя не проявлялось из-за масштабирования.
*/
.project-shot:hover
.project-privacy-blur {
    background:
        rgba(8, 10, 12, 0.52);

    backdrop-filter:
        blur(22px)
        saturate(0.45);

    -webkit-backdrop-filter:
        blur(22px)
        saturate(0.45);
}

.project-shot-glow {
    position: absolute;

    inset: 0;

    z-index: 6;

    border-radius: inherit;

    pointer-events: none;

    box-shadow:
        inset 0 0 0 1px
        rgba(223, 138, 49, 0);

    transition:
        box-shadow
            0.65s ease;
}

.project-shot:hover
.project-shot-glow {
    box-shadow:
        inset 0 0 0 1px
            rgba(223, 138, 49, 0.34),
        inset 0 0 50px
            rgba(223, 138, 49, 0.035);
}

.project-shot-hint {
    margin-top: 11px;

    text-align: right;

    color:
        rgba(255, 255, 255, 0.24);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* =========================================================
   PROJECT RESPONSIVE
========================================================= */

@media (max-width: 1180px) {

    .project-showcase {
        grid-template-columns:
            minmax(290px, 0.62fr)
            minmax(530px, 1.38fr);

        gap: 38px;
    }

    .project-title {
        font-size:
            clamp(66px, 7.5vw, 108px);
    }

}


@media (max-width: 820px) {

    .about-scroll-section {
        height: 330vh !important;
        min-height: 330vh !important;
    }

    .project-showcase {
        grid-template-columns:
            1fr;

        gap: 25px;
    }

    .project-copy {
        max-width: none;
    }

    .project-title {
        margin-bottom: 14px;

        font-size:
            clamp(58px, 15vw, 90px);
    }

    .project-lead {
        font-size:
            clamp(17px, 4.6vw, 23px);
    }

    .project-description {
        display: none;
    }

    .project-tech {
        margin-top: 15px;
    }

    .project-caption {
        display: none;
    }

    .project-shot-hint {
        display: none;
    }

}



/* =========================================================
   PROJECTS INTRO — FOUR HORIZONTAL SCENES
========================================================= */

/*
    ABOUT
    -> КРАСОТА И МИНИМАЛИЗМ
    -> МОИ ПРОЕКТЫ
    -> S10XX
*/
.about-scroll-section {
    height: 400vh !important;
    min-height: 400vh !important;
}


/* =========================================================
   УБРАН АВТОМАТИЧЕСКИЙ BLUR ПРОФИЛЯ
========================================================= */

.project-privacy-blur {
    display: none !important;
}


/* =========================================================
   PROJECTS INTRO
========================================================= */

.projects-intro-layout {
    display: grid;

    grid-template-columns:
        minmax(420px, 0.88fr)
        minmax(560px, 1.12fr);

    gap:
        clamp(50px, 7vw, 120px);

    align-items: center;
}

.projects-intro-copy {
    max-width: 650px;
}

.projects-intro-title {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.97);

    font-size:
        clamp(86px, 8.7vw, 156px);

    font-weight: 300;

    line-height: 0.82;

    letter-spacing: -0.065em;
}

.projects-intro-text {
    max-width: 600px;

    margin:
        42px 0 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        clamp(24px, 2vw, 36px);

    font-weight: 300;

    line-height: 1.32;

    letter-spacing: -0.025em;
}

.projects-intro-line {
    width:
        min(430px, 72%);

    height: 1px;

    margin-top: 32px;

    background:
        linear-gradient(
            90deg,
            #df8a31,
            rgba(223, 138, 49, 0)
        );
}

.projects-intro-note {
    max-width: 520px;

    margin:
        17px 0 0;

    color:
        rgba(255, 255, 255, 0.34);

    font-size:
        clamp(13px, 0.9vw, 16px);

    line-height: 1.7;
}


/* =========================================================
   SMILE TERMINAL
========================================================= */

.projects-smile-terminal {
    position: relative;

    width: 100%;
    max-width: 790px;

    min-height: 520px;

    margin-left: auto;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 18px;

    background:
        rgba(2, 5, 7, 0.68);

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);

    box-shadow:
        0 30px 95px
        rgba(0, 0, 0, 0.34);
}

.projects-smile-header {
    height: 58px;

    padding:
        0 20px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.projects-smile-title {
    color:
        rgba(255, 255, 255, 0.27);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 10px;
}

.projects-smile-stage {
    position: relative;

    min-height: 400px;

    padding:
        31px 34px;
}

.projects-smile-code {
    position: absolute;

    inset:
        31px 34px;

    margin: 0;

    overflow: hidden;

    white-space: pre-wrap;

    color:
        rgba(255, 255, 255, 0.58);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(12px, 0.88vw, 15px);

    line-height: 1.75;

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.projects-smile-result {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transform:
        scale(0.86);

    transition:
        opacity 0.8s ease,
        transform
            0.9s
            cubic-bezier(
                0.16,
                1,
                0.3,
                1
            );
}

.projects-smile-terminal.is-smiling
.projects-smile-code {
    opacity: 0;

    transform:
        translateY(-10px);
}

.projects-smile-terminal.is-smiling
.projects-smile-result {
    opacity: 1;

    transform:
        scale(1);
}

.projects-smile-status {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 60px;

    padding:
        0 34px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

    color:
        rgba(255, 255, 255, 0.34);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 11px;
}

.projects-smile-status span:first-child {
    color: #df8a31;
}


/* =========================================================
   FACE
========================================================= */

.smile-face {
    position: relative;

    width:
        clamp(170px, 15vw, 245px);

    aspect-ratio: 1 / 1;

    border:
        2px solid
        rgba(255, 255, 255, 0.64);

    border-radius: 50%;

    box-shadow:
        0 0 55px
        rgba(223, 138, 49, 0.05);
}

.smile-eye {
    position: absolute;

    top: 35%;

    width:
        clamp(11px, 0.9vw, 15px);

    height:
        clamp(11px, 0.9vw, 15px);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.88);

    transform-origin:
        center center;
}

.smile-eye-left {
    left: 29%;
}

.smile-eye-right {
    right: 29%;

    animation:
        projectsSmileBlink
        3.1s
        1.1s
        infinite;
}

.smile-mouth {
    position: absolute;

    left: 50%;
    bottom: 25%;

    width: 43%;
    height: 22%;

    border-bottom:
        3px solid
        #df8a31;

    border-radius:
        0 0 100px 100px;

    transform:
        translateX(-50%);
}

.projects-smile-terminal.is-smiling
.smile-face {
    animation:
        projectsSmileBreath
        4s
        ease-in-out
        infinite;
}


@keyframes projectsSmileBlink {

    0%,
    43%,
    48%,
    100% {
        transform:
            scaleY(1);
    }

    45%,
    46% {
        transform:
            scaleY(0.10);
    }

}


@keyframes projectsSmileBreath {

    0%,
    100% {
        transform:
            translateY(0);
    }

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

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {

    .projects-intro-layout {
        grid-template-columns:
            minmax(360px, 0.82fr)
            minmax(500px, 1.18fr);

        gap: 45px;
    }

    .projects-smile-terminal {
        min-height: 470px;
    }

    .projects-smile-stage {
        min-height: 350px;
    }

}


@media (max-width: 820px) {

    .about-scroll-section {
        height: 440vh !important;
        min-height: 440vh !important;
    }

    .projects-intro-layout {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .projects-intro-title {
        font-size:
            clamp(62px, 16vw, 96px);
    }

    .projects-intro-text {
        margin-top: 24px;

        font-size:
            clamp(19px, 5.4vw, 28px);
    }

    .projects-intro-note {
        display: none;
    }

    .projects-smile-terminal {
        max-width: none;

        min-height: 330px;
    }

    .projects-smile-stage {
        min-height: 250px;

        padding:
            24px;
    }

    .projects-smile-code {
        inset:
            24px;
    }

    .projects-smile-status {
        height: 48px;

        padding:
            0 24px;
    }

}



/* =========================================================
   S10XX — 4 SHOTS GRID
========================================================= */

.project-visual {
    min-width: 0;
}

.project-shot-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    padding: 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius:
        clamp(18px, 1.45vw, 25px);

    background:
        rgba(4, 5, 7, 0.72);

    box-shadow:
        0 34px 100px
        rgba(0, 0, 0, 0.42);

    overflow: hidden;
}

.project-shot-cell {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius:
        clamp(12px, 1vw, 18px);

    aspect-ratio: 16 / 10;

    background:
        rgba(15, 18, 22, 0.72);

    cursor: zoom-in;

    transform: translateZ(0);
}

.project-shot-cell img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);

    transition:
        transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.72s ease;

    filter:
        brightness(0.90)
        contrast(1.03);

    will-change:
        transform,
        filter;
}

.project-shot-cell:hover img {
    transform: scale(1.075);

    filter:
        brightness(1.03)
        contrast(1.04);
}

.project-shot-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding:
        14px 15px 13px;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.58) 72%,
            rgba(0, 0, 0, 0.76) 100%
        );

    pointer-events: none;
}

.project-shot-overlay span {
    color:
        rgba(255, 255, 255, 0.95);

    font-size:
        clamp(11px, 0.8vw, 14px);

    font-weight: 500;

    letter-spacing: 0.03em;
}

.project-shot-cell::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    box-shadow:
        inset 0 0 0 1px rgba(223, 138, 49, 0);

    transition:
        box-shadow 0.55s ease,
        background 0.55s ease;

    pointer-events: none;
}

.project-shot-cell:hover::after {
    box-shadow:
        inset 0 0 0 1px rgba(223, 138, 49, 0.34),
        inset 0 0 44px rgba(223, 138, 49, 0.035);
}

.project-shot-grid-glow {
    position: absolute;

    inset: 0;

    border-radius: inherit;

    box-shadow:
        inset 0 0 0 1px
        rgba(223, 138, 49, 0.14);

    pointer-events: none;
}

.project-shot-hint {
    margin-top: 11px;

    text-align: right;

    color:
        rgba(255, 255, 255, 0.24);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE FOR 4 SHOTS
========================================================= */

@media (max-width: 1180px) {

    .project-showcase {
        grid-template-columns:
            minmax(290px, 0.68fr)
            minmax(520px, 1.32fr);

        gap: 36px;
    }

    .project-shot-grid {
        gap: 10px;
        padding: 10px;
    }

}


@media (max-width: 820px) {

    .project-showcase {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .project-shot-grid {
        grid-template-columns: 1fr;
    }

    .project-shot-cell {
        aspect-ratio: 16 / 9;
    }

    .project-shot-hint {
        display: none;
    }

}



/* =========================================================
   EINSTEIN QUOTE — FINALE HIERARCHY
========================================================= */

.about-einstein-quote {
    max-width: 1020px;

    margin:
        38px 0 0;

    padding: 0;

    border: 0;

    color:
        rgba(255, 255, 255, 0.88);

    font-size:
        clamp(27px, 2.35vw, 43px);

    font-weight: 300;

    line-height: 1.28;

    letter-spacing: -0.025em;

    text-wrap: balance;
}

.about-einstein-author {
    margin-top: 15px;

    color:
        rgba(223, 138, 49, 0.72);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(10px, 0.72vw, 13px);

    letter-spacing: 0.12em;
}

.about-finale .about-finale-line {
    margin-top: 28px;
}

.about-finale-personal {
    max-width: 720px !important;

    margin:
        16px 0 0 !important;

    color:
        rgba(255, 255, 255, 0.38) !important;

    font-size:
        clamp(14px, 1.05vw, 18px) !important;

    line-height: 1.6 !important;

    letter-spacing: 0 !important;
}


/* =========================================================
   ABOUT ENTRY SETTLE
   +55vh before horizontal movement starts
========================================================= */

/*
    4 панели = около 300vh горизонтального пути.
    Добавляем ещё 55vh, пока первый экран просто стоит ровно.
*/
.about-scroll-section {
    height: 455vh !important;
    min-height: 455vh !important;
}

@media (max-width: 820px) {

    .about-scroll-section {
        height: 495vh !important;
        min-height: 495vh !important;
    }

    .about-einstein-quote {
        margin-top: 24px;

        font-size:
            clamp(22px, 5.6vw, 34px);
    }

    .about-einstein-author {
        margin-top: 11px;
    }

    .about-finale-personal {
        font-size:
            14px !important;
    }

}



/* =========================================================
   PIXEL SMILE
   Терминальная / пиксельная версия улыбки
========================================================= */

/* Старую круглую улыбку больше не используем */
.smile-face,
.smile-eye,
.smile-mouth {
    display: none !important;
}

.pixel-smile {
    position: relative;

    width:
        clamp(230px, 17vw, 300px);

    height:
        clamp(180px, 13vw, 230px);

    image-rendering: pixelated;

    filter:
        drop-shadow(
            0 0 20px
            rgba(223, 138, 49, 0.06)
        );

    animation:
        pixelSmileFloat
        4s
        ease-in-out
        infinite;
}


/* =========================================================
   PIXEL EYES
========================================================= */

.pixel-eye {
    position: absolute;

    top: 28%;

    width: 34px;
    height: 34px;

    display: grid;

    grid-template-columns:
        repeat(2, 14px);

    grid-template-rows:
        repeat(2, 14px);

    gap: 4px;

    transform-origin:
        center center;
}

.pixel-eye-left {
    left: 24%;
}

.pixel-eye-right {
    right: 24%;

    animation:
        pixelEyeBlink
        3.2s
        1.1s
        infinite;
}

.pixel-eye span {
    display: block;

    width: 14px;
    height: 14px;

    background:
        rgba(255, 255, 255, 0.92);

    box-shadow:
        0 0 12px
        rgba(255, 255, 255, 0.08);
}


/* =========================================================
   PIXEL MOUTH
========================================================= */

.pixel-mouth {
    position: absolute;

    left: 50%;
    top: 57%;

    width: 150px;
    height: 68px;

    transform:
        translateX(-50%);
}

.pixel-mouth span {
    position: absolute;

    width: 16px;
    height: 16px;

    background: #df8a31;

    box-shadow:
        0 0 13px
        rgba(223, 138, 49, 0.16);
}

/* Ступенчатая улыбка */
.pixel-mouth-1 {
    left: 0;
    top: 0;
}

.pixel-mouth-2 {
    left: 18px;
    top: 18px;
}

.pixel-mouth-3 {
    left: 42px;
    top: 34px;
}

.pixel-mouth-4 {
    left: 67px;
    top: 42px;
}

.pixel-mouth-5 {
    right: 42px;
    top: 34px;
}

.pixel-mouth-6 {
    right: 18px;
    top: 18px;
}

.pixel-mouth-7 {
    right: 0;
    top: 0;
}


/* =========================================================
   PIXEL FACE FRAME — только уголки, без круга
========================================================= */

.pixel-smile::before,
.pixel-smile::after {
    content: "";

    position: absolute;

    width: 34px;
    height: 34px;

    opacity: 0.28;
}

.pixel-smile::before {
    left: 0;
    top: 0;

    border-left:
        2px solid
        rgba(255,255,255,0.44);

    border-top:
        2px solid
        rgba(255,255,255,0.44);
}

.pixel-smile::after {
    right: 0;
    bottom: 0;

    border-right:
        2px solid
        rgba(223,138,49,0.48);

    border-bottom:
        2px solid
        rgba(223,138,49,0.48);
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes pixelEyeBlink {

    0%,
    41%,
    49%,
    100% {
        transform:
            scaleY(1);
    }

    44%,
    46% {
        transform:
            scaleY(0.12);
    }

}

@keyframes pixelSmileFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

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

}


/* Когда smile.js ещё не запущен — пиксельная улыбка скрыта */
.projects-smile-result
.pixel-smile {
    opacity: 0;
}

.projects-smile-terminal.is-smiling
.projects-smile-result
.pixel-smile {
    opacity: 1;

    transition:
        opacity 0.45s ease;
}


@media (max-width: 820px) {

    .pixel-smile {
        width: 205px;
        height: 165px;
    }

    .pixel-eye {
        transform:
            scale(0.88);

        transform-origin:
            center;
    }

    .pixel-mouth {
        transform:
            translateX(-50%)
            scale(0.88);

        transform-origin:
            center top;
    }

}



/* =========================================================
   VIDEO PHILOSOPHY SCREEN
   Эйнштейн на первом экране видео
========================================================= */

.cinema-caption-philosophy .cinema-quote-main {
    max-width: 980px;

    margin:
        28px 0 0;

    padding: 0;

    border: 0;

    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        clamp(22px, 2.15vw, 38px);

    font-weight: 300;

    line-height: 1.28;

    letter-spacing: -0.02em;

    text-wrap: balance;
}

.cinema-caption-philosophy .cinema-quote-author {
    margin-top: 14px;

    color:
        rgba(223, 138, 49, 0.75);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(10px, 0.72vw, 13px);

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.cinema-caption-philosophy .cinema-quote-note {
    max-width: 760px;

    margin-top: 26px;

    color:
        rgba(255, 255, 255, 0.44);

    font-size:
        clamp(15px, 1vw, 18px);

    line-height: 1.7;
}

/* старые стили Эйнштейна можно оставить,
   но ниже подчистим визуально на about panel */
.about-finale .about-finale-lead {
    max-width: 720px;
}

.about-finale .about-finale-note {
    max-width: 760px;
}

@media (max-width: 820px) {

    .cinema-caption-philosophy .cinema-quote-main {
        margin-top: 18px;

        font-size:
            clamp(20px, 5vw, 30px);
    }

    .cinema-caption-philosophy .cinema-quote-note {
        margin-top: 18px;

        font-size:
            14px;
    }

}


/* =========================================================
   S10XX GRID HOVER — CARD GOES OUTSIDE THE BLOCK
========================================================= */

/* Родитель теперь не обрезает hover */
.project-visual {
    position: relative;
    overflow: visible !important;
}

.project-shot-grid {
    overflow: visible !important;
    isolation: isolate;
}

/*
    Важно:
    увеличиваем саму карточку, а не только картинку внутри.
    Тогда она реально выходит за пределы блока.
*/
.project-shot-cell {
    overflow: visible !important;

    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.55s ease,
        border-color 0.55s ease,
        filter 0.55s ease;

    z-index: 1;

    transform-origin: center center;
}

.project-shot-cell img {
    transform: scale(1.01);
    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.55s ease;
}

/*
    Сам блок выезжает наружу.
    Картинку внутри поджимаем мягко,
    чтобы не было слишком агрессивного zoom.
*/
.project-shot-cell:hover {
    transform: scale(1.14);
    z-index: 30;

    border-color:
        rgba(223, 138, 49, 0.28);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(223, 138, 49, 0.18);
}

.project-shot-cell:hover img {
    transform: scale(1.02);

    filter:
        brightness(1.03)
        contrast(1.04);
}

/* Подсветка чуть ярче при hover */
.project-shot-cell:hover::after {
    box-shadow:
        inset 0 0 0 1px rgba(223, 138, 49, 0.38),
        inset 0 0 44px rgba(223, 138, 49, 0.05);
}

/* Чтобы текстовая подпись не уезжала слишком резко */
.project-shot-overlay {
    transition:
        transform 0.55s ease,
        opacity 0.55s ease;
}

.project-shot-cell:hover .project-shot-overlay {
    transform: translateY(-2px);
}

/* На мобильном уменьшаем эффект */
@media (max-width: 980px) {
    .project-shot-cell:hover {
        transform: scale(1.07);
    }
}



/* =========================================================
   S10XX — PROJECT HISTORY / CLEAN LABELS
========================================================= */

.project-history {
    max-width: 520px;

    margin-top: 23px;
    padding-top: 17px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.project-history-label {
    margin-bottom: 10px;

    color: rgba(223, 138, 49, 0.74);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.24em;
}

.project-history p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.40);

    font-size:
        clamp(12px, 0.84vw, 15px);

    line-height: 1.68;
}

/* Старые служебные подсказки больше не нужны */
.project-caption,
.project-shot-hint {
    display: none !important;
}

@media (max-width: 1180px) {
    .project-history {
        margin-top: 17px;
        padding-top: 13px;
    }

    .project-history p {
        font-size: 12px;
        line-height: 1.55;
    }
}

@media (max-width: 820px) {
    .project-history {
        display: none;
    }
}


/* =========================================================
   COMPACT PROJECT CATALOG
   One panel with simple project-name cards.
========================================================= */

/* 4 horizontal panels + 55vh landing hold */
.about-scroll-section {
    height: 455vh !important;
    min-height: 455vh !important;
}

.projects-catalog-panel {
    overflow: visible;
}

.projects-catalog-content {
    width: min(1500px, 88vw);
}

.projects-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 34px);
    width: 100%;
}

.project-card {
    position: relative;
    min-height: clamp(330px, 40vh, 470px);
    padding: clamp(32px, 4vw, 62px);
    overflow: hidden;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: clamp(20px, 1.8vw, 32px);

    background:
        linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)),
        rgba(4,7,9,0.62);

    color: #fff;
    text-align: left;
    cursor: pointer;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 28px 90px rgba(0,0,0,0.28);

    transition:
        transform 0.6s cubic-bezier(0.16,1,0.3,1),
        border-color 0.6s ease,
        background 0.6s ease,
        box-shadow 0.6s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    background:
        radial-gradient(circle at 78% 20%, rgba(223,138,49,0.12), transparent 32%),
        linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.025), transparent 72%);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(223,138,49,0.34);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(4,7,9,0.76);
    box-shadow:
        0 36px 110px rgba(0,0,0,0.40),
        0 0 0 1px rgba(223,138,49,0.07);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card-name {
    position: relative;
    z-index: 2;

    font-size: clamp(66px, 6.2vw, 116px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.project-card-drdent .project-card-name {
    font-size: clamp(62px, 5.4vw, 104px);
}

.project-card-plus {
    position: relative;
    z-index: 2;

    width: 54px;
    height: 54px;
    flex: 0 0 54px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;

    color: #df8a31;
    font-family: Consolas, monospace;
    font-size: 24px;
    font-weight: 300;

    transition:
        transform 0.5s cubic-bezier(0.16,1,0.3,1),
        background 0.5s ease,
        border-color 0.5s ease;
}

.project-card:hover .project-card-plus {
    transform: rotate(90deg);
    border-color: rgba(223,138,49,0.44);
    background: rgba(223,138,49,0.07);
}


/* =========================================================
   PROJECT DETAIL — SAME PAGE OVERLAY
========================================================= */

body.project-detail-open {
    overflow: hidden;
}

.project-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: grid;
    place-items: center;

    padding: clamp(18px, 2.8vw, 48px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.project-detail-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.project-detail-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0,0,0,0.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    cursor: default;
}

.project-detail-window {
    position: relative;
    z-index: 2;

    width: min(1680px, 96vw);
    max-height: min(900px, 92vh);
    min-height: min(760px, 88vh);

    overflow: auto;

    border: 1px solid rgba(255,255,255,0.11);
    border-radius: clamp(20px, 1.7vw, 30px);

    background:
        linear-gradient(135deg, rgba(24,18,15,0.96), rgba(5,8,10,0.97));

    box-shadow:
        0 45px 160px rgba(0,0,0,0.68),
        inset 0 0 0 1px rgba(223,138,49,0.025);

    transform: translateY(26px) scale(0.965);
    opacity: 0;

    transition:
        transform 0.55s cubic-bezier(0.16,1,0.3,1),
        opacity 0.45s ease;
}

.project-detail-overlay.is-open .project-detail-window {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.project-detail-close {
    position: sticky;
    top: 22px;
    float: right;
    margin: 22px 22px 0 0;
    z-index: 30;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 50%;
    background: rgba(6,8,10,0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.project-detail-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1px;
    background: rgba(255,255,255,0.76);
}

.project-detail-close span:first-child {
    transform: translate(-50%,-50%) rotate(45deg);
}

.project-detail-close span:last-child {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.project-detail-panel {
    display: none;

    grid-template-columns:
        minmax(330px, 0.72fr)
        minmax(650px, 1.28fr);

    gap: clamp(36px, 4.5vw, 76px);
    align-items: center;

    padding: clamp(50px, 5vw, 86px);
    padding-top: clamp(68px, 6vw, 100px);
}

.project-detail-panel.is-active {
    display: grid;
}

.project-detail-copy {
    max-width: 540px;
}

.project-detail-title {
    margin: 0 0 24px;

    color: rgba(255,255,255,0.98);
    font-size: clamp(72px, 6.5vw, 126px);
    font-weight: 300;
    line-height: 0.88;
    letter-spacing: -0.06em;
}

.project-detail-title-dent {
    font-size: clamp(68px, 5.5vw, 108px);
}

.project-detail-lead {
    max-width: 520px;
    margin: 0;

    color: rgba(255,255,255,0.72);
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 300;
    line-height: 1.5;
}

.project-detail-history {
    max-width: 530px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(223,138,49,0.25);
}

.project-detail-label {
    margin-bottom: 11px;
    color: rgba(223,138,49,0.78);
    font-family: Consolas, monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.project-detail-history p {
    margin: 0;
    color: rgba(255,255,255,0.43);
    font-size: clamp(13px, 0.9vw, 16px);
    line-height: 1.78;
}

.project-detail-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 27px;
}

.project-detail-tech span {
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 999px;
    color: rgba(255,255,255,0.54);
    background: rgba(0,0,0,0.18);
    font-family: Consolas, monospace;
    font-size: 10px;
}

.project-detail-shots {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    padding: 12px;

    overflow: visible;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    background: rgba(2,5,7,0.58);
}

.project-detail-shot {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 10;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 15px;
    background: rgba(8,10,12,0.76);

    transition:
        transform 0.55s cubic-bezier(0.16,1,0.3,1),
        box-shadow 0.55s ease,
        border-color 0.55s ease;
}

.project-detail-shot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
    filter: brightness(0.92) contrast(1.02);
    transition:
        transform 0.55s cubic-bezier(0.16,1,0.3,1),
        filter 0.55s ease;
}

.project-detail-shot > span {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 3;

    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: rgba(255,255,255,0.88);
    font-size: 11px;
}

.project-detail-shot:hover {
    z-index: 20;
    transform: scale(1.11);
    border-color: rgba(223,138,49,0.30);
    box-shadow: 0 25px 70px rgba(0,0,0,0.52);
}

.project-detail-shot:hover img {
    transform: scale(1.02);
    filter: brightness(1.03) contrast(1.04);
}


@media (max-width: 1050px) {

    .project-detail-panel {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .project-detail-copy {
        max-width: 780px;
    }

    .project-detail-window {
        min-height: auto;
    }

}

@media (max-width: 820px) {

    .about-scroll-section {
        height: 495vh !important;
        min-height: 495vh !important;
    }

    .projects-catalog-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 210px;
    }

    .project-card-name,
    .project-card-drdent .project-card-name {
        font-size: clamp(54px, 15vw, 84px);
    }

    .project-detail-overlay {
        padding: 10px;
    }

    .project-detail-window {
        width: 100%;
        max-height: 96vh;
        border-radius: 18px;
    }

    .project-detail-panel {
        padding: 58px 22px 28px;
    }

    .project-detail-title,
    .project-detail-title-dent {
        font-size: clamp(54px, 14vw, 82px);
    }

    .project-detail-shots {
        grid-template-columns: 1fr;
    }

    .project-detail-shot:hover {
        transform: scale(1.035);
    }

}


/* =========================================================
   SMALL PROJECT CARDS — PRODUCT-CARD STYLE
========================================================= */

.projects-catalog-content {
    width: min(1180px, 88vw);
}

.projects-catalog-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 320px)
        );

    justify-content: center;

    gap:
        clamp(18px, 2vw, 28px);

    width: 100%;
}

.project-card {
    min-height: 0 !important;
    height: auto;

    padding: 0 !important;

    display: block !important;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(4, 7, 9, 0.78);

    text-align: left;
}

.project-card:hover {
    transform:
        translateY(-6px)
        scale(1.015);
}

.project-card::before {
    display: none;
}

.project-card-preview {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background:
        rgba(10, 12, 15, 0.9);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);
}

.project-card-preview::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.22) 100%
        );

    pointer-events: none;
}

.project-card-preview img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform:
        scale(1.01);

    filter:
        brightness(0.82)
        contrast(1.03);

    transition:
        transform
            0.65s
            cubic-bezier(0.16, 1, 0.3, 1),
        filter
            0.65s
            ease;
}

.project-card:hover
.project-card-preview img {
    transform:
        scale(1.06);

    filter:
        brightness(0.96)
        contrast(1.04);
}

.project-card-footer {
    min-height: 76px;

    padding:
        16px 18px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 14px;
}

.project-card-name {
    font-size:
        clamp(30px, 2.15vw, 42px) !important;

    font-weight: 300;

    line-height: 1;

    letter-spacing:
        -0.045em;
}

.project-card-drdent
.project-card-name {
    font-size:
        clamp(28px, 2vw, 39px) !important;
}

.project-card-plus {
    width: 38px !important;
    height: 38px !important;

    flex:
        0 0 38px !important;

    font-size:
        19px !important;
}


/* =========================================================
   PROJECT DETAIL — MAIN SCREEN FIRST
========================================================= */

.project-detail-shots {
    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 12px;
}

.project-detail-shot-main {
    grid-column:
        1 / -1;

    aspect-ratio:
        16 / 7.2 !important;
}

.project-detail-shot:not(
    .project-detail-shot-main
) {
    aspect-ratio:
        16 / 10;
}

.project-detail-shot-main img {
    object-position:
        top center;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .projects-catalog-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .project-detail-shots {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .project-detail-shot-main {
        grid-column:
            1 / -1;
    }

}

@media (max-width: 560px) {

    .projects-catalog-grid {
        grid-template-columns:
            1fr;
    }

    .project-card {
        max-width:
            340px;

        margin:
            0 auto;

        width: 100%;
    }

    .project-detail-shots {
        grid-template-columns:
            1fr !important;
    }

    .project-detail-shot-main {
        grid-column:
            auto;

        aspect-ratio:
            16 / 10 !important;
    }

}



/* =========================================================
   REMSTANDART — THIRD COMPACT PROJECT
========================================================= */

.project-card-remstandart
.project-card-name {
    font-size:
        clamp(25px, 1.75vw, 34px) !important;

    letter-spacing:
        -0.035em;
}

.project-detail-title-remstandart {
    font-size:
        clamp(58px, 4.8vw, 92px);

    letter-spacing:
        -0.055em;
}

/*
    Три компактные карточки помещаются в один ряд
    на широком экране.
*/
@media (min-width: 901px) {

    .projects-catalog-content {
        width:
            min(1080px, 88vw);
    }

    .projects-catalog-grid {
        grid-template-columns:
            repeat(3, minmax(240px, 310px));

        justify-content:
            center;
    }

}

@media (max-width: 820px) {

    .project-detail-title-remstandart {
        font-size:
            clamp(46px, 11vw, 72px);
    }

}



/* =========================================================
   SKILLS — MINING EXPERIENCE
========================================================= */

.skills-mining-section {
    position: relative;
    min-height: 100vh;
    padding: 105px 0 95px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 72% 47%,
            rgba(223, 138, 49, 0.07),
            transparent 27%
        ),
        #020304;
}

.skills-mining-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 34px 34px;
}

.skills-mining-inner {
    position: relative;
    z-index: 2;

    width: min(1540px, 88vw);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(350px, 0.70fr)
        minmax(720px, 1.30fr);

    gap: clamp(48px, 6vw, 105px);
    align-items: center;
}

.skills-mining-heading {
    max-width: 620px;
}

.skills-mining-title {
    margin: 0;

    color: rgba(255,255,255,0.97);

    font-size:
        clamp(52px, 4.6vw, 84px);

    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.skills-mining-subtitle {
    margin: 24px 0 0;

    color: #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(14px, 1vw, 18px);

    letter-spacing: 0.07em;
}

.skills-mining-note {
    max-width: 510px;
    margin: 18px 0 0;

    color: rgba(255,255,255,0.34);

    font-size:
        clamp(12px, 0.86vw, 15px);

    line-height: 1.75;
}

.skills-mining-workspace {
    min-width: 0;

    display: grid;
    grid-template-columns:
        minmax(430px, 1.08fr)
        minmax(270px, 0.92fr);

    gap: 20px;
}

.skill-forge,
.skills-inventory {
    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 20px;

    background:
        rgba(3,6,8,0.64);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 30px 90px rgba(0,0,0,0.34);
}


/* =========================================================
   FORGE
========================================================= */

.skill-forge {
    min-height: 570px;
    padding: 27px 28px 23px;

    display: flex;
    flex-direction: column;
}

.skill-forge-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.skill-forge-label,
.skills-inventory-label {
    margin-bottom: 8px;

    color: rgba(223,138,49,0.62);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 8px;

    letter-spacing: 0.25em;
}

.skill-forge-name {
    color: rgba(255,255,255,0.95);

    font-size:
        clamp(28px, 2.2vw, 40px);

    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.skill-forge-percent {
    color: rgba(255,255,255,0.31);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(16px, 1.1vw, 21px);
}


/* =========================================================
   BLOCK
========================================================= */

.skill-forge-stage {
    position: relative;
    flex: 1;

    min-height: 345px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-block {
    position: relative;

    width: clamp(184px, 13vw, 230px);
    aspect-ratio: 1;

    padding: 9px;

    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    gap: 2px;

    border:
        1px solid rgba(255,255,255,0.12);

    background:
        rgba(5,8,10,0.92);

    box-shadow:
        0 28px 70px rgba(0,0,0,0.44),
        inset 0 0 50px rgba(255,255,255,0.025);

    transform: rotate(-2deg);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.skill-block-pixel {
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.14),
            rgba(255,255,255,0.042)
        );

    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        background 0.16s ease;
}

.skill-block-pixel:nth-child(3n) {
    background: rgba(255,255,255,0.09);
}

.skill-block-pixel:nth-child(7n) {
    background: rgba(255,255,255,0.055);
}

.skill-block-pixel.is-cracked {
    background:
        rgba(223,138,49,0.48);

    box-shadow:
        0 0 10px rgba(223,138,49,0.12);
}

.skill-block-pixel.is-broken {
    opacity: 0.05;

    transform:
        scale(0.48)
        rotate(12deg);

    background: #df8a31;
}

.skill-block.is-hit {
    animation:
        skillBlockHit 0.16s ease;
}

.skill-block.is-changing {
    opacity: 0;

    transform:
        scale(0.78)
        rotate(2deg);
}


/* =========================================================
   PICKAXE
========================================================= */

.skill-pickaxe {
    position: absolute;
    z-index: 8;

    top: 44px;
    right: clamp(30px, 3vw, 58px);

    width: 118px;
    height: 128px;

    opacity: 0;

    transform:
        rotate(-28deg);

    transform-origin:
        75px 101px;

    pointer-events: none;

    transition:
        opacity 0.22s ease;
}

.skill-pickaxe.is-visible {
    opacity: 1;
}

.skill-pickaxe.is-swinging {
    animation:
        skillPickaxeSwing
        0.27s
        cubic-bezier(.45,0,.55,1);
}

.skill-pickaxe-handle {
    position: absolute;

    left: 59px;
    top: 36px;

    width: 9px;
    height: 90px;

    border-radius: 2px;

    background:
        linear-gradient(
            90deg,
            #664124,
            #a76b38,
            #58361f
        );

    transform: rotate(-6deg);
}

.skill-pickaxe-head {
    position: absolute;

    left: 17px;
    top: 21px;

    width: 91px;
    height: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.88),
            rgba(255,255,255,0.37)
        );

    clip-path:
        polygon(
            0 33%,
            38% 0,
            100% 25%,
            100% 68%,
            38% 52%,
            0 100%,
            9% 57%
        );
}


/* =========================================================
   HIT PARTICLES
========================================================= */

.skill-hit-particles {
    position: absolute;
    left: 54%;
    top: 47%;

    width: 1px;
    height: 1px;

    pointer-events: none;
}

.skill-hit-particle {
    position: absolute;

    width: 6px;
    height: 6px;

    opacity: 0;

    background: #df8a31;

    animation:
        skillParticleFly
        0.52s
        ease-out
        forwards;
}


/* =========================================================
   METER + TERMINAL
========================================================= */

.skill-meter-track {
    width: 100%;
    height: 5px;

    overflow: hidden;

    background:
        rgba(255,255,255,0.065);
}

.skill-meter-fill {
    width: 100%;
    height: 100%;

    transform: scaleX(0);
    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(223,138,49,0.56),
            #df8a31
        );

    box-shadow:
        0 0 18px rgba(223,138,49,0.17);

    transition:
        transform 0.2s ease;
}

.skill-meter-caption {
    margin-top: 8px;

    color: rgba(255,255,255,0.18);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 8px;
    letter-spacing: 0.23em;
}

.skill-terminal {
    min-height: 45px;

    margin-top: 19px;
    padding: 0 13px;

    display: flex;
    align-items: center;
    gap: 10px;

    border:
        1px solid rgba(255,255,255,0.055);

    background:
        rgba(0,0,0,0.17);

    color:
        rgba(255,255,255,0.28);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 10px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.skill-terminal > span:first-child {
    color: #df8a31;
}

.skill-terminal.is-error {
    color: rgba(255,151,121,0.84);
    border-color: rgba(223,95,49,0.23);
    background: rgba(100,28,15,0.10);
}

.skill-terminal.is-fixing {
    color: rgba(223,138,49,0.82);
}

.skill-terminal.is-fixed {
    color: rgba(151,211,166,0.72);
}


/* =========================================================
   INVENTORY
========================================================= */

.skills-inventory {
    min-height: 570px;
    padding: 27px 20px;
}

.skills-inventory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.skill-inventory-item {
    min-height: 118px;
    padding: 14px 11px;

    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;

    opacity: 0.16;

    border:
        1px solid rgba(255,255,255,0.05);

    background:
        rgba(255,255,255,0.015);

    transform: translateY(6px);

    transition:
        opacity 0.45s ease,
        transform 0.45s
            cubic-bezier(.16,1,.3,1),
        border-color 0.45s ease,
        background 0.45s ease;
}

.skill-inventory-item.is-complete {
    opacity: 1;
    transform: translateY(0);

    border-color:
        rgba(223,138,49,0.14);

    background:
        rgba(223,138,49,0.025);
}

.skill-inventory-mini {
    width: 42px;
    height: 42px;
    padding: 4px;

    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-template-rows: repeat(5,1fr);
    gap: 1px;

    border:
        1px solid rgba(255,255,255,0.07);

    background:
        rgba(255,255,255,0.022);
}

.skill-inventory-pixel {
    background:
        rgba(255,255,255,0.19);
}

.skill-inventory-pixel.is-damaged {
    opacity: 0.09;
    background: #df8a31;
}

.skill-inventory-name {
    color:
        rgba(255,255,255,0.73);

    font-size:
        clamp(10px,0.73vw,13px);

    line-height: 1.25;
}

.skill-inventory-percent {
    margin-top: 5px;

    color:
        rgba(223,138,49,0.62);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 9px;
}


/* =========================================================
   FLYING FINISHED BLOCK
========================================================= */

.skill-flying-block {
    position: fixed;
    z-index: 9999;

    width: 54px;
    height: 54px;
    padding: 5px;

    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-template-rows: repeat(5,1fr);
    gap: 1px;

    pointer-events: none;

    border:
        1px solid rgba(223,138,49,0.28);

    background:
        rgba(5,8,10,0.96);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.46);

    transition:
        left 0.62s
            cubic-bezier(.16,1,.3,1),
        top 0.62s
            cubic-bezier(.16,1,.3,1),
        width 0.62s
            cubic-bezier(.16,1,.3,1),
        height 0.62s
            cubic-bezier(.16,1,.3,1),
        opacity 0.2s ease;
}

.skill-flying-block span {
    background:
        rgba(255,255,255,0.20);
}

.skill-flying-block span.is-damaged {
    opacity: 0.08;
    background: #df8a31;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes skillPickaxeSwing {
    0% {
        transform: rotate(-28deg);
    }

    48% {
        transform: rotate(27deg);
    }

    68% {
        transform: rotate(17deg);
    }

    100% {
        transform: rotate(-28deg);
    }
}

@keyframes skillBlockHit {
    0%,100% {
        transform:
            rotate(-2deg)
            translate(0,0);
    }

    42% {
        transform:
            rotate(-1deg)
            translate(-4px,3px);
    }

    72% {
        transform:
            rotate(-3deg)
            translate(3px,-2px);
    }
}

@keyframes skillParticleFly {
    0% {
        opacity: 1;
        transform:
            translate(0,0)
            scale(1);
    }

    100% {
        opacity: 0;
        transform:
            translate(
                var(--px),
                var(--py)
            )
            rotate(var(--pr))
            scale(0.3);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .skills-mining-inner {
        grid-template-columns:
            minmax(300px, 0.62fr)
            minmax(660px, 1.38fr);

        gap: 38px;
    }

    .skills-mining-workspace {
        grid-template-columns:
            minmax(390px, 1fr)
            minmax(235px, 0.88fr);
    }
}

@media (max-width: 920px) {
    .skills-mining-inner {
        width: min(92vw, 760px);

        grid-template-columns: 1fr;

        gap: 42px;
    }

    .skills-mining-workspace {
        grid-template-columns: 1fr;
    }

    .skill-forge,
    .skills-inventory {
        min-height: 510px;
    }
}

@media (max-width: 560px) {
    .skills-mining-section {
        padding:
            85px 0 70px;
    }

    .skills-mining-title {
        font-size:
            clamp(40px, 12vw, 60px);
    }

    .skill-forge {
        min-height: 490px;
        padding:
            22px 18px;
    }

    .skill-forge-stage {
        min-height: 285px;
    }

    .skills-inventory {
        min-height: auto;
    }

    .skills-inventory-grid {
        grid-template-columns: 1fr;
    }

    .skill-inventory-item {
        min-height: 82px;
    }
}



/* =========================================================
   ORIGINAL SOUNDTRACK
========================================================= */

.soundtrack-section {
    position: relative;

    min-height: 100vh;

    padding:
        clamp(90px, 9vh, 135px)
        0
        clamp(80px, 8vh, 120px);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 46%,
            rgba(223,138,49,0.085),
            transparent 28%
        ),
        radial-gradient(
            circle at 78% 48%,
            rgba(255,255,255,0.025),
            transparent 40%
        ),
        #010203;
}

.soundtrack-section::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size:
        45px 45px;

    opacity: 0.35;
}

.soundtrack-inner {
    position: relative;
    z-index: 2;

    width:
        min(1460px, 88vw);

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(340px, 0.75fr)
        minmax(560px, 1.25fr);

    align-items: center;

    gap:
        clamp(50px, 8vw, 130px);
}


/* =========================================================
   COPY
========================================================= */

.soundtrack-copy {
    max-width:
        560px;
}

.soundtrack-title {
    margin:
        0;

    color:
        rgba(255,255,255,0.96);

    font-size:
        clamp(54px, 5vw, 92px);

    font-weight:
        300;

    line-height:
        0.91;

    letter-spacing:
        -0.058em;
}

.soundtrack-subtitle {
    margin:
        26px 0 0;

    color:
        #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        clamp(13px, 0.95vw, 17px);

    letter-spacing:
        0.065em;
}

.soundtrack-description {
    max-width:
        470px;

    margin:
        19px 0 0;

    color:
        rgba(255,255,255,0.34);

    font-size:
        clamp(12px, 0.86vw, 15px);

    line-height:
        1.75;
}

.soundtrack-system-volume {
    margin-top:
        29px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    color:
        rgba(255,255,255,0.22);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        8px;

    letter-spacing:
        0.19em;
}

.soundtrack-system-dot {
    width:
        5px;

    height:
        5px;

    border-radius:
        50%;

    background:
        #df8a31;

    box-shadow:
        0 0 11px
        rgba(223,138,49,0.48);
}


/* =========================================================
   PLAYER
========================================================= */

.soundtrack-player {
    --energy: 0;

    position: relative;

    width:
        min(650px, 100%);

    margin:
        0 auto;

    padding:
        28px
        clamp(20px, 3vw, 40px)
        25px;

    border:
        1px solid
        rgba(255,255,255,0.07);

    border-radius:
        26px;

    background:
        linear-gradient(
            145deg,
            rgba(12,15,17,0.76),
            rgba(2,4,5,0.84)
        );

    box-shadow:
        0 44px 120px
        rgba(0,0,0,0.42);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}

.soundtrack-player::before {
    content: "";

    position: absolute;

    inset:
        0;

    border-radius:
        inherit;

    pointer-events:
        none;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(223,138,49,0.055),
            transparent 46%
        );
}


/* =========================================================
   RECORD ZONE / SOUND FROM RECORD
========================================================= */

.soundtrack-record-zone {
    position:
        relative;

    min-height:
        clamp(360px, 43vw, 520px);

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    isolation:
        isolate;
}

.soundtrack-emission {
    position:
        absolute;

    left:
        50%;

    top:
        50%;

    width:
        clamp(260px, 31vw, 390px);

    height:
        clamp(260px, 31vw, 390px);

    transform:
        translate(-50%, -50%);

    pointer-events:
        none;
}

.soundtrack-ring {
    position:
        absolute;

    inset:
        0;

    border:
        1px solid
        rgba(223,138,49,0.25);

    border-radius:
        50%;

    opacity:
        calc(
            0.025 +
            var(--energy) * 0.23
        );

    transform:
        scale(
            calc(
                1 +
                var(--energy) * 0.09
            )
        );

    transition:
        transform 0.08s linear,
        opacity 0.08s linear;
}

.soundtrack-ring-2 {
    inset:
        -28px;

    opacity:
        calc(
            0.018 +
            var(--energy) * 0.15
        );

    transform:
        scale(
            calc(
                1 +
                var(--energy) * 0.13
            )
        );
}

.soundtrack-ring-3 {
    inset:
        -58px;

    border-color:
        rgba(255,255,255,0.08);

    opacity:
        calc(
            0.012 +
            var(--energy) * 0.09
        );

    transform:
        scale(
            calc(
                1 +
                var(--energy) * 0.17
            )
        );
}


/* =========================================================
   RECORD
========================================================= */

.soundtrack-record {
    position:
        relative;

    z-index:
        5;

    width:
        clamp(250px, 29vw, 365px);

    aspect-ratio:
        1;

    padding:
        0;

    border:
        1px solid
        rgba(255,255,255,0.12);

    border-radius:
        50%;

    overflow:
        visible;

    background:
        radial-gradient(
            circle at 50% 50%,
            #101214 0 8%,
            #050607 8% 19%,
            #111315 19% 20%,
            #030405 20% 100%
        );

    box-shadow:
        0 28px 80px
        rgba(0,0,0,0.56),
        inset 0 0 60px
        rgba(255,255,255,0.035),
        0 0
        calc(12px + var(--energy) * 30px)
        rgba(223,138,49,0.07);

    cursor:
        grab;

    touch-action:
        none;

    user-select:
        none;

    -webkit-user-select:
        none;

    transform:
        rotate(var(--record-angle, 0deg));

    will-change:
        transform;
}

.soundtrack-record:active {
    cursor:
        grabbing;
}

.soundtrack-record::before {
    content: "";

    position:
        absolute;

    inset:
        0;

    border-radius:
        50%;

    pointer-events:
        none;

    background:
        conic-gradient(
            from 20deg,
            rgba(255,255,255,0.03),
            transparent 14%,
            rgba(255,255,255,0.045) 27%,
            transparent 43%,
            rgba(223,138,49,0.035) 67%,
            transparent 82%
        );

    mix-blend-mode:
        screen;
}

.soundtrack-record-grooves {
    position:
        absolute;

    inset:
        9%;

    border-radius:
        50%;

    background:
        repeating-radial-gradient(
            circle at center,
            transparent 0 4px,
            rgba(255,255,255,0.055)
                4.5px 5px,
            transparent
                5.5px 8px
        );

    opacity:
        0.78;
}

.soundtrack-record-label {
    position:
        absolute;

    z-index:
        3;

    left:
        50%;

    top:
        50%;

    width:
        43%;

    aspect-ratio:
        1;

    transform:
        translate(-50%, -50%);

    border-radius:
        50%;

    overflow:
        hidden;

    border:
        1px solid
        rgba(255,255,255,0.16);

    box-shadow:
        0 0 0 7px
        rgba(0,0,0,0.42);
}

.soundtrack-record-label img {
    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    pointer-events:
        none;

    user-select:
        none;
}

.soundtrack-record-label-shade {
    position:
        absolute;

    inset:
        0;

    background:
        linear-gradient(
            145deg,
            rgba(0,0,0,0.04),
            rgba(0,0,0,0.28)
        );
}

.soundtrack-record-hole {
    position:
        absolute;

    z-index:
        6;

    left:
        50%;

    top:
        50%;

    width:
        12px;

    height:
        12px;

    transform:
        translate(-50%, -50%);

    border:
        3px solid
        rgba(0,0,0,0.78);

    border-radius:
        50%;

    background:
        #df8a31;

    box-shadow:
        0 0 16px
        rgba(223,138,49,0.44);
}

.soundtrack-record-status {
    position:
        absolute;

    z-index:
        8;

    left:
        50%;

    bottom:
        8.5%;

    transform:
        translateX(-50%);

    padding:
        7px 12px;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius:
        999px;

    background:
        rgba(0,0,0,0.66);

    color:
        rgba(255,255,255,0.50);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        7px;

    letter-spacing:
        0.23em;

    opacity:
        0;

    transition:
        opacity 0.2s ease;
}

.soundtrack-record:hover
.soundtrack-record-status,
.soundtrack-record.is-dragging
.soundtrack-record-status {
    opacity:
        1;
}

.soundtrack-record.is-dragging
.soundtrack-record-status {
    color:
        #df8a31;
}


/* =========================================================
   FLOATING MUSIC PARTICLES
========================================================= */

.soundtrack-notes {
    position:
        absolute;

    inset:
        -70px;

    pointer-events:
        none;

    overflow:
        visible;
}

.soundtrack-note {
    position:
        absolute;

    left:
        50%;

    top:
        50%;

    color:
        rgba(223,138,49,0.67);

    font-family:
        Georgia,
        serif;

    font-size:
        var(--note-size, 18px);

    text-shadow:
        0 0 16px
        rgba(223,138,49,0.23);

    opacity:
        0;

    animation:
        soundtrackNoteFloat
        var(--note-time, 2.2s)
        ease-out
        forwards;
}


/* =========================================================
   TRACK INFO
========================================================= */

.soundtrack-track-info {
    position:
        relative;

    z-index:
        3;

    display:
        flex;

    align-items:
        flex-end;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        5px 2px 0;
}

.soundtrack-track-kicker {
    margin-bottom:
        5px;

    color:
        rgba(223,138,49,0.52);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        8px;

    letter-spacing:
        0.25em;
}

.soundtrack-track-name {
    color:
        rgba(255,255,255,0.88);

    font-size:
        clamp(25px, 2vw, 34px);

    font-weight:
        300;

    letter-spacing:
        -0.035em;
}

.soundtrack-time {
    padding-bottom:
        4px;

    color:
        rgba(255,255,255,0.30);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        10px;

    white-space:
        nowrap;
}

.soundtrack-time-divider {
    margin:
        0 5px;

    color:
        rgba(223,138,49,0.42);
}


/* =========================================================
   LIVE AUDIO LINES
========================================================= */

.soundtrack-wave-wrap {
    position:
        relative;

    z-index:
        3;

    height:
        95px;

    margin-top:
        19px;

    overflow:
        hidden;

    border-top:
        1px solid
        rgba(255,255,255,0.055);

    border-bottom:
        1px solid
        rgba(255,255,255,0.055);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.008),
            transparent
        );
}

.soundtrack-wave {
    display:
        block;

    width:
        100%;

    height:
        100%;
}

.soundtrack-wave-center {
    position:
        absolute;

    left:
        50%;

    top:
        17px;

    bottom:
        17px;

    width:
        1px;

    background:
        rgba(223,138,49,0.52);

    box-shadow:
        0 0 12px
        rgba(223,138,49,0.18);

    pointer-events:
        none;
}

.soundtrack-hint {
    position:
        relative;

    z-index:
        3;

    margin-top:
        14px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        12px;

    color:
        rgba(255,255,255,0.16);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        7px;

    letter-spacing:
        0.17em;
}

.soundtrack-hint > span {
    width:
        3px;

    height:
        3px;

    border-radius:
        50%;

    background:
        #df8a31;

    opacity:
        0.56;
}


/* =========================================================
   SOUNDTRACK ANIMATION
========================================================= */

@keyframes soundtrackNoteFloat {

    0% {
        opacity:
            0;

        transform:
            translate(-50%, -50%)
            scale(0.55)
            rotate(0deg);
    }

    15% {
        opacity:
            0.82;
    }

    100% {
        opacity:
            0;

        transform:
            translate(
                calc(-50% + var(--note-x)),
                calc(-50% + var(--note-y))
            )
            scale(1.14)
            rotate(var(--note-rotate));
    }

}


/* =========================================================
   SOUNDTRACK RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .soundtrack-inner {
        width:
            min(92vw, 760px);

        grid-template-columns:
            1fr;

        gap:
            52px;
    }

    .soundtrack-copy {
        max-width:
            650px;
    }

    .soundtrack-title {
        font-size:
            clamp(48px, 10vw, 80px);
    }

    .soundtrack-player {
        width:
            min(650px, 100%);
    }

}

@media (max-width: 560px) {

    .soundtrack-section {
        padding:
            80px 0 65px;
    }

    .soundtrack-player {
        padding:
            20px 16px;
    }

    .soundtrack-record-zone {
        min-height:
            330px;
    }

    .soundtrack-record {
        width:
            min(265px, 74vw);
    }

    .soundtrack-track-info {
        align-items:
            center;
    }

    .soundtrack-wave-wrap {
        height:
            78px;
    }

    .soundtrack-hint {
        gap:
            7px;

        font-size:
            6px;

        letter-spacing:
            0.11em;
    }

}



/* =========================================================
   SOUNDTRACK — CONTACTS + COMPACT RIGHT PLAYER
========================================================= */

.soundtrack-inner {
    grid-template-columns:
        minmax(360px, 0.92fr)
        minmax(430px, 0.78fr) !important;

    gap:
        clamp(70px, 9vw, 150px) !important;
}

.soundtrack-player {
    width:
        min(520px, 100%) !important;

    justify-self:
        end;

    padding:
        21px
        clamp(17px, 2vw, 28px)
        20px !important;

    border-radius:
        22px !important;
}

.soundtrack-record-zone {
    min-height:
        clamp(295px, 32vw, 390px) !important;
}

.soundtrack-record {
    width:
        clamp(220px, 23vw, 305px) !important;
}

.soundtrack-track-name {
    font-size:
        clamp(22px, 1.7vw, 30px) !important;
}

.soundtrack-wave-wrap {
    height:
        76px !important;
}

.soundtrack-description,
.soundtrack-system-volume {
    display:
        none !important;
}


/* =========================================================
   SOCIAL / CONTACT LINKS
========================================================= */

.soundtrack-contact-block {
    width:
        min(470px, 100%);

    margin-top:
        42px;
}

.soundtrack-contact-label {
    margin-bottom:
        12px;

    color:
        rgba(223,138,49,0.48);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        8px;

    letter-spacing:
        0.26em;
}

.soundtrack-contact-list {
    display:
        grid;

    gap:
        9px;
}

.soundtrack-contact-link {
    min-height:
        68px;

    padding:
        11px 15px;

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    border:
        1px solid
        rgba(255,255,255,0.065);

    border-radius:
        14px;

    background:
        rgba(255,255,255,0.018);

    color:
        inherit;

    text-decoration:
        none;

    transition:
        transform 0.28s
            cubic-bezier(.16,1,.3,1),
        border-color 0.28s ease,
        background 0.28s ease;
}

.soundtrack-contact-link:hover {
    transform:
        translateX(6px);

    border-color:
        rgba(223,138,49,0.22);

    background:
        rgba(223,138,49,0.025);
}

.soundtrack-contact-icon {
    width:
        39px;

    height:
        39px;

    flex:
        0 0 39px;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid
        rgba(255,255,255,0.075);

    border-radius:
        11px;

    background:
        rgba(255,255,255,0.02);
}

.soundtrack-contact-icon svg {
    width:
        21px;

    height:
        21px;

    overflow:
        visible;
}

.soundtrack-contact-icon svg * {
    fill:
        none;

    stroke:
        rgba(255,255,255,0.78);

    stroke-width:
        1.6;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    transition:
        stroke 0.25s ease,
        fill 0.25s ease;
}

.soundtrack-contact-icon svg path {
    fill:
        rgba(255,255,255,0.78);

    stroke:
        none;
}

.soundtrack-contact-icon svg .fill-dot {
    fill:
        rgba(255,255,255,0.78);

    stroke:
        none;
}

.soundtrack-contact-link:hover
.soundtrack-contact-icon svg * {
    stroke:
        #df8a31;
}

.soundtrack-contact-link:hover
.soundtrack-contact-icon svg path,
.soundtrack-contact-link:hover
.soundtrack-contact-icon svg .fill-dot {
    fill:
        #df8a31;
}

.soundtrack-contact-copy {
    min-width:
        0;

    display:
        grid;

    gap:
        5px;
}

.soundtrack-contact-name {
    color:
        rgba(255,255,255,0.82);

    font-size:
        14px;
}

.soundtrack-contact-value {
    color:
        rgba(255,255,255,0.22);

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        8px;

    letter-spacing:
        0.09em;
}


/* No fake motion before user starts playback */
.soundtrack-player:not(.is-user-playing)
.soundtrack-ring {
    opacity:
        0 !important;
}

.soundtrack-player:not(.is-user-playing)
.soundtrack-note {
    display:
        none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .soundtrack-inner {
        grid-template-columns:
            1fr !important;

        gap:
            48px !important;
    }

    .soundtrack-player {
        width:
            min(520px, 100%) !important;

        justify-self:
            center;
    }

    .soundtrack-contact-block {
        margin-top:
            32px;
    }

}

@media (max-width: 560px) {

    .soundtrack-contact-link {
        min-height:
            62px;
    }

    .soundtrack-record-zone {
        min-height:
            300px !important;
    }

    .soundtrack-record {
        width:
            min(245px, 72vw) !important;
    }

}



/* =========================================================
   REAL TURNTABLE TONEARM
========================================================= */

.soundtrack-record-zone {
    overflow:
        visible !important;
}

.soundtrack-tonearm {
    --tonearm-angle:
        -18deg;

    position:
        absolute;

    z-index:
        12;

    top:
        13%;

    right:
        clamp(2px, 1.4vw, 18px);

    width:
        clamp(118px, 10vw, 155px);

    height:
        clamp(190px, 17vw, 245px);

    pointer-events:
        none;

    filter:
        drop-shadow(
            0 12px 18px
            rgba(0,0,0,0.48)
        );
}

.soundtrack-tonearm-base {
    position:
        absolute;

    right:
        2px;

    top:
        0;

    width:
        clamp(48px, 4vw, 61px);

    aspect-ratio:
        1;

    border:
        1px solid
        rgba(255,255,255,0.13);

    border-radius:
        50%;

    background:
        radial-gradient(
            circle at 42% 36%,
            rgba(255,255,255,0.15),
            rgba(255,255,255,0.035) 24%,
            rgba(3,5,6,0.96) 58%,
            #010203
        );

    box-shadow:
        inset 0 0 0 6px
        rgba(255,255,255,0.018),
        0 8px 24px
        rgba(0,0,0,0.42);
}

.soundtrack-tonearm-base::before {
    content:
        "";

    position:
        absolute;

    inset:
        35%;

    border-radius:
        50%;

    background:
        #df8a31;

    opacity:
        0.45;

    box-shadow:
        0 0 11px
        rgba(223,138,49,0.25);
}

.soundtrack-tonearm-group {
    position:
        absolute;

    right:
        calc(
            clamp(48px, 4vw, 61px) / 2
        );

    top:
        calc(
            clamp(48px, 4vw, 61px) / 2
        );

    width:
        clamp(118px, 10vw, 155px);

    height:
        clamp(178px, 15vw, 220px);

    transform-origin:
        100% 0;

    /*
        PAUSED:
        arm lifts and parks to the right.
    */
    transform:
        rotate(18deg)
        translateY(-7px);

    transition:
        transform
        0.85s
        cubic-bezier(.16,1,.3,1);
}

.soundtrack-player.is-user-playing
.soundtrack-tonearm-group {
    /*
        PLAY:
        JS updates --tonearm-angle as the song progresses.
    */
    transform:
        rotate(
            var(--tonearm-angle)
        )
        translateY(0);
}

.soundtrack-tonearm-arm {
    position:
        absolute;

    right:
        0;

    top:
        -3px;

    width:
        7px;

    height:
        84%;

    border-radius:
        999px;

    transform-origin:
        top center;

    transform:
        rotate(42deg);

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.31),
            rgba(235,235,235,0.84) 46%,
            rgba(255,255,255,0.22)
        );

    box-shadow:
        0 0 0 1px
        rgba(0,0,0,0.36);
}

.soundtrack-tonearm-arm::after {
    content:
        "";

    position:
        absolute;

    left:
        50%;

    bottom:
        -5%;

    width:
        8px;

    height:
        27%;

    transform:
        translateX(-50%)
        rotate(-13deg);

    transform-origin:
        top center;

    border-radius:
        999px;

    background:
        inherit;
}

.soundtrack-tonearm-head {
    position:
        absolute;

    left:
        13%;

    bottom:
        3%;

    width:
        clamp(26px, 2vw, 34px);

    height:
        clamp(38px, 3vw, 48px);

    border-radius:
        6px 6px 11px 11px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.23),
            rgba(17,20,22,0.96) 38%,
            rgba(3,4,5,0.98)
        );

    border:
        1px solid
        rgba(255,255,255,0.11);

    transform:
        rotate(-14deg)
        translateY(-7px);

    transition:
        transform
        0.48s
        cubic-bezier(.16,1,.3,1);
}

.soundtrack-player.is-user-playing
.soundtrack-tonearm-head {
    /*
        Needle visibly lowers when playback starts.
    */
    transform:
        rotate(-14deg)
        translateY(0);
}

.soundtrack-tonearm-needle {
    position:
        absolute;

    left:
        50%;

    bottom:
        -12px;

    width:
        1px;

    height:
        14px;

    background:
        linear-gradient(
            rgba(255,255,255,0.8),
            rgba(223,138,49,0.8)
        );

    transform:
        translateX(-50%);

    opacity:
        0.82;
}


/* =========================================================
   BIG CENTER PLAY / PAUSE CONTROL
========================================================= */

.soundtrack-record-status {
    left:
        50% !important;

    top:
        50% !important;

    bottom:
        auto !important;

    width:
        clamp(76px, 7vw, 96px) !important;

    height:
        clamp(76px, 7vw, 96px) !important;

    padding:
        0 !important;

    display:
        grid !important;

    place-items:
        center;

    transform:
        translate(-50%, -50%) !important;

    border:
        1px solid
        rgba(255,255,255,0.20) !important;

    border-radius:
        50% !important;

    background:
        rgba(0,0,0,0.43) !important;

    color:
        rgba(255,255,255,0.82) !important;

    font-family:
        Arial,
        sans-serif !important;

    font-size:
        clamp(28px, 2.5vw, 40px) !important;

    font-weight:
        300 !important;

    letter-spacing:
        0 !important;

    line-height:
        1 !important;

    text-indent:
        4px;

    opacity:
        0.72 !important;

    box-shadow:
        inset 0 0 26px
        rgba(255,255,255,0.035),
        0 10px 35px
        rgba(0,0,0,0.34);

    backdrop-filter:
        blur(9px);

    -webkit-backdrop-filter:
        blur(9px);

    transition:
        opacity 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s
        cubic-bezier(.16,1,.3,1) !important;
}

.soundtrack-record:hover
.soundtrack-record-status {
    opacity:
        0.94 !important;

    background:
        rgba(15,15,15,0.58) !important;

    border-color:
        rgba(223,138,49,0.50) !important;

    transform:
        translate(-50%, -50%)
        scale(1.06) !important;
}

.soundtrack-player.is-user-playing
.soundtrack-record-status {
    opacity:
        0.38 !important;

    text-indent:
        0;
}

.soundtrack-player.is-user-playing
.soundtrack-record:hover
.soundtrack-record-status {
    opacity:
        0.86 !important;
}

.soundtrack-record.is-dragging
.soundtrack-record-status {
    opacity:
        0.9 !important;

    color:
        #df8a31 !important;

    font-size:
        clamp(22px, 2vw, 31px) !important;

    text-indent:
        0;
}


/* Center cover stays visible under translucent button */
.soundtrack-record-label {
    width:
        46% !important;
}

.soundtrack-record-hole {
    z-index:
        7 !important;

    width:
        8px !important;

    height:
        8px !important;

    opacity:
        0.7;
}


/* =========================================================
   SOCIAL LINKS — REAL
========================================================= */

.soundtrack-contact-value {
    color:
        rgba(255,255,255,0.34) !important;
}

.soundtrack-contact-link:hover
.soundtrack-contact-value {
    color:
        rgba(223,138,49,0.72) !important;
}


/* =========================================================
   TONEARM RESPONSIVE
========================================================= */

@media (max-width: 560px) {

    .soundtrack-tonearm {
        right:
            -5px;

        top:
            11%;

        transform:
            scale(0.82);

        transform-origin:
            top right;
    }

    .soundtrack-record-status {
        width:
            76px !important;

        height:
            76px !important;

        font-size:
            29px !important;
    }

}



/* =========================================================
   CONTACTS + HALF-SIZE SOUNDTRACK PLAYER
========================================================= */

.soundtrack-inner {
    width:
        min(1320px, 88vw) !important;

    grid-template-columns:
        minmax(410px, 1.06fr)
        minmax(300px, 0.60fr) !important;

    gap:
        clamp(80px, 10vw, 165px) !important;
}

.soundtrack-copy {
    max-width:
        640px !important;
}

.soundtrack-title {
    font-size:
        clamp(54px, 4.9vw, 88px) !important;
}

.soundtrack-contact-intro {
    max-width:
        500px;

    margin:
        19px 0 0;

    color:
        rgba(255,255,255,0.34);

    font-size:
        clamp(12px, 0.86vw, 15px);

    line-height:
        1.75;
}

.soundtrack-contact-block {
    width:
        min(440px, 100%) !important;

    margin-top:
        34px !important;
}

.soundtrack-player-column {
    width:
        min(320px, 100%);

    justify-self:
        end;
}

.soundtrack-player-heading {
    margin:
        0 0 12px 3px;

    color:
        #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        8px;

    letter-spacing:
        0.27em;
}

.soundtrack-player {
    width:
        320px !important;

    padding:
        13px 14px 13px !important;

    border-radius:
        16px !important;
}

.soundtrack-record-zone {
    min-height:
        205px !important;
}

.soundtrack-record {
    width:
        158px !important;
}

.soundtrack-emission {
    width:
        172px !important;

    height:
        172px !important;
}

.soundtrack-ring-2 {
    inset:
        -16px !important;
}

.soundtrack-ring-3 {
    inset:
        -31px !important;
}

.soundtrack-record-status {
    width:
        55px !important;

    height:
        55px !important;

    font-size:
        23px !important;
}

.soundtrack-track-info {
    gap:
        10px !important;
}

.soundtrack-track-kicker {
    font-size:
        6px !important;
}

.soundtrack-track-name {
    font-size:
        19px !important;
}

.soundtrack-time {
    font-size:
        7px !important;
}

.soundtrack-wave-wrap {
    height:
        46px !important;

    margin-top:
        11px !important;
}

.soundtrack-wave-center {
    top:
        9px !important;

    bottom:
        9px !important;
}

/*
    User asked to remove this helper text completely.
*/
.soundtrack-hint {
    display:
        none !important;
}


/* =========================================================
   COMPACT TONEARM
========================================================= */

.soundtrack-tonearm {
    top:
        13% !important;

    right:
        8px !important;

    width:
        83px !important;

    height:
        145px !important;

    transform:
        scale(0.69);

    transform-origin:
        top right;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.soundtrack-contact-list {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        10px !important;
}

.soundtrack-contact-link {
    min-height:
        74px !important;

    padding:
        13px 14px !important;
}

.soundtrack-contact-name {
    font-size:
        13px !important;
}

.soundtrack-contact-value {
    font-size:
        7px !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .soundtrack-inner {
        width:
            min(92vw, 760px) !important;

        grid-template-columns:
            1fr !important;

        gap:
            54px !important;
    }

    .soundtrack-player-column {
        justify-self:
            start;

        width:
            320px;
    }

}

@media (max-width: 560px) {

    .soundtrack-title {
        font-size:
            clamp(46px, 13vw, 66px) !important;
    }

    .soundtrack-contact-list {
        grid-template-columns:
            1fr;
    }

    .soundtrack-player-column {
        justify-self:
            center;

        width:
            min(320px, 92vw);
    }

    .soundtrack-player {
        width:
            100% !important;
    }

}



/* =========================================================
   CONTACT PLAYER — НИЖЕ И ШИРЕ
   Готовая правка под текущий PROMETHEUS
========================================================= */

.soundtrack-inner {
    width: min(1320px, 88vw) !important;

    grid-template-columns:
        minmax(420px, 1.05fr)
        minmax(360px, 430px) !important;

    align-items: start !important;

    gap:
        clamp(56px, 7vw, 110px) !important;
}

.soundtrack-copy {
    max-width:
        640px !important;
}

.soundtrack-player-column {
    width:
        min(430px, 100%) !important;

    justify-self:
        end;

    align-self:
        start;

    /*
        Опускаем плеер ниже,
        чтобы над ним оставалось пространство.
    */
    margin-top:
        110px !important;
}

.soundtrack-player-heading {
    margin:
        0 0 14px 6px !important;
}

.soundtrack-player {
    width:
        100% !important;

    padding:
        18px 18px 16px !important;

    border-radius:
        22px !important;

    /*
        Делаем плеер более горизонтальным:
        диск слева, информация и волна справа.
    */
    display:
        grid !important;

    grid-template-columns:
        185px 1fr;

    grid-template-rows:
        auto 1fr;

    column-gap:
        18px;

    row-gap:
        14px;

    align-items:
        start;
}


/* =========================================================
   DISC AREA
========================================================= */

.soundtrack-record-zone {
    grid-column:
        1;

    grid-row:
        1 / span 2;

    min-height:
        190px !important;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;
}

.soundtrack-record {
    width:
        148px !important;
}

.soundtrack-emission {
    width:
        164px !important;

    height:
        164px !important;
}

.soundtrack-ring-2 {
    inset:
        -14px !important;
}

.soundtrack-ring-3 {
    inset:
        -26px !important;
}


/* =========================================================
   TONEARM
========================================================= */

.soundtrack-tonearm {
    top:
        18px !important;

    right:
        6px !important;

    width:
        82px !important;

    height:
        142px !important;

    transform:
        scale(0.63) !important;

    transform-origin:
        top right;
}


/* =========================================================
   PLAY / PAUSE
========================================================= */

.soundtrack-record-status {
    width:
        58px !important;

    height:
        58px !important;

    font-size:
        24px !important;
}


/* =========================================================
   TRACK INFO
========================================================= */

.soundtrack-track-info {
    grid-column:
        2;

    grid-row:
        1;

    display:
        flex !important;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap:
        14px !important;

    margin-top:
        6px;
}

.soundtrack-track-kicker {
    font-size:
        6px !important;
}

.soundtrack-track-name {
    font-size:
        18px !important;

    line-height:
        1.1;
}

.soundtrack-time {
    font-size:
        7px !important;

    white-space:
        nowrap;
}


/* =========================================================
   WAVE
========================================================= */

.soundtrack-wave-wrap {
    grid-column:
        2;

    grid-row:
        2;

    height:
        68px !important;

    margin-top:
        0 !important;

    align-self:
        end;
}

.soundtrack-wave-center {
    top:
        10px !important;

    bottom:
        10px !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {

    .soundtrack-inner {
        width:
            min(92vw, 760px) !important;

        grid-template-columns:
            1fr !important;

        gap:
            48px !important;
    }

    .soundtrack-player-column {
        justify-self:
            start;

        width:
            min(430px, 100%) !important;

        margin-top:
            24px !important;
    }

    .soundtrack-player {
        grid-template-columns:
            1fr !important;

        row-gap:
            14px;
    }

    .soundtrack-record-zone {
        grid-column:
            1;

        grid-row:
            auto;

        min-height:
            200px !important;
    }

    .soundtrack-track-info {
        grid-column:
            1;

        grid-row:
            auto;
    }

    .soundtrack-wave-wrap {
        grid-column:
            1;

        grid-row:
            auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .soundtrack-player-column {
        width:
            100% !important;
    }

    .soundtrack-player {
        padding:
            16px 14px 14px !important;
    }

    .soundtrack-record {
        width:
            138px !important;
    }

    .soundtrack-emission {
        width:
            152px !important;

        height:
            152px !important;
    }

    .soundtrack-track-name {
        font-size:
            16px !important;
    }

}


/* =========================================================
   FINAL MERGE — STONE BACKGROUND
   SKILLS -> SOUNDTRACK -> CONTACTS
========================================================= */

.skills-mining-section,
.soundtrack-section,
.future-section {
    position: relative;
    isolation: isolate;

    background-image:
        linear-gradient(
            180deg,
            rgba(2, 3, 4, 0.84),
            rgba(2, 3, 4, 0.89)
        ),
        linear-gradient(
            90deg,
            rgba(3, 4, 5, 0.62),
            rgba(3, 4, 5, 0.54)
        ),
        url('../images/backgrounds/stone-wall-dark-blur.jpg') !important;

    background-size:
        auto,
        auto,
        cover !important;

    background-position:
        center,
        center,
        center !important;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat !important;

    background-attachment:
        scroll,
        scroll,
        fixed !important;
}

.skills-mining-section::before,
.soundtrack-section::before {
    z-index: 1;
    opacity: 0.25;
}

.skills-mining-inner,
.soundtrack-inner,
.future-section > span {
    position: relative;
    z-index: 2;
}


/* =========================================================
   FULL SOUNDTRACK COPY ABOVE PLAYER
========================================================= */

.soundtrack-player-column {
    width:
        min(480px, 100%) !important;

    margin-top:
        26px !important;
}

.soundtrack-player-intro {
    width:
        min(455px, 100%);

    margin:
        0 0 26px 4px;
}

.soundtrack-player-heading {
    margin:
        0 0 15px 0 !important;

    color:
        #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        8px !important;

    letter-spacing:
        0.28em;
}

.soundtrack-player-title {
    margin:
        0;

    color:
        rgba(255,255,255,0.94);

    font-size:
        clamp(39px, 3.15vw, 58px);

    font-weight:
        300;

    line-height:
        0.96;

    letter-spacing:
        -0.055em;
}

.soundtrack-player-subtitle {
    margin:
        18px 0 0;

    color:
        #df8a31;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size:
        12px;

    line-height:
        1.45;

    letter-spacing:
        0.055em;
}


/* Keep the player under the copy, moderately wide */
.soundtrack-player {
    width:
        min(470px, 100%) !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .skills-mining-section,
    .soundtrack-section,
    .future-section {
        background-attachment:
            scroll,
            scroll,
            scroll !important;
    }

    .soundtrack-player-column {
        width:
            min(470px, 100%) !important;

        margin-top:
            10px !important;
    }

    .soundtrack-player-intro {
        margin-bottom:
            22px;
    }

    .soundtrack-player-title {
        font-size:
            clamp(38px, 8vw, 56px);
    }

}

@media (max-width: 560px) {

    .soundtrack-player-intro {
        width:
            100%;
    }

    .soundtrack-player-title {
        font-size:
            clamp(34px, 11vw, 48px);
    }

    .soundtrack-player-subtitle {
        font-size:
            10px;
    }

}


/* =========================================================
   LIVE STONE WALL — SKILLS -> CONTACTS
   Mouse parallax, dark + blurred, no separate CONTACTS page
========================================================= */

:root {
    --stone-parallax-x: 0px;
    --stone-parallax-y: 0px;
}

/*
    Remove the obsolete placeholder even if old HTML/CSS is cached.
*/
.future-section#contacts {
    display: none !important;
}


/* ---------------------------------------------------------
   SHARED LIVE BACKGROUND
--------------------------------------------------------- */

.skills-mining-section,
.soundtrack-section {
    position: relative;
    isolation: isolate;

    /*
        The image itself moves with CSS variables updated by JS.
        The two dark overlays keep text readable.
    */
    background-image:
        linear-gradient(
            180deg,
            rgba(2, 3, 4, 0.66),
            rgba(2, 3, 4, 0.78)
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.48),
            rgba(7, 8, 9, 0.38)
        ),
        url('../images/backgrounds/stone-wall-live.jpg') !important;

    background-size:
        auto,
        auto,
        112% auto !important;

    background-position:
        center,
        center,
        calc(50% + var(--stone-parallax-x))
        calc(50% + var(--stone-parallax-y)) !important;

    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat !important;

    background-attachment:
        scroll,
        scroll,
        scroll !important;

    /*
        Prevent original solid backgrounds from covering the image.
    */
    background-color:
        #020304 !important;
}


/* Keep original grid texture very subtle */
.skills-mining-section::before,
.soundtrack-section::before {
    z-index: 1 !important;
    opacity: 0.16 !important;
    pointer-events: none;
}


/* Content always stays over the wall */
.skills-mining-inner,
.soundtrack-inner {
    position: relative;
    z-index: 3 !important;
}


/* Soft vignette / bridge between the two sections */
.skills-mining-section::after,
.soundtrack-section::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 2;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 48%,
            transparent 18%,
            rgba(0, 0, 0, 0.13) 58%,
            rgba(0, 0, 0, 0.35) 100%
        );
}


/* Make the wall a touch more visible on large displays */
@media (min-width: 1200px) {

    .skills-mining-section,
    .soundtrack-section {
        background-size:
            auto,
            auto,
            108% auto !important;
    }

}


/* Mobile: smaller movement and cover safely */
@media (max-width: 980px) {

    :root {
        --stone-parallax-x: 0px;
        --stone-parallax-y: 0px;
    }

    .skills-mining-section,
    .soundtrack-section {
        background-size:
            auto,
            auto,
            cover !important;

        background-position:
            center,
            center,
            center !important;
    }

}



/* =========================================================
   INK / BLACK TRANSITION ABOVE SKILLS SECTION
   Makes the seam softer, like dark paint flowing downward
========================================================= */

.skills-mining-section {
    overflow: visible !important;
}

.skills-mining-section::before {
    /* keep existing grid overlay but allow layered effects */
    z-index: 1 !important;
}

.skills-mining-section::after {
    /*
        Replace the simple vignette feeling with a mixed transition:
        - dark feathered fade from top
        - blurred vertical streaks like paint flowing down
    */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -120px;
    height: 220px;
    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.86) 14%,
            rgba(0, 0, 0, 0.62) 34%,
            rgba(0, 0, 0, 0.24) 62%,
            rgba(0, 0, 0, 0.00) 100%
        ),
        radial-gradient(130px 90px at 8% 12%, rgba(0,0,0,0.88), rgba(0,0,0,0.00) 72%),
        radial-gradient(170px 110px at 22% 8%, rgba(0,0,0,0.72), rgba(0,0,0,0.00) 72%),
        radial-gradient(150px 120px at 38% 14%, rgba(0,0,0,0.84), rgba(0,0,0,0.00) 72%),
        radial-gradient(210px 120px at 55% 10%, rgba(0,0,0,0.78), rgba(0,0,0,0.00) 72%),
        radial-gradient(140px 100px at 71% 11%, rgba(0,0,0,0.82), rgba(0,0,0,0.00) 72%),
        radial-gradient(180px 110px at 87% 9%, rgba(0,0,0,0.74), rgba(0,0,0,0.00) 72%),
        linear-gradient(
            180deg,
            rgba(255,140,0,0.12) 0%,
            rgba(255,140,0,0.04) 18%,
            rgba(255,140,0,0.00) 38%
        );

    filter: blur(14px);
    opacity: 1;
}

/* Thin hard separator is no longer needed in this area */
.skills-mining-section .section-divider,
.skills-mining-section hr {
    border-color: rgba(0, 0, 0, 0.45) !important;
    opacity: 0.15 !important;
}

/* Slight dark bridge at the bottom of the section above, if present */
.projects-section,
.project-section,
.soundtrack-intro-section,
.intro-section,
.showcase-section {
    position: relative;
}

.projects-section::after,
.project-section::after,
.soundtrack-intro-section::after,
.intro-section::after,
.showcase-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 80px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.00),
        rgba(0, 0, 0, 0.58) 68%,
        rgba(0, 0, 0, 0.92) 100%
    );
    z-index: 1;
}

/* Mobile tune */
@media (max-width: 980px) {
    .skills-mining-section::after {
        top: -60px;
        height: 120px;
        filter: blur(10px);
    }
}


/* =========================================================
   REAL SECTION SEAM FIX
   The orange line was the old ABOUT horizontal progress bar.
========================================================= */

/* Remove the actual source of the orange seam. */
.about-scroll-progress,
.about-scroll-progress-fill {
    display: none !important;
}


/* =========================================================
   BLACK / INK BRIDGE:
   ROME + PROJECTS  ->  SKILLS
========================================================= */

.about-scroll-section {
    position: relative !important;
    overflow: visible !important;
    z-index: 4;
}

/*
    A real transition layer attached to the END of the previous
    section, so it overlaps the beginning of the stone wall.
*/
.about-scroll-section::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -105px;

    height: 245px;

    z-index: 60;

    pointer-events: none;

    /*
        Several irregular blobs + vertical smears make the lower
        edge feel like dark liquid / paint rather than a straight fade.
    */
    background:
        radial-gradient(
            ellipse 12% 54% at 4% 25%,
            rgba(0,0,0,0.98) 0 48%,
            rgba(0,0,0,0.74) 58%,
            transparent 76%
        ),
        radial-gradient(
            ellipse 18% 70% at 17% 17%,
            rgba(0,0,0,0.98) 0 46%,
            rgba(0,0,0,0.70) 60%,
            transparent 78%
        ),
        radial-gradient(
            ellipse 14% 62% at 31% 28%,
            rgba(0,0,0,0.96) 0 48%,
            rgba(0,0,0,0.70) 61%,
            transparent 80%
        ),
        radial-gradient(
            ellipse 21% 76% at 47% 14%,
            rgba(0,0,0,0.99) 0 50%,
            rgba(0,0,0,0.74) 63%,
            transparent 81%
        ),
        radial-gradient(
            ellipse 15% 60% at 63% 26%,
            rgba(0,0,0,0.97) 0 47%,
            rgba(0,0,0,0.69) 61%,
            transparent 80%
        ),
        radial-gradient(
            ellipse 19% 73% at 79% 16%,
            rgba(0,0,0,0.99) 0 48%,
            rgba(0,0,0,0.72) 62%,
            transparent 79%
        ),
        radial-gradient(
            ellipse 13% 58% at 94% 29%,
            rgba(0,0,0,0.97) 0 47%,
            rgba(0,0,0,0.70) 60%,
            transparent 78%
        ),

        /*
            Main black bridge.
        */
        linear-gradient(
            180deg,
            rgba(0,0,0,0.06) 0%,
            rgba(0,0,0,0.56) 22%,
            rgba(0,0,0,0.96) 47%,
            rgba(0,0,0,0.93) 62%,
            rgba(0,0,0,0.54) 79%,
            rgba(0,0,0,0.00) 100%
        );

    filter:
        blur(13px);

    transform:
        scaleX(1.035);

    opacity:
        1;
}


/*
    A second thin veil prevents any remaining hard horizontal edge.
*/
.skills-mining-section {
    position: relative !important;
    z-index: 2;
}

.skills-mining-section > * {
    position: relative;
    z-index: 4;
}

.skills-mining-section::before {
    /*
        Keep the old subtle grid, but the top fades in through black.
    */
    mask-image:
        linear-gradient(
            to bottom,
            transparent 0,
            rgba(0,0,0,0.25) 90px,
            #000 210px
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0,
            rgba(0,0,0,0.25) 90px,
            #000 210px
        );
}


/*
    Override the previous experimental ::after on skills.
    The ink is now owned by the previous section, where it belongs.
*/
.skills-mining-section::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 190px;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.92) 0%,
            rgba(0,0,0,0.67) 28%,
            rgba(0,0,0,0.29) 63%,
            rgba(0,0,0,0.00) 100%
        );

    filter:
        blur(7px);

    opacity:
        1;
}


/* No accidental borders at this exact seam. */
.about-scroll-section,
.skills-mining-section {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none;
}


/* Mobile: a simpler black dissolve is cleaner and faster. */
@media (max-width: 980px) {

    .about-scroll-section::after {
        bottom: -68px;
        height: 150px;

        filter:
            blur(9px);

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,0.08) 0%,
                rgba(0,0,0,0.94) 43%,
                rgba(0,0,0,0.88) 62%,
                rgba(0,0,0,0.00) 100%
            );
    }

    .skills-mining-section::after {
        height:
            120px;
    }

}


/* =========================================================
   FINAL CONTACT SCENE — NIGHT PARK
   Uses the selected park artwork instead of the brick wall.
========================================================= */

.soundtrack-section {
    position: relative !important;
    isolation: isolate !important;

    min-height:
        max(100vh, 820px) !important;

    overflow:
        hidden !important;

    /*
        The image is very wide and intentionally low.
        100% auto keeps the full composition visible at the bottom
        instead of cropping the bench/tree/statue.
    */
    background:
        linear-gradient(
            180deg,
            rgba(2, 5, 8, 0.20) 0%,
            rgba(2, 4, 7, 0.12) 44%,
            rgba(0, 0, 0, 0.20) 76%,
            rgba(0, 0, 0, 0.46) 100%
        ),
        url('../images/backgrounds/contact-park.png')
        bottom center / 100% auto
        no-repeat !important;

    background-color:
        #03070d !important;
}

/*
    The old stone-wall parallax and grid layers are disabled only
    on the contact scene. Skills keep their current background.
*/
.soundtrack-section::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: 1 !important;

    pointer-events: none !important;

    opacity: 1 !important;

    background:
        radial-gradient(
            circle at 50% 36%,
            rgba(14, 26, 40, 0.05),
            rgba(0, 0, 0, 0.17) 65%,
            rgba(0, 0, 0, 0.34) 100%
        ) !important;
}

.soundtrack-section::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;

    height: 34% !important;

    z-index: 1 !important;

    pointer-events: none !important;

    filter: none !important;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.00),
            rgba(0, 0, 0, 0.10) 40%,
            rgba(0, 0, 0, 0.34) 100%
        ) !important;
}

/*
    Contacts + player always stay above the pedestrians.
*/
.soundtrack-inner {
    position: relative !important;
    z-index: 6 !important;
}


/* =========================================================
   WALKING PEOPLE LAYER
========================================================= */

.contact-park-people {
    position: absolute;

    left: 0;
    right: 0;

    /*
        The walkway in the selected image sits about 8–9%
        above the bottom edge. Clamp keeps it aligned on wide monitors.
    */
    bottom:
        clamp(42px, 3.25vw, 68px);

    height:
        108px;

    z-index:
        4;

    overflow:
        visible;

    pointer-events:
        none;

    /*
        Keeps people away from the very bottom edge while still
        allowing them to walk across the complete scene.
    */
    clip-path:
        inset(-50px 0 -25px 0);
}

.park-walker {
    --walker-size: 64px;
    --walker-opacity: 0.48;
    --walker-duration: 14s;
    --walker-bottom: 0px;

    position: absolute;

    bottom:
        var(--walker-bottom);

    left:
        0;

    width:
        calc(var(--walker-size) * 0.44);

    height:
        var(--walker-size);

    opacity:
        var(--walker-opacity);

    will-change:
        transform;

    filter:
        drop-shadow(
            0 5px 7px
            rgba(0, 0, 0, 0.58)
        );

    animation-timing-function:
        linear;

    animation-fill-mode:
        forwards;
}

.park-walker[data-direction="right"] {
    animation-name:
        parkWalkerMoveRight;
}

.park-walker[data-direction="left"] {
    animation-name:
        parkWalkerMoveLeft;
}

.park-walker-svg {
    width:
        100%;

    height:
        100%;

    overflow:
        visible;

    /*
        Warm gray rather than pure white, so people blend into
        the night scene and look like distant silhouettes.
    */
    color:
        rgba(157, 157, 153, 0.88);
}

.park-walker[data-direction="left"]
.park-walker-svg {
    transform:
        scaleX(-1);
}

.park-person-body {
    transform-origin:
        center center;

    animation:
        parkBodyBob
        0.68s
        ease-in-out
        infinite;
}

.park-person-head {
    fill:
        rgba(8, 10, 12, 0.92);

    stroke:
        currentColor;

    stroke-width:
        2;
}

.park-person-torso {
    fill:
        rgba(9, 11, 13, 0.88);

    stroke:
        currentColor;

    stroke-width:
        2.2;

    stroke-linejoin:
        round;
}

.park-person-limb {
    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        3;

    stroke-linecap:
        round;
}

.park-arm-left,
.park-leg-right {
    transform-origin:
        50% 10%;

    animation:
        parkLimbForward
        0.68s
        ease-in-out
        infinite;
}

.park-arm-right,
.park-leg-left {
    transform-origin:
        50% 10%;

    animation:
        parkLimbBackward
        0.68s
        ease-in-out
        infinite;
}

.park-walker.is-far {
    filter:
        blur(0.35px)
        drop-shadow(
            0 3px 5px
            rgba(0,0,0,0.55)
        );
}


/* =========================================================
   WALK CYCLE
========================================================= */

@keyframes parkWalkerMoveRight {

    from {
        transform:
            translate3d(-8vw, 0, 0);
    }

    to {
        transform:
            translate3d(108vw, 0, 0);
    }

}

@keyframes parkWalkerMoveLeft {

    from {
        transform:
            translate3d(108vw, 0, 0);
    }

    to {
        transform:
            translate3d(-8vw, 0, 0);
    }

}

@keyframes parkBodyBob {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(1.8px);
    }

}

@keyframes parkLimbForward {

    0%,
    100% {
        transform:
            rotate(22deg);
    }

    50% {
        transform:
            rotate(-24deg);
    }

}

@keyframes parkLimbBackward {

    0%,
    100% {
        transform:
            rotate(-24deg);
    }

    50% {
        transform:
            rotate(22deg);
    }

}


/* =========================================================
   CONTACT SCENE RESPONSIVE
========================================================= */

@media (max-width: 980px) {

    .soundtrack-section {
        background-size:
            auto 72% !important;

        background-position:
            48% bottom !important;
    }

    .contact-park-people {
        bottom:
            38px;

        height:
            88px;
    }

}

@media (max-width: 620px) {

    /*
        The composition is extremely wide. On phones we intentionally
        crop into the bench/tree area rather than shrinking everything
        into an unreadably tiny strip.
    */
    .soundtrack-section {
        min-height:
            1100px !important;

        background-size:
            auto 54% !important;

        background-position:
            39% bottom !important;
    }

    .contact-park-people {
        bottom:
            34px;

        height:
            78px;
    }

}


/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {

    .park-walker {
        display:
            none !important;
    }

}


/* =========================================================
   PARK PEOPLE V2 — HUMAN SILHOUETTES
   Replaces the old outline-stick style.
========================================================= */

.park-walker {
    --walker-size: 68px;
    --walker-opacity: 0.60;
    --walker-duration: 14s;
    --walker-bottom: 0px;

    width:
        calc(var(--walker-size) * 0.50) !important;

    height:
        var(--walker-size) !important;

    opacity:
        var(--walker-opacity) !important;

    filter:
        drop-shadow(
            0 6px 7px
            rgba(0,0,0,0.66)
        ) !important;
}

.park-walker-svg {
    width:
        100% !important;

    height:
        100% !important;

    overflow:
        visible !important;

    color:
        rgba(11, 13, 15, 0.98) !important;

    /*
        Very subtle warm rim so the silhouettes are readable
        against the dark grass without becoming "cartoony".
    */
    filter:
        drop-shadow(
            0 0 0.7px
            rgba(223,138,49,0.42)
        );
}

.park-walker.is-far {
    opacity:
        calc(var(--walker-opacity) * 0.78) !important;

    filter:
        blur(0.55px)
        drop-shadow(
            0 3px 5px
            rgba(0,0,0,0.60)
        ) !important;
}


/* ---------------------------------------------------------
   BODY PIECES
--------------------------------------------------------- */

.park-human-head {
    fill:
        rgba(9, 11, 13, 0.99);

    stroke:
        rgba(223,138,49,0.16);

    stroke-width:
        0.9;
}

.park-human-neck,
.park-human-torso,
.park-human-coat {
    fill:
        rgba(8, 10, 12, 0.99);
}

.park-human-coat {
    stroke:
        rgba(223,138,49,0.12);

    stroke-width:
        0.7;
}


/*
    Arms and legs are thick rounded shapes instead of thin strokes.
*/
.park-human-limb {
    fill:
        none;

    stroke:
        rgba(8,10,12,0.99);

    stroke-width:
        6.2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}

.park-human-shoe {
    fill:
        rgba(5,7,8,0.99);
}


/* ---------------------------------------------------------
   WALK CYCLE
--------------------------------------------------------- */

.park-human-body {
    transform-box:
        fill-box;

    transform-origin:
        center center;

    animation:
        parkHumanBob
        0.78s
        ease-in-out
        infinite;
}

.park-human-arm-front {
    transform-box:
        fill-box;

    transform-origin:
        50% 0%;

    animation:
        parkHumanArmFront
        0.78s
        ease-in-out
        infinite;
}

.park-human-arm-back {
    transform-box:
        fill-box;

    transform-origin:
        50% 0%;

    animation:
        parkHumanArmBack
        0.78s
        ease-in-out
        infinite;
}

.park-human-leg-front {
    transform-box:
        fill-box;

    transform-origin:
        50% 0%;

    animation:
        parkHumanLegFront
        0.78s
        ease-in-out
        infinite;
}

.park-human-leg-back {
    transform-box:
        fill-box;

    transform-origin:
        50% 0%;

    animation:
        parkHumanLegBack
        0.78s
        ease-in-out
        infinite;
}


/*
    Each silhouette gets a slightly different step tempo.
*/
.park-walker[data-gait="slow"]
.park-human-body,
.park-walker[data-gait="slow"]
.park-human-arm-front,
.park-walker[data-gait="slow"]
.park-human-arm-back,
.park-walker[data-gait="slow"]
.park-human-leg-front,
.park-walker[data-gait="slow"]
.park-human-leg-back {
    animation-duration:
        0.92s;
}

.park-walker[data-gait="fast"]
.park-human-body,
.park-walker[data-gait="fast"]
.park-human-arm-front,
.park-walker[data-gait="fast"]
.park-human-arm-back,
.park-walker[data-gait="fast"]
.park-human-leg-front,
.park-walker[data-gait="fast"]
.park-human-leg-back {
    animation-duration:
        0.66s;
}


@keyframes parkHumanBob {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-0.4deg);
    }

    50% {
        transform:
            translateY(1.5px)
            rotate(0.5deg);
    }

}

@keyframes parkHumanArmFront {

    0%,
    100% {
        transform:
            rotate(20deg);
    }

    50% {
        transform:
            rotate(-22deg);
    }

}

@keyframes parkHumanArmBack {

    0%,
    100% {
        transform:
            rotate(-22deg);
    }

    50% {
        transform:
            rotate(20deg);
    }

}

@keyframes parkHumanLegFront {

    0%,
    100% {
        transform:
            rotate(-15deg);
    }

    50% {
        transform:
            rotate(17deg);
    }

}

@keyframes parkHumanLegBack {

    0%,
    100% {
        transform:
            rotate(17deg);
    }

    50% {
        transform:
            rotate(-15deg);
    }

}


/* Reduce the toy-like old styling if cached */
.park-person-head,
.park-person-torso,
.park-person-limb,
.park-arm-left,
.park-arm-right,
.park-leg-left,
.park-leg-right,
.park-person-body {
    display:
        none !important;
}



/* =========================================================
   PARK PEOPLE V3 — WHITE WALKERS / LOWER PATH / BENCH MASK
========================================================= */

.contact-park-people {
    bottom: clamp(18px, 1.35vw, 30px) !important;
    height: 116px !important;
    z-index: 4 !important;
}

.park-bench-occluder {
    position: absolute;
    left: 30.2%;
    bottom: clamp(17px, 1.35vw, 29px);
    width: min(10.5vw, 182px);
    height: clamp(54px, 4.6vw, 82px);
    z-index: 5;
    pointer-events: none;
    opacity: 0.98;
}

.park-bench-occluder .bench-back,
.park-bench-occluder .bench-seat,
.park-bench-occluder .bench-leg,
.park-bench-occluder .bench-post {
    position: absolute;
    background: rgba(8, 8, 10, 0.95);
    box-shadow: 0 0 10px rgba(0,0,0,0.28);
}

.park-bench-occluder .bench-back {
    left: 12%;
    width: 76%;
    bottom: 34%;
    height: 24%;
    border-radius: 4px;
}

.park-bench-occluder .bench-seat {
    left: 8%;
    width: 84%;
    bottom: 24%;
    height: 11%;
    border-radius: 3px;
}

.park-bench-occluder .bench-post.post-left {
    left: 18%;
    bottom: 20%;
    width: 3%;
    height: 38%;
    border-radius: 2px;
}

.park-bench-occluder .bench-post.post-right {
    right: 18%;
    bottom: 20%;
    width: 3%;
    height: 38%;
    border-radius: 2px;
}

.park-bench-occluder .bench-leg.leg-left {
    left: 24%;
    bottom: 0;
    width: 3.5%;
    height: 26%;
    border-radius: 2px;
}

.park-bench-occluder .bench-leg.leg-right {
    right: 24%;
    bottom: 0;
    width: 3.5%;
    height: 26%;
    border-radius: 2px;
}

.park-walker {
    filter:
        drop-shadow(0 0 5px rgba(255,255,255,0.10))
        drop-shadow(0 3px 5px rgba(0,0,0,0.50)) !important;
}

.park-walker-svg {
    color: rgba(248, 248, 244, 0.96) !important;
    filter: drop-shadow(0 0 1px rgba(255,255,255,0.10));
}

.park-walker.is-far {
    opacity: 0.56 !important;
    filter:
        blur(0.22px)
        drop-shadow(0 0 4px rgba(255,255,255,0.08))
        drop-shadow(0 3px 5px rgba(0,0,0,0.40)) !important;
}

.park-human-head {
    fill: rgba(245, 245, 240, 0.93) !important;
    stroke: rgba(255,255,255,0.36) !important;
    stroke-width: 0.7 !important;
}

.park-human-neck,
.park-human-torso,
.park-human-coat {
    fill: rgba(241, 241, 236, 0.90) !important;
}

.park-human-coat {
    stroke: rgba(255,255,255,0.26) !important;
    stroke-width: 0.55 !important;
}

.park-human-limb {
    stroke: rgba(245,245,241,0.95) !important;
    stroke-width: 5.1 !important;
}

.park-human-shoe {
    fill: rgba(234,234,230,0.95) !important;
}

@media (max-width: 1280px) {
    .park-bench-occluder {
        left: 29.6%;
        width: min(13vw, 176px);
    }
}

@media (max-width: 820px) {
    .contact-park-people {
        bottom: 16px !important;
        height: 92px !important;
    }

    .park-bench-occluder {
        left: 28.2%;
        width: 18vw;
        min-width: 76px;
        height: 54px;
        bottom: 16px;
    }

    .park-human-limb {
        stroke-width: 4.2 !important;
    }
}


/* =========================================================
   SKILLS SECTION CLEAN BLACK BACKGROUND
========================================================= */
.skills-mining-section {
    background: #020304 !important;
    background-image: none !important;
    --stone-parallax-x: 0px !important;
    --stone-parallax-y: 0px !important;
}

.skills-mining-section::before,
.skills-mining-section::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.skills-mining-section .skills-mining-inner {
    position: relative;
    z-index: 2;
}


/* =========================================================
   PARK WALKERS V5 — TRANSPARENT VIDEO MATERIAL
========================================================= */

/* Old generated silhouettes are no longer used. */
.park-walker {
    display: none !important;
}

.contact-park-people {
    bottom: clamp(17px, 1.28vw, 28px) !important;
    height: 120px !important;
    z-index: 4 !important;
    overflow: visible !important;
    clip-path: none !important;
}

.park-video-walker {
    --video-walker-height: 70px;
    --video-walker-opacity: 0.72;
    --video-walker-bottom: -2px;

    position: absolute;
    left: 0;
    bottom: var(--video-walker-bottom);

    height: var(--video-walker-height);
    width: calc(var(--video-walker-height) * 0.68);

    opacity: var(--video-walker-opacity);

    z-index: 4;
    pointer-events: none;

    will-change: transform;
    animation-timing-function: linear;
    animation-fill-mode: forwards;

    filter:
        drop-shadow(0 2px 4px rgba(0,0,0,0.58));
}

.park-video-walker[data-direction="right"] {
    animation-name: parkVideoMoveRight;
}

.park-video-walker[data-direction="left"] {
    animation-name: parkVideoMoveLeft;
}

.park-walker-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

    background: transparent;
    pointer-events: none;

    filter:
        brightness(0.96)
        contrast(1.08);
}

.park-video-walker[data-direction="left"]
.park-walker-video {
    transform: scaleX(-1);
}

/*
   MP4 fallback: white background becomes visually transparent
   through screen blending after inversion.
*/
.park-walker-video.is-screen-fallback {
    filter:
        invert(1)
        grayscale(1)
        contrast(2.7)
        brightness(0.56);

    mix-blend-mode: screen;
}

.park-video-walker.is-far {
    filter:
        blur(0.35px)
        drop-shadow(0 2px 4px rgba(0,0,0,0.46));
}

@keyframes parkVideoMoveRight {
    from {
        transform: translate3d(-7vw, 0, 0);
    }

    to {
        transform: translate3d(108vw, 0, 0);
    }
}

@keyframes parkVideoMoveLeft {
    from {
        transform: translate3d(108vw, 0, 0);
    }

    to {
        transform: translate3d(-7vw, 0, 0);
    }
}

/* =========================================================
   REAL BENCH OCCLUSION
   Repaint the actual background image over walkers only where
   the bench + seated figure are located.
========================================================= */

.park-bench-occluder {
    display: none !important;
}

.park-bench-occluder-image {
    display: block !important;

    position: absolute !important;
    inset: 0 !important;

    z-index: 5 !important;
    pointer-events: none !important;

    width: auto !important;
    height: auto !important;

    opacity: 1 !important;

    background:
        url('../images/backgrounds/contact-park.png')
        bottom center / 100% auto
        no-repeat !important;

    /* Bench and sitter area in the selected artwork. */
    clip-path: polygon(
        28.7% 80.0%,
        38.4% 80.0%,
        38.4% 96.2%,
        28.7% 96.2%
    ) !important;

    filter: none !important;
    box-shadow: none !important;
}

/* Keep contacts + player above everything. */
.soundtrack-inner {
    z-index: 7 !important;
}

@media (max-width: 980px) {
    .contact-park-people {
        bottom: 15px !important;
        height: 102px !important;
    }

    .park-bench-occluder-image {
        background-size: auto 72% !important;
        background-position: 48% bottom !important;

        clip-path: polygon(
            20% 78%,
            48% 78%,
            48% 98%,
            20% 98%
        ) !important;
    }
}

@media (max-width: 620px) {
    .park-bench-occluder-image {
        background-size: auto 54% !important;
        background-position: 39% bottom !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .park-video-walker {
        display: none !important;
    }
}

/* =========================================================
   VIDEO WALKERS DIVERSE / SMALLER OCCLUDER FIX
========================================================= */
.contact-park-people {
    bottom: clamp(12px, 1.0vw, 24px) !important;
    height: 106px !important;
    z-index: 4 !important;
    overflow: visible !important;
    clip-path: none !important;
}

.park-video-walker {
    --video-walker-height: 58px;
    --video-walker-width: 38px;
    --video-walker-opacity: 0.62;
    --video-walker-bottom: 0px;

    position: absolute;
    left: 0;
    bottom: var(--video-walker-bottom);

    height: var(--video-walker-height);
    width: var(--video-walker-width);

    opacity: var(--video-walker-opacity);
    z-index: 4;
    pointer-events: none;
    will-change: transform;
    animation-timing-function: linear;
    animation-fill-mode: forwards;

    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.55));
}

.park-video-walker.is-far {
    z-index: 3;
    opacity: calc(var(--video-walker-opacity) * 0.92);
    filter: blur(0.25px) drop-shadow(0 1px 3px rgba(0,0,0,0.38));
}

.park-walker-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
    pointer-events: none;
    filter: brightness(1.06) contrast(1.16) saturate(0);
}

.park-video-walker[data-direction="left"] .park-walker-video {
    transform: scaleX(-1);
}

.park-walker-video.is-screen-fallback {
    filter: invert(1) grayscale(1) contrast(3.2) brightness(0.82);
    mix-blend-mode: screen;
}

@keyframes parkVideoMoveRight {
    from { transform: translate3d(-10vw, 0, 0); }
    to   { transform: translate3d(110vw, 0, 0); }
}

@keyframes parkVideoMoveLeft {
    from { transform: translate3d(110vw, 0, 0); }
    to   { transform: translate3d(-10vw, 0, 0); }
}

.park-bench-occluder-image {
    display: block !important;
    position: absolute !important;
    left: 27.35% !important;
    bottom: 5.45% !important;
    width: 11.23% !important;
    height: 15.22% !important;
    z-index: 6 !important;
    pointer-events: none !important;
    opacity: 1 !important;

    background: url("../images/backgrounds/contact-park-bench-overlay.png") center center / 100% 100% no-repeat !important;
    clip-path: none !important;
    filter: none !important;
    box-shadow: none !important;
}

.soundtrack-inner {
    z-index: 7 !important;
}

@media (max-width: 980px) {
    .contact-park-people {
        bottom: 8px !important;
        height: 90px !important;
    }

    .park-bench-occluder-image {
        left: 27.0% !important;
        bottom: 4.9% !important;
        width: 16.2% !important;
        height: 16.8% !important;
    }
}

@media (max-width: 620px) {
    .contact-park-people {
        height: 72px !important;
    }

    .park-bench-occluder-image {
        left: 25.8% !important;
        bottom: 4.2% !important;
        width: 20.5% !important;
        height: 17.8% !important;
    }
}


/* =========================================================
   PROM3THEUS MOBILE FIX — VIDEO FALLBACK + ABOUT FLOW
   Phones use a normal vertical flow instead of the desktop
   sticky horizontal rail. This avoids iOS viewport/bar glitches.
========================================================= */

@media (max-width: 820px) {

    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    /* ---------- HERO CINEMA VIDEO ---------- */

    .cinema-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 48% center !important;
        filter:
            blur(1.6px)
            brightness(0.62)
            contrast(1.06)
            saturate(0.84) !important;
    }

    /* Slightly smaller side indicator so it does not dominate phones. */
    .cinema-scroll {
        right: 10px !important;
        height: 48svh !important;
        gap: 9px !important;
    }

    .cinema-scroll-percent {
        font-size: 8px !important;
    }

    /* ---------- ABOUT / ROME ---------- */

    .about-scroll-section {
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background: #020304 !important;
        overscroll-behavior-x: none;
    }

    .about-sticky {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background:
            #020304
            url('../images/backgrounds/rome-mobile-poster.jpg')
            center center / cover
            no-repeat !important;
    }

    .about-sticky .about-video {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
        filter:
            blur(1.4px)
            brightness(0.76)
            contrast(1.04) !important;
        opacity: 0.62 !important;
        z-index: 0 !important;
    }

    .about-sticky .about-overlay,
    .about-sticky .about-vignette {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .about-sticky .about-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,0.58) 0%,
                rgba(0,0,0,0.42) 35%,
                rgba(0,0,0,0.53) 72%,
                rgba(0,0,0,0.74) 100%
            ) !important;
    }

    .about-horizontal-window {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    .about-horizontal-track {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        will-change: auto !important;
    }

    .about-panel {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100svh !important;
        flex: none !important;
        align-items: center !important;
        overflow: visible !important;
        padding:
            max(76px, calc(env(safe-area-inset-top) + 54px))
            0
            max(58px, calc(env(safe-area-inset-bottom) + 40px)) !important;
    }

    .about-panel::after {
        top: auto !important;
        left: 20px !important;
        right: 20px !important;
        bottom: 0 !important;
        width: auto !important;
        height: 1px !important;
        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(255,255,255,0.10),
                transparent
            ) !important;
    }

    .about-panel-content,
    .about-panel.is-current .about-panel-content {
        width: calc(100% - 32px) !important;
        max-width: 620px !important;
        margin: 0 auto !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* First ABOUT screen */
    .about-panel-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        align-items: start !important;
    }

    .about-panel-main .about-typewriter-title {
        min-height: 126px !important;
        margin: 0 0 12px !important;
        font-size: clamp(34px, 9.4vw, 48px) !important;
        line-height: 1.04 !important;
        letter-spacing: -1.7px !important;
    }

    .about-panel-main .about-text,
    .about-panel-main .about-intro {
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        margin-top: 0 !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .about-panel-main .about-stack,
    .about-inline-quote {
        display: none !important;
    }

    .about-panel-main .game-terminal {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        height: clamp(318px, 82vw, 380px) !important;
        margin: 0 !important;
        border-radius: 14px !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .about-panel-main .terminal-header {
        height: 44px !important;
    }

    .about-panel-main .terminal-stage {
        min-height: 0 !important;
        height: calc(100% - 86px) !important;
    }

    .about-panel-main .terminal-status {
        height: 42px !important;
        padding: 0 18px !important;
        font-size: 10px !important;
    }

    .about-panel-main .game-code {
        padding: 20px 18px !important;
        font-size: 10px !important;
        line-height: 1.55 !important;
    }

    /* Approach screen */
    .about-finale {
        min-height: 0 !important;
    }

    .about-finale-title {
        max-width: 100% !important;
        font-size: clamp(48px, 13.2vw, 72px) !important;
        line-height: 0.94 !important;
        letter-spacing: -0.045em !important;
    }

    .about-finale-lead {
        margin-top: 24px !important;
        font-size: clamp(20px, 5.8vw, 28px) !important;
    }

    .about-finale-line {
        width: min(76vw, 360px) !important;
        margin-top: 24px !important;
    }

    .about-finale-note,
    .about-finale-personal {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    /* Projects intro */
    .projects-intro-layout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        align-items: start !important;
    }

    .projects-intro-title {
        font-size: clamp(48px, 13.5vw, 72px) !important;
        line-height: 0.94 !important;
        letter-spacing: -0.045em !important;
    }

    .projects-intro-text {
        margin-top: 20px !important;
        font-size: clamp(18px, 5vw, 24px) !important;
        line-height: 1.3 !important;
    }

    .projects-smile-terminal {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        height: clamp(300px, 78vw, 360px) !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    .projects-smile-header {
        height: 44px !important;
        padding: 0 15px !important;
    }

    .projects-smile-stage {
        min-height: 0 !important;
        height: calc(100% - 94px) !important;
        padding: 20px !important;
    }

    .projects-smile-code {
        inset: 20px !important;
        font-size: 10px !important;
        line-height: 1.55 !important;
    }

    .projects-smile-status {
        height: 50px !important;
        padding: 0 18px !important;
        font-size: 10px !important;
    }

    /* Project cards become a normal readable vertical list. */
    .projects-catalog-content {
        width: calc(100% - 32px) !important;
    }

    .projects-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .project-card {
        min-height: 176px !important;
        padding: 24px !important;
        border-radius: 18px !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }

    .project-card-name,
    .project-card-drdent .project-card-name,
    .project-card-remstandart .project-card-name {
        font-size: clamp(42px, 12.5vw, 62px) !important;
    }

    .project-card-plus {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px !important;
    }

    /* Desktop horizontal progress is meaningless in vertical mobile flow. */
    .about-scroll-progress,
    .about-scroll-progress-fill {
        display: none !important;
    }
}

@media (max-width: 430px) {
    .about-panel {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .about-panel-content,
    .about-panel.is-current .about-panel-content {
        width: calc(100% - 28px) !important;
    }

    .about-panel-main .about-typewriter-title {
        min-height: 116px !important;
        font-size: clamp(32px, 9vw, 42px) !important;
    }

    .about-panel-main .game-terminal {
        height: 320px !important;
    }

    .projects-smile-terminal {
        height: 300px !important;
    }
}
