:root {
    /* fonts */
    --poppins: "Poppins", sans-serif;
    --montserrat: "Montserrat", sans-serif;
    --playfair: "EB Garamond", serif;
    --montserrat_alternates: "Montserrat Alternates", sans-serif;

    /* colors */
    --blue: #38a6dd;
    --navy-blue: #38a6dd;
    --dark-blue: #00285e;
    --white: #ffffff;
    --grey: #666666;
    --text-dark: #2c3342;
    --light_grey: #f8f9fa;
    --light_grey2: #d2d2d2;

    /* Enhanced Layout Tokens */
    --shadow-sm: 0 4px 6px -1px rgba(0, 40, 94, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 40, 94, 0.08);
    --shadow-lg: 0 20px 30px -10px rgba(0, 40, 94, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;

    /* nmet */
    --nmet-blue: #38a6dd;
    --nmet-dark: #00285e;
    --nmet-glow: rgba(56, 166, 221, 0.25);
    --nmet-soft: rgba(56, 166, 221, 0.08);
    --nmet-card-radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--poppins);
    color: var(--dark-blue);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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



.academic-links-panel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px;
    margin-bottom: 46px;
}

/* ==========================================
   MAIN WRAPPER & SPACE ANCHORS
   ========================================== */
.welcome-premium-section {
    /* padding: 1rem 2rem 8rem 2rem; */
    /* background: var(--light_grey); */
    position: relative;
    overflow: hidden;
    font-family: 'Inter', 'Poppins', sans-serif;
}

.welcome-container {
    /* max-width: 1380px;
    margin: 0 auto; */
    position: relative;
    z-index: 5;
}

.ambient-glow-left,
.ambient-glow-right {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 1;
}

.ambient-glow-left {
    left: -250px;
    top: 10%;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.15) 0%, transparent 80%);
}

.ambient-glow-right {
    right: -250px;
    bottom: 15%;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.08) 0%, transparent 80%);
}


/* ==========================================
   COMPONENT 1: PHILOSOPHY CARD
   ========================================== */
.philosophy-header-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
}

.philosophy-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 0;
    letter-spacing: -0.5px;
    text-align: center;
}

.philosophy-italic-accent {
    font-family: "Playfair Display", serif;
    font-style: italic;
    color: var(--blue);
    font-weight: 600;
    margin-left: 4px;
}

.philosophy-notebook-wrapper {
    position: relative;
    max-width: 920px;
    margin: 0 auto 4.5rem auto;
}

.philosophy-quote-card {
    position: relative;
    background: var(--white);
    border-radius: 28px;
    padding: 3.5rem 3.5rem 3.5rem 4.5rem;
    box-shadow: 0 25px 55px rgba(160, 150, 135, 0.12);
    overflow: hidden;
}

.philosophy-card-accent-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--dark-blue);
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
}

.philosophy-binding-rings {
    position: absolute;
    left: -46px;
    top: 7px;
    bottom: 0px;
    width: 100px;
    z-index: 3;
    pointer-events: none;

}

.philosophy-binding-rings img,
.philosophy-binding-rings svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.philosophy-quote-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    color: var(--grey);
    line-height: 1.85;
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 1;
}

.philosophy-quote-icon {
    position: absolute;
    bottom: 1rem;
    right: 2.2rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--blue);
    opacity: 0.35;
    font-family: Arial, sans-serif;
    user-select: none;
}

/* ==========================================
   COMPONENT 2: GALLERY & NARRATIVE
   ========================================== */


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

.why-choose-section.premium-editorial-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 5rem;
    align-items: flex-start;
    padding: 6rem 4rem;
    /* background-color: var(--light_grey); */
    font-family: var(--poppins);
}

/* --- Left Column Layout --- */
.intro-side-container {
    position: sticky;
    top: 6rem;
}

.editorial-pre-title {
    font-family: var(--montserrat);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--blue);
    border: 1px solid rgba(56, 166, 221, 0.3);
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    background-color: var(--white);
}

.main-branding-title {
    font-family: var(--playfair);
    font-size: 3.4rem;
    line-height: 1.15;
    color: var(--dark-blue);
    margin: 0 0 1.5rem 0;
    font-weight: 500;
}

.accent-text {
    color: var(--blue);
    font-weight: 400;
    font-style: italic;
}

.main-branding-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--grey);
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.intro-visual-card {
    position: relative;
    margin-top: 2.5rem;
    max-width: 460px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #eef6fb 100%);
    box-shadow: 0 24px 55px rgba(0, 40, 94, 0.12);
    border: 1px solid rgba(56, 166, 221, 0.12);
}

.intro-visual-card::before {
    content: "";
    position: absolute;
    inset: auto auto -50px -50px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.2) 0%, rgba(56, 166, 221, 0) 72%);
    z-index: 1;
}

.intro-visual-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.intro-visual-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 40, 94, 0.05) 0%, rgba(0, 40, 94, 0.58) 100%);
}

.intro-visual-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
}

.intro-visual-overlay-card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 24px rgba(0, 40, 94, 0.12);
}

.intro-visual-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-family: var(--montserrat);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
}

.intro-visual-copy {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--dark-blue);
}

.cta-transaction-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--dark-blue);
    color: var(--white);
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-transaction-btn:hover {
    background-color: var(--blue);
}

.btn-arrow {
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.15);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* --- Right Column Layout --- */
.process-steps-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 5rem;
    /* Adjusted space to cleanly fit number + inline track */
}

/* Vertical Timeline Track Line */
.vertical-connector-line {
    position: absolute;
    left: 17px;
    /* Positioned to sit precisely dead-center under the step-dot */
    top: 2.5rem;
    bottom: 2.5rem;
    width: 2px;
    background-color: var(--light_grey2);
    z-index: 1;
}

.step-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Timeline Indicators Layout & Alignment Fix */
.step-number-wrapper {
    position: absolute;
    left: -5rem;
    display: flex;
    align-items: center;
    z-index: 2;
    width: 5rem;
    justify-content: flex-start;
}

/* The dot now aligns directly with the connector track */
.step-dot {
    width: 8px;
    height: 8px;
    background-color: var(--light_grey2);
    border-radius: 50%;
    position: absolute;
    left: 14px;
    /* Perfectly aligns centered directly inside the 2px vertical line width */
    transition: all 0.4s ease;
}

.step-number {
    font-family: var(--montserrat);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    background-color: var(--light_grey);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--light_grey2);
    margin-left: 3rem;
    /* Spaced to sit comfortably on the right side of the vertical track line */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Card Layout Structure */
.step-card {
    background-color: var(--white);
    border: 1px solid var(--light_grey2);
    border-radius: 16px;
    padding: 1.75rem 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.2rem;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 40, 94, 0.05);
    border-color: var(--blue);
}

.card-left-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(56, 166, 221, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background: rgba(56, 166, 221, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-svg {
    width: 24px;
    height: 24px;
}

.step-title {
    font-family: var(--montserrat);
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.step-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--grey);
    margin: 0;
    max-width: 520px;
}

/* Hide dynamic badges when card is resting */
.step-card:not(.active-card) .pill-badge-group {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* --- Dynamic Active State Animations --- */
.step-row.row-active .step-number {
    background-color: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.step-row.row-active .step-dot {
    background-color: var(--blue);
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(56, 166, 221, 0.2);
}

.step-card.active-card {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    color: var(--white);
    padding: 2.5rem 3rem;
    box-shadow: 0 20px 40px rgba(0, 40, 94, 0.15);
    cursor: default;
}

.active-card .card-left-icon {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 64px;
    height: 64px;
}

.active-card .step-title {
    color: var(--white);
    font-size: 1.5rem;
}

.active-card .step-desc {
    color: rgba(255, 255, 255, 0.75);
}

/* Active Inline Pill Badges Framework */
.pill-badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
    max-height: 100px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.pill-badge {
    font-family: var(--montserrat);
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Background Vectors Simulation Graphics */
.card-bg-graph {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    opacity: 0.12;
    background-image: radial-gradient(circle at 80% 20%, transparent 120px, var(--blue) 121px, transparent 123px);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.active-card .card-bg-graph {
    opacity: 0.25;
    background-image: radial-gradient(circle at 80% 20%, transparent 120px, var(--white) 121px, transparent 123px);
}

/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
    .why-choose-section.premium-editorial-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 4rem 2rem;
    }

    .intro-side-container {
        position: relative;
        top: 0;
    }

    .intro-visual-card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .process-steps-container {
        padding-left: 0;
    }

    .vertical-connector-line,
    .step-number-wrapper {
        display: none;
    }

    .step-card {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.5rem;
    }

    .step-card.active-card {
        padding: 1.75rem;
    }

    .main-branding-title {
        font-size: 2.5rem;
    }

    .intro-visual-media {
        height: 260px;
    }

    .intro-visual-overlay-card {
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.9rem;
    }
}

/* ==========================================
   Profile card 
   ========================================== */


.team-page {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(54px, 7vw, 104px) 20px;
    background:
        radial-gradient(circle at 10% 8%, rgba(56, 166, 221, 0.13), transparent 28%),
        radial-gradient(circle at 90% 46%, rgba(56, 166, 221, 0.09), transparent 24%),
        linear-gradient(180deg, var(--white) 0%, var(--light_grey) 54%, var(--white) 100%);
}

.team-page::before,
.team-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.team-page::before {
    width: 130px;
    height: 92px;
    left: 3%;
    top: 8%;
    opacity: 0.55;
    background-image: radial-gradient(var(--blue) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
}

.team-page::after {
    width: 240px;
    height: 240px;
    right: -105px;
    top: 35%;
    border: 1px solid rgba(56, 166, 221, 0.17);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(56, 166, 221, 0.025),
        0 0 0 80px rgba(56, 166, 221, 0.018);
}

.team-page__inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================================================
   INTRO SECTION
   ========================================================================== */

.team-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    margin-bottom: clamp(42px, 6vw, 76px);
}

.team-intro__kicker,
.team-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.team-intro__kicker::before,
.team-section__eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--blue);
}

.team-intro h1 {
    margin: 0;
    color: var(--dark-blue);
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.team-intro h1 em {
    color: var(--blue);
    font-weight: 500;
}

.team-intro__note {
    position: relative;
    padding: 24px 26px;
    border: 1px solid var(--light_grey2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(0, 40, 94, 0.09);
}

.team-intro__note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.75;
}

.team-intro__note strong {
    color: var(--dark-blue);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.team-nav-wrap {
    position: sticky;
    top: 16px;
    z-index: 20;
    margin-bottom: clamp(34px, 4vw, 52px);
}

.team-nav {
    display: flex;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 1px solid rgba(56, 166, 221, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(0, 40, 94, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.team-nav::-webkit-scrollbar {
    display: none;
}

.team-nav a {
    flex: 0 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    color: var(--dark-blue);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.team-nav a:hover,
.team-nav a:focus-visible,
.team-nav a.is-active {
    color: var(--white);
    background: linear-gradient(135deg, var(--dark-blue), var(--blue));
    transform: translateY(-1px);
    outline: none;
}

/* ==========================================================================
   SECTION HEADER & CONTAINER
   ========================================================================== */

.team-section {
    position: relative;
    scroll-margin-top: 105px;
    padding: clamp(70px, 8vw, 70px) 0 clamp(60px, 9vw, 70px);
    /* border: 1px solid transparent; */
    /* border-radius: 0; */
    background: #edf2fa;
}

.team-section+.team-section {
    margin-top: clamp(34px, 5vw, 54px);
}

.team-section::before {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    right: clamp(22px, 3vw, 38px);
    color: rgba(56, 166, 221, 0.10);
    font-family: "Playfair Display", serif;
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}

.team-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 88% 18%, rgba(56, 166, 221, 0.16) 0 9px, transparent 10px),
        radial-gradient(circle at 91% 23%, rgba(0, 40, 94, 0.10) 0 4px, transparent 5px),
        radial-gradient(circle at 12% 82%, rgba(56, 166, 221, 0.13) 0 7px, transparent 8px),
        radial-gradient(circle at 9% 76%, rgba(0, 40, 94, 0.09) 0 4px, transparent 5px),
        radial-gradient(circle at 78% 78%, rgba(56, 166, 221, 0.12) 0 5px, transparent 6px);
    z-index: 0;
    pointer-events: none;
}

.team-section__dot-field {
    position: absolute;
    left: max(22px, calc((100vw - 1200px) / 2));
    top: 84px;
    width: 132px;
    height: 132px;
    background-image: radial-gradient(circle, rgba(56, 166, 221, 0.24) 1.5px, transparent 1.7px);
    background-size: 14px 14px;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.team-section__dot-field::before,
.team-section__dot-field::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.team-section__dot-field::before {
    width: 88px;
    height: 88px;
    left: 26px;
    bottom: -390px;
    border: 1px solid rgba(0, 40, 94, 0.12);
}

.team-section__dot-field::after {
    content: "+";
    display: block;
    right: -64px;
    bottom: -310px;
    color: rgba(56, 166, 221, 0.36);
    font-family: var(--montserrat);
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
}

.team-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr);
    gap: 26px;
    align-items: end;
    max-width: 1200px;
    margin: 0 auto clamp(38px, 5vw, 64px) auto;
    position: relative;
    z-index: 2;
}

.team-section h2 {
    margin: 0;
    color: var(--dark-blue);
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 3.8vw, 54px);
    font-weight: 600;
    line-height: 1.05;
}

.team-section__head p {
    margin: 0;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.75;
}

/* ==========================================================================
   TEAM MOSAIC GRID (CENTERED LAYOUT)
   ========================================================================== */

.team-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    height: 523px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.member-tile {
    display: grid;
    grid-template-rows: minmax(220px, 1.2fr) minmax(185px, 0.8fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 40, 94, 0.08);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(0, 40, 94, 0.08);
    transition:
        transform 360ms cubic-bezier(.2, .8, .2, 1),
        box-shadow 360ms ease,
        border-color 360ms ease;
}

.member-tile:nth-child(even) {
    grid-template-rows: minmax(185px, 0.8fr) minmax(220px, 1.2fr);
}

.member-tile:nth-child(even) .member-tile__image {
    order: 2;
}

.member-tile:nth-child(even) .member-tile__content {
    order: 1;
}

.member-tile:hover,
.member-tile:focus-within {
    transform: translateY(-8px);
    border-color: rgba(56, 166, 221, 0.42);
    box-shadow: 0 22px 42px rgba(0, 40, 94, 0.16);
}

/* ==========================================================================
   IMAGE STYLES & FULL-BLEED ALIGNMENT
   ========================================================================== */

.member-tile__image {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: var(--light_grey);
}

.member-tile__image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(0, 40, 94, 0.20));
    pointer-events: none;
}

.member-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 520ms cubic-bezier(.2, .8, .2, 1);
}

.member-tile:hover .member-tile__image img {
    transform: scale(1.045);
}

/* ==========================================================================
   TILE CONTENT STYLES
   ========================================================================== */

.member-tile__content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px 18px 17px;
    background: linear-gradient(180deg, var(--white) 0%, rgba(248, 249, 250, 0.68) 100%);
}

.member-tile__role {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: auto;
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.member-tile__role::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: none;
}

.member-tile h3 {
    margin: 14px 0 7px;
    color: var(--dark-blue);
    font-family: "Playfair Display", serif;
    font-size: clamp(21px, 1.7vw, 27px);
    line-height: 1.08;
}

