/* ============================================================
   9569 SILVER KNIGHTS — meet the team  ·  personnel dossiers
   (depends on css/theme.css design tokens)
   ============================================================ */

.content {
    position: relative;
    z-index: 1;
    max-width: 1500px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
}

.page-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--h1);
    line-height: 1.04;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: clamp(3rem, 7vw, 5rem);
}

.members-section {
    margin-bottom: clamp(3.5rem, 8vw, 6rem);
}

.section-header {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--cyan);
    text-shadow: 0 0 26px var(--accent-glow);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 14px var(--accent-glow);
}

.retired-section .section-header {
    color: var(--muted-dim);
    text-shadow: none;
}

.retired-section .section-header::after {
    background: linear-gradient(90deg, transparent, var(--muted-dim), transparent);
    box-shadow: none;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.75rem;
}

/* --- dossier card (chamfered machined plate) --- */
.exec-card {
    --c: var(--cut);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)),
            calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
    background: linear-gradient(135deg, var(--line-strong), var(--line));
    transition: transform 0.32s var(--ease-out), filter 0.32s var(--ease);
}

.exec-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    clip-path: polygon(calc(var(--c) - 1px) 0, 100% 0,
            100% calc(100% - var(--c) + 1px), calc(100% - var(--c) + 1px) 100%, 0 100%, 0 calc(var(--c) - 1px));
    background: var(--panel);
}

.exec-card:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px var(--accent-glow));
}

.exec-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #0e1422;
    object-fit: cover;
    object-position: center top;
    border-bottom: 1px solid var(--line-strong);
    filter: grayscale(0.18) contrast(1.03);
    transition: filter 0.35s var(--ease);
}

.exec-card:hover .exec-photo {
    filter: grayscale(0) contrast(1.06);
}

.exec-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.exec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
}

.name-title {
    flex: 1;
    min-width: 0;
}

.exec-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.exec-role {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.exec-role::before {
    content: '▸';
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex: none;
}

.social-links a {
    --c: 6px;
    position: relative;
    isolation: isolate;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)),
            calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
    background: var(--line-strong);
    color: var(--muted);
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 1px;
    z-index: -1;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px),
            calc(100% - 5px) 100%, 0 100%, 0 5px);
    background: transparent;
    transition: background-color 0.25s var(--ease);
}

.social-links a svg {
    width: 17px;
    height: 17px;
}

.social-links a:hover {
    color: #04121a;
    background: var(--cyan);
    transform: translateY(-2px);
}

.social-links a:hover::before {
    background: var(--cyan);
}

.exec-message {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    flex-grow: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Long names / handles shouldn't blow out the fixed-width header either. */
.exec-name {
    overflow-wrap: break-word;
}

.retired-section .exec-card {
    opacity: 0.74;
}

.retired-section .exec-card:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}
