/* 1. GLOBAL RESET & VARIABLES */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #E30613; /* Editorial Red */
    --secondary-text: #555555;
    --border-color: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.4;
    overflow-x: hidden;
}

/* =========================================
   2. NAVIGATION (RED - SCROLLS AWAY)
   ========================================= */
nav {
    display: flex; justify-content: space-between; align-items: center; 
    padding: 20px 40px; 
    position: absolute; 
    width: 100%; top: 0; z-index: 1000;
    background-color: var(--accent-color);
    border-bottom: 3px solid black;
}

.logo { font-weight: 900; letter-spacing: -1px; text-transform: uppercase; font-size: 20px; }
.logo a { color: black; text-decoration: none; transition: color 0.3s ease; }
.logo a:hover { color: white; }

.menu { display: flex; gap: 30px; list-style: none; }
.menu a { 
    color: black; text-decoration: none; text-transform: uppercase; 
    font-size: 11px; letter-spacing: 1px; font-weight: 800; transition: color 0.2s; 
}
.menu a:hover { color: white; text-decoration: line-through; }

/* =========================================
   3. HERO SECTION (WHITE)
   ========================================= */
header.hero {
    min-height: 85vh; 
    display: flex; flex-direction: column; justify-content: center;
    padding: 160px 50px 60px; 
    max-width: 1400px; margin: 0 auto;
    position: relative; 
    background-color: white; 
}

.hero-content { width: 100%; max-width: none; text-align: left; z-index: 2; }

.greeting {
    font-size: 15px; 
    color: var(--accent-color); 
    font-weight: 800; margin-bottom: 5px;
    display: inline-block; text-transform: uppercase; letter-spacing: 2px;
    border-bottom: 3px solid var(--accent-color); padding-bottom: 4px;
}

header.hero h1 {
    font-size: 10.5vw; line-height: 0.9; margin-bottom: 15px; font-weight: 900;
    letter-spacing: -0.04em; text-transform: uppercase; color: black; margin-left: -5px; 
}

.hero-subtitle {
    font-size: 24px; color: black; margin-bottom: 30px; max-width: 680px;
    line-height: 1.35; font-weight: 500; margin-left: 5px; 
}

.hero-image-container {
    position: absolute; top: 20%; right: 5%; width: 360px; z-index: 1;
    transform: rotate(3deg); transition: transform 0.5s ease;
}
.hero-image-container:hover { transform: rotate(0deg) scale(1.05); }
.hero-image-container img {
    width: 100%; height: auto; border: 3px solid black; 
    box-shadow: 18px 18px 0px var(--accent-color); 
}

.hero-buttons { display: flex; gap: 18px; margin-left: 5px; }
.btn {
    padding: 16px 40px; border-radius: 0px; text-decoration: none; font-weight: 800;
    font-size: 13px; transition: all 0.2s ease; border: 3px solid black;
    text-transform: uppercase; letter-spacing: 1px;
}
.btn-primary { background-color: black; color: white; }
.btn-primary:hover { background-color: var(--accent-color); border-color: var(--accent-color); color: black; }
.btn-secondary { background-color: transparent; color: black; }
.btn-secondary:hover { background-color: black; color: white; }

@media (max-width: 968px) {
    .hero-image-container { position: relative; width: 100%; top: auto; right: auto; transform: none; margin-bottom: 40px; width: 100%; max-width: 380px;}
    header.hero h1 { font-size: 16vw; } .hero-subtitle { font-size: 19px; }
}

/* =========================================
   4. SHARED SECTIONS
   ========================================= */
.section-padding { padding: 70px 50px; } 

