:root {
    --blue-deep: #005b7d;
    --blue-hero: #00628f;
    --blue-bright: #16a8e4;
    --blue-card: #72cbf0;
    --blue-photo: #078dbd;
    --ink: #10233b;
    --surface: #f5f8fb;
    --gray-card: #dadada;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    font: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #f7c948;
    outline-offset: 3px;
}

.hero {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    color: #fff;
    background-color: var(--blue-hero);
    background-image: url("../images/hero.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-inner {
    position: relative;
    width: min(100% - 80px, 1310px);
    min-height: 450px;
    margin: 0 auto;
}

.hero-kicker {
    position: absolute;
    top: 34px;
    left: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-copy {
    width: 50%;
    margin-left: auto;
    padding-top: 92px;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 4.5vw, 72px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: .98;
}

.hero h1 span {
    display: block;
    margin-bottom: 4px;
    font-size: .66em;
    font-weight: 400;
    letter-spacing: -.02em;
}

.hero-theme {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.theme-arrow {
    display: grid;
    flex: 0 0 29px;
    height: 29px;
    margin-top: 2px;
    place-items: center;
    color: var(--blue-hero);
    background: #fff;
    border-radius: 50%;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}

.hero-theme p {
    margin: 0;
    font-size: clamp(17px, 1.55vw, 23px);
    line-height: 1.35;
}

.hero-theme span:not(.theme-arrow),
.hero-theme strong {
    display: block;
}

.hero-date {
    margin: 16px 0 0 43px;
    font-size: clamp(13px, 1vw, 16px);
}

.partners {
    background: #fff;
    padding: 46px 24px 54px;
}

.partners-inner,
.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 54px;
}

.partners img,
.footer-logos img {
    width: auto;
    max-height: 56px;
}

.about {
    padding: 62px 40px 80px;
    background: #fff;
}

.about-shell {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.about-card {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 462px;
    overflow: hidden;
    background: var(--gray-card);
    border-radius: 12px;
    box-shadow: 0 14px 35px rgb(15 35 55 / 8%);
}

.about-photo {
    min-height: 462px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    align-self: center;
    padding: 44px 46px 54px;
    font-size: 16px;
}

.about-copy > p {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.55;
}

.about-copy ul {
    margin: 0;
    padding-left: 22px;
}

.about-copy li {
    margin-bottom: 20px;
    padding-left: 10px;
    line-height: 1.52;
}

.about-copy li:last-child {
    margin-bottom: 0;
}

.about-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin: -23px 58px 0 0;
}

.button,
.see-more {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 29px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 10px 20px rgb(0 61 91 / 12%);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover,
.see-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 25px rgb(0 61 91 / 20%);
}

.button-dark,
.see-more {
    background: var(--blue-deep);
}

.button-light {
    background: var(--blue-bright);
}

.people-area {
    padding: 1px 0 110px;
    background: var(--surface);
}

.people-section {
    width: min(100% - 80px, 1156px);
    margin: 0 auto;
    padding-top: 82px;
}

.people-section h2,
.guests h2 {
    margin: 0 0 34px;
    color: var(--blue-deep);
    font-size: clamp(31px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.person-card,
.guest-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 292px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 16px 22px;
    overflow: hidden;
    color: #023d5c;
    background: var(--blue-card);
    border-radius: var(--radius);
    text-align: center;
}

.person-card {
    background: #dadada;
}

.person-card.is-hidden {
    display: none;
}

.person-photo {
    width: 142px;
    height: 142px;
    margin-bottom: 16px;
    padding: 4px;
    overflow: hidden;
    background: #a7e7fa;
    border-radius: 50%;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--blue-photo);
    border-radius: 50%;
}

.person-card h3,
.guest-card h3 {
    margin: auto 0 5px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.person-card p,
.guest-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.28;
}

.profile-trigger {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #fff;
    background: var(--blue-deep);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.profile-trigger:hover {
    background: #00415c;
    transform: scale(1.08);
}

.profile-trigger::before,
.profile-trigger::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 2px;
    transform: translate(-50%, -50%);
}

.profile-trigger::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.see-more {
    display: flex;
    min-width: 145px;
    margin: 46px auto 0;
}

.moderators {
    padding-top: 116px;
}

.guests {
    padding: 78px 30px 92px;
    background: #29afe0;
}

.guests-inner {
    width: min(100%, 1280px);
    margin: 0 auto;
}

.guests h2 {
    width: min(100%, 1156px);
    margin-right: auto;
    margin-left: auto;
}

.carousel {
    position: relative;
    padding: 0 62px 45px;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.guest-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-height: 292px;
    background: rgb(136 215 245 / 72%);
}

.guest-card .person-photo {
    width: 142px;
    height: 142px;
}

.carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 42%;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #f0414e;
    background: transparent;
    border: 0;
    font-size: 46px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.carousel-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.carousel-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    background: #158db7;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dots button.is-active {
    width: 17px;
    height: 17px;
    background: var(--blue-deep);
}

.site-footer {
    padding: 52px 24px 58px;
    background: #fff;
}

.profile-modal[hidden] {
    display: none;
}

.profile-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 34 52 / 75%);
    backdrop-filter: blur(7px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 32px;
    width: min(100%, 820px);
    max-height: min(720px, calc(100vh - 48px));
    padding: 42px;
    overflow: auto;
    background: rgb(255 255 255 / 96%);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgb(0 29 45 / 34%);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 38px;
    height: 38px;
    padding: 0;
    color: var(--blue-deep);
    background: transparent;
    border: 0;
    font-size: 34px;
    cursor: pointer;
}

