/* ============================================================
   RESET & BASE
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #020202;
    font-family: 'Inter', sans-serif;
    color: #ececec;
    line-height: 1.3;
}

.site-container {
    max-width: 1600px;
    margin: 0 auto;
    background: #060606;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}

h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
    outline: none;
}

:focus {
    outline: none;
}

::selection {
    background: #535353;
    color: #fff;
}

.section-sub {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #a3a3a3;
    margin-bottom: 1rem;
    display: inline-block;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(2, 2, 2, 0.68);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 200;
    flex-wrap: wrap;
}

.nav-bar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

    .nav-links a,
    .nav-links .my-nav-button {
        text-decoration: none;
        color: #cfcfcf;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        font-weight: 400;
        transition: color 0.2s;
        cursor: pointer;
    }

        .nav-links a:hover,
        .nav-links .my-nav-button:hover {
            color: lightskyblue;
        }

/* Hamburger toggle — hidden by default */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #cfcfcf;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

    .nav-toggle:hover {
        color: lightskyblue;
    }

.nav-toggle-icon {
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

/* Language dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #181818;
    z-index: 1;
    padding: 8px;
}

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu a {
        display: block;
        padding: 0.6rem 1rem;
        color: #cfcfcf;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: color 0.2s;
        /* ADD THIS LINE: */
        white-space: nowrap; /* Prevents the text from wrapping to the next line */
    }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            color: lightskyblue;
        }

.my-nav-button {
    all: inherit;
}

.my-nav-item {
    padding: 0;
    margin: 0;
    position: relative;
}

.my-custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ============================================================
   LOGO
   ============================================================ */

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .logo-wrapper a {
        cursor: pointer;
        display: inline-block; /* Ensures the clickable area wraps the image exactly */
    }

.logo-image {
    height: 64px;
    width: auto;
}

/* ============================================================
   HERO
   ============================================================ */

.hero-splash {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: #000000;
    overflow: hidden;
}

.mono-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    z-index: 0;
    opacity: 0.8;
}

    .mono-grid .grid-photo {
        background-size: cover;
        background-position: center;
    }

/* Specialist Mobility Hero Grid (4x3) */
.specialists-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    z-index: 0;
    opacity: 0.8;
}

    .specialists-grid .grid-photo {
        background-size: cover;
        background-position: center;
        filter: grayscale(68%);
    }

.hero-caption {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 2.5rem;
    margin-left: 5rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    border-left: 4px solid #b5b5b5;
}

.invite-tag {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: #cecece;
    margin-bottom: 1rem;
}

.hero-caption h1 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-caption p {
    font-size: 0.95rem;
    color: #dbdbdb;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-subtle {
    background: transparent;
    border: 1px solid #acacac;
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-subtle:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: lightskyblue;
    }

/* ============================================================
   DISCRETION / CORE SECTION
   ============================================================ */

