:root {
    --sonya-paper: #f4efe9;
    --sonya-paper-deep: #e8ddd3;
    --sonya-sheet: #fffdf9;
    --sonya-ink: #191616;
    --sonya-muted: #716a66;
    --sonya-wine: #7e263a;
    --sonya-wine-dark: #551625;
    --sonya-line: rgba(25, 22, 22, .16);
}

html {
    background-color: var(--sonya-paper);
    animation: sonyaScrollbarFade .75s ease 1.8s forwards;
}

body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 9% 15%, rgba(126, 38, 58, .07), transparent 25rem),
        linear-gradient(135deg, rgba(255, 255, 255, .38), transparent 45%),
        var(--sonya-paper);
    color: var(--sonya-ink);
    animation: sonyaBodyUnlock 0s linear 2.4s forwards;
}

header {
    height: 88px;
    border-bottom: 1px solid var(--sonya-line);
    background: rgba(250, 247, 243, .9);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1440px, 100%);
    height: 88px;
    margin: 0 auto;
}

.logo { color: var(--sonya-ink); letter-spacing: .035em; }
.back-btn { border-radius: 999px; background: var(--sonya-ink); }
.back-btn:hover { background: var(--sonya-wine-dark); }

.person-hero {
    position: relative;
    width: min(1380px, 100%);
    min-height: calc(100svh - 88px);
    grid-template-columns: minmax(380px, .9fr) minmax(460px, 1.1fr);
    gap: clamp(56px, 8vw, 122px);
    padding: 64px 40px 108px;
}

.person-photo {
    position: relative;
    isolation: isolate;
    width: min(100%, 540px);
    padding: 0;
}

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

.person-photo::before {
    inset: 20px -20px -20px 20px;
    z-index: -2;
    border-radius: 0;
    background: var(--sonya-paper-deep);
    transform: none;
}

.person-photo::after {
    left: 28px;
    bottom: -11px;
    z-index: 2;
    width: min(170px, 32%);
    height: 3px;
    border: 0;
    border-radius: 0;
    background: var(--sonya-wine);
    transform: none;
}

.person-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 50% 48%;
    border-radius: 0;
    box-shadow: 0 30px 74px rgba(52, 30, 29, .16);
}

.person-content {
    position: relative;
    max-width: 720px;
    padding-top: 24px;
}

