:root {
    --sd-maroon: #8f1021;
    --sd-maroon-dark: #6f0d1a;
    --sd-navy: #102638;
    --sd-cream: #f8f2e9;
    --sd-gold: #c79a4b;
    --sd-white: #ffffff;
    --sd-text: #1c2730;
    --sd-muted: #64717c;
    --sd-border: #e7e1d9;
    --sd-bg: #ffffff;
    --sd-soft: #f7f8f9;
    --sd-radius: 18px;
    --sd-shadow: 0 18px 50px rgba(16, 38, 56, 0.08);
    --sd-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Noto Sans Devanagari",
        "Mangal",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--sd-text);
    background: var(--sd-bg);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 40px), var(--sd-container));
    margin-inline: auto;
}

.topbar {
    background: var(--sd-maroon);
    color: var(--sd-white);
    font-size: 14px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-message {
    margin: 0;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.language-btn {
    border: 0;
    background: transparent;
    color: var(--sd-white);
    font: inherit;
    cursor: pointer;
}

.navigation-wrap {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--sd-border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
}

.navigation-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--sd-white);
    background: var(--sd-maroon);
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-copy strong {
    font-size: 19px;
}

.brand-copy small {
    color: var(--sd-maroon);
    margin-top: 3px;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
    font-size: 15px;
}

.primary-navigation a {
    position: relative;
    padding-block: 28px;
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 18px;
    height: 2px;
    background: var(--sd-maroon);
    transition: 0.2s ease;
}

.primary-navigation a:hover::after,
.primary-navigation a.active::after {
    right: 0;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--sd-navy);
    display: block;
    margin: 5px 0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 48%, rgba(248,242,233,.92) 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 650px;
    right: -130px;
    top: -60px;
    background: linear-gradient(145deg, var(--sd-maroon), var(--sd-maroon-dark));
    transform: skewX(-10deg);
    z-index: 0;
}

.hero-grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 52px;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-block: 70px;
}

.eyebrow,
.section-kicker {
    color: var(--sd-maroon);
    font-weight: 800;
    letter-spacing: .02em;
}

.hero-content h1 {
    margin: 8px 0 22px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.05;
    color: var(--sd-navy);
}

.hero-content h1 span {
    display: block;
    color: var(--sd-maroon);
}

.hero-lead {
    max-width: 680px;
    font-size: 20px;
    color: #394855;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.hero-points > div {
    border-left: 3px solid var(--sd-gold);
    padding-left: 14px;
}

.hero-points strong,
.hero-points span {
    display: block;
}

.hero-points span {
    color: var(--sd-muted);
    font-size: 14px;
    margin-top: 4px;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 800;
    transition: .2s ease;
}

.btn-primary {
    background: var(--sd-maroon);
    color: var(--sd-white);
}

.btn-primary:hover {
    background: var(--sd-maroon-dark);
}

.btn-outline {
    border: 1px solid var(--sd-maroon);
    color: var(--sd-maroon);
    background: var(--sd-white);
}

.hero-visual {
    align-self: end;
    position: relative;
    z-index: 2;
}


