/* Базовый CSS без дизайна. Только функциональность и читаемость. */

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

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    scrollbar-gutter: stable;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250, 248, 245, 0.78);
    border-bottom: 1px solid rgba(84, 69, 53, 0.12);
    padding: 0.85rem 0;
    backdrop-filter: blur(14px);
}

nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav li.current {
    font-weight: 600;
}

.logo {
    font-weight: 700;
    font-size: 1.35rem;
    text-decoration: none;
    color: #201814;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.03em;
}

.logo:hover {
    text-decoration: none;
}

.logo__name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo__sub {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #7a6a5c;
    line-height: 1.2;
}

a.logo:hover {
    text-decoration: none;
}

.logo:hover,
.logo:hover .logo__name,
.logo:hover .logo__sub,
.logo__name:hover,
.logo__sub:hover {
    text-decoration: none;
    color: inherit;
}
.logo_name {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #2f4758;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

.home-main {
    max-width: none;
    margin: 0;
    padding: 0 0 2rem;
}

.home-content {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: 2.75rem 1rem 0;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

section {
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

.notice {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice--info {
    color: #856404;
    background-color: #fff3cd;
    border-left: 4px solid #ff6b6b;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #0066cc;
    color: white;
    border-radius: 0.25rem;
    font-weight: 500;
}

.btn:hover {
    background-color: #0052a3;
    text-decoration: none;
}

.hero {
    background-color: #f0f0f0;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-home {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-height: clamp(32rem, 88vh, 56rem);
    margin: 0;
    padding: clamp(7rem, 12vw, 9rem) 1.5rem clamp(5rem, 8vw, 6.5rem);
    color: #f6f1e8;
    background-color: #0f0c0a;
    --hero-parallax-offset: 0px;
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: -8%;
    background-image:
        linear-gradient(180deg, rgba(5, 4, 4, 0.18) 0%, rgba(9, 7, 6, 0.42) 34%, rgba(9, 7, 6, 0.72) 72%, rgba(9, 7, 6, 0.88) 100%),
        radial-gradient(circle at 18% 18%, rgba(194, 151, 108, 0.18) 0%, rgba(194, 151, 108, 0) 30%),
        radial-gradient(circle at 82% 22%, rgba(115, 163, 174, 0.12) 0%, rgba(115, 163, 174, 0) 24%),
        url('/assets/img/saturdaymastering2021_masteringonline-ru.jpg');
    background-size: cover;
    background-position: center 38%;
    transform: translate3d(0, var(--hero-parallax-offset), 0) scale(1.08);
    will-change: transform;
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5.5rem;
    background:
        linear-gradient(180deg, rgba(11, 9, 8, 0) 0%, rgba(11, 9, 8, 0.26) 38%, rgba(11, 9, 8, 0.62) 76%, #f5f2ed 100%);
}

.hero-home__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 54rem);
    padding: 2.8rem 3rem 3.1rem;
    margin-top: clamp(1rem, 4vh, 2.25rem);
    transform: translateY(-40%);
    border: 1px solid rgba(255, 248, 239, 0.12);
    border-radius: 1.75rem;
    background: linear-gradient(180deg, rgba(18, 15, 13, 0.1) 0%, rgba(18, 15, 13, 0.34) 100%);
    box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
}

.hero-home h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.85rem, 6vw, 5.6rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #fff8ef;
}

.hero-home p {
    max-width: 38rem;
    margin: 0 auto;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(246, 241, 232, 0.88);
}

.hero-home__subtitle {
    margin-bottom: 0.7rem;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 243, 232, 0.82);
}

.hero-home__meta {
    font-size: 0.92rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(234, 225, 212, 0.7);
}

.home-content .cta {
    margin-top: 2.5rem;
}

.cta {
    position: relative;
    width: 100%;
    min-height: clamp(18rem, 42vh, 28rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(7.5rem, 15vw, 11rem) 1.5rem clamp(4.5rem, 8vw, 6.5rem);
    text-align: center;
    background-color: #fafafa;
    margin-bottom: 0;
    --cta-parallax-offset: 0px;
}

/* Диагональный переход: страница «уходит» под тёмный блок */
.cta::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: calc(6rem + 3px);
    background: #fafafa;
    clip-path: polygon(0 0, 100% 0, 100% 8%, 0 100%);
    z-index: 1;
    pointer-events: none;
}

.cta__bg-clip {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: -12%;
    background-color: #100d0b;
    background-size: cover;
    background-position: center;
    transform: translate3d(0, var(--cta-parallax-offset), 0) scale(1.12);
    will-change: transform;
    filter: blur(3px);
}

.cta__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(8, 6, 5, 0.42) 0%,
        rgba(8, 6, 5, 0.68) 100%);
}

