/* =========================================================
   XCY EVENTS
   CORPORATE PREMIUM DESIGN
========================================================= */

:root {

    --paper: #f3f1ec;
    --paper-dark: #e9e6df;

    --ink: #171717;
    --soft-ink: #55534f;

    --muted: #85827b;

    --line: rgba(23,23,23,.15);

    --accent: #6f2e32;

    --white: #ffffff;

    --sans: "Inter", Arial, Helvetica, sans-serif;

    --ease: cubic-bezier(.22,1,.36,1);

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--paper);

    color: var(--ink);

    font-family: var(--sans);

    overflow-x: hidden;

}


body.menu-open {
    overflow: hidden;
}


img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

}


a {

    color: inherit;

    text-decoration: none;

}


button {

    font-family: inherit;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 88px;

    padding: 0 4vw;

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;

    border-bottom: 1px solid rgb(171, 171, 171);

    background: rgba(93, 93, 93, 0.708);

    backdrop-filter: blur(16px);

    z-index: 1000;

}


.brand {

    display: flex;

    align-items: center;

    width: max-content;

}


.brand img {

    width: auto;

    height: 100px;

    max-width: 140px;

    object-fit: contain;

}


.header-center {

    text-align: center;

    font-size: .62rem;

    font-weight: 500;

    letter-spacing: .18em;

    color: white;

}


.menu-button {

    justify-self: end;

    display: flex;

    align-items: center;

    gap: 15px;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: white;

    font-size: .62rem;

    font-weight: 500;

    letter-spacing: .14em;

}


.menu-icon {

    width: 27px;

    display: flex;

    flex-direction: column;

    gap: 6px;

}


.menu-icon i {

    display: block;

    width: 100%;

    height: 1px;

    background: white;

}


/* =========================================================
   MENU PANEL
========================================================= */

.menu-panel {

    position: fixed;

    inset: 0;

    background: #171717;

    color: #f3f1ec;

    z-index: 2000;

    transform: translateY(-100%);

    transition: transform .7s var(--ease);

}


.menu-panel.open {

    transform: translateY(0);

}


.menu-panel-inner {

    height: 100%;

    padding: 38px 5vw;

    display: flex;

    flex-direction: column;

}


.menu-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: .62rem;

    font-weight: 500;

    letter-spacing: .16em;

}


.menu-top button {

    border: 0;

    background: none;

    color: #f3f1ec;

    cursor: pointer;

    font-size: .62rem;

    font-weight: 500;

    letter-spacing: .14em;

}


.menu-top button strong {

    font-size: 1rem;

    font-weight: 400;

    margin-left: 8px;

}


.menu-panel nav {

    margin-top: auto;

    margin-bottom: auto;

    display: flex;

    flex-direction: column;

    gap: 22px;

}


.menu-panel nav a {

    display: flex;

    align-items: center;

    gap: 35px;

    width: max-content;

    font-family: var(--sans);

    font-size: clamp(2rem,4vw,4rem);

    line-height: 1.1;

    font-weight: 400;

    letter-spacing: -.02em;

    transition:

        color .3s ease,
        transform .3s ease;

}


.menu-panel nav a:hover {

    color: #aaa59d;

    transform: translateX(10px);

}


.menu-panel nav small {

    width: 25px;

    font-family: var(--sans);

    font-size: .58rem;

    font-weight: 500;

    color: #85827b;

    letter-spacing: .08em;

}


.menu-panel nav a span {

    letter-spacing: -.025em;

}


.menu-bottom {

    display: flex;

    justify-content: space-between;

    font-size: .55rem;

    font-weight: 500;

    letter-spacing: .16em;

    color: #85827b;

}


/* =========================================================
   GENERAL
========================================================= */

.hero,
.introduction,
.editorial,
.selected-work,
.disciplines,
.philosophy {

    border-bottom: 1px solid var(--line);

}


.section-label {

    font-size: .58rem;

    font-weight: 600;

    letter-spacing: .17em;

    text-transform: uppercase;

    color: var(--soft-ink);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    height: 100svh;

    min-height: 680px;

    overflow: hidden;

    color: white;

}


