:root {
    --bg: #070A0F;
    --text-primary: #E8EEF7;
    --text-secondary: rgba(232, 238, 247, 0.82);
    --text-muted: rgba(232, 238, 247, 0.52);
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.035);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

.sound-lab-page {
    min-height: 100vh;
    min-height: 100dvh;
    background:
        radial-gradient(ellipse 90% 55% at 12% -10%, rgba(90, 140, 180, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 92% 8%, rgba(70, 100, 140, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(40, 70, 100, 0.08) 0%, transparent 55%),
        var(--bg);
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

.sound-lab-hero {
    padding: calc(var(--site-header-height, 60px) + 72px) 0 48px;
}

.sound-lab-hero__title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 18px;
    max-width: 18ch;
}

.sound-lab-hero__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.sound-lab-main {
    padding: 0 0 96px;
}

.sound-lab-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.sound-lab-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--glass);
    isolation: isolate;
    transition:
        border-color 0.25s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.sound-lab-card:hover,
.sound-lab-card:focus-visible {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    outline: none;
}

.sound-lab-card.is-coming {
    cursor: default;
    pointer-events: none;
}

.sound-lab-card.is-coming:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.sound-lab-card__stage {
    position: relative;
    flex: 1;
    min-height: 168px;
    overflow: hidden;
    background: #0a0e14;
}

.sound-lab-card__canvas {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 168px;
}

.sound-lab-card__body {
    position: relative;
    z-index: 1;
    padding: 20px 22px 22px;
    background: rgba(7, 10, 15, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sound-lab-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sound-lab-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 560;
    letter-spacing: -0.02em;
    color: #fff;
}

.sound-lab-card__badge {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(232, 238, 247, 0.55);
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.sound-lab-card__badge--live,
.sound-lab-card__badge--active {
    color: rgba(160, 220, 200, 0.9);
    border-color: rgba(160, 220, 200, 0.25);
}

.sound-lab-card__desc {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.sound-lab-section-label {
    margin: 56px 0 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
}

.sound-lab-cta {
    margin-top: 64px;
    text-align: center;
}

.sound-lab-cta__text {
    margin: 0 auto 22px;
    max-width: 36rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.sound-lab-cta__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: #E8EEF7;
    color: #070A0F;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, background 0.2s ease, box-shadow 0.25s ease;
}

.sound-lab-cta__link:hover {
    transform: translateY(-1px);
    background: #fff;
    color: #070A0F;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.sound-lab-cta__link svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.sound-lab-cta__link:hover svg {
    transform: translateX(2px);
}

footer {
    padding: 48px 0 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-links {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(232, 238, 247, 0.55);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #E8EEF7;
}

.footer-meta {
    margin: 0;
    font-size: 13px;
    color: rgba(232, 238, 247, 0.35);
}

.footer-home-link {
    color: inherit;
    text-decoration: none;
}

.footer-home-link:hover {
    color: rgba(232, 238, 247, 0.7);
}

@media (prefers-reduced-motion: reduce) {
    .sound-lab-card,
    .sound-lab-cta__link,
    .sound-lab-cta__link svg {
        transition: none;
    }

    .sound-lab-card:hover,
    .sound-lab-card:focus-visible,
    .sound-lab-cta__link:hover {
        transform: none;
    }

    .sound-lab-cta__link:hover svg {
        transform: none;
    }
}

@media (max-width: 768px) {
    .sound-lab-hero {
        padding: calc(var(--site-header-height, 52px) + 48px) 0 36px;
    }

    .sound-lab-hero__title {
        max-width: none;
    }

    .sound-lab-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sound-lab-card {
        min-height: 240px;
    }

    .sound-lab-card__stage {
        min-height: 140px;
    }

    .sound-lab-card__canvas {
        min-height: 140px;
    }

    .sound-lab-main {
        padding-bottom: 72px;
    }

@media (min-width: 900px) {
    .container {
        padding: 0 48px;
    }
}
