/* =========================================================
   SUZDAL — BY PRICOL TRAVEL
   styles.css
   Mobile-first
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bg: #080808;
    --bg-soft: #0d0d0d;
    --panel: rgba(15, 15, 15, 0.82);

    --text: #f6f3ed;
    --muted: #b5b0a8;

    --line: rgba(255, 255, 255, 0.2);

    --yellow: #f6bd3b;
    --blue: #8fc6f7;
    --red: #ef6250;
    --green: #9bcda9;

    --telegram: #159ee4;

    --page-width: 780px;
}

/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #080808;
}

body {
    margin: 0;

    color: var(--text);

    font-family: 'Comfortaa', Arial, sans-serif;

    font-size: 18px;

    background-color: #080808;

    background-image:
        linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.9)),
        url('background.jpg');

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   SITE
========================================================= */

.site {
    width: min(100%, var(--page-width));

    margin: 0 auto;

    overflow: hidden;

    background: rgba(5, 5, 5, 0.62);
}

/* =========================================================
   COMMON SECTIONS
========================================================= */

section {
    position: relative;

    padding: 58px 22px;
}

/* =========================================================
   SECTION TITLES
========================================================= */

.title-row {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 38px;
}

.title-row h2 {
    flex: none;

    margin: 0;

    font-family: 'Comfortaa', sans-serif;

    font-size: 18px;

    font-weight: 600;

    line-height: 1.4;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: #ffffff;
}

.line {
    width: 100%;

    height: 1px;

    background: var(--line);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 760px;

    padding: 28px 22px 70px;

    overflow: hidden;
}

/* =========================================================
   HERO IMAGE
========================================================= */

.hero-img {
    position: absolute;

    z-index: 1;

    top: 75px;

    right: -16%;

    width: 75%;

    height: 480px;

    object-fit: cover;

    object-position: center;

    border-radius: 48% 0 0 48%;

    filter: saturate(0.85) contrast(1.05) brightness(0.82);
}

/* затемнение изображения слева */

.hero::before {
    content: '';

    position: absolute;

    z-index: 2;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        #080808 2%,
        rgba(8, 8, 8, 0.96) 22%,
        rgba(8, 8, 8, 0.44) 53%,
        transparent 78%
    );
}

/* плавный переход HERO в сайт */

.hero::after {
    content: '';

    position: absolute;

    z-index: 3;

    left: 0;
    right: 0;
    bottom: 0;

    height: 280px;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(8, 8, 8, 0.3) 35%,
        #080808 100%
    );
}

/* =========================================================
   BY PRICOL TRAVEL
========================================================= */

.by {
    position: relative;

    z-index: 10;

    text-align: center;

    font-size: 15px;

    font-weight: 500;

    line-height: 1.4;

    letter-spacing: 0.22em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.9);

    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.75);
}

/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
    position: relative;

    z-index: 5;

    width: 88%;

    padding-top: 125px;
}

.hero h1 {
    margin: 0;

    font-family: 'Neucha', cursive;

    font-size: clamp(76px, 20vw, 125px);

    font-weight: 400;

    line-height: 0.86;

    letter-spacing: -0.025em;

    color: #ffffff;

    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.7);

    transform: rotate(-2deg);
}

/* =========================================================
   YELLOW STROKE
========================================================= */

.stroke {
    width: 165px;

    height: 8px;

    margin: 25px 0 28px 80px;

    border-radius: 100%;

    background: var(--yellow);

    box-shadow: 0 3px 15px rgba(246, 189, 59, 0.2);

    transform: rotate(-6deg);
}

/* =========================================================
   DATE
========================================================= */

.date {
    display: inline-flex;

    align-items: center;

    min-height: 50px;

    padding: 11px 22px;

    border: 1px solid rgba(255, 255, 255, 0.48);

    border-radius: 999px;

    color: #ffffff;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    font-size: 17px;

    font-weight: 500;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   PROGRAM
========================================================= */

.program {
    position: relative;

    z-index: 5;

    margin-top: -110px;

    padding-top: 55px;
}

.program-layout {
    position: relative;
}

.program-grid {
    display: grid;

    gap: 31px;
}

/* =========================================================
   PROGRAM STEP
========================================================= */

.step {
    display: grid;

    grid-template-columns:
        46px
        78px
        minmax(0, 1fr);

    align-items: center;

    gap: 14px;

    min-height: 96px;
}

/* =========================================================
   PROGRAM NUMBERS
========================================================= */

.num {
    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #080808;

    font-family: 'Comfortaa', sans-serif;

    font-size: 16px;

    font-weight: 700;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.step:nth-child(4n + 1) .num {
    background: var(--yellow);
}

.step:nth-child(4n + 2) .num {
    background: var(--blue);
}

.step:nth-child(4n + 3) .num {
    background: var(--red);
}

.step:nth-child(4n + 4) .num {
    background: var(--green);
}

/* =========================================================
   PROGRAM STICKERS
========================================================= */

.step-sticker {
    width: 74px;

    height: 74px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex: none;
}

.step-sticker img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.08));
}

