/* =============================================
   PURPOSE PROD — Stylesheet
   ============================================= */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #050505;
    --bg-elevated: #0e0e0e;
    --white: #f5f5f5;
    --white-pure: #ffffff;
    --gray-100: #c8c8c8;
    --gray-300: #7a7a7a;
    --gray-500: #444444;
    --gray-800: #1a1a1a;
    --accent: #c9a55a;
    --accent-dim: rgba(201, 165, 90, 0.12);
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0, 0, 0.15, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s;
}

body.loaded { opacity: 1; }

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

::selection { background: var(--accent); color: var(--bg); }

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-text {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: var(--white);
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-logo {
    height: 22px;
    width: auto;
    filter: invert(1);
    animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- Grain overlay --- */
.grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
    pointer-events: none;
    z-index: 1;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 48px;
    transition: all 0.5s var(--ease);
}

.header.scrolled {
    padding: 16px 48px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.hidden { transform: translateY(-100%); }

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 16px;
    width: auto;
    filter: invert(1);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav a {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray-300);
    letter-spacing: 0.04em;
    transition: color 0.3s;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.header-nav a:hover { color: var(--white); }
.header-nav a:hover::after { width: 100%; }

.nav-cta {
    padding: 9px 24px !important;
    border: 1px solid var(--gray-500) !important;
    border-radius: 100px;
    transition: all 0.3s var(--ease) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--white) !important;
    color: var(--bg) !important;
    border-color: var(--white) !important;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white);
    position: absolute;
    transition: all 0.35s var(--ease);
}

.burger span:first-child { top: 6px; }
.burger span:last-child { bottom: 6px; }
.burger.active span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.active span:last-child { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: glowFloat 8s ease-in-out infinite alternate;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #5a3a8a 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: glowFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes glowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-link {
    font-family: var(--serif);
    font-size: clamp(3.8rem, 10vw, 9rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.0;
    color: var(--white);
    position: relative;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    padding: 4px 0;
}

.hero-link span {
    position: relative;
    z-index: 1;
}

.hero-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-dim);
    border-radius: 8px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.hero-links:hover .hero-link { opacity: 0.2; }
.hero-links .hero-link:hover { opacity: 1; transform: translateX(12px); }
.hero-links .hero-link:hover::before { transform: scaleX(1); }

.hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 48px;
    right: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}

.hero-tagline {
    font-size: 0.72rem;
    color: var(--gray-300);
    letter-spacing: 0.03em;
    max-width: 280px;
    line-height: 1.6;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 1px solid var(--gray-500);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* --- Sections --- */
.section { padding: 140px 0; }
.section-dark { background: var(--bg-elevated); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 64px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.section-head.visible { opacity: 1; transform: translateY(0); }

.section-label {
    font-size: 0.65rem;
    color: var(--gray-500);
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    font-style: italic;
    flex: 1;
}

/* --- Artists --- */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
}

.artist {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s var(--ease-out);
}

.artist.visible { opacity: 1; transform: translateY(0); }
.artist:nth-child(2).visible { transition-delay: 0.08s; }
.artist:nth-child(3).visible { transition-delay: 0.16s; }
.artist:nth-child(4).visible { transition-delay: 0.24s; }
.artist:nth-child(5).visible { transition-delay: 0.32s; }
.artist:nth-child(6).visible { transition-delay: 0.40s; }
.artist:nth-child(7).visible { transition-delay: 0.48s; }

.artist-visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    background: var(--bg-elevated);
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.artist:hover .artist-img { transform: scale(1.05); }

.artist-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 5, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.artist:hover .artist-overlay { opacity: 1; }

.artist-name {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- Release --- */
.release {
    display: flex;
    align-items: center;
    gap: 64px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.release.visible { opacity: 1; transform: translateY(0); }

.release-cover-wrap {
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s var(--ease);
}

.release:hover .release-cover-wrap { transform: scale(1.03) rotate(3deg); }

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

.release-artists {
    font-size: 1.05rem;
    color: var(--gray-100);
    margin-bottom: 4px;
    font-weight: 400;
}

.release-name {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-style: italic;
    margin-bottom: 8px;
}

.release-sub {
    font-size: 0.85rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.release-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 6px 14px;
    border: 1px solid var(--accent-dim);
    border-radius: 100px;
    background: var(--accent-dim);
}

/* --- Publishing TBA --- */
.tba-block {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.tba-block.visible { opacity: 1; transform: translateY(0); }

.tba-text {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gray-300);
}

.tba-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gray-500), transparent);
}

/* --- About --- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-lead {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-style: italic;
    line-height: 1.4;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.about-lead.visible { opacity: 1; transform: translateY(0); }

.about-body {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out) 0.15s;
}

.about-body.visible { opacity: 1; transform: translateY(0); }

.about-body p {
    font-size: 0.92rem;
    line-height: 1.85;
    color: var(--gray-300);
    font-weight: 300;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-logo-img {
    height: 18px;
    width: auto;
    filter: invert(1);
    margin-bottom: 16px;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-300);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--white); }

/* --- Contact Modal --- */
.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
}

.contact-modal.open { opacity: 1; visibility: visible; }

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.contact-modal-box {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 48px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.contact-modal.open .contact-modal-box { transform: translateY(0) scale(1); }

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.contact-modal-close:hover { color: var(--white); }

.contact-modal-title {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-300);
}

.contact-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 0.85rem;
    padding: 14px 28px;
    border: 1px solid var(--accent);
    border-radius: 100px;
    color: var(--accent);
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.contact-modal-btn:hover:not(.disabled) {
    background: var(--accent);
    color: var(--bg);
}

.contact-modal-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.captcha-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--gray-300);
    cursor: pointer;
    user-select: none;
}

.captcha-check input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gray-500);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    flex-shrink: 0;
}

.captcha-check input:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.captcha-check input:checked + .checkmark::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid var(--bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .header { padding: 22px 24px; }
    .header.scrolled { padding: 16px 24px; }

    .header-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 100;
    }

    .header-nav.open { display: flex; }
    .header-nav a { font-size: 1.2rem; color: var(--white); }
    .header-nav a::after { display: none; }
    .nav-cta { margin-left: 0; }

    .burger { display: block; }

    .container { padding: 0 24px; }
    .section { padding: 100px 0; }

    .hero-link { font-size: clamp(2.5rem, 12vw, 4.5rem); }

    .hero-bottom { left: 24px; right: 24px; bottom: 28px; }
    .hero-tagline { display: none; }

    .artist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .release {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .vinyl { width: 180px; height: 180px; }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-link { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .artist-grid { gap: 20px 12px; }
    .release-name { font-size: 1.8rem; }
    .about-lead { font-size: 1.2rem; }
}
