/* ══════════════════════════════════════════════════════════════
   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: 1360px;
    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: #f1f5f9;
    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: 1360px;
    margin: 0 auto 130px auto;
    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;
    text-transform: uppercase;
}

.dossier-card-summary {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: #475569;
    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: #f8fafc;
    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: #64748b;
    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: #94a3b8;
}

.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: #f1f5f9;
    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: #64748b;
    letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════════
   ARCHITECTURAL COMPARISON DOSSIER MATRIX
   ══════════════════════════════════════════════════════════════ */
.compare-matrix-section {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 130px auto;
    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-table-scroller {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.compare-matrix-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.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: #64748b;
    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: #f1f5f9;
}

/* ══════════════════════════════════════════════════════════════
   PEDAGOGY SECTION: OPERATORS, NOT ACADEMICS
   ══════════════════════════════════════════════════════════════ */
.pedagogy-section {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 130px auto;
    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;
    text-transform: uppercase;
}

.pedagogy-cell-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #64748b;
    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: 1360px;
    margin: 0 auto 100px auto;
}

.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: clamp(2.2rem, 3.4vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.06;
    letter-spacing: -0.025em;
    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;
    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 LAYOUT OPTIMIZATIONS
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .spotlight-dossier-card {
        grid-template-columns: 380px 1fr;
    }
    .dossier-metrics-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
    .pedagogy-monolith-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advisor-monolith-box {
        grid-template-columns: 1fr;
    }
    .advisor-form-side {
        border-left: none;
        border-top: 1.5px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 860px) {
    .spotlight-dossier-card {
        grid-template-columns: 1fr;
    }
    .dossier-billboard-col {
        min-height: 280px;
        padding: 28px;
    }
    .dossier-content-col {
        padding: 32px 26px;
    }
    .dossier-metrics-matrix {
        grid-template-columns: 1fr;
    }
    .advisor-info-side,
    .advisor-form-side {
        padding: 40px 28px;
    }
}

@media (max-width: 640px) {
    .program-spotlights-section,
    .pedagogy-section,
    .advisor-section {
        margin-bottom: 56px !important;
    }

    .pedagogy-monolith-grid {
        grid-template-columns: 1fr;
    }

    .dossier-action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .dossier-action-buttons .btn-neo,
    .dossier-action-buttons .btn-neo-outline-light {
        width: 100%;
        justify-content: center;
        height: 46px;
    }

    .advisor-monolith-box {
        border-radius: 20px;
    }

    .advisor-info-side,
    .advisor-form-side {
        padding: 28px 18px;
    }

    .advisor-halo-bg {
        display: none;
    }

    .spotlight-dossier-card,
    .compare-matrix-box {
        border-radius: 20px;
    }
}
