/* Contributors page — prefix: ctr- */

#page-contributors {
    --red: #DE1C22; --red-dark: #B20108; --red-deep: #520003;
    --ink: #1D0506; --ink-2: #030813;
    --gm: #737373; --g-1: #5C5C5C; --g-2: #A8A8A8; --g-3: #DFDFDF; --g-4: #EDEDED;
    --cream: #FBF7F3; --white: #fff;
    --serif: 'Playfair Display', Georgia, serif;
    --body: 'EB Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
}

#page-contributors a { color: inherit; text-decoration: none; }
#page-contributors img { display: block; max-width: 100%; }

/* Wraps - same as other pages */
.ctr-hero-wrap,
.ctr-controls-wrap,
.ctr-feat-wrap,
.ctr-az-wrap,
.ctr-grid-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 38px;
}

.ctr-eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--red);
    display: inline-flex; align-items: center; gap: 10px;
}
.ctr-eyebrow::before { content: ""; display: block; width: 24px; height: 1px; background: var(--red); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.ctr-hero {
    padding: 56px 0 36px;
    border-bottom: 2px solid var(--ink);
    position: relative;
    overflow: hidden;
}
.ctr-hero::before {
    content: "C";
    position: absolute;
    top: -30px; right: 30px;
    font-family: var(--serif);
    font-style: italic; font-weight: 700;
    font-size: 340px; line-height: .8;
    color: var(--cream);
    opacity: .8;
    z-index: 0;
    pointer-events: none;
    letter-spacing: -.04em;
}
.ctr-hero-in {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
}
.ctr-hero-title {
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--ink);
    margin: 14px 0;
}
.ctr-hero-title em {
    font-style: italic;
    color: var(--red);
    font-weight: 600;
}
.ctr-hero-desc {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--g-1);
    line-height: 1.55;
    max-width: 580px;
}
.ctr-hero-stats {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    padding-bottom: 6px;
    flex-shrink: 0;
}
.ctr-hs { text-align: right; }
.ctr-hs-n {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -.02em;
    margin-bottom: 6px;
}
.ctr-hs-n sup {
    font-size: 18px;
    color: var(--red);
    top: -1.4em;
    font-weight: 500;
    margin-left: 1px;
}
.ctr-hs-l {
    font-size: 11px; font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gm);
}

/* ── STICKY CONTROLS ──────────────────────────────────────────────────────── */
.ctr-controls {
    background: #fff;
    border-bottom: 1px solid var(--g-3);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}
.ctr-controls-inline { margin-bottom: 24px; }
.ctr-controls-in {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.ctr-search-box {
    display: flex;
    align-items: center;
    background: var(--cream);
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 0 16px;
    transition: border-color .15s, background .15s;
    flex-shrink: 0;
}
.ctr-search-box:focus-within { border-color: var(--ink); background: #fff; }
.ctr-search-box svg { flex-shrink: 0; color: var(--gm); }
.ctr-search-inp {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    border: 0; outline: none;
    background: transparent;
    padding: 10px;
    width: 240px;
}
.ctr-search-inp::placeholder { color: var(--g-2); }
.ctr-divider { width: 1px; height: 28px; background: var(--g-3); flex-shrink: 0; }

.ctr-ftabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}
.ctr-ftabs::-webkit-scrollbar { display: none; }
.ctr-ftab {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--g-1);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    border: 1px solid var(--g-3);
    background: #fff;
}
.ctr-ftab:hover { border-color: var(--ink); color: var(--ink); }
.ctr-ftab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.ctr-sort-wrap { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ctr-sort-lbl {
    font-size: 11px; font-weight: 600; color: var(--gm);
    letter-spacing: .08em; text-transform: uppercase;
}
.ctr-sort-sel {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    border: 1px solid var(--g-3);
    border-radius: 6px;
    padding: 7px 10px;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
}
.ctr-sort-sel:hover { border-color: var(--ink); }

/* ── FEATURED STRIP ───────────────────────────────────────────────────────── */
.ctr-feat-strip { padding: 48px 0 36px; }
.ctr-strip-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--ink);
    gap: 16px;
    flex-wrap: wrap;
}
.ctr-sh-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.ctr-sh-title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--ink);
}
.ctr-sh-count { font-size: 12px; color: var(--gm); font-weight: 500; }

