/* ==========================================================================
   Татьяна Петрунина — портфолио. style.css (без Tailwind, чистый CSS).
   ========================================================================== */

/* ---------- Reset & базовые ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: rgba(74, 68, 66, 0.2); /* default border color (как у Tailwind preflight) */
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: #0a0a0a;
    overscroll-behavior-y: none;
}
body {
    background: #0a0a0a;
    color: #e8e0d4;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    line-height: 1.5;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 4rem; /* компенсация фиксированного хедера h-16 */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Палитра как CSS-переменные ---------- */
:root {
    --dark-50: #1a1a1a;
    --dark-100: #141414;
    --dark-200: #111111;
    --dark-300: #0a0a0a;
    --warm-50: #f5f0e8;
    --warm-100: #e8e0d4;
    --warm-200: #d4c9b8;
    --warm-300: #c4a265;
    --warm-400: #b8924f;
    --warm-500: #a07830;
    --muted-100: #8a8178;
    --muted-200: #6b6360;
    --muted-300: #4a4442;
}

/* ---------- Шрифты ---------- */
.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-body    { font-family: 'Raleway', sans-serif; }
.font-script  { font-family: 'Great Vibes', cursive; }

/* ---------- Цвета (только используемые) ---------- */
.text-warm-100   { color: var(--warm-100); }
.text-warm-300   { color: var(--warm-300); }
.text-muted-100  { color: var(--muted-100); }
.text-muted-300  { color: var(--muted-300); }

.bg-dark-200     { background-color: var(--dark-200); }
.bg-dark-300\/60 { background-color: rgba(10, 10, 10, 0.6); }

.border-muted-300\/20 { border-color: rgba(74, 68, 66, 0.2); }
.border-warm-300\/50  { border-color: rgba(196, 162, 101, 0.5); }

/* ---------- Лейаут ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.inset-0  { top: 0; right: 0; bottom: 0; left: 0; }
.right-0  { right: 0; }
.top-0    { top: 0; }
.bottom-0 { bottom: 0; }
.z-10     { z-index: 10; }
.z-20     { z-index: 20; }
.z-40     { z-index: 40; }
.z-50     { z-index: 50; }
.h-full   { height: 100%; }
.w-full   { width: 100%; }
.w-2\/3   { width: 66.6667%; }
.w-72     { width: 18rem; }
.h-16     { height: 4rem; }
.w-10     { width: 2.5rem; }
.h-10     { height: 2.5rem; }
.w-12     { width: 3rem; }
.h-12     { height: 3rem; }
.w-4      { width: 1rem; }
.h-4      { height: 1rem; }
.w-5      { width: 1.25rem; }
.h-5      { height: 1.25rem; }
.w-3\.5   { width: .875rem; }
.h-3\.5   { height: .875rem; }
.flex-shrink-0 { flex-shrink: 0; }
.max-w-md  { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto   { margin-left: auto; margin-right: auto; }

/* Flex */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1\.5 { gap: .375rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3    { gap: .75rem; }
.gap-4    { gap: 1rem; }
.gap-8    { gap: 2rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-x-8 { column-gap: 2rem; }
.gap-y-14 { row-gap: 3.5rem; }

/* Spacing */
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-0\.5 { margin-top: .125rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-8  { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.ml-0\.5 { margin-left: .125rem; }
.space-y-2\.5 > * + * { margin-top: .625rem; }
.space-y-4   > * + * { margin-top: 1rem; }

/* Типографика */
.text-\[10px\] { font-size: 10px; }
.text-xs   { font-size: .75rem;  line-height: 1rem; }
.text-sm   { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem;    line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem;line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;  line-height: 2rem; }
.text-3xl  { font-size: 1.875rem;line-height: 2.25rem; }
.text-\[2\.5rem\] { font-size: 2.5rem; }
.tracking-\[0\.15em\] { letter-spacing: .15em; }
.tracking-\[0\.2em\]  { letter-spacing: .2em; }
.tracking-\[0\.3em\]  { letter-spacing: .3em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.font-light  { font-weight: 300; }
.font-medium { font-weight: 500; }
.leading-\[1\] { line-height: 1; }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-relaxed { line-height: 1.625; }
.break-all { word-break: break-all; }
.text-center { text-align: center; }

/* Border / radius */
.border-t  { border-top-width: 1px; }
.border-b  { border-bottom-width: 1px; }
.border    { border-width: 1px; }
.rounded-sm   { border-radius: 2px; }
.rounded-full { border-radius: 9999px; }
.rounded-none { border-radius: 0; }
.shadow-2xl   { box-shadow: 0 25px 50px -12px rgba(0,0,0,.6); }

/* Прочее */
.aspect-square { aspect-ratio: 1 / 1; }
.overflow-hidden { overflow: hidden; }
.object-cover  { object-fit: cover; }
.object-\[center_30\%\] { object-position: center 30%; }
.opacity-70 { opacity: .7; }
.grayscale  { filter: grayscale(100%); }
.backdrop-blur-sm {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.transform { transform: translate(var(--tw-tx, 0), var(--tw-ty, 0)); }
.translate-x-full { transform: translateX(100%); }
.translate-x-0    { transform: translateX(0); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(.4,0,.2,1); }
.transition-colors    { transition-property: color, background-color, border-color, fill, stroke; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: .15s; }
.transition-all       { transition: all .15s cubic-bezier(.4,0,.2,1); }
.duration-300 { transition-duration: .3s; }
.ease-in-out  { transition-timing-function: cubic-bezier(.4, 0, .2, 1); }

/* Hover (десктоп) */
@media (hover: hover) {
    .hover\:text-warm-100:hover  { color: var(--warm-100); }
    .hover\:text-warm-300:hover  { color: var(--warm-300); }
}

/* Hero gradient (заменяет bg-gradient-to-r from-dark-300 via-dark-300/95 to-transparent) */
.hero-overlay {
    background-image: linear-gradient(to right,
        #0a0a0a 0%,
        rgba(10,10,10,.95) 50%,
        transparent 100%);
}

/* ---------- Брейкпоинты ---------- */
@media (min-width: 640px) {
    .sm\:inline-block { display: inline-block; }
    .sm\:block        { display: block; }
    .sm\:flex-row     { flex-direction: row; }
    .sm\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:w-1\/2       { width: 50%; }
    .sm\:w-14         { width: 3.5rem; }
    .sm\:h-14         { height: 3.5rem; }
    .sm\:w-5          { width: 1.25rem; }
    .sm\:h-5          { height: 1.25rem; }
    .sm\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:px-8         { padding-left: 2rem;   padding-right: 2rem; }
    .sm\:py-24        { padding-top: 6rem; padding-bottom: 6rem; }
    .sm\:py-20        { padding-top: 5rem; padding-bottom: 5rem; }
    .sm\:pt-8         { padding-top: 2rem; }
    .sm\:mb-6         { margin-bottom: 1.5rem; }
    .sm\:mb-8         { margin-bottom: 2rem; }
    .sm\:mb-14        { margin-bottom: 3.5rem; }
    .sm\:mt-6         { margin-top: 1.5rem; }
    .sm\:mt-10        { margin-top: 2.5rem; }
    .sm\:mt-20        { margin-top: 5rem; }
    .sm\:gap-3        { gap: .75rem; }
    .sm\:gap-4        { gap: 1rem; }
    .sm\:gap-16       { gap: 4rem; }
    .sm\:gap-y-16     { row-gap: 4rem; }
    .sm\:space-y-3 > * + * { margin-top: .75rem; }
    .sm\:space-y-5 > * + * { margin-top: 1.25rem; }
    .sm\:text-xs      { font-size: .75rem; }
    .sm\:text-base    { font-size: 1rem; line-height: 1.5rem; }
    .sm\:text-3xl     { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-4xl     { font-size: 2.25rem; line-height: 2.5rem; }
    .sm\:text-5xl     { font-size: 3rem; line-height: 1; }
}
@media (min-width: 768px) {
    .md\:w-1\/2  { width: 50%; }
    .md\:pb-0    { padding-bottom: 0; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 1024px) {
    .lg\:flex          { display: flex; }
    .lg\:hidden        { display: none; }
    .lg\:grid-cols-2   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:gap-24        { gap: 6rem; }
    .lg\:py-32         { padding-top: 8rem; padding-bottom: 8rem; }
    .lg\:py-28         { padding-top: 7rem; padding-bottom: 7rem; }
    .lg\:px-10         { padding-left: 2.5rem; padding-right: 2.5rem; }
    .lg\:text-7xl      { font-size: 4.5rem; line-height: 1; }
}

/* ---------- Шумовая текстура. Раньше z-index: 9999 — это перекрывало модалки.
   Ставим ниже контента. ---------- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ---------- iOS rubber-band fix: чёрный «щит» над хедером ---------- */
body::after {
    content: '';
    position: fixed;
    left: 0; right: 0;
    bottom: 100%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 49;
    pointer-events: none;
}

/* ---------- Тач ---------- */
a, button {
    -webkit-tap-highlight-color: rgba(196, 162, 101, 0.2);
    touch-action: manipulation;
}
@media (max-width: 1023px) {
    button, a { min-height: 44px; }
    .song-dl, .song-lyrics-actions a, .song-cover-actions .song-play { min-height: 0; }
}

/* ---------- Логотип-скрипт ---------- */
header a.font-script {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding-top: .15em; /* визуальная компенсация: у Great Vibes большие восходящие */
}

/* ---------- Бургер ---------- */
.burger-line {
    display: block;
    width: 1.25rem;
    height: 1.5px;
    background: var(--warm-100);
    transition: transform .3s ease, opacity .2s ease;
    transform-origin: center;
}
#mobile-menu-btn.is-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobile-menu-btn.is-open .burger-line:nth-child(2) { opacity: 0; }
#mobile-menu-btn.is-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu     { z-index: 60; }
#mobile-overlay  { z-index: 55; }
#mobile-menu-btn { z-index: 45; }
body.menu-open #mobile-menu-btn { z-index: 70; }

/* ---------- Header (фиксированный) ---------- */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.85);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    z-index: 50;
}
footer { padding-bottom: env(safe-area-inset-bottom); }
#mobile-menu {
    padding-top: 5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: env(safe-area-inset-bottom);
}

/* ---------- Анимации ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Уважаем 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;
    }
    .animate-fade-up { opacity: 1; transform: none; }
}

/* ---------- Кнопка-контур ---------- */
.btn-outline {
    border: 1px solid var(--warm-300);
    transition: background-color .3s ease, color .3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
.btn-outline:hover {
    background: var(--warm-300);
    color: var(--dark-300);
}

/* ---------- Подчёркивание в навигации ---------- */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--warm-300);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-image-mask {
    mask-image: linear-gradient(to left, black 60%, transparent 100%),
                linear-gradient(to top, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%),
                        linear-gradient(to top, transparent 0%, black 25%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

/* ---------- Кнопка-плей вступления ---------- */
.play-btn { transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease; }
.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(196, 162, 101, 0.2);
}
#intro-play .intro-icon-pause { display: none; }
#intro-play.playing { background: var(--warm-300); color: var(--dark-300); border-color: var(--warm-300); }
#intro-play.playing .intro-icon-play { display: none; }
#intro-play.playing .intro-icon-pause { display: inline-block; }

/* ---------- Картинки в about ---------- */
.img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: transform .6s ease, filter .6s ease, opacity .6s ease;
    will-change: transform, filter, opacity;
}
.img-hover:hover {
    transform: scale(1.03);
    filter: grayscale(0);
    opacity: 1;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--muted-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--warm-300); }

/* ===========================================================================
   Songs Section
   =========================================================================== */
.song-card { display: flex; flex-direction: column; }
.song-cover-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--dark-100);
    margin-bottom: 1.25rem;
}
.song-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter .7s ease, opacity .7s ease, transform 1.2s ease;
}
.song-card:hover .song-cover { filter: grayscale(0); opacity: 1; transform: scale(1.03); }

.song-cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top,
        rgba(10,10,10,0.92) 0%,
        rgba(10,10,10,0.15) 50%,
        transparent 100%);
}
.song-cover-actions {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.song-play {
    width: 3rem; height: 3rem; border-radius: 9999px;
    border: 1px solid rgba(196,162,101,0.6);
    background: rgba(10,10,10,0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--warm-300);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.song-play:hover { background: var(--warm-300); color: var(--dark-300); border-color: var(--warm-300); }
.song-card.playing .song-play { background: var(--warm-300); color: var(--dark-300); border-color: var(--warm-300); }

/* Тогглинг play/pause иконок (специфичность выше, чем у общих правил выше) */
.song-card           .icon-play  { display: inline-flex; }
.song-card           .icon-pause { display: none; }
.song-card.playing   .icon-play  { display: none; }
.song-card.playing   .icon-pause { display: inline-flex; }

/* Размеры SVG-иконок внутри песен */
.song-play .icon-play svg,
.song-play .icon-pause svg { width: 20px; height: 20px; }
.song-play .icon-play svg { margin-left: 2px; } /* оптическая компенсация треугольника */
.song-dl svg            { width: 16px; height: 16px; }
.song-toggle .chev      { display: inline-flex; }
.song-toggle .chev svg  { width: 14px; height: 14px; }
.song-lyrics-actions a svg { width: 14px; height: 14px; }

.song-dl {
    width: 2.5rem; height: 2.5rem; border-radius: 9999px;
    border: 1px solid rgba(196,162,101,0.4);
    background: rgba(10,10,10,0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--muted-100);
    display: inline-flex; align-items: center; justify-content: center;
    transition: color .3s ease, border-color .3s ease;
}
.song-dl:hover { color: var(--warm-300); border-color: var(--warm-300); }

.song-progress {
    height: 2px; background: rgba(74,68,66,0.5);
    margin: 0 0 1rem 0;
    cursor: pointer; opacity: 0;
    transition: opacity .3s ease;
    position: relative;
}
.song-progress:focus-visible { outline: 2px solid var(--warm-300); outline-offset: 4px; }
.song-card.playing .song-progress { opacity: 1; }
.song-progress-fill { height: 100%; width: 0%; background: var(--warm-300); transition: width .15s linear; }

.song-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    margin-bottom: .25rem;
}
.song-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.75rem;
    line-height: 1.15;
    color: var(--warm-100);
    letter-spacing: 0.005em;
}
.song-num {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--muted-200);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.song-time {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--muted-100);
    font-variant-numeric: tabular-nums;
    margin-bottom: 1rem;
}

