/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #100f0d;
    --text: #eae7e0;
    --nav: #dedbd3;
    --muted: #8f96a1;
    --accent: #c9962f;
    --pad-x: clamp(24px, 5.4vw, 104px);
    --header-h: 112px;
}

html {
    scroll-behavior: smooth;
}

/* Offset anchored sections so they land below the sticky header */
.hero,
.bio,
.works,
.off,
.press,
.contact {
    scroll-margin-top: var(--header-h);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Space Mono", monospace;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.logo {
    font-family: "Anton", sans-serif;
    font-size: 33px;
    letter-spacing: 0.5px;
    color: #ece9e2;
    white-space: nowrap;
    text-shadow:
        0 -1.5px 0 rgba(90, 200, 255, 0.55),
        0 1.6px 0 rgba(255, 130, 60, 0.5),
        1.4px 0 0 rgba(255, 60, 140, 0.38),
        -1.4px 0 0 rgba(120, 255, 210, 0.32);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.2vw, 42px);
}

.nav a {
    font-size: 16px;
    color: var(--nav);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #fff;
}

.nav .num {
    color: #f3f0e9;
    margin-right: 3px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ece9e2;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Scroll reveal ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: 70ms; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: 140ms; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: 210ms; }
[data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: 280ms; }
[data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: 350ms; }

/* ===== Hero entrance ===== */
.hero__title {
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    animation: hero-title-reveal 1s cubic-bezier(0.65, 0, 0.35, 1) 0.05s forwards;
}

.hero__subtitle {
    opacity: 0;
    animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero__image {
    opacity: 0;
    animation: hero-image-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

@keyframes hero-title-reveal {
    to { clip-path: inset(0 0 0 0); }
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-in {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero__title,
    .hero__subtitle,
    .hero__image {
        animation: none;
        opacity: 1;
        transform: none;
        clip-path: none;
    }
}

/* ===== Hero ===== */
.hero {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: calc(100vh - var(--header-h));
}

.hero__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 var(--pad-x);
}

.hero__title {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(52px, 7.5vw, 144px);
    line-height: 0.98;
    letter-spacing: 0.5px;
    color: var(--text);
    text-transform: uppercase;
}

.hero__subtitle {
    margin-top: clamp(28px, 4vh, 46px);
    padding-left: 24px;
    border-left: 2px solid rgba(143, 150, 161, 0.5);
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.75;
    color: var(--muted);
    white-space: nowrap;
}

.hero__right {
    position: relative;
    padding-right: var(--pad-x);
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 2%;
    display: block;
}

/* ===== Biography ===== */
.bio {
    background: #e7e4df;
    color: #141310;
    padding: clamp(80px, 12vh, 140px) var(--pad-x) clamp(90px, 14vh, 160px);
    font-family: "Inter", sans-serif;
}

.bio__label {
    font-family: "Space Mono", monospace;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8781;
    margin-bottom: 14px;
}

.bio__label span {
    margin: 0 6px;
}

.bio__heading {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(46px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: 1px;
    color: #141310;
    text-transform: uppercase;
}

.bio__divider {
    margin-top: clamp(22px, 3vh, 34px);
    border-bottom: 1px solid #141310;
}

.bio__content {
    display: grid;
    grid-template-columns: minmax(0, 555px) 1fr;
    gap: clamp(44px, 9vw, 165px);
    align-items: start;
    margin-top: clamp(60px, 9vh, 110px);
}

.bio__figure {
    position: sticky;
    top: calc(var(--header-h) + clamp(20px, 4vh, 40px));
    border: 1px solid #1c1a17;
    padding: 10px;
}

.bio__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 72% 30%;
    filter: grayscale(100%);
}

.bio__title {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.3px;
    color: #141310;
    margin-bottom: clamp(26px, 3.4vh, 38px);
    max-width: 24ch;
}

.bio__text p {
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.62;
    color: #1c2333;
    margin-bottom: 24px;
    max-width: 62ch;
}

.bio__text p.bio__lead {
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.6;
    color: #141310;
    margin-bottom: 28px;
}

.bio__text p.bio__closing {
    margin-top: clamp(28px, 4vh, 40px);
    padding-left: 24px;
    border-left: 2px solid #141310;
    color: #3a3936;
}

.bio__btn {
    display: inline-block;
    margin-top: clamp(20px, 3vh, 34px);
    padding: 17px 34px;
    border: 1px solid #1c1a17;
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #141310;
    transition: background 0.25s ease, color 0.25s ease;
}

.bio__btn:hover {
    background: #141310;
    color: #e7e4df;
}

/* ===== Ballets & Projects ===== */
.works {
    background: #1a1a1a;
    color: var(--text);
    padding: clamp(78px, 11vh, 130px) var(--pad-x) clamp(90px, 13vh, 150px);
}

.works__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.works__label {
    font-family: "Space Mono", monospace;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8f8d87;
    margin-bottom: 14px;
}

.works__label span {
    margin: 0 6px;
}

.works__heading {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(44px, 5.8vw, 92px);
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--text);
    text-transform: uppercase;
}

.works__caption {
    font-family: "Space Mono", monospace;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: right;
    line-height: 1.7;
    color: #c2c0ba;
    white-space: nowrap;
}

.works__caption span {
    color: #6ea8d8;
}

.works__divider {
    margin-top: clamp(22px, 3vh, 34px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.works__grid {
    --works-gap: clamp(16px, 1.5vw, 24px);
    --works-cols: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--works-gap);
    margin-top: clamp(40px, 5vh, 64px);
}

.work-card {
    position: relative;
    display: block;
    flex: 0 0 calc((100% - (var(--works-cols) - 1) * var(--works-gap)) / var(--works-cols));
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.work-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.work-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.78) 100%);
}

