/* Artem Slota — connection, initiative and social impact, within YEVO's shell. */
:root {
    --artem-paper: #f5f6f2;
    --artem-ink: #202b26;
    --artem-green: #536b4b;
    --artem-line: #d6dcd3;
    --artem-muted: #657065;
}
html { background: var(--artem-paper); animation: none; scroll-behavior: smooth; scroll-padding-top: 115px; }
body { background: var(--artem-paper); color: var(--artem-ink); overflow: hidden; animation: artem-unlock 0s 2.3s forwards; }
body > header { animation: artem-fade .6s 1.7s both; }
.person-hero {
    position: relative;
    width: min(1360px, 100%);
    min-height: calc(100svh - 90px);
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6.5vw, 100px);
    padding: 64px 56px 72px;
}
.person-photo { width: 100%; max-width: 530px; margin: 0; padding: 0; }
.person-photo::before {
    content: ""; position: absolute; inset: -16px 18px -16px -16px;
    border: 1px solid var(--artem-line); pointer-events: none;
}
.person-photo::after {
    content: ""; position: absolute; top: -17px; left: -17px;
    width: 38px; height: 38px; border-top: 3px solid var(--artem-green); border-left: 3px solid var(--artem-green);
}
.person-photo img {
    position: relative; width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover;
    border-radius: 2px; box-shadow: none;
    animation: artem-photo 1.1s cubic-bezier(.2,.8,.2,1) 1.4s both;
}
.person-content { min-width: 0; max-width: none; }
.person-tag {
    display: flex; align-items: center; gap: 11px; padding: 0; border: 0; border-radius: 0;
    margin-bottom: 26px; color: var(--artem-green); font-size: 10px;
    font-weight: 700; letter-spacing: .17em; text-transform: uppercase;
    animation: artem-rise .8s 1.65s both;
}
.artem-symbol { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; flex: 0 0 auto; }
.artem-symbol i { width: 4px; height: 8px; background: currentColor; }
.artem-symbol i:nth-child(2) { height: 13px; }
.artem-symbol i:nth-child(3) { height: 18px; }
.person-name {
    margin: 0 0 24px; font-size: clamp(68px, 7.6vw, 114px); font-weight: 400;
    line-height: .86; letter-spacing: -.055em; animation: artem-rise .9s 1.72s both;
}
.person-name span { display: block; }
.person-name span:last-child { margin-left: .48em; color: var(--artem-green); }
.person-position { margin-bottom: 24px; animation: artem-rise .8s 1.82s both; }
.person-description { max-width: 560px; font-size: 16px; line-height: 1.8; color: #586159; }
.person-membership {
    gap: 16px; margin: 0; padding: 14px 0; border: 0; border-top: 1px solid var(--artem-line);
    border-bottom: 1px solid var(--artem-line); border-radius: 0; background: transparent; box-shadow: none;
    animation: artem-rise .8s 1.92s both;
}
.person-membership__label { font-size: 9px; color: var(--artem-muted); letter-spacing: .12em; }
.person-membership__label::before { background: var(--artem-green); width: 5px; height: 5px; flex-basis: 5px; }
.person-membership__date { font-size: 22px; color: var(--artem-ink); border-color: var(--artem-line); }
.connect {
    max-width: 1248px; margin: 0 auto 96px; padding: 0 32px;
    animation: artem-fade .8s 2s both;
}
.connect-inner { justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid var(--artem-line); border-bottom: 1px solid var(--artem-line); }
.artem-connect-label { display: inline-flex; align-items: center; color: var(--artem-muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.connect-item { padding: 0; opacity: 1; color: var(--artem-ink); font-size: 12px; letter-spacing: .03em; }
.connect-item::after { background: var(--artem-green); bottom: -5px; }
.section { max-width: 1248px; padding: 0 32px; }
.section-title { display: flex; align-items: center; gap: 24px; margin-bottom: 46px; font-size: clamp(36px, 4.6vw, 58px); font-weight: 400; letter-spacing: -.035em; }
.section-title::before { content: "01 — 08"; font: 10px Arial,sans-serif; letter-spacing: .13em; color: var(--artem-green); }
.bio-card { counter-reset: chapter; gap: 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.bio-block {
    counter-increment: chapter; display: grid; grid-template-columns: 170px minmax(0,1fr);
    column-gap: 40px; padding: 42px 0 46px; border: 0; border-top: 1px solid var(--artem-line);
    border-radius: 0; background: transparent; box-shadow: none;
}
.bio-block::before {
    content: counter(chapter, decimal-leading-zero); position: static;
    grid-column: 1; grid-row: 1 / span 6; width: auto; height: auto;
    background: transparent; border-radius: 0; box-shadow: none;
    color: #aab7a4; font: 400 58px/.9 "Times New Roman",serif; letter-spacing: -.04em;
}
.bio-block > * { grid-column: 2; min-width: 0; }
.bio-year { display: block; margin: 0 0 10px; color: var(--artem-green); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.bio-block h3 { margin-bottom: 19px; color: var(--artem-ink); font-size: 34px; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.bio-block p { max-width: 800px; color: #586159; font-size: 16px; line-height: 1.95; }
.bio-block p + p { margin-top: 16px; }
.bio-media { margin-top: 28px; border-radius: 2px; box-shadow: none; }
.bio-media--portrait { max-width: 370px; }
.bio-media--wide { max-width: 100%; }
.bio-block--impact { margin: 10px -28px 34px; padding: 42px 28px; background: var(--artem-ink); border-color: transparent; }
.bio-block--impact h3 { color: #f0f4eb; }
.bio-block--impact p { color: #c0c9bc; }
.bio-block--impact .bio-year, .bio-block--impact::before { color: #b7cca4; }
.bio-block--closing { margin-top: 8px; border-bottom: 1px solid var(--artem-line); }
.bio-block--closing h3 { font-style: italic; font-size: 40px; color: var(--artem-green); }
.bio-block--closing p { color: #586159; }
.artem-reveal { transition: opacity .65s ease, transform .65s ease; }
.artem-reveal.is-waiting { opacity: 0; transform: translateY(20px); }
a:focus-visible { outline: 2px solid var(--artem-green); outline-offset: 6px; }

/* A route draws itself, connects three points, then opens into the profile. */
.profile-intro.artem-intro {
    position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center;
    overflow: hidden; pointer-events: auto;
    padding: 32px; background: #202b26; color: #f0f4eb;
    animation: artem-intro-exit .75s cubic-bezier(.76,0,.24,1) 1.55s forwards;
}
.profile-intro.artem-intro::after { content: none; }
.artem-intro__frame { position: absolute; inset: 28px; border: 1px solid #ffffff18; }
.artem-intro__brand { position: absolute; left: 54px; top: 45px; font: 26px "Times New Roman",serif; letter-spacing: .02em; }
.artem-intro__index { position: absolute; right: 54px; top: 54px; font: 10px Arial,sans-serif; letter-spacing: .16em; color: #b5c9a7; }
.artem-intro__scene { position: relative; width: min(800px, 85vw); }
.artem-intro__route { position: absolute; width: 115%; height: 150%; left: -7.5%; top: -25%; overflow: visible; }
.artem-intro__route path { fill: none; stroke: #9db28d; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: artem-route 1.1s .12s both; }
.artem-intro__route circle { fill: #bacba8; transform-box: fill-box; transform-origin: center; animation: artem-node .35s both; }
.artem-intro__route circle:nth-of-type(1) { animation-delay: .2s; }
.artem-intro__route circle:nth-of-type(2) { animation-delay: .65s; }
.artem-intro__route circle:nth-of-type(3) { animation-delay: 1s; }
.artem-intro__name { position: relative; font: 400 clamp(60px, 11vw, 152px)/.85 "Times New Roman",serif; letter-spacing: -.055em; }
.artem-intro__name span { display: block; overflow: hidden; }
.artem-intro__name b { display: block; font-weight: 400; animation: artem-word .8s cubic-bezier(.2,.8,.2,1) .2s both; }
.artem-intro__name span:last-child { margin-left: 28%; color: #b5c9a7; }
.artem-intro__name span:last-child b { animation-delay: .38s; }
@keyframes artem-intro-exit { from { clip-path: inset(0); visibility: visible; } to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes artem-route { to { stroke-dashoffset: 0; } }
@keyframes artem-node { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes artem-word { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes artem-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes artem-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes artem-photo { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-14px); } to { opacity: 1; clip-path: inset(0); transform: none; } }
@keyframes artem-unlock { to { overflow: auto; } }
@media (max-width: 1050px) {
    .person-hero { gap: 42px; padding: 64px 40px; }
    .person-name { font-size: clamp(64px, 9vw, 94px); }
    .person-description { font-size: 15px; }
    .bio-block { grid-template-columns: 110px minmax(0,1fr); gap: 0 28px; }
}
@media (max-width: 760px) {
    .person-hero { grid-template-columns: 1fr; min-height: auto; padding: 44px 28px 38px; gap: 36px; text-align: left; }
    .person-photo { max-width: 480px; margin: 0 auto; }
    .person-photo img { aspect-ratio: 1.15; object-position: center 42%; }
    .person-content { width: 100%; max-width: 560px; margin: 0 auto; }
    .person-name { font-size: clamp(64px, 15vw, 100px); margin-bottom: 24px; }
    .person-name span { display: inline; }
    .person-name span:last-child { margin-left: 0; }
    .person-tag { margin-bottom: 20px; font-size: 9px; letter-spacing: .12em; }
    .person-membership { grid-template-columns: auto auto; justify-items: start; gap: 12px; }
    .person-membership__date { padding: 0 0 0 12px; border-top: 0; border-left: 1px solid var(--artem-line); font-size: 20px; }
    .person-membership__label { font-size: 8px; }
    .connect { padding: 0 28px; margin-bottom: 52px; }
    .connect-inner { justify-content: flex-start; gap: 20px; padding: 20px 0; }
    .artem-connect-label { width: 100%; font-size: 9px; }
    .section { padding: 0 28px; }
    .section-title { display: block; text-align: left; margin-bottom: 28px; }
    .section-title::before { display: block; margin-bottom: 14px; }
    .bio-block { grid-template-columns: 36px minmax(0,1fr); gap: 0 16px; padding: 28px 0 32px; }
    .bio-block::before { font-size: 28px; }
    .bio-block h3 { font-size: 28px; }
    .bio-block p { font-size: 15px; line-height: 1.85; }
    .bio-year { font-size: 9px; line-height: 1.5; }
    .bio-block--impact { margin: 8px -14px 20px; padding: 28px 14px 32px; }
    .bio-block--closing h3 { font-size: 32px; }
    .bio-media { max-width: 100%; margin-top: 22px; }
    .artem-intro__frame { inset: 14px; }
    .artem-intro__brand { left: 32px; top: 32px; font-size: 23px; }
    .artem-intro__index { right: 32px; top: 41px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body { overflow: auto; animation: none; }
    .profile-intro.artem-intro { display: none; }
    body > header, .person-photo img, .person-tag, .person-name, .person-position,
    .person-membership, .connect { animation: none; }
    .artem-reveal, .artem-reveal.is-waiting { opacity: 1; transform: none; transition: none; }
}
