/* ===== lossless.dev - Luxury Audio Editorial ===== */

:root {
    --navy-deep: #0A1628;
    --navy-mid: #152238;
    --silver-white: #E8ECF0;
    --pure-white: #FFFFFF;
    --surface-light: #F4F6F8;
    --steel-blue: #8A94A6;
    --slate-blue: #7A8CA8;
    --border-subtle: #C0C8D0;
    --gold-accent: #D4A043;
}

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

body {
    background: var(--navy-deep);
    color: var(--silver-white);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Full Intro ===== */
.full-intro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-deep);
    position: relative;
}

.waveform-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 80px;
}

.wave-bar {
    width: 2px;
    background: linear-gradient(to top, var(--slate-blue), var(--border-subtle));
    border-radius: 1px;
    height: 2px;
    transition: height 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.wave-bar.active {
    height: var(--target-height);
}

/* ===== Magazine Layout ===== */
.magazine-layout {
    max-width: 1200px;
    margin: 0 auto;
}

.spread {
    display: grid;
    grid-template-columns: 58% 42%;
    min-height: 100vh;
    border-bottom: 1px solid rgba(192, 200, 208, 0.1);
}

.text-page {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plate-page {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background: var(--navy-mid);
    border-left: 1px solid rgba(192, 200, 208, 0.1);
}

/* ===== Typography ===== */
.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--gold-accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

h2 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--silver-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: var(--steel-blue);
    margin-bottom: 1.2rem;
    max-width: 48ch;
}

.pull-quote {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--gold-accent);
    font-style: italic;
    border-left: 2px solid var(--gold-accent);
    padding-left: 1rem;
    margin-top: 1.5rem;
    display: block;
}

/* ===== Spec Block ===== */
.spec-block {
    margin-top: 1.5rem;
    border: 1px solid rgba(192, 200, 208, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(192, 200, 208, 0.08);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-key {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--steel-blue);
}

.spec-val {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--pure-white);
    font-weight: 500;
}

.spec-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--steel-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===== Waveform Panels ===== */
.waveform-panel {
    width: 100%;
    max-width: 300px;
    height: 100px;
    background: var(--navy-deep);
    border-radius: 12px;
    border: 1px solid rgba(192, 200, 208, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 1rem;
    overflow: hidden;
}

.waveform-panel .wave-bar {
    width: 2px;
    background: linear-gradient(to top, var(--slate-blue), var(--border-subtle));
    border-radius: 1px;
    transition: height 0.6s ease;
}

/* ===== Frequency Bars ===== */
.frequency-bars {
    width: 100%;
    max-width: 300px;
    height: 120px;
    background: var(--navy-deep);
    border-radius: 12px;
    border: 1px solid rgba(192, 200, 208, 0.15);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 1rem;
}

.freq-bar {
    width: 8px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, var(--slate-blue), var(--gold-accent));
    transition: height 0.8s ease;
}

/* ===== VU Meter ===== */
.vu-meter {
    width: 100%;
    max-width: 200px;
    height: 12px;
    background: var(--navy-deep);
    border-radius: 6px;
    border: 1px solid rgba(192, 200, 208, 0.15);
    overflow: hidden;
    position: relative;
}

.vu-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--slate-blue), var(--gold-accent));
    border-radius: 6px;
    transition: width 1.5s ease;
}

.vu-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Mono', monospace;
    font-size: 0.5rem;
    color: var(--pure-white);
    letter-spacing: 0.15em;
    opacity: 0.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .spread {
        grid-template-columns: 1fr;
    }

    .text-page {
        padding: 3rem 1.5rem;
    }

    .plate-page {
        padding: 2rem 1.5rem;
        border-left: none;
        border-top: 1px solid rgba(192, 200, 208, 0.1);
    }
}
