/* =====================================================================
   EHF — Speaker directory + profile  (speakers.css)
   ===================================================================== */

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-bright); }
.result-count { color: var(--text-faint); font-size: 13px; margin: 0 0 16px; padding-left: 4px; }
.result-count b { color: var(--text); }
.empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--text-faint); }
.empty-state.show { display: block; }
.empty-state h3 { font-size: 20px; color: var(--text-dim); margin-bottom: 6px; }

/* --- Hero + search --- */
.spk-hero { padding: 44px 0 18px; }
.spk-hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.05; margin: 10px 0 8px; }
.spk-hero h1 .glow { color: var(--accent-bright); text-shadow: 0 0 26px var(--accent-glow); }
.spk-hero p { color: var(--text-dim); max-width: 620px; font-size: 15px; }
.spk-search { position: relative; max-width: 460px; margin-top: 20px; }
.spk-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-faint); pointer-events: none; }
.spk-search .input { padding-left: 42px; }

/* --- Directory grid --- */
.spk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }

.spk-card {
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 26px 18px 20px; border-radius: var(--radius-lg); color: var(--text);
    transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.spk-card:hover { transform: translateY(-4px); border-color: rgba(var(--c), 0.45); box-shadow: 0 18px 42px rgba(0,0,0,0.5), 0 0 22px rgba(var(--c), 0.22); }
.spk-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--c), 0.4); }

.spk-feat { position: absolute; top: 14px; right: 14px; color: var(--warning); width: 18px; height: 18px; filter: drop-shadow(0 0 6px rgba(245,158,11,.6)); }
.spk-feat svg { width: 100%; height: 100%; }

.spk-avatar {
    width: 86px; height: 86px; border-radius: 50%; margin-bottom: 14px;
    display: grid; place-items: center; overflow: hidden;
    font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff;
    background: linear-gradient(145deg, rgba(var(--c), 0.95), rgba(var(--c), 0.45));
    border: 2px solid rgba(var(--c), 0.5);
    box-shadow: 0 0 24px rgba(var(--c), 0.35);
}
.spk-avatar img { width: 100%; height: 100%; object-fit: cover; }

.spk-name { font-size: 17px; line-height: 1.3; }
.spk-cred { display: inline-block; margin-left: 6px; font-family: var(--font-sans); font-weight: 700; font-size: 11px; color: rgb(var(--c)); }
.spk-role { font-size: 13px; color: var(--text-dim); margin: 6px 0 0; }
.spk-sessions { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-faint); }
.spk-sessions svg { width: 14px; height: 14px; color: rgb(var(--c)); }

/* --- Profile --- */
.back-link { display: inline-block; margin: 26px 0 18px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.back-link:hover { color: var(--accent-bright); }

.spk-profile { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.spk-profile-side { padding: 28px 24px; border-radius: var(--radius-lg); text-align: center; position: sticky; top: 90px; }
.spk-profile-avatar {
    width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 42px; color: #fff;
    background: linear-gradient(145deg, rgba(var(--c), 0.95), rgba(var(--c), 0.45));
    border: 2px solid rgba(var(--c), 0.5); box-shadow: 0 0 30px rgba(var(--c), 0.4);
}
.spk-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.spk-profile-name { font-size: 22px; }
.spk-profile-cred { font-weight: 700; font-size: 13px; color: rgb(var(--c)); margin-top: 4px; }
.spk-profile-role { color: var(--text); font-size: 14px; margin-top: 10px; font-weight: 600; }
.spk-profile-org { color: var(--text-dim); font-size: 13.5px; margin-top: 2px; }
.spk-profile-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--text-faint); font-size: 13px; margin-top: 12px; }
.spk-profile-meta svg { width: 15px; height: 15px; }

.spk-profile-main { display: flex; flex-direction: column; gap: 18px; }
.section-title { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); margin-bottom: 12px; }
.spk-bio { padding: 24px; border-radius: var(--radius); }
.spk-bio p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0; }
.muted { color: var(--text-faint); font-size: 14px; }

.talk-row { display: flex; gap: 16px; align-items: stretch; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 12px; border-left: 3px solid rgba(var(--track-rgb), 0.7); color: var(--text); transition: transform .18s ease, box-shadow .22s ease; }
.talk-row:hover { transform: translateX(3px); box-shadow: 0 12px 28px rgba(0,0,0,0.4); }
.talk-when { flex: none; width: 96px; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--text); display: flex; align-items: center; }
.talk-body { flex: 1; min-width: 0; }
.talk-tags { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.talk-track { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: rgb(var(--track-rgb)); background: rgba(var(--track-rgb), 0.14); border: 1px solid rgba(var(--track-rgb), 0.4); }
.talk-role { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.talk-title { font-size: 16px; line-height: 1.3; }
.talk-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); margin-top: 8px; }
.talk-meta svg { width: 14px; height: 14px; color: var(--accent-bright); opacity: .8; }

@media (max-width: 760px) {
    .spk-profile { grid-template-columns: 1fr; }
    .spk-profile-side { position: static; }
}