.cta__inner {
    position: relative;
    z-index: 2;
    max-width: 44rem;
}

.cta h2 {
    color: #f6f1e8;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    margin-bottom: 1.75rem;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.cta p {
    margin-bottom: 0;
}

.cta .btn {
    background: transparent;
    border: 1.5px solid rgba(246, 241, 232, 0.6);
    color: #f6f1e8;
    padding: 0.9rem 2.25rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
    border-radius: 0.35rem;
    transition: background 0.22s, border-color 0.22s;
}

.cta .btn:hover {
    background: rgba(246, 241, 232, 0.13);
    border-color: #f6f1e8;
    text-decoration: none;
}

article {
    max-width: 800px;
}

.b-article__header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
    position: static;
    top: auto;
    transform: none;
    will-change: auto;
    background-attachment: scroll;
}

.b-article__title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.b-article__sub-title {
    display: block;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.b-article__date {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.article-footnotes {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #555;
}

.article-footnotes p {
    margin-bottom: 0.5rem;
}

.read-also {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background-color: #f0f4f8;
    border-left: 4px solid #0066cc;
    border-radius: 0.25rem;
}

.read-also p {
    margin: 0;
    font-size: 0.95rem;
}

.read-also a {
    font-weight: bold;
}

article img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 1rem auto;
}

.article-back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

article em, p.em, div.em p {
    color: #444;
    font-style: italic;
    font-size: 0.95rem;
    background-color: #f5f0e8;
    padding: 0.1em 0.3em;
    border-radius: 0.2em;
}

article p.b {
    color: #413838;
    font-weight: 500;
}

article figure {
    margin: 1.5rem 0;
}

article figure img {
    margin-top: 0;
    margin-bottom: 0;
}

article figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.1rem;
}

.b-wysiwyg img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 1.5rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    text-align: center;
}

.service-card .icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 1rem;
    display: block;
    color: #B41917;
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
}

footer {
    background-color: #1b1613;
    border-top: 1px solid rgba(246, 241, 232, 0.08);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #7a6a5c;
}

footer a {
    color: #b09880;
}

/* Биография */
.biography {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ddd;
}

.article-header h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.article-header .meta {
    color: #666;
    font-size: 1.05rem;
    font-style: italic;
}

.intro {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-left: 4px solid #B41917;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.intro p {
    margin-bottom: 0.5rem;
}

.intro p:last-child {
    margin-bottom: 0;
}

h4 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

blockquote {
    border-left: 4px solid #B41917;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
    font-size: 1.05rem;
}

blockquote p {
    margin-bottom: 0.75rem;
}

#biography ul {
    list-style-type: disc;
}

#biography ol {
    list-style-type: decimal;
}