.member-tile__summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--grey);
    font-size: 12.5px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.member-tile__read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 14px;
    padding: 0;
    border: 0;
    color: var(--dark-blue);
    background: transparent;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-tile__read-more::after {
    content: "→";
    color: var(--blue);
    font-size: 16px;
    transition: transform 200ms ease;
}

.member-tile__read-more:hover::after,
.member-tile__read-more:focus-visible::after {
    transform: translateX(4px);
}

.member-tile__read-more:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 5px;
    border-radius: 4px;
}


/* ==========================================
   COMPONENT 3: STATS DARK PANEL
   ========================================== */


.editorial-timeline-section {
    /* background:
        radial-gradient(circle at 12% 76%, rgba(56, 166, 221, 0.14) 0, rgba(56, 166, 221, 0.04) 16%, transparent 32%),
        radial-gradient(circle at 88% 86%, rgba(26, 74, 153, 0.10) 0, rgba(26, 74, 153, 0.02) 18%, transparent 35%),
        linear-gradient(180deg, #ffffff 0%, #f9fbff 100%); */
    padding: 6rem 4rem 3rem 4rem;
    position: relative;
    width: 100%;
    overflow: hidden;
    font-family: var(--poppins);
}

.editorial-timeline-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background:
        radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.96), transparent 28%),
        radial-gradient(circle at 50% 0%, rgba(56, 166, 221, 0.05), transparent 30%),
        radial-gradient(circle at 80% 25%, rgba(26, 74, 153, 0.04), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18) 16%, rgba(255, 255, 255, 0.18) 84%, rgba(255, 255, 255, 0.72)); */
    pointer-events: none;
}

/* .editorial-timeline-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 96%, rgba(56, 166, 221, 0.10), transparent 18%),
        radial-gradient(circle at 92% 92%, rgba(26, 74, 153, 0.08), transparent 18%);
    filter: blur(6px);
    pointer-events: none;
} */

.editorial-timeline-shell {
    position: relative;
    z-index: 2;
}

.editorial-timeline-title-wrap {
    max-width: 1120px;
    margin: 0 auto 3.2rem;
    text-align: center;
}

.editorial-timeline-title,
.team-section-title {
    margin: 0;
    font-family: var(--playfair);
    font-size: clamp(3rem, 5.8vw, 3.2rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
    color: var(--dark-blue);
}

.editorial-timeline-title .title-left,
.editorial-timeline-title .title-right,
.team-section-title .title-left,
.team-section-title .title-right {
    display: block;
}

.editorial-timeline-title .title-right,
.team-section-title .title-right {
    color: var(--blue);
    font-style: italic;
}

.timeline-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.45rem;
    position: relative;
    z-index: 3;
}

.branded-timeline-card {
    background: var(--white);
    border-radius: 30px;
    padding: 3.1rem 1.55rem 2.55rem 1.55rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 365px;
    border: 1.5px solid rgba(97, 177, 242, 0.28);
    box-shadow:
        0 25px 60px rgba(0, 40, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
}

.branded-timeline-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 32px 70px rgba(0, 40, 94, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(56, 166, 221, 0.45);
}

.card-shell-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 12%, rgba(56, 166, 221, 0.10), transparent 24%),
        radial-gradient(circle at 50% 58%, rgba(255, 255, 255, 0.88), transparent 46%);
    pointer-events: none;
    opacity: 0.9;
}

.card-ribbon-badge {
    position: absolute;
    top: 0;
    left: 1.7rem;
    width: 44px;
    height: 58px;
    background: linear-gradient(180deg, #58c2ff 0%, #1f88ea 100%);
    color: var(--white);
    font-family: var(--montserrat);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 12px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
    z-index: 3;
    box-shadow: 0 14px 26px rgba(56, 166, 221, 0.2);
}

.card-icon-halo-wrapper {
    position: relative;
    width: 106px;
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin: 0 auto 1.15rem auto;
    z-index: 2;
}

.halo-ring-spinner {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid rgba(56, 166, 221, 0.16);
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 68%, transparent 69%),
        conic-gradient(from 35deg, rgba(56, 166, 221, 0) 0deg 305deg, rgba(56, 166, 221, 0.9) 305deg 317deg, rgba(56, 166, 221, 0) 317deg 360deg);
}

.halo-ring-spinner::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(56, 166, 221, 0.08);
}

.halo-core-disc {
    position: absolute;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 1) 0, rgba(245, 249, 255, 0.98) 52%, rgba(227, 239, 251, 0.9) 100%);
    box-shadow:
        inset 0 8px 18px rgba(255, 255, 255, 0.9),
        0 10px 30px rgba(0, 40, 94, 0.06);
}

.card-vector-svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

.branded-timeline-card.timeline-card-live {
    animation: timelineCardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.branded-timeline-card:hover .halo-ring-spinner {
    animation: spinHalo 5s linear infinite;
}

@keyframes spinHalo {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes timelineCardReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.branded-timeline-card.timeline-card-live .card-bottom-wave-accent {
    opacity: 1;
    transform: translateY(0);
}

.branded-timeline-card.timeline-card-live .card-bottom-wave-accent::before {
    animation: waveFloat 7s ease-in-out infinite 0.75s;
}

.card-metric-rule {
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(86, 194, 255, 0.7), rgba(86, 194, 255, 0.25));
    margin-bottom: 0.9rem;
}

.card-display-metric {
    font-family: var(--montserrat);
    font-size: 2.85rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.65rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 2;
}

.card-display-metric.structural-range {
    font-size: 2.35rem;
    color: var(--dark-blue);
}

.card-display-caption {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--grey);
    margin: 0;
    max-width: 220px;
    position: relative;
    z-index: 2;
}

@keyframes waveFloat {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-2.5%);
    }
}

.card-bottom-wave-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 76px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.6s ease;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.card-bottom-wave-accent::before,
.card-bottom-wave-accent::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.card-bottom-wave-accent::before {
    background:
        radial-gradient(46% 115% at 14% 100%, rgba(206, 228, 252, 0.9) 0, rgba(206, 228, 252, 0.9) 52%, transparent 53%),
        radial-gradient(42% 108% at 50% 100%, rgba(232, 243, 255, 0.95) 0, rgba(232, 243, 255, 0.95) 56%, transparent 57%),
        radial-gradient(46% 115% at 86% 100%, rgba(206, 228, 252, 0.9) 0, rgba(206, 228, 252, 0.9) 52%, transparent 53%);
    transform: translateX(0);
}

.card-bottom-wave-accent::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(234, 244, 255, 0.86) 72%, rgba(220, 237, 255, 0.92) 100%);
    opacity: 0.96;
}


.dashed-drop-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background-image: linear-gradient(to bottom, rgba(194, 201, 214, 0.9) 44%, transparent 44%);
    background-size: 2px 9px;
    opacity: 0;
    transform-origin: top center;
}

.editorial-timeline-section.timeline-animated .dashed-drop-line {
    animation: dropDashReveal 0.9s ease forwards;
}

.editorial-timeline-section.timeline-animated .dashed-drop-line:nth-child(2) {
    animation-delay: 0.18s;
}

.editorial-timeline-section.timeline-animated .dashed-drop-line:nth-child(3) {
    animation-delay: 0.36s;
}

.editorial-timeline-section.timeline-animated .dashed-drop-line:nth-child(4) {
    animation-delay: 0.54s;
}

.horizontal-track-container {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 5rem;
    z-index: 2;
}

.track-base-rail {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(232, 237, 244, 0.95), rgba(222, 229, 239, 0.95));
    transform: translateY(-50%);
    border-radius: 999px;
    overflow: hidden;
}

.track-animated-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue) 0%, var(--dark-blue) 100%);
    border-radius: 999px;
    transition: width 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.track-node-intersections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.milestone-node {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 4px solid #48a8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 40, 94, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.milestone-core {
    width: 14px;
    height: 14px;
    background: transparent;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.milestone-node.node-passed {
    border-color: var(--blue);
}

.milestone-node.node-passed .milestone-core {
    background-color: var(--blue);
}

.milestone-node.node-active {
    border-color: var(--dark-blue);
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 0 0 8px rgba(0, 40, 94, 0.08), 0 12px 28px rgba(0, 40, 94, 0.12);
}

.milestone-node.node-active .milestone-core {
    background-color: var(--dark-blue);
}

@keyframes dropDashReveal {
    from {
        opacity: 0;
        transform: translateX(-50%) scaleY(0.2);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scaleY(1);
    }
}

/* Welcome to JNIS Trustee*/
.jnis-trustees-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 8%, rgba(56, 166, 221, 0.12), transparent 25rem),
        radial-gradient(circle at 100% 32%, rgba(56, 166, 221, 0.09), transparent 28rem),
        var(--light_grey, #f8f9fa);
    padding: clamp(55px, 7vw, 100px) 0;
}

.jnis-trustees-section::before,
.jnis-trustees-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    opacity: 0.9;
}