.song-toggle {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-300);
    background: none; border: none;
    padding: .25rem 0;
    cursor: pointer;
    transition: color .25s ease;
}
.song-toggle:hover { color: var(--warm-100); }
.song-toggle .chev { transition: transform .35s ease; width: 14px; height: 14px; }
.song-card.open .song-toggle .chev { transform: rotate(180deg); }

.song-lyrics-wrap {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .55s cubic-bezier(.22,.61,.36,1), opacity .35s ease, margin-top .55s ease;
}
.song-card.open .song-lyrics-wrap {
    max-height: 4000px;
    opacity: 1;
    margin-top: 1.25rem;
}
.song-lyrics-inner { overflow: hidden; }

.song-lyrics-box {
    border-top: 1px solid rgba(74,68,66,0.4);
    padding-top: 1.5rem;
}

.song-lyrics-text {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--warm-100);
    white-space: pre-wrap;
    word-wrap: break-word;
}
.song-lyrics-text .label {
    display: inline-block;
    color: var(--warm-300);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 1.5rem 0 .25rem;
    padding: .25rem .75rem;
    border: 1px solid rgba(196,162,101,0.4);
}
.song-lyrics-text .label:first-child { margin-top: 0; }

.song-lyrics-actions {
    margin-top: 2rem;
    display: flex; gap: .75rem; flex-wrap: wrap;
}
.song-lyrics-actions a {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted-100);
    border: 1px solid rgba(74,68,66,0.6);
    padding: .75rem 1.25rem;
    transition: color .25s ease, border-color .25s ease;
}
.song-lyrics-actions a:hover { color: var(--warm-300); border-color: rgba(196,162,101,0.6); }

@media (max-width: 640px) {
    .song-title { font-size: 1.5rem; }
    .song-lyrics-text { font-size: 1rem; line-height: 1.8; }
    .song-cover-actions { left: .75rem; right: .75rem; bottom: .75rem; }
    .song-play { width: 2.75rem; height: 2.75rem; }
    .song-dl  { width: 2.25rem; height: 2.25rem; }
}

/* ---------- Контакты ---------- */
#contacts ul li { align-items: center; }
#contacts ul li > svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}
.noscript-warning {
    max-width: 42rem;
    margin: 2rem auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--warm-300);
    color: var(--warm-100);
    text-align: center;
    font-family: 'Raleway', sans-serif;
}

/* ---------- Focus visibility (a11y) ---------- */
:focus-visible {
    outline: 2px solid var(--warm-300);
    outline-offset: 2px;
}
