.th-board-preview {
    --th-board-ink: #003349;
    --th-board-blue: #25a9e0;
    --th-board-orange: #f18721;
    --th-board-orange-text: #a84f00;
    --th-board-sky: #eaf7fb;
    --th-board-mist: #f5fafc;
    color: var(--th-board-ink);
    background: #ffffff;
}

.th-board-preview *,
.th-board-preview *::before,
.th-board-preview *::after {
    box-sizing: border-box;
}

.th-board-preview__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 9vw, 132px) 24px clamp(70px, 8vw, 112px);
    text-align: center;
    background:
        radial-gradient(circle at 10% 18%, rgba(37, 169, 224, 0.14), transparent 29%),
        radial-gradient(circle at 90% 82%, rgba(241, 135, 33, 0.12), transparent 28%),
        linear-gradient(145deg, #f7fcfe 0%, #edf8fb 100%);
}

.th-board-preview__hero::before,
.th-board-preview__hero::after {
    position: absolute;
    width: 210px;
    height: 210px;
    content: '';
    border: 1px solid rgba(37, 169, 224, 0.24);
    border-radius: 50%;
}

.th-board-preview__hero::before {
    top: -104px;
    left: -68px;
}

.th-board-preview__hero::after {
    right: -86px;
    bottom: -118px;
    border-color: rgba(241, 135, 33, 0.25);
}

.th-board-preview__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.th-board-preview__eyebrow {
    margin: 0 0 16px;
    color: var(--th-board-orange-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.th-board-preview h1 {
    margin: 0;
    color: var(--th-board-ink);
    font-size: clamp(50px, 6vw, 82px);
    line-height: 0.98;
}

.th-board-preview__intro {
    max-width: 790px;
    margin: 28px auto 0;
    color: rgba(0, 51, 73, 0.8);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.62;
}

.th-board-preview__directory {
    padding: clamp(72px, 8vw, 116px) 28px clamp(88px, 9vw, 132px);
    background: #ffffff;
}

.th-board-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 78px 50px;
    width: min(1220px, 100%);
    margin: 0 auto;
}

.th-board-profile {
    position: relative;
    min-width: 0;
    text-align: center;
}

.th-board-profile__portrait {
    position: relative;
    width: clamp(184px, 18vw, 224px);
    aspect-ratio: 1;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 8px solid #ffffff;
    border-radius: 50%;
    background: var(--th-board-mist);
    box-shadow:
        0 0 0 3px rgba(37, 169, 224, 0.28),
        0 18px 46px rgba(0, 51, 73, 0.16);
}

.th-board-profile:nth-child(3n + 2) .th-board-profile__portrait {
    box-shadow:
        0 0 0 3px rgba(241, 135, 33, 0.32),
        0 18px 46px rgba(0, 51, 73, 0.16);
}

.th-board-profile:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.th-board-profile__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-board-profile__portrait--placeholder {
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(145deg, var(--th-board-blue), var(--th-board-ink));
}

.th-board-profile__portrait--placeholder span {
    font-size: 58px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.th-board-profile__content {
    max-width: 370px;
    margin: 0 auto;
}

.th-board-profile h2 {
    margin: 0;
    color: var(--th-board-ink);
    font-size: clamp(29px, 2.6vw, 36px);
    line-height: 1.08;
}

.th-board-profile__role {
    position: relative;
    margin: 13px 0 25px;
    padding-bottom: 18px;
    color: var(--th-board-orange-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.th-board-profile__role::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 42px;
    height: 3px;
    content: '';
    border-radius: 999px;
    background: var(--th-board-blue);
    transform: translateX(-50%);
}

.th-board-profile__bio {
    margin: 0;
    color: rgba(0, 51, 73, 0.78);
    font-size: 16px;
    line-height: 1.72;
    text-align: left;
}

.th-board-preview__password {
    display: grid;
    min-height: 64vh;
    padding: 84px 24px;
    place-items: center;
    background: linear-gradient(145deg, #f7fcfe 0%, #edf8fb 100%);
}

.th-board-preview__password-inner {
    width: min(620px, 100%);
    padding: clamp(34px, 6vw, 60px);
    border: 1px solid rgba(37, 169, 224, 0.22);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 24px 68px rgba(0, 51, 73, 0.14);
    text-align: center;
}

.th-board-preview__password h1 {
    font-size: clamp(42px, 6vw, 64px);
}

.th-board-preview__password-inner > p:not(.th-board-preview__eyebrow) {
    margin: 22px auto 28px;
    color: rgba(0, 51, 73, 0.76);
    font-size: 18px;
    line-height: 1.6;
}

.th-board-preview__password form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.th-board-preview__password label {
    flex: 1 1 260px;
    color: var(--th-board-ink);
    font-size: 0;
    text-align: left;
}

.th-board-preview__password input[type='password'] {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 51, 73, 0.22);
    border-radius: 999px;
    color: var(--th-board-ink);
    font-size: 17px;
}

.th-board-preview__password input[type='submit'] {
    min-height: 50px;
    padding: 10px 28px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--th-board-orange-text);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.th-board-preview__password input:focus-visible,
.th-board-preview__password input[type='submit']:focus-visible {
    outline: 3px solid rgba(37, 169, 224, 0.45);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .th-board-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 74px 46px;
    }

    .th-board-profile:nth-child(3n + 2) .th-board-profile__portrait {
        box-shadow:
            0 0 0 3px rgba(37, 169, 224, 0.28),
            0 18px 46px rgba(0, 51, 73, 0.16);
    }

    .th-board-profile:nth-child(even) .th-board-profile__portrait {
        box-shadow:
            0 0 0 3px rgba(241, 135, 33, 0.32),
            0 18px 46px rgba(0, 51, 73, 0.16);
    }

    .th-board-profile:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .th-board-preview__hero {
        padding: 68px 22px 72px;
    }

    .th-board-preview__directory {
        padding: 68px 24px 92px;
    }

    .th-board-preview__grid {
        display: block;
    }

    .th-board-profile {
        width: min(100%, 520px);
        margin: 0 auto 74px;
    }

    .th-board-profile:last-child {
        margin-bottom: 0;
    }

    .th-board-profile__portrait {
        width: 190px;
    }

    .th-board-profile__content {
        max-width: 480px;
    }

    .th-board-profile__bio {
        font-size: 16px;
        line-height: 1.68;
    }

    .th-board-preview__password form {
        display: block;
    }

    .th-board-preview__password input[type='submit'] {
        width: 100%;
        margin-top: 12px;
    }
}
