/* Credits: a dark showpiece. Titles large in Saira, role and year in
   Michroma. The page header itself is .page-header in main.css. */

.credits-header {
    padding-bottom: 48px;
}

.dark .credits-tally {
    font-family: var(--font-label);
    font-size: 0.75rem;
    line-height: 1.9;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--steam);
    max-width: none;
}

.credits-body {
    padding: 24px 0 112px;
}

.credit-group + .credit-group {
    margin-top: 96px;
}

.credit-group-head {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: baseline;
    margin-bottom: 28px;
}

.credit-group-head h2 {
    color: var(--yellow);
    font-weight: 600;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
    margin: 0;
}

.credit-group-head p {
    font-size: 1rem;
}

.credit-list {
    list-style: none;
    border-top: 1.5px dotted var(--rule-dark);
}

.credit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 40px;
    row-gap: 12px;
    align-items: baseline;
    padding: 30px 0;
    border-bottom: 1.5px dotted var(--rule-dark);
}

.credit .credit-title {
    font-weight: 700;
    font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    margin: 0;
}

.credit-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: none;
    font-family: var(--font-label);
    font-size: 0.75rem;
    line-height: 1.7;
    letter-spacing: 0.2em;
    text-align: right;
    text-transform: uppercase;
}

.credit-role {
    color: var(--on-dark);
}

.credit-when {
    color: var(--steam);
}

.credit .credit-note {
    grid-column: 1 / -1;
    max-width: 62ch;
    font-size: 1rem;
}

.credit-footnote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin-top: 56px;
}

.credit-footnote p {
    margin: 0;
}

/* ─── Industry service (eggshell): heading left, entries right, like the
   credit group heads above ─── */
.affiliations-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
}

.affiliations {
    list-style: none;
    display: grid;
    gap: 22px;
}

.affiliation {
    padding: 30px 32px 32px;
}

.affiliation .affiliation-role {
    font-family: var(--font-label);
    font-size: 0.75rem;
    line-height: 1.8;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 10px;
}

.affiliation .affiliation-org {
    display: block;
    font-family: var(--font-display);
    font-stretch: 125%;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 12px;
}

.affiliation p {
    font-size: 0.98rem;
}

@media (max-width: 760px) {
    .credit-group-head,
    .credit,
    .affiliations-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .credit-group-head {
        gap: 10px;
    }

    .credit-group + .credit-group {
        margin-top: 64px;
    }

    .credit-meta {
        align-items: flex-start;
        text-align: left;
    }

    .affiliations-grid {
        gap: 28px;
    }
}
