/* ══════════════════════════════════════════════════════════════
   MAXOPP DEDICATED PROGRAMS DIRECTORY // STYLESHEET
   Extends style.css & global.css with Architectural Dossiers,
   Comparison Matrix, Pedagogy Grid, and Advisor Monolith
   ══════════════════════════════════════════════════════════════ */

/* ── DIRECTORY PAGE INTRO BAR ── */
.programs-directory-intro {
    width: 100%;
    max-width: var(--container-max);
    margin: -40px auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    background: #ffffff;
    border: 1.5px solid var(--brand-border);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 16px;
}

.intro-nav-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.intro-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-slate);
    background: var(--ink-100);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s var(--ease-out);
}

.intro-pill-link:hover {
    background: var(--brand-black);
    color: #ffffff;
    border-color: var(--brand-black);
}

.intro-pill-link.pill-accent {
    background: rgba(239, 129, 26, 0.12);
    color: var(--brand-orange);
    border-color: rgba(239, 129, 26, 0.25);
}

.intro-pill-link.pill-accent:hover {
    background: var(--brand-orange);
    color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════
   PROGRAM DETAILED SPOTLIGHT DOSSIERS (FULL ARCHITECTURAL CARDS)
   ══════════════════════════════════════════════════════════════ */
.program-spotlights-section {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto var(--section-space) auto;
    padding: 0 var(--container-pad);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.spotlight-dossier-card {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--brand-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 460px 1fr;
    transition: box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.spotlight-dossier-card:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(239, 129, 26, 0.35);
}

/* Dossier Visual Billboard Column */
.dossier-billboard-col {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px;
    box-sizing: border-box;
}

.dossier-billboard-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease-out);
    z-index: 1;
}

.spotlight-dossier-card:hover .dossier-billboard-bg {
    transform: scale(1.04);
}

.dossier-billboard-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 16, 0.35) 0%, rgba(8, 10, 16, 0.88) 100%);
    z-index: 2;
    pointer-events: none;
}

.dossier-billboard-top {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dossier-track-code {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.dossier-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.35);
    padding: 5px 12px;
    border-radius: 99px;
    backdrop-filter: blur(8px);
}

.dossier-billboard-bottom {
    position: relative;
    z-index: 3;
}

.dossier-huge-num {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.85;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 12px;
    user-select: none;
}

.dossier-billboard-quote {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Dossier Content Column */
.dossier-content-col {
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
}

.dossier-heading-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dossier-discipline-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dossier-discipline-tag.tag-magenta {
    color: var(--brand-magenta);
}

.dossier-discipline-tag.tag-purple {
    color: #7c3aed;
}

.dossier-card-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.6vw, 2.75rem);
    font-weight: 900;
    color: var(--brand-black);
    line-height: 1.08;
    letter-spacing: -0.03em;
    word-spacing: var(--ws-heading, 0.08em);
    text-transform: uppercase;
}

.dossier-card-summary {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: var(--ink-600);
    line-height: 1.62;
    max-width: 720px;
}

/* Dossier 4-Cell Matrix */
.dossier-metrics-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--brand-border);
    gap: 1.5px;
    border: 1.5px solid var(--brand-border);
    border-radius: 16px;
    overflow: hidden;
}

.dossier-matrix-cell {
    background: var(--ink-50);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dossier-matrix-cell:hover {
    background: #ffffff;
}

.dossier-cell-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dossier-cell-val {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-slate);
    line-height: 1.25;
}

/* Deliverables & Stack Row */
.dossier-modules-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dossier-section-mini-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-400);
}

.dossier-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dossier-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--ink-100);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
}

.dossier-badge-pill.pill-hot {
    background: rgba(239, 129, 26, 0.1);
    color: var(--brand-orange);
    border-color: rgba(239, 129, 26, 0.25);
}

/* Bottom Actions Strip */
.dossier-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1.5px solid var(--brand-border);
    flex-wrap: wrap;
    gap: 16px;
}

.dossier-action-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.dossier-mentor-note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-muted);
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   ARCHITECTURAL COMPARISON DOSSIER MATRIX
   ══════════════════════════════════════════════════════════════ */
