/* =========================================================
   STELLA SPECTRUM
   SERVICES PAGE

   IMPORTANT:
   Shared header, navigation, logo, Let's Talk button,
   mobile navigation and footer come from index.css.

   This file styles SERVICES CONTENT ONLY.
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.services-site {
    background: #f5f8fa;
}

.services-main {
    position: relative;
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.services-hero {
    position: relative;

    width: 100%;
    min-height: 690px;

    padding-top: 128px;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(245,248,250,.08) 0%,
            rgba(245,248,250,.02) 46%,
            rgba(245,248,250,0) 72%
        ),
        url("../images/services-hero-bg.png");

    background-size: cover;

    background-position:
        center center;

    background-repeat: no-repeat;
}


/* Background reaches all the way behind header */

.services-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05) 0%,
            transparent 30%,
            rgba(213,227,235,.05) 100%
        );
}


.services-hero-inner {
    position: relative;
    z-index: 3;

    width:
        min(calc(100% - 110px), 1360px);

    min-height: 562px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(520px, .95fr)
        minmax(420px, 1.05fr);

    align-items: center;

    gap: 60px;
}


/* =========================================================
   HERO COPY
   ========================================================= */

.services-hero-copy {
    max-width: 690px;

    padding:
        80px
        0
        70px;
}


.services-kicker {
    margin-bottom: 26px;

    display: flex;
    align-items: center;

    gap: 13px;

    color: rgba(23,43,56,.67);

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

    letter-spacing: .27em;

    text-transform: uppercase;
}


.kicker-line {
    width: 26px;
    height: 1px;

    background: var(--gold);
}


.kicker-slash {
    color: var(--gold);
}


.services-hero h1 {
    max-width: 670px;

    margin: 0;

    color: #102b3b;

    font-size:
        clamp(56px, 4.8vw, 76px);

    font-weight: 300;

    line-height: .97;

    letter-spacing: -.052em;
}


.services-hero h1 span {
    display: block;
}


.services-hero h1 em {
    color: #b98216;

    font-style: normal;
    font-weight: 300;
}


.services-hero-description {
    max-width: 520px;

    margin:
        28px
        0
        0;

    color:
        rgba(23,43,56,.78);

    font-size: 16px;

    line-height: 1.55;
}


/* =========================================================
   EXPLORE BUTTON
   ========================================================= */

.services-explore {
    width: fit-content;

    margin-top: 36px;

    display: flex;
    align-items: center;

    gap: 17px;
}


.explore-circle {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

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

    border-radius: 50%;

    color: #a97516;

    background:
        rgba(255,255,255,.15);

    font-size: 18px;

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


.explore-text {
    color: var(--dark);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .20em;

    text-transform: uppercase;
}


.services-explore:hover .explore-circle {
    background:
        rgba(255,255,255,.65);

    transform:
        translateY(3px);
}


/* =========================================================
   HERO RIGHT EDITORIAL NOTE
   Removed — architectural background stands alone.
   ========================================================= */

.hero-spectrum-note,
.hero-note-line,
.hero-note-copy {
    display: none !important;
}


/* =========================================================
   SERVICE SPECTRUM
   ========================================================= */

.service-spectrum {
    position: relative;

    z-index: 4;

    width: 100%;

    background:
        rgba(250,252,253,.98);

    border-top:
        1px solid rgba(255,255,255,.92);

    border-bottom:
        1px solid rgba(38,61,76,.12);
}


.service-spectrum-inner {
    width:
        min(calc(100% - 110px), 1360px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));
}


