/* =========================================================
   MEENA PHOTOGRAPHY
   HOME SERVICES — PREMIUM EDITORIAL DESIGN
========================================================= */

.home-services {
    --hs-gold: #c9964e;
    --hs-gold-light: #dfbd87;
    --hs-black: #242220;
    --hs-text: #4b4640;
    --hs-cream: #fbf7f1;
    --hs-white: #fffefd;

    position: relative;
    width: 100%;
    padding: 125px 0 115px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 5% 15%,
            rgba(201,150,78,.055),
            transparent 27%
        ),
        var(--hs-cream);

    isolation: isolate;
}


/* =========================================================
   CONTAINER
========================================================= */

.home-services-wrap {
    width: min(calc(100% - 100px), 1400px);
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.home-services-head {
    margin-bottom: 65px;
}

.home-services-kicker {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 28px;

    color: var(--hs-gold);

    font-family: var(
        --fb,
        "Marcellus",
        serif
    );

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .24em;
}

.home-services-kicker span {
    width: 42px;
    height: 1px;

    background: var(--hs-gold-light);
}


.home-services-heading-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, .65fr);

    gap: 80px;

    align-items: end;
}


.home-services-heading-row h2 {
    margin: 0;

    color: var(--hs-black);

    font-family:
        var(--fh,
        "Bodoni Moda",
        "Times New Roman",
        serif);

    font-size: clamp(70px, 8vw, 125px);

    font-weight: 400;

    line-height: .83;

    letter-spacing: -.065em;
}

.home-services-heading-row h2 em {
    color: var(--hs-gold);

    font-style: italic;
}


.home-services-intro {
    max-width: 390px;

    padding-bottom: 5px;
}

.home-services-intro p {
    margin: 0 0 28px;

    color: var(--hs-text);

    font-family:
        var(--fb,
        "Marcellus",
        Arial,
        sans-serif);

    font-size: 15px;

    line-height: 1.9;
}


/* =========================================================
   DISCOVER BUTTON
========================================================= */

.home-services-all {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 22px;

    color: var(--hs-black);

    text-decoration: none;

    font-family:
        var(--fb,
        "Marcellus",
        sans-serif);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .12em;
}

.home-services-all::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 1px;

    background: var(--hs-gold);

    transform-origin: left;

    transition:
        transform .35s ease;
}

.home-services-all:hover::after {
    transform: scaleX(.45);
}

.home-services-all i {
    display: grid;

    width: 32px;
    height: 32px;

    place-items: center;

    border: 1px solid var(--hs-gold);

    border-radius: 50%;

    color: var(--hs-gold);

    font-style: normal;

    font-size: 15px;

    transition:
        transform .3s ease,
        background .3s ease;
}

.home-services-all:hover i {
    background: rgba(201,150,78,.08);

    transform:
        translate(3px,-3px);
}


/* =========================================================
   SERVICES GRID
========================================================= */

.home-services-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        .82fr
        .82fr;

    grid-template-rows:
        350px
        350px;

    gap: 18px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    position: relative;

    display: block;

    overflow: hidden;

    min-width: 0;

    color: #fff;

    border-radius: 4px;

    background: #ddd;

    text-decoration: none;

    isolation: isolate;

    transform: translateZ(0);
}


.service-card-featured {
    grid-row: span 2;
}


.service-card-event {
    grid-column: span 2;
}


/* =========================================================
   IMAGE
========================================================= */

.service-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform:
        scale(1.015);

    transition:
        transform .8s
        cubic-bezier(.2,.7,.2,1);
}


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


/* =========================================================
   DARK OVERLAY
========================================================= */

.service-card-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 20%,
            rgba(0,0,0,.10) 45%,
            rgba(0,0,0,.72) 100%
        );

    transition:
        background .5s ease;
}


.service-card:hover
.service-card-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08),
            rgba(0,0,0,.78)
        );
}


/* =========================================================
   NUMBER
========================================================= */