.step:nth-child(odd) .step-sticker {
    transform: rotate(-3deg);
}

.step:nth-child(even) .step-sticker {
    transform: rotate(3deg);
}

.step:nth-child(3n) .step-sticker {
    transform: rotate(-1deg) translateY(2px);
}

/* =========================================================
   PROGRAM TEXT
========================================================= */

.step-content {
    min-width: 0;
}

.step-content h3 {
    margin: 0 0 8px;

    font-family: 'Comfortaa', sans-serif;

    font-size: 19px;

    font-weight: 700;

    line-height: 1.35;

    color: #ffffff;
}

.step-content p {
    margin: 0;

    color: var(--muted);

    font-family: 'Comfortaa', sans-serif;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.6;
}

/* =========================================================
   RESTAURANT BUTTON
========================================================= */

.menu {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 15px;

    padding: 11px 18px;

    border: 1px solid rgba(255, 255, 255, 0.42);

    border-radius: 999px;

    color: #f7f4ee;

    background: rgba(255, 255, 255, 0.04);

    font-size: 13px;

    font-weight: 600;

    transition:
        transform 0.15s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.menu:hover {
    color: #080808;

    background: #ffffff;
}

.menu:active {
    transform: scale(0.97);
}

/* =========================================================
   SIDE GALLERY
========================================================= */

.side-gallery {
    display: none;
}

/* =========================================================
   TRANSPORT
========================================================= */

.transport {
    padding-top: 65px;

    padding-bottom: 45px;
}

.car-wrap {
    position: relative;

    min-height: 330px;

    display: flex;

    align-items: center;

    justify-content: center;
}

/* =========================================================
   CAR
========================================================= */

.car {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 670px;

    object-fit: contain;

    filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.6));
}

.car-shadow {
    position: absolute;

    z-index: 1;

    left: 17%;

    bottom: 42px;

    width: 66%;

    height: 32px;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.92);

    filter: blur(16px);
}

/* =========================================================
   PLAYLIST
========================================================= */

.playlist {
    position: relative;

    padding-top: 65px;

    padding-bottom: 75px;

    overflow: hidden;
}

/* =========================================================
   PLAYLIST MARQUEE
========================================================= */