.modal-photo {
    width: 190px;
    height: 190px;
    padding: 5px;
    overflow: hidden;
    background: #9fe2f8;
    border-radius: 50%;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--blue-photo);
    border-radius: 50%;
}

.modal-content h2 {
    margin: 8px 44px 5px 0;
    color: #003650;
    font-size: 26px;
    line-height: 1.15;
}

.modal-title {
    margin: 0 0 22px;
    color: var(--blue-deep);
    font-weight: 600;
}

.modal-bio {
    margin: 0;
    color: #24374d;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .hero-inner {
        width: min(100% - 48px, 940px);
    }

    .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .guest-card {
        flex-basis: calc((100% - 40px) / 3);
    }
}

@media (max-width: 720px) {
    .hero {
        min-height: 549px;
        background-position: left top;
        background-size: 280% auto;
    }

    .hero-inner {
        width: calc(100% - 40px);
        min-height: 549px;
    }

    .hero-kicker {
        top: 30px;
        left: 0;
        font-size: 13px;
    }

    .hero-copy {
        position: absolute;
        right: 0;
        bottom: 48px;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .hero h1 {
        margin-bottom: 15px;
        font-size: clamp(39px, 10vw, 47px);
        line-height: .98;
    }

    .hero h1 span {
        font-size: .73em;
    }

    .theme-arrow {
        flex-basis: 21px;
        height: 21px;
        margin-top: 2px;
        font-size: 20px;
    }

    .hero-theme {
        gap: 10px;
    }

    .hero-theme p {
        font-size: 15px;
    }

    .hero-date {
        max-width: 285px;
        margin: 20px 0 0 42px;
        font-size: 13px;
        line-height: 1.3;
    }

    .hero-date span {
        display: inline;
    }

    .partners {
        padding: 45px 28px 91px;
    }

    .partners-inner {
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        gap: 34px 18px;
    }

    .partners img {
        max-height: 48px;
        justify-self: center;
    }

    .partners img:last-child {
        grid-column: 1 / -1;
        max-height: 68px;
    }

    .about {
        padding: 0 20px 46px;
    }

    .about-card {
        display: block;
        min-height: 0;
        border-radius: 12px;
    }

    .about-photo {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1.05;
    }

    .about-copy {
        padding: 40px 25px 34px;
        font-size: 16px;
    }

    .about-copy > p {
        font-size: 18px;
        line-height: 1.56;
    }

    .about-copy li {
        margin-bottom: 26px;
        padding-left: 8px;
    }

    .about-actions {
        display: grid;
        gap: 16px;
        margin: 43px 0 0;
    }

    .button {
        width: 100%;
        min-height: 43px;
    }

    .people-area {
        padding-bottom: 100px;
    }

    .people-section {
        width: calc(100% - 40px);
        padding-top: 80px;
    }

    .people-section h2 {
        margin-bottom: 43px;
        font-size: 32px;
    }

    .people-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .person-card {
        min-height: 235px;
        padding: 31px 20px 22px;
    }

    .person-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 14px;
    }

    .person-card h3 {
        margin-top: auto;
        font-size: 14px;
    }

    .person-card p {
        font-size: 12px;
    }

    .profile-trigger {
        top: 16px;
        right: 16px;
    }

    .see-more {
        margin-top: 42px;
    }

    .moderators {
        padding-top: 142px;
    }

    .moderators h2 {
        max-width: 350px;
    }

    .guests {
        display: block;
        padding: 64px 16px 72px;
    }

    .guests h2 {
        margin-bottom: 34px;
        font-size: 32px;
    }

    .carousel {
        padding: 0 34px;
    }

    .guest-card {
        flex-basis: 100%;
        min-height: 292px;
    }

    .carousel-arrow {
        top: 50%;
        width: 34px;
        height: 44px;
        font-size: 42px;
    }

    .carousel-prev {
        left: -3px;
    }

    .carousel-next {
        right: -3px;
    }

    .carousel-dots {
        display: none;
    }

    .site-footer {
        padding: 46px 24px;
    }

    .footer-logos {
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        gap: 28px 18px;
    }

    .footer-logos img {
        max-height: 48px;
        justify-self: center;
    }

    .footer-logos img:last-child {
        grid-column: 1 / -1;
        max-height: 58px;
    }

    .modal-dialog {
        display: block;
        padding: 34px 24px 28px;
    }

    .modal-photo {
        width: 140px;
        height: 140px;
        margin: 0 auto 24px;
    }

    .modal-content h2,
    .modal-title {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
