/*
 * Nastrova International Limited Holdings
 * Who We Are
 */

.who-page {
    background: var(--white);
}

.site-header--internal {
    background: rgba(7, 26, 61, 0.97);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.site-header--internal .primary-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.portal-header-login {
    margin-left: 4px;
    padding-inline: 18px !important;
    background: var(--white);
    color: var(--nastrova-blue) !important;
}

.portal-header-login::after {
    display: none;
}

.who-eyebrow {
    margin: 0 0 25px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.who-eyebrow--blue {
    color: var(--nastrova-blue-soft);
}

.who-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.09) 50%, transparent calc(50% + 1px)),
        radial-gradient(circle at 82% 24%, rgba(55, 93, 169, 0.48), transparent 34%),
        linear-gradient(120deg, #020813 0%, #071a3d 55%, #0e2d66 100%);
    color: var(--white);
}

.who-hero::before,
.who-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.who-hero::before {
    width: min(48vw, 760px);
    aspect-ratio: 1;
    right: -12vw;
    bottom: -42%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
}

.who-hero::after {
    right: 32px;
    bottom: 34px;
    width: 92px;
    height: 92px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.who-hero__rule {
    position: absolute;
    top: 94px;
    bottom: 0;
    left: clamp(28px, 4.2vw, 80px);
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.who-hero__inner {
    display: grid;
    grid-template-columns: minmax(460px, 1.25fr) minmax(320px, 0.75fr);
    align-items: end;
    gap: clamp(80px, 12vw, 190px);
    padding-bottom: clamp(92px, 12vh, 140px);
}

.who-hero h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(5rem, 10vw, 10rem);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.79;
}

.who-hero__statement {
    max-width: 530px;
    padding: 34px 0 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.48);
}

.who-hero__statement p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.4vw, 2.35rem);
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.who-hero__statement span {
    display: block;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.who-introduction {
    padding: clamp(105px, 12vw, 180px) 0;
}

.who-introduction__grid {
    display: grid;
    grid-template-columns: minmax(330px, 0.85fr) minmax(480px, 1.15fr);
    gap: clamp(80px, 11vw, 175px);
}

.who-introduction h2,
.who-principle h2,
.who-section-heading h2,
.who-relationship h2,
.who-history h2,
.who-closing h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 5.4vw, 5.6rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 0.97;
}

.who-introduction__copy {
    padding-top: 38px;
    border-top: 1px solid var(--ink);
}

.who-introduction__copy p {
    margin: 0;
}