.core-discretion {
    padding: 5rem 3rem;
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.flex-exclusive {
    display: flex;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.exclusive-text {
    flex: 1.3;
}

    .exclusive-text h2 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

.sep {
    width: 70px;
    height: 1.5px;
    background: #7e7e7e;
    margin: 1rem 0 1.5rem 0;
}

.exclusive-text p {
    color: #bcbcbc;
    margin-bottom: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
}

.code-word {
    margin-top: 1.8rem;
    background: #111111;
    padding: 0.8rem 1.2rem;
    border-left: 3px solid #9e9e9e;
    font-size: 0.8rem;
    color: #d4d4d4;
}

.exclusive-stats {
    flex: 0.9;
    background: #0e0e0e;
    padding: 2rem;
    border: 1px solid #252525;
}

.stat-item {
    border-bottom: 0.5px solid #2c2c2c;
    padding: 1rem 0;
}

    .stat-item h4 {
        font-weight: 500;
        font-size: 0.9rem;
        letter-spacing: 0.05em;
    }

    .stat-item p {
        font-size: 0.75rem;
        color: #999;
        margin-top: 4px;
    }

/* ============================================================
   GALLERY / MANDATE ARCHITECTURE (section wrapper)
   ============================================================ */

.gallery-mono {
    padding: 5rem 3rem;
    background: #030303;
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .gallery-title h3 {
        font-size: 1.9rem;
        font-weight: 450;
        text-transform: uppercase;
    }

    .gallery-title p {
        color: #888;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

/* Mandate Architecture matrix */

.cohort-matrix {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.cohort-node {
    padding: 2.25rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.node-code {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    color: #5a5a5a;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.cohort-node h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ececec;
    margin: 0;
}

.cohort-node p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.75;
    font-weight: 300;
    color: #a0a0a0;
    margin: 0;
}

.corridor-strip {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.corridor-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: #6a6a6a;
    text-transform: uppercase;
    white-space: nowrap;
}

.corridor-list {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: #cfcfcf;
    text-transform: uppercase;
}

/* ============================================================
   CTA
   ============================================================ */

.private-chamber {
    padding: 4rem 3rem;
    background: #0b0b0b;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/*.chamber-card {
    max-width: 750px;
    margin: 0 auto;
    background: #111;
    padding: 3rem 2rem;
    border: 1px solid #2c2c2c;
    box-shadow: 0 20px 35px -12px black;
}*/

.chamber-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border: 1px solid #2c2c2c;
    box-shadow: 0 20px 35px -12px black;
    background-color: #0a0f19; /* fallback if image fails */
}

    /* grayscale + blurred image layer */
    .chamber-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -2;
        background: url('/images/bg1.jpg');
        background-position: center 40%;
        background-size: cover;
        background-repeat: no-repeat;
        filter: grayscale(1) blur(1.5px) contrast(1.05);
        transform: scale(1.04); /* hides blur edge bleed */
    }

    /* your existing gradient overlay */
    .chamber-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(180deg, rgba(6, 10, 18, 0.30) 0%, rgba(6, 10, 18, 0.60) 50%, rgba(6, 10, 18, 0.80) 100%);
    }

    .chamber-card h4 {
        font-size: 1.8rem;
        font-weight: 450;
        letter-spacing: 0.01em;
        margin-bottom: 0.6rem;
    }

.discreet-badge {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: #1c1c1c;
    display: inline-block;
    padding: 0.2rem 0.8rem;
    margin-bottom: 1.5rem;
    color: #bbb;
}

.chamber-card p {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.btn-dark {
    background: #181818;
    border: 1px solid #5a5a5a;
    padding: 0.9rem 2.3rem;
    font-weight: 500;
    color: #eee;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
}

    .btn-dark:hover {
        background: #272727;
        border-color: lightskyblue;
    }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.7rem;
    color: #5e5e5e;
    border-top: 0.5px solid #1b1b1b;
    background: #020202;
}

.disclaimer {
    color: inherit;
    text-decoration: none;
}

    .disclaimer:visited {
        color: inherit;
    }

    .disclaimer:active {
        color: inherit;
    }

/* ============================================================
   SCROLL MARGINS (anchor offset under sticky nav)
   ============================================================ */

#s0 {
    scroll-margin-top: 168px;
}

#s1, #s2, #s3 {
    scroll-margin-top: 68px;
}

#q1 {
    scroll-margin-top: 88px;
}

/* ============================================================
   QUESTIONNAIRE
   ============================================================ */

.questionnaire-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background: #331c4b;
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 20px 35px -12px black;
}

    .questionnaire-container.visible {
        max-height: 12000px;
        transition: max-height 0.2s ease-in;
    }

.questionnaire-wrapper {
    padding: 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.questionnaire-container.visible .questionnaire-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.questionnaire-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

    .questionnaire-header h3 {
        font-size: 28px;
        color: #ececec;
        margin-bottom: 10px;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

    .questionnaire-header p {
        color: #a3a3a3;
        font-size: 0.85rem;
    }

.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 400;
        color: #cfcfcf;
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

.form-control {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 0;
    font-size: 1.0rem;
    background: #231235;
    color: #ececec;
    transition: border-color 0.2s;
}

    .form-control::placeholder {
        color: #5e5e5e;
    }

.checkbox-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

    .checkbox-group label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: normal;
        cursor: pointer;
        color: #cfcfcf;
        font-size: 0.85rem;
        text-transform: none;
        letter-spacing: normal;
    }

    .checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
        background: #060606;
        border: 1px solid #2c2c2c;
    }