.hero-background {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


.hero-background img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1.06);

    animation: heroImage 2s var(--ease) forwards;

}


@keyframes heroImage {

    to {

        transform: scale(1);

    }

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.38) 48%,
            rgba(0,0,0,.18) 100%
        );

}


.hero-top {

    position: absolute;

    top: 120px;

    left: 4vw;

    right: 4vw;

    display: flex;

    justify-content: space-between;

    font-size: .56rem;

    font-weight: 500;

    letter-spacing: .16em;

    z-index: 3;

}


.hero-content {

    position: absolute;

    left: 7vw;

    top: 50%;

    transform: translateY(-43%);

    max-width: 850px;

    z-index: 3;

}


.hero-label {

    margin-bottom: 32px;

    font-size: .58rem;

    font-weight: 600;

    letter-spacing: .2em;

}


.hero h1 {

    font-family: var(--sans);

    font-size: clamp(3.5rem,7vw,7rem);

    font-weight: 500;

    line-height: 1.02;

    letter-spacing: -.055em;

}


.hero h1 span {

    color: #d7c1ba;

}


.hero-description {

    margin-top: 45px;

    display: flex;

    align-items: center;

    gap: 60px;

}


.hero-description p {

    max-width: 320px;

    color: rgba(255,255,255,.82);

    font-size: .72rem;

    line-height: 1.9;

}


.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 30px;

    padding: 17px 22px;

    border: 1px solid rgba(255,255,255,.65);

    color: white;

    font-size: .58rem;

    font-weight: 500;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition:

        background .3s ease,
        color .3s ease;

}


.hero-button:hover {

    background: white;

    color: var(--ink);

}


.hero-button b {

    font-size: 1rem;

    font-weight: 400;

}


.hero-bottom {

    position: absolute;

    left: 4vw;

    right: 4vw;

    bottom: 25px;

    display: flex;

    justify-content: space-between;

    font-size: .52rem;

    font-weight: 500;

    letter-spacing: .16em;

    z-index: 3;

}


@media(max-width:800px) {

    .header {

        height: 76px;

        grid-template-columns: 1fr 1fr;

    }


    .header-center {

        display: none;

    }


    .brand img {

        height: 36px;

    }


    .hero {

        min-height: 700px;

    }


    .hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.48),
                rgba(0,0,0,.72)
            );

    }


    .hero-top {

        top: 100px;

        font-size: .48rem;

    }


    .hero-content {

        left: 7vw;

        right: 7vw;

        top: 53%;

        transform: translateY(-40%);

    }


    .hero h1 {

        font-size: clamp(3rem,14vw,5.5rem);

        line-height: 1.02;

    }


    .hero-description {

        margin-top: 35px;

        flex-direction: column;

        align-items: flex-start;

        gap: 28px;

    }


    .hero-description p {

        max-width: 300px;

        font-size: .68rem;

    }


    .hero-bottom {

        font-size: .45rem;

    }


    .hero-bottom span:last-child {

        display: none;

    }

}


/* =========================================================
   INTRODUCTION
========================================================= */

.introduction {

    display: grid;

    grid-template-columns: 10% 90%;

    padding: 150px 7vw;

}


.intro-index {

    font-size: .58rem;

    font-weight: 500;

    color: var(--muted);

}


.intro-main {

    max-width: 1050px;

}


.intro-main h2 {

    margin-top: 40px;

    font-family: var(--sans);

    font-size: clamp(3.5rem,6vw,6.5rem);

    line-height: 1.02;

    font-weight: 400;

    letter-spacing: -.055em;

}


.intro-main h2 span {

    color: var(--accent);

}


.intro-footer {

    margin-top: 80px;

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;

}


.intro-footer p {

    max-width: 470px;

    font-size: .72rem;

    line-height: 2;

    color: var(--soft-ink);

}


