.participants-hero,
.profile-hero {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.participants-hero h1,
.profile-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(38px, 8vw, 72px);
    line-height: .94;
    letter-spacing: -.04em;
}

.participants-hero p,
.profile-hero p {
    max-width: 680px;
    color: var(--color-muted);
    line-height: 1.65;
}

.participants-total-card {
    display: grid;
    place-items: center;
    justify-self: start;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,.32);
    background: radial-gradient(circle, rgba(212,175,55,.18), rgba(255,255,255,.03));
    box-shadow: 0 0 54px rgba(212,175,55,.16);
}

.participants-total-card span {
    font-family: var(--font-display);
    font-size: 46px;
    line-height: 1;
    color: var(--color-gold-light);
}

.participants-total-card small {
    max-width: 98px;
    text-align: center;
    color: var(--color-muted);
    line-height: 1.25;
}

.empty-participants-state {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.participant-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.participant-card {
    padding: 0;
    overflow: hidden;
}

.participant-card-photo {
    display: grid;
    min-height: 280px;
    place-items: center;
    background: linear-gradient(145deg, rgba(212,175,55,.15), rgba(255,255,255,.025));
    border-bottom: 1px solid rgba(212,175,55,.18);
}

.participant-card-photo img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.participant-card-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.participant-card-body h2 {
    margin: 0;
    font-size: 24px;
}

.participant-card-body p {
    margin: 0;
}

.participant-location {
    color: var(--color-gold-light) !important;
    font-size: 14px;
}

.participant-initials {
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(212,175,55,.32);
    color: var(--color-gold-light);
    background: radial-gradient(circle, rgba(212,175,55,.18), rgba(255,255,255,.025));
    font-family: var(--font-display);
    letter-spacing: -.05em;
}

.participant-initials-large {
    width: 132px;
    height: 132px;
    font-size: 54px;
}

.profile-photo-frame {
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212,175,55,.26);
    background: radial-gradient(circle at 50% 10%, rgba(212,175,55,.2), rgba(8,8,9,.72));
}

.profile-photo-frame img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.participant-initials-hero {
    width: 100%;
    min-height: 420px;
    border-radius: 0;
    font-size: clamp(72px, 20vw, 160px);
}

.profile-main-info {
    display: grid;
    gap: 14px;
    align-content: center;
}

.profile-phrase {
    color: var(--color-gold-light) !important;
    font-size: 22px;
}

.profile-meta-row,
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.profile-meta-row span {
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(212,175,55,.18);
    color: var(--color-muted);
    background: rgba(255,255,255,.025);
    font-size: 13px;
}

.profile-safe-note {
    font-size: 13px;
    color: var(--color-muted) !important;
}

.profile-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 18px;
}

.profile-about-card p {
    font-size: 16px;
}

.profile-answers-card,
.profile-gallery-card {
    margin-top: 18px;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.answer-card {
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212,175,55,.16);
    background: rgba(255,255,255,.025);
}

.answer-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.answer-card p {
    margin: 0;
}

.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.profile-gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212,175,55,.16);
    background: rgba(255,255,255,.025);
}

.profile-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.profile-gallery-grid figcaption,
.profile-video-box small {
    display: block;
    padding: 10px 12px;
    color: var(--color-muted);
    font-size: 13px;
}

.profile-video-box {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.profile-video-box video {
    width: 100%;
    max-height: 520px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212,175,55,.18);
    background: #000;
}

@media (min-width: 820px) {
    .participants-hero { grid-template-columns: minmax(0, 1fr) auto; }
    .profile-hero { grid-template-columns: minmax(300px, .75fr) minmax(0, 1fr); }
}

@media (max-width: 820px) {
    .profile-content-grid { grid-template-columns: 1fr; }
    .profile-photo-frame,
    .profile-photo-frame img,
    .participant-initials-hero { min-height: 340px; }
}