.jnis-trustees-section::before {
    top: 3%;
    left: -90px;
    width: 210px;
    height: 210px;
    border-radius: 46px;
    background: linear-gradient(135deg, var(--blue, #38a6dd), var(--blue, #38a6dd));
    transform: rotate(38deg);
}

.jnis-trustees-section::after {
    right: -100px;
    bottom: 7%;
    width: 240px;
    height: 150px;
    background: linear-gradient(135deg, var(--dark-blue, #00285e) 0 48%, var(--blue, #38a6dd) 48% 72%, var(--blue, #38a6dd) 72%);
    clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%);
    opacity: 0.08;
}

.jnis-trustees-section *,
.jnis-trustees-section *::before,
.jnis-trustees-section *::after,
.jnis-trustees-modal *,
.jnis-trustees-modal *::before,
.jnis-trustees-modal *::after {
    box-sizing: border-box;
}

.jnis-trustees-container {
    width: min(100% - 40px, 1380px);
    margin-inline: auto;
    margin-top: -30px;
}

.jnis-trustees-section-title {
    margin: 0 0 clamp(34px, 5vw, 58px);
    color: var(--dark-blue, #00285e);
    font-family: var(--poppins, "Poppins", sans-serif);
    font-size: clamp(2.25rem, 4vw, 3.05rem);
    font-weight: 500;
    line-height: 1.08;
    text-align: center;
    margin-bottom: 3.2rem !important;
}

.jnis-trustees-section-title__accent {
    color: var(--blue, #38a6dd);
    font-family: var(--playfair, "Playfair Display", serif);
    font-style: italic;
    font-weight: 600;
}

.jnis-trustees-hidden {
    display: none;
}

.jnis-trustees-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 30px);
}

/* ── Card Styles ── */
.jnis-trustees-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 420px;
    overflow: hidden;
    background: var(--dark-blue, #00285e);
    border: 1px solid rgba(0, 40, 94, 0.08);
    border-radius: 17px;
    box-shadow: var(--shadow-lg, 0 20px 30px -10px rgba(0, 40, 94, 0.12));
    transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
    cursor: pointer;
}

/* Featured / Managing Trustee Full Row */
.jnis-trustees-card--featured {
    grid-column: 1 / -1;
    height: 480px;
    width: 32%;
    margin: auto;
}

.jnis-trustees-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 86px;
    height: 25px;
    background: linear-gradient(135deg, transparent 0 28%, var(--blue, #38a6dd) 29% 73%, var(--blue, #38a6dd) 74%);
    pointer-events: none;
}

.jnis-trustees-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.jnis-trustees-card:hover {
    transform: translateY(-7px);
    border-color: rgba(56, 166, 221, 0.4);
    box-shadow: 0 24px 52px rgba(0, 40, 94, 0.25), 0 6px 16px rgba(0, 40, 94, 0.12);
}

.jnis-trustees-card__main {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

/* Full Cover Photo Container */
.jnis-trustees-card__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Dark Gradient Overlay for Readability */
.jnis-trustees-card__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 24, 58, 0.92) 0%,
            rgba(0, 24, 58, 0.5) 45%,
            transparent 80%);
    pointer-events: none;
    transition: opacity 350ms ease;
}

.jnis-trustees-card:hover .jnis-trustees-card__photo::after {
    opacity: 0.95;
}

.jnis-trustees-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.jnis-trustees-card:hover .jnis-trustees-card__image {
    transform: scale(1.05);
}

/* Bottom Left Content Overlay */
.jnis-trustees-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: clamp(20px, 2.5vw, 32px);
}

.jnis-trustees-card__role {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--blue, #38a6dd);
    font-family: var(--montserrat, "Montserrat", sans-serif);
    font-size: clamp(0.72rem, 0.8vw, 0.85rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.jnis-trustees-card__name {
    margin: 0;
    color: #ffffff;
    font-family: var(--playfair, "Playfair Display", serif);
    font-size: clamp(1.4rem, 1.8vw, 2.1rem);
    font-weight: 600;
    line-height: 1.15;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.jnis-trustees-card--featured .jnis-trustees-card__name {
    font-size: clamp(1.8rem, 2.5vw, 2.75rem);
}

/* ── Modal Styles ── */
.jnis-trustees-modal {
    position: fixed;
    inset: 0;
    width: min(960px, calc(100% - 32px));
    max-height: min(820px, calc(100dvh - 32px));
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: var(--text-dark, #2c3342);
}

.jnis-trustees-modal[open] {
    display: block;
    animation: jnisTrusteesModalEnter 300ms ease both;
}

.jnis-trustees-modal::backdrop {
    background: rgba(0, 17, 38, 0.76);
    backdrop-filter: blur(7px);
    animation: jnisTrusteesBackdropEnter 250ms ease both;
}

.jnis-trustees-modal__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(290px, 38%) minmax(0, 62%);
    height: min(820px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 35px 90px rgba(0, 17, 38, 0.38);
}

.jnis-trustees-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: grid;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid rgba(0, 40, 94, 0.12);
    border-radius: 50%;
    background: #ffffff;
    color: var(--dark-blue, #00285e);
    cursor: pointer;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
    place-items: center;
    box-shadow: 0 8px 22px rgba(0, 40, 94, 0.14);
    transition: transform 250ms ease, background-color 250ms ease, color 250ms ease;
}

.jnis-trustees-modal__close:hover {
    transform: rotate(90deg);
    background: var(--dark-blue, #00285e);
    color: #ffffff;
}

.jnis-trustees-modal__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 22px 0 0 22px;
    background: var(--dark-blue, #00285e);
}

.jnis-trustees-modal__image-wrap {
    flex: 0 0 440px;
    min-height: 440px;
    overflow: hidden;
}

.jnis-trustees-modal__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: center top;
}

.jnis-trustees-modal__visual-info {
    position: relative;
    padding: 25px 28px 30px;
    overflow: hidden;
    color: #ffffff;
}

.jnis-trustees-modal__visual-label,
.jnis-trustees-modal__visual-role {
    position: relative;
    z-index: 2;
    display: block;
}

.jnis-trustees-modal__visual-label {
    margin-bottom: 10px;
    font-family: var(--montserrat, "Montserrat", sans-serif);
    font-size: 0.67rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
}

.jnis-trustees-modal__visual-role {
    max-width: 85%;
    font-family: var(--montserrat, "Montserrat", sans-serif);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.jnis-trustees-modal__content {
    align-self: stretch;
    min-height: 0;
    overflow-y: auto;
    padding: clamp(55px, 6vw, 85px) clamp(28px, 5vw, 70px);
}

.jnis-trustees-modal__eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--blue, #38a6dd);
    font-family: var(--montserrat, "Montserrat", sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.jnis-trustees-modal__name {
    margin: 0 0 22px;
    color: var(--dark-blue, #00285e);
    font-family: var(--playfair, "Playfair Display", serif);
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 600;
    line-height: 1.02;
}

.jnis-trustees-modal__description {
    color: #586b81;
    font-family: var(--poppins, "Poppins", sans-serif);
    font-size: clamp(0.91rem, 1.1vw, 1rem);
    line-height: 1.85;
}

.jnis-trustees-modal__description p {
    margin: 0 0 17px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .jnis-trustees-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jnis-trustees-card {
        height: 380px;
    }

    .jnis-trustees-card--featured {
        height: 440px;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .jnis-trustees-section {
        padding: 45px 0 60px;
    }

    .jnis-trustees-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jnis-trustees-card,
    .jnis-trustees-card--featured {
        grid-column: auto;
        height: 360px;
        border-radius: 14px;
        width: 100%;
    }

    .jnis-trustees-card__content {
        padding: 20px;
    }

    .jnis-trustees-modal {
        width: min(100% - 20px, 560px);
        max-height: calc(100dvh - 20px);
    }

    .jnis-trustees-modal__panel {
        display: block;
        height: calc(100dvh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 17px;
    }

    .jnis-trustees-modal__visual {
        min-height: 0;
        border-radius: 17px 17px 0 0;
    }

    .jnis-trustees-modal__image-wrap {
        height: min(54vh, 430px);
        min-height: 280px;
    }

    .jnis-trustees-modal__image {
        min-height: 280px;
    }

    .jnis-trustees-modal__visual-info {
        padding: 19px 22px 23px;
    }

    .jnis-trustees-modal__content {
        min-height: 0;
        max-height: calc(100dvh - 20px - min(54vh, 430px));
        overflow-y: auto;
        padding: 30px 20px;
    }
}

/* ── Animations ── */
@keyframes jnisTrusteesModalEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.975);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes jnisTrusteesBackdropEnter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .jnis-trustees-card,
    .jnis-trustees-card__image,
    .jnis-trustees-modal,
    .jnis-trustees-modal::backdrop,
    .jnis-trustees-modal__close {
        animation: none;
        transition: none;
    }
}


/* Welcome to JNIS Timeline */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,600&display=swap');

:root {
    --bg-color-cream: #fff9f0;
    --color-cyan: #3fcad2;

    /* 10 Distinct Node Colors */
    --color-orange: #ff914d;
    --color-green: #73dc41;
    --color-coral: #ff6065;
    --color-gold: #e2b12c;
    --color-purple: #cb6ce6;
    --color-cyan-node: #00bcd4;
    --color-pink: #e91e63;
    --color-teal: #009688;
    --color-red: #f44336;
    --color-blue: #2196f3;

    --text-dark: #2b3a4a;
    --text-muted: #6b6355;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-color-cream);
}

/* Section Wrapper */
.jnis-timeline-section {
    background-color: #f4f8fe;
    padding: clamp(40px, 5vw, 80px) 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.jnis-timeline-section * {
    box-sizing: border-box;
}

/* Outer Container */
.jnis-timeline-section .container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Text Styles */
.jnis-timeline-section .section-title {
    margin: 0;
    text-align: center;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
}

.jnis-timeline-section .title-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #38a6dd;
    font-weight: 600;
}

.jnis-timeline-section .section-subtitle {
    text-align: center;
    color: #2f6fa8;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    margin-top: 8px;
}

/* Horizontal Track Wrapper */
.timeline-horizontal-wrapper {
    position: relative;
    width: 100%;
    height: 620px;
    margin-top: 30px;
}

/* Central Baseline Track Axis */
.timeline-main-axis {
    position: absolute;
    top: 50%;
    left: 2%;
    width: 96%;
    height: 8px;
    transform: translateY(-50%);
    background-color: var(--color-cyan);
    z-index: 1;
    border-radius: 6px;
}

/* Timeline Node Component Base Structure */
.timeline-node {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Intersection Axis Anchors */
.node-axis-anchor {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Connecting Vertical Stems */
.node-connecting-stem {
    position: absolute;
    width: 4px;
    background-color: currentColor;
    z-index: 3;
}

/* Graphic Bulb Circles */
.node-graphic-bulb {
    position: absolute;
    width: 64px;
    height: 64px;
    background-color: currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.inner-white-circle {
    width: 46px;
    height: 46px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-white-circle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Card Content Layout */
.node-content-card {
    position: absolute;
    width: 140px;
}

.node-content-card h3 {
    font-size: 0.72rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.node-content-card p {
    font-size: 0.65rem;
    line-height: 1.3;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Year Labels */
.node-year-display {
    position: absolute;
    font-size: 1.25rem;
    font-weight: 800;
    color: currentColor;
    z-index: 6;
    white-space: nowrap;
}

/* --- TOP NODES STRUCTURE --- */
.type-top {
    bottom: 50%;
    transform: translateX(-50%);
}

.type-top .node-axis-anchor {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.type-top .node-connecting-stem {
    bottom: 0;
    top: 32px;
    left: calc(50% - 2px);
}

.type-top .node-graphic-bulb {
    top: 0;
    left: calc(46% - 32px);
}

.type-top .node-year-display {
    bottom: 6px;
    right: calc(50% + 14px);
}

/* Top Card placed on RIGHT of bulb */
.type-top .node-content-card {
    top: 0;
    left: 72px;
    text-align: left;
}

/* --- BOTTOM NODES STRUCTURE --- */
.type-bottom {
    top: 50%;
    transform: translateX(-50%);
}

.type-bottom .node-axis-anchor {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.type-bottom .node-connecting-stem {
    top: 0;
    bottom: 32px;
    left: calc(50% - 2px);
}

.type-bottom .node-graphic-bulb {
    bottom: 0;
    left: calc(46% - 32px);
}

.type-bottom .node-year-display {
    top: 6px;
    right: calc(50% + 14px);
}

/* Bottom Card placed on LEFT of bulb (Prevents overlapping adjacent nodes) */
.type-bottom .node-content-card {
    bottom: 0;
    right: 72px;
    text-align: right;
}

/* STEM HEIGHT VARIANTS TO STAGGER LAYOUT */
.stem-tall {
    height: 260px;
}

.stem-short {
    height: 180px;
}

/* COLOR VARIANTS */
.node-orange {
    color: var(--color-cyan);
}

.node-orange .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

.node-green {
    color: var(--color-green);
}

.node-green .node-axis-anchor {
    border: 3px solid var(--color-green);
}

.node-coral {
    color: var(--color-coral);
}

.node-coral .node-axis-anchor {
    border: 3px solid var(--color-coral);
}

.node-gold {
    color: var(--color-gold);
}

.node-gold .node-axis-anchor {
    border: 3px solid var(--color-gold);
}

.node-purple {
    color: var(--color-cyan);
}

.node-purple .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

.node-cyan {
    color: var(--color-cyan);
}

.node-cyan .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

.node-pink {
    color: var(--color-cyan);
}

.node-pink .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

.node-teal {
    color: var(--color-cyan);
}

.node-teal .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

.node-red {
    color: var(--color-cyan);
}

.node-red .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

.node-blue {
    color: var(--color-cyan);
}

.node-blue .node-axis-anchor {
    border: 3px solid var(--color-cyan);
}

/* ANIMATIONS */
.timeline-main-axis.dynamic-animate {
    width: 0%;
    opacity: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.timeline-main-axis.is-triggered {
    width: 96%;
    opacity: 1;
}

.timeline-node.dynamic-animate {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-node.dynamic-animate.type-top {
    transform: translateX(-50%) translateY(30px) scale(0.8);
}

.timeline-node.dynamic-animate.type-bottom {
    transform: translateX(-50%) translateY(-30px) scale(0.8);
}

.timeline-node.is-triggered {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) !important;
    transition-delay: calc(var(--anim-delay) * 0.1s + 0.15s);
}

/* =========================================================
   TABLET & IPAD BREAKPOINT (768px - 1199px)
========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {
    .jnis-timeline-section .container {
        padding: 0 20px;
    }

    .timeline-horizontal-wrapper {
        height: 520px;
    }

    .stem-tall {
        height: 210px;
    }

    .stem-short {
        height: 140px;
    }

    .node-graphic-bulb {
        width: 50px;
        height: 50px;
    }

    .type-top .node-graphic-bulb {
        left: calc(50% - 25px);
    }

    .type-bottom .node-graphic-bulb {
        left: calc(50% - 25px);
    }

    .inner-white-circle {
        width: 36px;
        height: 36px;
    }

    .inner-white-circle svg {
        width: 18px;
        height: 18px;
    }

    .node-content-card {
        width: 105px;
    }

    .type-top .node-content-card {
        left: 56px;
    }

    .type-bottom .node-content-card {
        right: 56px;
    }

    .node-content-card h3 {
        font-size: 0.62rem;
    }

    .node-content-card p {
        font-size: 0.56rem;
        line-height: 1.2;
    }

    .node-year-display {
        font-size: 1rem;
    }
}

/* =========================================================
   MOBILE BREAKPOINT (< 768px) - VERTICAL STACKED LAYOUT
========================================================= */
@media (max-width: 767px) {
    .jnis-timeline-section .container {
        padding: 0 15px;
    }

    .timeline-horizontal-wrapper {
        height: auto;
        padding-left: 15px;
        margin-top: 25px;
    }

    .timeline-main-axis {
        left: 20px;
        top: 0;
        width: 4px !important;
        height: 100% !important;
        transform: none;
    }

    .timeline-main-axis.dynamic-animate {
        height: 0% !important;
    }

    .timeline-main-axis.is-triggered {
        height: 100% !important;
    }

    .timeline-node {
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        bottom: auto !important;
        width: 100%;
        height: auto !important;
        flex-direction: row !important;
        margin-bottom: 30px;
        transform: none !important;
    }

    .node-axis-anchor {
        left: 20px !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .node-connecting-stem {
        display: none;
    }

    .node-graphic-bulb {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-left: 35px;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
    }

    .inner-white-circle {
        width: 36px;
        height: 36px;
    }

    .node-year-display {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        order: -1;
        width: 45px;
        font-size: 0.95rem;
    }

    .node-content-card {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        padding-left: 15px;
        width: calc(100% - 110px);
        text-align: left !important;
    }

    .node-content-card h3 {
        font-size: 0.75rem;
    }

    .node-content-card p {
        font-size: 0.68rem;
    }
}


/* ------------------------------------- */
/* 5. LEGACY HERO SPLIT SECTION          */
/* ------------------------------------- */
.nmet-premium-section {
    padding: 90px 0;
    background-color: var(--white);
}

.nmet-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.nmet-hero-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 90px;
}

/* Asymmetric Overlapping Image Stack */
.nmet-gallery-stack {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    position: relative;
    height: 540px;
}

.nmet-img-wrapper {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.nmet-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.nmet-img-wrapper:hover img {
    transform: scale(1.04);
}

.nmet-img-base {
    grid-column: 1 / 9;
    grid-row: 1 / 10;
    z-index: 1;
}

.nmet-img-overlap {
    grid-column: 5 / -1;
    grid-row: 4 / -1;
    z-index: 2;
    border: 8px solid var(--white);
}

/* Text Content Layouts */
.nmet-text-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legacy-card-accent {
    background-color: var(--light_grey);
    border-left: 5px solid var(--dark-blue);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.legacy-accent-text {
    font-family: var(--playfair);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--dark-blue);
    font-style: italic;
}

.desc {
    font-family: var(--poppins);
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.7;
}

.history-highlight-para strong {
    color: var(--dark-blue);
    font-weight: 600;
}

.text-custom-grey {
    color: var(--grey);
}

.text-custom-darkblue {
    font-weight: 500;
    color: var(--dark-blue);
    background: linear-gradient(180deg, rgba(56, 166, 221, 0.08) 0%, rgba(56, 166, 221, 0) 100%);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(56, 166, 221, 0.4);
}

/* ------------------------------------- */
/* 6. CONTRIBUTIONS GRID SYSTEM          */
/* ------------------------------------- */
.contributions-panel {
    background-color: var(--light_grey);
    padding: 64px 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 90px;
    box-shadow: var(--shadow-sm);
}

.contributions-heading {
    font-family: var(--playfair);
    font-size: 2.2rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.contributions-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--blue);
}

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

.contribution-card {
    background-color: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    border-top: 4px solid transparent;
}

.contribution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--blue);
}

.contribution-era {
    font-family: var(--montserrat);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 16px;
    display: inline-block;
    background: linear-gradient(120deg, rgba(56, 166, 221, 0.15) 0%, rgba(56, 166, 221, 0) 100%);
    padding: 4px 14px;
    border-radius: var(--radius-sm);
}

.contribution-card .desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    color: var(--grey);
}

.contribution-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--montserrat);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    transition: var(--transition-smooth);
}

.contribution-link:hover {
    color: var(--dark-blue);
    transform: translateX(4px);
}

/* ------------------------------------- */
/* 7. FOUNDERS BROTHERS SHOWCASE         */
/* ------------------------------------- */
.brothers-showcase {
    margin-bottom: 90px;
}

.brothers-intro-quote {
    font-family: var(--playfair);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--dark-blue);
    text-align: center;
    max-width: 950px;
    margin: 0 auto 56px auto;
    line-height: 1.7;
}

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

.brother-vision-card {
    background-color: var(--white);
    border: 1px solid var(--light_grey2);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
}

.brother-vision-card:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brother-name {
    font-family: var(--montserrat);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.brother-vision-card:hover .brother-name {
    color: var(--white);
}

.brother-vision-card .desc {
    font-size: 0.95rem;
    line-height: 1.8;
    transition: var(--transition-smooth);
    color: var(--grey);
}

.brother-vision-card:hover .desc {
    color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------- */
/* 8. PREMIUM FOOTER STRIP               */
/* ------------------------------------- */
.nmet-footer-strip {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 48px 24px;
    border-top: 1px solid var(--light_grey2);
}

.nmet-footer-strip .desc {
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: var(--montserrat_alternates);
    color: var(--dark-blue);
    font-weight: 500;
}

.btn-outline-red {
    display: inline-block;
    text-decoration: none;
    font-family: var(--montserrat);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
    padding: 16px 36px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-outline-red:hover {
    color: var(--white);
    background-color: var(--dark-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ------------------------------------- */
/* 9. RESPONSIVE DESIGN BREAKPOINTS      */
/* ------------------------------------- */
@media (max-width: 1024px) {
    .nmet-hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .nmet-gallery-stack {
        max-width: 600px;
        margin: 0 auto;
        height: 450px;
        width: 100%;
    }

    .contributions-grid,
    .brothers-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contributions-panel {
        padding: 40px 24px;
    }
}

@media (max-width: 767px) {
    .academic-banner {
        height: 50vh;
        min-height: 360px;
    }

    .academic-link-chip {
        width: 100%;
        padding: 12px 20px;
    }

    .nmet-premium-section {
        padding: 56px 0;
    }

    .legacy-card-accent {
        padding: 18px;
    }

    .legacy-accent-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 1400px) {

    .ambient-glow-left,
    .ambient-glow-right {
        width: 400px;
        height: 400px;
    }

    .ambient-glow-left {
        left: -180px;
    }

    .ambient-glow-right {
        right: -180px;
    }

    .branded-timeline-card {
        padding: 3.25rem 1.6rem 2.8rem 1.6rem;
    }

    .card-display-metric {
        font-size: 2.9rem;
    }

    .card-display-metric.structural-range {
        font-size: 2.5rem;
    }
}

@media (max-width: 1280px) {
    .why-choose-section.premium-editorial-layout {
        gap: 3.5rem;
        padding: 4.5rem 2.5rem;
    }

    .main-branding-title {
        font-size: 2.8rem;
    }

    .philosophy-quote-card {
        padding: 3rem 2.5rem 3rem 3.5rem;
    }

    .branded-timeline-card {
        min-height: 400px;
    }

    .card-icon-halo-wrapper {
        width: 112px;
        height: 112px;
    }

    .halo-core-disc {
        width: 78px;
        height: 78px;
    }

    .card-vector-svg {
        width: 30px;
        height: 30px;
    }

    .nmet-gallery-stack {
        height: 460px;
    }
}

@media (max-width: 1024px) {
    .welcome-premium-section {
        padding: 1rem 1.5rem 5rem 1.5rem;
    }

    .academic-links-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .philosophy-main-title {
        font-size: 1.7rem;
        margin-bottom: 20px !important;
    }

    .philosophy-notebook-wrapper {
        margin-bottom: 5rem;
    }

    .ambient-glow-left,
    .ambient-glow-right {
        width: 300px;
        height: 300px;
        opacity: 0.3;
    }

    .ambient-glow-left {
        left: -120px;
        top: 5%;
    }

    .ambient-glow-right {
        right: -120px;
        bottom: 10%;
    }

    .main-branding-desc {
        max-width: 100%;
    }

    .intro-visual-card {
        max-width: 100%;
        margin-top: 1.8rem;
    }

    .intro-visual-media {
        height: 280px;
    }

    .step-number-wrapper {
        width: 4rem;
        left: -4rem;
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
        margin-left: 2.2rem;
    }

    .process-steps-container {
        padding-left: 4rem;
    }

    .vertical-connector-line {
        left: 15px;
    }

    .step-dot {
        left: 12px;
    }

    .step-card {
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }

    .step-card.active-card {
        padding: 2rem 2.2rem;
    }

    .active-card .step-title {
        font-size: 1.3rem;
    }

    .active-card .card-left-icon {
        width: 54px;
        height: 54px;
    }

    .pill-badge {
        font-size: 0.68rem;
        padding: 4px 12px;
    }

    .intro-side-container {
        position: relative;
        top: 0;
    }

    .nmet-hero-split {
        gap: 40px;
    }

    .brothers-intro-quote {
        font-size: 1.2rem;
        max-width: 100%;
        margin-bottom: 40px;
    }

    .contributions-heading {
        font-size: 1.8rem;
    }

    .nmet-footer-strip .desc {
        font-size: 1rem;
    }

    .btn-outline-red {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .horizontal-track-container {
        margin-top: 3.5rem;
    }
}

@media (max-width: 820px) {
    .welcome-premium-section {
        padding: 1rem 1.25rem 4rem 1.25rem;
    }

    .academic-links-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .philosophy-quote-card {
        padding: 2rem 1.8rem 2.8rem 2rem;
    }

    .philosophy-binding-rings {
        left: -32px;
        width: 70px;
    }

    .philosophy-main-title {
        font-size: 1.4rem;
    }

    .main-branding-title {
        font-size: 2.4rem;
        margin-bottom: 20px !important;
    }

    .why-choose-section.premium-editorial-layout {
        padding: 3rem 1.5rem;
        gap: 2.5rem;
    }

    .step-card {
        padding: 1.25rem 1.5rem;
        gap: 1.2rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .intro-visual-media {
        height: 240px;
    }

    .intro-visual-overlay-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 0.8rem 1rem;
    }

    .nmet-gallery-stack {
        height: 380px;
    }

    .nmet-img-overlap {
        border-width: 6px;
    }

    .contributions-panel {
        padding: 32px 20px;
    }

    .contributions-grid,
    .brothers-grid {
        gap: 20px;
    }

    .contribution-card {
        padding: 28px 22px;
    }

    .brother-vision-card {
        padding: 30px 24px;
    }

    .academic-banner-static__title {
        font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    }

    .card-display-metric {
        font-size: 2.4rem;
    }

    .card-display-metric.structural-range {
        font-size: 2rem;
    }

    .branded-timeline-card {
        padding: 2.8rem 1.2rem 2.4rem 1.2rem;
        min-height: 360px;
    }

    .card-icon-halo-wrapper {
        width: 96px;
        height: 96px;
        margin-bottom: 1.2rem;
    }

    .halo-core-disc {
        width: 66px;
        height: 66px;
    }

    .card-vector-svg {
        width: 26px;
        height: 26px;
    }

    .halo-ring-spinner {
        inset: 8px;
    }
}

@media (max-width: 768px) {
    .academic-banner {
        height: 44vh;
        min-height: 320px;
    }

    .academic-banner-static__eyebrow {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .academic-banner-static__body {
        font-size: clamp(0.8rem, 1.2vw, 0.95rem);
        letter-spacing: 3px;
    }

    .philosophy-quote-text {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .philosophy-quote-icon {
        font-size: 3rem;
        bottom: 0.6rem;
        right: 1.5rem;
    }

    .process-steps-container {
        padding-left: 0;
    }

    .vertical-connector-line,
    .step-number-wrapper {
        display: none;
    }

    .step-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem 1.25rem;
    }

    .step-card.active-card {
        padding: 1.5rem 1.5rem;
    }

    .card-left-icon {
        width: 44px;
        height: 44px;
    }

    .icon-svg {
        width: 20px;
        height: 20px;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-desc {
        font-size: 0.85rem;
    }

    .active-card .step-title {
        font-size: 1.15rem;
    }

    .active-card .card-left-icon {
        width: 48px;
        height: 48px;
    }

    .pill-badge-group {
        gap: 0.5rem;
        margin-top: 0.9rem;
    }

    .pill-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .cta-transaction-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .editorial-pre-title {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .nmet-premium-section {
        padding: 40px 0;
    }

    .nmet-container {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .nmet-hero-split {
        gap: 32px;
        margin-bottom: 56px;
    }

    .nmet-gallery-stack {
        height: 320px;
    }

    .nmet-img-base {
        grid-column: 1 / 10;
        grid-row: 1 / 11;
    }

    .nmet-img-overlap {
        grid-column: 4 / -1;
        grid-row: 3 / -1;
        border-width: 5px;
    }

    .text-custom-darkblue {
        padding: 18px;
    }

    .contributions-heading {
        font-size: 1.6rem;
    }

    .contribution-era {
        font-size: 1.1rem;
    }

    .brothers-intro-quote {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 32px;
    }

    .brother-name {
        font-size: 1.05rem;
    }

    .academic-link-chip {
        font-size: 0.8rem;
        padding: 12px 20px;
    }

    .branded-timeline-card {
        min-height: auto;
        padding: 2.6rem 1.2rem 2.2rem 1.2rem;
    }

    .card-ribbon-badge {
        left: 1.2rem;
        width: 42px;
        height: 56px;
        font-size: 0.85rem;
    }

    .horizontal-track-container {
        margin-top: 2.5rem;
        height: 24px;
    }

    .milestone-node {
        width: 34px;
        height: 34px;
        border-width: 3px;
    }

    .milestone-core {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 640px) {
    .welcome-premium-section {
        padding: 0.75rem 1rem 3.5rem 1rem;
    }

    .philosophy-main-title {
        font-size: 1.2rem;
    }

    .philosophy-notebook-wrapper {
        margin-bottom: 3rem;
    }

    .philosophy-quote-card {
        padding: 1.6rem 1.4rem 2.5rem 1.4rem;
        border-radius: 20px;
    }

    .philosophy-card-accent-border {
        width: 4px;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .philosophy-binding-rings {
        display: none;
    }

    .philosophy-quote-text {
        font-size: 0.88rem;
    }

    .ambient-glow-left,
    .ambient-glow-right {
        width: 180px;
        height: 180px;
        opacity: 0.2;
    }

    .ambient-glow-left {
        left: -60px;
        top: 3%;
    }

    .ambient-glow-right {
        right: -60px;
        bottom: 5%;
    }

    .academic-links-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }

    .intro-visual-card {
        border-radius: 20px;
    }

    .intro-visual-media {
        height: 220px;
    }

    .intro-visual-overlay-card {
        border-radius: 16px;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.7rem 0.85rem;
    }

    .intro-visual-label {
        font-size: 0.65rem;
    }

    .intro-visual-copy {
        font-size: 0.82rem;
    }

    .nmet-gallery-stack {
        height: 260px;
    }

    .nmet-img-overlap {
        border-width: 4px;
    }

    .brothers-intro-quote {
        font-size: 1rem;
    }

    .contributions-heading {
        font-size: 1.4rem;
        margin-bottom: 36px;
    }

    .nmet-footer-strip .desc {
        font-size: 0.9rem;
    }

    .btn-outline-red {
        padding: 12px 24px;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .nmet-footer-strip {
        padding: 32px 16px;
    }
}

@media (max-width: 480px) {
    .welcome-premium-section {
        padding: 2rem 0rem 0rem 0rem;
    }

    .philosophy-main-title {
        font-size: 1.05rem;
        margin-bottom: 20px !important;
    }

    .philosophy-italic-accent {
        font-size: 0.95em;
    }

    .philosophy-quote-card {
        padding: 1.25rem 1rem 2.2rem 1rem;
        border-radius: 16px;
    }

    .philosophy-card-accent-border {
        width: 3px;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }

    .philosophy-quote-text {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .philosophy-quote-icon {
        font-size: 2.4rem;
        bottom: 0.4rem;
        right: 1rem;
    }

    .philosophy-notebook-wrapper {
        margin-bottom: 2rem;
    }

    .academic-links-panel {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px;
    }

    .academic-link-chip {
        font-size: 0.72rem;
        padding: 10px 14px;
    }

    .why-choose-section.premium-editorial-layout {
        padding: 2rem 0.75rem;
        gap: 2rem;
    }

    .main-branding-title {
        font-size: 1.8rem;
    }

    .main-branding-desc {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .editorial-pre-title {
        font-size: 0.65rem;
        margin-bottom: 1.2rem;
    }

    .intro-visual-media {
        height: 180px;
    }

    .intro-visual-card {
        margin-top: 1.2rem;
        border-radius: 16px;
    }

    .intro-visual-overlay-card {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        border-radius: 12px;
        padding: 0.6rem 0.7rem;
    }

    .intro-visual-copy {
        font-size: 0.78rem;
    }

    .step-card {
        padding: 1rem 1rem;
        border-radius: 12px;
        gap: 0.8rem;
    }

    .step-card.active-card {
        padding: 1.25rem 1.25rem;
    }

    .step-title {
        font-size: 0.92rem;
        margin-bottom: 0.3rem;
    }

    .step-desc {
        font-size: 0.8rem;
        line-height: 1.55;
    }

    .active-card .step-title {
        font-size: 1.05rem;
    }

    .active-card .card-left-icon {
        width: 42px;
        height: 42px;
    }

    .pill-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .card-bg-graph {
        width: 120px;
    }

    .academic-banner {
        height: 38vh;
        min-height: 280px;
    }

    .academic-banner-static__title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .academic-banner-static__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }

    .academic-banner-static__body {
        font-size: clamp(0.7rem, 1.5vw, 0.8rem);
        letter-spacing: 2px;
    }

    .nmet-premium-section {
        padding: 28px 0;
    }

    .nmet-hero-split {
        gap: 24px;
        margin-bottom: 40px;
    }

    .nmet-gallery-stack {
        height: 200px;
    }

    .nmet-img-overlap {
        border-width: 3px;
    }

    .nmet-text-column {
        gap: 16px;
    }

    .legacy-accent-text {
        font-size: 1rem;
    }

    .desc {
        font-size: 0.88rem;
    }

    .text-custom-darkblue {
        padding: 14px;
    }

    .contributions-panel {
        padding: 24px 14px;
        border-radius: 16px;
    }

    .contributions-heading {
        font-size: 1.2rem;
        margin-bottom: 28px;
    }

    .contribution-card {
        padding: 22px 18px;
    }

    .contribution-era {
        font-size: 1rem;
        padding: 3px 10px;
    }

    .contribution-card .desc {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .brother-vision-card {
        padding: 24px 18px;
    }

    .brother-name {
        font-size: 0.95rem;
        margin-bottom: 14px;
    }

    .brother-vision-card .desc {
        font-size: 0.85rem;
    }

    .nmet-footer-strip {
        padding: 24px 12px;
    }

    .nmet-footer-strip .desc {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }

    .btn-outline-red {
        padding: 10px 20px;
        font-size: 0.7rem;
        letter-spacing: 1px;
        border-width: 1.5px;
    }

    .editorial-timeline-section {
        padding: 1.5rem 1rem;
    }

    .timeline-cards-container {
        gap: 1.25rem;
    }

    .branded-timeline-card {
        border-radius: 20px;
        padding: 2.4rem 1rem 2rem 1rem;
    }

    .card-display-metric {
        font-size: 2rem;
    }

    .card-display-metric.structural-range {
        font-size: 1.7rem;
    }

    .card-display-caption {
        font-size: 0.82rem;
        max-width: 100%;
    }

    .card-icon-halo-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .halo-core-disc {
        width: 56px;
        height: 56px;
    }

    .card-vector-svg {
        width: 22px;
        height: 22px;
    }

    .halo-ring-spinner {
        inset: 6px;
        border-width: 1.5px;
    }

    .halo-ring-spinner::after {
        right: 6px;
        bottom: 12px;
        width: 6px;
        height: 6px;
    }

    .card-metric-rule {
        width: 48px;
        height: 2px;
    }

    .card-bottom-wave-accent {
        height: 50px;
    }

    .horizontal-track-container {
        margin-top: 2rem;
        height: 20px;
    }

    .milestone-node {
        width: 28px;
        height: 28px;
        border-width: 3px;
    }

    .milestone-core {
        width: 8px;
        height: 8px;
    }

    .track-base-rail {
        height: 4px;
    }
}

@media (max-width: 380px) {
    .welcome-premium-section {
        padding: 0.5rem 0.5rem 2rem 0.5rem;
    }

    .philosophy-main-title {
        font-size: 0.95rem;
        margin-bottom: 20px !important;
    }

    .philosophy-quote-card {
        padding: 1rem 0.85rem 2rem 0.85rem;
        border-radius: 14px;
    }

    .philosophy-quote-text {
        font-size: 0.8rem;
    }

    .academic-links-panel {
        grid-template-columns: 1fr !important;
    }

    .why-choose-section.premium-editorial-layout {
        padding: 1.5rem 0.5rem;
        gap: 1.5rem;
    }

    .main-branding-title {
        font-size: 1.5rem;
    }

    .intro-visual-media {
        height: 150px;
    }

    .step-card {
        padding: 0.85rem 0.85rem;
    }

    .step-title {
        font-size: 0.85rem;
    }

    .step-desc {
        font-size: 0.75rem;
    }

    .active-card .step-title {
        font-size: 0.95rem;
    }

    .pill-badge {
        font-size: 0.55rem;
        padding: 2px 7px;
    }

    .academic-banner {
        height: 32vh;
        min-height: 240px;
    }

    .academic-banner-static__title {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    }

    .nmet-gallery-stack {
        height: 160px;
    }

    .nmet-hero-split {
        gap: 18px;
        margin-bottom: 32px;
    }

    .contributions-panel {
        padding: 20px 10px;
    }

    .contributions-heading::after {
        width: 40px;
        height: 2px;
        bottom: -8px;
    }

    .contribution-card {
        padding: 18px 14px;
    }

    .brother-vision-card {
        padding: 20px 14px;
    }

    .branded-timeline-card {
        padding: 2rem 0.85rem 1.8rem 0.85rem;
        border-radius: 16px;
    }

    .card-ribbon-badge {
        left: 0.8rem;
        width: 36px;
        height: 48px;
        font-size: 0.75rem;
        padding-bottom: 8px;
    }

    .card-display-metric {
        font-size: 1.7rem;
    }

    .card-display-metric.structural-range {
        font-size: 1.5rem;
    }

    .card-icon-halo-wrapper {
        width: 68px;
        height: 68px;
        margin-bottom: 0.8rem;
    }

    .halo-core-disc {
        width: 48px;
        height: 48px;
    }

    .card-vector-svg {
        width: 18px;
        height: 18px;
    }

    .milestone-node {
        width: 22px;
        height: 22px;
        border-width: 2px;
    }

    .milestone-core {
        width: 6px;
        height: 6px;
    }
}



/* ========================================== */
/* UNIQUE PRESERVED CSS NAMESPACE FOR NMET    */
/* ========================================== */

/* --- Layout Architecture --- */
.nmet-layout-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.nmet-align-center {
    text-align: center;
}

.nmet-center-element {
    margin-left: auto;
    margin-right: auto;
}

.nmet-split-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
}

.nmet-triple-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}

.nmet-category-tag {
    font-family: var(--montserrat);
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: inline-block;
}

.nmet-heading-display {
    font-family: var(--playfair);
    font-size: 2.6rem;
    color: var(--dark-blue);
    margin-bottom: 24px;
    font-weight: 600;
}

.nmet-subheading-text {
    color: var(--grey);
    max-width: 600px;
    margin-bottom: 40px;
}

/* --- 1. Foundational History Component --- */
.nmet-metrics-group {
    display: flex;
    gap: 40px;
    margin-top: 35px;
}

.nmet-metric-item {
    display: flex;
    flex-direction: column;
}

.nmet-metric-number {
    font-family: var(--montserrat_alternates);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--blue);
}

.nmet-metric-label {
    color: var(--grey);
    font-size: 0.9rem;
}

.nmet-graphic-frame {
    position: relative;
    background: linear-gradient(145deg, #e6f4fc, #ffffff);
    border-radius: 24px;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
}

.nmet-icon-avatar i {
    font-size: 5rem;
    color: var(--blue);
    opacity: 0.35;
}

/* --- 2. Chronological Track Component --- */
.nmet-section-chronology {
    background-color: var(--light_grey);
    position: relative;
}

.nmet-track-wrapper {
    position: relative;
    max-width: 800px;
    margin-top: 40px;
}

.nmet-vertical-spine {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--light_grey2);
}

.nmet-track-node {
    position: relative;
    padding-left: 70px;
    margin-bottom: 45px;
}

.nmet-node-indicator {
    position: absolute;
    left: 22px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--blue);
}

.nmet-node-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.nmet-node-date {
    font-family: var(--montserrat_alternates);
    font-weight: 700;
    color: var(--blue);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 6px;
}

.nmet-node-card h3 {
    color: var(--dark-blue);
    font-family: var(--montserrat);
    margin-bottom: 10px;
}

/* --- 3. Ecosystem Hub Deck Component --- */
.nmet-hub-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--light_grey);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nmet-hub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 40, 94, 0.08);
    border-color: rgba(56, 166, 221, 0.2);
}

.nmet-hub-badge {
    width: 60px;
    height: 60px;
    background: rgba(56, 166, 221, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 25px;
}

.nmet-hub-card h3 {
    font-family: var(--montserrat);
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.nmet-hub-card p {
    color: var(--grey);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.nmet-hub-hyperlink {
    text-decoration: none;
    color: var(--blue);
    font-family: var(--montserrat);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.nmet-hub-card:hover .nmet-hub-hyperlink {
    gap: 12px;
}

/* --- 4. Ideology Manifesto Component --- */
.nmet-section-ideology {
    background-color: var(--light_grey);
}

.nmet-manifesto-box {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.nmet-glyph-quote {
    font-family: var(--playfair);
    font-size: 8rem;
    position: absolute;
    top: -20px;
    right: 20px;
    color: rgba(56, 166, 221, 0.08);
    line-height: 1;
}

.nmet-manifesto-box h3 {
    font-family: var(--montserrat);
    color: var(--dark-blue);
    margin-bottom: 15px;
    position: relative;
}

.nmet-manifesto-text {
    font-style: italic;
    color: var(--grey);
    margin-bottom: 25px;
    font-family: var(--playfair);
    font-size: 1.1rem;
    line-height: 1.5;
}

.nmet-pill-label {
    background: var(--light_grey);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-blue);
}

/* --- Isolated Kinetic Motion Triggers --- */
.nmet-reveal-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.nmet-reveal-trigger.active {
    opacity: 1;
    transform: translateY(0);
}

.nmet-stagger-1 {
    transition-delay: 0.2s;
}

.nmet-stagger-2 {
    transition-delay: 0.4s;
}

/* --- Responsive Adaptations --- */
@media(max-width: 992px) {
    .nmet-triple-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {

    .nmet-split-grid,
    .nmet-triple-grid {
        grid-template-columns: 1fr;
    }

    .nmet-layout-container {
        padding: 50px 0;
    }
}

/* --- Updated Kinetic Motion Triggers --- */
/* By default, components are visible so they never render blank */
.nmet-reveal-trigger {
    opacity: 1;
    transform: translateY(0);
}

/* If you want the scroll animation, this class will handle it smoothly */
.js-enabled .nmet-reveal-trigger {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-enabled .nmet-reveal-trigger.active {
    opacity: 1;
    transform: translateY(0);
}

.nmet-stagger-1 {
    transition-delay: 0.2s;
}

.nmet-stagger-2 {
    transition-delay: 0.4s;
}




/* nmet */
/* ── Progressive Enhancement ── */
.nmet-fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-nmet .nmet-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.nmet-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nmet-stagger-1 {
    transition-delay: 0.1s;
}

.nmet-stagger-2 {
    transition-delay: 0.2s;
}

.nmet-stagger-3 {
    transition-delay: 0.3s;
}

.nmet-stagger-4 {
    transition-delay: 0.4s;
}

/* ── Decorative floating shapes ── */
.nmet-float-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.nmet-float-shape--diamond {
    border-radius: 4px;
    transform: rotate(45deg);
}

.nmet-float-shape--sm {
    width: 12px;
    height: 12px;
}

.nmet-float-shape--md {
    width: 24px;
    height: 24px;
}

.nmet-float-shape--lg {
    width: 48px;
    height: 48px;
}

.nmet-float-shape--blue {
    background: rgba(56, 166, 221, 0.12);
}

.nmet-float-shape--dark {
    background: rgba(0, 40, 94, 0.08);
}

.nmet-float-shape--ghost {
    background: rgba(56, 166, 221, 0.06);
}

.nmet-float-1 {
    animation: nmetDrift 18s ease-in-out infinite alternate;
}

.nmet-float-2 {
    animation: nmetDrift 22s ease-in-out infinite alternate-reverse;
}

.nmet-float-3 {
    animation: nmetDrift 14s ease-in-out infinite alternate;
}

@keyframes nmetDrift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(20px, -30px) rotate(5deg) scale(1.05);
    }

    66% {
        transform: translate(-10px, 20px) rotate(-3deg) scale(0.95);
    }

    100% {
        transform: translate(15px, -15px) rotate(2deg) scale(1.02);
    }
}

/* ── Noise Texture (reduced-motion safe) ── */
.nmet-noise {
    position: absolute;
    inset: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
    pointer-events: none;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .nmet-noise {
        opacity: 0;
    }
}

/* ── Gradient Text Utility ── */
.nmet-text-gradient {
    background: linear-gradient(135deg, var(--nmet-blue), #3dbced, #60c4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Section backdrop pattern ── */
.nmet-pattern-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(56, 166, 221, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
           SECTION 1: LEGACY HERO — Immersive Split Layout
           ============================================================ */
.nmet-legacy-section {
    position: relative;
    padding: 108px 0 118px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 194, 72, 0.18), transparent 20%),
        radial-gradient(circle at 92% 14%, rgba(56, 166, 221, 0.16), transparent 22%),
        linear-gradient(135deg, #f5fbff 0%, #ffffff 34%, #f3f8fd 100%);
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(56, 166, 221, 0.12);
}

.nmet-legacy-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(248, 252, 255, 0.96) 0%, rgba(255, 255, 255, 0.25) 18%, rgba(255, 255, 255, 0.08) 82%, rgba(244, 250, 255, 0.96) 100%),
        repeating-linear-gradient(90deg, transparent 0 110px, rgba(56, 166, 221, 0.03) 110px 111px);
    pointer-events: none;
    z-index: 0;
}

.nmet-legacy-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(226, 241, 252, 0.45));
    pointer-events: none;
    z-index: 0;
}

.nmet-noise,
.nmet-ambient-orb,
.nmet-float-shape {
    display: none;
}

.nmet-section-sparkles,
.nmet-section-sparkles::before,
.nmet-section-sparkles::after {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.nmet-section-sparkles {
    inset: 0;
}

.nmet-section-sparkles::before {
    content: "";
    top: 34px;
    left: clamp(18px, 3vw, 58px);
    width: 360px;
    height: 360px;
    border-radius: 44px;
    background: linear-gradient(145deg, rgba(56, 166, 221, 0.12), rgba(56, 166, 221, 0));
    filter: blur(2px);
}

.nmet-section-sparkles::after {
    content: "";
    right: clamp(20px, 4vw, 74px);
    bottom: 28px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 188, 53, 0.16), rgba(255, 188, 53, 0) 68%);
    filter: blur(6px);
}

/* .nmet-legacy-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1520px);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 54px);
} */

.nmet-legacy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 34px;
    align-items: stretch;
    position: relative;
    z-index: 1;
    width: 100%;
}

.nmet-legacy-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 46px clamp(28px, 3vw, 46px);
    border-radius: 36px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.94)),
        #ffffff;
    border: 1px solid rgba(56, 166, 221, 0.16);
    box-shadow:
        0 34px 80px rgba(0, 40, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
    position: relative;
}

.nmet-legacy-content::before {
    content: "";
    position: absolute;
    inset: -32px auto auto -24px;
    width: 180px;
    height: 180px;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 194, 72, 0.24), rgba(255, 194, 72, 0));
    pointer-events: none;
}

.nmet-legacy-content::after {
    content: "";
    position: absolute;
    inset: 18px 18px 18px 18px;
    border-radius: 28px;
    border: 1px solid rgba(56, 166, 221, 0.08);
    pointer-events: none;
}

.nmet-legacy-content .section-kicker {
    color: #0b5d95;
}

.nmet-legacy-content .section-title {
    text-align: left !important;
    margin: 0;
    max-width: 14ch;
    position: relative;
    z-index: 1;
}

.nmet-legacy-content .desc {
    margin: 22px 0 0;
    max-width: 60ch;
    font-size: 1.02rem;
    line-height: 1.95;
    color: #4a647f;
    position: relative;
    z-index: 1;
}

.nmet-legacy-story {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}

.nmet-legacy-story-card {
    padding: 24px 22px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
    border: 1px solid rgba(56, 166, 221, 0.14);
    box-shadow: 0 18px 38px rgba(0, 40, 94, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nmet-legacy-story-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #ffc248, #38a6dd);
}

.nmet-legacy-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(0, 40, 94, 0.08);
}

.nmet-legacy-story-card span {
    display: inline-block;
    margin-bottom: 8px;
    font-family: var(--montserrat);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #38a6dd;
}

.nmet-legacy-story-card h3 {
    margin: 0 0 8px;
    font-family: var(--playfair);
    font-size: 1.3rem;
    line-height: 1.18;
    color: #00285e;
}

.nmet-legacy-story-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #5a7186;
}

.nmet-legacy-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: none;
    position: relative;
    z-index: 1;
}

.nmet-metric-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 18px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    min-width: 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nmet-metric-chip::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #ffc248, #38a6dd);
}

.nmet-metric-value {
    font-family: var(--playfair);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.nmet-metric-chip .nmet-metric-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.74);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nmet-legacy-visual {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-height: 100%;
}

.nmet-visual-frame {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding: 46px clamp(26px, 2.8vw, 42px) 42px;
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(255, 194, 72, 0.12), transparent 28%),
        linear-gradient(160deg, #04224d 0%, #0a3a72 55%, #0e4d91 100%);
    border: 1px solid rgba(56, 166, 221, 0.22);
    box-shadow:
        0 36px 90px rgba(0, 40, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
}

.nmet-visual-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.nmet-visual-frame::after {
    content: "";
    position: absolute;
    inset: auto -40px -56px auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 194, 72, 0.24), rgba(255, 194, 72, 0) 68%);
    pointer-events: none;
    filter: blur(8px);
}

.nmet-frame-bg,
.nmet-frame-glow-ring,
.nmet-frame-icon,
.nmet-frame-ring,
.nmet-frame-outer-ring,
.nmet-frame-particle,
.nmet-frame-dots {
    display: none;
}

.nmet-legacy-panel-top {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.nmet-legacy-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #9fdcff;
    font-family: var(--montserrat);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: fit-content;
}

.nmet-legacy-panel-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #ffc248;
    flex: 0 0 auto;
}

.nmet-legacy-panel-top h3 {
    margin: 0;
    font-family: var(--playfair);
    font-size: clamp(2.1rem, 2.9vw, 3rem);
    line-height: 1.22;
    font-weight: 700;
    color: #ffffff;
    max-width: 18ch;
}

.nmet-legacy-panel-top p {
    margin: 18px 0 0;
    font-size: 1rem;
    line-height: 1.84;
    color: rgba(232, 243, 255, 0.8);
    max-width: 54ch;
}

.nmet-legacy-panel-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nmet-legacy-point {
    position: relative;
    z-index: 1;
    padding: 22px 20px 18px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.nmet-legacy-point strong {
    display: block;
    margin-bottom: 8px;
    font-family: var(--montserrat);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
}

.nmet-legacy-point p {
    margin: 0;
    font-family: var(--montserrat_alternates);
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(232, 243, 255, 0.76);
}

.nmet-legacy-panel-footnote {
    padding: 22px 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    z-index: 1;
}

.nmet-legacy-panel-footnote p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(232, 243, 255, 0.72);
}

.nmet-visual-frame .section-title {
    margin: 0;
}

.nmet-visual-frame .title-right {
    margin-left: 0.15em;
    color: #ffc248;
}

.nmet-visual-frame .title-left {
    color: #ffffff;
}

/* NMET legacy editorial layout. */
.nmet-legacy-section {
    padding: 104px 0 112px;
    background: #f7f4ec;
    border-bottom: 1px solid #e4ded1;
}

.nmet-legacy-section::before,
.nmet-legacy-section::after {
    display: none;
}

/* 
.nmet-legacy-shell {
    width: min(100%, 1180px);
    padding: 0 clamp(24px, 5vw, 64px);
} */

.nmet-legacy-grid {
    display: block;
}

.nmet-legacy-content {
    display: block;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nmet-legacy-content::before,
.nmet-legacy-content::after {
    display: none;
}

.nmet-legacy-heading {
    max-width: 820px;
}

.nmet-legacy-content .section-title {
    max-width: 16ch;
}

.nmet-legacy-content .desc {
    max-width: 720px;
    margin-top: 26px;
    color: #344d63;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.85;
}

.nmet-legacy-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(48px, 8vw, 96px);
    align-items: start;
    margin-top: 64px;
    padding-top: 42px;
    border-top: 1px solid #cfc7b8;
}

.nmet-legacy-narrative {
    max-width: 680px;
}

.nmet-legacy-narrative p {
    margin: 0;
    color: #44586a;
    font-family: var(--montserrat_alternates);
    font-size: 1rem;
    line-height: 1.9;
}

.nmet-legacy-narrative p+p {
    margin-top: 24px;
}

.nmet-legacy-facts {
    margin: 0;
    padding: 0 0 0 clamp(24px, 3vw, 42px);
    border-left: 1px solid #cfc7b8;
}

.nmet-legacy-facts>div {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 18px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid #ddd6c9;
}

.nmet-legacy-facts>div:first-child {
    padding-top: 0;
}

.nmet-legacy-facts dt {
    color: #00285e;
    font-family: var(--playfair);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
}

.nmet-legacy-facts dd {
    margin: 0;
    color: #536675;
    font-family: var(--montserrat_alternates);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .nmet-legacy-section {
        padding: 76px 0 82px;
    }

    .nmet-legacy-editorial {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 46px;
        padding-top: 32px;
    }

    .nmet-legacy-facts {
        padding-left: 0;
        border-left: 0;
    }
}

/* ============================================================
           SECTION 2: TIMELINE — Enhanced with Alternating Layout
           ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&display=swap');

:root {
    --bg-color-cream: #fff9f0;
    /* --color-cyan: #3fcad2; */
    --color-cyan: #38a6dd !important;
    --color-orange: #ff914d;
    --color-green: #73dc41;
    --color-coral: #ff6065;
    --color-purple: #cb6ce6;
    --color-gold: #e2b12c;
    --text-dark: #2b3a4a;
    --text-muted: #6b6355;
}

.nmet-timeline-section {
    background-color: var(--bg-color-cream);
    padding: 80px 0 120px;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.nmet-timeline-section * {
    box-sizing: border-box;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Text Styles */
.section-title {
    margin: 0;
}

/* Horizontal Track Wrapper */
.timeline-horizontal-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    margin-top: 60px;
}

/* Central Multi-colored Baseline Track Axis */
.timeline-main-axis {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 14px;
    transform: translateY(-50%);
    display: flex;
    z-index: 1;
    border-radius: 7px;
}

.timeline-main-axis .segment {
    height: 100%;
    flex: 1;
}

.seg-cyan {
    background-color: var(--color-cyan);
}

/* Individual Node Settings */
.timeline-node {
    position: absolute;
    width: 280px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Axis circular intersection anchors */
.node-axis-anchor {
    position: absolute;
    top: 84%;
    left: 50%;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Vertical Stems */
.node-connecting-stem {
    position: absolute;
    width: 6px;
    background-color: currentColor;
    z-index: 3;
}

/* Big Graphic Circles */
.node-graphic-bulb {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inner-white-circle {
    width: 68px;
    height: 68px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-white-circle svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Floating content cards */
.node-content-card {
    position: absolute;
    width: 220px;
}

.node-content-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.node-content-card p {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    padding-right: 40px;
}

/* Timeline bold node year indicators */
.node-year-display {
    position: absolute;
    font-size: 1.8rem;
    font-weight: 800;
    color: currentColor;
    z-index: 6;
}

/* TOP POINTER UNIQUE RULES */
.type-top {
    bottom: 50%;
    height: 220px;
    transform: translateX(-50%);
}

.type-top .node-axis-anchor {
    bottom: 0;
    transform: translate(-50%, 50%);
}

.type-top .node-connecting-stem {
    bottom: 0;
    top: 45px;
    left: calc(50% - 3px);
}

.type-top .node-graphic-bulb {
    top: 0;
}

.type-top .node-year-display {
    bottom: 12px;
    left: calc(42% - 65px);
}

.type-top .node-content-card {
    top: 0;
    left: 195px;
    text-align: left;
}

/* BOTTOM POINTER UNIQUE RULES */
.type-bottom {
    top: 50%;
    height: 220px;
    transform: translateX(-50%);
}

.type-bottom .node-axis-anchor {
    top: 0;
    transform: translate(-50%, -50%);
}

.type-bottom .node-connecting-stem {
    top: 0;
    bottom: 45px;
    left: calc(50% - 3px);
}

.type-bottom .node-graphic-bulb {
    bottom: 0;
}

.type-bottom .node-year-display {
    top: 12px;
    left: calc(42% - 65px);
}

.type-bottom .node-content-card {
    bottom: 0;
    left: 205px;
    text-align: left;
}

/* Color Variant Specifications */
.node-orange {
    color: var(--color-cyan);
}

.node-orange .node-axis-anchor {
    border: 6px solid var(--color-cyan);
}

.node-green {
    color: var(--color-cyan);
}

.node-green .node-axis-anchor {
    border: 6px solid var(--color-cyan);
}

.node-coral {
    color: var(--color-cyan);
}

.node-coral .node-axis-anchor {
    border: 6px solid var(--color-cyan);
}

.node-gold {
    color: var(--color-cyan);
}

.node-gold .node-axis-anchor {
    border: 6px solid var(--color-cyan);
}


/* =========================================================
   SCROLL INTERSECTION ENTRY ANIMATIONS (REPEATING ENABLED)
============================================================ */

/* Initial Invisible States */
.timeline-main-axis.dynamic-animate {
    width: 0%;
    opacity: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.timeline-node.dynamic-animate {
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-node.dynamic-animate.type-top {
    transform: translateX(-50%) translateY(30px) scale(0.8);
}

.timeline-node.dynamic-animate.type-bottom {
    transform: translateX(-50%) translateY(-30px) scale(0.8);
}

/* Triggered classes added when scrolling into view */
.timeline-main-axis.is-triggered {
    width: 100%;
    opacity: 1;
}

.timeline-node.is-triggered {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) !important;
    transition-delay: calc(var(--anim-delay) * 0.15s + 0.3s);
}

.nmet-timeline-section .section-title,
.nmet-timeline-section .timeline-horizontal-wrapper {
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.nmet-timeline-section.timeline-animate-ready .section-title,
.nmet-timeline-section.timeline-animate-ready .timeline-horizontal-wrapper {
    opacity: 0;
    transform: translateY(36px);
}

.nmet-timeline-section.timeline-animate-ready.timeline-in-view .section-title,
.nmet-timeline-section.timeline-animate-ready.timeline-in-view .timeline-horizontal-wrapper {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive adjustments for mobile/tablets */
@media (max-width: 991px) {
    .timeline-horizontal-wrapper {
        height: auto;
        padding-left: 40px;
    }

    /* Track changes from Width to Height internally for mobile view animations */
    .timeline-main-axis.dynamic-animate {
        height: 0%;
        width: 10px;
    }

    .timeline-main-axis.is-triggered {
        height: 100%;
        width: 10px;
    }

    .timeline-main-axis {
        left: 40px;
        top: 0;
        transform: none;
        flex-direction: column;
    }

    .timeline-node.dynamic-animate,
    .timeline-node.dynamic-animate.type-top,
    .timeline-node.dynamic-animate.type-bottom {
        transform: translateY(30px) scale(0.9);
    }

    .timeline-node.is-triggered {
        transform: translateY(0) scale(1) !important;
        transition-delay: calc(var(--anim-delay) * 0.1s + 0.2s);
    }

    .timeline-node {
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        bottom: auto !important;
        width: 100%;
        height: auto !important;
        flex-direction: row !important;
        margin-bottom: 50px;
        align-items: center;
    }

    .node-axis-anchor {
        left: 40px !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .node-connecting-stem {
        display: none;
    }

    .node-graphic-bulb {
        position: relative !important;
        margin-left: 60px;
        flex-shrink: 0;
        top: auto !important;
        bottom: auto !important;
    }

    .node-year-display {
        position: absolute !important;
        left: -25px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 1.4rem;
    }

    .node-content-card {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        padding-left: 20px;
        width: calc(100% - 140px);
        text-align: left !important;
    }
}

/* ============================================================
           SECTION 3: INSTITUTIONS — Enhanced Cards
           ============================================================ */
.nmet-institutions-section {
    position: relative;
    padding: 100px 0 110px;
    background: var(--nmet-dark);
    overflow: hidden;
    isolation: isolate;
}

.nmet-institutions-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(56, 166, 221, 0.02), rgba(56, 166, 221, 0.02));
    opacity: 1;
    pointer-events: none;
}

.nmet-institutions-section .container {
    position: relative;
    z-index: 1;
}

.nmet-institutions-section .title-right {
    color: var(--light-blue, #38a6dd);
}

.nmet-inst-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    /* Generous gap for the 3D shift effect */
    position: relative;
    z-index: 1;
}

/* Card Container */
.nmet-inst-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 32px 38px;
    border-radius: var(--nmet-card-radius, 24px);
    background: #ffffff;
    border: 1px solid rgba(56, 166, 221, 0.18);
    box-shadow: 0 12px 35px rgba(0, 40, 94, 0.05);
    z-index: 2;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.nmet-inst-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0d5f9e 0%, #1386c8 58%, #28b1e0 100%);
    border: 1px solid rgba(56, 166, 221, 0.18);
    border-radius: var(--nmet-card-radius, 24px);
    box-shadow: 0 15px 35px rgba(0, 40, 94, 0.06);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transform: translate(0, 0) skewX(0deg);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.4s ease;
}

.nmet-inst-card::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--nmet-card-radius, 24px) - 8px);
    /* border: 1px solid rgba(56, 166, 221, 0.12); */
    pointer-events: none;
    z-index: 1;
}

.nmet-inst-card:hover {
    background: #ffffff !important;
    border-color: transparent;
    transform: translate(-10px, -10px) rotate(1.5deg);
    box-shadow: 0 24px 54px rgba(17, 95, 148, 0.22);
}

.nmet-inst-card:hover::before {
    opacity: 1;
    transform: translate(14px, 14px) rotate(-1.5deg);
}

.nmet-inst-card:hover::after {
    border-color: rgba(255, 255, 255, 0.22);
}

.nmet-card-content {
    position: relative;
    z-index: 3;
}

.nmet-inst-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    font-family: var(--montserrat);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d5d95;
    transition: color 0.35s ease;
}

/* .nmet-inst-icon-wrap::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: linear-gradient(135deg, #38a6dd, #0d5f9e);
            flex: 0 0 auto;
            box-shadow: 0 0 0 6px rgba(56, 166, 221, 0.18);
            transition: background-color 0.35s ease, box-shadow 0.35s ease;
        } */

.nmet-inst-card:hover .nmet-inst-icon-wrap {
    color: #ffffff;
}

.nmet-inst-card:hover .nmet-inst-icon-wrap::before {
    background-color: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.nmet-inst-icon-wrap i {
    display: none;
}

.nmet-inst-card h3 {
    font-family: var(--montserrat);
    font-size: 1.55rem;
    font-weight: 700;
    color: #083f6a;
    margin: 0 0 18px;
    transition: color 0.3s ease;
}

.nmet-inst-card h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, rgba(56, 166, 221, 0.3), rgba(0, 40, 94, 0.24));
    transition: background-color 0.3s ease;
}

.nmet-inst-card:hover h3 {
    color: #ffffff;
}

.nmet-inst-card:hover h3::after {
    background-color: rgba(255, 255, 255, 0.3);
}

.nmet-inst-card h4 {
    font-family: var(--montserrat);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d5d95;
    margin: 0 0 16px;
    transition: color 0.3s ease;
}

.nmet-inst-card:hover h4 {
    color: rgba(255, 255, 255, 0.9);
}

.nmet-inst-card p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #526a82;
    margin: 0 0 26px;
    font-family: var(--montserrat_alternates);
    transition: color 0.3s ease;
}

.nmet-inst-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.nmet-card-footer {
    margin-top: auto;
    position: relative;
    z-index: 3;
}

.nmet-inst-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
}

.nmet-inst-link .link-text {
    font-family: var(--montserrat);
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d5d95;
    transition: color 0.3s ease;
}

.nmet-inst-card:hover .nmet-inst-link .link-text {
    color: #ffffff;
}

.nmet-circle-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid rgba(56, 166, 221, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d5d95;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.nmet-circle-arrow i {
    font-size: 0.95rem;
}

.nmet-inst-card:hover .nmet-circle-arrow {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0d5f9e;
}

/* Hide fallback image layers completely */
.nmet-inst-bg-pattern {
    display: none !important;
}

/* Scroll Entrance Setup */
.nmet-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: nmetInbound 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.nmet-stagger-1 {
    animation-delay: 0.15s;
}

.nmet-stagger-2 {
    animation-delay: 0.3s;
}

@keyframes nmetInbound {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
           SECTION 4: FOUNDERS — Enhanced Dark Cards
           ============================================================ */
/* Section Setup */
.nmet-founders-section {
    position: relative;
    padding: 120px 0;
    background: #f5f8ff;
    overflow: hidden;
    isolation: isolate;
}

.nmet-founders-glow-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 188, 237, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.nmet-founders-glow-2 {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 40, 94, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.nmet-founders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Luxury Card Container */
.nmet-founder-card {
    position: relative;
    height: 480px;
    border-radius: 24px;
    background: #ffffff;
    border: 10px solid #38a6dd;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 40, 94, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.6s ease;
}

.nmet-founder-card::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 14px;
    border: 1px solid rgba(56, 166, 221, 0.22);
    pointer-events: none;
    z-index: 3;
    transition: border-color 0.6s ease, opacity 0.6s ease;
    opacity: 0.95;
}

.nmet-founder-card:hover {
    transform: translateY(-10px);
    border-color: #38a6dd;
    box-shadow:
        0 30px 60px rgba(0, 40, 94, 0.12),
        0 0 0 1px rgba(56, 166, 221, 0.12);
}

.nmet-founder-card:hover::before {
    border-color: rgba(56, 166, 221, 0.28);
}

/* Absolute Layers Base */
.card-layer-image,
.card-layer-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* FRONT IMAGE STATE */
.card-layer-image {
    z-index: 1;
    opacity: 1;
    transform: scale(1) translate(0, 0);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.card-layer-image img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

/* Subtle upward/leftward slide on image to create a rich viewport offset against the incoming panel */
.nmet-founder-card:hover .card-layer-image {
    opacity: 0.4;
    transform: scale(1.05) translate(-2%, -2%);
}

/* Minimalist elegant typography overlay for image front */
.image-overlay-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 30px 35px;
    background: linear-gradient(to top, rgba(0, 28, 66, 0.95) 0%, rgba(0, 28, 66, 0.5) 60%, transparent 100%);
    text-align: left;
}

.card-subtitle {
    display: block;
    font-family: var(--montserrat);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #3dbced;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 6px;
}

.image-overlay-name h3 {
    font-family: var(--montserrat);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}


/* HOVER PREMIUM TEXT LAYER (Slides from bottom-right) */
.card-layer-text {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 255, 0.98));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 36px 34px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
    opacity: 0;
    pointer-events: none;

    transform-origin: bottom right;
    transform: translate(20%, 20%) scale(0.9);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.nmet-founder-card:hover .card-layer-text {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
}


/* MICROSTAGGER TEXT ANIMATIONS INSIDE BACK PANEL */
.card-layer-text .nmet-founder-quote-mark,
.card-layer-text .anim-item-1,
.card-layer-text .anim-item-2,
.card-layer-text .anim-item-3 {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

/* Stagger triggers upon card hover */
.nmet-founder-card:hover .nmet-founder-quote-mark {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.nmet-founder-card:hover .anim-item-1 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.16s;
}

.nmet-founder-card:hover .anim-item-2 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.22s;
}

.nmet-founder-card:hover .anim-item-3 {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.28s;
}


/* Visual Dressing Elements Details */
.nmet-founder-quote-mark {
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: var(--playfair, serif);
    font-size: 5.8rem;
    line-height: 0.7;
    color: rgba(56, 166, 221, 0.1);
    user-select: none;
}

.card-layer-text h3 {
    font-family: var(--playfair);
    font-size: 1.58rem;
    font-weight: 700;
    color: #00285e;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
    padding-bottom: 14px;
    position: relative;
}

.card-layer-text h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3dbced, rgba(0, 40, 94, 0.8));
}

.card-layer-text p {
    font-size: 0.93rem;
    line-height: 1.85;
    color: #4d627b;
    margin: 0 0 20px;
    font-family: var(--montserrat_alternates);
    font-style: italic;
    font-weight: 500;
    max-width: 27ch;
}

.nmet-founder-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(56, 166, 221, 0.08);
    border: 1px solid rgba(56, 166, 221, 0.16);
    font-family: var(--montserrat);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d4672;
}

.nmet-founder-meta::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38a6dd;
    flex: 0 0 auto;
}

.tag-container {
    display: block;
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(56, 166, 221, 0.14);
}

.nmet-founder-summary {
    display: block;
    margin-bottom: 12px;
    font-family: var(--montserrat);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #547290;
}

.nmet-founder-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    font-family: var(--montserrat);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00285e;
    background: rgba(56, 166, 221, 0.08);
    border: 1px solid rgba(56, 166, 221, 0.16);
}

/* Sleek Active Bottom Border Line */
.nmet-founder-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3dbced, #00285e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nmet-founder-card:hover .nmet-founder-line {
    transform: scaleX(1);
}

.nmet-founder-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 40, 94, 0.03) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Responsiveness options */
@media (max-width: 1024px) {
    .nmet-founders-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 100%;
        margin: 0 auto;
    }

    .nmet-founder-card {
        height: 460px;
    }
}

