/* KSM × TECH / MARGADARSHAK PAGE STYLES */

/* ──────────────────────────────────────────────────────────
   MARGADARSHAK PAGE
   Bauhaus Neo-Brutalist · Navy + Action Red
   ────────────────────────────────────────────────────────── */

.margadarshak-page {
    --md-navy: #1a1a2e;
    --md-red: #e94560;
    --md-paper: #fffdf5;
}

/* Override font for headings to match Margadarshak's Outfit */
.margadarshak-page .md-title,
.margadarshak-page .md-h2,
.margadarshak-page .md-h2-small,
.margadarshak-page .md-promise-statement,
.margadarshak-page .md-fg-title,
.margadarshak-page .md-cta-headline {
    font-family: 'Outfit', 'Cormorant Garamond', sans-serif;
}

/* HERO */
.md-hero {
    padding-top: 180px !important;
    padding-bottom: 130px !important;
    background:
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    border-bottom: 2px solid var(--paper);
    position: relative;
    overflow: hidden;
}

.md-hero::before {
    content: '';
    position: absolute;
    top: 120px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: var(--md-red);
    transform: rotate(8deg);
    z-index: 1;
    opacity: 0.85;
}

.md-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--md-red);
    margin-bottom: 40px;
    padding: 7px 14px;
    border: 1px solid var(--md-red);
    border-radius: 0;
    background: rgba(233, 69, 96, 0.06);
    position: relative;
    z-index: 3;
}

.md-eyebrow .dot { width: 6px; height: 6px; border-radius: 0; background: var(--md-red); }

.md-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

@media (max-width: 880px) {
    .md-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .md-hero::before { width: 160px; height: 160px; right: -80px; }
}

.md-devanagari {
    font-family: var(--devanagari);
    font-weight: 700;
    font-size: clamp(38px, 5vw, 56px);
    color: var(--md-red);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1;
}

.md-title {
    font-weight: 800;
    font-size: clamp(56px, 9vw, 110px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--paper);
    margin-bottom: 28px;
    text-shadow: 5px 5px 0 var(--md-red);
}

.md-title em {
    font-style: italic;
    font-weight: 600;
    color: var(--paper);
}

.md-tagline {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(24px, 3.4vw, 40px);
    line-height: 1.05;
    color: var(--paper);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.md-sub {
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--paper-soft);
    margin-bottom: 40px;
    max-width: 480px;
}

.md-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.md-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid transparent;
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    cursor: pointer;
}

.md-btn-primary {
    background: var(--md-red);
    color: var(--md-paper);
    border-color: var(--md-red);
    box-shadow: 5px 5px 0 var(--paper);
}

.md-btn-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--paper);
}

.md-btn-ghost {
    background: transparent;
    color: var(--paper);
    border-color: var(--paper);
}

.md-btn-ghost:hover {
    background: var(--paper);
    color: var(--bg);
}

.md-btn-large { padding: 20px 36px; font-size: 13px; }

/* Bauhaus visual composition */
.md-hero-visual {
    aspect-ratio: 1 / 1;
    max-width: 420px;
    width: 100%;
    margin-left: auto;
}

.md-bauhaus-comp {
    width: 100%;
    height: 100%;
    background: var(--md-navy);
    border: 3px solid var(--paper);
    box-shadow: 12px 12px 0 var(--md-red);
    position: relative;
    overflow: hidden;
}

.mbc { position: absolute; }

.mbc-navy {
    top: 0;
    left: 0;
    width: 50%;
    height: 36%;
    background: #2d2d4a;
    border-right: 3px solid var(--paper);
    border-bottom: 3px solid var(--paper);
}

.mbc-red-large {
    top: 0;
    right: 0;
    width: 30%;
    height: 22%;
    background: var(--md-red);
}

.mbc-red-small {
    bottom: 18%;
    left: 14%;
    width: 18%;
    height: 18%;
    background: var(--md-red);
}

.mbc-line {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6%;
    background: var(--paper);
}

.mbc-circle {
    top: 38%;
    right: 12%;
    width: 80px;
    height: 80px;
    border: 3px solid var(--paper);
    border-radius: 50%;
}

.mbc-num {
    position: absolute;
    bottom: 60px;
    right: 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 100px;
    line-height: 1;
    color: var(--md-red);
    letter-spacing: -0.06em;
}

.mbc-features {
    position: absolute;
    bottom: 24px;
    right: 32px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--paper);
    line-height: 1.3;
    text-align: right;
}

/* Section headers (shared md) */
.md-section-header { margin-bottom: 64px; max-width: 760px; }
.md-section-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--md-red);
    margin-bottom: 18px;
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--md-red);
    background: rgba(233, 69, 96, 0.06);
}
.md-section-num.light { color: var(--md-paper); border-color: var(--md-paper); background: rgba(255, 253, 245, 0.06); }
.md-h2 {
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin-bottom: 20px;
}
.md-h2 em { font-style: italic; font-weight: 500; color: var(--md-red); }
.md-h2-small {
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
    color: var(--paper);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.md-h2-small em { font-style: italic; font-weight: 500; color: var(--md-red); }
.md-lead {
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--paper-soft);
    max-width: 640px;
}

/* Problem section — voice quotes */
.md-problem { background: var(--bg); border-top: 1px solid var(--line); }

.md-voices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    margin-bottom: 56px;
    border: 2px solid var(--paper);
    border-right: none;
    border-bottom: none;
}

.md-voice {
    background: var(--bg-soft);
    padding: 32px 28px;
    border-right: 2px solid var(--paper);
    border-bottom: 2px solid var(--paper);
    margin: 0;
    transition: background 0.3s ease;
    position: relative;
}

.md-voice:hover { background: var(--bg-elevated); }

.md-voice::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    color: var(--md-red);
    line-height: 1;
    opacity: 0.6;
}

.md-voice p {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.4;
    color: var(--paper);
    margin: 24px 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--line-bright);
}

.md-voice cite {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--md-red);
    font-style: normal;
}