.questionnaire-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-submit {
    background: #181818;
    color: #eee;
    border: 1px solid #5a5a5a;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

    .btn-submit:hover {
        background: #272727;
        border-color: lightskyblue;
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.btn-cancel {
    background: transparent;
    color: #a3a3a3;
    border: 1px solid #2c2c2c;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

    .btn-cancel:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: #5a5a5a;
        color: #ececec;
    }

    .btn-cancel:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Input state: invalid (red left border) */
input.invalid,
select.invalid,
textarea.invalid {
    border: none;
    border-left: 4px solid #dc3545;
}

/* Input state: modified + valid (green left border) */
input.modified.valid,
select.modified.valid,
textarea.modified.valid {
    border: none;
    border-left: 4px solid #28a745;
}

/* Browser autofill background override */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    transition: background-color 9999s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0px 1000px #231235 inset !important;
    -webkit-text-fill-color: #ececec !important;
}

/* ============================================================
   LEGAL PAGES (Disclaimer / Terms / Privacy)
   ============================================================ */

.disclaimer-page {
    padding: 4rem 3rem 5rem;
    background: transparent;
    min-height: 60vh;
}

.disclaimer-inner {
    max-width: 780px;
    margin: 0 auto;
}

.disclaimer-header {
    padding-bottom: 2rem;
    margin-bottom: 2.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .disclaimer-header .section-sub {
        display: inline-block;
        font-size: 0.65rem;
        letter-spacing: 0.28em;
        color: #7a7a7a;
        margin-bottom: 1.2rem;
    }

    .disclaimer-header h1 {
        font-size: 1.9rem;
        line-height: 1.3;
        font-weight: 500;
        letter-spacing: -0.01em;
        margin: 0 0 1.25rem 0;
        color: #ececec;
    }

.disclaimer-meta {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin: 0;
}

.disclaimer-block {
    margin-bottom: 2.5rem;
}

    .disclaimer-block:last-of-type {
        margin-bottom: 0;
    }

    .disclaimer-block h2 {
        font-size: 1.05rem;
        line-height: 1.4;
        font-weight: 500;
        color: #ececec;
        margin: 0 0 1.1rem 0;
    }

    .disclaimer-block p {
        font-size: 0.9rem;
        line-height: 1.85;
        font-weight: 300;
        color: #b8b8b8;
        margin: 0 0 1.35rem 0;
    }

        .disclaimer-block p:last-child {
            margin-bottom: 0;
        }

    .disclaimer-block a {
        color: #cfcfcf;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .disclaimer-block a:hover {
            color: lightskyblue;
        }

.disclaimer-actions {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 3rem 4rem;
    text-align: center;
}

/* CJK overrides for legal pages */

.lang-zh {
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

    .lang-zh .disclaimer-header .section-sub {
        letter-spacing: 0.35em;
        font-size: 0.7rem;
    }

    .lang-zh .disclaimer-meta {
        letter-spacing: 0.12em;
        font-size: 0.72rem;
        text-transform: none;
    }

    .lang-zh .disclaimer-header h1 {
        font-size: 1.85rem;
        line-height: 1.45;
        letter-spacing: 0.02em;
    }

    .lang-zh .disclaimer-block h2 {
        font-size: 1.1rem;
        line-height: 1.6;
        letter-spacing: 0.02em;
        font-weight: 600;
    }

    .lang-zh .disclaimer-block p {
        font-size: 0.92rem;
        line-height: 2.0;
        letter-spacing: 0.01em;
        font-weight: 400;
        color: #bdbdbd;
        margin: 0 0 1.5rem 0;
        text-align: justify;
    }

/* ============================================================
   LAYOUT (merged from MainLayout.razor.css)
   ============================================================ */

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Content gutter — "article.content" so it doesn't hit .cohort-node cards */
@media (min-width: 768px) {
    article.content {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }
}

/* ============================================================
   BLAZOR ERROR / RECONNECT UI
   ============================================================ */

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* ============================================================
   RESPONSIVE — 768px and below
   ============================================================ */

@media (max-width: 768px) {

    /* Page sections */
    .hero-caption {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        padding: 1.5rem;
    }

        .hero-caption h1 {
            font-size: 2.2rem;
        }

    .flex-exclusive {
        flex-direction: column;
        gap: 2rem;
    }

    .core-discretion,
    .gallery-mono,
    .private-chamber {
        padding: 3rem 1.2rem;
    }

    .mono-grid {
        opacity: 0.8;
    }

    .logo-image {
        height: 48px;
    }

    /* Anchor offsets */
    #s1, #s2, #s3 {
        scroll-margin-top: 88px;
    }

    #q1 {
        scroll-margin-top: 108px;
    }

    /* Legal pages */
    .disclaimer-page {
        padding: 2.5rem 1.2rem 3rem;
    }

    .disclaimer-actions {
        padding: 0 1.2rem 3rem;
    }

    .disclaimer-header h1 {
        font-size: 1.6rem;
    }

    .disclaimer-block h2 {
        font-size: 1rem;
    }

    .disclaimer-block p {
        font-size: 0.86rem;
    }

    .lang-zh .disclaimer-header h1 {
        font-size: 1.5rem;
    }

    .lang-zh .disclaimer-block p {
        font-size: 0.88rem;
        line-height: 1.95;
    }

    /* Navigation — collapsible */
    .nav-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.5rem;
    }

    .nav-bar-brand {
        width: 100%;
        justify-content: space-between;
    }

    .logo-wrapper {
        width: auto;
        justify-content: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links a,
        .nav-links .my-nav-button {
            width: 100%;
            padding: 0.9rem 0.5rem;
            text-align: left;
            white-space: normal;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }

    .my-nav-item {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        padding: 0;
        margin: 0;
    }

        .dropdown-menu a {
            padding: 0.7rem 1.5rem;
        }
}

/* ============================================================
   RESPONSIVE — 900px and below (Mandate Architecture stacking)
   ============================================================ */

@media (max-width: 900px) {
    .cohort-matrix {
        grid-template-columns: 1fr;
    }

    .cohort-node {
        padding: 2rem 1.5rem;
    }

    .corridor-strip {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .corridor-list {
        font-size: 0.75rem;
    }
}

/* ============================================================
   SPECIALIST MOBILITY PAGE
   ============================================================ */

.mobility-tracks {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/*.mobility-track {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}*/

.mobility-track {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: #0a0f19; /* fallback if image fails */
}

/* TRACK A image — no grayscale */
.mobility-tracks .mobility-track:nth-child(1)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('/images/bg2.jpg');
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1.5px) contrast(1.05);
    transform: scale(1.04);
}

/* TRACK B image — no grayscale */
.mobility-tracks .mobility-track:nth-child(2)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('/images/bg3.jpg');
    background-position: center 40%;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(1.5px) contrast(1.05);
    transform: scale(1.04);
}