.person-tag {
    margin-bottom: 28px;
    padding: 5px 0 5px 14px;
    border: 0;
    border-left: 3px solid var(--sonya-wine);
    border-radius: 0;
    color: var(--sonya-wine-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.person-name {
    max-width: 720px;
    margin-bottom: 30px;
    color: var(--sonya-ink);
    font-size: clamp(76px, 8.2vw, 132px);
    font-weight: 400;
    line-height: .78;
    letter-spacing: -.065em;
    text-wrap: balance;
}

.person-position { margin-bottom: 0; color: var(--sonya-muted); }

.person-description {
    max-width: 650px;
    color: #4e4845;
    font-size: 18px;
    line-height: 1.85;
}

.person-membership {
    margin-top: 30px;
    border-color: rgba(126, 38, 58, .2);
    border-radius: 2px 16px 2px 2px;
    background: rgba(255, 253, 249, .68);
    box-shadow: none;
}

.person-membership__label::before { background: var(--sonya-wine); }
.person-membership__date { border-color: rgba(126, 38, 58, .2); color: var(--sonya-ink); }

.connect {
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0 40px 92px;
}

.connect-inner {
    justify-content: center;
    gap: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--sonya-line);
}

.connect-item {
    color: var(--sonya-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: 1;
}

.connect-item::after {
    width: 100%;
    background: var(--sonya-wine);
    transform: scaleX(.25);
    transform-origin: left;
}

.connect-item:hover::after,
.connect-item:focus-visible::after { width: 100%; transform: scaleX(1); }

.section {
    width: min(1320px, 100%);
    max-width: none;
    padding: 28px 40px 120px;
}

.section-title {
    position: relative;
    margin: 0 0 54px;
    padding-bottom: 24px;
    color: var(--sonya-ink);
    font-size: clamp(58px, 7vw, 96px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.045em;
    text-align: left;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(280px, 46vw);
    height: 2px;
    background: var(--sonya-wine);
    transform: rotate(-1.5deg);
    transform-origin: left;
}

.bio-card {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 34px 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    counter-reset: sonya-section;
}

.bio-block {
    position: relative;
    grid-column: 1 / 10;
    overflow: hidden;
    padding: clamp(30px, 4vw, 52px);
    border: 1px solid rgba(25, 22, 22, .12);
    border-left: 1px solid rgba(25, 22, 22, .12);
    border-radius: 3px 36px 3px 3px;
    background: rgba(255, 253, 249, .82);
    box-shadow: 0 20px 54px rgba(60, 36, 32, .06);
    counter-increment: sonya-section;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.bio-block:nth-child(even) { grid-column: 4 / -1; }
.bio-block:nth-child(2),
.bio-block:nth-child(3),
.bio-block:nth-child(7) { grid-column: 1 / -1; }

.bio-block:hover {
    border-color: rgba(126, 38, 58, .26);
    box-shadow: 0 28px 70px rgba(60, 36, 32, .09);
    transform: translateY(-3px);
}

.bio-block::before {
    content: counter(sonya-section, decimal-leading-zero);
    position: absolute;
    top: 18px;
    right: 22px;
    left: auto;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: rgba(126, 38, 58, .09);
    font-family: "Times New Roman", serif;
    font-size: clamp(64px, 7vw, 100px);
    line-height: 1;
}

.bio-year {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    color: var(--sonya-wine);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
}

.bio-block h3 {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-bottom: 20px;
    color: var(--sonya-ink);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.025em;
}

.bio-block p {
    position: relative;
    z-index: 1;
    max-width: 980px;
    color: #514b47;
    font-size: 17px;
    line-height: 1.9;
}

.bio-media {
    flex: none;
    width: 100%;
    max-width: none;
    border: 1px solid rgba(25, 22, 22, .1);
    border-radius: 2px 24px 2px 2px;
    background: var(--sonya-sheet);
    box-shadow: 0 16px 38px rgba(47, 28, 27, .09);
}

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

.artworks-grid .bio-media { grid-column: span 4; }
.artworks-grid:has(> :nth-child(2):last-child) .bio-media { grid-column: span 6; }
.work-zoom { background: var(--sonya-paper-deep); }

.work-zoom img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.work-zoom:hover img,
.work-zoom:focus-visible img { transform: scale(1.035); }
.work-zoom:focus-visible { outline-color: var(--sonya-wine); }

.work-caption {
    min-height: 88px;
    padding: 16px 18px 18px;
    background: var(--sonya-sheet);
}

.work-caption strong { color: var(--sonya-ink); font-size: 22px; font-weight: 400; }
.work-caption span { color: var(--sonya-muted); }

.bio-media-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bio-media-row .bio-media img,
.bio-media-row .bio-media:first-child img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
}

.bio-block > .bio-media {
    width: min(620px, 100%);
    margin-right: auto;
    margin-left: auto;
}

.image-lightbox::backdrop { background: rgba(31, 14, 18, .94); }
.image-lightbox img { border-radius: 0; }
.image-lightbox-close { background: var(--sonya-sheet); color: var(--sonya-wine-dark); }

.profile-intro {
    padding: 32px;
    color: var(--sonya-ink);
    background: var(--sonya-paper);
    backface-visibility: hidden;
    pointer-events: none;
    transform: translateZ(0);
    will-change: clip-path;
    animation:
        sonyaIntroCurtain 2.4s cubic-bezier(.76, 0, .24, 1) forwards,
        sonyaIntroRelease 0s linear 2.5s forwards;
}

.profile-intro::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    width: min(820px, 78vw);
    height: clamp(150px, 23vw, 280px);
    border-radius: 48% 36% 52% 40% / 42% 55% 38% 58%;
    background: var(--sonya-wine);
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-4deg) scaleX(.05);
    animation: sonyaBrushStroke .9s cubic-bezier(.16, 1, .3, 1) .14s forwards;
}

.profile-intro::after {
    z-index: 1;
    opacity: .18;
    background-image:
        repeating-linear-gradient(0deg, rgba(62, 40, 35, .12) 0, rgba(62, 40, 35, .12) 1px, transparent 1px, transparent 7px),
        radial-gradient(circle at 20% 24%, rgba(126, 38, 58, .16), transparent 28%);
    background-size: auto;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.profile-intro__content {
    z-index: 2;
    width: min(980px, 100%);
    animation: sonyaIntroCopyExit .36s ease 1.48s forwards;
}

.profile-intro__eyebrow {
    margin-bottom: 28px;
    color: var(--sonya-wine-dark);
    animation: sonyaIntroEyebrow .55s ease .12s both;
}

.profile-intro__title {
    color: var(--sonya-sheet);
    font-size: clamp(66px, 10.5vw, 150px);
    line-height: .75;
    letter-spacing: -.07em;
}

.profile-intro__title span,
.profile-intro__title span:first-child,
.profile-intro__title span:last-child {
    display: block;
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(52px) rotate(2deg);
    animation: sonyaIntroTitle .72s cubic-bezier(.16, 1, .3, 1) both;
}

.profile-intro__title span:first-child { animation-delay: .36s; }
.profile-intro__title span:last-child { animation-delay: .46s; }

.profile-intro__line {
    width: min(520px, 74vw);
    height: 2px;
    margin-top: 38px;
    background: var(--sonya-wine-dark);
    transform: rotate(-3deg) scaleX(0);
    animation: sonyaIntroLine .68s cubic-bezier(.22, 1, .36, 1) .65s both;
}

body > header { animation: sonyaHeaderReveal .6s ease 1.45s both; }
.person-photo::before,
.person-photo::after { animation: sonyaFrameReveal .76s cubic-bezier(.22, 1, .36, 1) 1.24s both; }
.person-photo img {
    backface-visibility: hidden;
    will-change: opacity, transform;
    animation: sonyaPhotoReveal .82s cubic-bezier(.22, 1, .36, 1) 1.25s both;
}

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

.person-tag { animation-delay: 1.54s; }
.person-name { animation-delay: 1.62s; }
.person-position { animation-delay: 1.7s; }
.connect { animation-delay: 1.78s; }

@keyframes sonyaIntroCurtain {
    0%, 62% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    92% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 13%);
    }
    99.5% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
}