.md-conclusion {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.5;
    color: var(--paper);
    max-width: 760px;
}

/* Promise section — ethical rule */
.md-promise {
    background: var(--md-navy);
    border-top: 4px solid var(--md-red);
    border-bottom: 4px solid var(--md-red);
}

.md-promise-block { padding: 40px 0; }

.md-promise-statement {
    font-weight: 700;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--md-paper);
    margin-bottom: 56px;
    margin-top: 18px;
}

.md-promise-statement em {
    font-style: italic;
    font-weight: 500;
    color: var(--md-red);
}

.md-promise-rules {
    display: grid;
    gap: 18px;
    max-width: 780px;
}

.md-rule {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(255, 253, 245, 0.04);
    border-left: 3px solid var(--md-red);
    align-items: baseline;
}

.md-rule-num {
    font-family: var(--mono);
    color: var(--md-red);
    font-size: 18px;
    font-weight: 600;
}

.md-rule p {
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--md-paper);
    margin: 0;
}

.md-rule p strong { color: var(--md-paper); font-weight: 700; }

/* System section — feature groups */
.md-system { background: var(--bg); }

.md-feature-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border: 2px solid var(--paper);
    border-right: none;
    border-bottom: none;
}

.md-fg {
    background: var(--bg-soft);
    padding: 36px 28px;
    border-right: 2px solid var(--paper);
    border-bottom: 2px solid var(--paper);
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
}

.md-fg:hover {
    background: var(--bg-elevated);
    transform: translate(-2px, -2px);
}

.md-fg-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    color: var(--md-red);
    margin-bottom: 16px;
    font-style: italic;
}

.md-fg-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--paper);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.md-fg-tagline {
    font-family: var(--body);
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    color: var(--paper-mid);
    margin-bottom: 22px;
}

.md-fg-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed var(--line-bright);
    padding-top: 18px;
}

.md-fg-list li {
    padding: 7px 0 7px 18px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--paper-soft);
    position: relative;
}

.md-fg-list li::before {
    content: '◾';
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--md-red);
    font-size: 9px;
}

/* Stages table */
.md-stages { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.md-stages-table {
    border: 2px solid var(--paper);
}

.md-stages-row {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 3fr 1.2fr;
    gap: 24px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-bright);
    transition: background 0.3s ease;
    align-items: center;
}

.md-stages-row:last-child { border-bottom: none; }

.md-stages-row:hover:not(.md-stages-head) { background: rgba(233, 69, 96, 0.06); }

.md-stages-head {
    background: var(--md-navy);
    border-bottom: 2px solid var(--paper);
}

.md-stages-head > div {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--md-red);
    text-transform: uppercase;
    font-weight: 600;
}

.md-stage-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--paper);
    letter-spacing: -0.005em;
}

.md-stage-stream {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--md-red);
}

.md-stage-tools {
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--paper-soft);
}

@media (max-width: 768px) {
    .md-stages-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
    .md-stages-head { display: none; }
    .md-stage-name { font-size: 18px; }
    .md-stage-stream::before { content: 'Stream: '; color: var(--paper-mid); font-size: 10px; letter-spacing: 0.2em; }
    .md-stage-tools::before { content: 'Tools: '; color: var(--paper-mid); font-size: 10px; letter-spacing: 0.2em; display: block; margin-top: 6px; }
    .md-stage-status { margin-top: 4px; font-size: 12px; }
}

.md-stage-status {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Trust section */
.md-trust { background: var(--bg); }

.md-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.md-trust-card {
    background: var(--bg-soft);
    border: 2px solid var(--paper);
    box-shadow: 6px 6px 0 var(--md-red);
    padding: 36px 28px;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.md-trust-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--md-red);
}

.md-trust-letter {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 56px;
    line-height: 1;
    color: var(--md-red);
    margin-bottom: 18px;
}

.md-trust-card h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--paper);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.md-trust-card p {
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--paper-soft);
    margin-bottom: 20px;
}

.md-trust-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-bright);
}

.md-trust-features span {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(233, 69, 96, 0.12);
    color: var(--md-red);
    border: 1px solid rgba(233, 69, 96, 0.4);
}

/* Tech section */
.md-tech { background: var(--bg-soft); border-top: 1px solid var(--line); }

.md-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

@media (max-width: 880px) {
    .md-tech-grid { grid-template-columns: 1fr; gap: 48px; }
}

.md-tech-prose {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--paper-soft);
    margin-bottom: 24px;
}

.md-tech-quote {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.45;
    color: var(--paper);
    padding: 20px 24px;
    border-left: 3px solid var(--md-red);
    background: rgba(233, 69, 96, 0.04);
    margin: 0;
}

.md-stack-list {
    border: 2px solid var(--paper);
}

.md-stack-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line-bright);
    align-items: baseline;
}

.md-stack-row:last-child { border-bottom: none; }

.md-stack-row span:first-child {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--md-red);
    font-weight: 600;
}

.md-stack-row span:last-child {
    font-family: var(--body);
    font-size: 15px;
    color: var(--paper);
    line-height: 1.5;
}

/* Status section */
.md-status { background: var(--bg); }

.md-status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .md-status-grid { grid-template-columns: 1fr; }
}

.md-status-col {
    border: 2px solid var(--paper);
    padding: 28px;
    background: var(--bg-soft);
}

.md-status-head {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--md-paper);
    background: var(--md-navy);
    padding: 12px 18px;
    margin: -28px -28px 24px;
    text-align: center;
}

.md-status-shipped + .md-status-head,
.md-status-shipped {
    color: var(--paper-soft);
}

.md-status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.md-status-list li {
    padding: 8px 0 8px 22px;
    font-family: var(--body);
    font-size: 14px;
    color: var(--paper-soft);
    position: relative;
    line-height: 1.55;
}

.md-status-shipped li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--md-red);
    font-weight: 700;
    font-size: 13px;
}

.md-status-planned li::before {
    content: '○';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--paper-mid);
    font-size: 13px;
}

