/* ===== PROGRAMS PAGE — page-specific styles ===== */
/* Base styles inherited from style.css */


/* ===== COMPACT HERO ===== */

.programs-hero {
    padding-top: 120px;
    padding-bottom: 60px;
}

.programs-hero h1 {
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.programs-hero-sub {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    font-weight: 300;
    color: var(--text-dim);
    max-width: 580px;
    line-height: 1.7;
}


/* ===== PROGRAMS SECTION ===== */

.programs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px clamp(2rem, 5vw, 6rem);
}


/* ===== LEAD PROGRAM — 2-column layout ===== */

.lead-program {
    position: relative;
}

.lead-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: clamp(2rem, 5vw, 6rem);
    right: clamp(2rem, 5vw, 6rem);
    height: 2px;
    background: var(--accent);
    max-width: 1200px;
}

.lead-program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.lead-program-info h3 {
    font-weight: 500;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.lead-program-facts {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
}

.lead-fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}

.lead-fact:first-child {
    border-top: 1px solid var(--border);
}

.lead-fact-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.lead-fact-value {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
}

.lead-fact-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.lead-fact-link:hover {
    border-bottom-color: var(--accent);
}


/* ===== STAGE INDICATOR ===== */

.stage-indicator {
    margin-bottom: 1.5rem;
}

.stage-indicator-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
}

.stage-bars {
    display: flex;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stage-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    position: relative;
}

.stage-bar.active {
    background: var(--accent);
}

.stage-bar.current {
    background: linear-gradient(90deg, var(--accent) 40%, var(--border) 40%);
}

.stage-bar-label {
    position: absolute;
    top: 12px;
    left: 0;
    font-family: var(--mono);
    font-size: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    white-space: nowrap;
}

.stage-bar.active .stage-bar-label,
.stage-bar.current .stage-bar-label {
    color: var(--accent);
}

.lead-program-status-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-dim);
    line-height: 1.7;
}


/* ===== LEAD PROGRAM TEXT (left column) ===== */

.lead-program-text h2 {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.lead-program-text p {
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.lead-program-text p:last-child {
    margin-bottom: 0;
}

.lead-program-text strong {
    color: var(--text);
    font-weight: 500;
}


/* ===== GATED DETAIL REQUEST ===== */

.gated-block {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-left: 2px solid var(--accent);
    padding: 3rem;
}

.gated-block h3 {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.gated-block p {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 1.5rem;
}

.gated-who {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.gated-item {
    display: flex;
    gap: 0.8rem;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-dim);
}

.gated-bullet {
    color: var(--accent);
}


/* ===== GATED CTA (enhanced) ===== */

.gated-audience {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.gated-cta {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.8rem 1.8rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.gated-cta:hover {
    background: transparent;
    color: var(--accent);
    outline: 1px solid var(--accent);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .lead-program-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .programs-hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .programs-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .stage-bar-label {
        font-size: 0.55rem;
    }

    .lead-fact-label {
        font-size: 0.7rem;
    }

    .lead-fact-value {
        font-size: 0.9rem;
    }

    .gated-block {
        padding: 1.5rem;
    }

    .gated-cta {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}


/* ===== PIPELINE TABLE ===== */

.pipeline-table-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.pipeline-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    background: var(--bg-raised);
}

.pipeline-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--sans);
    min-width: 640px;
}

.pipeline-table th {
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: left;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.pipeline-table td {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.pipeline-table tbody tr:last-child td {
    border-bottom: none;
}

.pipeline-code {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--accent);
    white-space: nowrap;
}

.pipeline-row--lead td:first-child {
    border-left: 2px solid var(--accent);
}

.pipeline-row--discovery {
    opacity: 0.55;
}

.pipeline-row--discovery td:first-child {
    border-left: 2px solid transparent;
}

.pipeline-stage {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--border);
    color: var(--text-dim);
    background: transparent;
    white-space: nowrap;
}

.pipeline-stage--validation {
    color: var(--accent);
    border-color: var(--accent);
}

.pipeline-stage--discovery {
    color: var(--text-dim);
    border-color: var(--border);
}

.pipeline-note {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    margin-top: 1.5rem;
    line-height: 1.6;
    max-width: 720px;
}


/* Pipeline table — small phones: hide Organ + Modality columns */
@media (max-width: 540px) {
    .pipeline-table {
        min-width: 0;
    }

    .pipeline-table th:nth-child(3),
    .pipeline-table td:nth-child(3),
    .pipeline-table th:nth-child(4),
    .pipeline-table td:nth-child(4) {
        display: none;
    }

    .pipeline-table th,
    .pipeline-table td {
        padding: 0.85rem 0.9rem;
    }
}