.service-card {
    position: relative;

    min-height: 330px;

    padding:
        31px
        27px
        30px;

    display: flex;
    flex-direction: column;

    border-right:
        1px solid rgba(38,61,76,.16);

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


.service-card:first-child {
    border-left:
        1px solid rgba(38,61,76,.10);
}


.service-card:hover {
    background:
        rgba(220,230,238,.25);
}


.service-index {
    color: #b17c17;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;
    font-weight: 400;

    line-height: 1;
}


.service-card h2 {
    min-height: 47px;

    margin:
        19px
        0
        0;

    color: #183447;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.45;

    letter-spacing: .20em;

    text-transform: uppercase;
}


.service-card h3 {
    margin:
        10px
        0
        0;

    color: #203b4b;

    font-size: 25px;
    font-weight: 300;

    line-height: 1.1;

    letter-spacing: -.035em;
}


.service-card p {
    max-width: 195px;

    margin:
        17px
        0
        0;

    color:
        rgba(32,59,75,.72);

    font-size: 11px;

    line-height: 1.55;
}


.service-card > a {
    width: fit-content;

    margin-top: auto;

    padding-top: 25px;

    display: flex;
    align-items: center;

    gap: 14px;

    color: #9c6b0f;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .20em;

    text-transform: uppercase;
}


.service-card > a span {
    font-size: 15px;

    transition:
        transform .25s ease;
}


.service-card > a:hover span {
    transform:
        translateX(4px);
}


/* =========================================================
   APPROACH
   ========================================================= */

.stella-approach {
    width: 100%;

    display: grid;

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


/* =========================================================
   APPROACH — DARK
   ========================================================= */

.approach-story {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 55%,
            rgba(53,104,132,.27),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #102735,
            #173749
        );

    color: #f5f8fa;
}


.approach-story-inner {
    position: relative;
    z-index: 4;

    width:
        min(680px, calc(100% - 110px));

    margin-left: auto;

    padding:
        69px
        65px
        70px
        0;
}


.section-kicker {
    display: flex;
    align-items: center;

    gap: 13px;
}


.section-kicker > span {
    width: 23px;
    height: 1px;

    flex-shrink: 0;

    background: var(--gold);
}


.section-kicker p {
    margin: 0;

    color: #294556;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .23em;

    text-transform: uppercase;
}


.section-kicker.light p {
    color:
        rgba(238,245,248,.72);
}


.approach-story h2 {
    margin:
        25px
        0
        0;

    color: #f5f8fa;

    font-size:
        clamp(43px, 4vw, 61px);

    font-weight: 300;

    line-height: .98;

    letter-spacing: -.045em;
}


.approach-story h2 strong {
    color: #d09a29;

    font-weight: 300;
}


.approach-description {
    max-width: 430px;

    margin:
        26px
        0
        0;

    color:
        rgba(235,243,247,.72);

    font-size: 13px;

    line-height: 1.6;
}


.approach-button {
    width: fit-content;

    min-width: 235px;
    height: 44px;

    margin-top: 29px;

    padding:
        0
        17px
        0
        20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

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

    color: #f5f8fa;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .17em;

    text-transform: uppercase;

    transition:
        background .3s ease;
}


.approach-button:hover {
    background:
        rgba(255,255,255,.07);
}


.approach-button span:last-child {
    color: #e1ad3d;

    font-size: 17px;
}


/* =========================================================
   APPROACH ORBIT
   SIMPLE CSS — NOT A HERO GRAPHIC
   ========================================================= */

.approach-orbit {
    position: absolute;

    right: -130px;
    bottom: -165px;

    width: 430px;
    height: 430px;

    border:
        1px solid rgba(200,149,39,.55);

    border-radius: 50%;

    pointer-events: none;
}


.approach-orbit i {
    position: absolute;

    inset: 38px;

    border:
        1px solid rgba(200,149,39,.25);

    border-radius: 50%;
}


.approach-orbit i:nth-child(2) {
    inset: 78px;

    border-color:
        rgba(220,230,238,.12);
}


.approach-orbit span {
    position: absolute;

    left: 31px;
    top: 75px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #e4b447;

    box-shadow:
        0 0 15px rgba(255,214,105,.85);
}


/* =========================================================
   WHY STELLA
   ========================================================= */

.why-stella {
    min-height: 520px;

    background:
        linear-gradient(
            125deg,
            #f7fafb,
            #e7f0f4
        );
}


.why-stella-inner {
    width:
        min(680px, calc(100% - 110px));

    padding:
        69px
        0
        60px
        65px;
}


.why-list {
    margin-top: 28px;
}


.why-item {
    min-height: 86px;

    display: grid;

    grid-template-columns:
        50px
        1fr;

    align-items: center;

    gap: 15px;

    border-bottom:
        1px solid rgba(38,61,76,.15);
}


.why-item:last-child {
    border-bottom: 0;
}


.why-number {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(200,149,39,.68);

    border-radius: 50%;

    color: #a87514;

    font-family:
        Georgia,
        serif;

    font-size: 11px;
}


.why-item h3 {
    margin: 0;

    color: #173244;

    font-size: 15px;
    font-weight: 500;

    letter-spacing: -.01em;
}


.why-item p {
    margin: 5px 0 0;

    color:
        rgba(38,61,76,.67);

    font-size: 11px;
}


/* =========================================================
   FULL SPECTRUM DETAIL
   ========================================================= */

.service-detail-section {
    width:
        min(calc(100% - 110px), 1360px);

    margin: 0 auto;

    padding:
        105px
        0
        120px;
}


.service-detail-heading {
    display: grid;

    grid-template-columns:
        minmax(400px, .95fr)
        minmax(300px, .55fr);

    column-gap: 90px;
}


.service-detail-heading .section-kicker {
    grid-column:
        1 / -1;

    margin-bottom: 22px;
}


.service-detail-heading h2 {
    margin: 0;

    color: #173244;

    font-size:
        clamp(43px, 4.2vw, 64px);

    font-weight: 300;

    line-height: 1;

    letter-spacing: -.045em;
}


.service-detail-heading h2 strong {
    color: #b47f18;

    font-weight: 300;
}


.service-detail-heading > p {
    align-self: end;

    max-width: 450px;

    margin: 0;

    color:
        rgba(38,61,76,.69);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   DETAIL ROWS
   ========================================================= */

.service-detail-list {
    margin-top: 70px;

    border-top:
        1px solid rgba(38,61,76,.18);
}


.detail-row {
    min-height: 185px;

    display: grid;

    grid-template-columns:
        80px
        minmax(280px, .8fr)
        minmax(430px, 1.2fr);

    gap: 30px;

    align-items: center;

    border-bottom:
        1px solid rgba(38,61,76,.18);
    
    position: relative;

    transition:
        background-color .45s ease,
        padding-left .45s ease,
        box-shadow .45s ease;
}

/* Selected section */

.detail-row:target {
    background:
        linear-gradient(
            90deg,
            rgba(200,149,39,.12),
            rgba(220,230,238,.18) 55%,
            transparent 100%
        );

    padding-left: 24px;

    box-shadow:
        inset 3px 0 0 var(--gold);
}

/* Make the selected heading more obvious */

.detail-row:target .detail-title h3 {
    color: #b47f18;
}


/* Highlight its number */

.detail-row:target .detail-number {
    color: #b47f18;

    font-size: 16px;
}


.detail-number {
    align-self: start;

    padding-top: 40px;

    color: #ad7815;

    font-family:
        Georgia,
        serif;

    font-size: 12px;
}


.detail-title > span {
    color: #8d6518;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .21em;

    text-transform: uppercase;
}


.detail-title h3 {
    margin:
        10px
        0
        0;

    color: #183447;

    font-size: 28px;
    font-weight: 300;

    letter-spacing: -.03em;
}


.detail-services {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap:
        13px
        25px;
}


.detail-services span {
    position: relative;

    padding-left: 15px;

    color:
        rgba(38,61,76,.70);

    font-size: 10px;

    line-height: 1.45;
}


.detail-services span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 7px;

    width: 4px;
    height: 4px;

    transform: rotate(45deg);

    background: var(--gold);
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.services-final-cta {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 75% 10%,
            rgba(92,139,164,.26),
            transparent 37%
        ),
        linear-gradient(
            115deg,
            #102735,
            #17384a
        );

    color: #f5f8fa;
}


.services-final-cta::after {
    content: "";

    position: absolute;

    width: 900px;
    height: 260px;

    right: -100px;
    top: 42%;

    border-top:
        1px solid rgba(230,181,72,.52);

    border-radius: 50%;

    transform: rotate(-3deg);

    pointer-events: none;
}


.final-cta-inner {
    position: relative;
    z-index: 3;

    width:
        min(calc(100% - 110px), 1360px);

    min-height: 260px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.2fr
        .8fr;

    gap: 70px;

    align-items: center;
}


.final-cta-copy h2 {
    margin:
        22px
        0
        0;

    color: #f5f8fa;

    font-size:
        clamp(37px, 3.8vw, 56px);

    font-weight: 300;

    line-height: 1.02;

    letter-spacing: -.04em;
}


.final-cta-copy h2 strong {
    color: #d7a438;

    font-weight: 300;
}


.final-cta-action {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


.final-cta-action p {
    margin: 0;

    color:
        rgba(235,243,247,.68);

    font-size: 11px;

    line-height: 1.5;
}


.final-cta-button {
    min-width: 155px;
    height: 44px;

    padding:
        0
        17px
        0
        20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 22px;

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

    color: #f5f8fa;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;

    transition:
        background .3s ease;
}


.final-cta-button:hover {
    background:
        rgba(255,255,255,.07);
}


.final-cta-button span:last-child {
    color: #e2ad3b;

    font-size: 16px;
}

/* =========================================================
   LAPTOP / SHORT DESKTOP

   This follows the Home baseline's short-desktop behaviour.
   ========================================================= */

@media
(min-width: 1101px)
and (max-height: 760px) {
.services-hero {
        padding-top: 104px;

        min-height: 610px;
    }


    .services-hero-inner {
        min-height: 506px;
    }


    .services-hero-copy {
        padding-top: 140px;
        padding-bottom: 40px;
    }


    .services-hero h1 {
        font-size:
            clamp(49px, 4.4vw, 64px);
    }


    .services-hero-description {
        margin-top: 20px;

        font-size: 14px;
    }


    .services-explore {
        margin-top: 26px;
    }

}


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

@media (max-width: 1100px) {
.services-hero {
        padding-top: 112px;

        min-height: 650px;

        background-position:
            57% center;
    }


    .services-hero-inner {
        width:
            calc(100% - 48px);

        min-height: 538px;

        grid-template-columns:
            minmax(420px, 1fr)
            minmax(200px, .65fr);

        gap: 30px;
    }


    .services-hero h1 {
        font-size:
            clamp(50px, 6vw, 68px);
    }


    .hero-spectrum-note {
        margin-right: 0;
    }


    .service-spectrum-inner {
        width:
            calc(100% - 48px);

        grid-template-columns:
            repeat(3, 1fr);
    }


    .service-card {
        border-bottom:
            1px solid rgba(38,61,76,.15);
    }


    .service-card:nth-child(3) {
        border-right: 0;
    }


    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        min-height: 310px;
    }


    .stella-approach {
        grid-template-columns: 1fr;
    }


    .approach-story-inner,
    .why-stella-inner {
        width:
            calc(100% - 48px);

        margin: 0 auto;

        padding-left: 0;
        padding-right: 0;
    }


    .service-detail-section,
    .final-cta-inner {
        width:
            calc(100% - 48px);
    }


    .service-detail-heading {
        grid-template-columns:
            1fr
            .7fr;

        column-gap: 50px;
    }


    .detail-row {
        grid-template-columns:
            55px
            minmax(230px, .7fr)
            minmax(350px, 1.3fr);
    }


    .final-cta-inner {
        grid-template-columns:
            1fr
            .8fr;
    }


    .final-cta-action {
        flex-direction: column;

        align-items: flex-start;
    }

}


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

@media (max-width: 760px) {

    .services-hero {
            padding-top: 92px;
    
            min-height: 690px;
    
            background-position:
                61% center;
    }


    .services-hero::after {
        content: "";

        position: absolute;

        inset: 0;

        background:
            linear-gradient(
                90deg,
                rgba(244,248,250,.92) 0%,
                rgba(244,248,250,.80) 45%,
                rgba(244,248,250,.18) 100%
            );

        pointer-events: none;
    }


    .services-hero-inner {
        z-index: 4;

        width:
            calc(100% - 32px);

        min-height: 598px;

        display: block;
    }


    .services-hero-copy {
        max-width: 500px;

        padding:
            70px
            0
            60px;
    }


    .services-kicker {
        font-size: 8px;

        letter-spacing: .20em;
    }


    .services-hero h1 {
        max-width: 500px;

        font-size:
            clamp(45px, 13vw, 64px);
    }


    .services-hero-description {
        max-width: 410px;

        font-size: 14px;
    }


    .hero-spectrum-note {
        display: none;
    }


    .service-spectrum-inner {
        width: 100%;

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


    .service-card {
        min-height: 330px;

        padding:
            28px
            22px;

        border-left: 0 !important;
    }


    .service-card:nth-child(2n) {
        border-right: 0;
    }


    .service-card:nth-child(3) {
        border-right:
            1px solid rgba(38,61,76,.16);
    }


    .service-card:last-child {
        grid-column:
            1 / -1;

        min-height: 280px;
    }


    .approach-story,
    .why-stella {
        min-height: auto;
    }


    .approach-story-inner,
    .why-stella-inner {
        width:
            calc(100% - 32px);

        padding:
            65px
            0;
    }


    .approach-orbit {
        opacity: .45;
    }


    .service-detail-section {
        width:
            calc(100% - 32px);

        padding:
            80px
            0
            90px;
    }


    .service-detail-heading {
        display: block;
    }


    .service-detail-heading h2 {
        margin-top: 20px;

        font-size:
            clamp(40px, 11vw, 55px);
    }


    .service-detail-heading > p {
        max-width: 540px;

        margin-top: 25px;
    }


    .service-detail-list {
        margin-top: 50px;
    }


    .detail-row {
        padding:
            35px
            0;

        display: grid;

        grid-template-columns:
            42px
            1fr;

        gap:
            15px
            10px;

        align-items: start;
    }


    .detail-number {
        padding-top: 3px;
    }


    .detail-title {
        grid-column: 2;
    }


    .detail-services {
        grid-column:
            2;

        grid-template-columns: 1fr;

        margin-top: 10px;
    }


    .final-cta-inner {
        width:
            calc(100% - 32px);

        min-height: 390px;

        padding:
            65px
            0;

        display: block;
    }


    .final-cta-action {
        margin-top: 35px;

        flex-direction: row;

        align-items: center;
    }

}


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

@media (max-width: 480px) {

    .services-hero {
        min-height: 650px;

        background-position:
            65% center;
    }


    .services-hero-copy {
        padding-top: 60px;
    }


    .services-hero h1 {
        font-size:
            clamp(42px, 12.8vw, 55px);
    }


    .services-hero-description {
        max-width: 330px;
    }


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


    .service-card {
        min-height: 275px;

        border-right: 0 !important;

        border-bottom:
            1px solid rgba(38,61,76,.15);
    }


    .service-card:last-child {
        grid-column: auto;
    }


    .service-card h2 {
        min-height: 0;
    }


    .service-card p {
        max-width: 330px;
    }


    .approach-story h2 {
        font-size:
            clamp(40px, 12vw, 52px);
    }


    .why-item {
        grid-template-columns:
            42px
            1fr;
    }


    .detail-row {
        grid-template-columns:
            32px
            1fr;
    }


    .detail-title h3 {
        font-size: 24px;
    }


    .final-cta-action {
        flex-direction: column;

        align-items: flex-start;
    }

}

/* =========================================================
   FLOATING NAVIGATION
   ========================================================= */

.floating-nav {
    position: fixed;
    z-index: 9000;
    top: 18px;
    left: 50%;

    transform: translate(-50%, -18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .28s ease,
        transform .28s ease,
        visibility .28s ease;
}

.floating-nav.is-visible {
    transform: translate(-50%, 0);

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-nav-inner {
    min-height: 54px;
    padding: 7px 9px 7px 25px;

    display: flex;
    align-items: center;
    gap: 29px;

    border: 1px solid rgba(82,103,119,.14);
    border-radius: 34px;

    background: rgba(245,248,250,.88);
    box-shadow: 0 12px 35px rgba(23,43,56,.12);

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.floating-nav-inner > a:not(.floating-nav-button) {
    position: relative;

    padding: 18px 0 16px;

    color: #173244;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.floating-nav-inner > a:not(.floating-nav-button)::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 8px;

    width: 0;
    height: 1px;

    transform: translateX(-50%);
    background: var(--gold);

    transition: width .25s ease;
}

.floating-nav-inner > a:not(.floating-nav-button):hover::after,
.floating-nav-inner > a.active::after {
    width: 28px;
}

.floating-nav-button {
    min-width: 128px;
    height: 40px;
    padding: 0 17px 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border: 1px solid var(--gold);
    border-radius: 25px;

    color: #173244;
    background: rgba(255,255,255,.38);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;

    transition: background .25s ease;
}

.floating-nav-button:hover {
    background: rgba(200,149,39,.08);
}

.floating-nav-button span:last-child {
    color: #b98216;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .floating-nav {
        display: none;
    }
}