/* Privacy section */
.md-privacy { background: var(--bg-soft); border-top: 1px solid var(--line); }

.md-privacy-block { max-width: 820px; margin: 0 auto; }

.md-privacy-rules {
    display: grid;
    gap: 0;
    border: 2px solid var(--paper);
    margin-top: 32px;
}

.md-priv-rule {
    padding: 20px 24px;
    border-bottom: 1px solid var(--line-bright);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--paper-soft);
}

.md-priv-rule:last-child { border-bottom: none; }

.md-priv-rule strong {
    color: var(--md-red);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-right: 12px;
    font-weight: 600;
}

/* Final CTA */
.md-final-cta {
    background: var(--md-navy);
    border-top: 4px solid var(--md-red);
    border-bottom: 4px solid var(--md-red);
    text-align: center;
}

.md-cta-headline {
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--md-paper);
    margin-bottom: 22px;
}

.md-cta-headline em {
    font-style: italic;
    font-weight: 500;
    color: var(--md-red);
}

.md-cta-sub {
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 253, 245, 0.75);
    max-width: 540px;
    margin: 0 auto 36px;
}

.md-back-link {
    display: inline-block;
    margin-top: 32px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 253, 245, 0.6);
    transition: color 0.3s ease;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 253, 245, 0.2);
    width: 220px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.md-back-link:hover { color: var(--md-paper); }



/* ──────────────────────────────────────────────────────────
   MARGADARSHAK — TRUE BAUHAUS NEO-BRUTALIST OVERRIDE
   Matches splash: warm off-white bg, primary black, accent
   yellow + red + blue, Space Grotesk display, scattered blocks.
   ────────────────────────────────────────────────────────── */

