/* =========================================================
   AETHEL REALTY — SERVICES
   3-COLUMN WHITE EDITORIAL CATALOGUE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.services-page-body {
    margin: 0;
    overflow-x: hidden;

    background: #f4f3ef;
    color: #090909;
}


/* =========================================================
   LOCKED HEADER
========================================================= */

.services-page-body .services-nav {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 10001;
}


.services-page-body .services-logo {
    position: relative;
    display: block;
}


.services-page-body .services-logo .logo__mark {
    display: block;

    filter: none !important;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


.services-page-body .services-logo__black {
    position: relative;

    display: block;

    opacity: 1 !important;
    visibility: visible !important;

    filter: none !important;
}


.services-page-body .services-logo__brand {
    position: absolute;
    top: 0;
    left: 0;

    display: block;

    opacity: 0 !important;
    visibility: hidden !important;

    pointer-events: none;

    filter: none !important;
}


.services-page-body.menu-open .services-logo__black {
    opacity: 0 !important;
    visibility: hidden !important;
}


.services-page-body.menu-open .services-logo__brand {
    opacity: 1 !important;
    visibility: visible !important;
}


.services-page-body .services-nav .nav-toggle {
    position: relative;

    z-index: 10002;

    color: #090909 !important;
    border-color: #090909 !important;
}


.services-page-body .services-nav .nav-toggle span {
    background-color: #090909 !important;
}


.services-page-body.menu-open .services-nav .nav-toggle {
    color: #ffffff !important;
    border-color: #ffffff !important;
}


.services-page-body.menu-open .services-nav .nav-toggle span {
    background-color: #ffffff !important;
}


.services-page-body .menu-overlay {
    z-index: 10000;
}


/* =========================================================
   LOCKED SERVICES HERO
========================================================= */

.services-hero {
    position: relative;

    width: 100%;

    box-sizing: border-box;

    padding: 165px 40px 125px;

    background: #ffffff;
    color: #090909;
}


.services-hero__inner {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;
}


.services-hero__top {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        390px;

    align-items: start;

    min-height: 175px;

    margin-bottom: 55px;
}


.services-hero__label {
    display: block;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    text-transform: uppercase;
}


.services-hero__intro {
    width: 100%;
    max-width: 390px;

    margin: 0;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;

    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


.services-hero__title {
    width: 100%;

    margin: 0;

    font-size: clamp(64px, 7.1vw, 108px);
    font-weight: 500;
    line-height: .79;

    letter-spacing: -.067em;

    text-transform: uppercase;
}


.services-hero__title span {
    display: block;

    white-space: nowrap;
}


/* =========================================================
   HERO ENTRANCE
========================================================= */

.services-hero__label,
.services-hero__intro,
.services-hero__title {
    opacity: 0;

    transform: translateY(24px);
}


.services-page-body.page-ready .services-hero__label,
.services-page-body.page-ready .services-hero__intro,
.services-page-body.page-ready .services-hero__title {
    opacity: 1;

    transform: translateY(0);
}


.services-page-body.page-ready .services-hero__label {
    transition:
        opacity .7s ease .08s,
        transform .9s cubic-bezier(.22, 1, .36, 1) .08s;
}


.services-page-body.page-ready .services-hero__intro {
    transition:
        opacity .7s ease .16s,
        transform .9s cubic-bezier(.22, 1, .36, 1) .16s;
}


.services-page-body.page-ready .services-hero__title {
    transition:
        opacity .85s ease .25s,
        transform 1s cubic-bezier(.22, 1, .36, 1) .25s;
}


/* =========================================================
   SERVICE CATALOGUE
========================================================= */

.service-catalogue {
    position: relative;

    width: 100%;

    box-sizing: border-box;

    padding: 100px 40px 150px;

    background: #ffffff;

    color: #090909;
}


/* =========================================================
   CATALOGUE INTRO
========================================================= */

.service-catalogue__intro {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto 120px;

    padding-top: 18px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        380px;

    border-top: 1px solid rgba(0, 0, 0, .16);
}


.service-catalogue__intro > span {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;

    text-transform: uppercase;

    color: #0F6868;
}


.service-catalogue__intro p {
    width: 100%;
    max-width: 380px;

    margin: 0;

    /* INDEX TYPOGRAPHY */

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;

    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


/* =========================================================
   3-COLUMN GRID
========================================================= */

.service-catalogue__grid {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: clamp(22px, 2.6vw, 42px);

    row-gap: 130px;

    align-items: start;
}


/* =========================================================
   SERVICE ITEM
========================================================= */

.catalogue-item {
    position: relative;

    min-width: 0;
}


/* =========================================================
   IMAGE
========================================================= */

.catalogue-item__image {
    position: relative;

    width: 100%;

    margin: 0 0 28px;

    overflow: hidden;

    background: #eeece7;
}


.catalogue-item__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.02);

    transition:
        transform 1.1s cubic-bezier(.22, 1, .36, 1);
}


.catalogue-item:hover .catalogue-item__image img {
    transform: scale(1.045);
}


/* =========================================================
   INDIVIDUAL IMAGE PROPORTIONS
========================================================= */


/* 1 — Luxury Home Buying */

.catalogue-item:nth-child(1) .catalogue-item__image {
    aspect-ratio: 1.15 / 1;
}


/* 2 — Investment Strategy */

.catalogue-item:nth-child(2) .catalogue-item__image {
    aspect-ratio: .92 / 1;
}


/* 3 — Cross-Border Execution */

.catalogue-item:nth-child(3) .catalogue-item__image {
    aspect-ratio: 1.08 / 1;
}


/* 4 — Market Intelligence & Research */

.catalogue-item:nth-child(4) .catalogue-item__image {
    aspect-ratio: .80 / 1;
}


/* 5 — Legal & Tax Advisory */

.catalogue-item:nth-child(5) .catalogue-item__image {
    aspect-ratio: .82 / 1;
}


/* 6 — Financing & Banking */

.catalogue-item:nth-child(6) .catalogue-item__image {
    aspect-ratio: .78 / 1;
}


/* 7 — Relocation & Lifestyle */

.catalogue-item:nth-child(7) .catalogue-item__image {
    aspect-ratio: 1.05 / 1;
}


/* 8 — NRI & Global Buyer */

.catalogue-item:nth-child(8) .catalogue-item__image {
    aspect-ratio: .86 / 1;
}


/* =========================================================
   EDITORIAL STAGGER
========================================================= */


/* ROW 1 */

.catalogue-item:nth-child(1) {
    padding-top: 0;
}


.catalogue-item:nth-child(2) {
    padding-top: 75px;
}


.catalogue-item:nth-child(3) {
    padding-top: 25px;
}


/* ROW 2 */

.catalogue-item:nth-child(4) {
    padding-top: 35px;
}


.catalogue-item:nth-child(5) {
    padding-top: 0;
}


.catalogue-item:nth-child(6) {
    padding-top: 75px;
}


/* ROW 3 */

.catalogue-item:nth-child(7) {
    padding-top: 0;
}


.catalogue-item:nth-child(8) {
    padding-top: 55px;
}


/* =========================================================
   SERVICE HEADLINES
========================================================= */

.catalogue-item h2 {
    width: 100%;

    margin: 0;

    font-size: clamp(30px, 2.5vw, 42px);

    font-weight: 500;

    line-height: .9;

    letter-spacing: -.055em;

    text-transform: uppercase;

    color: #090909;
}


/* SECOND LINE — AETHEL BRAND TEAL */

.catalogue-item h2 span {
    display: block;

    color: #0F6868;
}


/* =========================================================
   LONG SERVICE HEADLINES
========================================================= */

.catalogue-item:nth-child(4) h2,
.catalogue-item:nth-child(6) h2,
.catalogue-item:nth-child(7) h2,
.catalogue-item:nth-child(8) h2 {
    font-size: clamp(28px, 2.25vw, 38px);
}


/* =========================================================
   SERVICE DESCRIPTION
   SAME BODY TYPOGRAPHY AS INDEX PAGE
========================================================= */

.catalogue-item p {
    width: 100%;
    max-width: 380px;

    margin: 28px 0 0;

    padding-top: 20px;

    border-top:
        1px solid rgba(0, 0, 0, .14);

    /*
       SAME AS INDEX (.intro__copy p):
       17px
       400
       1.7
       normal
       #55534C
    */

    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;

    letter-spacing: normal;

    color: var(--body-text, #55534C);
}


/* =========================================================
   REVEAL
========================================================= */

.catalogue-item {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .75s ease,
        transform .95s cubic-bezier(.22, 1, .36, 1);
}


.catalogue-item.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   IMAGE REVEAL
========================================================= */

.catalogue-item__image {
    clip-path: inset(0 0 100% 0);

    transition:
        clip-path 1s cubic-bezier(.22, 1, .36, 1);
}


.catalogue-item.is-visible .catalogue-item__image {
    clip-path: inset(0 0 0 0);
}


/* =========================================================
   FOOTER SEPARATION
========================================================= */

.service-catalogue::after {
    content: "";

    display: block;

    width: 100%;
    max-width: 1450px;

    margin: 150px auto -70px;

    background: rgba(0, 0, 0, .13);
}


/* =========================================================
   SMALL DESKTOP / TABLET LANDSCAPE
========================================================= */

@media screen and (max-width: 1100px) {

    /* HERO */

    .services-hero {
        padding: 145px 24px 105px;
    }


    .services-hero__top {
        grid-template-columns:
            minmax(0, 1fr)
            330px;

        min-height: 145px;
    }


    .services-hero__title {
        font-size: clamp(56px, 7.2vw, 82px);
    }


    /* CATALOGUE */

    .service-catalogue {
        padding: 85px 24px 150px;
    }


    .service-catalogue__intro {
        margin-bottom: 95px;
    }


    .service-catalogue__grid {
        column-gap: 20px;

        row-gap: 100px;
    }


    /* STAGGER */

    .catalogue-item:nth-child(2) {
        padding-top: 55px;
    }


    .catalogue-item:nth-child(6) {
        padding-top: 55px;
    }


    /* HEADLINES */

    .catalogue-item h2,
    .catalogue-item:nth-child(4) h2,
    .catalogue-item:nth-child(6) h2,
    .catalogue-item:nth-child(7) h2,
    .catalogue-item:nth-child(8) h2 {
        font-size: clamp(25px, 2.7vw, 34px);
    }


    /*
       KEEP INDEX PARAGRAPH TYPOGRAPHY
       17PX ON TABLET
    */

    .catalogue-item p {
        max-width: 360px;

        font-size: 17px;
        font-weight: 400;
        line-height: 1.7;

        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 900px) {

    .service-catalogue__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 24px;

        row-gap: 90px;
    }


    /* RESET DESKTOP STAGGER */

    .catalogue-item:nth-child(n) {
        padding-top: 0;
    }


    /* NEW 2-COLUMN RHYTHM */

    .catalogue-item:nth-child(even) {
        padding-top: 60px;
    }


    /* HEADLINES */

    .catalogue-item h2,
    .catalogue-item:nth-child(4) h2,
    .catalogue-item:nth-child(6) h2,
    .catalogue-item:nth-child(7) h2,
    .catalogue-item:nth-child(8) h2 {
        font-size: clamp(28px, 4vw, 38px);
    }


    /* PARAGRAPH */

    .catalogue-item p {
        max-width: 360px;

        font-size: 17px;
        font-weight: 400;
        line-height: 1.7;

        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 760px) {


    /* =====================================================
       HERO
    ====================================================== */

    .services-hero {
        padding: 115px 20px 80px;
    }


    .services-hero__top {
        display: block;

        min-height: 0;

        margin-bottom: 55px;
    }


    .services-hero__label {
        font-size: 10px;
    }


    .services-hero__intro {
        display: block !important;

        width: 100%;
        max-width: 360px;

        margin: 36px 0 0;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;

        letter-spacing: normal;

        color: var(--body-text, #55534C);

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;
    }


    .services-hero__title {
        font-size: 34px !important;

        line-height: .92 !important;

        letter-spacing: -.045em !important;
    }


    .services-hero__title span {
        white-space: normal;
    }


    /* =====================================================
       CATALOGUE
    ====================================================== */

    .service-catalogue {
        padding: 70px 20px 80px;
    }


    /* INTRO */

    .service-catalogue__intro {
        display: block;

        margin-bottom: 70px;
    }


    .service-catalogue__intro p {
        max-width: 360px;

        margin-top: 30px;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;

        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }


    /* =====================================================
       SINGLE COLUMN
    ====================================================== */

    .service-catalogue__grid {
        display: block;
    }


    .catalogue-item,
    .catalogue-item:nth-child(n),
    .catalogue-item:nth-child(even) {
        width: 100%;

        padding-top: 0;

        margin-bottom: 85px;
    }


    .catalogue-item:last-child {
        margin-bottom: 0;
    }


    /* =====================================================
       MOBILE IMAGE
    ====================================================== */

    .catalogue-item:nth-child(n) .catalogue-item__image {
        width: 100%;

        aspect-ratio: 4 / 5;

        margin-bottom: 23px;
    }


    /* =====================================================
       MOBILE TITLE
    ====================================================== */

    .catalogue-item h2,
    .catalogue-item:nth-child(4) h2,
    .catalogue-item:nth-child(6) h2,
    .catalogue-item:nth-child(7) h2,
    .catalogue-item:nth-child(8) h2 {
        font-size: 34px;

        line-height: .89;
    }


    .catalogue-item h2 span {
        color: #0F6868;
    }


    /* =====================================================
       MOBILE PARAGRAPH
       SAME 16PX AS INDEX MOBILE
    ====================================================== */

    .catalogue-item p {
        width: 100%;
        max-width: 380px;

        margin: 24px 0 0;

        padding-top: 18px;

        border-top:
            1px solid rgba(0, 0, 0, .14);

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;

        letter-spacing: normal;

        color: var(--body-text, #55534C);
    }


    /* =====================================================
       FOOTER SEPARATION
    ====================================================== */

    .service-catalogue::after {
        margin: 90px auto -30px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media screen and (max-width: 430px) {

    .services-hero__title {
        font-size: 32px !important;
    }


    .catalogue-item h2,
    .catalogue-item:nth-child(4) h2,
    .catalogue-item:nth-child(6) h2,
    .catalogue-item:nth-child(7) h2,
    .catalogue-item:nth-child(8) h2 {
        font-size: 31px;
    }


    /*
       DO NOT SHRINK BODY COPY BELOW 16PX.
       SAME AS INDEX MOBILE.
    */

    .catalogue-item p {
        max-width: 360px;

        font-size: 16px;
        font-weight: 400;
        line-height: 1.7;

        letter-spacing: normal;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 360px) {

    .services-hero__title {
        font-size: 29px !important;
    }


    .catalogue-item h2,
    .catalogue-item:nth-child(4) h2,
    .catalogue-item:nth-child(6) h2,
    .catalogue-item:nth-child(7) h2,
    .catalogue-item:nth-child(8) h2 {
        font-size: 28px;
    }


    /*
       STILL 16PX FOR READABILITY
    */

    .catalogue-item p {
        font-size: 16px;
        line-height: 1.7;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .services-hero__label,
    .services-hero__intro,
    .services-hero__title,
    .catalogue-item {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }


    .catalogue-item__image {
        clip-path: none !important;

        transition: none !important;
    }


    .catalogue-item__image img {
        transform: none !important;

        transition: none !important;
    }

}