/* Max Orucov profile — follows the shared YEVO member design. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fafafa;
    color: #111;
    font-family: Arial, sans-serif;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 90px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    transition: box-shadow .35s ease;
}

header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.header-inner {
    height: 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease;
}

header.scrolled .header-inner {
    transform: scale(.97);
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #111;
    font-family: "Times New Roman", serif;
    font-size: 34px;
    text-decoration: none;
    transition: font-size .35s ease;
}

header.scrolled .logo {
    font-size: 28px;
}

.back-btn {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: .3s ease;
}

.back-btn:hover {
    background: #222;
    transform: translateY(-50%) translateY(-2px);
}

.language-switch {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: #f3f3f3;
}

.person-hero {
    min-height: calc(100vh - 90px);
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1480px;
    margin: auto;
    padding: 20px;
}

.person-photo {
    position: relative;
}

.person-photo img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .08);
}

.person-content {
    max-width: 700px;
}

.person-tag {
    display: inline-block;
    margin-bottom: 25px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 100px;
    color: #777;
    font-size: 14px;
}

.person-name {
    margin-bottom: 20px;
    font-family: "Times New Roman", serif;
    font-size: 88px;
    line-height: 1;
}

.person-position {
    margin-bottom: 40px;
    color: #888;
    font-size: 24px;
}

.person-description {
    color: #444;
    font-size: 19px;
    line-height: 1.9;
}

.connect {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.connect-inner {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.connect-item {
    position: relative;
    padding-bottom: 4px;
    color: #111;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    opacity: .7;
    transition: .25s;
}

.connect-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #111;
    transition: .25s;
}

.connect-item:hover {
    opacity: 1;
}

.connect-item:hover::after {
    width: 100%;
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 5px 10px;
}

.section-title {
    margin-bottom: 50px;
    font-family: "Times New Roman", serif;
    font-size: 56px;
}

.bio-card {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 45px;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .05);
}

.bio-block {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #e6e6e6;
}

.bio-block::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #111;
}

.bio-year {
    display: inline-block;
    margin-bottom: 8px;
    color: #999;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bio-block h3 {
    margin-bottom: 12px;
    color: #111;
    font-family: "Times New Roman", serif;
    font-size: 28px;
}

.bio-block p {
    color: #555;
    font-size: 18px;
    line-height: 1.9;
}

.bio-block p a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}

.bio-block p a:hover {
    opacity: .65;
}

.bio-block--studio {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 34px;
    align-items: center;
}

.studio-logo-card {
    width: 190px;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: #090b0e;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
    line-height: 0;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}

.studio-logo-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.studio-logo-card:hover,
.studio-logo-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(0, 0, 0, .22);
    outline: none;
}

.studio-logo-card:hover img,
.studio-logo-card:focus-visible img {
    transform: scale(1.025);
}

.term-tooltip {
    position: relative;
    display: inline-block;
    padding: 0 0 1px;
    border: 0;
    background: none;
    color: inherit;
    font-weight: inherit;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(17, 17, 17, .55);
    text-underline-offset: 4px;
    cursor: pointer;
    outline: none;
    transition: text-decoration-color .2s ease, color .2s ease;
}

.term-tooltip:hover,
.term-tooltip:focus {
    color: #222;
    text-decoration-style: solid;
    text-decoration-color: #111;
}

.term-tooltip::before,
.term-tooltip::after {
    position: absolute;
    left: 50%;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s cubic-bezier(.22, 1, .36, 1), visibility .24s ease;
}

.term-tooltip::before {
    content: "";
    bottom: calc(100% + 11px);
    width: 12px;
    height: 12px;
    border-right: 1px solid #d8d8d4;
    border-bottom: 1px solid #d8d8d4;
    background: #f8f8f6;
    transform: translate(-50%, 7px) rotate(45deg);
}

.term-tooltip::after {
    box-sizing: border-box;
    content: attr(data-tooltip);
    bottom: calc(100% + 17px);
    width: min(360px, calc(100vw - 40px));
    padding: 19px 21px;
    border: 1px solid transparent;
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(247, 247, 244, .99)) padding-box,
        linear-gradient(145deg, rgba(17, 17, 17, .24), rgba(17, 17, 17, .05)) border-box;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .15), 0 3px 10px rgba(0, 0, 0, .06);
    color: #242424;
    font-family: Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
    text-align: left;
    text-transform: none;
    transform: translate(-50%, 8px) scale(.97);
    transform-origin: 50% 100%;
    white-space: normal;
}

.term-tooltip:hover::before,
.term-tooltip:focus::before {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) rotate(45deg);
}

.term-tooltip:hover::after,
.term-tooltip:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

.term-tooltip:focus-visible {
    outline: 1px solid #999;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .term-tooltip::before {
        display: none;
    }

    .term-tooltip::after {
        position: fixed;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        padding: 17px 18px;
        border-radius: 15px;
        transform: translateY(10px) scale(.98);
        transform-origin: 50% 100%;
    }

    .term-tooltip:hover::after,
    .term-tooltip:focus::after {
        transform: translateY(0) scale(1);
    }
}

.bio-block--closing {
    padding: 24px 28px;
    border-left-color: #bdbdb8;
    border-radius: 0 14px 14px 0;
    background: #f7f7f5;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .025);
}

.bio-block--closing::before {
    background: #6f6f6b;
    box-shadow: 0 0 0 5px #eeeeea;
}

.bio-block--closing h3 {
    font-size: 30px;
}

.bio-block--closing p {
    color: #444;
}

footer {
    padding: 60px 20px;
    color: #999;
    text-align: center;
}

@media (max-width: 1024px) {
    .person-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .person-photo {
        max-width: 420px;
        margin: auto;
    }

    .person-name {
        font-size: 56px;
    }

    .person-position {
        font-size: 20px;
    }

    .person-description {
        font-size: 17px;
    }
}

@media (max-width: 600px) {
    header,
    .header-inner {
        height: 70px;
    }

    .logo {
        font-size: 22px;
        transform: translate(-50%, -50%);
        transition: font-size .25s ease;
    }

    header.scrolled .logo {
        font-size: 20px;
    }

    .back-btn {
        left: 12px;
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
        transform: translateY(-50%);
        transition: transform .25s ease, background .25s ease;
    }

    .back-btn:hover {
        transform: translateY(calc(-50% - 2px));
    }

    .language-switch {
        right: 12px;
    }

    .person-hero {
        min-height: auto;
        gap: 25px;
        padding: 15px;
    }

    .person-photo img {
        border-radius: 16px;
    }

    .person-name {
        font-size: 38px;
        line-height: 1.1;
    }

    .person-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    .person-position {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .person-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .section-title {
        font-size: 32px;
        text-align: center;
    }

    .bio-card {
        padding: 18px;
        border-radius: 18px;
    }

    .bio-card p {
        font-size: 15px;
        line-height: 1.7;
    }

    .bio-block--studio {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .studio-logo-card {
        width: min(190px, 72vw);
        justify-self: center;
        border-radius: 16px;
    }

    .section {
        padding: 10px 15px;
    }

    footer {
        padding: 40px 15px;
        font-size: 13px;
    }
}

@property --profile-scrollbar-opacity {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

html {
    --profile-scrollbar-opacity: 0;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    background-color: #111;
    animation: profileScrollbarFade .75s ease 1.65s forwards;
}

html::-webkit-scrollbar {
    width: 11px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 3px solid transparent;
    border-radius: 999px;
    background-color: rgba(17, 17, 17, var(--profile-scrollbar-opacity));
    background-clip: padding-box;
}

body {
    overflow: hidden;
    animation: profileBodyUnlock 0s linear 2.08s forwards;
}

.profile-intro {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 32px;
    overflow: hidden;
    pointer-events: auto;
    color: #fff;
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .08), transparent 34%), #111;
    animation: profileIntroCurtain 1.95s cubic-bezier(.76, 0, .24, 1) .12s forwards;
}

.profile-intro::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image: linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 100% 11vh;
}

.profile-intro__content {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    text-align: center;
}

.profile-intro__eyebrow {
    margin-bottom: 24px;
    color: #aaa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
    animation: profileIntroFade .55s ease .12s both;
}

.profile-intro__title {
    font-family: "Times New Roman", serif;
    font-size: clamp(64px, 10vw, 142px);
    font-weight: 400;
    line-height: .76;
    letter-spacing: -.065em;
}

.profile-intro__title span {
    display: block;
    animation: profileIntroTitle .72s cubic-bezier(.22, 1, .36, 1) both;
}

.profile-intro__title span:first-child {
    transform: translateX(-50px);
    animation-delay: .18s;
}

.profile-intro__title span:last-child {
    transform: translateX(50px);
    animation-delay: .27s;
}

.profile-intro__line {
    width: min(430px, 70vw);
    height: 1px;
    margin: 34px auto 0;
    background: #fff;
    transform: scaleX(0);
    animation: profileIntroLine .65s cubic-bezier(.22, 1, .36, 1) .38s both;
}

body > header {
    animation: profileHeaderReveal .65s ease 1.25s both;
}

.person-photo img {
    transform-origin: 50% 30%;
    animation: profilePhotoReveal 1.05s cubic-bezier(.22, 1, .36, 1) 1.05s both;
}

.person-tag,
.person-name,
.person-position,
.connect {
    animation: profileCopyReveal .78s cubic-bezier(.22, 1, .36, 1) both;
}

.person-tag { animation-delay: 1.26s; }
.person-name { animation-delay: 1.34s; }
.person-position { animation-delay: 1.42s; }
.connect { animation-delay: 1.5s; }

@keyframes profileIntroCurtain {
    0%, 56% {
        clip-path: inset(0 0 0 0);
        visibility: visible;
    }
    100% {
        clip-path: inset(0 0 100% 0);
        visibility: hidden;
    }
}

@keyframes profileBodyUnlock {
    to { overflow: auto; }
}

@keyframes profileScrollbarFade {
    from {
        --profile-scrollbar-opacity: 0;
        background-color: #111;
    }
    to {
        --profile-scrollbar-opacity: .34;
        background-color: #fafafa;
    }
}

@keyframes profileIntroTitle {
    from { opacity: 0; filter: blur(12px); }
    to { opacity: 1; filter: blur(0); transform: translateX(0); }
}

@keyframes profileIntroLine {
    to { transform: scaleX(1); }
}

@keyframes profileIntroFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes profileHeaderReveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes profilePhotoReveal {
    from {
        opacity: 0;
        clip-path: inset(14% 0 14% 0 round 24px);
        transform: scale(1.07);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0 round 24px);
        transform: scale(1);
    }
}

@keyframes profileCopyReveal {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        --profile-scrollbar-opacity: .34;
        background-color: #fafafa;
        animation: none;
    }

    body {
        overflow: auto;
        animation: none;
    }

    .profile-intro {
        display: none;
    }

    body > header,
    .person-photo img,
    .person-tag,
    .person-name,
    .person-position,
    .connect {
        animation: none;
    }
}