.compare-matrix-section {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto var(--section-space) auto;
    padding: 0 var(--container-pad);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.compare-matrix-box {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--brand-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.04);
}

.compare-mobile-nav,
.compare-mobile-cards {
    display: none;
}

.compare-table-scroller {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.compare-matrix-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 860px;
}

.compare-btn-action {
    height: 38px;
    padding: 0 18px;
    font-size: 0.74rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.compare-matrix-table th,
.compare-matrix-table td {
    padding: 22px 28px;
    text-align: left;
    border-bottom: 1.5px solid var(--brand-border);
    vertical-align: top;
    box-sizing: border-box;
}

.compare-matrix-table thead th {
    background: #080a10;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.compare-matrix-table thead th.th-feature {
    background: #05060a;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    width: 22%;
}

.compare-th-program {
    width: 26%;
}

.compare-th-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compare-th-code {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--brand-orange);
}

.compare-th-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    text-transform: uppercase;
}

.compare-th-link {
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.compare-th-link:hover {
    color: #ff9933;
    text-decoration: underline;
}

.td-feature-label {
    background: #fafafa;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-slate);
    border-right: 1.5px solid var(--brand-border);
}

.td-spec-bold {
    font-family: var(--font-head);
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--brand-black);
    line-height: 1.3;
}

.td-spec-sub {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--brand-muted);
    line-height: 1.5;
    margin-top: 6px;
}

.compare-matrix-table tbody tr:hover td {
    background-color: #fbfcfe;
}

.compare-matrix-table tbody tr:hover td.td-feature-label {
    background-color: var(--ink-100);
}

/* ══════════════════════════════════════════════════════════════
   PEDAGOGY SECTION: OPERATORS, NOT ACADEMICS
   ══════════════════════════════════════════════════════════════ */
.pedagogy-section {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto var(--section-space) auto;
    padding: 0 var(--container-pad);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.pedagogy-monolith-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--brand-border);
    gap: 1.5px;
    border: 1.5px solid var(--brand-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
}

.pedagogy-cell {
    background: #ffffff;
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    transition: background-color 0.25s ease;
}

.pedagogy-cell:hover {
    background-color: #fcfcfd;
}

.pedagogy-cell-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pedagogy-cell-code {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-orange);
    text-transform: uppercase;
}

.pedagogy-cell-headline {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--brand-black);
    line-height: 1.15;
    word-spacing: var(--ws-heading, 0.08em);
    text-transform: uppercase;
}

.pedagogy-cell-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--brand-muted);
    line-height: 1.6;
}

.pedagogy-cell-kpi {
    padding-top: 16px;
    border-top: 1px solid var(--brand-border);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--brand-slate);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   ADVISOR CONSULTATION MONOLITH (DARK GLASS COHORT ADVISOR)
   ══════════════════════════════════════════════════════════════ */
.advisor-section {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto var(--section-space) auto;
    padding: 0 var(--container-pad);
    box-sizing: border-box;
}

.advisor-monolith-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #080a12;
    border-radius: 28px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
    position: relative;
}

.advisor-info-side {
    padding: 60px 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
    position: relative;
    overflow: hidden;
}

.advisor-halo-bg {
    position: absolute;
    top: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 129, 26, 0.22) 0%, rgba(201, 36, 96, 0.1) 45%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
}

.advisor-content {
    position: relative;
    z-index: 2;
}

.advisor-headline {
    font-family: var(--font-display);
    font-size: var(--fs-section-headline);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.02;
    letter-spacing: -0.035em;
    word-spacing: var(--ws-display, 0.12em);
    margin-top: 16px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.advisor-lead {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 540px;
}

.advisor-features-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.advisor-feat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-head);
    font-size: 0.96rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.advisor-feat-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(239, 129, 26, 0.22);
    border: 1px solid rgba(239, 129, 26, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.advisor-direct-contact {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.advisor-direct-contact a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
}

/* Advisor Form Side */
.advisor-form-side {
    background: #0f1420;
    padding: 60px 54px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.advisor-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    word-spacing: var(--ws-heading, 0.08em);
    margin-bottom: 6px;
}

.advisor-form-sub {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 24px;
}

.advisor-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-group label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
}