.editorial-link {

    display: inline-flex;

    align-items: center;

    gap: 24px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--ink);

    font-size: .56rem;

    font-weight: 500;

    letter-spacing: .12em;

    text-transform: uppercase;

    white-space: nowrap;

}


.editorial-link b {

    font-size: 1rem;

    font-weight: 400;

}


@media(max-width:800px) {

    .introduction {

        display: block;

        padding: 100px 7vw;

    }


    .intro-index {

        margin-bottom: 45px;

    }


    .intro-main h2 {

        font-size: clamp(3rem,12vw,5rem);

    }


    .intro-footer {

        flex-direction: column;

        align-items: flex-start;

        margin-top: 60px;

        gap: 40px;

    }

}


/* =========================================================
   FEATURED PHOTOGRAPHY
========================================================= */

.editorial {

    padding: 110px 7vw 130px;

    background: var(--paper-dark);

}


.editorial-caption {

    display: flex;

    justify-content: space-between;

    margin-bottom: 50px;

    font-size: .52rem;

    font-weight: 600;

    letter-spacing: .16em;

}


.editorial-grid {

    display: grid;

    grid-template-columns: 1.35fr 1fr 1fr;

    gap: 22px;

}


.editorial-image {

    height: 560px;

    overflow: hidden;

}



.editorial-image img {

    transition: transform 1.2s var(--ease);

}


.editorial-image:hover img {

    transform: scale(1.035);

}


.editorial-footer {

    margin-top: 100px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10vw;

    align-items: end;

}


.editorial-footer h2 {

    margin-top: 30px;

    font-size: clamp(3rem,5vw,5.5rem);

    line-height: .98;

    font-weight: 400;

    letter-spacing: -.05em;

}


.editorial-footer h2 span {

    color: var(--accent);

}


.editorial-footer p {

    max-width: 400px;

    font-size: .72rem;

    line-height: 2;

    color: var(--soft-ink);

}


@media(max-width:800px) {

    .editorial {

        padding: 90px 7vw 100px;

    }


    .editorial-caption {

        margin-bottom: 35px;

    }


    .editorial-grid {

        display: flex;

        flex-direction: column;

        gap: 22px;

    }


    .editorial-image,
    .editorial-image:nth-child(2),
    .editorial-image:nth-child(3) {

        width: 100%;

        height: 420px;

        margin: 0;

    }


    .editorial-footer {

        display: block;

        margin-top: 70px;

    }


    .editorial-footer h2 {

        font-size: clamp(3rem,12vw,5rem);

    }


    .editorial-footer p {

        margin-top: 45px;

    }

}


/* =========================================================
   SELECTED WORK
========================================================= */

.selected-work {

    padding: 140px 7vw;

}


.work-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    margin-bottom: 90px;

}


.work-heading h2 {

    margin-top: 32px;

    font-size: clamp(3.5rem,6vw,6.5rem);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.055em;

}


.work-heading h2 span {

    color: var(--accent);

}


.work-count {

    font-size: .52rem;

    font-weight: 500;

    color: var(--muted);

}


.work-grid {

    display: grid;

    grid-template-columns: repeat(12,1fr);

    gap: 70px 30px;

}


.work-card a {

    display: block;

}


.work-large {

    grid-column: 1 / 8;

}


.work-small {

    grid-column: 9 / 13;

    margin-top: 160px;

}


.work-wide {

    grid-column: 3 / 11;

}


.work-image {

    position: relative;

    overflow: hidden;

}


.work-large .work-image {

    height: 650px;

}


.work-small .work-image {

    height: 500px;

}


.work-wide .work-image {

    height: 560px;

}


.work-image img {

    transition: transform 1.2s var(--ease);

}


.work-card:hover img {

    transform: scale(1.035);

}


.work-number {

    position: absolute;

    right: 20px;

    top: 20px;

    color: white;

    font-size: .55rem;

    font-weight: 500;

}


.work-details {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding-top: 20px;

}


.work-details h3 {

    font-size: 1.5rem;

    font-weight: 500;

    letter-spacing: -.025em;

}


