/* ── Layout ── */
body {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1rem 5rem;
}

/* ── Person filter ── */
.filter-bar {
    display: flex;
    justify-content: center;
}

#person-filter {
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-navy);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: 999px;
    padding: 0.35rem 2.25rem 0.35rem 1rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.18s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23002458' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
}

#person-filter:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(0, 36, 88, 0.1);
}

/* ── Page header ── */
.site-header {
    text-align: center;
    background: var(--color-navy);
    border-radius: 16px;
    padding: 2rem 3rem;
    width: 90%;
    max-width: 760px;
    border-bottom: 4px solid var(--color-gold);
}

.site-header__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
}

.site-header__title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* ── Slide card ── */
#slide {
    background: var(--color-surface);
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0, 36, 88, 0.13);
    max-width: 760px;
    width: 90%;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

#slide:hover {
    box-shadow: 0 12px 56px rgba(0, 36, 88, 0.2);
}

.slide-body {
    padding: 3.5rem 4rem;
    text-align: center;
}

/* ── States ── */
#loading {
    color: var(--color-muted);
    font-size: 1rem;
}

#content { display: none; }

/* ── Slide content ── */
#name {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.divider {
    width: 44px;
    height: 3px;
    background: var(--color-red);
    margin: 0 auto 1.25rem;
    border-radius: 2px;
}

#heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.75rem;
}

#description {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.8;
    font-weight: 400;
}

/* ── Slide counter ── */
#counter {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-navy);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(0, 36, 88, 0.15);
}

/* ── Submit brag button ── */
.submit-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-navy);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.18s;
}

.submit-btn:hover {
    background: var(--color-navy-dark);
}