/* Shared dark overlay */
.mobility-track::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.35) 0%, rgba(6, 10, 18, 0.65) 50%, rgba(6, 10, 18, 0.85) 100%);
}

    .mobility-track h4 {
        font-family: 'Inter', sans-serif;
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #ececec;
        margin: 0;
    }

    .mobility-track p {
        font-size: 0.85rem;
        line-height: 1.75;
        font-weight: 300;
        color: #a0a0a0;
        margin: 0;
    }

    .mobility-track .node-code {
        margin-bottom: 0.25rem;
    }

.mobility-track-cta {
    margin-top: auto;
    padding-top: 1rem;
}

/* Representative engagements */

.testimonials-section {
    padding: 5rem 3rem;
    background: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #0b0b0b;
    border: 1px solid #222;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-quote {
    font-size: 0.9rem;
    line-height: 1.75;
    font-weight: 300;
    color: #bcbcbc;
    margin: 0;
    flex: 1;
}

    .testimonial-quote::before {
        content: "\201C";
        display: block;
        font-family: Georgia, serif;
        font-size: 2.5rem;
        line-height: 1;
        color: #4a4a4a;
        margin-bottom: 0.5rem;
    }

.testimonial-name {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9a9a9a;
    font-weight: 500;
}

.testimonials-footnote {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    font-size: 0.7rem;
    line-height: 1.7;
    color: #6a6a6a;
    text-align: center;
    font-style: italic;
}

/* Assessment card */

.assessment-card {
    max-width: 700px;
}

    .assessment-card p {
        margin-bottom: 2rem;
    }

.assessment-direct-email {
    margin-top: 2rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem !important;
    color: #7a7a7a !important;
    text-align: center;
    margin-bottom: 0 !important;
}

    .assessment-direct-email a {
        color: #cfcfcf;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .assessment-direct-email a:hover {
            color: lightskyblue;
        }

/* Responsive for mobility page */

@media (max-width: 900px) {
    .mobility-tracks {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 1.2rem;
    }

    .mobility-track {
        padding: 2rem 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }
}