.work-details p {

    margin-top: 7px;

    font-size: .5rem;

    font-weight: 500;

    letter-spacing: .1em;

    color: var(--muted);

}


.work-details > span {

    font-size: 1rem;

}


.work-footer {

    display: flex;

    justify-content: center;

    margin-top: 110px;

}


.outline-button {

    border: 1px solid var(--ink);

    padding: 17px 24px;

    display: inline-flex;

    gap: 40px;

    font-size: .56rem;

    font-weight: 500;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition:

        background .3s ease,
        color .3s ease;

}


.outline-button:hover {

    background: var(--ink);

    color: var(--paper);

}


@media(max-width:800px) {

    .selected-work {

        padding: 100px 7vw;

    }


    .work-heading {

        margin-bottom: 60px;

    }


    .work-heading h2 {

        font-size: clamp(3rem,12vw,5rem);

    }


    .work-grid {

        display: block;

    }


    .work-card {

        margin: 0 0 65px;

    }


    .work-large .work-image,
    .work-small .work-image,
    .work-wide .work-image {

        height: 440px;

    }

}


/* =========================================================
   DISCIPLINES
========================================================= */

.disciplines {

    background: var(--ink);

    color: var(--paper);

}


.discipline-intro {

    padding: 90px 7vw;

    display: flex;

    justify-content: space-between;

    gap: 50px;

    border-bottom: 1px solid rgba(241,238,231,.16);

}


.discipline-intro .section-label {

    color: #aaa59d;

}


.discipline-intro p {

    font-size: 1.1rem;

    line-height: 1.5;

    font-weight: 400;

    color: #e1ddd5;

}


.discipline {

    min-height: 680px;

    display: grid;

    grid-template-columns: 7% 40% 1fr;

    gap: 5vw;

    padding: 100px 7vw;

    align-items: center;

    border-bottom: 1px solid rgba(241,238,231,.16);

}


.discipline-number {

    font-size: .55rem;

    font-weight: 500;

    color: #85827b;

}


.discipline-image {

    position: relative;

    height: 570px;

}


.discipline-content {

    max-width: 430px;

}


.discipline-content .section-label {

    color: #85827b;

    margin-bottom: 25px;

}


.discipline-content h2 {

    font-size: clamp(3.5rem,6vw,6.5rem);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.055em;

}


.discipline-content p {

    margin: 45px 0;

    color: #aaa59d;

    font-size: .7rem;

    line-height: 2;

}


.discipline .editorial-link {

    color: var(--paper);

    border-color: #85827b;

}


.film {

    grid-template-columns: 7% 1fr 40%;

}


.film .discipline-image {

    order: 3;

}


.play-button {

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%,-50%);

    width: 105px;

    height: 105px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.65);

    background: rgba(0,0,0,.25);

    color: white;

    font-size: .54rem;

    font-weight: 500;

    letter-spacing: .12em;

    cursor: pointer;

    transition:

        background .3s ease,
        transform .3s ease;

}


.play-button:hover {

    background: white;

    color: var(--ink);

    transform: translate(-50%,-50%) scale(1.05);

}


@media(max-width:800px) {

    .discipline-intro {

        padding: 75px 7vw;

        flex-direction: column;

        gap: 25px;

    }


    .discipline {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        padding: 80px 7vw;

        gap: 45px;

    }


    .discipline-image,
    .film .discipline-image {

        order: initial;

        width: 100%;

        height: 430px;

    }


    .discipline-content {

        max-width: none;

    }


    .discipline-content h2 {

        font-size: clamp(3rem,12vw,5rem);

    }

}


/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy {

    padding: 120px 7vw 150px;

}


.philosophy-top {

    display: flex;

    justify-content: space-between;

    font-size: .52rem;

    font-weight: 500;

    letter-spacing: .16em;

    color: var(--muted);

}


.philosophy-content {

    margin-top: 110px;

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 10vw;

    align-items: end;

}


