@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&family=Plus+Jakarta+Sans:wght@300;400;700&display=swap');

:root {
    --white-theme-bg: #ffffff;
    --text-primary: #121212;
    --text-muted: #707070;
    --accent: #000000;
}

body {
    background-color: var(--white-theme-bg);
    /* font-family: 'Plus Jakarta Sans', sans-serif; */
    color: var(--text-primary);
}

/* Typography */
.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
}

/* Hero Section */
.editorial-hero {
    padding: 120px 0 60px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 20px;
}

.hero-display-text {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

/* Zig Zag Layout Logic */
.portfolio-zigzag {
    padding: 8px;
}

.zigzag-row {
    margin-bottom: 120px;
    /* Space between projects */
}

/* Image Wrapper with Creative Reveal */
.image-reveal-wrapper {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f8f8f8;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-reveal-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

/* Hover Effect */
.zigzag-image-link:hover .image-reveal-wrapper img {
    transform: scale(1.05);
}

/* Content Styling */
.project-cat {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
}

.project-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.project-excerpt {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Professional Link Styling */
.btn-editorial {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.btn-editorial:hover {
    gap: 20px;
    color: var(--text-primary);
}

/* Responsive Handling */
@media (max-width: 768px) {
    .zigzag-row {
        margin-bottom: 40px;
    }

    .project-name {
        font-size: 1.8rem;
    }

    .text-md-right {
        text-align: left !important;
        /* Reset alignment on mobile */
    }

    .editorial-hero {
        padding: 80px 8px 40px;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500&family=Plus+Jakarta+Sans:wght@300;400;700&display=swap');

/* Namespace everything under .cs-wrapper to prevent breaking other pages */
.cs-wrapper {
    --cs-bg: #ffffff;
    --cs-text: #121212;
    --cs-muted: #707070;
    background-color: var(--cs-bg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--cs-text);
    overflow-x: hidden;
}

.cs-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
}

/* Hero Sections */
.cs-hero {
    padding: 100px 0 60px;
}

.cs-eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    color: var(--cs-muted);
    display: block;
    margin-bottom: 20px;
}

.cs-display-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
}

/* Zig-Zag Grid Logic */
.cs-zigzag-row {
    padding: 80px 0;
    align-items: center;
}

.cs-image-box {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f8f8f8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cs-image-box img,
.cs-image-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.cs-zigzag-row:hover img {
    transform: scale(1.03);
}

/* Content Styling */
.cs-content {
    padding: 20px;
}

.cs-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cs-muted);
    margin-bottom: 15px;
    display: block;
}

.cs-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cs-text {
    font-size: 1.1rem;
    color: var(--cs-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Professional Button */
.cs-btn {
    text-decoration: none;
    color: var(--cs-text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.cs-btn:hover {
    gap: 15px;
    border-color: var(--cs-text);
    color: var(--cs-text);
}

/* Result Stats for Individual Page */
.cs-stats-grid {
    background: #fbfbfb;
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 40px;
}

.cs-stat-card {
    text-align: center;
}

.cs-stat-num {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
}

.cs-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--cs-muted);
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .cs-title {
        font-size: 2rem;
    }

    .cs-zigzag-row {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {

    /* Ensure image is always on top of text on mobile regardless of order */
    .row.flex-md-row-reverse {
        flex-direction: column-reverse !important;
    }

    .cs-image-box {
        margin-bottom: 30px;
    }

    .cs-display-title {
        font-size: 2.5rem;
    }
}