.work-card__body {
    position: absolute;
    left: clamp(24px, 2.5vw, 46px);
    bottom: clamp(24px, 2.5vw, 42px);
    z-index: 2;
}

.work-card__title {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(26px, 2.4vw, 40px);
    letter-spacing: 0.5px;
    color: #f2efe8;
    text-transform: uppercase;
    line-height: 1;
}

.work-card__link {
    display: block;
    margin-top: 14px;
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b7b5af;
    transition: color 0.25s ease;
}

.work-card:hover img {
    transform: scale(1.05);
    filter: grayscale(100%) brightness(1.08);
}

.work-card:hover .work-card__link {
    color: #fff;
}

/* ===== Offerings ===== */
.off {
    background: #e7e4df;
    color: #141310;
    padding: clamp(84px, 12vh, 145px) var(--pad-x) clamp(90px, 13vh, 150px);
    font-family: "Inter", sans-serif;
}

.off__label {
    font-family: "Space Mono", monospace;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8781;
    margin-bottom: 14px;
}

.off__label span {
    margin: 0 6px;
}

.off__heading {
    display: inline-block;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(46px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: 1px;
    color: #141310;
    text-transform: uppercase;
    border-bottom: 5px solid #141310;
    padding-bottom: 10px;
}

.off__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(28px, 3.2vw, 64px);
    row-gap: clamp(44px, 6vh, 76px);
    margin-top: clamp(58px, 9vh, 104px);
}

.off-item__frame {
    border: 1px solid #1c1a17;
    padding: 10px;
    margin-bottom: clamp(26px, 3.4vh, 40px);
}

.off-item__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(100%);
}

.off-item--line {
    border-top: 1px solid #141310;
    padding-top: clamp(24px, 3.2vh, 36px);
}

.off-item__num {
    font-family: "Space Mono", monospace;
    font-size: 14px;
    letter-spacing: 2px;
    color: #8a8781;
    margin-bottom: 16px;
}

.off-item__title {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(22px, 1.9vw, 32px);
    line-height: 1.02;
    letter-spacing: 0.4px;
    color: #141310;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.off-item__desc {
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.62;
    color: #4a4945;
    max-width: 42ch;
}

/* ===== Press & Recognition ===== */
.press {
    background: var(--bg);
    color: var(--text);
    padding: clamp(84px, 12vh, 140px) var(--pad-x) clamp(90px, 14vh, 170px);
}

.press__label {
    font-family: "Space Mono", monospace;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b8b86;
    margin-bottom: 14px;
}

.press__label span {
    margin: 0 6px;
}

.press__heading {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(44px, 5.8vw, 92px);
    line-height: 0.95;
    letter-spacing: 1px;
    color: var(--text);
    text-transform: uppercase;
}

.press__list {
    margin-top: clamp(66px, 12vh, 150px);
}