/* ============================================================
           SECTION 5: SOCIETY IMPACT — Enhanced
           ============================================================ */
/* .nmet-society-section {
            position: relative;
            padding: 100px 0 110px;
            background:
                radial-gradient(ellipse at 80% 15%, rgba(56, 166, 221, 0.08), transparent 32%),
                radial-gradient(ellipse at 20% 85%, rgba(0, 40, 94, 0.06), transparent 28%),
                linear-gradient(180deg, #ffffff 0%, #f0f6fe 60%, #eaf2fb 100%);
            overflow: hidden;
        }

        .nmet-society-content {
            max-width: 1000px;
            margin: 0 auto;
        }

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

        .nmet-society-card {
            padding: 36px 28px 32px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.88);
            border: 1px solid rgba(0, 40, 94, 0.06);
            box-shadow:
                0 4px 16px rgba(0, 40, 94, 0.03),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
            text-align: center;
            backdrop-filter: blur(8px);
            transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
        }

        .nmet-society-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 48px rgba(56, 166, 221, 0.08);
            border-color: rgba(56, 166, 221, 0.15);
        }

        .nmet-soc-icon {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(56, 166, 221, 0.08), rgba(0, 40, 94, 0.04));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--nmet-blue);
            margin: 0 auto 18px;
            border: 1px solid rgba(56, 166, 221, 0.08);
            transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
        }

        .nmet-society-card:hover .nmet-soc-icon {
            transform: scale(1.12) rotate(-3deg);
            background: linear-gradient(135deg, rgba(56, 166, 221, 0.15), rgba(0, 40, 94, 0.08));
            box-shadow: 0 8px 24px rgba(56, 166, 221, 0.10);
        }

        .nmet-society-card h4 {
            font-family: var(--montserrat);
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--nmet-dark);
            margin: 0 0 10px;
        }

        .nmet-society-card p {
            font-size: 0.88rem;
            line-height: 1.75;
            color: #5a6f8a;
            margin: 0;
            font-family: var(--montserrat_alternates);
        } */