.value-strip {
    background: var(--sd-navy);
    color: var(--sd-white);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.value-grid article {
    padding: 28px 24px;
    border-right: 1px solid rgba(255,255,255,.12);
}

.value-grid article:last-child {
    border-right: 0;
}

.value-grid strong,
.value-grid span {
    display: block;
}

.value-grid strong {
    font-size: 19px;
}

.value-grid span {
    color: rgba(255,255,255,.72);
    margin-top: 4px;
    font-size: 14px;
}

.section {
    padding: 88px 0;
}

.section-light {
    background: var(--sd-white);
}

.section-muted {
    background: var(--sd-soft);
}

.section-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.section h2 {
    margin: 0 0 18px;
    color: var(--sd-navy);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.centered {
    text-align: center;
}

.quote-card {
    background: var(--sd-cream);
    padding: 38px;
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow);
    border: 1px solid #efe3d1;
}

.quote-card blockquote {
    margin: 0;
    font-size: 26px;
    line-height: 1.65;
    color: var(--sd-navy);
}

.quote-card cite {
    display: block;
    margin-top: 20px;
    color: var(--sd-maroon);
    font-style: normal;
    font-weight: 800;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.focus-grid article {
    padding: 28px;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    background: var(--sd-white);
    box-shadow: 0 8px 28px rgba(16,38,56,.05);
}

.focus-grid h3 {
    margin-top: 0;
    color: var(--sd-maroon);
}

.focus-grid p {
    margin-bottom: 0;
    color: var(--sd-muted);
}

.empty-state {
    border: 1px dashed #c9cfd4;
    border-radius: var(--sd-radius);
    padding: 38px;
    background: var(--sd-white);
}

.empty-state strong,
.empty-state span {
    display: block;
}

.empty-state strong {
    color: var(--sd-navy);
    font-size: 21px;
}

.empty-state span {
    color: var(--sd-muted);
    margin-top: 6px;
}

.contact-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 42px;
    border-radius: var(--sd-radius);
    background: var(--sd-cream);
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer {
    background: var(--sd-navy);
    color: var(--sd-white);
}

.footer-grid {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr 1.2fr .8fr;
    gap: 42px;
}

.footer-grid h2,
.footer-grid h3 {
    margin-top: 0;
}

.footer-grid p,
.footer-grid li {
    color: rgba(255,255,255,.74);
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid li + li {
    margin-top: 9px;
}

.footer-whatsapp {
    display: inline-flex;
    margin-top: 12px;
    color: var(--sd-white);
    border-bottom: 1px solid rgba(255,255,255,.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom-inner div {
    display: flex;
    gap: 18px;
}

@media (max-width: 1024px) {
    .primary-navigation {
        gap: 14px;
        font-size: 14px;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

@media (max-width: 820px) {
    .topbar-message {
        display: none;
    }

    .topbar-inner {
        justify-content: flex-end;
    }

    .menu-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        left: 20px;
        right: 20px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: var(--sd-white);
        border: 1px solid var(--sd-border);
        border-radius: 14px;
        box-shadow: var(--sd-shadow);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a {
        padding: 10px 4px;
    }

    .primary-navigation a::after {
        display: none;
    }

    .hero-section::after {
        display: none;
    }

    .hero-grid,
    .section-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-visual {
        align-self: auto;
    }

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

    .hero-points {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--sd-container));
    }

    .navigation-inner {
        min-height: 72px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .value-grid,
    .focus-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .value-grid article {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .section {
        padding: 64px 0;
    }

    .quote-card {
        padding: 28px;
    }

    .quote-card blockquote {
        font-size: 22px;
    }

    .footer-bottom-inner {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================
   Phase 3 — Premium Portrait / Hero Layer
   ========================================================== */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: 0;
}

.portrait-frame {
    position: relative;
    width: min(100%, 430px);
    margin-inline: auto;
    isolation: isolate;
}

.portrait-frame::before {
    content: "";
    position: absolute;
    inset: 10% -10% 0 12%;
    background:
        linear-gradient(
            145deg,
            rgba(143, 16, 33, 0.96),
            rgba(111, 13, 26, 0.98)
        );
    border-radius: 46% 46% 24px 24px;
    z-index: -2;
    transform: rotate(3deg);
}

.portrait-frame::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -22px;
    top: 14%;
    border: 1px solid rgba(199, 154, 75, 0.48);
    border-radius: 50%;
    z-index: -1;
}

.hero-portrait {
    width: 100%;
    height: auto;
    max-height: 570px;
    object-fit: cover;
    object-position: center top;
    border-radius: 30px 30px 8px 8px;
    box-shadow: 0 30px 70px rgba(16, 38, 56, 0.18);
}

.portrait-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(16, 38, 56, 0.9);
    color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(16, 38, 56, 0.18);
}

.portrait-caption strong,
.portrait-caption span {
    display: block;
}

.portrait-caption strong {
    font-size: 18px;
    line-height: 1.25;
}

.portrait-caption span {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
}

.portrait-accent {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.portrait-accent-one {
    width: 72px;
    height: 72px;
    left: -20px;
    top: 24%;
    background: var(--sd-gold);
    opacity: 0.18;
}

.portrait-accent-two {
    width: 32px;
    height: 32px;
    right: 4%;
    top: 5%;
    background: var(--sd-gold);
    opacity: 0.72;
}

@media (max-width: 820px) {
    .hero-visual {
        padding: 0 0 30px;
    }

    .portrait-frame {
        width: min(100%, 390px);
    }

    .hero-portrait {
        max-height: none;
    }

    .portrait-frame::before {
        inset: 12% -4% 0 8%;
    }
}

@media (max-width: 560px) {
    .portrait-frame {
        width: min(94%, 360px);
    }

    .portrait-caption {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }
}

/* ==========================================================
   Socialist Deepak — Premium Visual Polish V1
   Authoritative visual layer
   ========================================================== */

:root {
    --sd-container: 1220px;
    --sd-section-space: 100px;
    --sd-heading-tight: 1.14;
    --sd-body-size: 16.5px;
    --sd-body-leading: 1.78;
}

/* ---------- Global Typography ---------- */

body {
    font-size: var(--sd-body-size);
    line-height: var(--sd-body-leading);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p {
    margin-top: 0;
}

.section p,
.hero-lead,
.footer-grid p,
.footer-grid li {
    letter-spacing: 0.005em;
}

.section p {
    color: #53616d;
    font-size: 16.5px;
    line-height: 1.82;
}

/* ---------- Container ---------- */

.container {
    width: min(calc(100% - 48px), var(--sd-container));
}

/* ---------- Topbar ---------- */

.topbar {
    font-size: 13px;
}

.topbar-inner {
    min-height: 40px;
}

.topbar-message {
    opacity: 0.94;
}

.language-switcher {
    font-size: 13px;
    font-weight: 700;
}

.language-btn {
    font-weight: 800;
}

/* ---------- Premium Navigation ---------- */

.navigation-wrap {
    border-bottom-color: rgba(16, 38, 56, 0.08);
    box-shadow: 0 5px 22px rgba(16, 38, 56, 0.035);
}

.navigation-inner {
    min-height: 92px;
}

.brand {
    gap: 14px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    font-size: 17px;
    box-shadow: 0 8px 20px rgba(143, 16, 33, 0.16);
}

.brand-copy strong {
    font-size: 21px;
    line-height: 1.15;
    color: var(--sd-navy);
}

.brand-copy small {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 700;
}

.primary-navigation {
    gap: 25px;
    font-size: 15px;
}

.primary-navigation a {
    padding-block: 33px;
    color: #263a49;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.primary-navigation a:hover,
.primary-navigation a.active {
    color: var(--sd-maroon);
}

/* ---------- Hero ---------- */

.hero-section {
    min-height: 650px;
    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(199, 154, 75, 0.08),
            transparent 28%
        ),
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 48%,
            #fbf7f1 100%
        );
}

.hero-section::after {
    width: 460px;
    height: 720px;
    right: -145px;
    top: -70px;
    opacity: 0.98;
}

.hero-grid {
    min-height: 650px;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 68px;
}

.hero-content {
    max-width: 720px;
    padding-block: 82px;
}

.eyebrow {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.hero-content h1 {
    max-width: 670px;
    margin: 0 0 24px;
    font-size: clamp(54px, 5.9vw, 78px);
    line-height: 0.99;
    letter-spacing: -0.025em;
}

.hero-content h1 span {
    margin-bottom: 4px;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 0;
    color: #4b5965;
    font-size: 18.5px;
    line-height: 1.72;
}

.hero-points {
    max-width: 680px;
    gap: 24px;
    margin-top: 38px;
}

.hero-points > div {
    padding-left: 16px;
}

.hero-points strong {
    font-size: 15px;
    color: var(--sd-navy);
}

.hero-points span {
    margin-top: 5px;
    font-size: 13.5px;
    line-height: 1.55;
}

.hero-actions {
    gap: 13px;
    margin-top: 38px;
}

.btn {
    min-height: 50px;
    padding-inline: 24px;
    border-radius: 9px;
    font-size: 15px;
}

.btn-primary {
    box-shadow: 0 10px 24px rgba(143, 16, 33, 0.16);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-outline:hover {
    background: #fff8f8;
}

/* ---------- Portrait ---------- */

.hero-visual {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    padding-top: 58px;
}

.portrait-frame {
    width: min(100%, 455px);
}

.hero-portrait {
    max-height: 600px;
    border-radius: 32px 32px 10px 10px;
    box-shadow:
        0 34px 80px rgba(16, 38, 56, 0.20),
        0 2px 8px rgba(16, 38, 56, 0.06);
}

.portrait-frame::before {
    inset: 9% -9% -1% 11%;
}

.portrait-caption {
    left: 22px;
    right: 22px;
    bottom: 20px;
    padding: 15px 19px;
}

.portrait-caption strong {
    font-size: 19px;
}

.portrait-caption span {
    margin-top: 3px;
    font-size: 13.5px;
}

/* ---------- Value Strip ---------- */

.value-grid article {
    min-height: 98px;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-grid strong {
    font-size: 18px;
}

.value-grid span {
    margin-top: 5px;
    font-size: 13.5px;
    line-height: 1.55;
}

/* ---------- Section Rhythm ---------- */

.section {
    padding: var(--sd-section-space) 0;
}

.section-grid {
    grid-template-columns: 1.14fr 0.86fr;
    gap: 78px;
}

.section-kicker {
    margin-bottom: 10px;
    font-size: 14px;
}

.section h2 {
    margin-bottom: 22px;
    font-size: clamp(34px, 3.7vw, 47px);
    line-height: var(--sd-heading-tight);
    letter-spacing: -0.02em;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.centered {
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 46px;
}

/* ---------- About ---------- */

#parichay .section-grid {
    align-items: stretch;
}

#parichay .section-grid > div:first-child {
    align-self: center;
}

.quote-card {
    min-height: 100%;
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
}

.quote-card blockquote {
    font-size: clamp(24px, 2.15vw, 30px);
    line-height: 1.62;
    letter-spacing: -0.01em;
}

.quote-card cite {
    margin-top: 24px;
    font-size: 15px;
}

/* ---------- Focus Cards ---------- */

.focus-grid {
    gap: 22px;
}

.focus-grid article {
    min-height: 162px;
    padding: 30px 28px;
    position: relative;
    overflow: hidden;
    border-color: rgba(16, 38, 56, 0.10);
    box-shadow: 0 10px 34px rgba(16, 38, 56, 0.055);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.focus-grid article::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 52px;
    background: var(--sd-maroon);
    border-radius: 0 0 4px 0;
}

.focus-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 16, 33, 0.18);
    box-shadow: 0 18px 46px rgba(16, 38, 56, 0.085);
}

.focus-grid h3 {
    margin-bottom: 11px;
    font-size: 18px;
    line-height: 1.4;
}

.focus-grid p {
    font-size: 14.5px;
    line-height: 1.72;
}

/* ---------- Placeholder Content Panels ---------- */

#gatividhiyan,
#media {
    background: #f6f8f9;
}

.empty-state {
    min-height: 112px;
    padding: 32px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-style: solid;
    border-color: rgba(16, 38, 56, 0.08);
    box-shadow: 0 8px 24px rgba(16, 38, 56, 0.025);
}

.empty-state strong {
    font-size: 19px;
}

.empty-state span {
    margin-top: 7px;
    font-size: 14.5px;
    line-height: 1.65;
}

/* ---------- Jan Samvad CTA ---------- */

#jansamvad {
    padding-top: 92px;
    padding-bottom: 92px;
}

.contact-panel {
    padding: 48px 50px;
    border: 1px solid rgba(199, 154, 75, 0.18);
    border-radius: 22px;
    box-shadow: 0 16px 46px rgba(16, 38, 56, 0.055);
}

.contact-panel > div:first-child {
    max-width: 710px;
}

.contact-panel h2 {
    margin-bottom: 14px;
}

.contact-panel p {
    margin-bottom: 0;
}

.contact-actions {
    flex-shrink: 0;
}

/* ---------- Footer ---------- */

.footer-grid {
    padding: 72px 0 62px;
    gap: 54px;
}

.footer-grid h2 {
    margin-bottom: 16px;
    font-size: 23px;
}

.footer-grid h3 {
    margin-bottom: 17px;
    font-size: 16px;
}

.footer-grid p,
.footer-grid li {
    font-size: 14px;
    line-height: 1.75;
}

.footer-whatsapp {
    margin-top: 14px;
    padding-bottom: 3px;
    font-weight: 700;
}

.footer-bottom-inner {
    min-height: 76px;
    font-size: 13px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
    .primary-navigation {
        gap: 16px;
        font-size: 14px;
    }

    .hero-grid {
        gap: 44px;
    }

    .hero-content h1 {
        font-size: clamp(50px, 6vw, 67px);
    }
}

@media (max-width: 900px) {
    :root {
        --sd-section-space: 84px;
    }

    .navigation-inner {
        min-height: 82px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-content {
        max-width: none;
        padding-top: 66px;
        padding-bottom: 30px;
    }

    .hero-content h1 {
        max-width: 720px;
    }

    .hero-visual {
        align-self: auto;
        padding-top: 0;
        padding-bottom: 42px;
    }

    .portrait-frame {
        width: min(100%, 430px);
    }

    .section-grid {
        gap: 42px;
    }

    .contact-panel {
        padding: 40px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 560px) {
    :root {
        --sd-section-space: 68px;
        --sd-body-size: 16px;
    }

    .container {
        width: min(calc(100% - 30px), var(--sd-container));
    }

    .topbar-inner {
        min-height: 36px;
    }

    .navigation-inner {
        min-height: 74px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 14px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .brand-copy small {
        margin-top: 3px;
        font-size: 11.5px;
    }

    .hero-content {
        padding-top: 48px;
        padding-bottom: 22px;
    }

    .eyebrow {
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 13vw, 56px);
        line-height: 1.01;
    }

    .hero-lead {
        font-size: 17px;
        line-height: 1.68;
    }

    .hero-points {
        gap: 17px;
        margin-top: 29px;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .btn {
        min-height: 48px;
        padding-inline: 20px;
    }

    .portrait-frame {
        width: min(96%, 365px);
    }

    .hero-portrait {
        border-radius: 25px 25px 9px 9px;
    }

    .value-grid article {
        min-height: 84px;
        padding: 21px 20px;
    }

    .section h2 {
        font-size: clamp(31px, 9vw, 40px);
        line-height: 1.18;
    }

    .section p {
        font-size: 16px;
    }

    .quote-card {
        min-height: auto;
        padding: 30px 27px;
    }

    .quote-card blockquote {
        font-size: 22px;
    }

    .focus-grid article {
        min-height: auto;
        padding: 26px 24px;
    }

    .empty-state {
        padding: 28px 24px;
    }

    #jansamvad {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .contact-panel {
        padding: 30px 25px;
        border-radius: 18px;
    }

    .contact-actions {
        width: 100%;
    }

    .contact-actions .btn {
        flex: 1 1 140px;
    }

    .footer-grid {
        padding: 56px 0 48px;
        gap: 34px;
    }

    .footer-bottom-inner {
        gap: 14px;
    }
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================
   Socialist Deepak — Typography System V1.1
   Global Devanagari hierarchy
   ========================================================== */

:root {
    --sd-font-body:
        "Noto Sans Devanagari",
        "Mangal",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --sd-font-display:
        "Anek Devanagari",
        "Noto Sans Devanagari",
        "Mangal",
        sans-serif;
}

/* ---------- Global Font Foundation ---------- */

html,
body {
    font-family: var(--sd-font-body);
}

body,
button,
input,
textarea,
select {
    font-family: var(--sd-font-body);
}

p,
span,
a,
li,
small,
label,
input,
textarea,
button {
    font-family: var(--sd-font-body);
}

/* ---------- Display Typography ---------- */

h1,
h2,
h3,
h4,
h5,
h6,
.brand-copy strong,
.quote-card blockquote {
    font-family: var(--sd-font-display);
}

.section h2,
.section-heading h2 {
    font-weight: 700;
    letter-spacing: -0.018em;
}

.focus-grid h3 {
    font-family: var(--sd-font-display);
    font-weight: 700;
}

.eyebrow,
.section-kicker {
    font-family: var(--sd-font-body);
    font-weight: 700;
    letter-spacing: 0;
}

/* ---------- Navigation ---------- */

.primary-navigation {
    font-family: var(--sd-font-body);
    font-weight: 600;
}

.brand-copy strong {
    font-weight: 700;
}

.brand-copy small {
    font-weight: 600;
}

/* ---------- Hero Identity Hierarchy ---------- */

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 720px;
    margin: 0 0 14px;
    line-height: 1;
}

.hero-title .hero-name {
    display: block;
    font-family: var(--sd-font-display);
    color: var(--sd-maroon);
    font-size: clamp(64px, 6.2vw, 86px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
}

.hero-title .hero-role {
    display: block;
    margin-top: 8px;
    font-family: var(--sd-font-display);
    color: var(--sd-navy);
    font-size: clamp(36px, 3.45vw, 48px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.hero-identity-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    color: var(--sd-maroon);
    font-family: var(--sd-font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.hero-identity-line span {
    color: var(--sd-gold);
    font-weight: 800;
}

.hero-lead {
    font-family: var(--sd-font-body);
    font-weight: 400;
}

/* Override previous generic hero h1 rules */
.hero-content h1.hero-title {
    max-width: 720px;
    margin: 0 0 14px;
    font-size: initial;
    line-height: 1;
    letter-spacing: normal;
    color: inherit;
}

.hero-content h1.hero-title span {
    margin-bottom: 0;
}

/* ---------- Value Strip ---------- */

.value-grid strong {
    font-family: var(--sd-font-display);
    font-weight: 650;
}

.value-grid span {
    font-family: var(--sd-font-body);
}

/* ---------- Quote ---------- */

.quote-card blockquote {
    font-weight: 500;
    letter-spacing: -0.012em;
}

.quote-card cite {
    font-family: var(--sd-font-body);
    font-weight: 700;
}

/* ---------- Cards ---------- */

.focus-grid article p,
.empty-state span,
.contact-panel p {
    font-family: var(--sd-font-body);
}

/* ---------- Buttons ---------- */

.btn {
    font-family: var(--sd-font-body);
    font-weight: 700;
}

/* ---------- Footer ---------- */

.footer-grid h2,
.footer-grid h3 {
    font-family: var(--sd-font-display);
    font-weight: 700;
}

.footer-grid p,
.footer-grid li,
.footer-bottom-inner {
    font-family: var(--sd-font-body);
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
    .hero-title .hero-name {
        font-size: clamp(58px, 6vw, 74px);
    }

    .hero-title .hero-role {
        font-size: clamp(33px, 3.6vw, 43px);
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 560px) {
    .hero-title {
        margin-bottom: 12px;
    }

    .hero-title .hero-name {
        font-size: clamp(48px, 15vw, 62px);
        line-height: 0.98;
    }

    .hero-title .hero-role {
        margin-top: 7px;
        font-size: clamp(29px, 8.7vw, 37px);
        line-height: 1.08;
    }

    .hero-identity-line {
        gap: 6px;
        margin-bottom: 18px;
        font-size: 13px;
    }
}

/* ==========================================================
   Socialist Deepak — Typography V1.2 + Hero Micro-Polish
   ========================================================== */

/* ---------- Global Hindi readability ---------- */

body {
    font-weight: 400;
    line-height: 1.74;
}

.section p,
.hero-lead,
.footer-grid p,
.footer-grid li,
.empty-state span,
.focus-grid p {
    font-weight: 400;
}

/* ---------- Section heading refinement ---------- */

.section h2,
.section-heading h2 {
    font-family: var(--sd-font-display);
    font-weight: 650;
    letter-spacing: -0.014em;
    line-height: 1.16;
}

.section-kicker,
.eyebrow {
    font-weight: 600;
}

/* ---------- Hero identity refinement ---------- */

.hero-title {
    margin-bottom: 12px;
}

.hero-title .hero-name {
    font-size: clamp(62px, 5.8vw, 82px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.hero-title .hero-role {
    margin-top: 10px;
    font-size: clamp(32px, 3.05vw, 42px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.hero-identity-line {
    margin-top: 2px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
}

.hero-lead {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.76;
}

/* ---------- Hero spatial balance ---------- */

.hero-grid {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 76px;
}

.hero-content {
    padding-top: 78px;
    padding-bottom: 78px;
}

.hero-visual {
    padding-top: 52px;
}

.portrait-frame {
    width: min(100%, 448px);
}

.hero-portrait {
    max-height: 590px;
}

/* ---------- Hero micro labels ---------- */

.hero-points strong {
    font-family: var(--sd-font-body);
    font-weight: 650;
}

.hero-points span {
    font-weight: 400;
}

/* ---------- Buttons ---------- */

.btn {
    font-weight: 650;
}

/* ---------- Header ---------- */

.primary-navigation {
    font-weight: 550;
}

.brand-copy strong {
    font-weight: 700;
}

.brand-copy small {
    font-weight: 550;
}

/* ---------- Focus cards ---------- */

.focus-grid h3 {
    font-weight: 650;
}

.focus-grid p {
    font-size: 14.5px;
}

/* ---------- Quote ---------- */

.quote-card blockquote {
    font-weight: 500;
    line-height: 1.58;
}

/* ---------- Footer ---------- */

.footer-grid h2,
.footer-grid h3 {
    font-weight: 650;
}

.footer-grid p,
.footer-grid li {
    font-weight: 400;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .hero-grid {
        gap: 52px;
    }

    .hero-title .hero-name {
        font-size: clamp(56px, 5.8vw, 72px);
    }

    .hero-title .hero-role {
        font-size: clamp(31px, 3.2vw, 39px);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        padding-top: 62px;
        padding-bottom: 28px;
    }

    .hero-visual {
        padding-top: 0;
    }
}

@media (max-width: 560px) {
    .hero-title .hero-name {
        font-size: clamp(46px, 14vw, 58px);
        line-height: 0.99;
    }

    .hero-title .hero-role {
        margin-top: 7px;
        font-size: clamp(27px, 8vw, 34px);
        line-height: 1.1;
    }

    .hero-identity-line {
        margin-bottom: 16px;
        font-size: 12.5px;
    }

    .hero-lead {
        font-size: 16.5px;
        line-height: 1.7;
    }
}
