.section-hero {
    padding-top: 120px;
    min-height: 110svh;
    display: flex;
    flex-direction: column;
}

.section-hero > .container-lg {
    width: 100%;
}

.hero-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-heading-mask,
.hero-text-mask {
    overflow: hidden;
}

.hero-heading {
    max-width: 740px;
    font-size: 143px;
    line-height: 143px;
    font-weight: 200;
    opacity: 0;
    transform: translateY(110%);
    will-change: transform, opacity;
}

.hero-right-wrapper {
    display: flex;
    gap: 32px;
}

.hero-line {
    width: 1px;
    height: 56px;
    background-color: var(--clr-black);
    transform: scaleY(0);
    transform-origin: bottom;
    will-change: transform;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-text {
    display: block;
    font-size: 18px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(100%);
    will-change: transform, opacity;
}

.hero-tablet-line {
    display: none;
}

.hero-image-reveal {
    flex: 1;
    display: flex;
}

.hero-image-wrapper {
    margin-top: 0;
}

.hero-image-wrapper picture {
    display: block;
    height: 100%;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

/* HERO ACTIVE ANIMATION */

body.is-loaded .hero-heading {
    animation: hero-heading-reveal 1.1s cubic-bezier(0.22, 1, 0.36, 1)
        0.2s forwards;
}

body.is-loaded .hero-line {
    animation: hero-line-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1)
        0.3s forwards;
}

body.is-loaded .hero-text-mask:nth-child(1) .hero-text {
    animation: hero-text-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1)
        0.4s forwards;
}

body.is-loaded .hero-text-mask:nth-child(2) .hero-text {
    animation: hero-text-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1)
        0.5s forwards;
}

body.is-loaded .hero-image-reveal {
    animation: hero-image-reveal 1.25s cubic-bezier(0.76, 0, 0.24, 1)
        0.55s forwards;
}

body.is-loaded .hero-image {
    animation: hero-image-scale 1.6s cubic-bezier(0.22, 1, 0.36, 1)
        0.55s forwards;
}

/* HERO KEYFRAMES */