.philosophy-content h2 {

    margin-top: 40px;

    font-size: clamp(3.5rem,7vw,7rem);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.055em;

}


.philosophy-content h2 span {

    display: block;

}


.philosophy-content h2 span:nth-child(2) {

    margin-left: 12%;

    color: var(--accent);

}


.philosophy-content h2 span:nth-child(3) {

    margin-left: 24%;

}


.philosophy-content h2 span:nth-child(4) {

    margin-left: 36%;

}


.philosophy-content p {

    font-size: .7rem;

    line-height: 2;

    color: var(--soft-ink);

    max-width: 300px;

}


@media(max-width:800px) {

    .philosophy {

        padding: 100px 7vw 120px;

    }


    .philosophy-content {

        display: block;

        margin-top: 80px;

    }


    .philosophy-content h2 {

        font-size: clamp(3rem,12vw,5rem);

    }


    .philosophy-content h2 span:nth-child(2) {

        margin-left: 5%;

    }


    .philosophy-content h2 span:nth-child(3) {

        margin-left: 10%;

    }


    .philosophy-content h2 span:nth-child(4) {

        margin-left: 15%;

    }


    .philosophy-content p {

        margin-top: 70px;

    }

}


/* =========================================================
   FINAL IMAGE
========================================================= */

.final-image {

    height: 90svh;

    min-height: 620px;

    position: relative;

    overflow: hidden;

    color: white;

}


.final-image > img {

    transition: transform 2s var(--ease);

}


.final-image:hover > img {

    transform: scale(1.03);

}


.final-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.5);

}


.final-content {

    position: absolute;

    left: 7vw;

    bottom: 10%;

}


.final-content > span {

    font-size: .56rem;

    font-weight: 600;

    letter-spacing: .2em;

}


.final-content h2 {

    margin: 30px 0 45px;

    font-size: clamp(3.5rem,7vw,7rem);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.055em;

}


.final-content h2 span {

    color: #d7c1ba;

}


.light-button {

    display: inline-flex;

    align-items: center;

    gap: 40px;

    background: var(--paper);

    color: var(--ink);

    padding: 18px 24px;

    font-size: .56rem;

    font-weight: 500;

    letter-spacing: .13em;

    text-transform: uppercase;

}


.light-button span {

    font-size: 1rem;

}


@media(max-width:800px) {

    .final-image {

        min-height: 600px;

        height: 80svh;

    }


    .final-content {

        left: 7vw;

        right: 7vw;

    }


    .final-content h2 {

        font-size: clamp(3rem,12vw,5rem);

    }

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding: 90px 7vw 30px;

    background: var(--ink);

    color: var(--paper);

}


.footer-brand {

    padding-bottom: 80px;

    border-bottom: 1px solid rgba(241,238,231,.16);

}


.footer-brand img {

    width: auto;

    height: 65px;

    max-width: 180px;

    object-fit: contain;

}


.footer-brand p {

    margin-top: 25px;

    color: #85827b;

    font-size: .55rem;

    font-weight: 500;

    letter-spacing: .18em;

}


.footer-columns {

    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 50px;

    padding: 65px 0;

    border-bottom: 1px solid rgba(241,238,231,.16);

}