/* ============================================================
           SECTION 6: CLOSING BANNER — Enhanced Quote
           ============================================================ */
.nmet-closing-section {
    position: relative;
    padding: 70px 0;
    background:
        linear-gradient(135deg, rgba(7, 39, 97, 0.92), rgba(4, 20, 50, 0.95)),
        url('assets/images/banner2.webp') center/cover no-repeat;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.nmet-closing-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(56, 166, 221, 0.12), transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.03), transparent 30%);
    pointer-events: none;
    z-index: 1;
}

/* Decorative floating orbs in closing */
.nmet-closing-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.nmet-closing-orb--1 {
    width: 200px;
    height: 200px;
    top: -60px;
    left: -60px;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.08), transparent 72%);
    animation: nmetOrbFloat 16s ease-in-out infinite alternate;
}

.nmet-closing-orb--2 {
    width: 150px;
    height: 150px;
    bottom: -40px;
    right: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 72%);
    animation: nmetOrbFloat 12s ease-in-out infinite alternate-reverse;
}

.nmet-closing-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.nmet-closing-content .section-kicker {
    justify-content: center;
    margin-bottom: 28px;
}

.nmet-closing-content .section-kicker::before {
    background: rgba(255, 255, 255, 0.5);
}

/* Decorative quote mark in closing */
.nmet-closing-quote-symbol {
    font-family: var(--playfair);
    font-size: 6rem;
    line-height: 0.5;
    color: rgba(56, 166, 221, 0.10);
    margin-bottom: -30px;
    position: relative;
    z-index: 1;
}

