/* ═══════════════════════════════════════════════════════════════════════════
   Contestant profile pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.contestant-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 56px 0 80px;
}

.contestant-hero {
    margin-bottom: 36px;
}

.contestant-name {
    font-size: clamp(52px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.0;
    margin-bottom: 16px;
}

.contestant-meta {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--label);
}

/* ── Profile body ─────────────────────────────────────────────────────────── */
.profile-body {
    width: 100%;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0 48px;
    border-top: 1px solid var(--border-hi);
    padding-top: 36px;
}

/* ── Left column ──────────────────────────────────────────────────────────── */
.profile-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-right: 1px solid var(--border);
    padding-right: 36px;
}

/* Section label */
.section-head {
    font-size: var(--label-size);
    font-weight: 700;
    letter-spacing: var(--label-track);
    text-transform: uppercase;
    color: var(--label);
    margin-bottom: 14px;
}

/* Physical stats */
.physical-stats {
    display: flex;
    flex-direction: column;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

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

.stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--label);
    flex-shrink: 0;
}

.stat-value {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--text);
    text-align: right;
}

/* Attribute ratings */
.attr-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.attr-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.attr-row:first-child { border-top: 1px solid var(--border); }

.attr-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--label);
    width: 130px;
    flex-shrink: 0;
    line-height: 1.3;
}

.attr-bar-track {
    flex: 1;
    height: 2px;
    background: var(--border);
}

.attr-bar-fill {
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

.attr-row.is-liability .attr-bar-fill { background: var(--red); }
.attr-row.is-liability .attr-name     { color: var(--dim); }

.attr-rating {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--text);
    width: 26px;
    text-align: right;
    flex-shrink: 0;
}

.attr-row.is-liability .attr-rating { color: var(--red); }

/* ── Right column ─────────────────────────────────────────────────────────── */
.profile-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Bio */
.profile-bio {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.75;
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
}

/* Psychological attribute grid */
.psych-block {
    display: flex;
    flex-direction: column;
}

.psych-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.psych-row:first-child { border-top: 1px solid var(--border); }

.psych-attr {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--label);
    flex: 1;
}

.psych-evidence {
    font-size: 14px;
    color: var(--secondary);
    letter-spacing: 0.02em;
    flex: 2;
    line-height: 1.4;
}

.psych-rating {
    font-family: var(--mono);
    font-size: 19px;
    color: var(--text);
    flex-shrink: 0;
    width: 26px;
    text-align: right;
}

.psych-row.is-liability .psych-rating { color: var(--red); }
.psych-row.is-liability .psych-attr   { color: var(--dim); }

/* Strengths & weaknesses */
.sw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.sw-col-label {
    font-size: var(--label-size);
    font-weight: 700;
    letter-spacing: var(--label-track);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.sw-col-label.strengths   { color: var(--yellow-dim); }
.sw-col-label.liabilities { color: var(--red); }

.sw-item {
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.6;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.02em;
}
.sw-item:first-of-type { border-top: 1px solid var(--border); }

/* Quote */
.profile-quote {
    border-left: 2px solid var(--border-hi);
    padding: 12px 0 12px 20px;
    font-size: 15px;
    color: var(--dim);
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.profile-quote cite {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--label);
    font-style: normal;
}

/* Critical unknown callout */
.critical-unknown {
    border: 1px solid var(--border-hi);
    padding: 16px 18px;
    background: #0f0f0f;
}

.critical-unknown-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}

.critical-unknown-text {
    font-size: 15px;
    color: var(--secondary);
    line-height: 1.75;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
    .profile-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .profile-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-hi);
        padding-bottom: 32px;
    }
    .sw-grid { grid-template-columns: 1fr; gap: 0; }
}
