    :root {
        --ex-bg: #060d16;
        --ex-cream: #d4eaf8;
        --ex-teal: #c71e42;          /* ExCraft accent — crimson (kept as "teal" var name for backwards compatibility with existing markup) */
        --ex-blue: #1e90c8;
        --ex-dark: #0a1525;
        --ex-card: #0d1e30;
        --ex-border: #162b40;
        --ex-muted: #6b8fa8;
    }

    .ec-page { background: var(--ex-bg); }
    .ec-page * { font-family: 'Inter', sans-serif; }
    .ec-serif { font-family: 'Cormorant Garamond', serif !important; }
    .ec-teal  { color: var(--ex-teal) !important; }
    .ec-cream { color: var(--ex-cream) !important; }
    .ec-muted { color: var(--ex-muted) !important; }

    /* ========== CASE STUDY HERO ========== */
    .cs-hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,0.6) 50%, var(--ex-bg) 100%),
                    linear-gradient(135deg, #091928 0%, #060d16 40%, #07121e 100%);
        /* padding: 120px 0 80px; */
    }
    .cs-hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: radial-gradient(ellipse at 50% 30%, rgba(199,30,66,0.06) 0%, transparent 70%);
        pointer-events: none;
    }
    .cs-hero-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.4em;
        color: var(--ex-teal);
        text-transform: uppercase;
        font-weight: 500;
    }
    .cs-hero-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2.5rem, 6vw, 5.5rem);
        font-weight: 300;
        color: var(--ex-cream);
        line-height: 1.05;
        letter-spacing: 0.02em;
    }
    .cs-hero-sub {
        font-size: clamp(1rem, 1.5vw, 1.15rem);
        color: var(--ex-muted);
        font-weight: 300;
        line-height: 1.8;
        max-width: 580px;
    }
    .cs-hero-meta {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
        border-top: 1px solid var(--ex-border);
        padding-top: 40px;
        margin-top: 60px;
    }
    @media (max-width: 767px) {
        .cs-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    }
    .cs-meta-label {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
        color: var(--ex-teal);
        text-transform: uppercase;
        font-weight: 500;
        margin-bottom: 8px;
    }
    .cs-meta-value {
        font-size: 0.95rem;
        color: var(--ex-cream);
        font-weight: 300;
    }

    /* ========== SECTION SHARED ========== */
    .cs-section { padding: 120px 0; position: relative; }
    .cs-section-sm { padding: 80px 0; }
    .cs-label {
        font-size: 0.7rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        margin-bottom: 1.25rem;
        display: inline-block;
    }
    .cs-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2rem, 4vw, 3.5rem);
        font-weight: 300;
        color: var(--ex-cream);
        line-height: 1.15;
    }
    .cs-text {
        color: var(--ex-muted);
        font-size: 1.02rem;
        line-height: 1.9;
        font-weight: 300;
    }
    .cs-text-lead {
        color: var(--ex-cream);
        font-size: 1.15rem;
        line-height: 1.85;
        font-weight: 300;
    }
    .cs-divider {
        width: 60px;
        height: 1px;
        background: var(--ex-teal);
        margin: 1.5rem 0;
    }
    .cs-divider-center { margin-left: auto; margin-right: auto; }

    /* ========== IMAGE PLACEHOLDERS (HARDCODED) ========== */
    .img-holder {
        position: relative;
        width: 100%;
        background: linear-gradient(135deg, #101e35 0%, #0a1525 100%);
        border: 1px solid var(--ex-border);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: border-color 0.4s ease;
    }
    .img-holder:hover { border-color: var(--ex-teal); }
    .img-holder::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(45deg, transparent 48%, rgba(199,30,66,0.04) 49%, rgba(199,30,66,0.04) 51%, transparent 52%),
            linear-gradient(-45deg, transparent 48%, rgba(199,30,66,0.04) 49%, rgba(199,30,66,0.04) 51%, transparent 52%);
        background-size: 60px 60px;
        pointer-events: none;
    }
    .img-holder-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 4px;
    }
    .img-holder--hero .img-holder-content img {
        max-width: 137%;
    }
    .img-holder-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 16px;
        border: 1px solid rgba(199,30,66,0.4);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .img-holder-icon svg { width: 28px; height: 28px; stroke: var(--ex-teal); }
    .img-holder-label {
        font-size: 0.7rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        margin-bottom: 6px;
    }
    .img-holder-name {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 1.1rem;
        color: var(--ex-cream);
        font-weight: 400;
        margin-bottom: 6px;
    }
    .img-holder-dim {
        font-size: 0.7rem;
        color: var(--ex-muted);
        letter-spacing: 0.15em;
        font-weight: 300;
    }
    .img-holder-corner {
        position: absolute;
        width: 24px;
        height: 24px;
        border: 1px solid var(--ex-teal);
        z-index: 1;
    }
    .img-holder-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
    .img-holder-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
    .img-holder-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
    .img-holder-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

    /* Aspect ratios */
    .ratio-16-9 { aspect-ratio: 16 / 9; }
    .ratio-4-3  { aspect-ratio: 4 / 3; }
    .ratio-3-4  { aspect-ratio: 3 / 4; }
    .ratio-1-1  { aspect-ratio: 1 / 1; }
    .ratio-21-9 { aspect-ratio: 21 / 9; }
    .ratio-2-3  { aspect-ratio: 2 / 3; }

    /* ========== BRIEF / PROBLEM / SOLUTION CARDS ========== */
    .cs-pillar {
        background: var(--ex-card);
        border: 1px solid var(--ex-border);
        padding: 13px 40px;
        height: 100%;
        position: relative;
        transition: border-color 0.4s ease, transform 0.4s ease;
    }
    .cs-pillar:hover {
        border-color: var(--ex-teal);
        transform: translateY(-4px);
    }
    .cs-pillar-num {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 5rem;
        font-weight: 300;
        color: rgba(199,30,66,0.15);
        line-height: 1;
        position: absolute;
        top: 24px;
        right: 32px;
    }
    .cs-pillar-icon {
        width: 56px;
        height: 56px;
        border: 1px solid var(--ex-teal);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 28px;
    }
    .cs-pillar-icon svg { width: 26px; height: 26px; stroke: var(--ex-teal); }
    .cs-pillar-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 1.7rem;
        font-weight: 400;
        color: var(--ex-cream);
        margin-bottom: 1rem;
    }
    .cs-pillar-text {
        font-size: 0.95rem;
        color: var(--ex-muted);
        line-height: 1.85;
        font-weight: 300;
    }
    .cs-pillar-list {
        list-style: none;
        padding: 0;
        margin: 20px 0 0;
    }
    .cs-pillar-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: var(--ex-cream);
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    .cs-pillar-list li::before {
        content: '';
        flex-shrink: 0;
        width: 6px;
        height: 6px;
        background: var(--ex-teal);
        margin-top: 7px;
    }

    /* ========== PROCESS STEPS ========== */
    .cs-step {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 32px;
        padding: 40px 0;
        border-bottom: 1px solid var(--ex-border);
    }
    .cs-step:last-child { border-bottom: none; }
    @media (max-width: 767px) { .cs-step { grid-template-columns: 60px 1fr; gap: 20px; } }
    .cs-step-num {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 2.5rem;
        font-weight: 300;
        color: var(--ex-teal);
        line-height: 1;
    }
    .cs-step-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 1.5rem;
        font-weight: 400;
        color: var(--ex-cream);
        margin-bottom: 12px;
    }
    .cs-step-text {
        color: var(--ex-muted);
        font-size: 0.95rem;
        line-height: 1.85;
        font-weight: 300;
    }
    .cs-step-tags { margin-top: 16px; }
    .cs-step-tag {
        display: inline-block;
        padding: 5px 14px;
        border: 1px solid var(--ex-border);
        color: var(--ex-muted);
        font-size: 0.75rem;
        font-weight: 300;
        margin: 4px 6px 4px 0;
        letter-spacing: 0.05em;
        transition: all 0.3s ease;
    }
    .cs-step-tag:hover { border-color: var(--ex-teal); color: var(--ex-teal); }

    /* ========== STATS BAR ========== */
    .cs-stats {
        background: var(--ex-card);
        border: 1px solid var(--ex-border);
        padding: 60px 40px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    @media (max-width: 767px) {
        .cs-stats { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; gap: 32px; }
    }
    .cs-stat { text-align: center; }
    .cs-stat-num {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2.5rem, 4vw, 3.5rem);
        font-weight: 300;
        color: var(--ex-teal);
        line-height: 1;
        margin-bottom: 12px;
    }
    .cs-stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--ex-muted);
        font-weight: 400;
    }

    /* ========== FEATURES GRID ========== */
    .cs-feature {
        background: var(--ex-card);
        border: 1px solid var(--ex-border);
        padding: 36px 32px;
        height: 100%;
        transition: border-color 0.4s ease, transform 0.4s ease;
    }
    .cs-feature:hover {
        border-color: var(--ex-teal);
        transform: translateY(-3px);
    }
    .cs-feature-icon {
        width: 44px;
        height: 44px;
        border: 1px solid var(--ex-border);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }
    .cs-feature-icon svg { width: 22px; height: 22px; stroke: var(--ex-teal); }
    .cs-feature-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 1.3rem;
        font-weight: 400;
        color: var(--ex-cream);
        margin-bottom: 10px;
    }
    .cs-feature-text {
        font-size: 0.88rem;
        color: var(--ex-muted);
        line-height: 1.75;
        font-weight: 300;
    }

    /* ========== MODULES ========== */
    .cs-module {
        background: var(--ex-card);
        border: 1px solid var(--ex-border);
        padding: 44px 38px;
        height: 100%;
        transition: border-color 0.4s ease;
    }
    .cs-module:hover { border-color: var(--ex-teal); }
    .cs-module-tag {
        display: inline-block;
        font-size: 0.65rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--ex-teal);
        border: 1px solid rgba(199,30,66,0.4);
        padding: 5px 14px;
        margin-bottom: 1.5rem;
        font-weight: 500;
    }
    .cs-module-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(1.6rem, 2.4vw, 2rem);
        font-weight: 400;
        color: var(--ex-cream);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .cs-module-brief {
        font-family: 'Cormorant Garamond', serif !important;
        font-style: italic;
        font-size: 1.05rem;
        color: var(--ex-cream);
        opacity: 0.85;
        line-height: 1.7;
        padding-left: 18px;
        border-left: 1px solid var(--ex-teal);
        margin-bottom: 1.25rem;
    }
    .cs-module-desc {
        font-size: 0.9rem;
        color: var(--ex-muted);
        line-height: 1.8;
        font-weight: 300;
        margin-bottom: 1.25rem;
    }
    .cs-module-feats {
        list-style: none;
        padding: 0;
        margin: 0 0 1.25rem;
    }
    .cs-module-feats li {
        display: flex;
        gap: 12px;
        padding: 10px 0;
        font-size: 0.85rem;
        color: var(--ex-muted);
        line-height: 1.65;
        font-weight: 300;
        border-bottom: 1px solid rgba(42,42,42,0.6);
    }
    .cs-module-feats li:last-child { border-bottom: none; }
    .cs-module-feats li::before {
        content: '';
        width: 4px;
        height: 4px;
        background: var(--ex-teal);
        margin-top: 8px;
        flex-shrink: 0;
    }
    .cs-module-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 0.5rem;
    }
    .cs-module-stat {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 14px;
        border: 1px solid var(--ex-border);
        font-size: 0.7rem;
        color: var(--ex-cream);
        letter-spacing: 0.08em;
        font-weight: 400;
    }
    .cs-module-stat::before {
        content: '';
        width: 4px;
        height: 4px;
        background: var(--ex-teal);
        flex-shrink: 0;
    }
    @media (max-width: 767px) {
        .cs-module { padding: 28px 22px; }
    }

    /* ========== QUOTE ========== */
    .cs-quote {
        background: linear-gradient(135deg, #0d1e30 0%, #060d16 100%);
        border-top: 1px solid var(--ex-border);
        border-bottom: 1px solid var(--ex-border);
        padding: 100px 0;
    }
    .cs-quote-mark {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 6rem;
        color: var(--ex-teal);
        line-height: 0.5;
        margin-bottom: 1rem;
    }
    .cs-quote-text {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(1.5rem, 2.5vw, 2.25rem);
        font-weight: 300;
        font-style: italic;
        color: var(--ex-cream);
        line-height: 1.5;
        max-width: 880px;
        margin: 0 auto 32px;
    }
    .cs-quote-author {
        font-size: 0.85rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
    }

    /* ========== CTA ========== */
    .cs-cta-section {
        background: #060d16;
        padding: 120px 0;
    }
    .cs-cta-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2rem, 4vw, 3.5rem);
        font-weight: 300;
        color: var(--ex-cream);
    }
    .cs-cta-text {
        font-size: 1rem;
        color: var(--ex-muted);
        font-weight: 300;
        line-height: 1.8;
        max-width: 560px;
    }
    .cs-cta-btn {
        display: inline-block;
        padding: 18px 52px;
        background: var(--ex-teal);
        color: var(--ex-cream);
        font-size: 0.8rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 500;
        transition: background 0.3s ease;
    }
    .cs-cta-btn:hover { background: var(--ex-cream); color: #060d16; }
    .cs-cta-btn-outline {
        display: inline-block;
        padding: 17px 40px;
        background: transparent;
        color: var(--ex-cream);
        border: 1px solid var(--ex-cream);
        font-size: 0.8rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-left: 12px;
    }
    .cs-cta-btn-outline:hover { background: var(--ex-cream); color: #060d16; }

    /* ========== FOOTER ========== */
    .cs-footer-credit {
        border-top: 1px solid var(--ex-border);
        padding: 40px 0;
        text-align: center;
    }
    .cs-footer-credit p {
        font-size: 0.75rem;
        color: var(--ex-muted);
        letter-spacing: 0.15em;
        font-weight: 300;
    }

    /* Animations */
    .ec-fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .ec-fade-up.visible { opacity: 1; transform: translateY(0); }

    /* Override guest layout */
    .ec-page .section-hero,
    .ec-page .box-white,
    .ec-page .box-black { background: transparent !important; }

    /* ========================================================== */
    /* ========== MODULE CARDS — CLICKABLE EXTENSIONS  ========== */
    /* ========================================================== */
    .cs-module-title-link {
        color: inherit;
        text-decoration: none;
        background-image: linear-gradient(var(--ex-teal), var(--ex-teal));
        background-size: 0% 1px;
        background-position: 0 100%;
        background-repeat: no-repeat;
        transition: background-size 0.4s ease, color 0.3s ease;
    }
    .cs-module-title-link:hover {
        color: var(--ex-teal);
        background-size: 100% 1px;
    }
    .cs-module-cta {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        margin-top: 1.75rem;
        padding: 12px 22px;
        border: 1px solid var(--ex-teal);
        color: var(--ex-teal);
        font-size: 0.72rem;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: 500;
        transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    }
    .cs-module-cta svg { width: 14px; height: 14px; stroke: currentColor; transition: transform 0.3s ease; }
    .cs-module-cta:hover { background: var(--ex-teal); color: #060d16; transform: translateX(4px); }
    .cs-module-cta:hover svg { transform: translateX(2px); }
    .cs-module-img-link {
        display: block;
        text-decoration: none;
        position: relative;
    }
    .cs-module-img { position: relative; overflow: hidden; }
    .cs-module-img img { transition: transform 0.6s ease; }
    .cs-module-img-link:hover .cs-module-img img { transform: scale(1.04); }
    .cs-module-img-link:hover .cs-module-img { border-color: var(--ex-teal); }
    .cs-module-img-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(12,12,12,0) 50%, rgba(12,12,12,0.85) 100%);
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 24px 28px;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 3;
        pointer-events: none;
    }
    .cs-module-img-link:hover .cs-module-img-overlay { opacity: 1; }
    .cs-module-img-overlay-label {
        font-size: 0.72rem;
        letter-spacing: 0.35em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
    }
    .cs-module-img-overlay svg { width: 22px; height: 22px; stroke: var(--ex-teal); }

    /* ========================================================== */
    /* ========== MODULE DETAIL PAGE                    ========== */
    /* ========================================================== */

    /* Breadcrumb */
    .mod-breadcrumb {
        padding: 130px 0 0;
        font-size: 0.72rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: var(--ex-muted);
        font-weight: 400;
    }
    .mod-breadcrumb a {
        color: var(--ex-muted);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    .mod-breadcrumb a:hover { color: var(--ex-teal); }
    .mod-breadcrumb .sep { margin: 0 12px; color: var(--ex-border); }
    .mod-breadcrumb .current { color: var(--ex-cream); }

    /* Hero */
    .mod-hero {
        padding: 50px 0 80px;
        position: relative;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(26,20,16,0.4) 0%, rgba(12,12,12,0) 70%);
    }
    .mod-hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: radial-gradient(ellipse at 20% 30%, rgba(199,30,66,0.05) 0%, transparent 60%);
        pointer-events: none;
    }
    .mod-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        margin-bottom: 1.25rem;
    }
    .mod-number {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(4rem, 9vw, 8rem);
        font-weight: 300;
        color: rgba(199,30,66,0.18);
        line-height: 0.9;
        margin-bottom: 1rem;
        letter-spacing: 0.02em;
    }
    .mod-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2.25rem, 5vw, 4rem);
        font-weight: 300;
        color: var(--ex-cream);
        line-height: 1.1;
        margin-bottom: 1.5rem;
        letter-spacing: 0.01em;
    }
    .mod-tagline {
        font-family: 'Cormorant Garamond', serif !important;
        font-style: italic;
        font-size: clamp(1.05rem, 1.5vw, 1.3rem);
        color: var(--ex-teal);
        font-weight: 400;
        margin-bottom: 2rem;
    }
    .mod-brief {
        font-family: 'Cormorant Garamond', serif !important;
        font-style: italic;
        font-size: clamp(1.1rem, 1.6vw, 1.45rem);
        line-height: 1.6;
        color: var(--ex-cream);
        opacity: 0.9;
        padding-left: 24px;
        border-left: 1px solid var(--ex-teal);
        margin: 0 0 2rem;
    }
    .mod-description {
        font-size: 1.02rem;
        line-height: 1.9;
        font-weight: 300;
        color: var(--ex-muted);
        max-width: 640px;
    }

    /* Hero featured image */
    .mod-featured {
        position: relative;
        background: linear-gradient(135deg, #101e35 0%, #0a1525 100%);
        border: 1px solid var(--ex-border);
        overflow: hidden;
        aspect-ratio: 4 / 3;
        transition: border-color 0.4s ease;
    }
    .mod-featured:hover { border-color: var(--ex-teal); }
    .mod-featured img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }
    .mod-featured-tag {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 4;
        padding: 8px 16px;
        background: rgba(12,12,12,0.7);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(199,30,66,0.4);
        font-size: 0.65rem;
        letter-spacing: 0.35em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
    }

    /* What's inside — feature list + stats */
    .mod-inside {
        background: var(--ex-dark);
        padding: 100px 0;
        border-top: 1px solid var(--ex-border);
        border-bottom: 1px solid var(--ex-border);
    }
    .mod-feats {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mod-feats li {
        display: flex;
        gap: 18px;
        padding: 22px 0;
        font-size: 1rem;
        color: var(--ex-cream);
        line-height: 1.7;
        font-weight: 300;
        border-bottom: 1px solid var(--ex-border);
    }
    .mod-feats li:last-child { border-bottom: none; }
    .mod-feats li::before {
        content: '';
        flex-shrink: 0;
        width: 8px;
        height: 8px;
        background: var(--ex-teal);
        margin-top: 10px;
    }
    .mod-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 1.5rem;
    }
    .mod-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 18px;
        border: 1px solid var(--ex-border);
        font-size: 0.72rem;
        color: var(--ex-cream);
        letter-spacing: 0.18em;
        text-transform: uppercase;
        font-weight: 400;
        background: var(--ex-card);
        transition: border-color 0.3s ease, color 0.3s ease;
    }
    .mod-badge::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--ex-teal);
        flex-shrink: 0;
    }
    .mod-badge:hover { border-color: var(--ex-teal); color: var(--ex-teal); }
    .mod-icon-wrap {
        width: 72px;
        height: 72px;
        border: 1px solid var(--ex-teal);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 28px;
    }
    .mod-icon-wrap svg { width: 32px; height: 32px; stroke: var(--ex-teal); }

    /* Gallery */
    .mod-gallery { padding: 100px 0; }
    .mod-gallery-head { margin-bottom: 60px; }
    .mod-gallery-row { margin-bottom: 80px; }
    .mod-gallery-row:last-child { margin-bottom: 0; }
    .mod-gallery-img {
        position: relative;
        background: linear-gradient(135deg, #101e35 0%, #0a1525 100%);
        border: 1px solid var(--ex-border);
        overflow: hidden;
        aspect-ratio: 16 / 10;
        transition: border-color 0.4s ease;
    }
    .mod-gallery-img:hover { border-color: var(--ex-teal); }
    .mod-gallery-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        transition: transform 0.8s ease;
    }
    .mod-gallery-img:hover img { transform: scale(1.03); }
    .mod-gallery-caption {
        padding: 0 0 0 8px;
        border-left: 1px solid var(--ex-teal);
    }
    .mod-gallery-num {
        font-size: 0.7rem;
        letter-spacing: 0.35em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        margin-bottom: 14px;
    }
    .mod-gallery-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(1.5rem, 2.2vw, 1.85rem);
        font-weight: 400;
        color: var(--ex-cream);
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .mod-gallery-text {
        font-size: 0.98rem;
        line-height: 1.85;
        font-weight: 300;
        color: var(--ex-muted);
    }
    @media (max-width: 991px) {
        .mod-gallery-row { margin-bottom: 50px; }
        .mod-gallery-caption { padding: 24px 0 0 16px; }
    }

    /* Prev / Next module nav */
    .mod-nav {
        background: var(--ex-dark);
        padding: 80px 0;
        border-top: 1px solid var(--ex-border);
    }
    .mod-nav-card {
        display: block;
        padding: 36px 40px;
        background: var(--ex-card);
        border: 1px solid var(--ex-border);
        text-decoration: none;
        height: 100%;
        transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease;
        position: relative;
        overflow: hidden;
    }
    .mod-nav-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(199,30,66,0.04) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }
    .mod-nav-card:hover {
        border-color: var(--ex-teal);
        transform: translateY(-3px);
    }
    .mod-nav-card:hover::before { opacity: 1; }
    .mod-nav-card.disabled {
        opacity: 0.35;
        pointer-events: none;
    }
    .mod-nav-label {
        font-size: 0.7rem;
        letter-spacing: 0.35em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 1.25rem;
    }
    .mod-nav-label svg { width: 14px; height: 14px; stroke: currentColor; }
    .mod-nav-card.next { text-align: right; }
    .mod-nav-card.next .mod-nav-label { justify-content: flex-end; }
    .mod-nav-num {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 1.05rem;
        color: var(--ex-muted);
        font-weight: 400;
        margin-bottom: 0.4rem;
    }
    .mod-nav-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(1.25rem, 2vw, 1.6rem);
        font-weight: 400;
        color: var(--ex-cream);
        line-height: 1.25;
    }
    .mod-nav-back {
        text-align: center;
        display: block;
        padding: 28px 40px;
        background: transparent;
        border: 1px solid var(--ex-border);
        text-decoration: none;
        height: 100%;
        transition: all 0.4s ease;
    }
    .mod-nav-back:hover { border-color: var(--ex-teal); background: var(--ex-card); }
    .mod-nav-back .mod-nav-label { margin-bottom: 0.4rem; justify-content: center; }
    .mod-nav-back .mod-nav-title { font-size: 1.1rem; }

    /* Module index strip — small "see all modules" chips */
    .mod-strip { padding: 80px 0 100px; }
    .mod-strip-head { text-align: center; margin-bottom: 50px; }
    .mod-chip {
        display: block;
        padding: 22px 24px;
        background: var(--ex-card);
        border: 1px solid var(--ex-border);
        text-decoration: none;
        transition: all 0.3s ease;
        height: 100%;
    }
    .mod-chip:hover {
        border-color: var(--ex-teal);
        transform: translateY(-2px);
    }
    .mod-chip.active {
        border-color: var(--ex-teal);
        background: linear-gradient(135deg, rgba(199,30,66,0.08) 0%, var(--ex-card) 100%);
    }
    .mod-chip-num {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 0.85rem;
        color: var(--ex-teal);
        letter-spacing: 0.2em;
        font-weight: 500;
        margin-bottom: 0.6rem;
    }
    .mod-chip-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 1.05rem;
        color: var(--ex-cream);
        font-weight: 400;
        line-height: 1.3;
    }

    @media (max-width: 767px) {
        .mod-breadcrumb { padding-top: 100px; font-size: 0.65rem; letter-spacing: 0.22em; }
        .mod-hero { padding: 30px 0 60px; }
        .mod-inside { padding: 70px 0; }
        .mod-gallery { padding: 70px 0; }
        .mod-nav { padding: 60px 0; }
        .mod-nav-card { padding: 28px 24px; }
        .mod-nav-card.next { text-align: left; }
        .mod-nav-card.next .mod-nav-label { justify-content: flex-start; }
    }

    /* ========================================================== */
    /* ========== FULL-BLEED HERO (case study landing)  ========== */
    /* ========================================================== */
    .cs-hero-fullbleed {
        min-height: 100vh;
        padding: 0;
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: flex-end;
        overflow: hidden;
    }
    .cs-hero-fullbleed-overlay {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(12,12,12,0.15) 0%, rgba(12,12,12,0.55) 55%, rgba(12,12,12,0.92) 100%),
            radial-gradient(ellipse at 20% 30%, rgba(199,30,66,0.08) 0%, transparent 60%);
        z-index: 1;
    }
    .cs-hero-fullbleed-content {
        position: relative;
        z-index: 2;
        padding: 160px 0 100px;
        width: 100%;
    }
    .cs-hero-fullbleed .cs-hero-meta {
        border-top: 1px solid rgba(199,30,66,0.25);
        padding-top: 36px;
        margin-top: 70px;
        max-width: 100%;
    }
    .cs-hero-fullbleed-scroll {
        position: absolute;
        bottom: 28px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        color: var(--ex-teal);
        font-size: 0.65rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        font-weight: 500;
        opacity: 0.85;
        animation: csScrollBob 2.5s ease-in-out infinite;
    }
    .cs-hero-fullbleed-scroll svg { width: 16px; height: 16px; stroke: var(--ex-teal); }
    @keyframes csScrollBob {
        0%, 100% { transform: translate(-50%, 0); opacity: 0.85; }
        50%      { transform: translate(-50%, 6px); opacity: 0.4; }
    }
    @media (max-width: 991px) {
        .cs-hero-fullbleed-content { padding: 130px 0 80px; }
        .cs-hero-fullbleed .cs-hero-meta { margin-top: 50px; padding-top: 28px; }
        .cs-hero-fullbleed-scroll { display: none; }
    }
    @media (max-width: 767px) {
        .cs-hero-fullbleed { min-height: 80vh; }
        .cs-hero-fullbleed-content { padding: 110px 0 60px; }
    }

    /* ========================================================== */
    /* ========== CASE STUDY DETAIL — AUTO-SPIN CAROUSEL ========= */
    /* ========================================================== */
    .cs-carousel-section {
        padding: 30px 0 100px;
        position: relative;
        overflow: hidden;
    }
    .cs-carousel-head { margin-bottom: 60px; }
    .cs-carousel-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(2.5rem, 5.5vw, 4.5rem);
        font-weight: 300;
        color: var(--ex-cream);
        line-height: 1.05;
        letter-spacing: 0.01em;
        margin-bottom: 1rem;
    }
    .cs-carousel-tagline {
        font-family: 'Cormorant Garamond', serif !important;
        font-style: italic;
        font-size: clamp(1.05rem, 1.5vw, 1.3rem);
        color: var(--ex-teal);
        font-weight: 400;
        margin-bottom: 0.5rem;
    }
    .cs-carousel-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 1.75rem;
    }
    .cs-carousel {
        position: relative;
        padding: 0;
    }
    .cs-swiper {
        position: relative;
        border: 1px solid var(--ex-border);
        background: linear-gradient(135deg, #101e35 0%, #0a1525 100%);
        overflow: hidden;
        aspect-ratio: 16 / 9;
        max-height: 720px;
    }
    .cs-swiper:hover { border-color: var(--ex-teal); }
    .cs-slide {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .cs-slide img {
        width: 100%;
        /* height: 100%; */
        object-fit: cover;
        object-position: top center;
        display: block;
    }
    .cs-slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 48px 60px;
        background: linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,0.85) 70%);
        z-index: 2;
    }
    .cs-slide-caption-eyebrow {
        display: inline-block;
        font-size: 0.65rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        margin-bottom: 8px;
    }
    .cs-slide-caption-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(1.4rem, 2.4vw, 2.1rem);
        font-weight: 400;
        color: var(--ex-cream);
        line-height: 1.2;
        margin: 0;
    }

    /* Swiper navigation arrows */
    .cs-swiper .swiper-button-prev,
    .cs-swiper .swiper-button-next {
        width: 56px;
        height: 56px;
        background: rgba(12,12,12,0.7);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(199,30,66,0.3);
        color: var(--ex-teal);
        transition: all 0.3s ease;
        top: 50%;
        margin-top: -28px;
    }
    .cs-swiper .swiper-button-prev::after,
    .cs-swiper .swiper-button-next::after { content: none; }
    .cs-swiper .swiper-button-prev svg,
    .cs-swiper .swiper-button-next svg {
        width: 20px;
        height: 20px;
        stroke: var(--ex-teal);
    }
    .cs-swiper .swiper-button-prev { left: 24px; }
    .cs-swiper .swiper-button-next { right: 24px; }
    .cs-swiper .swiper-button-prev:hover,
    .cs-swiper .swiper-button-next:hover {
        background: var(--ex-teal);
        border-color: var(--ex-teal);
    }
    .cs-swiper .swiper-button-prev:hover svg,
    .cs-swiper .swiper-button-next:hover svg { stroke: #060d16; }

    /* Swiper pagination dots */
    .cs-swiper .swiper-pagination {
        bottom: 24px;
        z-index: 4;
    }
    .cs-swiper .swiper-pagination-bullet {
        width: 32px;
        height: 2px;
        background: rgba(236,228,210,0.35);
        border-radius: 0;
        opacity: 1;
        margin: 0 4px !important;
        transition: background 0.3s ease, width 0.3s ease;
    }
    .cs-swiper .swiper-pagination-bullet-active {
        background: var(--ex-teal);
        width: 56px;
    }

    @media (max-width: 991px) {
        .cs-swiper { aspect-ratio: 16 / 10; }
        .cs-slide-caption { padding: 32px 28px; }
        .cs-swiper .swiper-button-prev { left: 12px; }
        .cs-swiper .swiper-button-next { right: 12px; }
        .cs-swiper .swiper-button-prev,
        .cs-swiper .swiper-button-next { width: 44px; height: 44px; margin-top: -22px; }
    }
    @media (max-width: 575px) {
        .cs-swiper { aspect-ratio: 4 / 3; }
        .cs-slide-caption { padding: 20px 18px; }
        .cs-swiper .swiper-pagination-bullet { width: 20px; }
        .cs-swiper .swiper-pagination-bullet-active { width: 36px; }
    }

    /* ========================================================== */
    /* ========== CASE STUDY DETAIL — SECTION BREAKDOWN ========= */
    /* ========================================================== */
    .cs-breakdown {
        padding: 100px 0;
        background: var(--ex-dark);
        border-top: 1px solid var(--ex-border);
        border-bottom: 1px solid var(--ex-border);
    }
    .cs-breakdown-head { margin-bottom: 70px; }
    .cs-breakdown-row {
        margin-bottom: 100px;
        padding-bottom: 100px;
        border-bottom: 1px solid var(--ex-border);
    }
    .cs-breakdown-row:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .cs-breakdown-img {
        position: relative;
        background: linear-gradient(135deg, #101e35 0%, #0a1525 100%);
        border: 1px solid var(--ex-border);
        overflow: hidden;
        aspect-ratio: 16 / 11;
        transition: border-color 0.4s ease;
    }
    .cs-breakdown-img:hover { border-color: var(--ex-teal); }
    .cs-breakdown-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
        transition: transform 0.8s ease;
    }
    .cs-breakdown-img:hover img { transform: scale(1.03); }
    .cs-breakdown-img-tag {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 3;
        padding: 8px 16px;
        /* background: rgba(12,12,12,0.78); */
        backdrop-filter: blur(10px);
        border: 1px solid rgba(199,30,66,0.35);
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 0.95rem;
        letter-spacing: 0.15em;
        color: var(--ex-teal);
        font-weight: 400;
    }
    .cs-breakdown-body { padding: 0; }
    .cs-breakdown-num {
        font-size: 0.7rem;
        letter-spacing: 0.4em;
        text-transform: uppercase;
        color: var(--ex-teal);
        font-weight: 500;
        margin-bottom: 1rem;
    }
    .cs-breakdown-title {
        font-family: 'Cormorant Garamond', serif !important;
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        font-weight: 400;
        color: var(--ex-cream);
        line-height: 1.15;
        margin-bottom: 0.5rem;
        letter-spacing: 0.01em;
    }
    .cs-breakdown-text {
        font-size: 1rem;
        line-height: 1.9;
        font-weight: 300;
        color: var(--ex-muted);
        margin: 1.5rem 0 1.75rem;
    }
    .cs-breakdown-feats {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .cs-breakdown-feats li {
        display: flex;
        gap: 14px;
        padding: 12px 0;
        font-size: 0.92rem;
        color: var(--ex-cream);
        line-height: 1.65;
        font-weight: 300;
        border-bottom: 1px solid rgba(42,42,42,0.55);
    }
    .cs-breakdown-feats li:last-child { border-bottom: none; }
    .cs-breakdown-feats li::before {
        content: '';
        flex-shrink: 0;
        width: 6px;
        height: 6px;
        background: var(--ex-teal);
        margin-top: 8px;
    }
    @media (max-width: 991px) {
        .cs-breakdown { padding: 70px 0; }
        .cs-breakdown-row { margin-bottom: 60px; padding-bottom: 60px; }
        .cs-breakdown-body { padding: 24px 0 0; }
    }

/* Page + shared header background follow this project's theme (override global .bg-neutral-50) */
html, body { background-color: var(--ex-bg) !important; }
header.bg-neutral-50 { background-color: var(--ex-bg) !important; }