.nmet-closing-content h2 {
    font-family: var(--playfair);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 28px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.nmet-closing-content p {
    font-family: var(--montserrat_alternates);
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Decorative divider dots in closing */
.nmet-closing-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.nmet-closing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(56, 166, 221, 0.20);
    animation: nmetDotPulse 2s ease-in-out infinite;
}

.nmet-closing-dots span:nth-child(2) {
    animation-delay: 0.3s;
}

.nmet-closing-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes nmetDotPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}







/* ------------------------------------- */
/* MANAGING-TRUSTEE-MESSAGE */
/* ------------------------------------- */


/* ------------------------------------- */
/* 1. SECTION CONTAINER LAYOUT           */
/* ------------------------------------- */
.trustee-section {
    position: relative;
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    /* height: 100vh; */
    height: auto;
    padding: 50px 30px;
    box-sizing: border-box;
    /* overflow: hidden; */
}

.trustee-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background:
                radial-gradient(circle at 8% 20%, rgba(56, 166, 221, 0.15), transparent 30%),
                radial-gradient(circle at 92% 12%, rgba(0, 40, 94, 0.06), transparent 25%),
                linear-gradient(135deg, #f5fafb 0%, #ffffff 50%, #fafcff 100%); */
    z-index: 0;
}

.trustee-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
    align-items: stretch;
    gap: 50px;
    height: 100%;
}

