/* ============================================
   double-standard.xyz - Monochrome Stark Landing
   ============================================ */

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

body {
    background: #FFFFFF;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    overflow-x: hidden;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 5vw;
    max-width: 66%;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.01em;
    color: #000000;
    line-height: 1.1;
}

.hero-thesis {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #888888;
    margin-top: 2rem;
    max-width: 50ch;
    opacity: 0;
    transition: opacity 1.5s ease-in;
}

.hero-thesis.revealed {
    opacity: 1;
}

/* --- Section Rules --- */
.section-rule {
    border: none;
    border-top: 0.5px solid #E5E5E5;
    max-width: 66%;
    margin: 0 auto;
}

/* --- INDEX --- */
.index-section {
    max-width: 66%;
    margin: 0 auto;
    padding: 6rem 0;
}

.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 2rem;
}

.index-list {
    list-style: none;
    counter-reset: index-counter;
}

.index-list li {
    counter-increment: index-counter;
    padding: 0.5rem 0;
    border-bottom: 0.5px solid #E5E5E5;
}

.index-list li::before {
    content: counter(index-counter, decimal-leading-zero) ". ";
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: #888888;
}

.index-list a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
}

.index-list a:hover {
    color: #D63031;
}

/* --- CASE SECTIONS --- */
.case-section {
    max-width: 66%;
    margin: 0 auto;
    padding: 8rem 0;
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.case-section.visible {
    opacity: 1;
}

.case-number {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: clamp(3rem, 6vw, 5rem);
    color: #E5E5E5;
    position: absolute;
    top: 6rem;
    left: -2rem;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.case-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: -0.01em;
    color: #000000;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.case-body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #000000;
    max-width: 60ch;
    margin-bottom: 3rem;
}

.case-body em {
    font-style: normal;
    color: #D63031;
}

/* --- BAR CHARTS --- */
.bar-chart {
    margin-top: 2rem;
}

.bar-row {
    margin-bottom: 1.5rem;
}

.bar-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: #888888;
    display: block;
    margin-bottom: 0.5rem;
}

.bar-track {
    width: 100%;
    height: 28px;
    background: #F8F8F8;
    position: relative;
}

.bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: #FFFFFF;
    width: 0;
    transition: width 1.2s ease-out;
}

.bar-high {
    background: #D63031;
}

.bar-low {
    background: #E5E5E5;
    color: #888888;
}

/* --- COMPARISON COLUMNS --- */
.comparison-columns {
    display: flex;
    gap: 0;
    margin-top: 2rem;
}

.comparison-col {
    flex: 1;
    padding: 2rem;
}

.comparison-col h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: #000000;
    margin-bottom: 1rem;
}

.comparison-col p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #000000;
}

.comparison-divider {
    width: 1px;
    background: #E5E5E5;
    align-self: stretch;
}

/* --- FOOTER --- */
.footer-citation {
    max-width: 66%;
    margin: 0 auto;
    padding: 6rem 0 4rem;
}

.citation-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 1rem;
}

.citation-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #888888;
    max-width: 55ch;
    margin-bottom: 3rem;
}

.citation-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #E5E5E5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero,
    .index-section,
    .case-section,
    .footer-citation,
    .section-rule {
        max-width: 90%;
    }

    .comparison-columns {
        flex-direction: column;
    }

    .comparison-divider {
        width: 100%;
        height: 1px;
    }

    .case-number {
        left: 0;
    }
}
