.speakers-section {
    background: var(--color-secondary);
    position: relative;
    padding: 0 0 clamp(3rem, 8vw, 7rem);
}

.speakers-section__notch {
    width: 100%;
    height: clamp(36px, 7vw, 72px);
    background: var(--color-primary);
    clip-path: polygon(0 0, 100% 0, 100% 52%, 56% 100%, 44% 100%, 0 52%);
}

.speakers-section--flat .speakers-section__notch {
    clip-path: none;
}

.speakers-section__inner {
    width: min(1120px, 92vw);
    margin: 0 auto;
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

.speakers-section__heading {
    margin: 0 0 clamp(1.75rem, 3.5vw, 3rem);
    font-family: var(--font-oswald-bold);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-primary);
}

.speakers-message {
    max-width: 900px;
    margin: 0 auto clamp(1.75rem, 3.5vw, 3rem);
    border: 1px solid var(--fc-line);
    background: #0a0a0a;
    color: var(--fc-ink);
    padding: clamp(1rem, 2vw, 1.5rem);
}

.speakers-message__title {
    margin: 0 0 0.8rem;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    color: var(--fc-accent);
}

.speakers-message p {
    margin: 0;
    color: var(--fc-muted);
    line-height: 1.45;
}

.speakers-message p + p {
    margin-top: 0.7rem;
}

.speakers-section__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 255px));
    justify-content: center;
    gap: clamp(2rem, 3vw, 2.75rem) clamp(1rem, 2.2vw, 2rem);
}

.speakers-section__grid > .speaker-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.speakers-section__grid--extra {
    margin-top: clamp(2rem, 3vw, 2.75rem);
}

.speakers-section__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.speaker-card {
    text-align: center;
}

.speaker-card__image-shell {
    position: relative;
    width: min(100%, 255px);
    aspect-ratio: 3 / 4;
    margin: 0 auto clamp(1rem, 2vw, 1.4rem);
    overflow: visible;
}

.speaker-card__background-shell {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    z-index: 1;
}

.speaker-card__image-mask {
    position: relative;
    width: 88%;
    height: 90%;
    margin: 0 auto;
    border-radius: 14%;
    overflow: hidden;
}

.speaker-card__image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
    filter: brightness(0.9);
}

.speaker-card__person-shell {
    position: absolute;
    inset: 0;
    clip-path: inset(-100% -100% 0 -100%);
    z-index: 2;
}

.speaker-card__person {
    position: absolute;
    left: calc(50% + var(--speaker-person-offset-x, 0px));
    bottom: var(--speaker-person-offset-y, 0px);
    width: auto;
    max-width: none;
    height: 122%;
    object-fit: contain;
    object-position: center bottom;
    z-index: 3;
    transform: translateX(-50%) scale(var(--speaker-person-scale, 1));
    transform-origin: center bottom;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28));
}

.speaker-card__name {
    margin: 0;
    font-family: var(--font-oswald-bold);
    font-size: clamp(1.9rem, 2.2vw, 2.4rem);
    line-height: 1;
    color: var(--color-primary);
}

.speaker-card__titles {
    list-style: none;
    margin: clamp(0.25rem, 0.7vw, 0.6rem) 0 0;
    padding: 0;
    color: var(--color-primary);
    font-family: var(--font-oswald-light);
    font-size: clamp(0.95rem, 1vw, 1.12rem);
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .speakers-section__grid {
        grid-template-columns: repeat(2, minmax(0, 255px));
    }

    .speakers-section__grid > .speaker-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .speakers-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .speakers-section__grid > .speaker-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .speaker-card__image-shell {
        width: 100%;
    }
}