/* ------------------------------------- */
/* 2. LEFT SIDE: PREMIUM PHOTO HOLDER    */
/* ------------------------------------- */
.image-column {
    width: 100%;
    height: 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #edf5ff 0%, #d5e6fb 60%, #eef5fe 100%);
    box-shadow:
        0 15px 35px rgba(0, 40, 94, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    isolation: isolate;
    border: 1px solid rgba(197, 215, 238, 0.8);
}

.image-column::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 2;
}

.image-column .trustee-clean-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(12px);
    animation: trusteeOrbDrift 14s ease-in-out infinite alternate;
}

.image-column .trustee-clean-orb.orb-1 {
    width: 280px;
    height: 280px;
    top: 5%;
    left: -50px;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.22), transparent 70%);
}

.image-column .trustee-clean-orb.orb-2 {
    width: 350px;
    height: 350px;
    right: -80px;
    bottom: 12%;
    background: radial-gradient(circle, rgba(0, 40, 94, 0.1), transparent 72%);
    animation-duration: 18s;
}

.image-column img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.trustee-container .image-column img {
    object-fit: none;
}

.image-column:hover img {
    transform: scale(1.02);
}

/* ------------------------------------- */
/* 3. RIGHT SIDE: ARTICLE CONTENT        */
/* ------------------------------------- */
.info-column {
    display: flex;
    flex-direction: column;
    padding: 10px 0 0;
    height: 100%;
    /* overflow: hidden; */
}

.trustee-name {
    font-family: var(--playfair);
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.trustee-title {
    font-family: var(--montserrat);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Enhanced Scrollable container */
.desc-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 24px;
    border-top: 1px solid rgba(44, 98, 170, 0.15);
    padding-top: 30px;
    margin-bottom: 15px;

    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    will-change: transform, opacity;
}

.desc-content.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Beautiful Blockquote Styling */
.trustee-quote-intro {
    background: linear-gradient(90deg, rgba(56, 166, 221, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
    border-left: 4px solid var(--accent-blue);
    /* Right padding keeps space from scrollbar; left padding provides base spacing */
    padding: 24px 30px 2px 20px;
    border-radius: 14px;
    position: relative;
    margin-bottom: 30px;
}

.trustee-quote-mark {
    position: absolute;
    /* Aligned neatly in the top-left corner of the box */
    top: 15px;
    left: 15px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.trustee-quote-mark i {
    font-size: 3rem;
    /* Adjusted slightly for crisp alignment */
    color: rgb(0, 40, 94);
    /* Subtle watermark effect */
}

.trustee-quote-intro p {
    font-family: var(--poppins);
    font-style: italic;
    color: var(--dark-blue);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0;
    /* Indents the quote text so it sits neatly to the right of the absolute icon */
    padding-left: 55px;
    position: relative;
    z-index: 2;
}

.desc-content p {
    font-family: var(--poppins);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 0.98rem;
    margin-bottom: 24px;
}

.desc-content .closing-wish {
    margin-top: 35px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 1.05rem;
}

.trustee-signature {
    margin-top: 8px;
    font-weight: 600;
    font-style: italic;
    color: var(--dark-blue);
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
}

/* Premium Webkit Scrollbar */
.desc-content::-webkit-scrollbar {
    width: 5px;
}

.desc-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.desc-content::-webkit-scrollbar-thumb {
    background: rgba(0, 40, 94, 0.12);
    border-radius: 10px;
    transition: background 0.3s;
}

.desc-content::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}

/* ------------------------------------- */
/* 4. FOOTER SIGNATURE & LAYOUT          */
/* ------------------------------------- */
.profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(44, 98, 170, 0.15);
    padding-top: 20px;
    margin-top: auto;
    background: transparent;
}

.signature-mock {
    font-family: var(--playfair);
    font-style: italic;
    font-size: 1.9rem;
    color: #1e4b9e;
    font-weight: 600;
    opacity: 0.9;
    user-select: none;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trustee-social-label {
    color: #5c6f84;
    font-family: var(--poppins);
    font-size: 0.88rem;
    font-weight: 500;
    margin-right: 4px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(44, 98, 170, 0.12);
    color: var(--dark-blue);
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.social-icon:hover {
    color: #ffffff;
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 40, 94, 0.15);
}

/* Animations */
@keyframes trusteeOrbDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -25px) scale(1.1);
    }
}

/* Responsive Overrides (Kept for safe breakdowns) */
@media(max-width: 1100px) {
    .trustee-section {
        height: auto;
        overflow: visible;
        padding: 60px 20px;
    }

    .trustee-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .image-column {
        min-height: 600px;
        max-width: 100%;
    }

    .desc-content {
        overflow-y: visible;
        /* padding-right: 0; */
    }

    .info-column {
        height: auto;
    }
}

@media(max-width: 600px) {
    .trustee-name {
        font-size: 2.3rem;
    }

    .profile-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .trustee-quote-intro {
        padding: 20px;
    }
}




/* ------------------------------------- */
/* MANAGING-TRUSTEE-MESSAGE */
/* ------------------------------------- */

.top-row-grid,
.mission-master-panel,
.video-arena-block {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1300px;
}

.top-row-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr);
    gap: 2.6rem;
    align-items: stretch;
    margin-bottom: 4rem;
    margin-top: 1rem;
    position: relative;
}

.motto-vision-card {
    background:
        radial-gradient(circle at top right, rgba(56, 166, 221, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border-radius: 28px;
    padding: 2.4rem 2.3rem 2.25rem;
    box-shadow: 0 28px 70px rgba(0, 40, 94, 0.08);
    border: 1px solid rgba(0, 40, 94, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    min-height: 430px;
    overflow: hidden;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.motto-vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 78px rgba(0, 40, 94, 0.12);
}

.motto-card-wrapper {
    border-left: 5px solid var(--blue);
}

.vision-card-wrapper {
    border-right: 5px solid var(--blue);
}

.card-header-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.header-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue), #0d4f96);
    color: var(--white);
    font-size: 1.55rem;
    box-shadow: 0 20px 35px rgba(0, 40, 94, 0.18);
    flex-shrink: 0;
}

.badge-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--montserrat);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.4rem;
}

.badge-title::before {
    content: "";
    width: 24px;
    height: 1px;
    background: rgba(56, 166, 221, 0.55);
}

.mission-page-title {
    font-size: clamp(2rem, 2.5vw, 2.7rem);
    line-height: 1.05;
    margin: 0;
}

.mission-page-title .title-left {
    font-family: var(--montserrat);
    font-weight: 500;
    color: var(--dark-blue);
}

.mission-page-title .title-right {
    font-family: var(--playfair);
    font-weight: 600;
    font-style: italic;
    color: var(--blue);
}

.motto-vision-card h3 {
    font-family: var(--playfair);
    font-size: clamp(1.45rem, 1.8vw, 1.9rem);
    line-height: 1.2;
    color: var(--dark-blue);
    margin-bottom: 1.15rem;
    max-width: 16ch;
}

.motto-vision-card .desc,
.mission-inner-node-card .desc,
.mission-title-block .desc,
.video-arena-block .desc {
    opacity: 1;
    transform: none;
}

.motto-vision-card .desc {
    font-size: 1rem;
    line-height: 1.9;
    color: #4d5b73;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.dot-matrix-design {
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 94px;
    height: 94px;
    opacity: 0.22;
    background-image: radial-gradient(var(--blue) 1.4px, transparent 1.4px);
    background-size: 12px 12px;
    pointer-events: none;
}

.vision-tags-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: auto;
    padding-top: 1.4rem;
    position: relative;
    z-index: 1;
}

.v-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(56, 166, 221, 0.12);
    border: 1px solid rgba(56, 166, 221, 0.18);
    color: var(--dark-blue);
    font-family: var(--montserrat);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.crest-center-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.crest-center-container::before {
    content: "";
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.22), rgba(56, 166, 221, 0));
    filter: blur(18px);
    z-index: -1;
}

.crest-logo-anchor {
    width: 320px;
    height: 278px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crest-logo-anchor::before,
.crest-logo-anchor::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(2.6rem - 16px);
    border-top: 2.5px dashed rgba(56, 166, 221, 0.38);
    transform: translateY(-50%);
    pointer-events: none;
}

.crest-logo-anchor::before {
    right: calc(100% + 16px);
}

.crest-logo-anchor::after {
    left: calc(100% + 16px);
}

