* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Georgia', 'Garamond', serif;
    background: #fafaf8;
    color: #2c2c2c;
    /* padding: 4rem 2rem; */
}

/* ── Section shell ── */
.speakers-section {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 6rem;
}

.section-header {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    color: #8b4513;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
}

.section-rule {
    width: 40px;
    height: 1px;
    background: #8b4513;
    margin: 1rem auto 0;
    opacity: 0.6;
}

/* ── Pills grid ── */
.speaker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.speaker-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem 0.45rem 0.55rem;
    background: white;
    border: 1px solid #e8e4dc;
    border-radius: 3px;
    transition: all 0.2s ease;
    cursor: default;
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}

.speaker-pill:hover {
    border-color: #8b4513;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.08);
    transform: translateY(-1px);
}

/* Initials avatar */
.speaker-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8e4dc, #f5f1e8);
    border: 1px solid #d4c5a9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #8b4513;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.speaker-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.speaker-name {
    font-size: 0.88rem;
    color: #2c2c2c;
    font-weight: 500;
    white-space: nowrap;
}

.speaker-affiliation {
    font-size: 0.72rem;
    color: #8b4513;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;
    opacity: 0.85;
}

/* Keynote badge variant */
.speaker-pill.keynote {
    border-color: #c8a882;
    background: #fdf8f2;
}

.speaker-pill.keynote .speaker-avatar {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
    border-color: #8b4513;
}

.keynote-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b4513;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    border: 1px solid #c8a882;
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 1px;
}

/* Count line */
.speaker-count {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: #9a9a9a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .speaker-grid { gap: 0.5rem; }
    .speaker-pill { flex: 1 1 calc(50% - 0.5rem); }
}