.who-introduction__copy p:first-child {
    font-family: var(--serif);
    font-size: clamp(1.65rem, 2.6vw, 2.55rem);
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.who-introduction__copy p + p {
    max-width: 680px;
    margin-top: 34px;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.who-principle {
    padding: clamp(100px, 11vw, 165px) 0;
    background: var(--nastrova-blue);
    color: var(--white);
}

.who-principle__grid {
    display: grid;
    grid-template-columns: 60px minmax(400px, 1fr) minmax(360px, 0.8fr);
    gap: clamp(45px, 7vw, 115px);
    align-items: start;
}

.who-principle__index {
    margin: 9px 0 0;
    color: rgba(255, 255, 255, 0.46);
    font-family: var(--serif);
    font-size: 1.2rem;
}

.who-principle__copy {
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.who-principle__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.75;
}

.who-principle__copy p + p {
    margin-top: 24px;
}

.who-structure {
    padding: clamp(105px, 12vw, 180px) 0;
    background: var(--mist);
}

.who-section-heading {
    display: grid;
    grid-template-columns: minmax(420px, 1.2fr) minmax(300px, 0.8fr);
    align-items: end;
    gap: 90px;
    margin-bottom: 70px;
}

.who-section-heading > p {
    max-width: 510px;
    margin: 0 0 8px;
    color: var(--ink-soft);
}

.who-groups {
    border-top: 1px solid var(--ink);
}

.who-group {
    display: grid;
    grid-template-columns: minmax(330px, 0.95fr) minmax(250px, 0.65fr) minmax(400px, 1.1fr);
    gap: clamp(40px, 6vw, 95px);
    padding: 58px 0;
    border-bottom: 1px solid var(--line);
}

.who-group__heading {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 18px;
}

.who-group__heading > span {
    padding-top: 8px;
    color: var(--ink-soft);
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.who-group h3 {
    margin: 0;
    color: var(--nastrova-blue);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 2.7vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.who-group > p {
    margin: 5px 0 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
    line-height: 1.7;
}

.who-group ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.who-group li {
    border-bottom: 1px solid var(--line);
}

.who-group li a {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 4px;
    color: var(--ink);
    font-size: 0.83rem;
    line-height: 1.4;
    text-decoration: none;
}

.who-group li a span:last-child {
    transition: transform 180ms ease;
}

.who-group li a:hover,
.who-group li a:focus-visible {
    color: var(--nastrova-blue-soft);
}

.who-group li a:hover span:last-child,
.who-group li a:focus-visible span:last-child {
    transform: translate(4px, -4px);
}

.who-relationship {
    padding: clamp(105px, 12vw, 180px) 0;
}

.who-relationship__grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.85fr) minmax(520px, 1.15fr);
    gap: clamp(80px, 11vw, 180px);
}

.who-relationship__title {
    position: sticky;
    top: 145px;
    align-self: start;
}

.who-relationship__steps {
    border-top: 1px solid var(--ink);
}

.who-relationship__steps article {
    min-height: 185px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
}

.who-relationship__steps article > span {
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.who-relationship__steps h3 {
    grid-column: 2;
    margin: -30px 0 10px;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.who-relationship__steps p {
    grid-column: 2;
    max-width: 520px;
    margin: 0;
    color: var(--ink-soft);
}

.who-history {
    padding: clamp(100px, 11vw, 165px) 0;
    background: var(--mist);
}

.who-history__grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(500px, 1.2fr);
    gap: clamp(80px, 12vw, 190px);
}

.who-history time {
    display: block;
    margin-top: 55px;
    color: var(--nastrova-blue);
    font-family: var(--serif);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    letter-spacing: -0.045em;
}

.who-history__grid > div:last-child {
    padding-top: 38px;
    border-top: 1px solid var(--ink);
}

.who-history__grid > div:last-child p {
    max-width: 720px;
    margin: 36px 0 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.who-closing {
    padding: clamp(105px, 12vw, 180px) 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(55, 93, 169, 0.4), transparent 36%),
        #040c1b;
    color: var(--white);
}

.who-closing__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 80px;
}

.who-closing__inner > .who-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -35px;
}

.who-closing h2 {
    max-width: 900px;
}

.who-closing__links {
    min-width: 280px;
    display: grid;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.who-closing__links a {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;
}

.who-closing__links a:hover,
.who-closing__links a:focus-visible {
    color: var(--white);
}

@media (max-width: 1100px) {
    .who-hero__inner {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .who-group {
        grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
    }

    .who-group > p {
        grid-column: 1;
        max-width: 420px;
        padding-left: 58px;
    }

    .who-group ul {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 820px) {
    .site-header--internal .primary-nav {
        background: var(--nastrova-blue);
    }

    .portal-header-login {
        margin: 8px 0 0;
        padding: 16px !important;
    }

    .who-hero {
        min-height: 720px;
    }

    .who-hero__inner,
    .who-introduction__grid,
    .who-principle__grid,
    .who-section-heading,
    .who-relationship__grid,
    .who-history__grid,
    .who-closing__inner {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .who-hero__inner {
        padding-top: 175px;
        padding-bottom: 80px;
    }

    .who-hero__statement {
        max-width: 620px;
    }

    .who-principle__index {
        display: none;
    }

    .who-section-heading {
        margin-bottom: 52px;
    }

    .who-group {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .who-group > p {
        grid-column: auto;
        max-width: 620px;
        padding-left: 58px;
    }

    .who-group ul {
        grid-column: auto;
        grid-row: auto;
        margin-left: 58px;
    }

    .who-relationship__title {
        position: static;
    }

    .who-closing__inner > .who-eyebrow {
        grid-column: auto;
        margin-bottom: -15px;
    }

    .who-closing__links {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .who-hero {
        min-height: 660px;
    }

    .who-hero h1 {
        font-size: clamp(4.6rem, 23vw, 7rem);
    }

    .who-hero__rule,
    .who-hero::after {
        display: none;
    }

    .who-introduction,
    .who-principle,
    .who-structure,
    .who-relationship,
    .who-history,
    .who-closing {
        padding: 82px 0;
    }

    .who-group {
        padding: 45px 0;
    }

    .who-group > p,
    .who-group ul {
        margin-left: 0;
        padding-left: 0;
    }

    .who-relationship__steps article {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .who-relationship__steps h3,
    .who-relationship__steps p {
        grid-column: 1;
        margin-top: 0;
    }

    .who-history time {
        margin-top: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .who-group li a span:last-child {
        transition-duration: 0.01ms !important;
    }
}
