/* =========================================================
   REAL GRAPHICS - SERVICES.CSS
   Page-wise stylesheet generated from the existing style.css
========================================================= */

/* 26. SERVICES PAGE - INTRODUCTION */
.service-intro {
    padding: 140px 0;
}

.service-intro__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 6vw;
}

.service-intro__grid>div:last-child>p:last-child {
    max-width: 620px;
    margin-top: 20px;
    color: var(--muted);
}

/* 27. SERVICES PAGE - SERVICES CATALOG */
.services-catalog {
    padding: 150px 0;
}

.services-catalog__layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 7vw;
    align-items: start;
}

.services-catalog__sticky {
    position: sticky;
    top: 130px;
}

.services-catalog__sticky h2 {
    margin: 18px 0 36px;
    font-size: clamp(58px, 7vw, 100px);
    line-height: .82;
    text-transform: uppercase;
}

.services-catalog__preview {
    width: 82%;
    aspect-ratio: 1 / .78;
    overflow: hidden;
    border: 5px solid var(--white);
    transform: rotate(-2deg);
}

.services-catalog__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s, transform .6s var(--ease);
}

.catalog-item {
    min-height: 104px;
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    transition: padding .35s var(--ease), color .35s;
}

.catalog-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.catalog-item>span {
    color: rgba(255, 255, 255, .4);
    font-size: 12px;
}

.catalog-item h3 {
    margin: 0;
    font-size: clamp(28px, 3.4vw, 52px);
    line-height: .95;
}

.catalog-item i {
    justify-self: end;
    font-style: normal;
    font-size: 24px;
}

.catalog-item:hover {
    padding-left: 18px;
    color: var(--green);
}

/* 28. SERVICES PAGE - SERVICE FEATURE BLOCKS */
.service-feature {
    padding: 150px 0;
}

.service-feature--reverse {
    background: var(--white);
}

.service-feature__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
}

.service-feature--reverse .service-feature__media {
    order: 2;
}

.service-feature__media {
    overflow: hidden;
}

.service-feature__media img {
    width: 100%;
    aspect-ratio: 1 / .86;
    object-fit: cover;
}

.service-feature__copy h2 {
    margin: 16px 0 30px;
    font-size: clamp(52px, 6vw, 88px);
    line-height: .88;
}

.service-feature__copy p {
    color: var(--muted);
}

.service-feature__copy .underlined-link {
    margin-top: 22px;
}

@media (max-width:980px) {
    .service-intro__grid {
        grid-template-columns: 1fr;
    }

    .services-catalog__layout {
        grid-template-columns: 1fr;
    }

    .services-catalog__sticky {
        position: static;
    }

    .services-catalog__preview {
        width: 100%;
        max-width: 640px;
        margin-bottom: 50px;
    }

    .service-feature__grid {
        grid-template-columns: 1fr;
    }

    .service-feature--reverse .service-feature__media {
        order: 0;
    }
}

@media (max-width:720px) {

    .service-intro,
    .services-catalog,
    .service-feature {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .catalog-item {
        grid-template-columns: 40px 1fr 26px;
        min-height: 90px;
    }

    .catalog-item h3 {
        font-size: 31px;
    }
}

/* ================= NEW SERVICES PAGE DESIGN ================= */
/*  47. SERVICES PAGE - SPECIAL HERO DESIGN */
.inner-hero--services {
    position: relative;
    min-height: 78svh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + 110px) 0 90px;
    background: radial-gradient(circle at 80% 25%,
            rgba(143, 189, 47, .14),
            transparent 28%),
        radial-gradient(circle at 18% 78%,
            rgba(0, 149, 199, .12),
            transparent 30%),
        var(--ink);
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.inner-hero--services::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
}

.inner-hero--services::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: 8%;
    top: 16%;
    border: 1px solid rgba(143, 189, 47, .22);
    border-radius: 50%;
    z-index: -1;
}

.inner-hero--services .inner-hero__word {
    position: absolute;
    right: -2vw;
    bottom: -4vw;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
    font-family: var(--font-display);
    font-size: 20vw;
    font-weight: 900;
    line-height: .75;
    letter-spacing: -.06em;
    pointer-events: none;
}