.form-input-text,
.form-select {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 0 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.94rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.form-input-text:focus,
.form-select:focus {
    border-color: var(--brand-orange);
    background: rgba(255, 255, 255, 0.09);
}

.form-select option {
    background: #0d1117;
    color: #ffffff;
}

.form-feedback-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    margin-top: 10px;
}

.form-feedback-msg.success {
    display: block;
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.form-feedback-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — intentionally stripped (to be rebuilt with a new approach)
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   PROGRAMS RESPONSIVE — structural reflow
   (comparison table keeps its own horizontal scroller)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .spotlight-dossier-card,
    .advisor-monolith-box {
        grid-template-columns: 1fr;
    }

    .dossier-metrics-matrix,
    .pedagogy-monolith-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .dossier-metrics-matrix,
    .pedagogy-monolith-grid {
        grid-template-columns: 1fr;
    }
}


/* ══════════════════════════════════════════════════════════════
   PROGRAMS RESPONSIVE COMPOSITION // RAILS, DOSSIERS & FORMS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Mobile padding reset: .main-wrapper already supplies var(--container-pad) on mobile */
    .programs-directory-intro,
    .program-spotlights-section,
    .compare-matrix-section,
    .pedagogy-section,
    .advisor-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .programs-directory-intro {
        margin: -24px 0 28px;
        padding: 14px;
        align-items: flex-start;
        border-radius: 16px;
    }

    .programs-directory-intro .unboxed-badge {
        margin-bottom: 2px !important;
    }

    .intro-nav-pills {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .intro-nav-pills::-webkit-scrollbar {
        display: none;
    }

    .intro-pill-link {
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 0.65rem;
    }

    .program-spotlights-section {
        gap: 28px;
    }

    .dossier-billboard-col {
        min-height: 310px;
    }

    .dossier-content-col {
        padding: 28px 20px;
    }

    .dossier-card-title {
        font-size: clamp(1.75rem, 8vw, 2.35rem);
    }

    .dossier-bottom-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .dossier-action-buttons {
        width: 100%;
        flex-wrap: wrap;
    }

    .dossier-action-buttons > * {
        flex: 1 1 auto;
        justify-content: center;
    }

    .dossier-metrics-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dossier-matrix-cell {
        padding: 14px 12px;
    }

    .compare-matrix-section {
        gap: 20px;
        margin-bottom: 48px;
    }

    .compare-matrix-box {
        border-radius: 18px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
    }

    /* Mobile Track Selector Bar */
    .compare-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        background: #080a10;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .compare-mobile-pills {
        display: flex;
        gap: 6px;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .compare-mobile-pills::-webkit-scrollbar {
        display: none;
    }

    .compare-pill-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.12);
        padding: 9px 8px;
        border-radius: 999px;
        font-family: var(--font-mono);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
    }

    .compare-pill-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

    .compare-pill-btn.is-active {
        background: var(--brand-orange);
        color: #000000;
        border-color: var(--brand-orange);
        box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35);
        font-weight: 900;
    }

    .compare-scroll-hint {
        display: none !important;
    }

    /* Hide the desktop wide matrix table on mobile */
    .compare-table-scroller {
        display: none !important;
    }

    /* Mobile Spec Cards Container (Option 1: Segmented Tabs + Full-Width Spec Cards) */
    .compare-mobile-cards {
        display: block;
        width: 100%;
        background: #ffffff;
    }

    .compare-card {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .compare-card.is-active {
        display: flex;
        animation: compareCardFadeIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes compareCardFadeIn {
        from {
            opacity: 0;
            transform: translateY(6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Program Card Header (Clean light editorial header with high contrast) */
    .compare-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 16px 16px;
        background: #ffffff;
        border-bottom: 1.5px solid var(--brand-border);
        gap: 12px;
    }

    .compare-card-meta {
        display: flex;
        flex-direction: column;
        gap: 3px;
        flex: 1;
        min-width: 0;
    }

    .compare-card-code {
        font-family: var(--font-mono);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        color: var(--brand-orange);
        text-transform: uppercase;
    }

    .compare-card-title {
        font-family: var(--font-display);
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--brand-black);
        text-transform: uppercase;
        line-height: 1.2;
        letter-spacing: 0.02em;
        margin: 3px 0 0 0;
    }

    .compare-card-header-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-family: var(--font-head);
        font-size: 0.72rem;
        font-weight: 800;
        color: var(--brand-orange);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        white-space: nowrap;
        padding: 7px 12px;
        border: 1.5px solid var(--brand-orange);
        border-radius: 6px;
        background: rgba(239, 129, 26, 0.08);
        text-decoration: none;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .compare-card-header-link:hover {
        background: var(--brand-orange);
        color: #000000;
        border-color: var(--brand-orange);
    }

    /* Program Card Body Specs */
    .compare-card-body {
        display: flex;
        flex-direction: column;
    }

    .compare-spec-item {
        padding: 16px;
        border-bottom: 1.5px solid var(--brand-border);
        background: #ffffff;
        transition: background 0.15s ease;
    }

    .compare-spec-item:nth-child(even) {
        background: #fafbfc;
    }

    .compare-spec-label {
        display: inline-block;
        font-family: var(--font-mono);
        font-size: 0.64rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--brand-slate);
        margin-bottom: 6px;
        padding: 2px 7px;
        background: rgba(15, 23, 42, 0.05);
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 4px;
    }

    .compare-spec-value {
        font-family: var(--font-head);
        font-size: 0.94rem;
        font-weight: 800;
        color: var(--brand-black);
        line-height: 1.35;
        margin: 0;
    }

    .compare-spec-sub {
        font-family: var(--font-body);
        font-size: 0.82rem;
        color: var(--brand-muted);
        line-height: 1.5;
        margin: 5px 0 0 0;
    }

    /* Program Card Footer Action */
    .compare-card-footer {
        padding: 16px;
        background: #ffffff;
        border-top: 1px solid var(--brand-border);
    }

    .compare-card-cta {
        width: 100%;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 0.8rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .pedagogy-cell {
        padding: 26px 18px;
    }

    .advisor-info-side,
    .advisor-form-side {
        padding: 34px 22px;
    }

    .advisor-direct-contact {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .compare-matrix-box {
        border-radius: 14px;
    }

    .compare-matrix-table th.th-feature,
    .compare-matrix-table td.td-feature-label {
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        padding: 12px 8px;
        font-size: 0.62rem;
    }

    .compare-matrix-table th.compare-th-program,
    .compare-matrix-table td:not(.td-feature-label) {
        width: 195px;
        min-width: 195px;
        max-width: 205px;
        padding: 12px 10px;
    }

    .td-spec-bold {
        font-size: 0.80rem;
    }

    .td-spec-sub {
        font-size: 0.72rem;
    }

    .compare-th-title {
        font-size: 0.90rem;
    }

    .dossier-billboard-col {
        min-height: 280px;
    }

    .dossier-action-buttons > * {
        width: 100%;
    }
}


/* ══════════════════════════════════════════════════════════════
   PROGRAMS MOBILE // contain the advisor panel and its decorative halo
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .advisor-monolith-box,
    .advisor-monolith-box > *,
    .advisor-content,
    .advisor-features-list {
        min-width: 0;
        max-width: 100%;
    }

    .advisor-info-side,
    .advisor-form-side {
        box-sizing: border-box;
    }

    .advisor-halo-bg {
        width: 320px;
        height: 320px;
    }

    .advisor-headline,
    .advisor-lead,
    .advisor-direct-contact > * {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .advisor-feat-item {
        align-items: flex-start;
        min-width: 0;
    }

    .advisor-feat-item > span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 480px) {
    .advisor-info-side,
    .advisor-form-side {
        padding: 28px 18px;
    }

    .advisor-headline {
        font-size: var(--fs-section-headline);
    }
}


/* Programs handset correction: the advisor form is a real content column,
   not a fixed-width desktop child inside the stacked monolith. */
@media (max-width: 768px) {
    .advisor-monolith-box {
        grid-template-columns: 1fr;
    }

    .advisor-info-side,
    .advisor-form-side,
    .advisor-form {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .advisor-form .form-field-group,
    .advisor-form .form-input-text,
    .advisor-form .form-select {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}