.margadarshak-page {
    --md-paper: #f5f0e8;
    --md-paper-deep: #ebe4d6;
    --md-card: #ffffff;
    --md-ink: #1a1a1a;
    --md-ink-soft: #2a2a2a;
    --md-ink-mid: #555555;
    --md-yellow: #ffcc00;
    --md-red: #e63b2e;
    --md-blue: #0055ff;

    background: var(--md-paper);
    color: var(--md-ink);
    background-image:
        linear-gradient(rgba(26, 26, 26, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    background-attachment: fixed;
}

.margadarshak-page::before { display: none; }

/* Force all Margadarshak headings to Space Grotesk */
.margadarshak-page h1,
.margadarshak-page h2,
.margadarshak-page h3,
.margadarshak-page h4,
.margadarshak-page .md-title,
.margadarshak-page .md-h2,
.margadarshak-page .md-h2-small,
.margadarshak-page .md-promise-statement,
.margadarshak-page .md-fg-title,
.margadarshak-page .md-cta-headline,
.margadarshak-page .md-stage-name,
.margadarshak-page .md-trust-card h3,
.margadarshak-page .md-status-head,
.margadarshak-page .md-fg-num,
.margadarshak-page .md-trust-letter,
.margadarshak-page .mbc-num {
    font-family: 'Space Grotesk', 'Outfit', sans-serif !important;
    font-style: normal;
    text-transform: none;
}

.margadarshak-page body,
.margadarshak-page p,
.margadarshak-page .md-lead,
.margadarshak-page .md-tagline,
.margadarshak-page .md-sub {
    font-family: 'Inter', 'Newsreader', sans-serif !important;
    font-style: normal !important;
}

.margadarshak-page .md-tagline {
    font-style: normal !important;
    font-weight: 500 !important;
}

/* Header — light variant on this page */
.margadarshak-page .header {
    background: transparent;
    border-bottom-color: transparent;
    padding: 22px 32px;
}

.margadarshak-page .header.scrolled {
    background: var(--md-paper);
    border-bottom: 2px solid var(--md-ink);
    padding: 14px 32px;
}

.margadarshak-page .logo,
.margadarshak-page .logo-text { color: var(--md-ink); }
.margadarshak-page .logo-mark { color: var(--md-red); }
.margadarshak-page .logo-x { color: var(--md-red); }
.margadarshak-page .nav a { color: var(--md-ink-mid); font-weight: 600; }
.margadarshak-page .nav a:hover { color: var(--md-ink); }
.margadarshak-page .nav a::after { background: var(--md-red); height: 2px; }
.margadarshak-page .nav-cta {
    background: var(--md-ink) !important;
    color: var(--md-paper) !important;
    border: 2px solid var(--md-ink) !important;
    border-radius: 0 !important;
}
.margadarshak-page .nav-cta:hover {
    background: var(--md-yellow) !important;
    color: var(--md-ink) !important;
    border-color: var(--md-ink) !important;
}

/* HERO — match the splash with scattered blocks */
.margadarshak-page .md-hero {
    background: var(--md-paper) !important;
    border-bottom: 3px solid var(--md-ink) !important;
    overflow: hidden;
    position: relative;
}

.margadarshak-page .md-hero::before { display: none; }

/* Scattered blocks like the splash — using nth-of-type and pseudo-elements */
.margadarshak-page .md-hero-grid {
    position: relative;
    z-index: 5;
}

.margadarshak-page .md-hero {
    background-image: none;
}

/* Decorative scattered blocks via additional element */
.margadarshak-page .md-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 0;
    background-image:
        /* Top-left red square */
        linear-gradient(var(--md-ink), var(--md-ink)),
        /* Top-right yellow square (rotated effect via gradient placement) */
        linear-gradient(var(--md-ink), var(--md-ink)),
        /* Bottom-left grey square */
        linear-gradient(var(--md-ink), var(--md-ink)),
        /* Bottom-right blue rectangle */
        linear-gradient(var(--md-ink), var(--md-ink));
    background-repeat: no-repeat;
    background-size: 0 0;
}

/* I'll use real elements injected via the eyebrow area for the blocks. Keep CSS minimal here, do blocks as siblings */

.margadarshak-page .md-eyebrow {
    background: var(--md-yellow);
    border: 2px solid var(--md-ink);
    color: var(--md-ink);
    border-radius: 0;
    font-weight: 600;
    font-family: 'JetBrains Mono', 'Inter', sans-serif;
    box-shadow: 4px 4px 0 var(--md-ink);
}

.margadarshak-page .md-eyebrow .dot {
    background: var(--md-red);
    border-radius: 0;
    width: 8px;
    height: 8px;
}

.margadarshak-page .md-devanagari {
    font-family: 'Noto Serif Devanagari', serif !important;
    font-weight: 700;
    color: var(--md-red);
}

.margadarshak-page .md-title {
    color: var(--md-ink) !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 0.85 !important;
}

.margadarshak-page .md-title em {
    font-style: normal !important;
    color: var(--md-red) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-tagline {
    color: var(--md-ink) !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

.margadarshak-page .md-sub {
    color: var(--md-ink-soft) !important;
    font-weight: 400;
}

/* Buttons — Bauhaus style */
.margadarshak-page .md-btn {
    border-radius: 0 !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', 'Inter', sans-serif !important;
}

.margadarshak-page .md-btn-primary {
    background: var(--md-ink) !important;
    color: var(--md-paper) !important;
    border-color: var(--md-ink) !important;
    box-shadow: 5px 5px 0 var(--md-yellow) !important;
}

.margadarshak-page .md-btn-primary:hover {
    background: var(--md-red) !important;
    color: var(--md-paper) !important;
    transform: translate(-2px, -2px) !important;
    box-shadow: 7px 7px 0 var(--md-yellow) !important;
}

.margadarshak-page .md-btn-ghost {
    background: var(--md-paper) !important;
    color: var(--md-ink) !important;
    border: 2px solid var(--md-ink) !important;
    box-shadow: 5px 5px 0 var(--md-blue) !important;
}

.margadarshak-page .md-btn-ghost:hover {
    background: var(--md-blue) !important;
    color: var(--md-paper) !important;
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--md-ink) !important;
}

/* Hero Bauhaus visual — match splash */
.margadarshak-page .md-bauhaus-comp {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 12px 12px 0 var(--md-ink);
}

.margadarshak-page .mbc-navy {
    background: var(--md-blue);
    border-right-color: var(--md-ink);
    border-bottom-color: var(--md-ink);
}

.margadarshak-page .mbc-red-large {
    background: var(--md-yellow);
}

.margadarshak-page .mbc-red-small {
    background: var(--md-red);
}

.margadarshak-page .mbc-line {
    background: var(--md-ink);
}

.margadarshak-page .mbc-circle {
    border-color: var(--md-ink);
    background: var(--md-yellow);
}

.margadarshak-page .mbc-num {
    color: var(--md-red) !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.margadarshak-page .mbc-features {
    color: var(--md-ink);
    font-weight: 700;
}

/* Section bases */
.margadarshak-page .md-section-num {
    background: var(--md-paper);
    border: 2px solid var(--md-ink) !important;
    color: var(--md-ink) !important;
    border-radius: 0 !important;
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--md-yellow);
}

.margadarshak-page .md-section-num.light {
    color: var(--md-paper) !important;
    border-color: var(--md-paper) !important;
    background: transparent;
    box-shadow: 3px 3px 0 var(--md-yellow);
}

.margadarshak-page .md-h2 {
    color: var(--md-ink) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-h2 em {
    color: var(--md-red) !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-h2-small {
    color: var(--md-ink) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-h2-small em {
    color: var(--md-red) !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-lead { color: var(--md-ink-soft) !important; }

/* Problem section */
.margadarshak-page .md-problem {
    background: var(--md-paper-deep) !important;
    border-top: 3px solid var(--md-ink) !important;
}

.margadarshak-page .md-voices {
    border-color: var(--md-ink) !important;
    border-width: 3px !important;
    background: var(--md-ink);
}

.margadarshak-page .md-voice {
    background: var(--md-card);
    border-right-color: var(--md-ink) !important;
    border-bottom-color: var(--md-ink) !important;
    border-width: 3px !important;
}

.margadarshak-page .md-voice:hover {
    background: var(--md-yellow);
}

.margadarshak-page .md-voice::before {
    color: var(--md-red);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.margadarshak-page .md-voice p {
    color: var(--md-ink) !important;
    font-style: normal !important;
    font-weight: 500 !important;
    border-bottom-color: var(--md-ink);
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.margadarshak-page .md-voice cite {
    color: var(--md-red);
    font-weight: 700;
}

.margadarshak-page .md-conclusion {
    color: var(--md-ink) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    background: var(--md-yellow);
    border: 3px solid var(--md-ink);
    padding: 28px 32px;
    box-shadow: 6px 6px 0 var(--md-ink);
    margin-top: 16px;
}

/* Promise — ethical rule */
.margadarshak-page .md-promise {
    background: var(--md-ink) !important;
    border-top: 4px solid var(--md-yellow) !important;
    border-bottom: 4px solid var(--md-yellow) !important;
    color: var(--md-paper);
}

.margadarshak-page .md-promise-statement {
    color: var(--md-paper) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-promise-statement em {
    color: var(--md-yellow) !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-rule {
    background: rgba(255, 204, 0, 0.08);
    border-left: 3px solid var(--md-yellow);
}

.margadarshak-page .md-rule-num { color: var(--md-yellow); }
.margadarshak-page .md-rule p { color: var(--md-paper); }
.margadarshak-page .md-rule p strong { color: var(--md-yellow); }

/* System — feature groups */
.margadarshak-page .md-system { background: var(--md-paper); }

.margadarshak-page .md-feature-groups {
    background: var(--md-ink);
    border-color: var(--md-ink) !important;
    border-width: 3px !important;
}

.margadarshak-page .md-fg {
    background: var(--md-card);
    border-right-color: var(--md-ink) !important;
    border-bottom-color: var(--md-ink) !important;
    border-width: 3px !important;
}

.margadarshak-page .md-fg:hover {
    background: var(--md-yellow);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--md-ink);
}

.margadarshak-page .md-fg-num {
    color: var(--md-red) !important;
    font-weight: 800 !important;
    font-style: normal !important;
}

.margadarshak-page .md-fg-title {
    color: var(--md-ink) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-fg-tagline {
    color: var(--md-ink-mid) !important;
    font-style: normal !important;
    font-weight: 500 !important;
}

.margadarshak-page .md-fg-list {
    border-top: 2px solid var(--md-ink);
}

.margadarshak-page .md-fg-list li {
    color: var(--md-ink-soft);
    font-weight: 500;
}

.margadarshak-page .md-fg-list li::before {
    color: var(--md-red);
    content: '◼';
}

/* Stages table */
.margadarshak-page .md-stages {
    background: var(--md-paper-deep) !important;
    border-top: 3px solid var(--md-ink) !important;
    border-bottom: 3px solid var(--md-ink) !important;
}

.margadarshak-page .md-stages-table {
    border: 3px solid var(--md-ink);
    background: var(--md-card);
}

.margadarshak-page .md-stages-row {
    border-bottom-color: var(--md-ink) !important;
    border-bottom-width: 2px !important;
}

.margadarshak-page .md-stages-row:hover:not(.md-stages-head) {
    background: var(--md-yellow);
}

.margadarshak-page .md-stages-head {
    background: var(--md-ink) !important;
    border-bottom: 3px solid var(--md-ink) !important;
}

.margadarshak-page .md-stages-head > div {
    color: var(--md-yellow) !important;
    font-weight: 700;
}

.margadarshak-page .md-stage-name {
    color: var(--md-ink) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-stage-stream {
    color: var(--md-red) !important;
    font-weight: 700;
}

.margadarshak-page .md-stage-tools {
    color: var(--md-ink-soft) !important;
}

/* Trust */
.margadarshak-page .md-trust { background: var(--md-paper); }

.margadarshak-page .md-trust-card {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 6px 6px 0 var(--md-blue);
}

.margadarshak-page .md-trust-card:nth-child(2) {
    box-shadow: 6px 6px 0 var(--md-yellow);
}

.margadarshak-page .md-trust-card:nth-child(3) {
    box-shadow: 6px 6px 0 var(--md-red);
}

.margadarshak-page .md-trust-card:hover {
    transform: translate(-3px, -3px);
}

.margadarshak-page .md-trust-card:nth-child(1):hover {
    box-shadow: 9px 9px 0 var(--md-blue);
}

.margadarshak-page .md-trust-card:nth-child(2):hover {
    box-shadow: 9px 9px 0 var(--md-yellow);
}

.margadarshak-page .md-trust-card:nth-child(3):hover {
    box-shadow: 9px 9px 0 var(--md-red);
}

.margadarshak-page .md-trust-letter {
    color: var(--md-ink) !important;
    font-weight: 800 !important;
    font-style: normal !important;
    background: var(--md-yellow);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--md-ink);
    margin-bottom: 20px;
    font-size: 32px !important;
}

.margadarshak-page .md-trust-card:nth-child(1) .md-trust-letter { background: var(--md-blue); color: var(--md-paper) !important; }
.margadarshak-page .md-trust-card:nth-child(3) .md-trust-letter { background: var(--md-red); color: var(--md-paper) !important; }

.margadarshak-page .md-trust-card h3 {
    color: var(--md-ink) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-trust-card p { color: var(--md-ink-soft) !important; }

.margadarshak-page .md-trust-features {
    border-top: 2px dashed var(--md-ink);
}

.margadarshak-page .md-trust-features span {
    background: var(--md-paper);
    color: var(--md-ink) !important;
    border: 2px solid var(--md-ink) !important;
    font-weight: 700;
    border-radius: 0 !important;
}

/* Tech */
.margadarshak-page .md-tech {
    background: var(--md-paper-deep) !important;
    border-top: 3px solid var(--md-ink) !important;
}

.margadarshak-page .md-tech-prose { color: var(--md-ink-soft) !important; }

.margadarshak-page .md-tech-quote {
    color: var(--md-ink) !important;
    background: var(--md-yellow);
    border-left: 4px solid var(--md-ink);
    font-style: normal !important;
    font-weight: 600 !important;
}

.margadarshak-page .md-stack-list {
    background: var(--md-card);
    border-color: var(--md-ink) !important;
    border-width: 3px !important;
}

.margadarshak-page .md-stack-row {
    border-bottom-color: var(--md-ink) !important;
    border-bottom-width: 1px !important;
}

.margadarshak-page .md-stack-row span:first-child {
    color: var(--md-red) !important;
    font-weight: 700;
}

.margadarshak-page .md-stack-row span:last-child {
    color: var(--md-ink) !important;
    font-weight: 500;
}

/* Status */
.margadarshak-page .md-status { background: var(--md-paper); }

.margadarshak-page .md-status-col {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 6px 6px 0 var(--md-ink);
}

.margadarshak-page .md-status-col:nth-child(1) {
    box-shadow: 6px 6px 0 var(--md-yellow);
}

.margadarshak-page .md-status-col:nth-child(2) {
    box-shadow: 6px 6px 0 var(--md-blue);
}

.margadarshak-page .md-status-head {
    background: var(--md-ink) !important;
    color: var(--md-yellow) !important;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.18em;
}

.margadarshak-page .md-status-col:nth-child(2) .md-status-head {
    color: var(--md-blue) !important;
}

.margadarshak-page .md-status-list li {
    color: var(--md-ink-soft) !important;
}

.margadarshak-page .md-status-shipped li::before {
    color: #00aa55;
    content: '✓';
    font-weight: 800;
}

.margadarshak-page .md-status-planned li::before {
    color: var(--md-blue);
    content: '○';
}

/* Privacy */
.margadarshak-page .md-privacy {
    background: var(--md-paper-deep) !important;
    border-top: 3px solid var(--md-ink) !important;
}

.margadarshak-page .md-privacy-rules {
    background: var(--md-card);
    border-color: var(--md-ink) !important;
    border-width: 3px !important;
}

.margadarshak-page .md-priv-rule {
    color: var(--md-ink-soft) !important;
    border-bottom: 1px solid var(--md-ink);
}

.margadarshak-page .md-priv-rule strong {
    color: var(--md-red) !important;
    font-weight: 800;
}

/* Final CTA */
.margadarshak-page .md-final-cta {
    background: var(--md-ink) !important;
    border-top: 4px solid var(--md-yellow) !important;
    border-bottom: 4px solid var(--md-yellow) !important;
}

.margadarshak-page .md-cta-headline {
    color: var(--md-paper) !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-cta-headline em {
    color: var(--md-yellow) !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

.margadarshak-page .md-cta-sub { color: rgba(245, 240, 232, 0.8) !important; }

.margadarshak-page .md-back-link {
    color: rgba(245, 240, 232, 0.6);
    border-top-color: rgba(245, 240, 232, 0.2);
}

.margadarshak-page .md-back-link:hover { color: var(--md-yellow); }

/* Footer on margadarshak */
.margadarshak-page .footer {
    background: var(--md-paper-deep);
    border-top: 3px solid var(--md-ink);
}

.margadarshak-page .copyright { color: var(--md-ink-mid); }
.margadarshak-page .footer-mantra .devanagari { color: var(--md-red); font-weight: 700; }

/* ─── Margadarshak Scattered Hero Blocks ──────────────── */
.margadarshak-page .md-scattered {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.margadarshak-page .md-scatter {
    position: absolute;
    border: 3px solid var(--md-ink);
    box-shadow: 6px 6px 0 var(--md-ink);
}

.margadarshak-page .md-scatter-red {
    top: 100px;
    left: 6%;
    width: 90px;
    height: 90px;
    background: var(--md-red);
    transform: rotate(-3deg);
}

.margadarshak-page .md-scatter-yellow {
    top: 130px;
    right: 8%;
    width: 130px;
    height: 110px;
    background: var(--md-yellow);
    transform: rotate(8deg);
}

.margadarshak-page .md-scatter-grey {
    bottom: 60px;
    left: 12%;
    width: 70px;
    height: 70px;
    background: var(--md-paper-deep);
    transform: rotate(-6deg);
}

.margadarshak-page .md-scatter-blue {
    bottom: 80px;
    right: 14%;
    width: 140px;
    height: 90px;
    background: var(--md-blue);
    transform: rotate(2deg);
}

/* Hide on small screens */
@media (max-width: 880px) {
    .margadarshak-page .md-scatter-grey,
    .margadarshak-page .md-scatter-blue { display: none; }
    .margadarshak-page .md-scatter-red { width: 60px; height: 60px; left: 4%; }
    .margadarshak-page .md-scatter-yellow { width: 80px; height: 70px; right: 4%; }
}

/* Override hero ::before red square — hide it now we have proper scattered blocks */
.margadarshak-page .md-hero::before {
    display: none !important;
}


/* ─── Margadarshak Splash Card (matches reference splash) ── */
.margadarshak-page .md-splash-card {
    aspect-ratio: 5 / 4;
    background: var(--md-paper);
    border: 3px solid var(--md-ink);
    box-shadow: 12px 12px 0 var(--md-ink);
    padding: 28px 32px;
    position: relative;
    z-index: 4;
}

.margadarshak-page .md-splash-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.margadarshak-page .md-splash-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--md-ink);
}

.margadarshak-page .md-splash-dots .dot-red { background: var(--md-red); }
.margadarshak-page .md-splash-dots .dot-yellow { background: var(--md-yellow); }
.margadarshak-page .md-splash-dots .dot-blue { background: var(--md-blue); }

.margadarshak-page .md-splash-version {
    position: absolute;
    top: 28px;
    right: 32px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--md-ink);
    letter-spacing: 0.18em;
    border-bottom: 2px solid var(--md-ink);
    padding-bottom: 2px;
}

.margadarshak-page .md-splash-wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 0.85;
    letter-spacing: -0.03em;
    color: var(--md-ink);
    margin-top: 36px;
    margin-bottom: 24px;
}

.margadarshak-page .md-splash-bar {
    width: 90px;
    height: 10px;
    background: var(--md-yellow);
    border: 2px solid var(--md-ink);
    margin-bottom: 16px;
}

.margadarshak-page .md-splash-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.3;
    color: var(--md-ink);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.margadarshak-page .md-splash-side {
    position: absolute;
    top: 32%;
    right: -3px;
    width: 50px;
    height: 14px;
    background: var(--md-yellow);
    border: 2px solid var(--md-ink);
}

.margadarshak-page .md-splash-corner {
    position: absolute;
    bottom: -3px;
    right: 24px;
    width: 38px;
    height: 38px;
    background: var(--md-red);
    border: 2px solid var(--md-ink);
}

@media (max-width: 880px) {
    .margadarshak-page .md-splash-card { padding: 24px 26px; }
    .margadarshak-page .md-splash-version { top: 24px; right: 26px; font-size: 13px; }
}


/* ─── Margadarshak Deep Clarity Update ───────────────── */
.margadarshak-page .md-hero-updated .md-sub strong { color: var(--md-red); font-weight: 800; }
.margadarshak-page .md-hero-line {
    display: inline-block;
    max-width: 640px;
    margin: -18px 0 32px;
    padding: 16px 18px;
    background: var(--md-yellow);
    border: 3px solid var(--md-ink);
    box-shadow: 5px 5px 0 var(--md-ink);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--md-ink);
    line-height: 1.4;
}
.margadarshak-page .md-decision-card { min-height: 430px; }
.margadarshak-page .md-decision-question {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 5vw, 58px);
    line-height: .9;
    color: var(--md-ink);
    margin-top: 36px;
    letter-spacing: -0.04em;
}
.margadarshak-page .md-decision-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 22px 0 20px;
}
.margadarshak-page .md-decision-options span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 8px 10px;
    border: 2px solid var(--md-ink);
    background: var(--md-card);
}
.margadarshak-page .md-decision-options span:nth-child(1),
.margadarshak-page .md-decision-options span:nth-child(4) { background: var(--md-yellow); }
.margadarshak-page .md-decision-options span:nth-child(2),
.margadarshak-page .md-decision-options span:nth-child(5) { background: var(--md-blue); color: var(--md-paper); }
.margadarshak-page .md-decision-options span:nth-child(3),
.margadarshak-page .md-decision-options span:nth-child(6) { background: var(--md-red); color: var(--md-paper); }
.margadarshak-page .md-decision-output {
    border-top: 3px solid var(--md-ink);
    padding-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: var(--md-ink);
}
.margadarshak-page .md-decision-output strong { font-family: 'Space Grotesk', sans-serif; color: var(--md-red); }

.margadarshak-page .md-real-voices { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.margadarshak-page .md-how-section { border-top: 3px solid var(--md-ink); }
.margadarshak-page .md-flow-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
}
.margadarshak-page .md-flow-card {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 5px 5px 0 var(--md-ink);
    padding: 26px 22px;
}
.margadarshak-page .md-flow-card span {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    background: var(--md-yellow);
    color: var(--md-ink);
    border: 2px solid var(--md-ink);
    padding: 4px 8px;
    margin-bottom: 18px;
}
.margadarshak-page .md-flow-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    color: var(--md-ink);
    margin-bottom: 10px;
}
.margadarshak-page .md-flow-card p { color: var(--md-ink-soft); font-size: 15px; line-height: 1.55; margin: 0; }
.margadarshak-page .md-flow-arrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--md-red);
    align-self: center;
}
@media (max-width: 980px) {
    .margadarshak-page .md-flow-strip { grid-template-columns: 1fr; }
    .margadarshak-page .md-flow-arrow { display: none; }
}

.margadarshak-page .md-example-section { background: var(--md-paper); }
.margadarshak-page .md-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.margadarshak-page .md-case-card {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 7px 7px 0 var(--md-blue);
    padding: 30px 26px;
}
.margadarshak-page .md-case-card:nth-child(2) { box-shadow-color: var(--md-red); }
.margadarshak-page .md-case-card:nth-child(3) { box-shadow-color: var(--md-yellow); }
.margadarshak-page .md-case-card:nth-child(4) { box-shadow-color: var(--md-ink); }
.margadarshak-page .md-case-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--md-paper);
    background: var(--md-ink);
    padding: 7px 10px;
    margin-bottom: 18px;
}
.margadarshak-page .md-case-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    line-height: 1.15;
    color: var(--md-ink);
    margin-bottom: 22px;
}
.margadarshak-page .md-case-split, .margadarshak-page .md-case-result {
    border-top: 2px solid var(--md-ink);
    padding-top: 14px;
    margin-top: 14px;
}
.margadarshak-page .md-case-split strong, .margadarshak-page .md-case-result strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--md-red);
}
.margadarshak-page .md-case-card p { color: var(--md-ink-soft); font-size: 15px; line-height: 1.58; margin: 8px 0 0; }