.inner-hero--services .inner-hero__inner {
    position: relative;
    z-index: 2;
}

.inner-hero--services .eyebrow {
    color: var(--green);
    margin-bottom: 25px;
    font-size: 13px;
}

.inner-hero--services h1 {
    max-width: 1000px;
    margin: 0 0 45px;
    font-size: 100px;
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.inner-hero--services h1 em {
    display: inline-block;
    color: var(--green);
    font-family: var(--font-script);
    font-size: .72em;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.inner-hero--services .inner-hero__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .17);
}

.inner-hero--services .inner-hero__foot p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
}

.inner-hero--services .inner-hero__foot span {
    color: var(--green);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* 48. SERVICES PAGE - INTRO CONTENT */
.services-page .service-intro {
    padding: 105px 0;
    background: var(--paper);
}

.services-page .service-intro__grid {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 6vw;
    align-items: start;
}

.services-page .section-index {
    position: sticky;
    top: 120px;
}

.services-page .service-intro .display-lead {
    max-width: 920px;
    margin: 0;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: 0;
}

.services-page .service-intro .display-lead strong {
    color: var(--green-dark);
    font-weight: 800;
}

.services-page .service-intro__grid>div:last-child>p:last-child {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

/* 49. SERVICES PAGE - SERVICE GROUPS */
.service-groups {
    position: relative;
    padding: 110px 0;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}

.service-groups::after {
    content: "SERVICES";
    position: absolute;
    right: -25px;
    top: 15px;
    font-family: var(--font-display);
    font-size: 170px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
    color: rgba(255, 255, 255, .018);
    pointer-events: none;
}

.service-groups .section-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 58px;
}

.service-groups .section-heading h2 {
    font-size: 60px;
    line-height: .9;
}

.service-groups .section-heading>p {
    max-width: 400px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 1.7;
}

.service-groups__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.service-group-card {
    min-height: 230px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .015);
    transition: background .35s,
        transform .35s var(--ease);
}

.service-group-card:hover {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .055);
    transform: translateY(-5px);
}

.service-group-card__head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.service-group-card__head>span {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
}

.service-group-card h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.service-group-card__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin-top: auto;
    padding-top: 45px;
}

.service-group-card__items span {
    display: inline-flex;
    align-items: center;
    min-height: 37px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    letter-spacing: .035em;
    transition: background .25s,
        color .25s,
        border-color .25s;
}

.service-group-card:hover .service-group-card__items span:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}

/*  50. SERVICES PAGE - ALL SERVICES LIST */
.all-services-list {
    position: relative;
    padding: 105px 0 120px;
    background: var(--white);
    overflow: hidden;
}

