:root {
    color-scheme: dark;
    --bg: #090f19;
    --panel: #111b2a;
    --line: #263447;
    --text: #f5f6fb;
    --muted: #b8c2d2;
    --pink: #fa2757;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.wrap {
    width: min(100% - 80px, 1320px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -1000px;
    top: 1rem;
    z-index: 20;
    padding: 0.6rem;
    background: white;
    color: #111;
}

.skip-link:focus {
    left: 1rem;
}

/* Шапка */

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    background: linear-gradient(#050914b8, transparent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 86px;
}

.brand,
.hero-logo,
.hero-note,
.release-aside,
.outro h2,
blockquote cite {
    font-family: "Segoe Print", "Comic Sans MS", cursive;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.brand {
    position: relative;
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
    line-height: 1.1;
    white-space: nowrap;
}

.brand::after,
.hero-logo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 4px;
    border-radius: 100%;
    background: var(--pink);
    transform: rotate(-5deg);
}

.site-header nav {
    display: flex;
    gap: clamp(0.9rem, 2vw, 2rem);
    font-size: 0.88rem;
}

.site-header nav a:hover,
.header-listen:hover {
    color: #ff6685;
}

.header-listen {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Первый экран */

.hero {
    display: flex;
    align-items: center;
    min-height: 690px;
    min-height: min(760px, 88svh);
    background:
        linear-gradient(
            90deg,
            #070c16 0%,
            #070c16cc 27%,
            #070c1640 57%,
            #070c1610 100%
        ),
        url("../img/general/hero.webp") center 45% / cover;
}

.hero-content {
    position: relative;
    padding-top: 130px;
    padding-bottom: 70px;
}

.eyebrow {
    color: #d0d5df;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-logo {
    position: relative;
    display: inline-block;
    margin: 0.2rem 0 1.4rem;
    font-size: clamp(4rem, 8vw, 8.6rem);
    line-height: 1.08;
    white-space: nowrap;
}

.hero-logo::after {
    bottom: 5px;
    height: 8px;
}

.hero-kicker {
    max-width: 470px;
    margin: 0 0 1rem;
    font-size: clamp(1.3rem, 2.35vw, 2.25rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
}

.hero-desc {
    max-width: 340px;
    margin-bottom: 2rem;
    color: #e0e5ed;
    font-size: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.45rem;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.primary {
    background: var(--pink);
    box-shadow: 0 14px 40px #0005;
}

.primary:hover {
    background: #ff4770;
}

.hero-note {
    max-width: 220px;
    margin: 1.8rem 0 0 1rem;
    color: #e1d5ee;
    font-size: 1.3rem;
    transform: rotate(-8deg);
}

/* Новый релиз */

.section-dark {
    background: #0a111b;
}

.release {
    padding: 32px 0;
    border-block: 1px solid var(--line);
}

.release-grid {
    display: grid;
    grid-template-columns:
        minmax(180px, 265px)
        minmax(320px, 1fr)
        minmax(160px, 250px);
    align-items: center;
    gap: 34px;
}

.release-cover {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 7px;
    object-fit: cover;
}

.section-label {
    margin-bottom: 0.4rem;
    color: var(--pink);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.release h2 {
    margin-bottom: 0.3rem;
    font-size: clamp(1.6rem, 2.4vw, 2.55rem);
    line-height: 1.1;
}

.release-copy {
    max-width: 580px;
}

.release-copy > p:not(.section-label) {
    max-width: 530px;
    margin-bottom: 0.6rem;
    color: var(--muted);
}

.release-copy .artist {
    font-size: 1.1rem;
}

.release-copy .availability {
    margin-top: 1.2rem;
    color: #e6adbb !important;
    font-size: 0.87rem;
}

.release-aside {
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 80% 70%, #36527766, transparent 56%),
        #101827;
    color: #c2d6f3;
    font-size: 1.65rem;
    line-height: 1.25;
    text-align: center;
    transform: rotate(-2deg);
}

/* Песни */

.songs {
    padding: 30px 0 42px;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading h2,
.platforms h2 {
    margin-bottom: 1.1rem;
    font-size: 1.65rem;
}

.section-heading span {
    color: var(--muted);
    font-size: 0.88rem;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.song-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 5px;
    object-fit: cover;
}

.song-card h3 {
    margin: 0.65rem 0 0;
    font-size: 1rem;
    line-height: 1.25;
}

/* Площадки и цитата */

.platforms {
    padding: 30px 0 34px;
    border-top: 1px solid var(--line);
}

.platform-layout {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 2rem;
}

.platforms h2 {
    margin-bottom: 0.2rem;
}

.platforms p {
    color: var(--muted);
}

blockquote {
    width: min(290px, 35%);
    margin: -20px 0 25px;
    padding: 24px;
    border: 1px solid #375070;
    border-radius: 7px;
    background: linear-gradient(130deg, #18253a, #0b111c);
    color: #d9e4f3;
    font-size: 0.94rem;
}

blockquote::before {
    content: "“";
    display: block;
    color: #a5bff3;
    font: 700 3rem Georgia, serif;
    line-height: 0.7;
}

blockquote cite {
    display: block;
    margin-top: 10px;
    color: white;
    font-size: 1.25rem;
    text-align: right;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.platform-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-content: center;
    column-gap: 10px;
    min-height: 120px;
    padding: 18px;
    border-radius: 7px;
    background: #192331;
}

.platform-icon {
    display: grid;
    grid-row: span 2;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 800;
}

.yandex {
    background: #111;
    color: #ffcc27;
}

.youtube {
    background: #f00;
}

.vk {
    background: #1685ec;
}

.dzen {
    background: #111;
}

.rutube {
    background: #030716;
}

.platform-card strong {
    font-size: 0.86rem;
    white-space: nowrap;
}

.platform-card small {
    color: var(--muted);
    font-size: 0.72rem;
}

.platform-note {
    margin: 14px 0 0;
    font-size: 0.8rem;
}

/* Финальный экран */

.outro {
    display: flex;
    align-items: center;
    min-height: 290px;
    background:
        linear-gradient(
            90deg,
            #070c1599,
            transparent 45%,
            #070c1599
        ),
        url("../img/general/road.webp") center 58% / cover;
}

.outro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.outro h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.1;
    text-shadow: 0 3px 15px #000;
    transform: rotate(-5deg);
}

.outro ul {
    padding: 0;
    font-weight: 600;
    line-height: 2.3;
    list-style: none;
    text-shadow: 0 2px 10px #000;
}

.outro li::before {
    content: "♫";
    margin-right: 1rem;
}

/* Подвал */

.footer {
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer .brand {
    font-size: 1.5rem;
}

.footer p,
.footer small {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.footer small {
    margin-left: auto;
}

/* Планшеты */

@media (max-width: 1000px) {
    .header-inner {
        gap: 1rem;
    }

    .site-header nav {
        display: none;
    }

    .hero {
        background-position: 58% center;
    }

    .release-grid {
        grid-template-columns: 190px 1fr;
    }

    .release-aside,
    .platform-layout blockquote {
        display: none;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .song-grid {
        gap: 12px;
    }
}

/* Телефоны */

@media (max-width: 650px) {
    .wrap {
        width: min(100% - 36px, 520px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand {
        font-size: 1.45rem;
    }

    .header-listen {
        font-size: 0.78rem;
    }

    .hero {
        align-items: end;
        min-height: 690px;
        background:
            linear-gradient(
                0deg,
                #080e19 1%,
                #080e19e8 36%,
                #080e1950 70%
            ),
            url("assets/hero.png") 60% top / auto 67% no-repeat,
            #080e19;
    }

    .hero-content {
        padding: 300px 0 44px;
    }

    .eyebrow {
        font-size: 0.65rem;
    }

    .hero-logo {
        margin-bottom: 1rem;
        font-size: clamp(3.4rem, 13vw, 5.6rem);
    }

    .hero-kicker {
        font-size: 1.45rem;
    }

    .hero-desc {
        max-width: 300px;
        font-size: 0.95rem;
    }

    .hero-note {
        display: none;
    }

    .release {
        padding: 25px 0;
    }

    .release-grid {
        display: block;
    }

    .release-cover {
        width: min(70%, 270px);
        margin-bottom: 20px;
    }

    .release h2 {
        font-size: 1.7rem;
    }

    .section-heading {
        display: block;
    }

    .section-heading span {
        display: none;
    }

    .song-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .song-card h3 {
        font-size: 0.9rem;
    }

    .platforms {
        padding: 26px 0;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-card {
        grid-template-columns: 36px 1fr;
        min-height: 90px;
        padding: 12px;
    }

    .platform-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .platform-card strong {
        font-size: 0.8rem;
        white-space: normal;
    }

    .platform-card small {
        font-size: 0.68rem;
    }

    .outro {
        min-height: 330px;
        background-position: 50% center;
    }

    .outro-inner {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }

    .outro h2 {
        font-size: 2.6rem;
    }

    .outro ul {
        font-size: 0.83rem;
        line-height: 1.7;
    }

    .footer-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer small {
        margin-left: 0;
    }
}

/* Уменьшение движения по настройке пользователя */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}



/* ========================================
   Корректировка шапки и первого экрана
   ======================================== */

/* Шапка */

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 96px;
}

.site-header .brand {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 30px);
}

.main-nav a {
    white-space: nowrap;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #fff;
}

.social-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.social-icon--vk {
    background: #0077ff;
}

.social-icon--youtube {
    background: #ff1744;
}

.social-icon--music {
    background: #171717;
    color: #ffcf24;
}

.social-icon--dzen {
    background: #171717;
}

.social-icon--telegram {
    background: transparent;
    color: #35a9e8;
}

/* Первый экран */

.hero {
    display: flex;
    align-items: center;
    min-height: 680px;
    min-height: clamp(680px, 88svh, 820px);
    background-size: cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.hero-content {
    padding-top: 132px;
    padding-bottom: 56px;
}

/*
   Текст занимает только левую часть.
   Размер букв зависит от ширины этой колонки.
*/

.hero-copy {
    container-type: inline-size;
    width: 44%;
    max-width: 560px;
}

.hero .eyebrow {
    margin: 0 0 22px;
    font-size: 0.72rem;
    line-height: 1.5;
    letter-spacing: 0.14em;
}

/* Название проекта */

.hero .hero-logo {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 32px;

    /* Запасной размер и размер от ширины колонки */
    font-size: clamp(2rem, 4.2vw, 4.3rem);
    font-size: clamp(1.5rem, 11cqi, 4.3rem);

    line-height: 1.25;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

.hero .hero-logo::after {
    right: 0;
    bottom: -5px;
    left: 0;
    height: 5px;
    transform: rotate(-5deg);
}

/* Подзаголовок — две строки */

.hero .hero-kicker {
    max-width: none;
    margin: 0 0 20px;

    font-size: clamp(1rem, 1.8vw, 1.65rem);
    font-size: clamp(0.9rem, 5.1cqi, 1.65rem);

    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.hero-kicker span {
    display: block;
    white-space: nowrap;
}

/* Короткое описание */

.hero .hero-desc {
    max-width: 360px;
    margin: 0 0 25px;
    color: #d8e0eb;
    font-size: 1rem;
    line-height: 1.55;
}

/* Декоративная надпись перед кнопкой */

.hero .hero-note {
    display: block;
    max-width: 310px;
    margin: 0 0 28px;
    color: #bccde9;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    line-height: 1.35;
    letter-spacing: -0.04em;
    transform: rotate(-5deg);
    transform-origin: left center;
}

.hero-note span {
    display: inline-block;
    margin-left: 4px;
}

/* Кнопка */

.hero .button {
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    min-height: 52px;
    padding: 14px 26px;
    font-size: 0.88rem;
    line-height: 1.3;
    text-align: center;
}

.hero .button > span {
    flex-shrink: 0;
}

/* Планшеты и небольшие ноутбуки */

@media (max-width: 1100px) {
    .header-inner {
        gap: 20px;
    }

    .site-header .main-nav {
        gap: 16px;
        font-size: 0.8rem;
    }

    .header-socials {
        gap: 8px;
    }

    .social-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .social-icon svg {
        width: 21px;
        height: 21px;
    }

    .hero .hero-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        min-height: 82px;
    }

    .site-header .main-nav {
        display: none;
    }

    .hero {
        min-height: 660px;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 48px;
    }

    .hero-copy {
        width: 46%;
    }

    .hero .eyebrow {
        max-width: 260px;
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
}

/* Телефон: портрет сверху, текст ниже */

@media (max-width: 650px) {
    .header-inner {
        gap: 12px;
        min-height: 72px;
    }

    .site-header .brand {
        font-size: clamp(1.05rem, 4.5vw, 1.45rem);
    }

    .header-socials {
        gap: 6px;
    }

    .social-icon {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
        border-radius: 6px;
    }

    .social-icon svg {
        width: 19px;
        height: 19px;
    }

    .hero {
        display: block;
        min-height: 0;
        background-color: #080e19;

        /*
           Первый слой — существующий градиент.
           Второй слой — существующая фотография.
        */
        background-size: 100% 100%, auto 420px;
        background-position: center, 62% top;
        background-repeat: no-repeat;
    }

    .hero-content {
        padding-top: 390px;
        padding-bottom: 40px;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
    }

    .hero .eyebrow {
        max-width: none;
        margin-bottom: 16px;
        font-size: 0.65rem;
    }

    .hero .hero-logo {
        margin-bottom: 25px;
        font-size: clamp(1.5rem, 11cqi, 3.8rem);
    }

    .hero .hero-kicker {
        margin-bottom: 18px;
        font-size: clamp(0.9rem, 5.1cqi, 1.55rem);
    }

    .hero .hero-desc {
        max-width: 360px;
        margin-bottom: 24px;
        font-size: 0.95rem;
    }

    .hero .hero-note {
        margin-bottom: 25px;
        font-size: 1.25rem;
    }

    .hero .button {
        min-height: 50px;
        padding: 13px 24px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .header-socials {
        gap: 4px;
    }

    .social-icon {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
    }

    .social-icon svg {
        width: 17px;
        height: 17px;
    }
}


/* Выравниваем фотографию по верхнему краю, сохраняя кепку */
.hero {
    background-position: center, center top;
}

/* Сохраняем горизонтальное положение портрета на телефоне */
@media (max-width: 650px) {
    .hero {
        background-position: center, 62% top;
    }
}


/* ========================================
   Новый релиз: исправление компоновки
   ======================================== */

.release {
    position: relative;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(
            ellipse at 100% 70%,
            rgba(45, 65, 94, 0.25),
            transparent 45%
        ),
        #0a111b;
}

.release .release-grid {
    display: grid;
    grid-template-columns:
        minmax(180px, 260px)
        minmax(0, 1fr)
        175px
        180px;
    align-items: center;
    gap: 28px;
}

/* Квадратная обложка */

.release-artwork {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #111b2a;
}

.release .release-cover {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

/* Текст */

.release .release-copy {
    min-width: 0;
    max-width: none;
}

.release .section-label {
    margin: 0 0 9px;
    color: var(--pink);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.release .release-copy h2 {
    margin: 0 0 8px;
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.release .release-copy > .artist {
    margin: 0 0 12px;
    color: #bbc8dc;
    font-size: 1.1rem;
    line-height: 1.4;
}

.release .release-copy > .release-description {
    max-width: 430px;
    margin: 0 0 20px;
    color: #c5cedd;
    font-size: 1rem;
    line-height: 1.5;
}

/* Кнопка прослушивания */

.release .release-listen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 100px;
    background: var(--pink);
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

.release-listen svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.release .release-listen:disabled {
    opacity: 0.75;
    cursor: default;
}

.release .release-listen:disabled:hover {
    background: var(--pink);
}

/* Действия */

.release-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
}

.release-actions button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e6ebf3;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
}

.release-actions button:disabled {
    opacity: 0.6;
    cursor: default;
}

.release-actions svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Надпись справа — без отдельной плашки */

.release .release-aside {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #b5c9ec;
    text-align: center;
    transform: rotate(-7deg);
}

.release-aside p {
    margin: 0;
    font-size: clamp(1.2rem, 1.8vw, 1.65rem);
    line-height: 1.25;
}

/* Небольшие ноутбуки */

@media (max-width: 1150px) {
    .release .release-grid {
        grid-template-columns:
            210px
            minmax(0, 1fr)
            165px;
        gap: 24px;
    }

    .release .release-aside {
        display: none;
    }
}

/* Планшеты */

@media (max-width: 850px) {
    .release .release-grid {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 22px;
    }

    .release-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 26px;
        padding-top: 6px;
    }
}

/* Телефоны */

@media (max-width: 560px) {
    .release {
        padding: 26px 0;
    }

    .release .release-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .release-artwork {
        width: min(100%, 320px);
        margin-inline: auto;
    }

    .release .release-copy h2 {
        font-size: 1.6rem;
    }

    .release .release-copy > .release-description {
        max-width: none;
    }

    .release .release-listen {
        width: 100%;
    }

    .release-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 12px;
    }

    .release-actions button {
        font-size: 0.8rem;
    }
}