.ctr-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ctr-feat-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--g-3);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .15s;
    position: relative;
}
.ctr-feat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
    z-index: 2;
}
.ctr-feat-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .18);
}
.ctr-feat-card:hover::before { transform: scaleX(1); }
.ctr-feat-card-img {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cream);
    position: relative;
    margin: 28px auto 0;
    border: 1.5px solid var(--g-3);
    transition: border-color .15s;
}
.ctr-feat-card:hover .ctr-feat-card-img { border-color: var(--red); }
.ctr-feat-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .4s;
}
.ctr-feat-card:hover .ctr-feat-card-img img { transform: scale(1.05); }
.ctr-feat-card-ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-size: 64px;
    font-style: italic;
    font-weight: 600;
    color: var(--g-2);
    background: var(--cream);
}
.ctr-feat-card-body { text-align: center; }
.ctr-feat-card-cols { justify-content: center; }
.ctr-feat-card-latest { align-items: center; text-align: center; }
.ctr-feat-card-body { padding: 18px; }
.ctr-feat-card-name {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
    color: var(--ink);
    letter-spacing: -.005em;
    transition: color .15s;
}
.ctr-feat-card:hover .ctr-feat-card-name { color: var(--red); }
.ctr-feat-card-role {
    font-size: 12px;
    color: var(--g-1);
    margin-bottom: 12px;
    line-height: 1.45;
}
.ctr-feat-card-cols {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
    min-height: calc(2 * 1.45em);
}
.ctr-feat-card-cols::before { margin-top: .65em; flex-shrink: 0; }
.ctr-feat-card-cols::before { content: ""; width: 14px; height: 1px; background: var(--red); }
.ctr-feat-card-latest {
    font-size: 12px;
    color: var(--gm);
    border-top: 1px solid var(--g-3);
    padding-top: 12px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ctr-fcl-lbl {
    font-size: 10px; font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--g-2);
}
.ctr-fcl-t {
    color: var(--ink);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── A-Z DIRECTORY ────────────────────────────────────────────────────────── */
.ctr-az-section { padding: 24px 0 80px; }
.ctr-az-jump {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 14px;
    background: var(--cream);
    border-radius: 12px;
    align-items: center;
}
.ctr-az-letter {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--g-1);
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    font-family: var(--serif);
    user-select: none;
}
.ctr-az-letter:hover { background: #fff; color: var(--ink); }
.ctr-az-letter.active { background: var(--ink); color: #fff; }
.ctr-az-letter.disabled { color: var(--g-2); cursor: default; opacity: .45; pointer-events: none; }
.ctr-az-letter[data-l="all"] {
    width: auto; padding: 0 12px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ctr-letter-group { margin-bottom: 36px; scroll-margin-top: 100px; }
.ctr-letter-anchor {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 600;
    font-style: italic;
    color: var(--red);
    line-height: 1;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--g-3);
    letter-spacing: -.02em;
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.ctr-letter-anchor span {
    font-family: var(--sans);
    font-style: normal;
    font-size: 11px;
    color: var(--gm);
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ctr-author-list { display: flex; flex-direction: column; }
.ctr-author-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--g-3);
    align-items: center;
    transition: padding .15s, background .15s;
    border-radius: 8px;
}
.ctr-author-row:hover {
    background: var(--cream);
    padding-left: 14px;
    padding-right: 14px;
    border-color: transparent;
    margin: 0 -14px;
}
.ctr-author-row:hover .ctr-author-name { color: var(--red); }
.ctr-author-av {
    width: 64px; height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    background: var(--g-4);
    flex-shrink: 0;
    border: 1.5px solid var(--g-3);
    transition: border-color .15s;
}
.ctr-author-av-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    font-weight: 600;
    color: var(--g-2);
    background: var(--cream);
}
.ctr-author-row:hover .ctr-author-av { border-color: var(--red); }
.ctr-author-name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -.005em;
    transition: color .15s;
}
.ctr-author-role {
    font-size: 12.5px;
    color: var(--g-1);
    margin-bottom: 8px;
    line-height: 1.4;
}
.ctr-author-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ctr-author-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(222, 28, 34, .08);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ctr-author-tag::before {
    content: "";
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--red);
}
.ctr-author-tag.col {
    background: var(--g-4);
    color: var(--g-1);
}
.ctr-author-tag.col::before { background: var(--g-2); }
.ctr-author-right { text-align: right; flex-shrink: 0; min-width: 160px; }
.ctr-author-count {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -.01em;
}
.ctr-author-count-label {
    font-size: 10px;
    color: var(--gm);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    margin-top: 3px;
}
.ctr-author-latest {
    font-size: 11.5px;
    color: var(--gm);
    margin-top: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ctr-author-latest strong { color: var(--ink); font-weight: 500; }

/* No results */
.ctr-no-results { text-align: center; padding: 64px 20px; display: none; }
.ctr-no-results-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--gm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.ctr-no-results-title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}
.ctr-no-results-sub { font-size: 13px; color: var(--gm); }
.ctr-no-results-clear {
    margin-top: 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ctr-no-results-clear:hover { color: var(--red-dark); }

/* ── GRID OF CONTRIBUTORS (4 per row) ─────────────────────────────────────── */
.ctr-grid-section { padding: 56px 0 80px; }
.ctr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ctr-grid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 28px;
    border: 1px solid var(--g-3);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .15s;
    position: relative;
}
.ctr-grid-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    border-radius: 14px 14px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.ctr-grid-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .18);
}
.ctr-grid-card:hover::before { transform: scaleX(1); }

.ctr-grid-card-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cream);
    border: 1.5px solid var(--g-3);
    margin-bottom: 18px;
    transition: border-color .15s, transform .25s;
}
.ctr-grid-card:hover .ctr-grid-card-img {
    border-color: var(--red);
    transform: scale(1.04);
}
.ctr-grid-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.ctr-grid-card-ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 60px;
    font-weight: 600;
    color: var(--g-2);
}

.ctr-grid-card-name {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -.005em;
    transition: color .15s;
}
.ctr-grid-card:hover .ctr-grid-card-name { color: var(--red); }

.ctr-grid-card-role {
    font-size: 12.5px;
    color: var(--g-1);
    line-height: 1.45;
    margin-bottom: 12px;
    min-height: 36px;
}

.ctr-grid-card-cols {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ctr-grid-card-cols::before { content: ""; width: 14px; height: 1px; background: var(--red); }

.ctr-grid-card-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gm);
    border-top: 1px solid var(--g-3);
    padding-top: 12px;
    width: 100%;
}