@keyframes hero-heading-reveal {
    from {
        opacity: 0;
        transform: translateY(110%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-text-reveal {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-line-reveal {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes hero-image-reveal {
    from {
        clip-path: inset(100% 0 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes hero-image-scale {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

/* SMALL DESKTOP */

@media (max-width: 1280px) {
    .hero-heading {
        font-size: 108px;
        line-height: 108px;
    }
}

/* TABLET */

@media (max-width: 992px) {
    .section-hero {
        padding-top: 120px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-heading-mask {
        order: 2;
    }

    .hero-heading {
        max-width: 450px;
        font-size: 96px;
        line-height: 96px;
    }

    .hero-right-wrapper {
        order: 1;
    }

    .hero-line {
        display: none;
    }

    .hero-tablet-line {
        display: block;
        width: 100%;
        height: 1px;
        margin-top: 24px;
        margin-bottom: 24px;
        background-color: var(--clr-black);
        transform: scaleX(0);
        transform-origin: left;
        will-change: transform;
    }

    body.is-loaded .hero-tablet-line {
        animation: hero-tablet-line-reveal 0.9s
            cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
    }

    .hero-image {
        height: auto;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .section-hero {
        padding-top: 112px;
    }

    .hero-heading {
        max-width: 350px;
        font-size: 60px;
        line-height: 60px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-image-reveal {
        margin-top: 24px;
    }
}

@keyframes hero-tablet-line-reveal {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hero-heading,
    .hero-text,
    .hero-line,
    .hero-tablet-line,
    .hero-image-reveal,
    .hero-image {
        animation: none !important;
        transition: none !important;
    }

    .hero-heading,
    .hero-text {
        opacity: 1;
        transform: none;
    }

    .hero-line,
    .hero-tablet-line {
        transform: none;
    }

    .hero-image-reveal {
        clip-path: none;
    }

    .hero-image {
        transform: none;
    }
}

/* DESKTOP */

@media (min-width: 993px) {
    .hero-image-wrapper {
        width: 100%;
        margin-top: 32px;
    }

    .hero-image {
        width: 1920px;
        height: 500px;
    }
}


.section-work {
    padding-top: 96px;
}

.work-heading {
    margin-bottom: 96px;
    font-size: 48px;
    font-weight: 500;
}

.project-main-wrapper {
    width: 100%;
}

.project-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.project-card picture {
    display: block;
    width: 100%;
    overflow: hidden;
}

.work-img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.01);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.work-img-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        100deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(102, 102, 102, 0) 100%
        );
    transition: opacity 600ms ease;
}

.work-container {
    position: absolute;
    top: 40%;
    left: 24px;
    z-index: 20;
}

.label {
    font-family: var(--ff-heading);
    font-size: 24px;
    color: var(--clr-grey);
}

.work-small-heading {
    max-width: 380px;
    margin-top: 32px;
    margin-bottom: 32px;
    font-size: 60px;
    line-height: 60px;
    font-weight: 200;
    color: var(--clr-grey);
}

.work-link {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-family: var(--ff-heading);
    font-size: 24px;
    color: var(--clr-grey);
}

.work-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .work-img {
    transform: scale(1.055);
}

.project-card:hover .work-img-overlay {
    opacity: 0.86;
}

.project-card:hover .work-link::after {
    transform: scaleX(0);
    transform-origin: right;
}

.project-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

/* SCROLL REVEAL */

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

.reveal-project {
    position: relative;
}

.project-reveal-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1100ms cubic-bezier(0.76, 0, 0.24, 1);
    will-change: clip-path;
}

.reveal-project .work-img {
    transform: scale(1.08);
    transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-project .project-card-content {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 250ms,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 250ms;
    will-change: opacity, transform;
}

.reveal-project.is-visible .project-reveal-inner {
    clip-path: inset(0 0 0 0);
}

.reveal-project.is-visible .work-img {
    transform: scale(1.01);
}

.reveal-project.is-visible .project-card-content {
    opacity: 1;
    transform: translateY(0);
}

.reveal-project.is-visible:hover .work-img {
    transform: scale(1.055);
}

/* SMALL DESKTOP */

@media (max-width: 1280px) {
    .work-small-heading {
        font-size: 48px;
        line-height: 48px;
    }
}

/* TABLET */

@media (max-width: 992px) {
    .section-work {
        padding-top: 72px;
    }

    .work-heading {
        margin-bottom: 72px;
        font-size: 36px;
    }

    .label {
        font-size: 18px;
    }

    .work-small-heading {
        max-width: 280px;
        font-size: 36px;
        line-height: 36px;
    }

    .tablet-heading {
        max-width: 320px;
    }

    .work-link {
        font-size: 18px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .section-work {
        padding-top: 48px;
    }

    .work-heading {
        margin-bottom: 48px;
    }

    .label {
        font-size: 16px;
    }

    .work-small-heading {
        max-width: 180px;
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 24px;
    }

    .tablet-heading {
        max-width: 220px;
    }

    .work-link {
        font-size: 16px;
    }
}

/* MOBILE PORTRAIT */

@media (max-width: 479px) {
    .section-work {
        padding-top: 32px;
    }

    .work-heading {
        margin-bottom: 32px;
        font-size: 30px;
    }

    .work-container {
        top: 30%;
    }

    .work-small-heading {
        margin-top: 12px;
        margin-bottom: 12px;
    }
}

/* TOUCH DEVICES */

@media (hover: none) {
    .reveal-project.is-visible:hover .work-img {
        transform: scale(1.01);
    }

    .project-card:hover .work-img-overlay {
        opacity: 1;
    }

    .project-card:hover .work-link::after {
        transform: scaleX(1);
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .project-reveal-inner,
    .reveal-project .work-img,
    .reveal-project .project-card-content {
        opacity: 1;
        clip-path: none;
        transform: none;
        transition: none;
    }
}


.section-about {
    position: relative;
    height: 200vh;
}

.about-sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-inline: 24px;
}

.about-label {
    font-family: var(--ff-heading);
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    color: #161310B3;
}

.about-line {
    width: 64px;
    height: 1px;
    margin-top: 16px;
    background-color: #161310B3;
}

.about-content {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-top: 32px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    transition:
        opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 800ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 800ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.about-text-first {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.about-text-second {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    pointer-events: none;
}

.about-paragraph {
    margin: 0;
    font-family: var(--ff-heading);
    font-size: 32px;
    line-height: 40px;
    text-align: center;
}

/* SECOND TEXT ACTIVE */

.section-about.is-second-text .about-text-first {
    opacity: 0;
    transform: translateY(-40px);
    filter: blur(8px);
    pointer-events: none;
}

.section-about.is-second-text .about-text-second {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

/* TABLET */

@media (max-width: 992px) {
    .about-content {
        max-width: 550px;
    }

    .about-paragraph {
        font-size: 24px;
        line-height: 30px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .section-about {
        height: auto;
    }

    .about-sticky {
        min-height: 100svh;
        align-items: center;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .about-wrapper {
        padding-inline: 16px;
    }

    .about-content {
        display: grid;
        max-width: 440px;
        margin-top: 32px;
    }

    .about-text {
        grid-area: 1 / 1;
        align-self: center;
        gap: 24px;
    }

    .about-text-second {
        position: relative;
        transform: translateY(32px);
    }

    .about-paragraph {
        font-size: 20px;
        line-height: 24px;
    }

    .section-about.is-second-text .about-text-first {
        transform: translateY(-32px);
    }
}

/* MOBILE LANDSCAPE */

@media (max-width: 992px) and (orientation: landscape) and (max-height: 500px) {
    .about-sticky {
        min-height: 100svh;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .about-content {
        display: grid;
        max-width: 900px;
        margin-top: 24px;
    }

    .about-text {
        grid-area: 1 / 1;
        align-self: center;
        gap: 20px;
    }

    .about-text-second {
        position: relative;
    }

    .about-paragraph {
        font-size: 18px;
        line-height: 22px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .about-text {
        transition: none;
    }

    .about-text-first,
    .about-text-second,
    .section-about.is-second-text .about-text-first,
    .section-about.is-second-text .about-text-second {
        filter: none;
    }
}


.cta-main-wrapper {
    position: relative;
}

.cta-bg-wrapper {
    position: relative;
    width: 100%;
}

.cta-bg-wrapper picture {
    display: block;
    width: 100%;
}

.cta-bg-img {
    display: block;
    width: 100%;
    height: auto;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 400;
    background-color: #16131080;
}

.cta-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 518px;
    height: 518px;
    padding: 32px;
    background-color: var(--clr-grey);
    transform: translate(-50%, -50%);
}

.cta-paragraph {
    max-width: 340px;
    text-align: center;
}

.cta-icon {
    width: 100%;
    max-width: 96px;
}

.cta-info-wrapper {
    display: flex;
    flex-direction: column;
}

.cta-info {
    font-weight: 400;
    text-align: center;
}

/* CTA REVEAL */

.reveal-cta {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 48px));
    transition:
        opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-cta.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* TABLET */

@media (max-width: 992px) {
    .cta-content-wrapper {
        max-width: 450px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .cta-content-wrapper {
        max-width: 380px;
        height: 450px;
    }

    .cta-icon {
        max-width: 72px;
    }

    .reveal-cta {
        transform: translate(-50%, calc(-50% + 32px));
    }

    .reveal-cta.is-visible {
        transform: translate(-50%, -50%);
    }
}

/* MOBILE PORTRAIT */

@media (max-width: 479px) {
    .cta-content-wrapper {
        max-width: 310px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .reveal-cta,
    .reveal-cta.is-visible {
        opacity: 1;
        transform: translate(-50%, -50%);
        transition: none;
    }
}










