:root {
    color-scheme: dark;

    --bg: #07060d;
    --surface: #12101c;
    --border: #2a2540;
    --text: #f3f1fa;
    --muted: #a39db8;
    --accent: #ff2bd6;
    --accent-2: #22e3ff;
    --gradient: linear-gradient(100deg, var(--accent), #8b5cff 50%, var(--accent-2));

    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --gutter: clamp(1.25rem, 5vw, 4rem);
    --max-width: 72rem;
    --radius: 14px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 1rem/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0.5rem;
    z-index: 20;
    padding: 0.5rem 1rem;
    background: var(--text);
    color: var(--bg);
    border-radius: 6px;
}

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

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 1rem var(--gutter);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
    background: rgb(7 6 13 / 0.85);
    border-bottom-color: var(--border);
    backdrop-filter: blur(12px);
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a {
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--text);
}

/* Hero */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: calc(100svh - 4rem);
    padding: 4rem var(--gutter);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-small {
    min-height: 70svh;
}

.hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(40rem 26rem at 30% 35%, rgb(255 43 214 / 0.28), transparent 70%),
        radial-gradient(36rem 24rem at 72% 65%, rgb(34 227 255 / 0.2), transparent 70%);
    animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
    to {
        transform: translate3d(2%, -3%, 0) scale(1.08);
    }
}

.eyebrow {
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 100%;
    font-size: clamp(2.2rem, 11.5vw, 10rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 2.5rem rgb(255 43 214 / 0.45));
}

.hero-title-upper {
    text-transform: uppercase;
}

/* Buttons and links */

.button {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.button:hover {
    border-color: var(--accent);
    box-shadow: 0 0 1.5rem rgb(255 43 214 / 0.35);
    transform: translateY(-2px);
}

.button-primary {
    border-color: transparent;
    background: var(--gradient);
    color: #07060d;
}

.text-link {
    color: var(--muted);
    text-decoration-color: var(--border);
    text-underline-offset: 0.25em;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--accent-2);
}

/* Sections */

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(3.5rem, 9vw, 7rem) var(--gutter);
}

.section-title {
    margin-bottom: 2.5rem;
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.section-title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 4px;
    margin-top: 0.75rem;
    border-radius: 2px;
    background: var(--gradient);
}

.list-title {
    margin: 2rem 0 0.9rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.icon-link {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.2s, background-color 0.2s;
}

.icon-link:hover {
    background: var(--surface);
    color: var(--text);
}

.icon-link svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.about {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(1.5rem, 5vw, 3.5rem);
}

.about-photo {
    width: min(100%, 18rem);
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: 0 1.5rem 5rem rgb(34 227 255 / 0.18);
}

.prose {
    flex: 1 1 18rem;
    max-width: 42rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.prose p + p {
    margin-top: 1.2em;
}

.empty {
    color: var(--muted);
}

/* Release grid */

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.release-card {
    display: block;
    text-decoration: none;
}

.release-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.release-card:hover img {
    border-color: var(--accent);
    box-shadow: 0 1rem 3rem rgb(255 43 214 / 0.3);
    transform: translateY(-4px);
}

.release-card-title {
    display: block;
    margin-top: 0.9rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.release-card-meta {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Release page */

.release {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    align-items: start;
    gap: clamp(2rem, 6vw, 5rem);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) var(--gutter);
}

.release-cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 2rem 6rem rgb(255 43 214 / 0.25);
}

.release-title {
    margin-top: 0.75rem;
    font-size: clamp(2rem, 6vw, 3.75rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.release-artist {
    margin-top: 0.4rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.release-description {
    margin-top: 1.25rem;
    color: var(--muted);
}

.dsp-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 2rem;
}

.dsp-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.dsp-link:hover {
    border-color: var(--accent);
    box-shadow: 0 0 1.5rem rgb(255 43 214 / 0.3);
    transform: translateX(4px);
}

.dsp-action {
    color: var(--accent-2);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.release .empty {
    margin-top: 2rem;
}

.release-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
}

/* Legal pages */

.legal {
    max-width: 46rem;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) var(--gutter);
    color: var(--muted);
    overflow-wrap: break-word;
}

.legal h1 {
    margin-bottom: 2rem;
    color: var(--text);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    hyphens: auto;
}

.legal h2 {
    margin: 2.5rem 0 0.75rem;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
}

.legal p + p,
.legal ul + p {
    margin-top: 1em;
}

.legal ul {
    margin-top: 0.75em;
    padding-left: 1.25rem;
    list-style: disc;
}

.legal-missing {
    padding: 0.75rem 1rem;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    color: var(--text);
}

.legal-date {
    margin-top: 2.5rem;
    font-size: 0.85rem;
}

/* Footer */

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 2rem;
    padding: 2.5rem var(--gutter);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--text);
}

/* Scroll reveal (only when JS is running) */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

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

    .hero-glow {
        animation: none;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .dsp-link,
    .release-card img {
        transition: none;
    }
}
