/* =========================================================
   DUBAI PAGE
========================================================= */

.dubai-page-body {
    margin: 0;
    background: #f4f3ef;
    color: #090909;
    overflow-x: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.dubai-page-body .dubai-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10001;
}


/* =========================================================
   LOGO
========================================================= */

.dubai-page-body .dubai-logo {
    position: relative;
    display: block;
}

.dubai-page-body .dubai-logo .logo__mark {
    display: block;
    filter: none !important;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* CLOSED LOGO */

.dubai-page-body .dubai-logo__black {
    position: relative;
    display: block;

    opacity: 1 !important;
    visibility: visible !important;

    filter: none !important;
}


/* OPEN LOGO */

.dubai-page-body .dubai-logo__brand {
    position: absolute;

    top: 0;
    left: 0;

    display: block;

    opacity: 0 !important;
    visibility: hidden !important;

    pointer-events: none;

    filter: none !important;
}


/* =========================================================
   CLOSED HAMBURGER
========================================================= */

.dubai-page-body .dubai-nav .nav-toggle {
    position: relative;

    z-index: 10002;

    color: #090909 !important;
    border-color: #090909 !important;

    transition:
        color .3s ease,
        border-color .3s ease;
}

.dubai-page-body .dubai-nav .nav-toggle span {
    background-color: #090909 !important;

    transition:
        background-color .3s ease,
        transform .4s cubic-bezier(.22, 1, .36, 1),
        opacity .25s ease;
}


/* =========================================================
   MENU OPEN
========================================================= */

.dubai-page-body.menu-open .dubai-logo__black {
    opacity: 0 !important;
    visibility: hidden !important;
}

.dubai-page-body.menu-open .dubai-logo__brand {
    opacity: 1 !important;
    visibility: visible !important;

    filter: none !important;
}

.dubai-page-body.menu-open .dubai-nav .nav-toggle {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.dubai-page-body.menu-open .dubai-nav .nav-toggle span {
    background-color: #ffffff !important;
}


/* LAYERING */

.dubai-page-body .menu-overlay {
    z-index: 10000;
}

.dubai-page-body .dubai-nav {
    z-index: 10001;
}

.dubai-page-body .nav-toggle {
    z-index: 10002;
}


/* =========================================================
   HERO
========================================================= */

.dubai-hero {
    position: relative;

    width: 100%;
    box-sizing: border-box;

    background: #ffffff;
    color: #090909;

    padding: 165px 40px 115px;
}

.dubai-hero__inner {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;
}


/* HERO TOP */

.dubai-hero__top {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 380px;

    align-items: start;

    min-height: 160px;

    margin-bottom: 45px;
}

.dubai-hero__label {
    display: block;

    font-size: 14px;
    font-weight: 400;

    line-height: 1;

    color: #090909;
}

.dubai-hero__intro {
    width: 100%;
    max-width: 380px;
    margin: 0;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


/* HERO TITLE */

.dubai-hero__title {
    width: 100%;

    margin: 0;

    font-size: clamp(64px, 6.5vw, 100px);
    font-weight: 500;

    line-height: .82;
    letter-spacing: -.062em;

    text-transform: uppercase;

    color: #090909;
}

.dubai-hero__title span {
    display: block;
    white-space: nowrap;
}


/* HERO ENTRANCE */

.dubai-hero__label,
.dubai-hero__intro,
.dubai-hero__title {
    opacity: 0;
    transform: translateY(24px);
}

body.page-ready .dubai-hero__label {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity .7s ease .08s,
        transform .9s cubic-bezier(.22, 1, .36, 1) .08s;
}

body.page-ready .dubai-hero__intro {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity .7s ease .16s,
        transform .9s cubic-bezier(.22, 1, .36, 1) .16s;
}

body.page-ready .dubai-hero__title {
    opacity: 1;
    transform: translateY(0);

    transition:
        opacity .85s ease .25s,
        transform 1s cubic-bezier(.22, 1, .36, 1) .25s;
}


/* =========================================================
   DUBAI ATLAS
========================================================= */

.dubai-atlas {
    width: 100%;
    box-sizing: border-box;

    background: #ffffff;

    padding: 70px 40px 180px;
}

.dubai-atlas__inner {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(360px, .72fr) minmax(0, 1.28fr);

    gap: 100px;

    align-items: start;
}


/* =========================================================
   STICKY LEFT
========================================================= */

.dubai-atlas__sticky {
    position: sticky;

    top: 100px;

    height: calc(100vh - 150px);
    min-height: 590px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    padding-bottom: 10px;
}

.dubai-atlas__eyebrow {
    display: block;

    font-size: 10px;
    font-weight: 600;

    line-height: 1;
    letter-spacing: .02em;

    text-transform: uppercase;

    color: rgba(0, 0, 0, .45);
}


/* ACTIVE DESTINATION */

.dubai-atlas__active {
    margin: auto 0;
}

.dubai-atlas__active h2 {
    width: 100%;
    max-width: 570px;

    margin: 0;

    font-size: clamp(60px, 5.6vw, 88px);
    font-weight: 500;

    line-height: .8;
    letter-spacing: -.064em;

    text-transform: uppercase;

    color: #090909;
}

.dubai-atlas__active p {
    width: 100%;
    max-width: 380px;

    margin: 36px 0 0;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


/* TEXT TRANSITION */

.dubai-atlas__active h2,
.dubai-atlas__active p {
    transition:
        opacity .3s ease,
        transform .45s cubic-bezier(.22, 1, .36, 1);
}

.dubai-atlas__active.is-changing h2 {
    opacity: 0;
    transform: translateY(18px);
}

.dubai-atlas__active.is-changing p {
    opacity: 0;
    transform: translateY(12px);
}


/* BOTTOM */

.dubai-atlas__bottom {
    width: 100%;
}

.dubai-atlas__line {
    width: 100%;
    height: 1px;

    margin-bottom: 15px;

    background: rgba(0, 0, 0, .18);
}

.dubai-atlas__location {
    display: block;

    font-size: 10px;
    font-weight: 600;

    line-height: 1;

    text-transform: uppercase;

    color: rgba(0, 0, 0, .5);

    transition:
        opacity .3s ease,
        transform .4s ease;
}

.dubai-atlas__sticky.is-changing .dubai-atlas__location {
    opacity: 0;
    transform: translateY(7px);
}


/* =========================================================
   GALLERY
========================================================= */

.dubai-atlas__gallery {
    width: 100%;
}


/* PROPERTY */

.atlas-property {
    width: 100%;

    margin: 0 0 135px;

    opacity: .32;

    transform: translateY(45px);

    transition:
        opacity .65s ease,
        transform 1s cubic-bezier(.22, 1, .36, 1);
}

.atlas-property:last-child {
    margin-bottom: 0;
}

.atlas-property.is-revealed {
    transform: translateY(0);
}

.atlas-property.is-active {
    opacity: 1;
}


/* IMAGE */

.atlas-property figure {
    position: relative;

    width: 100%;
    height: 680px;

    margin: 0;

    overflow: hidden;

    background: #deddd8;
}

.atlas-property figure::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    background: rgba(0, 0, 0, .08);

    opacity: 1;

    pointer-events: none;

    transition: opacity .7s ease;
}

.atlas-property.is-active figure::after {
    opacity: 0;
}

.atlas-property img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.06);

    filter: saturate(.88);

    transition:
        transform 1.4s cubic-bezier(.22, 1, .36, 1),
        filter .8s ease;
}

.atlas-property.is-active img {
    transform: scale(1);
    filter: saturate(1);
}


/* NAME */

.atlas-property__name {
    display: block;

    margin-top: 15px;

    font-size: 11px;
    font-weight: 600;

    line-height: 1;

    text-transform: uppercase;

    color: rgba(0, 0, 0, .48);

    transition:
        color .4s ease,
        transform .5s cubic-bezier(.22, 1, .36, 1);
}

.atlas-property.is-active .atlas-property__name {
    color: #090909;
    transform: translateX(8px);
}

.atlas-property__mobile-copy {
    display: none;
}


/* =========================================================
   DESKTOP IMAGE RHYTHM
========================================================= */

.atlas-property:nth-child(1) {
    width: 100%;
}

.atlas-property:nth-child(1) figure {
    height: 680px;
}


.atlas-property:nth-child(2) {
    width: 72%;
    margin-left: auto;
}

.atlas-property:nth-child(2) figure {
    height: 620px;
}


.atlas-property:nth-child(3) {
    width: 86%;
}

.atlas-property:nth-child(3) figure {
    height: 610px;
}


.atlas-property:nth-child(4) {
    width: 70%;
    margin-left: auto;
}

.atlas-property:nth-child(4) figure {
    height: 670px;
}


.atlas-property:nth-child(5) {
    width: 100%;
}

.atlas-property:nth-child(5) figure {
    height: 650px;
}


.atlas-property:nth-child(6) {
    width: 75%;
}

.atlas-property:nth-child(6) figure {
    height: 650px;
}


.atlas-property:nth-child(7) {
    width: 82%;
    margin-left: auto;
}

.atlas-property:nth-child(7) figure {
    height: 600px;
}


.atlas-property:nth-child(8) {
    width: 68%;
}

.atlas-property:nth-child(8) figure {
    height: 640px;
}


.atlas-property:nth-child(9) {
    width: 92%;
    margin-left: auto;
}

.atlas-property:nth-child(9) figure {
    height: 680px;
}


/* HOVER */

@media (hover: hover) and (pointer: fine) {

    .atlas-property.is-active:hover img {
        transform: scale(1.018);
    }

}


/* =========================================================
   WHY INVEST IN DUBAI
========================================================= */

.why-dubai {
    position: relative;

    width: 100%;

    background: #FCFAF5;
    color: #090909;

    padding: 160px 40px 180px;

    box-sizing: border-box;
}

.why-dubai__inner {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        .72fr 1.28fr;

    gap: 120px;

    align-items: start;
}


/* LEFT */

.why-dubai__intro {
    position: sticky;
    top: 110px;
}

.why-dubai__intro h2 {
    width: 100%;
    max-width: 560px;

    margin: 0;

    font-size: clamp(64px, 6vw, 94px);
    font-weight: 500;

    line-height: .79;
    letter-spacing: -.065em;

    text-transform: uppercase;

    color: #090909;
}

.why-dubai__intro>p {
    width: 100%;
    max-width: 340px;

    margin: 42px 0 0;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


/* RIGHT */

.why-dubai__list {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    column-gap: 65px;

    border-top:
        1px solid rgba(0, 0, 0, .20);
}


/* ITEM */

.why-item {
    position: relative;

    min-width: 0;
    min-height: 300px;

    padding: 34px 0 55px;

    box-sizing: border-box;

    border-bottom:
        1px solid rgba(0, 0, 0, .20);

    overflow: hidden;

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .75s ease,
        transform .9s cubic-bezier(.22, 1, .36, 1);
}

.why-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ICON */

.why-item__icon {
    width: 48px;
    height: 48px;

    margin: 0 0 70px;
}

.why-item__icon svg {
    display: block;

    width: 100%;
    height: 100%;

    fill: none;

    stroke: #0f6868;
    stroke-width: 1.15;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform .55s cubic-bezier(.22, 1, .36, 1);
}


/* TITLE */

.why-item h3 {
    width: 100%;
    max-width: 340px;

    margin: 0;

    font-size: clamp(25px, 2vw, 32px);
    font-weight: 500;

    line-height: .96;
    letter-spacing: -.04em;

    color: #090909;
}


/* COPY */

.why-item p {
    width: 100%;
    max-width: 340px;

    margin: 24px 0 0;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


/* HOVER ACCENT */

.why-item::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 0;
    height: 2px;

    background: #0f6868;

    transition:
        width .65s cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {

    .why-item:hover::after {
        width: 100%;
    }

    .why-item:hover .why-item__icon svg {
        transform:
            translateY(-5px) rotate(-3deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1050px) {

    .dubai-hero {
        padding: 145px 24px 95px;
    }

    .dubai-hero__top {
        grid-template-columns:
            minmax(0, 1fr) 320px;

        min-height: 140px;
    }

    .dubai-hero__title {
        font-size:
            clamp(55px, 7.5vw, 80px);
    }


    .dubai-atlas {
        padding:
            50px 24px 140px;
    }

    .dubai-atlas__inner {
        grid-template-columns:
            .75fr 1.25fr;

        gap: 50px;
    }

    .dubai-atlas__active h2 {
        font-size:
            clamp(48px, 5.5vw, 68px);
    }


    .why-dubai {
        padding:
            130px 24px 150px;
    }

    .why-dubai__inner {
        grid-template-columns:
            .7fr 1.3fr;

        gap: 70px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 760px) {


    /* HERO */

    .dubai-hero {
        padding:
            115px 20px 75px;
    }

    .dubai-hero__top {
        display: block;

        min-height: 0;

        margin-bottom: 50px;
    }

    .dubai-hero__label {
        font-size: 10px;
    }

    .dubai-hero__intro {
        display: block !important;

        visibility: visible !important;
        opacity: 1 !important;

        width: 100%;
        max-width: 360px;

        margin: 35px 0 0;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;
        letter-spacing: normal;

        color: var(--body-text, #55534C);

        transform: none !important;
    }


    /* HERO HEADLINE */

    .dubai-hero__title {
        width: 100% !important;

        margin: 0 !important;

        font-size: 34px !important;
        font-weight: 500 !important;

        line-height: .92 !important;
        letter-spacing: -.045em !important;
    }

    .dubai-hero__title span {
        display: block !important;

        white-space: normal !important;
    }


    /* ATLAS */

    .dubai-atlas {
        padding:
            15px 20px 100px;
    }

    .dubai-atlas__inner {
        display: block;
    }

    .dubai-atlas__sticky {
        position: relative;

        top: auto;

        width: 100%;
        height: auto;
        min-height: 0;

        margin-bottom: 45px;

        padding: 0;
    }

    .dubai-atlas__eyebrow {
        display: block;

        font-size: 10px;
    }

    .dubai-atlas__active,
    .dubai-atlas__bottom {
        display: none;
    }


    /* MOBILE PROPERTIES */

    .atlas-property,
    .atlas-property:nth-child(1),
    .atlas-property:nth-child(2),
    .atlas-property:nth-child(3),
    .atlas-property:nth-child(4),
    .atlas-property:nth-child(5),
    .atlas-property:nth-child(6),
    .atlas-property:nth-child(7),
    .atlas-property:nth-child(8),
    .atlas-property:nth-child(9) {

        width: 100%;

        margin: 0 0 100px;

        opacity: 1;

        transform: none;
    }


    /* MOBILE IMAGE */

    .atlas-property figure,
    .atlas-property:nth-child(1) figure,
    .atlas-property:nth-child(2) figure,
    .atlas-property:nth-child(3) figure,
    .atlas-property:nth-child(4) figure,
    .atlas-property:nth-child(5) figure,
    .atlas-property:nth-child(6) figure,
    .atlas-property:nth-child(7) figure,
    .atlas-property:nth-child(8) figure,
    .atlas-property:nth-child(9) figure {

        width: 100%;
        height: auto;

        aspect-ratio: 4 / 5;
    }

    .atlas-property img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        transform: none;

        filter: none;
    }

    .atlas-property figure::after {
        display: none;
    }


    /* DESTINATION TITLE */

    .dubai-atlas .atlas-property .atlas-property__name {

        display: block !important;

        width: 100%;
        max-width: 390px;

        margin:
            22px 0 0 !important;

        font-size: 32px !important;
        font-weight: 500 !important;

        line-height: .92 !important;
        letter-spacing: -.045em !important;

        text-transform: uppercase;

        color: #090909 !important;

        opacity: 1;

        transform: none !important;
    }


    /* DESCRIPTION */

    .dubai-atlas .atlas-property .atlas-property__mobile-copy {

        display: block !important;

        width: 100%;
        max-width: 360px;

        margin: 17px 0 0 !important;

        font-size: 16px !important;
        font-weight: 400;
        line-height: 1.7;
        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }


    /* WHY DUBAI */

    .why-dubai {
        padding:
            90px 20px 110px;
    }

    .why-dubai__inner {
        display: block;
    }

    .why-dubai__intro {
        position: relative;

        top: auto;

        margin:
            0 0 75px;
    }


    /* TWO LINE HEADLINE */

    .why-dubai__intro h2 {
        width: 100%;

        margin: 0;

        font-size: 46px;

        line-height: .84;
        letter-spacing: -.055em;
    }

    .why-dubai__intro>p {
        width: 100%;
        max-width: 360px;

        margin: 30px 0 0;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;
        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }


    /* REMOVE FIRST LINE */

    .why-dubai__list {
        display: block;

        width: 100%;

        border-top:
            0 !important;
    }

    .why-item {
        width: 100%;

        min-height: 0;

        padding:
            38px 0 42px;

        border-top:
            0 !important;

        border-bottom:
            1px solid rgba(0, 0, 0, .18);
    }

    .why-item:first-child {
        padding-top: 0;

        border-top:
            0 !important;
    }

    .why-item__icon {
        width: 42px;
        height: 42px;

        margin:
            0 0 42px;
    }

    .why-item__icon svg {
        width: 38px;
        height: 38px;
    }

    .why-item h3 {
        max-width: 350px;

        font-size: 28px;

        line-height: .96;
    }

    .why-item p {
        width: 100%;
        max-width: 360px;

        margin: 22px 0 0;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;
        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }

    .why-item::after {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 430px) {

    .dubai-hero {
        padding:
            105px 20px 65px;
    }

    .dubai-hero__title {
        font-size:
            32px !important;
    }

    .dubai-atlas .atlas-property .atlas-property__name {

        font-size:
            30px !important;
    }

    .atlas-property figure,
    .atlas-property:nth-child(1) figure,
    .atlas-property:nth-child(2) figure,
    .atlas-property:nth-child(3) figure,
    .atlas-property:nth-child(4) figure,
    .atlas-property:nth-child(5) figure,
    .atlas-property:nth-child(6) figure,
    .atlas-property:nth-child(7) figure,
    .atlas-property:nth-child(8) figure,
    .atlas-property:nth-child(9) figure {

        aspect-ratio:
            4 / 4.8;
    }


    .why-dubai {
        padding:
            85px 20px 100px;
    }

    .why-dubai__intro h2 {
        font-size: 43px;
    }

    .why-item h3 {
        font-size: 27px;
    }

}


/* =========================================================
   VERY SMALL
========================================================= */

@media screen and (max-width: 360px) {

    .dubai-hero__title {
        font-size:
            29px !important;
    }

    .dubai-atlas .atlas-property .atlas-property__name {

        font-size:
            28px !important;
    }

    .why-dubai__intro h2 {
        font-size: 39px;
    }

    .why-item h3 {
        font-size: 25px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dubai-hero__label,
    .dubai-hero__intro,
    .dubai-hero__title,
    .atlas-property,
    .why-item {

        opacity: 1;

        transform: none;

        transition: none;
    }

    .atlas-property img,
    .why-item__icon svg {

        transform: none;

        transition: none;
    }

}