/* Адаптивность */
@media (max-width: 768px) {
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(16, 12, 9, 0.44);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 15;
    }

    body.menu-open::before {
        opacity: 1;
    }

    /* Мобильное меню - гамбургер */
    header nav {
        position: relative;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* Гамбургер-иконка (создаём через ::before на nav) */
    header nav::before {
        content: '';
        display: block;
        width: 28px;
        height: 24px;
        background-image: 
            linear-gradient(to right, #2f4758 0%, #2f4758 100%),
            linear-gradient(to right, #2f4758 0%, #2f4758 100%),
            linear-gradient(to right, #2f4758 0%, #2f4758 100%);
        background-repeat: no-repeat;
        background-size: 100% 2px;
        background-position: 0 0, 0 11px, 0 22px;
        cursor: pointer;
        order: 2;
        flex-shrink: 0;
        transition: background-position 0.22s ease;
    }

    /* При открытом меню показываем иконку закрытия (X) */
    header.menu-open nav::before {
        background-image:
            linear-gradient(45deg, transparent 44%, #2f4758 44%, #2f4758 56%, transparent 56%),
            linear-gradient(-45deg, transparent 44%, #2f4758 44%, #2f4758 56%, transparent 56%);
        background-size: 100% 100%, 100% 100%;
        background-position: center, center;
    }

    /* Логотип слева */
    .logo {
        order: 1;
        flex-shrink: 0;
    }

    /* Меню по умолчанию скрыто на мобильных */
    header nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: rgba(250, 248, 245, 0.98);
        border-bottom: 1px solid rgba(84, 69, 53, 0.12);
        margin-top: 0.5rem;
        padding: 0.75rem 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    /* Меню видимо когда header имеет класс menu-open */
    header.menu-open nav ul {
        max-height: 500px;
        opacity: 1;
    }

    header nav ul li {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(84, 69, 53, 0.08);
    }

    header nav ul li:last-child {
        border-bottom: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-home {
        min-height: 24rem;
        padding: 5.25rem 1rem 4rem;
    }

    .hero-home__inner {
        padding: 1.75rem 1.25rem 1.9rem;
        margin-top: 0.5rem;
        transform: translateY(-18%);
        border-radius: 1rem;
        backdrop-filter: none;
    }

    main {
        padding: 1rem 0.5rem;
    }

    .home-main {
        padding: 0 0 1rem;
    }

    .home-content {
        padding: 2rem 0.75rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1rem;
    }

    ol {
        margin-left: 1rem;
        padding-left: 1rem;
    }

    li {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 0;
    }

    header nav {
        padding: 0 0.5rem;
    }

    header nav::before {
        width: 24px;
        height: 20px;
        background-size: 100% 2px;
        background-position: 0 0, 0 9px, 0 18px;
    }

    header nav ul {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
    }

    .logo {
        font-size: 1rem;
    }

    .hero-home::before {
        inset: -4%;
        transform: translate3d(0, var(--hero-parallax-offset), 0) scale(1.04);
    }

    .hero-home {
        min-height: 22rem;
    }

    .hero-home__subtitle {
        letter-spacing: 0.05em;
    }

    .hero-home__meta {
        font-size: 0.8rem;
        letter-spacing: 0.14em;
    }

    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    main {
        padding: 0.75rem 0.5rem;
        max-width: 100%;
    }

    .service-card .icon {
        height: 50px;
        width: 50px;
    }

    p {
        font-size: 0.95rem;
    }

    .cta {
        padding: 6rem 1rem 3.5rem;
    }
}

.content-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 16px;
}

blockquote small.author {
    text-align: right;
    display: block;
}

/* ════════════════════════════════════════════
   CLIENTS — covers grid, artist page, release
   ════════════════════════════════════════════ */

/* Covers grid */
.covers-showcase {
    margin: 2.5rem 0;
}

.covers-showcase__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #bbb;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.covers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 5px;
}

.cover-thumb {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
    text-decoration: none;
    background: #c0b8ae;
}

.cover-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}

.cover-thumb:hover {
    text-decoration: none;
}

.cover-thumb:hover img {
    transform: scale(1.06);
}

.cover-thumb__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0;
    transition: opacity 0.22s;
    display: flex;
    align-items: flex-end;
    padding: 0.5rem 0.55rem;
}

.cover-thumb:hover .cover-thumb__overlay {
    opacity: 1;
}

.cover-thumb__label {
    color: #fff;
    font-size: 0.67rem;
    line-height: 1.3;
    font-weight: 500;
}

/* Breadcrumb */
.client-breadcrumb {
    font-size: 0.8rem;
    color: #bbb;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    max-width: 100%;
}

.client-breadcrumb a,
.client-breadcrumb__current {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.35;
    letter-spacing: inherit;
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: baseline;
    text-decoration: none;
}

.client-breadcrumb a {
    color: #999;
}

.client-breadcrumb a:hover {
    color: #2f4758;
    text-decoration: underline;
}

.client-breadcrumb__current {
    color: #b1aca5;
}

.client-breadcrumb__sep {
    margin: 0 0.4em;
    color: #ddd;
}

/* Artist page */
.artist-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eae5df;
}

.artist-header__name {
    font-size: 2.2rem;
    letter-spacing: -0.034em;
    line-height: 1.1;
    margin: 0 0 0.3rem;
}

.artist-header__meta {
    font-size: 0.82rem;
    color: #aaa;
}

/* Artist releases grid */
.artist-releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.release-card {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.release-card:hover {
    text-decoration: none;
}

.release-card__cover {
    display: block;
    aspect-ratio: 1;
    width: 100%;
    border-radius: 3px;
    background: #c0b8ae;
    margin-bottom: 0.65rem;
    transition: opacity 0.2s;
    overflow: hidden;
}

.release-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.release-card:hover .release-card__cover {
    opacity: 0.8;
}

.release-card__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    color: #201814;
    margin-bottom: 0.15rem;
}

.release-card__type {
    display: block;
    font-size: 0.65rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.05rem;
}

.release-card__year {
    display: block;
    font-size: 0.75rem;
    color: #bbb;
}

/* Release page */
.release-layout {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: 3rem;
    align-items: start;
    margin: 2.5rem 0 3rem;
}

.release-aside {
    position: sticky;
    top: 5.5rem;
}

.release-cover-wrap {
    position: static;
}

.release-aside .platform-links {
    margin-top: 1rem;
    margin-bottom: 0;
    justify-content: flex-start;
}

.release-aside .platform-btn {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.release-aside .platform-btn:hover {
    transform: translateY(-1px);
}

.release-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    background: #c0b8ae;
    overflow: hidden;
}

.release-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.release-info__artist {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #aaa;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.release-info__title {
    font-size: 1.7rem;
    line-height: 1.08;
    letter-spacing: -0.028em;
    color: #201814;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.release-info__meta {
    font-size: 0.78rem;
    color: #bbb;
    margin-bottom: 2.25rem;
}

/* Tracklist */
.tracklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tracklist__item {
    display: grid;
    grid-template-columns: 1.6rem 1fr;
    gap: 0 0.75rem;
    padding: 0.62rem 0;
    border-top: 1px solid #eae5df;
    margin: 0;
    align-items: start;
}

.tracklist__item:last-child {
    border-bottom: 1px solid #eae5df;
}

.tracklist__num {
    color: #ccc;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    padding-top: 0.08em;
    text-align: right;
}

.tracklist__name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #201814;
    line-height: 1.45;
}