.outer-hex-trace {
    width: 320px;
    height: 278px;
    background: linear-gradient(135deg, var(--blue), #6bd0ff);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 24px 40px rgba(0, 40, 94, 0.14));
}

.inner-hex-sphere {
    width: 308px;
    height: 268px;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
}

.hex-logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hex-logo-wrapper img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0, 40, 94, 0.12));
}

/* .crest-caption {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            padding: 0.6rem 1rem;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(56, 166, 221, 0.16);
            box-shadow: 0 10px 24px rgba(0, 40, 94, 0.06);
            color: var(--dark-blue);
            font-family: var(--montserrat);
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .crest-caption i {
            color: var(--blue);
        } */

.mission-master-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 255, 0.98)),
        linear-gradient(135deg, rgba(56, 166, 221, 0.08), transparent 42%);
    border-radius: 32px;
    padding: 3.3rem;
    box-shadow: 0 32px 80px rgba(0, 40, 94, 0.08);
    border: 1px solid rgba(0, 40, 94, 0.05);
    position: relative;
    margin-bottom: 4rem;
    overflow: hidden;
}

.mission-panel-accent-bar {
    position: absolute;
    top: 34px;
    left: 34px;
    width: 82px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), rgba(56, 166, 221, 0.15));
}

.mission-top-header {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-bottom: 2.2rem;
    padding-right: 6rem;
    position: relative;
    z-index: 1;
}

.mission-main-icon-container {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--dark-blue), #0e5ea2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 20px 40px rgba(0, 40, 94, 0.18);
    flex-shrink: 0;
}

.mission-title-block {
    max-width: 760px;
}

.mission-title-block .desc {
    margin-top: 0.85rem;
    font-size: 1.02rem;
    line-height: 1.85;
    color: #506078;
}

.mission-cards-container-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
    position: relative;
    z-index: 1;
}

.mission-inner-node-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 40, 94, 0.08);
    border-radius: 22px;
    padding: 2.35rem 1.35rem 1.55rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 250px;
    box-shadow: 0 18px 30px rgba(0, 40, 94, 0.04);
    backdrop-filter: blur(6px);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-inner-icon-sphere {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px dashed rgba(56, 166, 221, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    background: linear-gradient(180deg, #ffffff, #eef8ff);
    transition: all 0.35s ease;
}

/* --- Vertical Ribbon Base Style --- */
.card-corner-flag-num {
    position: absolute;
    top: -14px;
    /* Adjusts how high the loop sits above the card */
    left: 25px;
    /* Position from the left edge */
    width: 42px;
    height: 65px;
    background: #38a6dd;
    /* Base ribbon color */
    color: #ffffff;
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 12px;
    /* Shifts text up slightly away from the V-cut */
    box-sizing: border-box;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 40, 94, 0.15);

    /* Dashed stitching lines on the sides like the image */
    /* border-left: 1px dashed rgba(255, 255, 255, 0.4);
            border-right: 1px dashed rgba(255, 255, 255, 0.4); */

    /* Creates the precise vertical ribbon V-shaped cutout at the bottom */
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 84%, 0% 100%);
    transition: all 0.35s ease;
}

/* --- The 3D Fold-Under Element --- */

.mission-inner-node-card h4 {
    font-family: var(--montserrat);
    font-size: 1.03rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.7rem;
    line-height: 1.35;
}

.mission-inner-node-card .desc {
    font-size: 0.95rem;
    line-height: 1.72;
    color: #59677d;
    margin-bottom: 0;
}

.mission-inner-node-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, #083768 0%, var(--dark-blue) 100%);
    /* border-color: rgba(56, 166, 221, 0.4); */
    outline: 5px solid #38a6dd;
    box-shadow: 0 26px 44px rgba(0, 40, 94, 0.18);
}

.mission-inner-node-card:hover .card-inner-icon-sphere {
    background: var(--blue);
    color: var(--white);
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(8deg);
}

.mission-inner-node-card:hover h4 {
    color: var(--white);
}

.mission-inner-node-card:hover .card-corner-flag-num {
    background: #ffffff;
    color: var(--dark-blue);

    transform: translateY(-4px);
    /* Slight organic lift on hover */
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); */
    border: 5px solid #38a6dd;
}

.mission-inner-node-card:hover .card-corner-flag-num::before {
    background: #cbdce8;
    /* Lightened shadow tone to match the white ribbon hover */
}

.mission-inner-node-card:hover .desc {
    color: rgba(255, 255, 255, 0.82);
}

.video-arena-block {
    background: linear-gradient(135deg, #052a52 0%, #0b4c87 100%);
    border-radius: 30px;
    padding: 2.3rem;
    margin-bottom: 4.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 64px rgba(0, 40, 94, 0.14);
}

.video-arena-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
    pointer-events: none;
}

.video-arena-block h3 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--playfair);
    font-size: clamp(1.7rem, 2vw, 2.25rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.video-arena-block h3 i {
    color: #8fe0ff;
}

.video-preview-trigger-card {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumbnail-meta {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: var(--white);
}

.video-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    font-family: var(--montserrat);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-caption {
    font-family: var(--playfair);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.15;
    max-width: 18ch;
    margin: 0;
}

.video-subcaption {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.video-preview-trigger-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.thumbnail-container-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #0d1622;
    border-radius: 18px;
    overflow: hidden;
}

.thumbnail-container-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 15, 35, 0.08), rgba(0, 15, 35, 0.7)),
        linear-gradient(90deg, rgba(0, 40, 94, 0.42), transparent 60%);
}

.thumbnail-container-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: transform 0.4s ease;
}

.video-preview-trigger-card:hover .thumbnail-container-box img {
    transform: scale(1.04);
}

.pulse-play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.45rem;
    z-index: 2;
    box-shadow: 0 0 0 0 rgba(56, 166, 221, 0.5);
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.96);
        box-shadow: 0 0 0 0 rgba(56, 166, 221, 0.6);
    }

    70% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(56, 166, 221, 0);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.96);
        box-shadow: 0 0 0 0 rgba(56, 166, 221, 0);
    }
}

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 94, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.video-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-body-container {
    width: 100%;
    max-width: 860px;
    background: #000;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.video-modal-overlay.active .modal-body-container {
    transform: scale(1);
}

.modal-close-trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal-close-trigger:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.modal-responsive-iframe-holder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.modal-responsive-iframe-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1140px) {

    .crest-logo-anchor::before,
    .crest-logo-anchor::after {
        display: none;
    }

    .top-row-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .crest-center-container {
        grid-row: 1;
        margin: 0 auto;
    }

    .motto-vision-card,
    .mission-master-panel,
    .video-arena-block {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .mission-cards-container-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mission-top-header {
        padding-right: 0;
    }
}

@media (max-width: 767px) {

    .top-row-grid,
    .mission-master-panel,
    .video-arena-block {
        width: min(100%, calc(100% - 24px));
    }

    .motto-vision-card,
    .mission-master-panel,
    .video-arena-block {
        padding: 1.6rem;
        border-radius: 22px;
    }

    .card-header-flex,
    .mission-top-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-icon-box,
    .mission-main-icon-container {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .outer-hex-trace {
        width: 250px;
        height: 218px;
    }

    .inner-hex-sphere {
        width: 242px;
        height: 210px;
    }

    .video-thumbnail-meta {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .video-caption {
        max-width: none;
    }

    .mission-cards-container-grid {
        grid-template-columns: 1fr;
    }
}































/* Responsive  */
@media (max-width: 1024px) {
    .timeline-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .vertical-dashed-drops-grid,
    .horizontal-track-container {
        display: none;
    }

    .editorial-timeline-section {
        padding: 4rem 2rem;
    }

    .branded-timeline-card {
        min-height: 380px;
    }

    .card-icon-halo-wrapper {
        width: 84px !important;
        height: 84px !important;
    }
}

@media (max-width: 600px) {
    .editorial-timeline-section {
        padding: 1.5rem 1rem;
    }

    .timeline-cards-container {
        grid-template-columns: 1fr;
    }

    .branded-timeline-card {
        min-height: auto;
        border-radius: 24px;
        padding: 3.25rem 1.4rem 2.6rem 1.4rem;
    }

    .card-ribbon-badge {
        left: 1.2rem;
    }

    .card-display-metric {
        font-size: 2.7rem;
    }

    .card-display-metric.structural-range {
        font-size: 2.25rem;
    }
}

@media (max-width: 1000px) {
    .editorial-timeline-title-wrap {
        margin-bottom: 2.4rem;
    }

    .editorial-timeline-title,
    .team-section-title {
        font-size: clamp(2.5rem, 8vw, 4.4rem);
    }

    .branded-timeline-card {
        min-height: 320px;
        padding: 2.45rem 1.15rem 2.05rem;
    }

    .card-icon-halo-wrapper {
        width: 84px;
        height: 84px;
    }

    .halo-core-disc {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 600px) {
    .branded-timeline-card {
        min-height: auto;
        padding: 2.55rem 1.1rem 2.1rem;
    }

    .card-display-metric {
        font-size: 2.15rem;
    }

    .card-display-metric.structural-range {
        font-size: 1.85rem;
    }

    .team-section {
        padding-top: 64px;
        padding-bottom: 76px;
    }

    .team-section::after,
    .team-section__dot-field {
        opacity: 0.38;
    }
}

/* NMET introduction: editorial split layout with a softly blended campus image. */
.academic-page .nmet-legacy-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(241, 246, 255, 0.72) 28%, rgba(255, 255, 255, 0) 100%);
    color: var(--dark-blue);
}

/* .academic-page .nmet-legacy-section::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    top: -150px;
    left: 18%;
    width: 360px;
    height: 280px;
    border: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 166, 221, 0.13), transparent 68%);
    filter: blur(2px);
    pointer-events: none;
} */

.academic-page .nmet-legacy-section::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 26px;
    left: 28px;
    width: 170px;
    height: 110px;
    opacity: 0.42;
    background-image: radial-gradient(circle, rgba(0, 40, 94, 0.22) 1.5px, transparent 1.7px);
    background-size: 15px 15px;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(135deg, #000, transparent 82%);
    mask-image: linear-gradient(135deg, #000, transparent 82%);
}

.academic-page .nmet-legacy-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.academic-page .nmet-legacy-layout {
    display: grid;
    grid-template-columns: minmax(420px, 0.86fr) minmax(0, 1.14fr);
    min-height: 410px;
    align-items: stretch;
}

.academic-page .nmet-legacy-content {
    position: relative;
    z-index: 3;
    display: flex;
    max-width: 600px;
    padding: clamp(32px, 3.4vw, 48px) 24px clamp(30px, 3.2vw, 44px) clamp(32px, 6.5vw, 96px);
    flex-direction: column;
    justify-content: center;
}

.academic-page .nmet-legacy-content::before,
.academic-page .nmet-legacy-content::after {
    display: none;
}

.academic-page .nmet-legacy-eyebrow {
    display: inline-block;
    width: fit-content;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--blue);
    color: #287eae;
    font-family: var(--montserrat);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.academic-page .nmet-legacy-title {
    margin: 0;
    font-family: var(--montserrat);
    font-size: clamp(2.25rem, 3.2vw, 3.4rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.academic-page .nmet-legacy-title span,
.academic-page .nmet-legacy-title em {
    display: block;
}

.academic-page .nmet-legacy-title em {
    margin-top: 5px;
    color: var(--blue);
    font-family: var(--playfair);
    font-weight: 600;
}

.academic-page .nmet-legacy-intro {
    max-width: 540px;
    margin: 16px 0 18px;
    color: #46576a;
    font-family: var(--montserrat_alternates);
    font-size: 0.94rem;
    line-height: 1.7;
}

.academic-page .nmet-legacy-quote {
    position: relative;
    max-width: 475px;
    padding: 8px 0 0 44px;
}

.academic-page .nmet-legacy-quote::before {
    content: "\201C";
    position: absolute;
    top: -2px;
    left: 0;
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.academic-page .nmet-legacy-quote blockquote {
    margin: 0 0 9px;
    color: var(--dark-blue);
    font-family: var(--playfair);
    font-size: clamp(1.08rem, 1.45vw, 1.38rem);
    font-weight: 700;
    line-height: 1.32;
}

.academic-page .nmet-legacy-quote p {
    max-width: 390px;
    margin: 0;
    color: #59697c;
    font-family: var(--montserrat_alternates);
    font-size: 0.75rem;
    line-height: 1.55;
}

.academic-page .nmet-legacy-quote-rule {
    display: block;
    width: 44px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 99px;
    background: var(--blue);
}

.academic-page .nmet-legacy-visual {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 410px;
    margin: 0;
    overflow: hidden;
}

.academic-page .nmet-legacy-visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.9) 8%, rgba(255, 255, 255, 0.42) 25%, transparent 52%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.18), transparent 32%);
    pointer-events: none;
}

.academic-page .nmet-legacy-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% center;
    filter: saturate(0.86) contrast(0.96) brightness(1.04);
}

@media (max-width: 991px) {
    .academic-page .nmet-legacy-layout {
        grid-template-columns: 1fr;
    }

    .academic-page .nmet-legacy-content {
        max-width: 760px;
        margin: 0 auto;
        padding: 42px 32px 38px;
    }

    .academic-page .nmet-legacy-visual {
        min-height: 300px;
    }

    .academic-page .nmet-legacy-visual::before {
        background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.35) 18%, transparent 45%);
    }

}

@media (max-width:767px) {
    .jnis-trustees-section-title {
        margin-bottom: 20px !important;
    }

    .philosophy-notebook-wrapper,
    .jnis-trustees-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .timeline-node {
        flex-direction: column !important;
        align-items: start;
    }

    .node-content-card {
        width: 100%;
        margin-top: 10px !important;
    }

    .node-year-display {
        transform: rotate(270deg) translateY(-50%) !important;
        left: -34px !important;
        top: 14% !important;
    }

    .node-axis-anchor {
        left: 2px !important;
        top: 20% !important;
    }

    .node-graphic-bulb {
        width: 74px;
        height: 74px;
    }

    .node-connecting-stem {
        display: block !important;
    }

    .type-bottom .node-connecting-stem,
    .type-top .node-connecting-stem {
        top: 35px;
        bottom: 45px;
        left: 0;
        height: 3px;
        width: 60px;
    }
}

@media (max-width: 600px) {
    .academic-page .nmet-legacy-content {
        padding: 38px 22px 32px;
    }

    .academic-page .nmet-legacy-title {
        font-size: clamp(2.4rem, 11vw, 3.25rem);
    }

    .academic-page .nmet-legacy-quote {
        padding-left: 42px;
    }

    .academic-page .nmet-legacy-visual {
        min-height: 210px;
    }
}


.trustee-container {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: start;
}

.trustee-container .image-column {
    align-self: start;
    position: relative;
    width: 100%;
}

.trustee-container .info-column {
    min-width: 0;
}


/* JS adds this */
.trustee-container .image-column.trustee-sticky {
    position: sticky !important;
    top: 100px;
}


/* When JS removes sticky */
.trustee-container .image-column.trustee-normal {
    position: sticky;
    top: 100px;
}

@media (max-width:992px) {
    .trustee-container {
        grid-template-columns: 100%
    }

    .trustee-container .image-column.trustee-sticky {
        position: relative !important;
        top: 0 !important;
    }
    .image-column {
        max-height: 600px;
    }
    .trustee-section .image-column.trustee-normal{
        position: unset !important;
        top: 0 !important;
    }
    
}


@media (max-width: 767px) {

    .trustee-container {
        display: block;
    }

    .trustee-container .image-column {
        position: relative !important;
        top: auto !important;
    }

}