.section-title { 
    display: flex; flex-direction: column; margin-bottom: 40px; 
    border-bottom: 10px solid black; padding-bottom: 15px; text-align: left;
}
.section-title h2 { 
    color: black; font-weight: 900; font-size: 80px; 
    letter-spacing: -3px; line-height: 0.85; text-transform: uppercase; margin: 0; margin-bottom: -4px;
}
.section-title h3 { 
    display: block; font-weight: 800; font-size: 36px; 
    color: var(--accent-color); text-transform: uppercase; 
    letter-spacing: -1px; margin-top: 5px; line-height: 1;
}
@media (max-width: 768px) {
    .section-title h2 { font-size: 55px; } .section-title h3 { font-size: 24px; } .section-title { border-bottom-width: 8px; }
}

/* =========================================
   5. ABOUT & STATS (WHITE)
   ========================================= */
.about-container-new { max-width: 1150px; margin: 0 auto; display: flex; gap: 40px; flex-direction: column; }
.about-text-new p { font-size: 28px; color: black; margin-bottom: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -0.5px; }

/* STATS - BIG RED NUMBERS (FACT SHEET LOOK) */
.about-stats { 
    display: flex; justify-content: space-between; 
    border-top: 3px solid black; border-bottom: 3px solid black; 
    padding: 45px 0;
}
.stat-box { text-align: left; }
.stat-box h3 { 
    font-size: 80px; /* RESTORED MASSIVE SIZE */
    font-weight: 900; 
    color: var(--accent-color); 
    margin-bottom: 0px; line-height: 0.8; letter-spacing: -3px;
}
.stat-box p { 
    font-size: 14px; color: black; text-transform: uppercase; font-weight: 800; margin-top: 10px; letter-spacing: 1px;
}
@media (max-width: 600px) { .about-stats { flex-direction: column; gap: 30px; } .about-text-new p { font-size: 20px; } }

