/* ============================================================
   double-standard.org  --  Brutalist Duotone Split-Screen
   Colors: #ffffff, #0a0a0a, #e53935, #f0f0f0, #616161, #9e9e9e
   Fonts:  Cormorant Garamond, Anton, Work Sans
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #0a0a0a;
    background: #ffffff;
    overflow-x: hidden;
}

/* ---- Header ---- */
#site-header {
    background: #0a0a0a;
    color: #ffffff;
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
    position: relative;
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.site-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 3.5rem;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 0.3rem;
}

.site-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #9e9e9e;
    font-style: italic;
}

/* ---- Scale of Justice ---- */
.scale-of-justice {
    margin: 0 auto 1.5rem;
    width: 120px;
    height: 60px;
    position: relative;
}

.scale-beam {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotate(8deg);
    transform-origin: center 10px;
}

.scale-fulcrum {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 16px solid #e53935;
}

.scale-beam::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 2px;
    background: #9e9e9e;
}

.scale-pan {
    position: absolute;
    top: 16px;
    width: 30px;
    height: 2px;
    background: #9e9e9e;
}

.scale-pan::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    width: 1px;
    height: 14px;
    background: #9e9e9e;
}

.scale-pan-left {
    left: 4px;
}

.scale-pan-right {
    right: 4px;
}

/* ---- Split Section ---- */
.split-section {
    position: relative;
    min-height: 80vh;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    position: relative;
}

/* The Red Line */
.split-container {
    --red-glow: 0;
}

.split-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #e53935;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 calc(var(--red-glow) * 12px) calc(var(--red-glow) * 4px) rgba(229, 57, 53, 0.5);
}

/* Praised Side (Left) */
.praised-side {
    background: #ffffff;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.split-label {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #9e9e9e;
}

.praised-side .split-label {
    color: #616161;
    border-color: #9e9e9e;
}

.condemned-side .split-label {
    color: #9e9e9e;
    border-color: #616161;
}

.praised-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.5;
    color: #0a0a0a;
    font-style: italic;
}

.praised-attribution {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: #616161;
    margin-top: 1.5rem;
}

/* Condemned Side (Right) */
.condemned-side {
    background: #0a0a0a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.condemned-text {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.25;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.condemned-attribution {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    color: #9e9e9e;
    margin-top: 1.5rem;
}

/* ---- Stamps ---- */
.stamp {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.08;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
}

/* Approval Checkmark */
.stamp-approved::before,
.stamp-approved::after {
    content: '';
    position: absolute;
    background: #4caf50;
}

.stamp-approved::before {
    width: 30px;
    height: 60px;
    bottom: 15px;
    right: 20px;
    transform: rotate(45deg);
    border-radius: 2px;
}

.stamp-approved::after {
    width: 30px;
    height: 30px;
    bottom: 15px;
    left: 15px;
    transform: rotate(-45deg);
    border-radius: 2px;
}

/* Rejection X */
.stamp-rejected::before,
.stamp-rejected::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 12px;
    background: #e53935;
    top: 50%;
    left: 50%;
    border-radius: 2px;
}

.stamp-rejected::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.stamp-rejected::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---- Evidence Blocks ---- */
.evidence-block {
    background: #f0f0f0;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.evidence-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.evidence-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e53935;
    display: inline-block;
}

.evidence-text {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
}

.evidence-citation {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    color: #616161;
    font-style: italic;
}

/* ---- Quote Marks ---- */
.quote-mark {
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 200px;
    line-height: 1;
    color: #0a0a0a;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.quote-mark-left {
    top: -20px;
    left: -10px;
}

.quote-mark-right {
    bottom: -80px;
    right: -10px;
    transform: rotate(180deg);
}

/* ---- Redacted Text ---- */
.redacted {
    background-color: #0a0a0a;
    color: #0a0a0a;
    padding: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 1px;
}

.redacted.revealed {
    background-color: transparent;
    color: #e53935;
}

/* ---- Final Statement ---- */
#final-statement {
    background: #0a0a0a;
    color: #ffffff;
    text-align: center;
    padding: 6rem 2rem;
}

.final-inner {
    max-width: 700px;
    margin: 0 auto;
}

.final-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1.3;
    color: #ffffff;
    margin: 2rem 0 1rem;
}

.final-text {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e53935;
    margin-bottom: 2rem;
}

.red-line-horizontal {
    width: 120px;
    height: 2px;
    background: #e53935;
    margin: 0 auto;
}

/* ---- Footer ---- */
#site-footer {
    background: #0a0a0a;
    border-top: 1px solid #616161;
    color: #9e9e9e;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.footer-text {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.footer-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #616161;
    font-style: italic;
}

/* ---- Scroll Reveal Animation ---- */
.split-section .split-content,
.evidence-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.split-section.in-view .split-content,
.evidence-block.in-view .evidence-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Mobile (< 768px) ---- */
@media (max-width: 767px) {
    .site-title {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
    }

    .site-tagline {
        font-size: 1rem;
    }

    .split-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .praised-side,
    .condemned-side {
        padding: 3rem 1.5rem;
        min-height: 50vh;
    }

    /* Red Line becomes horizontal between stacked halves */
    .split-container::after {
        left: 0;
        top: auto;
        bottom: 50%;
        width: 100%;
        height: 2px;
        transform: none;
    }

    .praised-text,
    .condemned-text {
        font-size: 1.4rem;
    }

    .evidence-block {
        padding: 3rem 1.5rem;
    }

    .quote-mark {
        font-size: 120px;
    }

    .final-heading {
        font-size: 1.8rem;
    }

    .final-text {
        font-size: 1.1rem;
    }

    .scale-of-justice {
        width: 90px;
        height: 45px;
    }
}