.footer-columns div {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-columns span {

    color: #85827b;

    font-size: .5rem;

    font-weight: 600;

    letter-spacing: .18em;

    margin-bottom: 23px;

}


.footer-columns a,
.footer-columns p {

    font-size: .6rem;

    line-height: 2;

    color: #d8d4cc;

}


.footer-columns a {

    transition: color .3s ease;

}


.footer-columns a:hover {

    color: white;

}


.footer-bottom {

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    font-size: .5rem;

    font-weight: 500;

    letter-spacing: .14em;

    color: #706d67;

}


@media(max-width:700px) {

    .footer {

        padding-top: 75px;

    }


    .footer-brand img {

        height: 55px;

    }


    .footer-columns {

        grid-template-columns: 1fr 1fr;

        gap: 45px 30px;

    }


    .footer-bottom {

        flex-direction: column;

        gap: 15px;

    }

}


/* =========================================================
   VIDEO MODAL
========================================================= */

.video-modal {

    position: fixed;

    inset: 0;

    z-index: 5000;

    background: rgba(0,0,0,.96);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 5vw;

    opacity: 0;

    visibility: hidden;

    transition:

        opacity .5s ease,
        visibility .5s;

}


.video-modal.open {

    opacity: 1;

    visibility: visible;

}


.video-modal video {

    width: min(1200px,90vw);

    max-height: 85vh;

}


.video-modal button {

    position: absolute;

    top: 30px;

    right: 35px;

    border: 0;

    background: none;

    color: white;

    font-size: .58rem;

    font-weight: 500;

    letter-spacing: .15em;

    cursor: pointer;

}








































































































































/* Animating */





/* =========================================================
   PREMIUM SCROLL REVEALS
========================================================= */

.scroll-reveal {

    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity .9s var(--ease),
        transform 1s var(--ease);

    transition-delay:
        var(--reveal-delay, 0ms);

}


.scroll-reveal.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   IMAGE SCROLL REVEALS
========================================================= */

.image-scroll-reveal {

    opacity: 0;

    clip-path:
        inset(8% 0 8% 0);

    transform:
        scale(1.04);

    transition:
        opacity 1.1s var(--ease),
        clip-path 1.2s var(--ease),
        transform 1.4s var(--ease);

}


.image-scroll-reveal.image-visible {

    opacity: 1;

    clip-path:
        inset(0 0 0 0);

    transform:
        scale(1);

}


/* =========================================================
   HERO ENTRANCE
========================================================= */

.hero-reveal {

    opacity: 0;

    transform:
        translateY(28px);

    animation:
        heroReveal 1s var(--ease) forwards;

    animation-delay:
        var(--hero-delay);

}


@keyframes heroReveal {

    from {

        opacity: 0;

        transform:
            translateY(28px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
========================================================= */

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {

    animation-duration: .01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: .01ms !important;

    scroll-behavior: auto !important;

}


.reduce-motion .scroll-reveal,
.reduce-motion .image-scroll-reveal,
.reduce-motion .hero-reveal {

    opacity: 1;

    transform: none;

    clip-path: none;

}





















/* =========================================================
   SELECTED WORK
   CLEAN 3-IMAGE CATEGORY GRID
========================================================= */

.selected-work {
    padding: 140px 7vw;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.work-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 90px;
}

.work-heading h2 {
    margin-top: 32px;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}

.work-heading h2 span {
    color: var(--accent);
}

.work-count {
    font-size: .52rem;
    font-weight: 500;
    color: var(--muted);
}


/* =========================================================
   WORK CATEGORIES
========================================================= */

.work-grid {
    display: flex;
    flex-direction: column;
    gap: 110px;
}


/* =========================================================
   CATEGORY CARD
========================================================= */

.work-card {
    width: 100%;
}

.work-card > a {
    display: block;
}


/* =========================================================
   CATEGORY DETAILS
========================================================= */

.work-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 0;
    margin-bottom: 28px;
}

.work-details h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -.025em;
}

.work-details p {
    margin-top: 7px;
    font-size: .5rem;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--muted);
}

.work-details > span {
    font-size: .58rem;
    font-weight: 500;
    color: var(--muted);
}


/* =========================================================
   THREE IMAGE GRID
========================================================= */

.work-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   IMAGE FRAME
========================================================= */

.work-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--paper-dark);
}


/* =========================================================
   IMAGE
========================================================= */

.work-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.work-image:hover img {
    transform: scale(1.035);
}


/* =========================================================
   IMAGE NUMBER
========================================================= */

.work-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: .55rem;
    font-weight: 500;
    z-index: 2;
}


/* =========================================================
   CATEGORY SEPARATOR
========================================================= */

.work-card:not(:last-child) {
    padding-bottom: 110px;
    border-bottom: 1px solid var(--line);
}


