/* ==========================================================================
   Learn Marathi — Case Study Page (shared across all project case studies)
   ========================================================================== */

/* ── Hero ── */
.marathi-hero {
    padding: 140px 8vw 80px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Nav overrides for case-study pages ── */
.case-study-page .about-link {
    color: var(--color-maroon);
}

.marathi-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #000000;
    opacity: 0.5;
    margin-bottom: 20px;
}

.marathi-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 900;
    color: var(--color-maroon);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.marathi-hero-subtitle {
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 400;
    color: #000000;
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 56px;
    opacity: 0.75;
}

/* ── Metadata row ── */
.marathi-meta {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0;
    border-top: 1px solid rgba(134, 10, 34, 0.2);
    padding-top: 32px;
    width: fit-content;
}

.marathi-meta-cell {
    padding-right: 48px;
}

.marathi-meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000000;
    opacity: 0.4;
    margin-bottom: 8px;
}

.marathi-meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
}

/* ── Section wrapper ── */
.marathi-section {
    padding: 72px 8vw;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(134, 10, 34, 0.12);
}

.marathi-section-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 36px;
}

.marathi-section-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #000000;
    opacity: 0.35;
    white-space: nowrap;
}

.marathi-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 900;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* ── Body text ── */
.marathi-lead {
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.marathi-body {
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 400;
    color: #000000;
    line-height: 1.75;
    max-width: 680px;
    opacity: 0.8;
}

.marathi-body + .marathi-body {
    margin-top: 16px;
}

/* ── Pull quote ── */
.marathi-quote {
    margin: 40px 0;
    padding: 28px 32px;
    border-left: 3px solid var(--color-maroon);
    background-color: rgba(134, 10, 34, 0.04);
    border-radius: 0 8px 8px 0;
    max-width: 680px;
}

.marathi-quote p {
    font-size: clamp(14px, 1.3vw, 16px);
    font-style: italic;
    font-weight: 500;
    color: #000000;
    line-height: 1.7;
    margin: 0;
    opacity: 0.85;
}

/* ── Comparison table (Section 02) ── */
.marathi-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(134, 10, 34, 0.2);
    border-radius: 12px;
    overflow: hidden;
    max-width: 680px;
    margin: 32px 0;
}

.marathi-compare-header {
    padding: 14px 24px;
    background-color: var(--color-maroon);
}

.marathi-compare-header p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-cream);
    margin: 0;
}

.marathi-compare-cell {
    padding: 20px 24px;
    background-color: rgba(134, 10, 34, 0.04);
    border-right: 1px solid rgba(134, 10, 34, 0.15);
}

.marathi-compare-cell:nth-child(even) {
    border-right: none;
    background-color: rgba(134, 10, 34, 0.08);
}

.marathi-compare-cell p {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

/* ── Design decisions list ── */
.marathi-decisions {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 680px;
    margin-top: 8px;
}

.marathi-decision {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.marathi-decision-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #000000;
    opacity: 0.3;
    min-width: 20px;
    padding-top: 2px;
}

.marathi-decision-content strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 6px;
}

.marathi-decision-content p {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.65;
    opacity: 0.75;
    margin: 0;
}

/* ── Tech stack chips ── */
.marathi-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0;
}

.marathi-chip {
    display: inline-block;
    padding: 8px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.02em;
}

/* ── Outcomes metrics ── */
.marathi-outcomes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(134, 10, 34, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
}

.marathi-outcome-item {
    padding: 36px 28px;
    border-right: 1px solid rgba(134, 10, 34, 0.15);
    background-color: rgba(134, 10, 34, 0.03);
}

.marathi-outcome-item:last-child {
    border-right: none;
}

.marathi-outcome-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    color: #000000;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}

.marathi-outcome-label {
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    opacity: 0.5;
    line-height: 1.4;
}

/* ── Learnings ── */
.marathi-learnings {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 680px;
}

.marathi-learning-title {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.marathi-learning-body {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.75;
    opacity: 0.75;
}

/* ── Live site link ── */
.marathi-live-link {
    display: inline-block;
    margin-bottom: 48px;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    border-bottom: 1.5px solid #000000;
    padding-bottom: 2px;
    letter-spacing: 0.03em;
    transition: opacity var(--transition-hover);
}

.marathi-live-link:hover {
    opacity: 0.5;
}

/* ── Screenshots ── */
.marathi-screenshots {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 8vw 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.marathi-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

/* ── Shared definition table (Research, Design Direction, Prototype, Iterations) ── */
.cs-table {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(134, 10, 34, 0.2);
    border-radius: 12px;
    overflow: hidden;
    max-width: 680px;
    margin-top: 32px;
}

.cs-table-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border-bottom: 1px solid rgba(134, 10, 34, 0.12);
    padding: 20px 24px;
    align-items: baseline;
}

.cs-table-row:last-child {
    border-bottom: none;
}

.cs-table-label {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.04em;
    padding-right: 20px;
    line-height: 1.5;
    padding-top: 1px;
}

.cs-table-value {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.7;
    opacity: 0.75;
    margin: 0;
}

/* ── Shared roadmap (What's Next) ── */
.cs-roadmap {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(134, 10, 34, 0.2);
    border-radius: 12px;
    overflow: hidden;
    max-width: 680px;
    margin-top: 32px;
}

.cs-roadmap-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    padding: 24px 24px;
    border-bottom: 1px solid rgba(134, 10, 34, 0.12);
    align-items: start;
}

.cs-roadmap-item:last-child {
    border-bottom: none;
}

.cs-roadmap-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000000;
    opacity: 0.4;
    padding-top: 2px;
}

.cs-roadmap-text {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.7;
    opacity: 0.75;
    margin: 0;
}

@media (max-width: 600px) {
    .cs-table-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .cs-table-label {
        opacity: 0.55;
    }

    .cs-roadmap-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .marathi-hero {
        padding: 120px 24px 60px;
    }

    .marathi-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
        width: 100%;
    }

    .marathi-meta-cell {
        padding-right: 0;
    }

    .marathi-section {
        padding: 52px 24px;
    }

    .marathi-compare {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .marathi-compare-cell {
        border-right: none;
        border-bottom: 1px solid rgba(134, 10, 34, 0.15);
    }

    .marathi-compare-cell:nth-child(even) {
        border-right: none;
        border-bottom: none;
    }

    .marathi-outcomes {
        grid-template-columns: repeat(2, 1fr);
    }

    .marathi-outcome-item:nth-child(2) {
        border-right: none;
    }

    .marathi-outcome-item:nth-child(3) {
        border-top: 1px solid rgba(134, 10, 34, 0.15);
    }

    .marathi-outcome-item:nth-child(4) {
        border-top: 1px solid rgba(134, 10, 34, 0.15);
        border-right: none;
    }
}

@media (max-width: 480px) {
    .marathi-hero {
        padding: 100px 20px 48px;
    }

    .marathi-section {
        padding: 40px 20px;
    }

    .marathi-outcomes {
        grid-template-columns: repeat(2, 1fr);
    }

    .marathi-quote {
        padding: 20px 20px;
    }
}