.tracklist__name a {
    color: #1a2e3d;
    text-decoration: none;
}

.tracklist__name a:hover {
    color: #B41917;
}

.tracklist__authors {
    font-size: 0.72rem;
    color: #bbb;
    line-height: 1.3;
    margin-top: 0.1rem;
}

.tracklist__performers {
    font-size: 0.72rem;
    color: #8f8b85;
    line-height: 1.3;
    margin-top: 0.1rem;
}

.tracklist__authors:empty,
.tracklist__performers:empty {
    display: none;
}

/* Release credits */
.release-credits {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eae5df;
}

.release-credits__heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #bbb;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.credits-dl {
    font-size: 0.8rem;
    line-height: 1.75;
    color: #666;
}

.credits-line {
    margin: 0;
}

.credits-dl,
.credits-line {
    color: #666;
}

.credits-dl a {
    color: #0066cc;
}

.release-annotation {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.7;
}

.release-annotation p {
    margin: 0 0 0.65rem;
}

.release-annotation p:last-child {
    margin-bottom: 0;
}

.release-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eae5df;
}

.release-related__heading {
    margin: 0 0 1.1rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #bbb;
    font-weight: 600;
}

.release-related__grid {
    margin: 0;
}

.release-related .release-card {
    text-align: center;
}

/* Platform links */
.release-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.75rem;
}

.release-link-btn {
    display: inline-block;
    padding: 0.38rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    font-size: 0.75rem;
    color: #666;
    text-decoration: none;
    transition: border-color 0.18s, color 0.18s;
    letter-spacing: 0.01em;
}

.release-link-btn:hover {
    border-color: #2f4758;
    color: #2f4758;
    text-decoration: none;
}

/* Platform streaming links */
.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border: 1.5px solid;
    border-radius: 2rem;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.18s;
    background: #fff;
    white-space: nowrap;
}

.platform-btn::before {
    font-style: normal;
    font-size: 1em;
    line-height: 1;
    flex-shrink: 0;
}

.platform-btn:hover {
    text-decoration: none;
    opacity: 0.72;
}

.platform-btn--apple   { color: #fc3c44; border-color: #fc3c44; }
.platform-btn--itunes  { color: #c86dd4; border-color: #c86dd4; }
.platform-btn--youtube { color: #ff0000; border-color: #ff0000; }
.platform-btn--spotify { color: #1db954; border-color: #1db954; }
.platform-btn--deezer  { color: #a238ff; border-color: #a238ff; }
.platform-btn--yandex  { color: #7a5500; border-color: #d4a500; background: #fffce4; }
.platform-btn--zvuk    { color: #e85500; border-color: #ff6127; }

.platform-btn--apple::before   { content: '♫'; }
.platform-btn--itunes::before  { content: '♪'; }
.platform-btn--youtube::before { content: '▶'; }
.platform-btn--spotify::before { content: '●'; }
.platform-btn--deezer::before  { content: '≡'; font-size: 1.1em; }
.platform-btn--yandex::before  { content: 'Я'; font-weight: 900; }
.platform-btn--zvuk::before    { content: '≋'; }

/* Responsive overrides for clients section */
@media (max-width: 768px) {
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 4px;
    }

    .release-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .release-aside {
        position: static;
        width: 100%;
    }

    .release-cover-wrap {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .release-cover {
        min-height: 200px;
    }

    .release-aside .platform-links {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        justify-content: stretch;
    }

    .release-aside .platform-btn {
        width: 100%;
        justify-content: center;
        min-height: 2.2rem;
    }

    .release-info__title {
        font-size: 1.35rem;
    }

    .artist-releases-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .covers-grid {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
        gap: 3px;
    }

    .release-aside .platform-links {
        grid-template-columns: 1fr;
    }
}