/* 6. BLACK SECTIONS (WORKS & CAREER) */
.black-section {
    background-color: #0d0d0d; color: #ffffff;
    margin-top: -1px; padding-top: 100px; padding-bottom: 100px;
}
.black-section .section-title { border-bottom-color: #ffffff; }
.black-section .section-title h2 { color: #ffffff; }
.black-section .jigsaw-grid { border-color: #ffffff; }
.black-section .project-item { border-color: #ffffff; background-color: #222; }
.black-section .list-container { border-top-color: #ffffff; }
.black-section .list-item { border-bottom-color: #ffffff; }
.black-section .list-item:hover { background-color: var(--accent-color); color: white; }
.black-section .list-left h3 { color: #ffffff; }
.black-section .description { color: #cccccc; }
.black-section .list-right { color: #ffffff; }

/* JIGSAW GRID */
.jigsaw-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; 
    gap: 0px; max-width: 100%; margin: 0 auto; border: 3px solid white; grid-auto-rows: 310px; 
}
.project-item { 
    position: relative; border-radius: 0; overflow: hidden; background-color: #222; 
    cursor: pointer; margin: 0; grid-column: span 1; grid-row: span 1; border: 1px solid white;
    display: flex; align-items: center; justify-content: center;
}
.project-item.wide { grid-column: span 2; }
.project-item.tall { grid-row: span 2; } 
.project-item img, .project-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.project-item:hover img, .project-item:hover video { transform: scale(1.03); }

@media (max-width: 900px) { .jigsaw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jigsaw-grid { grid-template-columns: 1fr; } .project-item.wide, .project-item.tall { grid-column: span 1 !important; grid-row: span 1 !important; } }

/* CAREER LIST */
.list-container { display: flex; flex-direction: column; max-width: 100%; margin: 0 auto; border-top: 3px solid white; }
.list-item { display: flex; justify-content: space-between; align-items: baseline; padding: 30px 0; border-bottom: 3px solid white; transition: 0.2s; }
.list-left { max-width: 75%; }
.list-left h3 { color: white; font-size: 24px; font-weight: 900; margin-bottom: 8px; text-transform: uppercase; letter-spacing: -1px; }
.role { font-size: 12px; color: var(--accent-color); margin-bottom: 8px; font-weight: 800; text-transform: uppercase; }
.description { font-size: 14px; color: #ccc; line-height: 1.5; max-width: 800px; font-weight: 500; }
.list-right { font-size: 15px; color: white; white-space: nowrap; text-align: right; font-weight: 800; }
.list-item:hover .list-left h3, .list-item:hover .role, .list-item:hover .description, .list-item:hover .list-right { color: black; } 
@media (max-width: 600px) { .list-item { flex-direction: column; } .list-right { margin-top: 10px; text-align: left; } }

/* 7. STACK SECTION (WHITE + PLUS SIGNS) */
.stack-grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 0px; margin-top: 40px; 
    border-top: 3px solid black; border-left: 3px solid black;
}
.stack-card { 
    background-color: white; 
    position: relative; /* Essential for the Plus sign */
    border-right: 3px solid black; border-bottom: 3px solid black; 
    border-radius: 0; padding: 40px 30px; 
    display: flex; flex-direction: column; justify-content: space-between; height: 180px; 
    transition: all 0.2s ease; cursor: default; 
}

/* THE PLUS SIGN MARKER */
.stack-card::after {
    content: '+'; position: absolute; top: 8px; right: 12px;
    font-family: 'Courier New', monospace; font-weight: 900; font-size: 24px; color: black;
    pointer-events: none;
}
.stack-card:hover::after { color: white; }

.stack-card h3 { font-size: 32px; color: black; font-weight: 900; margin-bottom: 0; letter-spacing: -1px; }
.stack-card p { font-size: 12px; color: #777; font-weight: 700; text-transform: uppercase; }

.stack-card:hover { background-color: black; }
.stack-card:hover h3 { color: white; }
.stack-card:hover p { color: white; opacity: 1; }

/* RED CARD OVERRIDES */
.stack-card.red-card { background-color: var(--accent-color) !important; }
.stack-card.red-card h3 { color: black !important; }
.stack-card.red-card p { color: black !important; opacity: 0.7; }
.stack-card.red-card:hover { background-color: black !important; }
.stack-card.red-card:hover h3 { color: white !important; }
.stack-card.red-card:hover p { color: white !important; }

/* 8. FOOTER (RED BACKGROUND) */
footer { 
    background-color: var(--accent-color); padding: 80px 50px; text-align: left; 
    color: black; font-size: 4.8vw; text-transform: uppercase; font-weight: 900; 
    line-height: 1; letter-spacing: -0.02em; border-top: 3px solid black; 
}
footer p { margin: 0; }

/* 9. EXTRAS */
#lightbox { position: fixed; z-index: 999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.98); display: none; align-items: center; justify-content: center; }
#lightbox-img { max-width: 90%; max-height: 90%; border: 5px solid black; object-fit: contain; box-shadow: 20px 20px 0px var(--accent-color); }
#close-btn { position: absolute; top: 30px; right: 50px; color: black; font-size: 60px; cursor: pointer; font-weight: 900; }
.deck-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 45px; max-width: 1400px; margin: 0 auto; }
.deck-card { background-color: white; border: 3px solid black; border-radius: 0; overflow: hidden; text-decoration: none; transition: transform 0.2s ease; display: flex; flex-direction: column; box-shadow: 12px 12px 0px #ddd; }
.deck-card:hover { transform: translate(-6px, -6px); box-shadow: 18px 18px 0px var(--accent-color); }
.deck-image { height: 260px; width: 100%; overflow: hidden; border-bottom: 3px solid black; }
.deck-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.deck-card:hover .deck-image img { transform: scale(1.05); }
.deck-info { padding: 30px; }
.deck-info h3 { color: black; font-size: 28px; margin-bottom: 12px; font-weight: 900; letter-spacing: -1px; text-transform: uppercase; }
.deck-info p { color: #555; font-size: 16px; margin-bottom: 25px; line-height: 1.4; font-weight: 500; }
.btn-text { background: black; color: white; padding: 12px 25px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; }
.deck-card:hover .btn-text { background: var(--accent-color); }