/* =========================================================
   PORTFOLIO BUTTON
========================================================= */

.work-footer {
    display: flex;
    justify-content: center;
    margin-top: 110px;
}

.outline-button {
    border: 1px solid var(--ink);
    padding: 17px 24px;
    display: inline-flex;
    align-items: center;
    gap: 40px;
    font-size: .56rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition:
        background .3s ease,
        color .3s ease;
}

.outline-button:hover {
    background: var(--ink);
    color: var(--paper);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .selected-work {
        padding: 120px 6vw;
    }

    .work-grid {
        gap: 90px;
    }

    .work-card:not(:last-child) {
        padding-bottom: 90px;
    }

    .work-images {
        gap: 16px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .selected-work {
        padding: 100px 7vw;
    }

    .work-heading {
        margin-bottom: 65px;
    }

    .work-heading h2 {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .work-count {
        font-size: .48rem;
    }


    /* Category spacing */

    .work-grid {
        gap: 75px;
    }

    .work-card:not(:last-child) {
        padding-bottom: 75px;
    }


    /* Category information */

    .work-details {
        margin-bottom: 22px;
    }

    .work-details h3 {
        font-size: 1.3rem;
    }

    .work-details p {
        font-size: .46rem;
        letter-spacing: .09em;
    }

    .work-details > span {
        font-size: .52rem;
    }


    /* Three images stack vertically */

    .work-images {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    /* Same dimensions for every mobile image */

    .work-image {
        width: 100%;
        aspect-ratio: 4 / 5;
    }


    .work-number {
        top: 15px;
        right: 15px;
    }


    /* Portfolio button */

    .work-footer {
        margin-top: 80px;
    }

    .outline-button {
        gap: 28px;
        padding: 16px 20px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .selected-work {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .work-images {
        gap: 12px;
    }

    .work-card:not(:last-child) {
        padding-bottom: 60px;
    }

    .work-details h3 {
        font-size: 1.2rem;
    }

    .work-details p {
        font-size: .43rem;
    }
}





























/* =========================================================
   XCY EVENTS — FLOATING CONTACT ACTIONS
   ICON ONLY → LABEL ON HOVER
========================================================= */

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;

    width: auto;
    height: auto;

    z-index: 9999;

    pointer-events: none;
}


/* =========================================================
   ACTION BUTTON
========================================================= */

.floating-action {
    display: flex;
    align-items: center;

    width: 46px;
    height: 46px;

    padding: 5px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(23, 23, 23, 0.95);
    color: #ffffff;

    text-decoration: none;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    pointer-events: auto;

    white-space: nowrap;

    transition:
        width 0.35s cubic-bezier(.4, 0, .2, 1),
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* =========================================================
   ICON
========================================================= */

.floating-icon {
    width: 36px;
    height: 36px;

    min-width: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    flex-shrink: 0;
}


.floating-icon svg {
    width: 19px;
    height: 19px;

    display: block;

    fill: currentColor;
}


/* =========================================================
   LABEL
========================================================= */

.floating-label {
    margin-left: 9px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;

    color: #ffffff;

    opacity: 0;
    transform: translateX(8px);

    transition:
        opacity 0.2s ease,
        transform 0.3s ease;

    pointer-events: none;
}


/* =========================================================
   HOVER — EXPAND BUTTON
========================================================= */

.floating-action:hover {
    width: 125px;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22),
        0 4px 10px rgba(0, 0, 0, 0.14);
}


.floating-action:hover .floating-label {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   WHATSAPP
========================================================= */

.floating-action.whatsapp {
    background: #25d366;
    color: #ffffff;
}

.floating-action.whatsapp .floating-icon {
    background: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   MOBILE
   Still icon-only, just smaller
========================================================= */

@media (max-width: 768px) {

    .floating-actions {
        right: 14px;
        bottom: 14px;

        gap: 8px;
    }


    .floating-action {
        width: 40px;
        height: 40px;

        padding: 4px;
    }


    .floating-icon {
        width: 32px;
        height: 32px;

        min-width: 32px;
    }


    .floating-icon svg {
        width: 17px;
        height: 17px;
    }


    /* Expand on touch/hover-capable devices */
    .floating-action:hover {
        width: 112px;
    }


    .floating-label {
        font-size: 11px;
        margin-left: 7px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .floating-actions {
        right: 10px;
        bottom: 10px;

        gap: 7px;
    }


    .floating-action {
        width: 38px;
        height: 38px;

        padding: 4px;
    }


    .floating-icon {
        width: 30px;
        height: 30px;

        min-width: 30px;
    }


    .floating-icon svg {
        width: 16px;
        height: 16px;
    }


    .floating-action:hover {
        width: 105px;
    }


    .floating-label {
        font-size: 10px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.floating-action:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}


























/* =========================================================
   XCY EVENTS — FLOATING CONTACT ACTIONS
   DESKTOP: ICON → LABEL ON HOVER
   MOBILE: ICON ONLY
========================================================= */

.floating-actions {
    position: fixed;

    right: 24px;
    bottom: 24px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 10px;

    width: max-content;
    height: auto;

    z-index: 9999;

    pointer-events: none;
}


/* =========================================================
   ACTION
========================================================= */

.floating-action {
    position: relative;

    display: flex;
    align-items: center;

    width: 46px;
    height: 46px;

    padding: 5px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(23, 23, 23, 0.95);
    color: #ffffff;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    pointer-events: auto;

    transition:
        width .35s cubic-bezier(.22, 1, .36, 1),
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* =========================================================
   ICON
========================================================= */

.floating-icon {
    width: 36px;
    height: 36px;

    min-width: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .10);
}


.floating-icon svg {
    width: 19px;
    height: 19px;

    display: block;

    fill: currentColor;
}


/* =========================================================
   LABEL
========================================================= */

.floating-label {
    margin-left: 9px;

    font-family: var(--sans);

    font-size: 12px;
    font-weight: 500;

    letter-spacing: .01em;

    color: #ffffff;

    opacity: 0;

    transform: translateX(8px);

    transition:
        opacity .2s ease,
        transform .3s ease;

    pointer-events: none;
}


/* =========================================================
   WHATSAPP
========================================================= */

.floating-action.whatsapp {
    background: #25d366;
    color: #ffffff;
}


.floating-action.whatsapp .floating-icon {
    background: rgba(255, 255, 255, .16);
}


/* =========================================================
   DESKTOP HOVER ONLY
   IMPORTANT: hover is NOT applied to touch devices
========================================================= */

@media (hover: hover) and (pointer: fine) {

    .floating-action:hover {
        width: 125px;

        transform: translateY(-2px);

        box-shadow:
            0 12px 30px rgba(0, 0, 0, .22),
            0 4px 10px rgba(0, 0, 0, .14);
    }


    .floating-action:hover .floating-label {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================================================
   MOBILE
   ICON ONLY — NO EXPANSION
========================================================= */

@media (max-width: 768px) {

    .floating-actions {
        right: 14px;
        bottom: 14px;

        gap: 8px;

        width: max-content;
    }


    .floating-action {
        width: 40px;
        height: 40px;

        padding: 4px;

        /* Prevent mobile browsers from creating hover-like states */
        transform: none;
    }


    .floating-icon {
        width: 32px;
        height: 32px;

        min-width: 32px;
    }


    .floating-icon svg {
        width: 17px;
        height: 17px;
    }


    .floating-label {
        display: none;
    }


    .floating-action:hover {
        width: 40px;
        transform: none;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .floating-actions {
        right: 10px;
        bottom: 10px;

        gap: 7px;
    }


    .floating-action {
        width: 38px;
        height: 38px;

        padding: 4px;
    }


    .floating-icon {
        width: 30px;
        height: 30px;

        min-width: 30px;
    }


    .floating-icon svg {
        width: 16px;
        height: 16px;
    }


    .floating-action:hover {
        width: 38px;
        transform: none;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.floating-action:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}