@keyframes sonyaIntroRelease {
    to { visibility: hidden; }
}

@keyframes sonyaBrushStroke {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scaleX(.05); }
    25% { opacity: 1; }
    100% { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scaleX(1); }
}

@keyframes sonyaIntroTitle {
    to { opacity: 1; clip-path: inset(0); transform: translateY(0) rotate(0); }
}

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

@keyframes sonyaIntroLine { to { transform: rotate(-3deg) scaleX(1); } }
@keyframes sonyaIntroCopyExit { to { opacity: 0; transform: translateY(-12px); } }
@keyframes sonyaBodyUnlock { to { overflow-x: clip; overflow-y: auto; } }

@keyframes sonyaScrollbarFade {
    from { --profile-scrollbar-opacity: 0; background-color: var(--sonya-paper); }
    to { --profile-scrollbar-opacity: .34; background-color: var(--sonya-paper); }
}

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

@keyframes sonyaPhotoReveal {
    from {
        opacity: 0;
        transform: translateY(16px) scale(1.015);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sonyaFrameReveal {
    from { opacity: 0; transform: rotate(0) scale(.92); }
    to { opacity: 1; }
}

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

@keyframes sonyaSectionReveal {
    from { opacity: 0; transform: translateY(46px) rotate(.35deg); }
    to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (max-width: 1050px) {
    .person-hero {
        grid-template-columns: minmax(340px, .85fr) minmax(400px, 1.15fr);
        gap: 54px;
    }

    .person-name { font-size: clamp(68px, 8.6vw, 102px); }
}

@media (max-width: 860px) {
    .person-hero {
        grid-template-columns: 1fr;
        gap: 64px;
        padding-top: 52px;
        text-align: center;
    }

    .person-photo {
        width: min(480px, calc(100% - 28px));
        margin: 0 auto;
    }

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

    .person-name,
    .person-description { margin-right: auto; margin-left: auto; }

    .person-tag {
        border-left: 0;
        border-bottom: 2px solid var(--sonya-wine);
        padding: 5px 0 10px;
    }

    .connect-inner { justify-content: center; }

    .bio-block,
    .bio-block:nth-child(even),
    .bio-block:nth-child(2),
    .bio-block:nth-child(3),
    .bio-block:nth-child(7) { grid-column: 1 / -1; }
}

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

    .person-hero {
        min-height: auto;
        gap: 46px;
        padding: 34px 16px 68px;
    }

    .person-photo {
        width: calc(100% - 20px);
        padding: 0;
    }

    .person-photo::before { inset: 12px -12px -12px 12px; }

    .person-photo img,
    .person-photo::before,
    .person-photo::after { border-radius: 0; }

    .person-content { padding-top: 8px; }
    .person-tag { margin-bottom: 24px; font-size: 10px; }

    .person-name {
        margin-bottom: 24px;
        font-size: clamp(48px, 16vw, 68px);
        line-height: .84;
    }

    .person-description { font-size: 16px; line-height: 1.75; }
    .connect { padding: 0 16px 68px; }
    .connect-inner { gap: 20px 28px; }
    .section { padding: 12px 16px 84px; }

    .section-title {
        margin-bottom: 34px;
        padding-bottom: 18px;
        font-size: 48px;
        text-align: left;
    }

    .bio-card { gap: 22px; }

    .bio-block {
        padding: 26px 22px 30px;
        border-radius: 2px 24px 2px 2px;
    }

    .bio-block::before { top: 14px; right: 16px; font-size: 58px; }
    .bio-block h3 { padding-right: 28px; font-size: 32px; }
    .bio-block p { font-size: 15px; line-height: 1.75; }

    .artworks-grid,
    .bio-media-row { grid-template-columns: 1fr; gap: 16px; }

    .artworks-grid .bio-media,
    .artworks-grid:has(> :nth-child(2):last-child) .bio-media { grid-column: auto; }

    .work-caption { min-height: auto; }
    .profile-intro { padding: 20px; }

    .profile-intro::before {
        width: 112vw;
        height: 190px;
    }

    .profile-intro__eyebrow { margin-bottom: 20px; }

    .profile-intro__title {
        font-size: clamp(52px, 17.5vw, 76px);
        line-height: .78;
    }

    .profile-intro__line { width: 72vw; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    html,
    body { background-color: var(--sonya-paper); animation: none; }

    body { overflow-x: clip; overflow-y: auto; }
    .profile-intro { display: none; }

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

    .bio-block,
    .bio-media,
    .work-zoom img { transition: none; }
}