.playlist-marquee {
    position: relative;

    width: calc(100% + 44px);

    margin-left: -22px;

    overflow: hidden;

    padding: 10px 0 18px;

    /*
       Плавное исчезновение карточек
       по краям бегущей строки.
    */

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

/* =========================================================
   PLAYLIST MOVING TRACK
========================================================= */

.playlist-track {
    display: flex;

    align-items: stretch;

    gap: 14px;

    width: max-content;

    /*
       В HTML находятся:
       10 песен + их точная копия.

       Поэтому можно бесконечно двигать
       дорожку до начала второй копии.
    */

    animation: playlist-scroll 32s linear infinite;

    will-change: transform;
}

/* Пауза при наведении мыши */

.playlist-marquee:hover .playlist-track {
    animation-play-state: paused;
}

/* =========================================================
   PLAYLIST CARD
========================================================= */

.track {
    flex: 0 0 250px;

    min-width: 250px;

    display: grid;

    grid-template-columns:
        72px
        minmax(0, 1fr);

    align-items: center;

    gap: 13px;

    padding: 9px;

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 16px;

    background: rgba(12, 12, 12, 0.78);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

/* =========================================================
   PLAYLIST COVER
========================================================= */

.track > img {
    width: 72px;

    height: 72px;

    object-fit: cover;

    border-radius: 10px;

    background: #171717;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   PLAYLIST TRACK INFO
========================================================= */

.track-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.track-info strong {
    display: -webkit-box;

    overflow: hidden;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.35;
}

.track-info span {
    display: block;

    overflow: hidden;

    color: rgba(255, 255, 255, 0.52);

    font-size: 11px;

    font-weight: 500;

    line-height: 1.35;

    text-overflow: ellipsis;

    white-space: nowrap;
}

/* =========================================================
   PLAYLIST ANIMATION
========================================================= */

@keyframes playlist-scroll {
    from {
        transform: translateX(0);
    }

    to {
        /*
           10 карточек + 10 одинаковых карточек.

           -50% переносит дорожку
           к началу второго набора.

           7px компенсирует половину gap 14px.
        */

        transform: translateX(calc(-50% - 7px));
    }
}

/* =========================================================
   YANDEX MUSIC BUTTON
========================================================= */

.playlist-button {
    position: relative;

    z-index: 3;

    width: min(100%, 390px);

    min-height: 70px;

    margin: 24px auto 0;

    padding: 12px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 999px;

    color: #ffffff;

    background: rgba(18, 18, 18, 0.88);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    font-size: 14px;

    font-weight: 700;

    line-height: 1.25;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

/* PLAY ICON */

.playlist-button .play-circle {
    width: 45px;

    height: 45px;

    flex: 0 0 45px;

    display: grid;

    place-items: center;

    padding-left: 3px;

    border-radius: 50%;

    color: #080808;

    background: var(--yellow);

    font-size: 15px;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
}

.playlist-button > span:last-child {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.playlist-button small {
    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;

    font-weight: 500;
}

.playlist-button:hover {
    transform: translateY(-2px);

    border-color: rgba(255, 255, 255, 0.42);

    background: rgba(30, 30, 30, 0.94);
}

.playlist-button:active {
    transform: translateY(1px) scale(0.98);
}

/* =========================================================
   COMPANIONS
========================================================= */

.companions {
    padding-top: 70px;

    padding-bottom: 70px;
}

.people {
    display: grid;

    gap: 22px;
}

/* =========================================================
   PERSON CARD
========================================================= */

.person {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 28px;

    background: linear-gradient(
        145deg,
        rgba(25, 25, 25, 0.88),
        rgba(8, 8, 8, 0.94)
    );

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   PERSON IMAGE
========================================================= */

.person > img {
    position: absolute;

    left: -5%;

    bottom: 0;

    width: 61%;

    height: 95%;

    object-fit: cover;

    object-position: center top;

    mask-image: linear-gradient(to right, black 70%, transparent 100%);

    -webkit-mask-image: linear-gradient(to right, black 70%, transparent 100%);
}

/* =========================================================
   PERSON TEXT
========================================================= */

.person-copy {
    position: relative;

    z-index: 2;

    width: 51%;

    margin-left: auto;

    padding: 42px 18px 95px 8px;
}

.person h3 {
    margin: 0 0 11px;

    font-family: 'Neucha', cursive;

    font-size: 44px;

    font-weight: 400;

    line-height: 1;

    color: #ffffff;
}

.person p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}

/* =========================================================
   INVITE BUTTON
========================================================= */

.invite {
    position: absolute;

    z-index: 5;

    right: 16px;

    bottom: 18px;

    min-height: 49px;

    padding: 12px 19px;

    border: 0;

    border-radius: 999px;

    color: #ffffff;

    background: var(--telegram);

    font-size: 14px;

    font-weight: 700;

    box-shadow: 0 8px 25px rgba(21, 158, 228, 0.24);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.invite:hover {
    box-shadow: 0 10px 30px rgba(21, 158, 228, 0.36);
}

.invite:active {
    transform: scale(0.96);
}

/* =========================================================
   FINAL
========================================================= */

.final {
    position: relative;

    height: 560px;

    padding: 0;

    overflow: hidden;

    background: #080808;
}

/* =========================================================
   FINAL IMAGE
========================================================= */

.final-image {
    position: absolute;

    z-index: 1;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    filter: saturate(0.92) contrast(1.04) brightness(0.92);
}

/* затемнение верхней части финального изображения */

.final::after {
    content: '';

    position: absolute;

    z-index: 3;

    inset: 0;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        #080808 0%,
        rgba(8, 8, 8, 0.94) 8%,
        rgba(8, 8, 8, 0.64) 20%,
        rgba(8, 8, 8, 0.24) 34%,
        transparent 52%,
        transparent 82%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

/* =========================================================
   GO BUTTON
========================================================= */

.go {
    position: absolute;

    z-index: 10;

    left: 50%;

    top: 72px;

    transform: translateX(-50%) rotate(-2deg);

    min-width: 235px;

    padding: 21px 42px;

    border: 2px solid #ffffff;

    border-radius: 999px;

    color: #ffffff;

    background: #e74332;

    font-family: 'Neucha', cursive;

    font-size: 42px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: 0.02em;

    box-shadow:
        0 8px 0 #000000,
        0 15px 30px rgba(0, 0, 0, 0.5);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.go:hover {
    transform: translateX(-50%) translateY(-2px) rotate(-2deg);
}

.go:active {
    transform: translateX(-50%) translateY(6px) rotate(-2deg);

    box-shadow: 0 2px 0 #000000;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 25px 20px 40px;

    color: rgba(255, 255, 255, 0.46);

    text-align: center;

    font-size: 11px;

    letter-spacing: 0.24em;

    text-transform: uppercase;

    background: #080808;
}

/* =========================================================
   TOAST
========================================================= */

.toast {
    position: fixed;

    z-index: 1000;

    left: 50%;

    bottom: 22px;

    width: calc(100% - 32px);

    max-width: 430px;

    padding: 15px 18px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 16px;

    color: #ffffff;

    background: rgba(18, 18, 18, 0.96);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    text-align: center;

    font-size: 13px;

    line-height: 1.4;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);

    transform: translate(-50%, 150px);

    transition: transform 0.3s ease;
}

.toast.show {
    transform: translate(-50%, 0);
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {
    section {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* HERO */

    .hero {
        min-height: 720px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-img {
        right: -22%;

        width: 82%;

        height: 445px;
    }

    .hero-copy {
        width: 94%;

        padding-top: 120px;
    }

    .hero h1 {
        font-size: clamp(67px, 20vw, 92px);
    }

    .stroke {
        width: 145px;

        margin-left: 60px;
    }

    .date {
        font-size: 15px;

        padding: 10px 18px;
    }

    /* TITLES */

    .title-row {
        gap: 12px;

        margin-bottom: 31px;
    }

    .title-row h2 {
        font-size: 15px;

        letter-spacing: 0.11em;

        white-space: normal;
    }

    /* PROGRAM */

    .program {
        margin-top: -85px;
    }

    .program-grid {
        gap: 27px;
    }

    .step {
        grid-template-columns:
            42px
            66px
            minmax(0, 1fr);

        gap: 10px;

        min-height: 86px;
    }

    .num {
        width: 40px;

        height: 40px;

        font-size: 14px;
    }

    .step-sticker {
        width: 64px;

        height: 64px;
    }

    .step-content h3 {
        font-size: 17px;

        line-height: 1.35;
    }

    .step-content p {
        font-size: 14px;

        line-height: 1.55;
    }

    .menu {
        padding: 10px 15px;

        font-size: 12px;
    }

    /* TRANSPORT */

    .car-wrap {
        min-height: 285px;
    }

    .car {
        width: 105%;
    }

    /* =========================================
       PLAYLIST — MOBILE
    ========================================== */

    .playlist {
        padding-top: 55px;

        padding-bottom: 65px;
    }

    .playlist-marquee {
        width: calc(100% + 36px);

        margin-left: -18px;

        padding-top: 5px;
    }

    .playlist-track {
        gap: 10px;

        animation-duration: 36s;
    }

    .track {
        flex: 0 0 220px;

        min-width: 220px;

        grid-template-columns:
            62px
            minmax(0, 1fr);

        gap: 11px;

        padding: 8px;

        border-radius: 14px;
    }

    .track > img {
        width: 62px;

        height: 62px;

        border-radius: 8px;
    }

    .track-info strong {
        font-size: 12px;
    }

    .track-info span {
        font-size: 10px;
    }

    .playlist-button {
        width: 100%;

        min-height: 65px;

        margin-top: 20px;

        padding: 10px 18px;

        font-size: 13px;
    }

    .playlist-button .play-circle {
        width: 42px;

        height: 42px;

        flex-basis: 42px;
    }

    /* PEOPLE */

    .person {
        min-height: 315px;
    }

    .person h3 {
        font-size: 39px;
    }

    .person p {
        font-size: 13px;

        line-height: 1.55;
    }

    .person-copy {
        padding-top: 38px;
    }

    .invite {
        font-size: 13px;

        padding: 11px 16px;
    }

    /* FINAL */

    .final {
        height: 520px;
    }

    .final-image {
        object-position: center center;
    }

    .go {
        top: 65px;

        min-width: 210px;

        padding: 19px 35px;

        font-size: 38px;
    }
}

/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {
    .hero h1 {
        font-size: 64px;
    }

    .by {
        font-size: 12px;
    }

    /* PROGRAM */

    .step {
        grid-template-columns:
            37px
            55px
            minmax(0, 1fr);

        gap: 8px;
    }

    .num {
        width: 35px;

        height: 35px;

        font-size: 12px;
    }

    .step-sticker {
        width: 53px;

        height: 53px;
    }

    .step-content h3 {
        font-size: 15px;
    }

    .step-content p {
        font-size: 12px;
    }

    /* PLAYLIST */

    .track {
        flex: 0 0 200px;

        min-width: 200px;

        grid-template-columns:
            56px
            minmax(0, 1fr);
    }

    .track > img {
        width: 56px;

        height: 56px;
    }

    .track-info strong {
        font-size: 11px;
    }

    .track-info span {
        font-size: 9px;
    }

    .playlist-button {
        font-size: 12px;
    }

    /* PEOPLE */

    .person h3 {
        font-size: 35px;
    }

    /* FINAL */

    .go {
        min-width: 195px;

        font-size: 35px;
    }
}

/* =========================================================
   TABLET / DESKTOP
========================================================= */

@media (min-width: 700px) {
    .site {
        border-left: 1px solid rgba(255, 255, 255, 0.06);

        border-right: 1px solid rgba(255, 255, 255, 0.06);

        box-shadow: 0 0 70px rgba(0, 0, 0, 0.55);
    }

    section {
        padding-left: 38px;

        padding-right: 38px;
    }

    /* HERO */

    .hero {
        padding-left: 38px;

        padding-right: 38px;

        min-height: 790px;
    }

    .hero-img {
        right: -5%;

        width: 63%;
    }

    .hero-copy {
        width: 70%;

        padding-top: 135px;
    }

    /* PROGRAM */

    .program-layout {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            185px;

        gap: 26px;
    }

    /* SIDE PHOTOS */

    .side-gallery {
        display: grid;

        align-content: start;

        gap: 30px;

        padding-top: 10px;
    }

    .side-gallery img {
        width: 100%;

        border: 8px solid #e8e4dc;

        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);

        transform: rotate(-3deg);
    }

    .side-gallery img:nth-child(2) {
        transform: rotate(4deg);
    }

    .side-gallery img:nth-child(3) {
        transform: rotate(-2deg);
    }

    /* TRANSPORT */

    .car-wrap {
        min-height: 370px;
    }

    .car {
        width: 91%;
    }

    /* PLAYLIST */

    .playlist-marquee {
        width: calc(100% + 76px);

        margin-left: -38px;
    }

    .track {
        flex: 0 0 270px;

        min-width: 270px;
    }

    /* PEOPLE */

    .people {
        grid-template-columns:
            1fr
            1fr;
    }

    .person {
        min-height: 355px;
    }

    .person h3 {
        font-size: 41px;
    }

    /* FINAL */

    .final {
        height: 600px;
    }

    .go {
        top: 78px;
    }
}

/* =========================================================
   HOVER DEVICES
========================================================= */

@media (hover: hover) {
    .step-sticker {
        transition: transform 0.2s ease;
    }

    .step:hover .step-sticker {
        transform: rotate(0deg) scale(1.08);
    }

    .person {
        transition:
            transform 0.2s ease,
            border-color 0.2s ease;
    }

    .person:hover {
        transform: translateY(-4px);

        border-color: rgba(255, 255, 255, 0.25);
    }

    .track {
        transition:
            border-color 0.2s ease,
            background 0.2s ease;
    }

    .track:hover {
        border-color: rgba(255, 255, 255, 0.26);

        background: rgba(25, 25, 25, 0.92);
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    /*
       Если пользователь отключил анимации,
       плейлист можно листать пальцем.
    */

    .playlist-marquee {
        overflow-x: auto;

        -webkit-mask-image: none;

        mask-image: none;

        scrollbar-width: none;
    }

    .playlist-marquee::-webkit-scrollbar {
        display: none;
    }

    .playlist-track {
        transform: none;
    }
}
