/* ======================================
   JUSTICE FOR ELLEN GREENBERG - STYLES
   Pixel-perfect clone from screenshots
   ====================================== */

/* --- Reset & Custom Properties --- */
:root {
    --black: #0d0d0d;
    --dark: #1a1a1a;
    --dark-gray: #2a2a2a;
    --white: #ffffff;
    --off-white: #f5f5f0;
    --cream: #fafaf5;
    --gold: #c8a84e;
    --gold-highlight: rgba(200, 168, 78, 0.35);
    --text-light: #e8e8e8;
    --text-muted: #999;
    --mono: 'Inconsolata', 'Courier New', monospace;
    --heading: 'Syne', sans-serif;
    --serif: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--black);
    color: var(--text-light);
    font-family: var(--mono);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s var(--ease);
}

a:hover {
    opacity: 0.7;
}

img {
    display: block;
    max-width: 100%;
}

/* ======================================
   HEADER / NAVIGATION
   ====================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.2rem 3vw;
    z-index: 1000;
    gap: 2rem;
}

.nav-left {
    display: flex;
    gap: 2.5rem;
}

.nav-left a {
    font-family: var(--mono);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: var(--white);
}

.nav-right {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-left: 1rem;
}

.nav-right a {
    color: var(--white);
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: all 0.3s var(--ease);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-content a {
    font-family: var(--heading);
    font-size: 2rem;
    color: var(--white);
    display: block;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-social a {
    font-size: 1rem;
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(30%) brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 5vw 6vh;
    max-width: 580px;
}

.hero-subtitle {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    margin-bottom: 0.3rem;
    opacity: 0.95;
}

.hero-subtitle em {
    font-style: italic;
}

.hero h1 {
    font-family: var(--heading);
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-desc {
    font-family: var(--mono);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 420px;
    opacity: 0.92;
}

.hero-desc strong {
    font-weight: 700;
}

.hero-desc u {
    text-underline-offset: 3px;
}

.hero-tagline {
    font-family: var(--mono);
    font-size: 0.88rem;
    margin-bottom: 1.8rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--white);
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--white);
    background: transparent;
    transition: all 0.3s var(--ease);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    opacity: 1;
}

/* ======================================
   ELLEN GREENBERG WAS... SECTION
   (White background)
   ====================================== */
.was-section {
    background: var(--white);
    color: var(--black);
    padding: 6rem 5vw;
}

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

.was-heading {
    font-family: var(--heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.was-heading::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gold);
    margin-top: 0.5rem;
}

.was-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.was-card {
    text-align: left;
}

.was-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.was-card:hover .was-img-wrap img {
    transform: scale(1.04);
}

.was-label {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

.was-card p {
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.65;
    color: #333;
}

/* ======================================
   AND SHE WAS A VICTIM SECTION
   ====================================== */
.victim-section {
    background: var(--dark);
    padding: 6rem 5vw;
}

.victim-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.victim-heading {
    font-family: var(--heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.victim-heading::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--gold);
    margin-top: 0.5rem;
}

.victim-body p {
    font-family: var(--mono);
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-light);
    background: var(--dark-gray);
    padding: 2rem;
    border-left: 3px solid var(--gold);
}

.victim-body mark {
    background: var(--gold-highlight);
    color: var(--white);
    padding: 1px 3px;
}

.case-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.8rem;
    font-family: var(--mono);
}

.case-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.case-links span {
    opacity: 0.4;
}

.cw-note {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.5;
    margin-top: 0.8rem;
}

.victim-img-col {
    position: relative;
}

.victim-img-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ======================================
   IN THE MEDIA SECTION
   ====================================== */
.media-section {
    background: var(--black);
    padding: 6rem 5vw;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.media-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

/* Photo collage - left side */
.media-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.media-collage img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: grayscale(10%);
    transition: filter 0.4s;
}

.media-collage img:hover {
    filter: grayscale(0%);
}

/* Article list - right side */
.media-heading {
    font-family: var(--heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.media-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: flex-start;
}

.media-item:first-of-type {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.media-num {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
    min-width: 2rem;
    padding-top: 0.1rem;
}

.media-item-content a {
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: block;
    margin-bottom: 0.4rem;
}

.media-source {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 0.3rem;
}

.media-update {
    font-size: 0.78rem !important;
    background: var(--gold-highlight);
    padding: 2px 5px;
    text-decoration: underline !important;
}

/* ======================================
   HOW YOU CAN HELP SECTION
   ====================================== */
.help-section {
    background: var(--dark);
    padding: 3rem 5vw;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.help-label {
    font-family: var(--heading);
    font-weight: 700;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.help-buttons {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.help-btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    font-family: var(--mono);
    font-size: 0.78rem;
    text-align: center;
    transition: all 0.3s var(--ease);
    flex: 1;
    min-width: 180px;
    max-width: 280px;
}

.help-btn:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    opacity: 1;
}

/* ======================================
   FOOTER
   ====================================== */
.site-footer {
    background: var(--black);
    padding: 3rem 5vw;
    text-align: center;
    border-top: 1px solid var(--gold);
}

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

.footer-contact {
    font-family: var(--mono);
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-follow {
    font-family: var(--mono);
    font-size: 0.82rem;
    opacity: 0.6;
    margin-bottom: 1.2rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--white);
    display: flex;
}

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for cards */
.was-grid .was-card:nth-child(1) { transition-delay: 0s; }
.was-grid .was-card:nth-child(2) { transition-delay: 0.1s; }
.was-grid .was-card:nth-child(3) { transition-delay: 0.2s; }
.was-grid .was-card:nth-child(4) { transition-delay: 0.3s; }

.media-item:nth-child(2) { transition-delay: 0s; }
.media-item:nth-child(3) { transition-delay: 0.08s; }
.media-item:nth-child(4) { transition-delay: 0.16s; }
.media-item:nth-child(5) { transition-delay: 0.24s; }
.media-item:nth-child(6) { transition-delay: 0.32s; }
.media-item:nth-child(7) { transition-delay: 0.4s; }

/* ======================================
   RESPONSIVE - TABLET
   ====================================== */
@media (max-width: 1024px) {
    .was-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .victim-container {
        grid-template-columns: 1fr;
    }
    
    .victim-img-col {
        max-width: 500px;
    }
    
    .media-container {
        grid-template-columns: 1fr;
    }
    
    .media-collage {
        max-width: 500px;
    }
}

/* ======================================
   RESPONSIVE - MOBILE
   ====================================== */
@media (max-width: 768px) {
    .nav-left,
    .nav-right {
        display: none;
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 1.2rem;
        right: 5vw;
    }

    .hamburger.active span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        padding: 0 6vw 8vh;
        max-width: 100%;
    }

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

    .hero-overlay {
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.85) 0%,
            rgba(0,0,0,0.5) 50%,
            rgba(0,0,0,0.2) 100%
        );
    }

    .was-section {
        padding: 4rem 6vw;
    }

    .was-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .was-img-wrap {
        aspect-ratio: 4 / 3;
    }

    .victim-section {
        padding: 4rem 6vw;
    }

    .victim-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-section {
        padding: 4rem 6vw;
    }

    .media-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-collage {
        grid-template-columns: 1fr 1fr;
    }

    .help-section {
        padding: 3rem 6vw;
    }

    .help-container {
        flex-direction: column;
        text-align: center;
    }

    .help-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .help-btn {
        max-width: 100%;
    }
}