.margadarshak-page .md-whatif-section { border-top: 3px solid var(--md-ink); }
.margadarshak-page .md-whatif-grid { align-items: start; }
.margadarshak-page .md-question-lab {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.margadarshak-page .md-q-card {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 4px 4px 0 var(--md-ink);
    padding: 20px 18px;
}
.margadarshak-page .md-q-card:nth-child(odd) { background: var(--md-yellow); }
.margadarshak-page .md-q-card:nth-child(3n) { background: var(--md-blue); color: var(--md-paper); }
.margadarshak-page .md-q-card:nth-child(4n) { background: var(--md-red); color: var(--md-paper); }
.margadarshak-page .md-q-card span {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 12px;
}
.margadarshak-page .md-q-card p {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
}
@media (max-width: 680px) { .margadarshak-page .md-question-lab { grid-template-columns: 1fr; } }

.margadarshak-page .md-feature-groups-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.margadarshak-page .md-family-section { background: var(--md-paper); }
.margadarshak-page .md-family-grid .md-trust-card p { min-height: 95px; }

@media (max-width: 620px) {
    .margadarshak-page .md-decision-options { grid-template-columns: 1fr; }
    .margadarshak-page .md-case-grid { grid-template-columns: 1fr; }
}


/* Added: current way comparison */
.md-current-way { padding: 110px 0; background:#FFFDF5; border-top:4px solid #1A1A2E; border-bottom:4px solid #1A1A2E; }
.md-compare-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; margin-top:34px; }
.md-compare-card { background:#fff; border:4px solid #1A1A2E; padding:28px; box-shadow:10px 10px 0 #1A1A2E; }
.md-compare-card h3 { font-family:var(--display); font-size:26px; color:#1A1A2E; margin-bottom:12px; }
.md-compare-card p, .md-compare-card li { font-family:var(--body); color:#303040; line-height:1.65; }
.md-compare-card ul { margin:14px 0 0 18px; padding:0; }
.md-old-way { background:#FFF6D8; }
.md-new-way { background:#EAF7FF; }
@media (max-width:850px){ .md-compare-grid{grid-template-columns:1fr;} }


/* ──────────────────────────────────────────────────────────
   REAL STORIES — Social Proof Evidence Section
   Matches Bauhaus Neo-Brutalist design system
   ────────────────────────────────────────────────────────── */

.margadarshak-page .md-stories {
    background: var(--md-paper-deep);
    border-top: 3px solid var(--md-ink);
    padding: 110px 0;
}

.margadarshak-page .md-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 880px) {
    .margadarshak-page .md-stories-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Story card */
.margadarshak-page .md-story-card {
    background: var(--md-card);
    border: 3px solid var(--md-ink);
    box-shadow: 7px 7px 0 var(--md-yellow);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.margadarshak-page .md-story-card:hover {
    transform: translate(-3px, -3px);
}

/* Alternating card shadow colors */
.margadarshak-page .md-story-card:nth-child(4n+1) { box-shadow: 7px 7px 0 var(--md-yellow); }
.margadarshak-page .md-story-card:nth-child(4n+1):hover { box-shadow: 10px 10px 0 var(--md-yellow); }
.margadarshak-page .md-story-card:nth-child(4n+2) { box-shadow: 7px 7px 0 var(--md-blue); }
.margadarshak-page .md-story-card:nth-child(4n+2):hover { box-shadow: 10px 10px 0 var(--md-blue); }
.margadarshak-page .md-story-card:nth-child(4n+3) { box-shadow: 7px 7px 0 var(--md-red); }
.margadarshak-page .md-story-card:nth-child(4n+3):hover { box-shadow: 10px 10px 0 var(--md-red); }
.margadarshak-page .md-story-card:nth-child(4n+4) { box-shadow: 7px 7px 0 var(--md-ink); }
.margadarshak-page .md-story-card:nth-child(4n+4):hover { box-shadow: 10px 10px 0 var(--md-ink); }

/* Card meta — platform badge + feature tag */
.margadarshak-page .md-story-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.margadarshak-page .md-story-platform {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 5px 10px;
    border: 2px solid var(--md-ink);
}

.margadarshak-page .md-platform-reddit { background: #FF4500; color: #fff; }
.margadarshak-page .md-platform-quora { background: #B92B27; color: #fff; }
.margadarshak-page .md-platform-news { background: var(--md-blue); color: #fff; }
.margadarshak-page .md-platform-court { background: #1a1a1a; color: #fff; }
.margadarshak-page .md-platform-youtube { background: #FF0000; color: #fff; }
.margadarshak-page .md-platform-forum { background: #6B4C9A; color: #fff; }
.margadarshak-page .md-platform-linkedin { background: #0077B5; color: #fff; }
.margadarshak-page .md-platform-twitter { background: #1DA1F2; color: #fff; }

.margadarshak-page .md-story-feature {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 10px;
    background: var(--md-paper);
    color: var(--md-ink);
    border: 2px solid var(--md-ink);
}

/* Quote — the emotional hook */
.margadarshak-page .md-story-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.45;
    color: var(--md-ink);
    padding: 18px 22px;
    margin: 0 0 20px;
    border-left: 4px solid var(--md-red);
    background: rgba(230, 59, 46, 0.04);
    position: relative;
}

.margadarshak-page .md-story-quote::before {
    content: '"';
    position: absolute;
    top: -4px;
    left: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--md-red);
    opacity: 0.25;
    line-height: 1;
}

/* Situation summary */
.margadarshak-page .md-story-situation {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--md-ink-soft);
    margin: 0 0 16px;
    flex-grow: 1;
}

/* Consequence block */
.margadarshak-page .md-story-consequence {
    border-top: 2px solid var(--md-ink);
    padding-top: 14px;
    margin-bottom: 16px;
}

.margadarshak-page .md-story-impact-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--md-red);
    margin-bottom: 6px;
}

.margadarshak-page .md-story-consequence p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: var(--md-ink-mid);
    margin: 0;
}

/* Prevention + Source footer */
.margadarshak-page .md-story-footer {
    border-top: 2px dashed var(--md-ink);
    padding-top: 14px;
    margin-top: auto;
}

.margadarshak-page .md-story-prevention {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: var(--md-ink-soft);
    margin-bottom: 12px;
}

.margadarshak-page .md-story-prevention strong {
    color: var(--md-red);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.margadarshak-page .md-story-source {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--md-ink);
    text-decoration: none;
    padding: 8px 14px;
    background: var(--md-paper);
    border: 2px solid var(--md-ink);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.margadarshak-page .md-story-source:hover {
    background: var(--md-red);
    color: var(--md-paper);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--md-ink);
}

/* Ethics footer note */
.margadarshak-page .md-stories-ethics {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.65;
    color: var(--md-ink-mid);
    text-align: center;
    max-width: 720px;
    margin: 56px auto 0;
    padding: 24px 28px;
    border: 2px dashed var(--md-ink);
    background: var(--md-card);
}

/* Feature filter tabs (above the stories grid) */
.margadarshak-page .md-stories-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
    justify-content: center;
}

.margadarshak-page .md-stories-filter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 14px;
    background: var(--md-card);
    color: var(--md-ink);
    border: 2px solid var(--md-ink);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.margadarshak-page .md-stories-filter:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 var(--md-ink);
}

.margadarshak-page .md-stories-filter.active {
    background: var(--md-ink);
    color: var(--md-yellow);
    box-shadow: 3px 3px 0 var(--md-yellow);
}

/* Hide filtered-out cards with animation */
.margadarshak-page .md-story-card.md-story-hidden {
    display: none;
}

/* === PLATFORM BADGE VARIANTS === */
.md-platform-reddit    { border-color: #FF4500; color: #FF4500; background: #fff; }
.md-platform-quora     { border-color: #B92B27; color: #B92B27; background: #fff; }
.md-platform-news      { border-color: var(--md-blue, #1d4ed8); color: var(--md-blue, #1d4ed8); background: #fff; }
.md-platform-court     { border-color: #1A1A2E; color: #fff; background: #1A1A2E; }
.md-platform-youtube   { border-color: #FF0000; color: #FF0000; background: #fff; }
.md-platform-vernacular{ border-color: var(--md-yellow, #d97706); color: #1A1A2E; background: var(--md-yellow, #fbbf24); }
.md-platform-forum     { border-color: #6B46C1; color: #6B46C1; background: #fff; }
.md-platform-linkedin  { border-color: #0A66C2; color: #fff; background: #0A66C2; }
.md-platform-twitter   { border-color: #1DA1F2; color: #fff; background: #1DA1F2; }

/* === CREDIBILITY TIER BADGES === */
.md-story-credibility {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 7px;
    border: 2px solid #1A1A2E;
    line-height: 1;
}
.md-cred-tier1 { background: #1A1A2E; color: #fff; }
.md-cred-tier2 { background: #6b7280; color: #fff; border-color: #6b7280; }
.md-cred-tier3 { background: #fff; color: #6b7280; border-color: #d1d5db; }
