:root {
    --cream: #f5f0e6;
    --near-black: #1a1a28;
    --gold: #c4a55a;
    --slate: #5a5a6e;
    --charcoal: #2c2c2c;
    --lavender: #9a9aaa;
    --verdict-red: #b8423a;
    --unity-gray: #8a8a8a;
    --neutral: #e0dcd2;
    --text-dark: #3d3d3d;
    --text-faded: #7a7a8e;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
    color: var(--charcoal);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ============================================
   DIAGONAL OVERLAY
   ============================================ */

.diagonal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

.diagonal-line {
    stroke: var(--verdict-red);
    stroke-width: 0.15;
    stroke-dasharray: 2 1;
    opacity: 0.6;
}

/* ============================================
   HERO
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 62fr 38fr;
    position: relative;
}

.hero-side-a {
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.hero-side-b {
    background-color: var(--near-black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.watermark-text {
    position: absolute;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(100px, 18vw, 200px);
    transform: rotate(-45deg);
    opacity: 0.15;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
}

.watermark-a {
    color: var(--gold);
}

.watermark-b {
    color: var(--slate);
}

.hero-title-a {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -0.01em;
    color: var(--charcoal);
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.hero-title-b {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2.5vw, 2rem);
    letter-spacing: 0.04em;
    color: var(--text-faded);
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.hero-sub-a {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.hero-sub-b {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--lavender);
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.hero-double {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 0.2em;
    color: var(--verdict-red);
    z-index: 60;
    opacity: 0;
    animation: typeDouble 1.5s ease 1.4s forwards;
}

@keyframes typeDouble {
    0% { opacity: 0; letter-spacing: 0.5em; }
    100% { opacity: 1; letter-spacing: 0.2em; }
}

/* ============================================
   EXHIBIT HALL
   ============================================ */

.exhibit-section {
    padding: 0;
}

.exhibit-pair {
    display: grid;
    grid-template-columns: 62fr 38fr;
    min-height: 60vh;
}

.exhibit-a {
    background-color: var(--cream);
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
}

.exhibit-b {
    background-color: var(--near-black);
    padding: 0.5rem 1rem;
    position: relative;
}

.exhibit-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 1.25rem;
}

.label-a {
    color: var(--gold);
    border: 1px solid var(--gold);
    transform: rotate(-2deg);
}

.label-b {
    color: var(--slate);
    border: 1px solid var(--slate);
    transform: rotate(2deg);
}

.exhibit-body-a {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    text-indent: 1.5em;
}

.exhibit-body-b {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.35;
    color: var(--lavender);
}

.initial-cap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 0.8;
    margin-right: 0.1em;
    margin-top: 0.05em;
    color: var(--gold);
}

/* Scroll Reveals */
.scroll-reveal-a {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal-a.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-b {
    opacity: 0;
}

.scroll-reveal-b.visible {
    opacity: 1;
}

/* ============================================
   THE SCALE
   ============================================ */

.scale-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--cream) 62%, var(--near-black) 38%);
    padding: 2rem;
    position: relative;
}

.scale-svg {
    display: block;
}

.scale-beam {
    transform-origin: 200px 80px;
    transition: transform 0.3s ease;
}

.scale-weights {
    margin-top: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: var(--slate);
    display: flex;
    gap: 0.5rem;
}

.weight-divider {
    color: var(--verdict-red);
}

.scale-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--charcoal);
    margin-top: 2rem;
    text-align: center;
    perspective: 800px;
}

/* ============================================
   THE MIRROR
   ============================================ */

.mirror-section {
    display: grid;
    grid-template-columns: 38fr 62fr;
    min-height: 80vh;
}

.mirror-a {
    background-color: var(--near-black);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mirror-b {
    background-color: var(--cream);
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
    background-color: var(--unity-gray);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
}

.footer-merge-line {
    width: 60%;
    max-width: 400px;
    height: 1px;
    background-color: var(--charcoal);
    opacity: 0.4;
    margin-bottom: 2rem;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-section,
    .exhibit-pair {
        grid-template-columns: 1fr;
    }

    .mirror-section {
        grid-template-columns: 1fr;
    }

    .hero-side-a,
    .exhibit-a,
    .mirror-b {
        padding: 2rem 1.25rem;
    }

    .hero-side-b,
    .exhibit-b,
    .mirror-a {
        padding: 1.5rem 1.25rem;
    }

    .diagonal-overlay {
        display: none;
    }

    .hero-double {
        font-size: 2rem;
    }

    .scale-section {
        background: var(--cream);
    }
}