.all-services-list::before {
    content: "CREATIVE";
    position: absolute;
    left: -20px;
    bottom: -35px;
    color: rgba(11, 39, 52, .025);
    font-family: var(--font-display);
    font-size: 180px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.all-services-list .section-heading {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.all-services-list .section-heading h2 {
    font-size: 60px;
    line-height: .9;
}

.all-services-list__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.all-service-chip {
    min-height: 100px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    transition: background .3s,
        color .3s,
        padding .3s var(--ease);
}

.all-service-chip:hover {
    padding-left: 27px;
    background: var(--ink);
    color: var(--white);
}

.all-service-chip>span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.all-service-chip:hover>span {
    color: var(--green);
}

.all-service-chip strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.all-service-chip i {
    justify-self: end;
    color: var(--green-dark);
    font-style: normal;
    font-size: 20px;
    transition: transform .3s var(--ease);
}

.all-service-chip:hover i {
    color: var(--green);
    transform: translate(4px, -4px);
}

@media (max-width:980px) {
    .inner-hero--services {
        min-height: 680px;
        padding: calc(var(--header-h) + 90px) 0 75px;
    }

    .inner-hero--services h1 {
        font-size: 70px;
        line-height: .9;
    }

    .inner-hero--services::before {
        width: 390px;
        height: 390px;
        right: -70px;
    }

    .services-page .service-intro {
        padding: 85px 0;
    }

    .services-page .service-intro__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-page .section-index {
        position: static;
    }

    .services-page .service-intro .display-lead {
        max-width: 760px;
        font-size: 34px;
    }

    .service-groups {
        padding: 90px 0;
    }

    .service-groups .section-heading h2,
    .all-services-list .section-heading h2 {
        font-size: 48px;
    }

    .service-groups__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-group-card {
        min-height: 290px;
        padding: 26px;
    }

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

    .all-services-list {
        padding: 90px 0 100px;
    }

    .all-services-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .all-service-chip strong {
        font-size: 21px;
    }
}

@media (max-width:720px) {
    .inner-hero--services {
        min-height: 600px;
        align-items: center;
        padding: calc(var(--header-h) + 60px) 0 60px;
    }

    .inner-hero--services .inner-hero__word {
        font-size: 42vw;
        bottom: 3%;
    }

    .inner-hero--services .eyebrow {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .inner-hero--services h1 {
        margin-bottom: 30px;
        font-size: 52px;
        line-height: .9;
    }

    .inner-hero--services h1 em {
        display: block;
        margin: 5px 0 0;
        font-size: .8em;
    }

    .inner-hero--services .inner-hero__foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding-top: 20px;
    }

    .inner-hero--services .inner-hero__foot p {
        font-size: 14px;
        line-height: 1.7;
    }

    .inner-hero--services::before {
        width: 280px;
        height: 280px;
        right: -120px;
        top: 25%;
    }

    .services-page .service-intro {
        padding: 70px 0;
    }

    .services-page .service-intro .display-lead {
        font-size: 28px;
        line-height: 1.15;
    }

    .services-page .service-intro__grid>div:last-child>p:last-child {
        font-size: 14px;
        line-height: 1.7;
    }

    .service-groups {
        padding: 72px 0;
    }

    .service-groups::after {
        font-size: 100px;
    }

    .service-groups .section-heading {
        margin-bottom: 38px;
    }

    .service-groups .section-heading h2,
    .all-services-list .section-heading h2 {
        font-size: 40px;
        line-height: .95;
    }

    .service-groups__grid {
        grid-template-columns: 1fr;
    }

    .service-group-card {
        min-height: 240px;
        padding: 22px 20px;
    }

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

    .service-group-card__items {
        padding-top: 32px;
    }

    .service-group-card__items span {
        min-height: 34px;
        padding: 0 11px;
        font-size: 11px;
    }

    .all-services-list {
        padding: 72px 0 80px;
    }

    .all-services-list::before {
        font-size: 105px;
    }

    .all-services-list .section-heading {
        margin-bottom: 35px;
    }

    .all-services-list__grid {
        grid-template-columns: 1fr;
    }

    .all-service-chip {
        min-height: 82px;
        grid-template-columns: 30px 1fr 24px;
        padding: 15px 16px;
    }

    .all-service-chip:hover {
        padding-left: 20px;
    }

    .all-service-chip strong {
        font-size: 20px;
    }
}

@media (max-width:480px) {
    .inner-hero--services {
        min-height: 560px;
    }

    .inner-hero--services h1 {
        font-size: 46px;
    }

    .services-page .service-intro .display-lead {
        font-size: 26px;
    }


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

    .all-service-chip strong {
        font-size: 19px;
    }
}


/* =========================================================
   SERVICES PAGE - OTHER SERVICES POPUP
========================================================= */

.service-group-card__other {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 37px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.15);
    background: transparent;
    color: rgba(255,255,255,.72);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .035em;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}

.service-group-card__other i {
    color: var(--green);
    font-style: normal;
}

.service-group-card__other:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}

.service-group-card__other:hover i { color: var(--ink); }

.all-service-chip--other {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

body.other-service-modal-open { overflow: hidden; }

.other-service-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
}

.other-service-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.other-service-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,17,24,.78);
    backdrop-filter: blur(10px);
}

.other-service-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    background: var(--white);
    box-shadow: 0 30px 100px rgba(0,0,0,.28);
    transform: translateY(24px) scale(.985);
    transition: transform .35s var(--ease);
}

.other-service-modal.is-open .other-service-modal__dialog {
    transform: none;
}