.service-card-number {
    position: absolute;

    top: 24px;
    left: 25px;

    z-index: 3;

    color: rgba(255,255,255,.9);

    font-family:
        "Marcellus",
        serif;

    font-size: 12px;

    letter-spacing: .16em;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.service-card-content {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 27px;

    z-index: 3;
}


.service-card-label {
    display: block;

    margin-bottom: 9px;

    color: rgba(255,255,255,.72);

    font-family:
        "Marcellus",
        serif;

    font-size: 9px;

    letter-spacing: .22em;
}


.service-card h3 {
    margin: 0;

    color: #fff;

    font-family:
        var(--fh,
        "Bodoni Moda",
        Georgia,
        serif);

    font-size: 39px;

    font-weight: 400;

    line-height: .95;

    letter-spacing: -.035em;
}


/* FEATURED TITLE */

.service-card-featured h3 {
    font-size:
        clamp(
            55px,
            5.2vw,
            82px
        );
}


.service-card-content p {
    max-width: 390px;

    margin: 15px 0 0;

    color: rgba(255,255,255,.78);

    font-family:
        var(--fb,
        "Marcellus",
        sans-serif);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   ARROW
========================================================= */

.service-card-arrow {
    position: absolute;

    right: 0;
    bottom: 0;

    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border: 1px solid rgba(255,255,255,.5);

    border-radius: 50%;

    color: #fff;

    font-size: 17px;

    transition:
        background .3s ease,
        transform .35s ease;
}

.service-card:hover
.service-card-arrow {
    background: var(--hs-gold);

    border-color: var(--hs-gold);

    transform:
        translate(3px,-3px);
}


/* =========================================================
   BOTTOM
========================================================= */

.home-services-bottom {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 30px;

    margin-top: 55px;
}


.services-bottom-line {
    height: 1px;

    background:
        rgba(201,150,78,.3);
}


.home-services-bottom p {
    margin: 0;

    color: var(--hs-text);

    font-family:
        var(--fh,
        "Bodoni Moda",
        Georgia,
        serif);

    font-size: 21px;

    text-align: center;

    white-space: nowrap;
}

.home-services-bottom p em {
    color: var(--hs-gold);

    font-style: italic;
}


.services-bottom-mark {
    justify-self: end;

    color: var(--hs-gold);

    font-size: 22px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-service {
    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity .7s ease,
        transform .7s
        cubic-bezier(.2,.7,.2,1);
}


.reveal-service.is-visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* stagger cards */

.home-services-grid
.service-card:nth-child(1) {
    transition-delay: .05s;
}

.home-services-grid
.service-card:nth-child(2) {
    transition-delay: .12s;
}

.home-services-grid
.service-card:nth-child(3) {
    transition-delay: .18s;
}

.home-services-grid
.service-card:nth-child(4) {
    transition-delay: .24s;
}

.home-services-grid
.service-card:nth-child(5) {
    transition-delay: .30s;
}

.home-services-grid
.service-card:nth-child(6) {
    transition-delay: .36s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .home-services {
        padding: 95px 0;
    }

    .home-services-wrap {
        width: min(
            calc(100% - 55px),
            900px
        );
    }

    .home-services-heading-row {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .home-services-intro {
        max-width: 600px;
    }

    .home-services-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            450px
            300px
            300px;
    }

    .service-card-featured {
        grid-row: span 1;

        grid-column: span 2;
    }

    .service-card-event {
        grid-column: span 2;
    }

    .service-card-featured h3 {
        font-size: 65px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .home-services {
        padding: 75px 0 70px;
    }

    .home-services-wrap {
        width:
            calc(100% - 30px);
    }

    .home-services-head {
        margin-bottom: 40px;
    }

    .home-services-kicker {
        font-size: 9px;

        letter-spacing: .18em;

        margin-bottom: 22px;
    }

    .home-services-kicker span {
        width: 28px;
    }

    .home-services-heading-row {
        gap: 25px;
    }

    .home-services-heading-row h2 {
        font-size:
            clamp(
                55px,
                16vw,
                76px
            );
    }

    .home-services-intro {
        max-width: 100%;
    }

    .home-services-intro p {
        font-size: 13px;

        line-height: 1.75;

        margin-bottom: 22px;
    }


    /* GRID */

    .home-services-grid {
        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-rows:
            430px
            250px
            250px
            250px;

        gap: 10px;
    }


    .service-card-featured {
        grid-column: span 2;

        grid-row: span 1;
    }

    .service-card-event {
        grid-column: span 2;
    }


    .service-card-content {
        left: 17px;
        right: 17px;
        bottom: 18px;
    }

    .service-card-number {
        top: 16px;
        left: 17px;

        font-size: 9px;
    }

    .service-card-label {
        font-size: 7px;

        letter-spacing: .16em;

        margin-bottom: 6px;
    }

    .service-card h3 {
        font-size: 28px;
    }

    .service-card-featured h3 {
        font-size: 50px;
    }

    .service-card-content p {
        font-size: 10px;

        line-height: 1.5;

        max-width: 260px;
    }

    .service-card-arrow {
        width: 34px;
        height: 34px;

        font-size: 14px;
    }


    /* BOTTOM */

    .home-services-bottom {
        display: flex;

        flex-direction: column;

        gap: 20px;

        margin-top: 38px;
    }

    .services-bottom-line {
        width: 100%;
    }

    .home-services-bottom p {
        font-size: 18px;

        line-height: 1.35;

        white-space: normal;
    }

    .services-bottom-mark {
        align-self: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .home-services-grid {
        grid-template-rows:
            380px
            225px
            225px
            225px;
    }

    .service-card-featured h3 {
        font-size: 43px;
    }

    .service-card h3 {
        font-size: 24px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .home-services *,
    .home-services *::before,
    .home-services *::after {
        transition: none !important;
        animation: none !important;
    }

    .reveal-service {
        opacity: 1;
        transform: none;
    }
}