.press-row {
    display: grid;
    grid-template-columns: 150px 1fr minmax(300px, 420px);
    align-items: center;
    column-gap: clamp(20px, 2.5vw, 48px);
    padding: clamp(38px, 5.2vh, 56px) 0;
}

.press-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.press-row__date {
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b8b86;
}

.press-row__pub {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ece9e2;
    text-shadow:
        0 -1.4px 0 rgba(90, 200, 255, 0.5),
        0 1.5px 0 rgba(255, 130, 60, 0.45),
        1.2px 0 0 rgba(255, 60, 140, 0.32),
        -1.2px 0 0 rgba(120, 255, 210, 0.28);
}

.press-row__title {
    font-family: "Space Mono", monospace;
    font-style: italic;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.5;
    color: #b0aea8;
}

/* ===== Contact ===== */
.contact {
    background: var(--bg);
    color: var(--text);
    padding: clamp(84px, 12vh, 140px) var(--pad-x) clamp(40px, 5vh, 56px);
}

.contact__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(48px, 8vw, 130px);
    align-items: start;
}

.contact__label {
    font-family: "Space Mono", monospace;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b8b86;
    margin-bottom: 20px;
}

.contact__label span {
    margin: 0 6px;
}

.contact__heading {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-size: clamp(52px, 7vw, 120px);
    line-height: 0.9;
    letter-spacing: 1px;
    color: var(--text);
    text-transform: uppercase;
}

.contact__text {
    margin-top: clamp(26px, 3.5vh, 40px);
    max-width: 34ch;
    font-family: "Space Mono", monospace;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.7;
    color: #9a988f;
}

.contact__links {
    margin-top: 6px;
}

.contact-item {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 3.2vh, 34px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-item__main {
    display: flex;
    flex-direction: column;
}

.contact-item__label {
    font-family: "Space Mono", monospace;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8b8b86;
    margin-bottom: 12px;
}

.contact-item__value {
    font-family: "Space Mono", monospace;
    font-size: clamp(19px, 1.9vw, 30px);
    color: #ece9e2;
    transition: color 0.25s ease;
    word-break: break-word;
}

.contact-item__arrow {
    font-size: clamp(22px, 2vw, 30px);
    color: #8b8b86;
    transition: color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover .contact-item__value {
    color: #6ea8d8;
}

.contact-item:hover .contact-item__arrow {
    color: #6ea8d8;
    transform: translate(4px, -4px);
}

.contact__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(70px, 12vh, 130px);
    padding-top: clamp(24px, 3vh, 34px);
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact__logo {
    font-family: "Anton", sans-serif;
    font-size: clamp(20px, 1.8vw, 26px);
    letter-spacing: 0.5px;
    color: #ece9e2;
    white-space: nowrap;
    text-shadow:
        0 -1.4px 0 rgba(90, 200, 255, 0.5),
        0 1.5px 0 rgba(255, 130, 60, 0.45),
        1.2px 0 0 rgba(255, 60, 140, 0.32),
        -1.2px 0 0 rgba(120, 255, 210, 0.28);
}

.contact__copy {
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #8b8b86;
    text-align: right;
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
    .off__grid {
        grid-template-columns: 1fr 1fr;
    }

    .works__grid {
        --works-cols: 2;
    }
}

@media (max-width: 760px) {
    .press-row {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: clamp(40px, 6vh, 64px);
    }

    .contact__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .contact__copy {
        text-align: left;
    }
}

@media (max-width: 900px) {
    .off__grid {
        grid-template-columns: 1fr;
    }

    .works__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .works__caption {
        text-align: left;
    }

    .works__grid {
        --works-cols: 1;
    }

    .bio__content {
        grid-template-columns: 1fr;
        gap: clamp(32px, 6vh, 56px);
    }

    .bio__figure {
        position: static;
        max-width: 480px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        z-index: 49;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: var(--bg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
        transition: max-height 0.35s ease, opacity 0.3s ease;
    }

    .nav.is-open {
        max-height: 420px;
        opacity: 1;
    }

    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px var(--pad-x) 24px;
    }

    .nav a {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 17px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto 60vh;
    }

    .hero__left {
        justify-content: flex-start;
        padding: clamp(32px, 6vh, 64px) var(--pad-x);
        order: 2;
    }

    .hero__right {
        order: 1;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }

    .hero__title {
        font-size: clamp(38px, 12vw, 52px);
    }
}