.other-service-modal__close {
    position: absolute;
    z-index: 5;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11,39,52,.16);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.other-service-modal__intro {
    position: relative;
    padding: 48px 38px;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}

.other-service-modal__intro::after {
    content: "OTHER";
    position: absolute;
    left: -12px;
    bottom: -16px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.05);
    font-family: var(--font-display);
    font-size: 90px;
    font-weight: 900;
    line-height: .8;
}

.other-service-modal__intro .eyebrow { color: var(--green); }

.other-service-modal__intro h2 {
    position: relative;
    z-index: 2;
    margin: 22px 0 25px;
    font-size: 50px;
    line-height: .86;
    text-transform: uppercase;
}

.other-service-modal__intro h2 em {
    color: var(--green);
    font-family: var(--font-script);
    font-style: normal;
    font-weight: 400;
    text-transform: none;
}

.other-service-modal__intro p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.75;
}

.other-service-form { padding: 48px 40px 38px; }

.other-service-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    margin-bottom: 28px;
}

.other-service-form label { display: grid; gap: 7px; }

.other-service-form label > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.other-service-form input,
.other-service-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 11px 0;
    background: transparent;
    color: var(--ink);
    outline: none;
    resize: vertical;
}

.other-service-form input:focus,
.other-service-form textarea:focus { border-color: var(--green-dark); }

.other-service-form__wide { grid-column: 1 / -1; }

.other-service-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    font-size: 12px;
}

.other-service-alert--error {
    background: rgba(255,90,90,.10);
    border: 1px solid #e56262;
    color: #9f2b2b;
}

.other-service-toast {
    position: fixed;
    z-index: 6000;
    right: 24px;
    bottom: 24px;
    max-width: 390px;
    padding: 15px 18px;
    background: var(--ink);
    border-left: 4px solid var(--green);
    color: var(--white);
    font-size: 13px;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
}

.other-service-toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 720px) {
    .other-service-modal { padding: 12px; }
    .other-service-modal__dialog { grid-template-columns: 1fr; max-height: calc(100vh - 24px); }
    .other-service-modal__intro { padding: 34px 24px 30px; }
    .other-service-modal__intro h2 { font-size: 32px !important; margin-bottom: 16px; }
    .other-service-form { padding: 28px 22px; }
    .other-service-form__grid { grid-template-columns: 1fr; gap: 18px; }
    .other-service-form__wide { grid-column: auto; }
    .other-service-toast { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}


/* =========================================================
   OTHER SERVICES - SEPARATE CATEGORY
========================================================= */

.service-group-card--other {
    min-height: 230px;
}

.service-group-card__other-wrap {
    margin-top: auto;
    padding-top: 34px;
}

.service-group-card__other-wrap p {
    max-width: 430px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.65;
}

.service-group-card__other {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: max-content;
    min-height: 37px;
    margin: 0;
    padding: 0 14px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, .72);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .035em;
    cursor: pointer;
}

.service-group-card__other i {
    color: var(--green);
    font-style: normal;
}

.service-group-card__other:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}

.service-group-card__other:hover i {
    color: var(--ink);
}


/* =========================================================
   CORE SERVICES - OTHER SERVICES BUTTON BORDER RESET
========================================================= */

.all-service-chip.all-service-chip--other {
    width: 100%;
    min-height: 100px;
    margin: 0;
    padding: 18px 20px;

    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 14px;

    appearance: none;
    -webkit-appearance: none;

    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: 0;

    background: #ffffff;
    color: var(--ink);

    font: inherit;
    text-align: left;
    cursor: pointer;
}

.all-service-chip.all-service-chip--other:hover {
    padding-left: 27px;
    background: var(--ink);
    color: var(--white);
}

@media (max-width: 720px) {
    .service-group-card--other {
        min-height: 220px;
    }

    .service-group-card__other-wrap {
        padding-top: 28px;
    }

    .all-service-chip.all-service-chip--other {
        min-height: 82px;
        grid-template-columns: 30px 1fr 24px;
        padding: 15px 16px;
    }

    .all-service-chip.all-service-chip--other:hover {
        padding-left: 20px;
    }
}
