:root {
    --sf-bg: #020817;
    --sf-bg-deep: #010612;
    --sf-surface: #061224;
    --sf-blue: #0d3b66;
    --sf-blue-2: #24618c;
    --sf-text: #f7f8fc;
    --sf-muted: #9aa5b5;
    --sf-border: rgba(255,255,255,.10);
    --sf-container: 1360px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sf-bg);
    color: var(--sf-text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

video,
img {
    display: block;
}

.sf-container {
    width: min(calc(100% - 64px), var(--sf-container));
    margin-inline: auto;
}


/* TOP BAR */

.sf-topbar {
    background:
        linear-gradient(
            90deg,
            #06102c 0%,
            #0d2359 55%,
            #154ad0 100%
        );

    border-bottom: 1px solid rgba(255,255,255,.12);
}

.sf-topbar__inner {
    min-height: 74px;

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

    gap: 30px;
}

.sf-topbar__inner > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sf-topbar strong {
    font-size: 17px;
}

.sf-topbar span {
    color: rgba(255,255,255,.70);
    font-size: 12px;
}

.sf-topbar a {
    padding: 11px 16px;

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

    font-size: 12px;
}


/* HEADER */

.site-header {
    position: relative;
    z-index: 50;

    height: 72px;

    background: #020918;

    border-bottom: 1px solid var(--sf-border);
}

.site-header__inner {
    height: 72px;

    display: flex;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 18px;
    font-weight: 700;
}

.site-logo__mark {
    color: #4c74ff;

    font-size: 20px;
    font-weight: 900;
    font-style: italic;
}

.site-nav {
    margin-left: auto;

    display: flex;
    gap: 27px;
}

.site-nav a {
    font-size: 12px;
    color: rgba(255,255,255,.82);
}

.site-nav a:hover {
    color: #fff;
}

.site-header__cta {
    margin-left: 28px;

    padding: 10px 16px;

    border-radius: 4px;

    background: #246c9e;

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

.site-menu-toggle {
    display: none;

    margin-left: auto;

    width: 42px;
    height: 42px;

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

    background: transparent;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 6px;
}

.site-menu-toggle span {
    width: 18px;
    height: 1px;

    background: #fff;
}


/* HERO */

.sf-home-hero {
    background: #020716;
}

.sf-home-hero__grid {
    min-height: 640px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.06fr)
        minmax(0, .94fr);

    overflow: hidden;
}


/* LEFT */

.sf-home-hero__copy {
    position: relative;

    min-width: 0;

    overflow: hidden;

    display: flex;
    align-items: center;
}

.sf-home-hero__grid-motion {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.sf-home-hero__grid-motion video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: .50;
}

.sf-home-hero__grid-motion::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,7,22,.15),
            rgba(2,7,22,.52) 72%,
            #020716 100%
        ),
        linear-gradient(
            0deg,
            rgba(2,7,22,.48),
            transparent 40%
        );
}

.sf-home-hero__copy-inner {
    position: relative;
    z-index: 5;

    max-width: 650px;

    padding:
        70px
        60px
        70px
        30px;
}

.sf-kicker {
    margin-bottom: 22px;

    color: #5880ff;

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

    letter-spacing: .14em;
}

.sf-home-hero h1 {
    margin: 0;

    max-width: 650px;

    font-size: clamp(60px, 5.4vw, 90px);
    line-height: .97;

    letter-spacing: -.045em;

    font-weight: 700;
}

.sf-home-hero h1 strong {
    color: #5bafe3;
    font-weight: inherit;
}

.sf-home-hero__copy-inner > p {
    max-width: 510px;

    margin: 28px 0 0;

    color: #aab4c2;

    font-size: 15px;
    line-height: 1.65;
}

.sf-home-hero__actions {
    display: flex;

    gap: 12px;

    margin-top: 28px;
}

.sf-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding-inline: 20px;

    font-size: 12px;
    font-weight: 700;
}

.sf-button--primary {
    background:
        linear-gradient(
            135deg,
            #0d3b66,
            #5bafe3
        );

    border-radius: 4px;
}

.sf-button--ghost {
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;

    background: rgba(0,0,0,.15);
}


/* EARTH */

.sf-home-hero__earth {
    min-width: 0;

    overflow: hidden;

    background: #020716;
}

.sf-home-hero__earth video {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center right;
}


/* STRIP */

.sf-home-strip {
    background: #02101d;

    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.sf-home-strip__grid {
    min-height: 86px;

    display: grid;

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

    align-items: center;
}

.sf-home-strip__grid > div {
    text-align: center;

    border-right: 1px solid rgba(255,255,255,.06);
}

.sf-home-strip__grid > div:last-child {
    border-right: 0;
}

.sf-home-strip strong {
    display: block;

    color: #5bafe3;

    font-size: 23px;
}

.sf-home-strip span {
    display: block;

    margin-top: 4px;

    color: #707c8e;

    font-size: 10px;
}


/* SERVICES */

.sf-home-services {
    padding: 100px 0 120px;

    background: #020716;
}

.sf-home-services__heading {
    text-align: center;

    margin-bottom: 48px;
}

.sf-home-services h2 {
    margin: 0 auto;

    max-width: 780px;

    font-size: clamp(46px, 5vw, 70px);
    line-height: .98;

    letter-spacing: -.04em;
}

.sf-home-services h2 span {
    color: #5bafe3;
}

.sf-home-services__stage {
    max-width: 1180px;

    margin-inline: auto;
}

.sf-services-animation {
    position: relative;

    height: 690px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(62,70,255,.10),
            transparent 50%
        );
}

.sf-services-animation__placeholder {
    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

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

.sf-services-animation__placeholder span {
    color: #5bafe3;

    font-size: 100px;
    font-weight: 900;
}


/* FOOTER */

.site-footer {
    background: #010610;

    border-top: 1px solid var(--sf-border);
}

.site-footer__grid {
    padding: 54px 0;

    display: grid;

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

    gap: 50px;
}

.site-footer__brand p,
.site-footer__column a {
    color: var(--sf-muted);

    font-size: 12px;
}

.site-footer__column {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.site-footer__column span {
    font-size: 12px;
    font-weight: 700;
}

.site-footer__bottom {
    min-height: 60px;

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

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

    color: #6d7888;

    font-size: 10px;
}


/* TABLET */

@media (max-width: 1050px) {

    .sf-container {
        width: min(calc(100% - 40px), var(--sf-container));
    }

    .sf-home-hero__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, .8fr);
    }

    .sf-home-hero__copy-inner {
        padding-left: 10px;
        padding-right: 35px;
    }

}


/* MOBILE */

@media (max-width: 820px) {

    .sf-container {
        width: calc(100% - 28px);
    }


    .sf-topbar__inner {
        min-height: 64px;
    }

    .sf-topbar span {
        display: none;
    }

    .sf-topbar strong {
        font-size: 14px;
    }


    .site-nav {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        background: #020918;

        border-bottom: 1px solid var(--sf-border);

        padding: 18px 14px;

        flex-direction: column;

        gap: 0;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 13px 8px;

        border-bottom: 1px solid rgba(255,255,255,.05);

        font-size: 14px;
    }

    .site-header__cta {
        display: none;
    }

    .site-menu-toggle {
        display: inline-flex;
    }


    /*
     * The desktop composition becomes stacked.
     */

    .sf-home-hero__grid {
        min-height: auto;

        display: flex;
        flex-direction: column;
    }


    .sf-home-hero__copy {
        min-height: 600px;
    }

    .sf-home-hero__grid-motion {
        opacity: .72;
    }

    .sf-home-hero__grid-motion::after {
        background:
            linear-gradient(
                180deg,
                rgba(2,7,22,.15),
                rgba(2,7,22,.84) 82%,
                #020716 100%
            );
    }

    .sf-home-hero__copy-inner {
        width: 100%;

        padding:
            70px
            8px
            45px;
    }

    .sf-home-hero h1 {
        font-size: clamp(50px, 14vw, 68px);

        max-width: 540px;
    }

    .sf-home-hero__copy-inner > p {
        font-size: 14px;
    }

    .sf-home-hero__actions {
        flex-direction: column;

        width: min(100%, 320px);
    }


    /*
     * Earth gets its own viewport below the text.
     */

    .sf-home-hero__earth {
        height: 390px;

        order: 2;
    }

    .sf-home-hero__earth video {
        object-position: center;
    }


    .sf-home-strip__grid {
        min-height: 150px;

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

        gap: 0;
    }

    .sf-home-strip__grid > div {
        padding: 18px 8px;

        border-bottom: 1px solid rgba(255,255,255,.05);
    }


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

    .sf-home-services__heading {
        text-align: left;
    }

    .sf-home-services h2 {
        font-size: 48px;
    }

    .sf-services-animation {
        height: 440px;
    }


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

    .site-footer__brand {
        grid-column: 1 / -1;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .sf-home-hero__copy {
        min-height: 570px;
    }

    .sf-home-hero h1 {
        font-size: 49px;
    }

    .sf-home-hero__earth {
        height: 320px;
    }

    .sf-home-services h2 {
        font-size: 41px;
    }

    .sf-services-animation {
        height: 360px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }

    .site-footer__bottom {
        padding: 20px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 7px;
    }

}


/* REDUCED MOTION */

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

    .sf-home-hero video {
        display: none;
    }

}


/* =========================================================
   HERO FINAL LAYOUT OVERRIDE
   Full-width, same composition on all screen sizes
   ========================================================= */

/*
 * Hero ignores the normal site container.
 * It always spans the entire viewport.
 */
.sf-home-hero .sf-home-hero__grid {
    width: 100%;
    max-width: none;
    margin: 0;

    min-height: 680px;

    display: grid;
    grid-template-columns: 52% 48%;
}


/* LEFT SIDE */

.sf-home-hero__copy {
    min-width: 0;
    min-height: 680px;

    display: flex;
    align-items: center;
}

.sf-home-hero__copy-inner {
    width: 100%;
    max-width: 720px;

    padding:
        70px
        clamp(30px, 5vw, 90px)
        70px
        clamp(32px, 7vw, 120px);
}


/* Keep grid animation fully filling left side */

.sf-home-hero__grid-motion {
    position: absolute;
    inset: 0;
}

.sf-home-hero__grid-motion video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;
}


/* Blend grid into middle */

.sf-home-hero__grid-motion::after {
    background:
        linear-gradient(
            90deg,
            rgba(2,7,22,.10) 0%,
            rgba(2,7,22,.22) 48%,
            rgba(2,7,22,.82) 88%,
            #020716 100%
        ),
        linear-gradient(
            0deg,
            rgba(2,7,22,.42),
            transparent 45%
        );
}


/* RIGHT EARTH */

.sf-home-hero__earth {
    min-width: 0;
    min-height: 680px;

    overflow: hidden;

    background: #000;
}

.sf-home-hero__earth video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* Desktop text sizing */

.sf-home-hero h1 {
    max-width: 680px;

    font-size: clamp(62px, 5.4vw, 96px);
    line-height: .96;
}

.sf-home-hero__copy-inner > p {
    max-width: 520px;
}


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

@media (max-width: 1050px) {

    .sf-home-hero .sf-home-hero__grid {
        display: grid;
        grid-template-columns: 55% 45%;

        min-height: 610px;
    }

    .sf-home-hero__copy,
    .sf-home-hero__earth {
        min-height: 610px;
    }

    .sf-home-hero__copy-inner {
        padding:
            55px
            32px
            55px
            38px;
    }

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

    .sf-home-hero__copy-inner > p {
        max-width: 440px;

        font-size: 14px;
    }

}


/* =========================================================
   MOBILE
   Keep the SAME left/right layout.
   Earth NEVER moves below content.
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero .sf-home-hero__grid {
        display: grid !important;

        grid-template-columns: 58% 42% !important;

        min-height: 560px;

        flex-direction: initial !important;
    }


    .sf-home-hero__copy {
        min-height: 560px !important;

        order: initial !important;
    }


    .sf-home-hero__earth {
        min-height: 560px !important;
        height: auto !important;

        order: initial !important;
    }


    .sf-home-hero__earth video {
        width: 100%;
        height: 100%;

        object-fit: cover;

        /*
         * Keeps visible part of Earth on the right.
         */
        object-position: 56% center;
    }


    .sf-home-hero__copy-inner {
        padding:
            45px
            16px
            45px
            18px !important;
    }


    .sf-home-hero__grid-motion {
        opacity: 1 !important;
    }


    .sf-home-hero__grid-motion video {
        opacity: .48 !important;
    }


    .sf-home-hero h1 {
        max-width: none;

        font-size: clamp(34px, 8.2vw, 54px);
        line-height: .98;
        letter-spacing: -.045em;
    }


    .sf-home-hero__copy-inner > p {
        max-width: 95%;

        margin-top: 20px;

        font-size: 12px;
        line-height: 1.55;
    }


    .sf-home-hero__actions {
        width: auto !important;

        margin-top: 21px;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;

        gap: 8px;
    }


    .sf-button {
        min-height: 40px;

        padding-inline: 12px;

        font-size: 10px;

        white-space: nowrap;
    }

}


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

@media (max-width: 520px) {

    .sf-home-hero .sf-home-hero__grid {
        grid-template-columns: 61% 39% !important;

        min-height: 500px;
    }


    .sf-home-hero__copy,
    .sf-home-hero__earth {
        min-height: 500px !important;
    }


    .sf-home-hero__copy-inner {
        padding:
            34px
            10px
            34px
            14px !important;
    }


    .sf-kicker {
        margin-bottom: 14px;

        font-size: 7px;

        letter-spacing: .10em;
    }


    .sf-home-hero h1 {
        font-size: clamp(30px, 8.8vw, 43px) !important;

        line-height: .97;
    }


    .sf-home-hero__copy-inner > p {
        max-width: 100%;

        margin-top: 16px;

        font-size: 10px;
        line-height: 1.5;
    }


    .sf-home-hero__actions {
        gap: 6px;
    }


    .sf-button {
        min-height: 35px;

        padding-inline: 9px;

        font-size: 8px;
    }


    .sf-home-hero__earth video {
        object-position: 55% center;
    }

}


/* =========================================================
   HERO EARTH CROP FIX
   Remove empty black area from source video
   ========================================================= */

.sf-home-hero {
    position: relative;
    overflow: hidden;
}

/*
 * Hero grid still keeps the same 52/48 composition,
 * but the earth video is allowed to overflow its cell.
 */
.sf-home-hero .sf-home-hero__grid {
    position: relative;
    overflow: visible;
}


/* LEFT CONTENT */

.sf-home-hero__copy {
    position: relative;
    z-index: 3;
}


/*
 * RIGHT EARTH WRAPPER
 *
 * Do NOT crop the source video to the width of the grid column.
 * Let the actual globe extend toward the center of the hero.
 */
.sf-home-hero__earth {
    position: relative;

    overflow: visible !important;

    background: transparent !important;

    z-index: 1;
}


/*
 * Source video contains a lot of empty black space.
 * Make it much wider than its cell and anchor it to the right.
 */
.sf-home-hero__earth video {
    position: absolute;

    top: 0;
    right: 0;

    width: 145%;
    max-width: none;

    height: 100%;

    object-fit: cover;
    object-position: right center;

    transform: translateX(0);

    background: transparent;
}


/*
 * Soft blend so globe and left motion feel like one scene.
 */
.sf-home-hero__earth::before {
    content: "";

    position: absolute;

    z-index: 2;

    top: 0;
    bottom: 0;
    left: -35%;

    width: 55%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #020716 0%,
            rgba(2,7,22,.78) 28%,
            rgba(2,7,22,.22) 72%,
            transparent 100%
        );
}


/*
 * Avoid the old dark gradient making the center look empty.
 */
.sf-home-hero__grid-motion::after {
    background:
        linear-gradient(
            90deg,
            rgba(2,7,22,.06) 0%,
            rgba(2,7,22,.14) 52%,
            rgba(2,7,22,.62) 88%,
            #020716 100%
        );
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1400px) {

    .sf-home-hero .sf-home-hero__grid {
        grid-template-columns: 52% 48%;
    }

    .sf-home-hero__earth video {
        width: 150%;
    }

}


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

@media (max-width: 1050px) {

    .sf-home-hero .sf-home-hero__grid {
        grid-template-columns: 58% 42%;
    }

    .sf-home-hero__earth video {
        width: 185%;
    }

    .sf-home-hero__earth::before {
        left: -48%;
        width: 70%;
    }

}


/* =========================================================
   MOBILE
   SAME SIDE-BY-SIDE LAYOUT
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero .sf-home-hero__grid {
        display: grid !important;

        grid-template-columns: 61% 39% !important;

        min-height: 540px;

        overflow: hidden;
    }


    .sf-home-hero__copy,
    .sf-home-hero__earth {
        min-height: 540px !important;
        height: 540px !important;
    }


    /*
     * Globe source needs a much larger crop on mobile.
     */
    .sf-home-hero__earth video {
        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;

        width: 265% !important;
        max-width: none !important;

        height: 100% !important;

        object-fit: cover !important;
        object-position: right center !important;

        opacity: 1 !important;
    }


    .sf-home-hero__earth::before {
        left: -75%;

        width: 105%;

        background:
            linear-gradient(
                90deg,
                #020716 0%,
                rgba(2,7,22,.82) 27%,
                rgba(2,7,22,.16) 76%,
                transparent 100%
            );
    }


    /*
     * Prevent previous mobile rules from stacking the earth.
     */
    .sf-home-hero__earth {
        order: initial !important;
    }

}


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

@media (max-width: 520px) {

    .sf-home-hero .sf-home-hero__grid {
        grid-template-columns: 64% 36% !important;

        min-height: 510px;
    }


    .sf-home-hero__copy,
    .sf-home-hero__earth {
        min-height: 510px !important;
        height: 510px !important;
    }


    .sf-home-hero__earth video {
        width: 315% !important;
    }


    .sf-home-hero__earth::before {
        left: -90%;

        width: 120%;
    }

}


/* =========================================================
   SLANTFLOW HERO — FINAL VISUAL COMPOSITION
   Continuous canvas / transparent-looking globe
   ========================================================= */

.sf-home-hero {
    position: relative;
    width: 100%;
    min-height: 690px;
    overflow: hidden;

    /*
     * One continuous background.
     * No visible left/right split.
     */
    background:
        radial-gradient(
            circle at 78% 48%,
            rgba(37, 79, 185, .12) 0%,
            rgba(10, 25, 55, .05) 28%,
            transparent 55%
        ),
        #020817;
}


/*
 * The old grid columns are no longer visual columns.
 * This becomes one full-width canvas.
 */
.sf-home-hero .sf-home-hero__grid {
    position: relative;

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

    margin: 0;

    display: block !important;

    overflow: hidden;
}


/* =========================================================
   LEFT GRID MOTION
   ========================================================= */

.sf-home-hero__copy {
    position: static;

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

    display: block;

    overflow: visible;
}


/*
 * Grid animation sits behind the LEFT half.
 */
.sf-home-hero__grid-motion {
    position: absolute;

    z-index: 1;

    top: 0;
    bottom: 0;
    left: 0;

    width: 58%;

    overflow: hidden;

    pointer-events: none;

    /*
     * Natural fade into the center.
     */
    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 52%,
            rgba(0,0,0,.72) 72%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 52%,
            rgba(0,0,0,.72) 72%,
            transparent 100%
        );
}


.sf-home-hero__grid-motion video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;

    opacity: .62;

    filter:
        saturate(.88)
        brightness(.72)
        contrast(1.05);
}


/*
 * Kill previous heavy overlay.
 */
.sf-home-hero__grid-motion::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,23,.06) 0%,
            rgba(2,8,23,.04) 50%,
            rgba(2,8,23,.56) 87%,
            #020817 100%
        );
}


/* =========================================================
   EARTH
   ========================================================= */

/*
 * The earth is NOT a column anymore.
 * It floats as its own layer.
 */
.sf-home-hero__earth {
    position: absolute !important;

    z-index: 2;

    top: 0;
    right: -3%;

    width: 57%;
    height: 100%;

    min-height: 0 !important;

    overflow: visible !important;

    background: transparent !important;

    pointer-events: none;
}


/*
 * KEY FIX:
 *
 * Screen blending makes black pixels visually disappear
 * against the hero background.
 */
.sf-home-hero__earth video {
    position: absolute !important;

    top: 50%;
    right: -5%;

    width: 112% !important;
    max-width: none !important;

    height: 112% !important;

    transform: translateY(-50%);

    object-fit: contain !important;
    object-position: right center !important;

    mix-blend-mode: screen;

    opacity: .96 !important;

    filter:
        saturate(.92)
        contrast(1.07)
        brightness(.92);
}


/*
 * Remove previous fake black blend.
 */
.sf-home-hero__earth::before {
    display: none !important;
}


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

.sf-home-hero__copy-inner {
    position: relative;

    z-index: 5;

    width: min(48%, 690px);
    max-width: none;

    padding:
        72px
        0
        68px
        clamp(40px, 7vw, 125px) !important;
}


.sf-kicker {
    margin-bottom: 22px;

    color: #5bafe3;

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

    letter-spacing: .17em;
}


/*
 * Slightly less oversized.
 * Current text is dominating the whole design too much.
 */
.sf-home-hero h1 {
    width: 100%;
    max-width: 650px;

    margin: 0;

    font-size: clamp(58px, 5.25vw, 91px) !important;

    line-height: .96;

    letter-spacing: -.052em;

    font-weight: 720;
}


.sf-home-hero h1 strong {
    color: #5bafe3;

    /*
     * tiny variation so it doesn't look like generic
     * pure blue SaaS text.
     */
    background:
        linear-gradient(
            100deg,
            #5bafe3,
            #5bafe3
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


.sf-home-hero__copy-inner > p {
    max-width: 510px;

    margin-top: 28px;

    color: rgba(219,225,236,.70);

    font-size: 15px;
    line-height: 1.72;
}


/* =========================================================
   BUTTON TOUCHES
   ========================================================= */

.sf-home-hero__actions {
    margin-top: 29px;

    display: flex;
    flex-direction: row !important;
    align-items: center;

    gap: 11px;
}


.sf-button {
    min-height: 48px;

    padding-inline: 21px;

    border-radius: 3px;

    font-size: 12px;

    white-space: nowrap;
}


.sf-button--primary {
    border: 1px solid rgba(115,105,255,.65);

    background:
        linear-gradient(
            100deg,
            #246c9e,
            #5bafe3
        );

    box-shadow:
        0 10px 35px rgba(54, 44, 190, .20);
}


.sf-button--ghost {
    border: 1px solid rgba(255,255,255,.24);

    background: rgba(4,10,23,.24);

    backdrop-filter: blur(4px);
}


/* =========================================================
   SMALL DECORATIVE DETAILS
   ========================================================= */

/*
 * Hairline across the bottom of hero.
 */
.sf-home-hero::after {
    content: "";

    position: absolute;

    z-index: 8;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(85,110,255,.28) 30%,
            rgba(85,110,255,.16) 70%,
            transparent
        );
}


/*
 * Very subtle glow behind headline.
 */
.sf-home-hero__copy-inner::before {
    content: "";

    position: absolute;

    z-index: -1;

    width: 460px;
    height: 460px;

    left: -170px;
    top: 80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(41,70,160,.10),
            transparent 68%
        );

    pointer-events: none;
}


/* =========================================================
   STRIP — CLEANER
   ========================================================= */

.sf-home-strip {
    position: relative;
    z-index: 10;

    background: #03101c;

    border-top: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}


.sf-home-strip__grid {
    width: min(calc(100% - 64px), 1240px);

    min-height: 92px;
}


.sf-home-strip__grid > div {
    border-right: 1px solid rgba(255,255,255,.065);
}


.sf-home-strip strong {
    color: #5bafe3;

    font-size: 19px;
    font-weight: 700;
}


.sf-home-strip span {
    color: #738092;

    font-size: 10px;
}


/* =========================================================
   TABLET
   Still same composition
   ========================================================= */

@media (max-width: 1050px) {

    .sf-home-hero,
    .sf-home-hero .sf-home-hero__grid,
    .sf-home-hero__copy {
        min-height: 620px !important;
    }


    .sf-home-hero__copy-inner {
        width: 55%;

        padding:
            58px
            0
            55px
            36px !important;
    }


    .sf-home-hero h1 {
        font-size: clamp(48px, 6.4vw, 68px) !important;
    }


    .sf-home-hero__grid-motion {
        width: 64%;
    }


    .sf-home-hero__earth {
        width: 53%;
        right: -6%;
    }


    .sf-home-hero__earth video {
        width: 125% !important;
        height: 118% !important;
    }

}


/* =========================================================
   MOBILE
   Same composition: text LEFT / globe RIGHT
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero,
    .sf-home-hero .sf-home-hero__grid,
    .sf-home-hero__copy {
        min-height: 535px !important;
        height: 535px !important;
    }


    /*
     * Keep left animation, but quieter.
     */
    .sf-home-hero__grid-motion {
        width: 68%;

        opacity: .72;
    }


    .sf-home-hero__grid-motion video {
        opacity: .54 !important;
    }


    /*
     * Earth stays RIGHT.
     * No column, no black rectangle, no stacking.
     */
    .sf-home-hero__earth {
        top: 0 !important;
        right: -22% !important;
        bottom: auto !important;

        width: 66% !important;
        height: 535px !important;

        min-height: 0 !important;

        opacity: 1 !important;

        order: initial !important;
    }


    .sf-home-hero__earth video {
        top: 50% !important;
        right: 0 !important;

        width: 142% !important;
        height: 110% !important;

        transform: translateY(-50%);

        object-fit: contain !important;

        mix-blend-mode: screen;
    }


    .sf-home-hero__copy-inner {
        width: 66%;
        max-width: none;

        padding:
            48px
            10px
            38px
            15px !important;
    }


    .sf-home-hero h1 {
        font-size: clamp(33px, 8.4vw, 51px) !important;

        line-height: .97;
    }


    .sf-kicker {
        margin-bottom: 14px;

        font-size: 7px;
    }


    .sf-home-hero__copy-inner > p {
        max-width: 92%;

        margin-top: 18px;

        font-size: 10px;
        line-height: 1.55;
    }


    .sf-home-hero__actions {
        width: auto !important;

        margin-top: 18px;

        gap: 6px;
    }


    .sf-button {
        min-height: 35px;

        padding-inline: 9px;

        font-size: 8px;
    }

}


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

@media (max-width: 480px) {

    .sf-home-hero,
    .sf-home-hero .sf-home-hero__grid,
    .sf-home-hero__copy {
        min-height: 500px !important;
        height: 500px !important;
    }


    .sf-home-hero__copy-inner {
        width: 68%;

        padding:
            38px
            8px
            32px
            12px !important;
    }


    .sf-home-hero h1 {
        font-size: clamp(30px, 9vw, 42px) !important;
    }


    .sf-home-hero__earth {
        width: 68% !important;
        height: 500px !important;

        right: -28% !important;
    }


    .sf-home-hero__earth video {
        width: 155% !important;
    }

}


/* =========================================================
   CLEAN FULL-WIDTH HERO
   ========================================================= */

.sf-home-hero {
    position: relative;

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

    overflow: hidden;

    background: #020817;

    isolation: isolate;
}


/* FULL WIDTH GRID BACKGROUND */

.sf-home-hero__grid-motion {
    position: absolute;

    z-index: -5;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    mask-image: none;
    -webkit-mask-image: none;
}

.sf-home-hero__grid-motion video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;

    opacity: .48;

    filter:
        brightness(.66)
        saturate(.88)
        contrast(1.05);
}

.sf-home-hero__grid-motion::after {
    display: none;
}


/* EARTH OVERLAY */

.sf-home-hero__earth {
    position: absolute !important;

    z-index: -3;

    top: -5%;
    right: -7%;

    width: 63%;
    height: 110%;

    min-height: 0 !important;

    overflow: visible !important;

    background: transparent !important;

    pointer-events: none;
}

.sf-home-hero__earth::before {
    display: none !important;
}

.sf-home-hero__earth video {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    transform: none !important;

    object-fit: contain !important;
    object-position: right center !important;

    /*
     * Black source pixels disappear against grid/background.
     */
    mix-blend-mode: screen;

    opacity: .98 !important;

    filter:
        brightness(.92)
        contrast(1.08)
        saturate(.95);
}


/* ONE SOFT BLEND, NO BLACK RECTANGLE */

.sf-home-hero__shade {
    position: absolute;

    z-index: -2;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,23,.12) 0%,
            rgba(2,8,23,.16) 34%,
            rgba(2,8,23,.54) 53%,
            rgba(2,8,23,.12) 72%,
            transparent 100%
        ),
        linear-gradient(
            0deg,
            rgba(2,8,23,.72) 0%,
            transparent 28%
        );
}


/* CONTENT */

.sf-home-hero__inner {
    position: relative;

    z-index: 5;

    min-height: 680px;

    display: flex;
    align-items: center;
}

.sf-home-hero__copy {
    position: relative;

    width: min(50%, 670px);
    min-height: 0 !important;

    overflow: visible;

    display: block;
}

.sf-home-hero__copy-inner {
    display: contents;
}

.sf-home-hero h1 {
    margin: 0;

    max-width: 650px;

    font-size: clamp(58px, 5.2vw, 88px) !important;
    line-height: .97;

    letter-spacing: -.052em;
}

.sf-home-hero h1 strong {
    color: #5bafe3;

    background:
        linear-gradient(
            95deg,
            #5bafe3,
            #5bafe3
        );

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.sf-home-hero__copy > p {
    max-width: 510px;

    margin-top: 27px;

    color: rgba(224,229,238,.72);

    font-size: 15px;
    line-height: 1.65;
}

.sf-home-hero__actions {
    margin-top: 28px;

    display: flex !important;
    flex-direction: row !important;

    gap: 11px;
}


/* =========================================================
   MOBILE — SAME COMPOSITION
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero {
        min-height: 540px;
    }

    .sf-home-hero__inner {
        min-height: 540px;
    }

    /*
     * Keep globe on right.
     */
    .sf-home-hero__earth {
        top: 0 !important;
        right: -30% !important;

        width: 78% !important;
        height: 100% !important;

        opacity: .92 !important;
    }

    .sf-home-hero__earth video {
        width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;
        object-position: right center !important;
    }

    /*
     * Grid stays full width.
     */
    .sf-home-hero__grid-motion {
        width: 100% !important;
        height: 100% !important;

        opacity: 1 !important;
    }

    .sf-home-hero__grid-motion video {
        opacity: .44 !important;
    }

    .sf-home-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(2,8,23,.10) 0%,
                rgba(2,8,23,.24) 46%,
                rgba(2,8,23,.28) 66%,
                transparent 100%
            ),
            linear-gradient(
                0deg,
                rgba(2,8,23,.58),
                transparent 42%
            );
    }

    .sf-home-hero__copy {
        width: 69% !important;

        min-height: 0 !important;
    }

    .sf-home-hero h1 {
        font-size: clamp(34px, 9vw, 49px) !important;
    }

    .sf-home-hero__copy > p {
        max-width: 95%;

        font-size: 10px;
    }

    .sf-kicker {
        font-size: 7px;
    }

    .sf-button {
        min-height: 36px;

        padding-inline: 9px;

        font-size: 8px;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .sf-home-hero {
        min-height: 500px;
    }

    .sf-home-hero__inner {
        min-height: 500px;
    }

    .sf-home-hero__earth {
        right: -37% !important;

        width: 84% !important;
    }

    .sf-home-hero__copy {
        width: 70% !important;
    }

    .sf-home-hero h1 {
        font-size: clamp(31px, 9.5vw, 42px) !important;
    }

}


/* =========================================================
   VISUAL POLISH PASS
   Softer transitions between sections
   ========================================================= */

/* HEADER blends into hero */

.site-header {
    background:
        linear-gradient(
            180deg,
            #020918 0%,
            #020817 100%
        );

    border-bottom:
        1px solid rgba(92, 120, 210, .09);
}


/* HERO base */

.sf-home-hero {
    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(44, 80, 170, .09),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #020817 0%,
            #03101b 100%
        );
}


/*
 * Move globe left slightly on desktop
 * and make it feel integrated with hero.
 */

.sf-home-hero__earth {
    right: 3% !important;
    width: 61% !important;
}

.sf-home-hero__earth video {
    object-position: right center !important;

    filter:
        brightness(.90)
        contrast(1.06)
        saturate(.92);

    opacity: .94 !important;
}


/*
 * Give globe a softer entry into the centre.
 */

.sf-home-hero__earth::after {
    content: "";

    position: absolute;

    inset:
        0
        auto
        0
        -16%;

    width: 38%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #020817 0%,
            rgba(2,8,23,.68) 38%,
            transparent 100%
        );
}


/*
 * Softer grid so it doesn't fight typography.
 */

.sf-home-hero__grid-motion video {
    opacity: .52;

    filter:
        brightness(.64)
        saturate(.82)
        contrast(1.04);
}


/*
 * Hero bottom gradually enters the capability strip.
 */

.sf-home-hero::before {
    content: "";

    position: absolute;

    z-index: 1;

    left: 0;
    right: 0;
    bottom: 0;

    height: 130px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(3,16,28,.55) 55%,
            #03101c 100%
        );
}


/* =========================================================
   CAPABILITIES STRIP
   ========================================================= */

.sf-home-strip {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #03101c 0%,
            #041321 100%
        );

    border-top: 0;

    border-bottom:
        1px solid rgba(104, 129, 195, .08);
}


.sf-home-strip__grid {
    min-height: 96px;
}


.sf-home-strip__grid > div {
    position: relative;

    border-right:
        1px solid rgba(255,255,255,.055);

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


.sf-home-strip__grid > div:hover {
    background:
        rgba(53, 78, 142, .05);

    transform: translateY(-2px);
}


.sf-home-strip strong {
    color: #5bafe3;

    font-size: 20px;
}


.sf-home-strip span {
    color: #7d8998;
}


/* =========================================================
   SERVICES TRANSITION
   ========================================================= */

.sf-home-services {
    position: relative;

    background:
        radial-gradient(
            circle at 50% 8%,
            rgba(49, 88, 185, .08),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #041321 0%,
            #020817 24%,
            #020817 100%
        );

    border-top: 0;
}


/*
 * Decorative soft separator.
 */

.sf-home-services::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(78%, 1100px);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(90,110,220,.28),
            transparent
        );
}


/* SERVICES HEADING */

.sf-home-services__heading {
    position: relative;
    z-index: 2;
}


.sf-home-services h2 {
    text-wrap: balance;
}


.sf-home-services h2 span {
    background:
        linear-gradient(
            100deg,
            #5bafe3,
            #5bafe3
        );

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   FOOTER TRANSITION
   ========================================================= */

.site-footer {
    background:
        linear-gradient(
            180deg,
            #020817 0%,
            #01050d 100%
        );

    border-top:
        1px solid rgba(95,120,190,.08);
}


.site-footer::before {
    content: "";

    display: block;

    height: 90px;

    background:
        linear-gradient(
            180deg,
            #020817,
            #01050d
        );
}


/* =========================================================
   MOBILE
   Remove globe completely.
   Keep clean animated grid background.
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero__earth {
        display: none !important;
    }


    .sf-home-hero {
        min-height: 560px;

        background:
            radial-gradient(
                circle at 80% 20%,
                rgba(50, 85, 180, .07),
                transparent 38%
            ),
            linear-gradient(
                180deg,
                #020817,
                #03101c
            );
    }


    .sf-home-hero__inner {
        min-height: 560px;
    }


    /*
     * Grid becomes the entire mobile hero visual.
     */

    .sf-home-hero__grid-motion {
        width: 100% !important;

        opacity: 1 !important;
    }


    .sf-home-hero__grid-motion video {
        width: 100%;
        height: 100%;

        object-fit: cover;

        /*
         * Important:
         * push the most interesting part to the right,
         * leaving cleaner area behind the text.
         */
        object-position: 42% center;

        opacity: .48 !important;

        filter:
            brightness(.62)
            saturate(.80)
            contrast(1.05);
    }


    /*
     * Dark readable area behind copy,
     * but NOT a hard rectangle.
     */

    .sf-home-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(2,8,23,.22) 0%,
                rgba(2,8,23,.14) 58%,
                rgba(2,8,23,.04) 100%
            ),
            linear-gradient(
                0deg,
                rgba(3,16,28,.72) 0%,
                transparent 36%
            );
    }


    .sf-home-hero__copy {
        width: 100% !important;

        max-width: 390px;
    }


    .sf-home-hero h1 {
        max-width: 360px;

        font-size:
            clamp(
                38px,
                11vw,
                54px
            ) !important;

        line-height: .96;
    }


    .sf-home-hero__copy > p {
        max-width: 330px;

        font-size: 11px;
    }


    .sf-home-strip {
        background:
            linear-gradient(
                180deg,
                #03101c,
                #041321
            );
    }


    .sf-home-services {
        background:
            linear-gradient(
                180deg,
                #041321 0%,
                #020817 16%,
                #020817 100%
            );
    }

}


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

@media (max-width: 480px) {

    .sf-home-hero,
    .sf-home-hero__inner {
        min-height: 530px;
    }


    .sf-home-hero__copy {
        max-width: 100%;
    }


    .sf-home-hero h1 {
        max-width: 315px;

        font-size: 42px !important;
    }


    .sf-home-hero__actions {
        flex-wrap: nowrap;
    }

}

/* =========================================================
   FINAL HERO POLISH
   ========================================================= */

.sf-home-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 76% 48%,
            rgba(54, 82, 170, .10),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #020817 0%,
            #03101c 100%
        );
}


/* FULL HERO GRID BACKGROUND */

.sf-home-hero__grid-motion {
    position: absolute;
    inset: 0;

    z-index: 0;

    width: 66%;
    height: 100%;

    overflow: hidden;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 52%,
            rgba(0,0,0,.76) 74%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 52%,
            rgba(0,0,0,.76) 74%,
            transparent 100%
        );
}

.sf-home-hero__grid-motion video {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: left center;

    opacity: .53;

    filter:
        brightness(.64)
        saturate(.84)
        contrast(1.04);
}

.sf-home-hero__grid-motion::after {
    display: none !important;
}


/* TRANSPARENT EARTH */

.sf-home-hero__earth {
    position: absolute !important;

    z-index: 2;

    top: -3%;
    right: 1% !important;

    width: 58% !important;
    height: 106% !important;

    min-height: 0 !important;

    background: transparent !important;
    overflow: visible !important;

    pointer-events: none;
}

.sf-home-hero__earth::before,
.sf-home-hero__earth::after {
    display: none !important;
}

.sf-home-hero__earth video {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: contain !important;
    object-position: right center !important;

    mix-blend-mode: normal !important;

    opacity: .95 !important;

    filter:
        brightness(.96)
        contrast(1.06)
        saturate(.95);
}


/* SOFT BLEND BETWEEN LEFT + RIGHT */

.sf-home-hero__shade {
    position: absolute;

    inset: 0;
    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,23,.06) 0%,
            rgba(2,8,23,.08) 36%,
            rgba(2,8,23,.22) 49%,
            transparent 70%
        ),
        linear-gradient(
            0deg,
            rgba(3,16,28,.58) 0%,
            transparent 26%
        );
}


/* HERO CONTENT */

.sf-home-hero__inner {
    position: relative;
    z-index: 5;

    min-height: 680px;

    display: flex;
    align-items: center;

    padding-left: clamp(40px, 7vw, 120px);
    padding-right: clamp(40px, 7vw, 120px);
}

.sf-home-hero__copy {
    width: min(54%, 780px) !important;
    min-height: 0 !important;

    overflow: visible;
}

.sf-home-hero__copy-inner {
    padding: 0 !important;
}


/* TYPOGRAPHY */

.sf-home-hero h1 {
    max-width: 780px;

    margin: 0;

    font-size: clamp(58px, 4.6vw, 79px) !important;
    line-height: .99;

    letter-spacing: -.048em;

    font-weight: 720;
}

.sf-home-hero h1 > span,
.sf-home-hero h1 > strong {
    display: block;
}

.sf-home-hero h1 > span {
    color: #f5f7fb;
}

.sf-home-hero h1 > strong {
    width: fit-content;
    margin-top: 4px;

    background:
        linear-gradient(
            100deg,
            #5bafe3,
            #5bafe3
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.sf-home-hero__copy > p {
    max-width: 540px;

    margin-top: 28px;

    color: rgba(225,230,238,.73);

    font-size: 15px;
    line-height: 1.7;
}


/* ACTIONS */

.sf-home-hero__actions {
    margin-top: 28px;

    display: flex !important;
    flex-direction: row !important;

    gap: 11px;
}

.sf-button {
    min-height: 48px;
    padding-inline: 20px;

    border-radius: 3px;

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

    white-space: nowrap;
}

.sf-button--primary {
    background:
        linear-gradient(
            100deg,
            #246c9e,
            #5bafe3
        );

    border:
        1px solid rgba(113,102,255,.58);

    box-shadow:
        0 12px 32px rgba(45,40,160,.16);
}

.sf-button--ghost {
    background: rgba(2,8,23,.30);

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

    backdrop-filter: blur(4px);
}


/* HEADER → HERO FLOW */

.site-header {
    background:
        linear-gradient(
            180deg,
            #020918,
            #020817
        );

    border-bottom:
        1px solid rgba(92,120,210,.08);
}


/* HERO → STRIP FLOW */

.sf-home-strip {
    background:
        linear-gradient(
            180deg,
            #03101c,
            #041321
        );

    border-top: 0;
    border-bottom:
        1px solid rgba(94,116,175,.08);
}


/* STRIP → SERVICES FLOW */

.sf-home-services {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(48,81,170,.07),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #041321 0%,
            #020817 21%,
            #020817 100%
        );
}


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

@media (max-width: 1050px) {

    .sf-home-hero__inner {
        min-height: 610px;

        padding-left: 36px;
        padding-right: 36px;
    }

    .sf-home-hero__copy {
        width: 57% !important;
    }

    .sf-home-hero h1 {
        font-size: clamp(48px, 6vw, 66px) !important;
    }

    .sf-home-hero__earth {
        right: -2% !important;
        width: 57% !important;
    }

}


/* =========================================================
   MOBILE
   Globe removed completely.
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero__earth {
        display: none !important;
    }

    .sf-home-hero {
        min-height: 550px;
    }

    .sf-home-hero__inner {
        min-height: 550px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .sf-home-hero__grid-motion {
        width: 100%;

        -webkit-mask-image: none;
        mask-image: none;
    }

    .sf-home-hero__grid-motion video {
        object-position: 38% center;

        opacity: .48;
    }

    .sf-home-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(2,8,23,.13),
                rgba(2,8,23,.08) 65%,
                transparent
            ),
            linear-gradient(
                0deg,
                rgba(3,16,28,.68),
                transparent 40%
            );
    }

    .sf-home-hero__copy {
        width: 100% !important;
        max-width: 430px;
    }

    .sf-home-hero h1 {
        max-width: 400px;

        font-size: clamp(40px, 11vw, 53px) !important;
        line-height: .97;
    }

    .sf-home-hero__copy > p {
        max-width: 340px;

        font-size: 11px;
    }

    .sf-home-hero__actions {
        flex-direction: row !important;
        flex-wrap: nowrap;

        gap: 7px;
    }

    .sf-button {
        min-height: 37px;

        padding-inline: 10px;

        font-size: 8px;
    }

}


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

@media (max-width: 480px) {

    .sf-home-hero,
    .sf-home-hero__inner {
        min-height: 520px;
    }

    .sf-home-hero h1 {
        max-width: 330px;

        font-size: 42px !important;
    }

    .sf-home-hero__copy > p {
        max-width: 310px;
    }

}


/* =========================================================
   HERO FINAL POLISH — DESKTOP
   ========================================================= */

.sf-home-hero__inner {
    min-height: 700px;

    padding-left: clamp(54px, 8vw, 150px);
    padding-right: clamp(54px, 8vw, 150px);

    display: flex;
    align-items: center;
}


/* Copy balance */

.sf-home-hero__copy {
    width: min(50%, 700px) !important;
    max-width: 700px;

    transform: translateY(-6px);
}

.sf-kicker {
    margin-bottom: 20px;

    color: #5bafe3;

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

    letter-spacing: .18em;
}

.sf-home-hero h1 {
    max-width: 680px;

    font-size: clamp(56px, 4.35vw, 76px) !important;
    line-height: .985;

    letter-spacing: -.045em;

    font-weight: 700;
}

.sf-home-hero h1 > span {
    margin-top: 2px;
}

.sf-home-hero h1 > strong {
    margin-top: 5px;
}

.sf-home-hero__copy > p {
    max-width: 520px;

    margin-top: 28px;

    color: rgba(225,230,238,.74);

    font-size: 15px;
    line-height: 1.72;

    letter-spacing: -.005em;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.sf-home-hero__actions {
    margin-top: 30px;

    gap: 12px;
}

.sf-button {
    min-height: 48px;

    padding-inline: 22px;

    border-radius: 6px;

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

    letter-spacing: -.01em;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.sf-button:hover {
    transform: translateY(-2px);
}

.sf-button--primary {
    color: #fff;

    border: 1px solid rgba(126,113,255,.72);

    background:
        linear-gradient(
            135deg,
            #3a90ca 0%,
            #5bafe3 100%
        );

    box-shadow:
        0 8px 24px rgba(62, 48, 190, .20),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.sf-button--primary:hover {
    background:
        linear-gradient(
            135deg,
            #3a90ca 0%,
            #5bafe3 100%
        );

    box-shadow:
        0 12px 30px rgba(62, 48, 190, .28);
}

.sf-button--ghost {
    color: rgba(255,255,255,.92);

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

    background: rgba(5,12,27,.34);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);
}

.sf-button--ghost:hover {
    border-color: rgba(255,255,255,.36);

    background: rgba(255,255,255,.045);
}


/* =========================================================
   EARTH POSITION
   Move it left and make composition more balanced
   ========================================================= */

.sf-home-hero__earth {
    right: 6% !important;

    width: 61% !important;
    height: 108% !important;
}

.sf-home-hero__earth video {
    object-position: right center !important;

    opacity: .92 !important;

    filter:
        brightness(.93)
        contrast(1.05)
        saturate(.92);
}


/* =========================================================
   GRID BACKGROUND
   Slightly calmer for minimal look
   ========================================================= */

.sf-home-hero__grid-motion {
    width: 62% !important;
}

.sf-home-hero__grid-motion video {
    opacity: .46;

    filter:
        brightness(.62)
        saturate(.80)
        contrast(1.03);
}


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

.site-header {
    height: 74px;
}

.site-header__inner {
    height: 74px;
}

.site-logo {
    gap: 9px;
}

.site-logo__mark {
    font-size: 20px;
}

.site-logo__name {
    font-size: 18px;
    letter-spacing: -.02em;
}

.site-nav {
    gap: 29px;
}

.site-nav a {
    position: relative;

    font-size: 12px;
    color: rgba(255,255,255,.76);
}

.site-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 1px;

    background: #5bafe3;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .18s ease;
}

.site-nav a:hover {
    color: #fff;
}

.site-nav a:hover::after {
    transform: scaleX(1);
}

.site-header__cta {
    min-height: 40px;

    padding-inline: 16px;

    border-radius: 5px;

    border: 1px solid rgba(104,90,255,.55);

    background:
        linear-gradient(
            135deg,
            #0d3b66,
            #3a90ca
        );

    font-size: 11px;
}


/* =========================================================
   CAPABILITIES STRIP
   ========================================================= */

.sf-home-strip__grid {
    min-height: 98px;
}

.sf-home-strip__grid > div {
    padding-block: 18px;
}

.sf-home-strip strong {
    margin-bottom: 5px;

    font-size: 18px;

    letter-spacing: -.015em;
}

.sf-home-strip span {
    font-size: 10px;
    line-height: 1.4;
}


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

@media (max-width: 820px) {

    .site-header {
        height: 72px;
    }

    .site-header__inner {
        height: 72px;
    }


    /*
     * Give hero breathing room under header.
     */

    .sf-home-hero {
        min-height: 590px;
    }

    .sf-home-hero__inner {
        min-height: 590px;

        align-items: flex-start;

        padding:
            66px
            20px
            46px;
    }


    /*
     * Globe stays removed on mobile.
     */

    .sf-home-hero__earth {
        display: none !important;
    }


    /*
     * Full width animated background
     */

    .sf-home-hero__grid-motion {
        width: 100% !important;
    }

    .sf-home-hero__grid-motion video {
        object-position: 35% center;

        opacity: .42;

        filter:
            brightness(.59)
            saturate(.78)
            contrast(1.04);
    }


    /*
     * Make text cleaner and less crushed
     */

    .sf-home-hero__copy {
        width: 100% !important;
        max-width: 100%;

        transform: none;
    }

    .sf-kicker {
        margin-bottom: 15px;

        font-size: 7px;

        letter-spacing: .14em;
    }

    .sf-home-hero h1 {
        max-width: 340px;

        font-size: clamp(41px, 11vw, 52px) !important;
        line-height: .97;

        letter-spacing: -.04em;
    }

    .sf-home-hero h1 > strong {
        margin-top: 4px;
    }

    .sf-home-hero__copy > p {
        max-width: 330px;

        margin-top: 23px;

        font-size: 11px;
        line-height: 1.62;
    }


    /* Mobile buttons */

    .sf-home-hero__actions {
        margin-top: 24px;

        gap: 8px;
    }

    .sf-button {
        min-height: 39px;

        padding-inline: 12px;

        border-radius: 5px;

        font-size: 9px;
    }


    /* Mobile strip */

    .sf-home-strip__grid {
        min-height: auto;

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

    .sf-home-strip__grid > div {
        min-height: 82px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        padding: 14px 10px;
    }

    .sf-home-strip strong {
        font-size: 17px;
    }

    .sf-home-strip span {
        font-size: 9px;
    }

}


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

@media (max-width: 480px) {

    .sf-home-hero {
        min-height: 565px;
    }

    .sf-home-hero__inner {
        min-height: 565px;

        padding:
            62px
            16px
            42px;
    }

    .sf-home-hero h1 {
        max-width: 315px;

        font-size: 41px !important;
    }

    .sf-home-hero__copy > p {
        max-width: 300px;
    }

}

/* =========================================================
   FIX DESKTOP EARTH POSITION
   ========================================================= */

@media (min-width: 821px) {

    .sf-home-hero__earth {
        display: block !important;

        position: absolute !important;

        top: 0 !important;
        right: 0 !important;
        left: auto !important;

        width: 57% !important;
        height: 100% !important;

        z-index: 2 !important;

        overflow: visible !important;
        background: transparent !important;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none !important;

        pointer-events: none;
    }

    .sf-home-hero__earth video {
        display: block !important;

        position: absolute !important;

        top: 50% !important;
        right: 4% !important;
        left: auto !important;

        width: 100% !important;
        height: 100% !important;

        max-width: none !important;

        transform: translateY(-50%) !important;

        object-fit: contain !important;
        object-position: right center !important;

        opacity: 1 !important;
        visibility: visible !important;

        filter:
            brightness(.92)
            contrast(1.06)
            saturate(.95);
    }

}


/* MOBILE: NO EARTH */

@media (max-width: 820px) {

    .sf-home-hero__earth {
        display: none !important;
    }

}


/* =========================================================
   SLANTFLOW BRAND + TYPOGRAPHY POLISH
   ========================================================= */

body {
    font-family:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    letter-spacing: -.012em;
}


/* LOGO */

.site-logo {
    gap: 10px;
}

.site-logo__image {
    width: 34px;
    height: 34px;

    object-fit: contain;
}

.site-logo__name {
    color: #f5f7fb;

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

    letter-spacing: -.035em;
}


/* HERO COPY POSITION */

.sf-home-hero__inner {
    padding-left: clamp(64px, 10vw, 190px);
    padding-right: clamp(64px, 8vw, 150px);
}


.sf-home-hero__copy {
    width: min(50%, 690px) !important;
}


/* EYEBROW */

.sf-kicker {
    margin-bottom: 22px;

    color: #5bafe3;

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

    line-height: 1;

    letter-spacing: .20em;
}


/* TITLE */

.sf-home-hero h1 {
    max-width: 680px;

    font-size: clamp(56px, 4.15vw, 74px) !important;
    line-height: .99;

    font-weight: 680;

    letter-spacing: -.052em;
}


/*
 * Make the second line feel intentional,
 * not like text wrapping accidentally.
 */
.sf-home-hero h1 > span {
    margin-top: 4px;
}


.sf-home-hero h1 > strong {
    margin-top: 7px;

    font-weight: 680;
}


/* DESCRIPTION */

.sf-home-hero__copy > p {
    max-width: 510px;

    margin-top: 30px;

    color: #9ca8b8;

    font-size: 15px;
    line-height: 1.68;

    letter-spacing: -.01em;
}


/* EARTH: slightly more into composition */

@media (min-width: 821px) {

    .sf-home-hero__earth {
        right: 8% !important;

        width: 60% !important;
    }

}


/* BUTTONS */

.sf-home-hero__actions {
    margin-top: 31px;

    gap: 10px;
}

.sf-button {
    min-height: 47px;

    padding-inline: 21px;

    border-radius: 4px;

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

    letter-spacing: -.015em;
}

.sf-button--primary {
    border:
        1px solid rgba(123,110,255,.62);

    background:
        linear-gradient(
            120deg,
            #246c9e,
            #3a90ca
        );

    box-shadow:
        0 8px 28px rgba(47,39,150,.18);
}

.sf-button--ghost {
    border:
        1px solid rgba(166,182,210,.20);

    background:
        rgba(4,12,25,.30);
}


/* =========================================================
   CAPABILITY STRIP
   ========================================================= */

.sf-home-strip {
    background:
        linear-gradient(
            180deg,
            #03101c,
            #041321
        );
}

.sf-home-strip__grid {
    min-height: 108px;

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


.sf-home-strip__grid > a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 16px;

    padding:
        24px
        28px;

    border-right:
        1px solid rgba(255,255,255,.055);

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


.sf-home-strip__grid > a:last-child {
    border-right: 0;
}


.sf-home-strip__grid > a:hover {
    background:
        rgba(78,97,160,.045);
}


.sf-capability__number {
    color: #3a90ca;

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

    letter-spacing: .08em;
}


.sf-home-strip__grid > a > div {
    min-width: 0;
}


.sf-home-strip strong {
    display: block;

    margin: 0 0 6px;

    color: #f1f4f9;

    font-size: 14px;
    font-weight: 650;

    letter-spacing: -.025em;
}


.sf-home-strip__grid > a div > span {
    display: block;

    color: #768395;

    font-size: 10px;
    line-height: 1.4;
}


/* Subtle top light */

.sf-home-strip::before {
    content: "";

    display: block;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(80,105,200,.22) 50%,
            transparent
        );
}


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

@media (max-width: 820px) {

    .site-logo__image {
        width: 30px;
        height: 30px;
    }

    .site-logo__name {
        font-size: 17px;
    }


    .sf-home-hero__inner {
        align-items: flex-start;

        padding:
            78px
            22px
            48px;
    }


    .sf-home-hero__copy {
        width: 100% !important;
    }


    .sf-home-hero h1 {
        max-width: 365px;

        font-size: clamp(40px, 10.7vw, 52px) !important;
        line-height: .98;
    }


    .sf-home-hero__copy > p {
        max-width: 330px;

        margin-top: 26px;

        font-size: 11px;
    }


    .sf-home-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .sf-home-strip__grid > a {
        min-height: 86px;

        padding:
            18px
            14px;

        gap: 10px;

        border-bottom:
            1px solid rgba(255,255,255,.055);
    }


    .sf-home-strip__grid > a:nth-child(2) {
        border-right: 0;
    }


    .sf-home-strip strong {
        font-size: 13px;
    }


    .sf-home-strip__grid > a div > span {
        font-size: 9px;
    }

}


@media (max-width: 480px) {

    .sf-home-hero__inner {
        padding-top: 72px;
    }

    .sf-home-hero h1 {
        max-width: 325px;

        font-size: 41px !important;
    }

}


/* =========================================================
   HEADER LOGO ONLY
   ========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo__image {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.site-logo__name {
    display: none !important;
}


/* =========================================================
   HERO LEFT ALIGNMENT
   Use the entire left side properly
   ========================================================= */

.sf-home-hero__inner {
    padding-left: clamp(24px, 4vw, 70px) !important;
    padding-right: clamp(44px, 7vw, 130px) !important;

    align-items: center;
}


/*
 * Copy occupies the real left half.
 */

.sf-home-hero__copy {
    width: min(47%, 760px) !important;
    max-width: 760px !important;

    margin-left: 0 !important;
}


/*
 * Headline starts further left
 * and uses the left side width more naturally.
 */

.sf-home-hero h1 {
    max-width: 720px;

    font-size: clamp(54px, 4.2vw, 72px) !important;
    line-height: .98;

    letter-spacing: -.046em;
}


/*
 * Keep description aligned with heading
 */

.sf-home-hero__copy > p {
    max-width: 520px;

    margin-top: 26px;

    font-size: 15px;
    line-height: 1.7;
}


/*
 * Shift grid visual slightly left
 * so text feels embedded in it.
 */

.sf-home-hero__grid-motion {
    width: 56% !important;
}


/*
 * Earth stays right and leaves clear space
 * for the text area.
 */

.sf-home-hero__earth {
    right: 5% !important;
    width: 56% !important;
}


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

@media (max-width: 1050px) {

    .site-logo__image {
        width: 52px;
        height: 52px;
    }

    .sf-home-hero__inner {
        padding-left: 28px !important;
        padding-right: 32px !important;
    }

    .sf-home-hero__copy {
        width: 54% !important;
    }

    .sf-home-hero h1 {
        font-size: clamp(46px, 6vw, 64px) !important;
    }

}


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

@media (max-width: 820px) {

    .site-logo__image {
        width: 46px;
        height: 46px;
    }

    .sf-home-hero__inner {
        padding:
            72px
            18px
            46px !important;
    }

    .sf-home-hero__copy {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sf-home-hero h1 {
        max-width: 340px;

        font-size: clamp(40px, 11vw, 52px) !important;
    }

}


/* =========================================================
   HERO TYPOGRAPHY + MOBILE ACTIONS FINAL TUNE
   ========================================================= */

/* BIGGER LOGO */

.site-logo__image {
    width: 72px;
    height: 72px;
}


/* DESKTOP HEADLINE
   Keep phrase grouping more natural
 */

.sf-home-hero h1 {
    max-width: 780px;

    font-size: clamp(52px, 4vw, 70px) !important;
    line-height: .97;

    letter-spacing: -.047em;
}

/*
 * Prevent every chunk from behaving like a hard poster line.
 */
.sf-home-hero h1 > span {
    display: inline !important;
    margin: 0 !important;
}

.sf-home-hero h1 > span::before {
    content: " ";
}

.sf-home-hero h1 > strong {
    display: block;
    margin-top: 4px;
}


/* Copy area wider so wrapping is better */

.sf-home-hero__copy {
    width: min(52%, 790px) !important;
    max-width: 790px !important;
}


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

@media (max-width: 820px) {

    .site-logo__image {
        width: 62px;
        height: 62px;
    }

    .site-header,
    .site-header__inner {
        height: 76px;
    }


    /*
     * Start content lower, but keep room for buttons.
     */

    .sf-home-hero {
        min-height: 620px;
    }

    .sf-home-hero__inner {
        min-height: 620px;

        padding:
            64px
            20px
            34px !important;

        align-items: flex-start;
    }


    .sf-home-hero__copy {
        width: 100% !important;
        max-width: 100% !important;
    }


    /*
     * Better sentence flow:
     *
     * Building software
     * that moves businesses
     * forward.
     */

    .sf-home-hero h1 {
        max-width: 370px;

        font-size: clamp(38px, 10vw, 48px) !important;
        line-height: .96;

        letter-spacing: -.043em;
    }

    .sf-home-hero h1 > span {
        display: inline !important;
    }

    .sf-home-hero h1 > strong {
        display: block;

        width: fit-content;

        margin-top: 3px;
    }


    /*
     * Less vertical space before description
     */

    .sf-home-hero__copy > p {
        max-width: 340px;

        margin-top: 22px;

        font-size: 11px;
        line-height: 1.58;
    }


    /*
     * Keep buttons visible before capability strip
     */

    .sf-home-hero__actions {
        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center;

        margin-top: 22px !important;
        margin-bottom: 0 !important;

        gap: 8px !important;

        width: auto !important;
        max-width: none !important;
    }


    .sf-button {
        display: inline-flex !important;

        min-height: 40px;

        padding-inline: 13px;

        border-radius: 5px;

        font-size: 9px;

        opacity: 1 !important;
        visibility: visible !important;

        transform: none;
    }


    /*
     * Hero visual should not cover actions
     */

    .sf-home-hero__shade,
    .sf-home-hero__grid-motion {
        pointer-events: none;
    }


    /*
     * capability section starts AFTER hero cleanly
     */

    .sf-home-strip {
        position: relative;
        z-index: 10;
    }

}


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

@media (max-width: 480px) {

    .site-logo__image {
        width: 58px;
        height: 58px;
    }


    .sf-home-hero {
        min-height: 610px;
    }

    .sf-home-hero__inner {
        min-height: 610px;

        padding:
            62px
            14px
            30px !important;
    }


    .sf-home-hero h1 {
        max-width: 345px;

        font-size: 39px !important;
        line-height: .96;
    }


    .sf-home-hero__copy > p {
        max-width: 315px;

        margin-top: 21px;
    }


    .sf-home-hero__actions {
        margin-top: 21px !important;

        gap: 7px !important;
    }


    .sf-button {
        min-height: 38px;

        padding-inline: 11px;

        font-size: 8px;
    }

}

/* =========================================================
   MOBILE HERO → STRIP SEAM FIX
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-hero {
        position: relative;
        overflow: hidden;
    }

    /* Fade the video naturally into the section below */
    .sf-home-hero::after {
        content: "";
        position: absolute;
        z-index: 6;
        left: 0;
        right: 0;
        bottom: 0;
        height: 120px;
        pointer-events: none;

        background:
            linear-gradient(
                180deg,
                rgba(3,16,28,0) 0%,
                rgba(3,16,28,.45) 42%,
                #041321 100%
            );
    }

    .sf-home-strip {
        position: relative;
        z-index: 7;

        margin-top: -1px;

        background:
            linear-gradient(
                180deg,
                #041321 0%,
                #04111e 100%
            );
    }

    .sf-home-strip::before {
        display: none;
    }
}

/* =========================================================
   WARM GOLD ACCENT
   ========================================================= */

:root {
    --sf-gold: #C9A96E;
}


/* Tiny premium accents only */

.sf-kicker::before {
    content: "";
    display: inline-block;

    width: 18px;
    height: 1px;

    margin-right: 10px;
    vertical-align: middle;

    background: var(--sf-gold);
}

.sf-capability__number {
    color: var(--sf-gold) !important;
}

.site-nav a:hover::after {
    background: var(--sf-gold);
}

.section-link {
    color: var(--sf-gold);
}


/* =========================================================
   HERO LEFT / RIGHT SEAM BLEND
   ========================================================= */

/*
 * Make the grid animation continue farther toward the center
 * and fade softly instead of stopping visibly.
 */

.sf-home-hero__grid-motion {
    width: 72% !important;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 48%,
            rgba(0,0,0,.92) 60%,
            rgba(0,0,0,.58) 76%,
            rgba(0,0,0,.18) 91%,
            transparent 100%
        ) !important;

    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            #000 48%,
            rgba(0,0,0,.92) 60%,
            rgba(0,0,0,.58) 76%,
            rgba(0,0,0,.18) 91%,
            transparent 100%
        ) !important;
}


/*
 * Add one soft middle blend layer.
 */

.sf-home-hero::before {
    content: "";

    position: absolute;
    z-index: 1;

    top: 0;
    bottom: 0;

    left: 34%;
    width: 42%;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2,8,23,0) 0%,
            rgba(2,8,23,.10) 25%,
            rgba(2,8,23,.22) 48%,
            rgba(2,8,23,.14) 72%,
            rgba(2,8,23,0) 100%
        );
}


/*
 * Earth overlaps the middle slightly more,
 * so there is no empty gap.
 */

@media (min-width: 821px) {

    .sf-home-hero__earth {
        right: 3% !important;
        width: 63% !important;
    }

}


/*
 * Keep the hero shade very soft,
 * no visible split.
 */

.sf-home-hero__shade {
    background:
        linear-gradient(
            90deg,
            rgba(2,8,23,.04) 0%,
            rgba(2,8,23,.06) 34%,
            rgba(2,8,23,.12) 50%,
            rgba(2,8,23,.06) 68%,
            transparent 100%
        ),
        linear-gradient(
            0deg,
            rgba(3,16,28,.56) 0%,
            transparent 28%
        ) !important;
}


/* =========================================================
   GOLD DETAILS IN STRIP
   ========================================================= */

.sf-home-strip strong {
    color: #F5F7FB;
}

.sf-home-strip__grid > a:hover .sf-capability__number {
    color: #E2C28A !important;
}


/* =========================================================
   MOBILE: keep gold subtle
   ========================================================= */

@media (max-width: 820px) {

    .sf-kicker::before {
        width: 12px;
        margin-right: 7px;
    }

    .sf-home-hero::before {
        display: none;
    }

}


/* =========================================================
   PREMIUM HERO TYPOGRAPHY
   ========================================================= */

.sf-home-hero h1 {
    max-width: 760px;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(55px, 4.2vw, 76px) !important;
    font-weight: 600;

    line-height: 1.02;
    letter-spacing: -.045em;
}


/* Software handwritten word */

.sf-home-hero h1 > em {
    display: inline-block;

    margin:
        0
        7px
        0
        5px;

    font-family: "Allura", cursive;

    font-size: 1.25em;
    font-weight: 400;
    font-style: normal;

    line-height: .6;

    letter-spacing: -.02em;

    vertical-align: -.08em;

    background:
        linear-gradient(
            105deg,
            #5bafe3 0%,
            #5bafe3 52%,
            #4e93ff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* second line */

.sf-home-hero h1 > span {
    display: block !important;

    margin-top: 5px !important;

    color: #f5f6f9;

    font-family: "Playfair Display", Georgia, serif;
}


/* forward */

.sf-home-hero h1 > strong {
    display: block;

    width: fit-content;

    margin-top: 4px;

    font-family: "Playfair Display", Georgia, serif;
    font-weight: 600;
}


/* Body stays clean */

.sf-home-hero__copy > p {
    font-family: "Inter", sans-serif;

    max-width: 530px;

    margin-top: 30px;

    color: rgba(222,228,238,.67);

    font-size: 15px;
    line-height: 1.65;

    letter-spacing: -.012em;
}


/* Kicker */

.sf-kicker {
    font-family: "Inter", sans-serif;

    font-size: 10px;

    letter-spacing: .19em;
}


/* =========================================================
   PREMIUM HERO BUTTONS
   ========================================================= */

.sf-home-hero__actions {
    display: flex;

    gap: 16px;

    margin-top: 32px;
}


.sf-button {
    min-height: 58px;

    padding-inline: 31px;

    border-radius: 6px;

    font-family: "Inter", sans-serif;

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

    letter-spacing: -.015em;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.sf-button:hover {
    transform: translateY(-2px);
}


/* Main CTA */

.sf-button--primary {
    color: #fff;

    border:
        1px solid rgba(118,105,255,.72);

    background:
        linear-gradient(
            105deg,
            #0d3b66 0%,
            #3a90ca 48%,
            #5bafe3 100%
        );

    box-shadow:
        0 12px 35px rgba(48,38,188,.24),
        inset 0 1px 0 rgba(255,255,255,.10);
}


.sf-button--primary:hover {
    background:
        linear-gradient(
            105deg,
            #0d3b66,
            #3a90ca,
            #5bafe3
        );

    box-shadow:
        0 16px 42px rgba(54,42,205,.32);
}


/* Secondary CTA */

.sf-button--ghost {
    color: #f6f7fa;

    border:
        1px solid rgba(204,214,230,.42);

    background:
        rgba(3,10,24,.12);

    backdrop-filter: blur(5px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.035);
}


.sf-button--ghost:hover {
    border-color:
        rgba(225,232,243,.70);

    background:
        rgba(255,255,255,.035);
}


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

@media (max-width: 820px) {

    .sf-home-hero h1 {
        max-width: 365px;

        font-size: clamp(39px, 10vw, 49px) !important;

        line-height: 1.03;
    }


    .sf-home-hero h1 > em {
        margin:
            0
            3px;

        font-size: 1.18em;
    }


    .sf-home-hero h1 > span {
        margin-top: 3px !important;
    }


    .sf-home-hero__actions {
        margin-top: 25px;

        gap: 8px;
    }


    .sf-button {
        min-height: 42px;

        padding-inline: 13px;

        border-radius: 5px;

        font-size: 9px;
    }

}


@media (max-width: 480px) {

    .sf-home-hero h1 {
        max-width: 340px;

        font-size: 40px !important;
    }

}

/* =========================================================
   HERO TITLE — EXACTLY 3 LINES
   ========================================================= */

.sf-home-hero h1 {
    max-width: none !important;
    width: max-content;
}

.sf-home-hero h1 > em {
    display: inline-block !important;
}

/* LINE 2 */
.sf-home-hero h1 > span {
    display: block !important;
    width: max-content;
    white-space: nowrap;
}

/* LINE 3 */
.sf-home-hero h1 > strong {
    display: block !important;
    width: max-content;
    white-space: nowrap;
}


/* Desktop */
@media (min-width: 821px) {

    .sf-home-hero__copy {
        width: 58% !important;
        max-width: 900px !important;
    }

    .sf-home-hero h1 {
        font-size: clamp(52px, 3.8vw, 72px) !important;
        line-height: 1.02;
    }

}


/* Mobile */
@media (max-width: 820px) {

    .sf-home-hero h1 {
        width: 100%;
        max-width: 100% !important;

        font-size: clamp(34px, 9vw, 42px) !important;
        line-height: 1.02;
    }

    .sf-home-hero h1 > span,
    .sf-home-hero h1 > strong {
        width: max-content;
        max-width: 100%;
        white-space: nowrap;
    }

}


/* Small phones */
@media (max-width: 390px) {

    .sf-home-hero h1 {
        font-size: 33px !important;
    }

}

/* =========================================================
   HEADER V2 — WIDE / MINIMAL / PREMIUM
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;

    width: 100%;

    background:
        linear-gradient(
            90deg,
            #020817 0%,
            #030b1b 50%,
            #020817 100%
        );

    border-bottom: 1px solid rgba(255,255,255,.07);
}


/* Use much more of desktop width */

.site-header__inner {
    width: min(94%, 1580px) !important;
    max-width: 1580px !important;

    min-height: 82px;
    height: 82px;

    margin: 0 auto !important;
    padding: 0 20px !important;

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

    gap: 50px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    padding: 0;

    line-height: 0;
}

.site-logo__image {
    display: block;

    width: 82px !important;
    height: 58px !important;

    object-fit: contain;

    transition:
        transform .25s ease,
        filter .25s ease;
}

.site-logo:hover .site-logo__image {
    transform: translateY(-1px) scale(1.035);

    filter:
        drop-shadow(0 0 14px rgba(63,111,255,.18));
}


/* =========================================================
   DESKTOP NAV
   ========================================================= */

.site-nav {
    display: flex;
    align-items: center;

    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;

    gap: clamp(28px, 2.3vw, 46px);

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-nav li {
    position: relative;

    margin: 0;
    padding: 0;
}

.site-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0;

    color: rgba(245,247,251,.78);

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;

    letter-spacing: -.01em;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.site-nav a:hover {
    color: #fff;

    transform: translateY(-1px);
}


/* premium underline */

.site-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 5px;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #C9A96E,
            #5bafe3
        );

    transform: translateX(-50%);

    transition: width .22s ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
    width: 100%;
}


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

.site-header .sf-header-cta,
.site-header .header-cta {
    flex: 0 0 auto;

    min-height: 44px;

    padding: 0 22px;

    border:
        1px solid rgba(126,108,255,.55);

    border-radius: 6px;

    color: #fff;

    background:
        linear-gradient(
            110deg,
            #0d3b66 0%,
            #3a90ca 52%,
            #3a90ca 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.11),
        0 8px 26px rgba(56,42,190,.13);

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.site-header .sf-header-cta:hover,
.site-header .header-cta:hover {
    transform: translateY(-1px);

    border-color: rgba(145,129,255,.85);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.13),
        0 10px 30px rgba(69,49,213,.23);
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1440px) {

    .site-header__inner {
        width: min(92%, 1640px) !important;
        max-width: 1640px !important;
    }

    .site-logo__image {
        width: 92px !important;
        height: 62px !important;
    }

    .site-nav ul {
        gap: 42px;
    }

}


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

@media (max-width: 820px) {

    .site-header__inner {
        width: 100% !important;

        height: 74px;
        min-height: 74px;

        padding: 0 16px !important;
    }

    .site-logo__image {
        width: 78px !important;
        height: 54px !important;
    }

    /* desktop nav hidden, burger stays */

    .site-nav {
        margin-left: 0;
    }

    .site-menu-toggle {
        width: 44px;
        height: 44px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

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

        border-radius: 5px;

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

        transition:
            border-color .2s ease,
            background .2s ease;
    }

    .site-menu-toggle:hover {
        border-color: rgba(201,169,110,.40);

        background:
            rgba(255,255,255,.035);
    }

}


/* Small phones */

@media (max-width: 480px) {

    .site-header__inner {
        padding-inline: 14px !important;
    }

    .site-logo__image {
        width: 72px !important;
        height: 50px !important;
    }

}

/* =========================================================
   MOBILE NAV FIX
   Closed by default, open only with .is-open
   ========================================================= */

@media (max-width: 820px) {

    .site-nav {
        display: none !important;

        position: absolute;
        z-index: 150;

        top: 74px;
        left: 0;
        right: 0;

        width: 100%;

        margin: 0 !important;
        padding: 18px 20px 24px;

        background:
            linear-gradient(
                180deg,
                #020918 0%,
                #030b1b 100%
            );

        border-top: 1px solid rgba(255,255,255,.05);
        border-bottom: 1px solid rgba(255,255,255,.08);

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        box-shadow:
            0 24px 50px rgba(0,0,0,.32);
    }

    .site-nav.is-open {
        display: flex !important;
    }

    .site-nav a {
        width: 100%;

        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        padding: 0 6px;

        border-bottom: 1px solid rgba(255,255,255,.055);

        color: rgba(245,247,251,.86);

        font-size: 14px;
        font-weight: 500;
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav a::after {
        display: none;
    }

    .site-menu-toggle {
        position: relative;
        z-index: 160;
    }

}

/* =========================================================
   SERVICES VISUAL
   ========================================================= */

.sf-home-services {
    overflow: hidden;
}

.sf-home-services__heading {
    margin-bottom: 20px;
}

.sf-services-animation {
    position: relative;

    width: 100%;
    height: 720px;

    overflow: hidden;

    background: transparent;
}

.sf-services-animation__video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: min(1100px, 82vw);
    height: auto;

    max-width: none;

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

    object-fit: contain;

    opacity: .72;

    mix-blend-mode: screen;

    filter:
        brightness(.78)
        saturate(.88)
        contrast(1.08);

    pointer-events: none;
}


/* soft center glow */

.sf-services-animation::before {
    content: "";

    position: absolute;

    z-index: 1;

    inset: 12% 20%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(52,83,180,.11) 0%,
            rgba(45,64,150,.04) 42%,
            transparent 70%
        );

    pointer-events: none;
}


/* service cards */

.sf-services-orbit {
    position: absolute;
    z-index: 3;

    inset: 0;
}

.sf-service-card {
    position: absolute;

    width: 250px;

    padding:
        16px
        18px;

    border:
        1px solid rgba(130,150,220,.20);

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            rgba(30,27,100,.60),
            rgba(50,39,150,.46)
        );

    backdrop-filter: blur(8px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 15px 30px rgba(0,0,0,.12);

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.sf-service-card:hover {
    transform: translateY(-3px);

    border-color: rgba(201,169,110,.44);

    background:
        linear-gradient(
            135deg,
            rgba(39,34,125,.70),
            rgba(65,46,180,.56)
        );
}

.sf-service-card span {
    display: block;

    margin-bottom: 6px;

    color: #f5f7fb;

    font-size: 14px;
    font-weight: 650;

    letter-spacing: -.02em;
}

.sf-service-card small {
    display: block;

    color: #9aa6b6;

    font-size: 10px;
    line-height: 1.45;
}


/* positions */

.sf-service-card--1 {
    top: 8%;
    left: 42%;
}

.sf-service-card--2 {
    top: 24%;
    left: 5%;
}

.sf-service-card--3 {
    top: 29%;
    right: 5%;
}

.sf-service-card--4 {
    bottom: 23%;
    right: 8%;
}

.sf-service-card--5 {
    bottom: 9%;
    left: 42%;
}

.sf-service-card--6 {
    bottom: 22%;
    left: 8%;
}


/* center title */

.sf-services-animation::after {
    content: "Services";

    position: absolute;
    z-index: 4;

    top: 50%;
    left: 50%;

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

    color: #f6f7fb;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(50px, 5vw, 74px);
    font-weight: 600;

    letter-spacing: -.045em;

    text-shadow:
        0 0 30px rgba(0,0,0,.45);
}


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

@media (max-width: 820px) {

    .sf-services-animation {
        height: auto;

        padding-top: 20px;
    }

    .sf-services-animation__video {
        position: relative;

        top: auto;
        left: 50%;

        width: 125%;
        height: auto;

        transform: translateX(-50%);

        opacity: .50;
    }

    .sf-services-animation::before,
    .sf-services-animation::after {
        display: none;
    }

    .sf-services-orbit {
        position: relative;

        inset: auto;

        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;

        margin-top: -35px;
    }

    .sf-service-card {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        width: 100%;

        padding:
            15px
            16px;
    }

}


/* =========================================================
   SERVICES VIDEO FIX
   ========================================================= */

.sf-services-animation__video {
    display: block !important;

    position: absolute;
    z-index: 1;

    top: 50%;
    left: 50%;

    width: min(1180px, 88vw);
    height: auto;

    max-width: none;

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

    object-fit: contain;

    opacity: .78;

    mix-blend-mode: screen;

    filter:
        brightness(.85)
        contrast(1.07)
        saturate(.90);

    pointer-events: none;
}


/* center title above video */

.sf-services-animation::after {
    z-index: 5;
}


/* =========================================================
   SERVICES MOBILE — KEEP ORBIT DESIGN
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-services {
        padding:
            74px
            0
            90px;
    }


    .sf-home-services__heading {
        margin-bottom: 20px;
    }


    .sf-home-services h2 {
        max-width: 350px;

        font-size: 42px;
        line-height: .98;
    }


    /*
     * Keep it as a designed stage,
     * NOT a vertical list.
     */

    .sf-services-animation {
        position: relative;

        height: 650px !important;

        padding: 0 !important;

        overflow: hidden;
    }


    /*
     * Torus remains in the center on mobile.
     */

    .sf-services-animation__video {
        display: block !important;

        position: absolute !important;

        top: 50% !important;
        left: 50% !important;

        width: 165% !important;
        height: auto !important;

        max-width: none !important;

        transform:
            translate(-50%, -50%) !important;

        opacity: .62 !important;

        mix-blend-mode: screen;

        object-fit: contain !important;
    }


    /*
     * Keep the central Services title.
     */

    .sf-services-animation::after {
        display: block !important;

        content: "Services";

        position: absolute;

        z-index: 6;

        top: 50%;
        left: 50%;

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

        font-family:
            "Playfair Display",
            Georgia,
            serif;

        font-size: 40px;

        font-weight: 600;

        color: #f4f6fa;

        letter-spacing: -.045em;

        white-space: nowrap;

        text-shadow:
            0 4px 25px rgba(0,0,0,.55);
    }


    .sf-services-animation::before {
        display: block !important;

        inset: 18% 4%;

        background:
            radial-gradient(
                circle,
                rgba(65,85,190,.10),
                transparent 67%
            );
    }


    /*
     * Important:
     * restore absolute orbit instead of stacked cards.
     */

    .sf-services-orbit {
        position: absolute !important;

        z-index: 7;

        inset: 0 !important;

        display: block !important;

        margin: 0 !important;
    }


    .sf-service-card {
        position: absolute !important;

        width: 145px !important;

        min-height: 62px;

        padding:
            10px
            11px !important;

        border-radius: 5px;

        background:
            linear-gradient(
                135deg,
                rgba(35,29,120,.68),
                rgba(53,39,155,.50)
            );

        backdrop-filter:
            blur(6px);
    }


    .sf-service-card span {
        margin-bottom: 4px;

        font-size: 10px;
        line-height: 1.2;
    }


    .sf-service-card small {
        font-size: 7px;
        line-height: 1.35;
    }


    /*
     * Mobile orbit positions
     */

    .sf-service-card--1 {
        top: 5% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;

        transform:
            translateX(-50%) !important;
    }


    .sf-service-card--2 {
        top: 22% !important;
        left: 2% !important;
        right: auto !important;
        bottom: auto !important;

        transform: none !important;
    }


    .sf-service-card--3 {
        top: 24% !important;
        right: 2% !important;
        left: auto !important;
        bottom: auto !important;

        transform: none !important;
    }


    .sf-service-card--4 {
        right: 2% !important;
        bottom: 19% !important;
        top: auto !important;
        left: auto !important;

        transform: none !important;
    }


    .sf-service-card--5 {
        bottom: 4% !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;

        transform:
            translateX(-50%) !important;
    }


    .sf-service-card--6 {
        bottom: 18% !important;
        left: 2% !important;
        right: auto !important;
        top: auto !important;

        transform: none !important;
    }

}


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

@media (max-width: 430px) {

    .sf-services-animation {
        height: 610px !important;
    }


    .sf-services-animation__video {
        width: 190% !important;
    }


    .sf-service-card {
        width: 132px !important;

        padding:
            9px
            10px !important;
    }


    .sf-service-card span {
        font-size: 9px;
    }


    .sf-service-card small {
        font-size: 6.5px;
    }


    .sf-services-animation::after {
        font-size: 36px;
    }

}

/* =========================================================
   SERVICE CARDS — BIGGER / MORE LIKE REFERENCE
   ========================================================= */

.sf-service-card {
    width: 270px;

    padding:
        17px
        19px;

    border:
        1px solid rgba(118,105,255,.34);

    border-radius: 5px;

    background:
        linear-gradient(
            135deg,
            rgba(42,29,135,.66),
            rgba(62,42,170,.50)
        );

    box-shadow:
        0 12px 36px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.055);

    backdrop-filter: blur(7px);
}

.sf-service-card span {
    font-size: 15px;
}

.sf-service-card small {
    font-size: 10px;
}


/* Re-position for larger orbit */

.sf-service-card--1 {
    top: 4% !important;
    left: 50% !important;

    transform: translateX(-50%);
}

.sf-service-card--2 {
    top: 22% !important;
    left: 3% !important;
}

.sf-service-card--3 {
    top: 23% !important;
    right: 3% !important;
}

.sf-service-card--4 {
    bottom: 20% !important;
    right: 6% !important;
}

.sf-service-card--5 {
    bottom: 3% !important;
    left: 50% !important;

    transform: translateX(-50%);
}

.sf-service-card--6 {
    bottom: 18% !important;
    left: 6% !important;
}


/* =========================================================
   DESKTOP EXTRA LARGE
   ========================================================= */

@media (min-width: 1500px) {

    .sf-services-animation {
        height: 900px;
    }

    .sf-services-animation__video {
        width: min(1580px, 92vw) !important;
    }

}


/* =========================================================
   MOBILE
   Keep orbit, smaller
   ========================================================= */

@media (max-width: 820px) {

    .sf-services-animation {
        height: 650px !important;

        overflow: hidden;
    }

    .sf-services-animation__video {
        width: 190% !important;

        opacity: .60 !important;
    }

    .sf-services-animation::after {
        content: "Services";

        font-size: 36px;

        white-space: nowrap;
    }

    .sf-service-card {
        width: 135px !important;

        padding:
            10px
            11px !important;
    }

    .sf-service-card span {
        font-size: 9px;
    }

    .sf-service-card small {
        font-size: 6.5px;
    }

}

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

.sf-service-card {
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease !important;
}


/*
 * Tiny movement only.
 * Avoid big jumps on ERP / Automation.
 */
.sf-service-card:hover {
    transform: translateY(-1px) !important;

    border-color:
        rgba(201,169,110,.34) !important;

    box-shadow:
        0 10px 24px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.05);
}


/*
 * These two cards use translateX for centering,
 * so preserve it during hover.
 */

.sf-service-card--1:hover {
    transform:
        translateX(-50%)
        translateY(-1px) !important;
}

.sf-service-card--5:hover {
    transform:
        translateX(-50%)
        translateY(-1px) !important;
}


/* =========================================================
   MOBILE
   Grid smaller and even more subtle
   ========================================================= */

@media (max-width: 820px) {

    .sf-home-services::before {
        background-size:
            44px 44px;

        background-image:
            linear-gradient(
                rgba(124,146,190,.028) 1px,
                transparent 1px
            ),
            linear-gradient(
                90deg,
                rgba(124,146,190,.028) 1px,
                transparent 1px
            );
    }

}

/* =========================================================
   SERVICES CLEAN FINAL
   ========================================================= */

.sf-home-services {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #061120 0%,
            #030b18 100%
        ) !important;
}


/* Subtle architectural grid */

.sf-home-services::before {
    content: "";

    position: absolute;
    z-index: 0;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(130, 150, 185, .04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(130, 150, 185, .04) 1px,
            transparent 1px
        );

    background-size: 68px 68px;

    -webkit-mask-image:
        linear-gradient(
            180deg,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );

    mask-image:
        linear-gradient(
            180deg,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
}


.sf-home-services > .sf-container {
    position: relative;
    z-index: 2;
}


/* No stage rectangle */

.sf-home-services__stage,
.sf-services-animation,
.sf-services-orbit {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* Video itself */

.sf-services-animation__video {
    background: transparent !important;

    mix-blend-mode: screen !important;

    opacity: .82 !important;

    filter:
        brightness(.87)
        contrast(1.08)
        saturate(.9);
}


/* Keep orbit large on desktop */

@media (min-width: 821px) {

    .sf-home-services__stage {
        width: 100%;
        max-width: none !important;
    }

    .sf-services-animation {
        width: min(1450px, 94vw);
        height: 820px;

        margin-inline: auto;

        overflow: visible;
    }

    .sf-services-animation__video {
        width: min(1420px, 91vw) !important;
        max-width: none !important;
    }

}


/* Subtle hover only */

.sf-service-card {
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease !important;
}

.sf-service-card:hover {
    transform: translateY(-1px) !important;

    border-color:
        rgba(201,169,110,.32) !important;
}


/* Preserve centered cards */

.sf-service-card--1:hover,
.sf-service-card--5:hover {
    transform:
        translateX(-50%)
        translateY(-1px) !important;
}


/* Mobile */

@media (max-width: 820px) {

    .sf-home-services::before {
        background-size: 44px 44px;
    }

}

/* =========================================================
   SERVICES REAL ALPHA VIDEO
   ========================================================= */

.sf-services-animation,
.sf-home-services__stage {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sf-services-animation__video {
    background: transparent !important;

    mix-blend-mode: normal !important;

    opacity: .92 !important;

    filter:
        brightness(.92)
        contrast(1.05)
        saturate(.92);
}


/* actual subtle grid behind everything */

.sf-home-services {
    background:
        linear-gradient(
            180deg,
            #061120 0%,
            #030b18 100%
        ) !important;
}

.sf-home-services::before {
    content: "" !important;

    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    z-index: 0 !important;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(126,145,180,.052) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(126,145,180,.052) 1px,
            transparent 1px
        ) !important;

    background-size: 62px 62px !important;

    opacity: .58 !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.sf-home-services > .sf-container {
    position: relative;
    z-index: 2;
}

@media (max-width: 820px) {

    .sf-home-services::before {
        background-size: 42px 42px !important;
        opacity: .43 !important;
    }

}


/* =========================================================
   SELECTED WORK
   ========================================================= */

.sf-selected-work {
    position: relative;

    padding:
        130px
        0
        140px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #030b18 0%,
            #040d1b 48%,
            #020817 100%
        );

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


/* subtle background structure */

.sf-selected-work::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(126,145,180,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(126,145,180,.025) 1px,
            transparent 1px
        );

    background-size:
        72px 72px;

    opacity: .45;
}


.sf-selected-work > .sf-container {
    position: relative;
    z-index: 2;
}


/* heading */

.sf-selected-work__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 70px;
}


.sf-selected-work h2 {
    max-width: 760px;

    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            48px,
            4.6vw,
            76px
        );

    font-weight: 600;

    line-height: .98;

    letter-spacing: -.045em;
}


.sf-selected-work h2 span {
    display: block;

    color: #5bafe3;
}


.sf-selected-work__all {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    padding-bottom: 7px;

    border-bottom:
        1px solid rgba(201,169,110,.42);

    color: #d9dee7;

    font-size: 12px;
}


.sf-selected-work__all span {
    color: var(--sf-gold);
}


/* =========================================================
   FEATURED PROJECT
   ========================================================= */

.sf-project-featured {
    display: grid;

    grid-template-columns:
        minmax(0, .82fr)
        minmax(0, 1.18fr);

    min-height: 560px;

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

    background:
        rgba(3,10,23,.42);
}


.sf-project-featured__content {
    padding:
        72px
        60px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right:
        1px solid rgba(255,255,255,.06);
}


.sf-project-meta {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 22px;

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

    letter-spacing: .16em;
}


.sf-project-meta span:first-child {
    color: var(--sf-gold);
}


.sf-project-meta span:last-child {
    color: #6f7d90;
}


.sf-project-featured h3,
.sf-project-card h3 {
    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-weight: 600;

    letter-spacing: -.035em;
}


.sf-project-featured h3 {
    font-size:
        clamp(
            42px,
            3.7vw,
            62px
        );
}


.sf-project-featured p {
    max-width: 500px;

    margin:
        24px
        0
        0;

    color: #8d99a9;

    font-size: 14px;
    line-height: 1.72;
}


.sf-project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 30px;
}


.sf-project-tags span {
    padding:
        7px
        10px;

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

    color: #8996a7;

    font-size: 8px;

    letter-spacing: .08em;
}


.sf-project-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    width: fit-content;

    margin-top: 34px;

    color: #eef1f6;

    font-size: 12px;

    transition:
        color .18s ease,
        gap .18s ease;
}


.sf-project-link span {
    color: var(--sf-gold);
}


.sf-project-link:hover {
    color: #fff;
    gap: 14px;
}


/* visual */

.sf-project-featured__visual {
    padding: 42px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(63,73,185,.09),
            transparent 55%
        );
}


.sf-project-visual {
    width: 100%;
    min-height: 400px;

    padding: 28px;

    border:
        1px solid rgba(125,145,210,.13);

    background:
        linear-gradient(
            145deg,
            #081426,
            #050d1a
        );

    box-shadow:
        0 30px 60px rgba(0,0,0,.18);
}


.sf-project-visual__top {
    display: flex;
    justify-content: space-between;

    color: #8895a6;

    font-size: 10px;
}


.sf-project-visual__window {
    height: 270px;

    margin-top: 30px;

    padding: 24px;

    display: grid;

    grid-template-columns:
        1.1fr
        .8fr
        .65fr;

    gap: 14px;

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

    background:
        #061120;
}


.sf-project-visual__window > div {
    border:
        1px solid rgba(107,125,185,.10);

    background:
        linear-gradient(
            180deg,
            rgba(70,82,170,.10),
            rgba(21,32,60,.10)
        );
}


.sf-project-visual__footer {
    margin-top: 20px;

    color: #667487;

    font-size: 9px;

    letter-spacing: .08em;
}


/* =========================================================
   SECONDARY PROJECTS
   ========================================================= */

.sf-project-grid {
    display: grid;

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

    gap: 24px;

    margin-top: 24px;
}


.sf-project-card {
    overflow: hidden;

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

    background:
        rgba(3,10,23,.44);
}


.sf-project-card__visual {
    height: 270px;

    display: grid;
    place-items: center;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.sf-project-card__visual--commerce {
    background:
        radial-gradient(
            circle at center,
            rgba(87,71,210,.14),
            transparent 48%
        ),
        #061120;
}


.sf-project-card__visual-label {
    color: rgba(255,255,255,.93);

    font-family:
        "Inter",
        sans-serif;

    font-size: 56px;
    font-weight: 800;

    letter-spacing: -.06em;
}


.sf-project-card__visual--integration {
    background:
        radial-gradient(
            circle at center,
            rgba(55,92,190,.12),
            transparent 52%
        ),
        #061120;
}


.sf-project-card__integration-line {
    display: flex;
    align-items: center;

    gap: 20px;

    color: #e8edf5;

    font-size: 17px;
}


.sf-project-card__integration-line span {
    width: 90px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #5bafe3,
            var(--sf-gold)
        );
}


.sf-project-card__body {
    padding:
        35px
        38px
        40px;
}


.sf-project-card h3 {
    font-size: 34px;
}


.sf-project-card p {
    min-height: 76px;

    margin:
        18px
        0
        0;

    color: #8995a5;

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   SELECTED WORK MOBILE
   ========================================================= */

@media (max-width: 820px) {

    .sf-selected-work {
        padding:
            90px
            0
            95px;
    }


    .sf-selected-work__head {
        display: block;

        margin-bottom: 42px;
    }


    .sf-selected-work h2 {
        max-width: 350px;

        font-size: 43px;
    }


    .sf-selected-work__all {
        margin-top: 25px;
    }


    .sf-project-featured {
        display: flex;
        flex-direction: column;
    }


    .sf-project-featured__content {
        padding:
            38px
            24px;

        border-right: 0;
        border-bottom:
            1px solid rgba(255,255,255,.06);
    }


    .sf-project-featured h3 {
        font-size: 40px;
    }


    .sf-project-featured p {
        font-size: 12px;
    }


    .sf-project-featured__visual {
        padding: 18px;
    }


    .sf-project-visual {
        min-height: 280px;

        padding: 18px;
    }


    .sf-project-visual__window {
        height: 180px;

        padding: 14px;

        gap: 8px;
    }


    .sf-project-grid {
        grid-template-columns: 1fr;

        gap: 16px;

        margin-top: 16px;
    }


    .sf-project-card__visual {
        height: 220px;
    }


    .sf-project-card__body {
        padding:
            28px
            24px
            34px;
    }


    .sf-project-card h3 {
        font-size: 31px;
    }

}

/* =========================================================
   SELECTED PROJECTS — MINIMAL
   ========================================================= */

.sf-selected-work {
    position: relative;

    padding: 120px 0 130px;

    background:
        linear-gradient(
            180deg,
            #030b18 0%,
            #020817 100%
        );

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

.sf-selected-work__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 64px;
}

.sf-selected-work h2 {
    margin: 0;

    max-width: 720px;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(48px, 4.3vw, 72px);

    font-weight: 600;

    line-height: .98;

    letter-spacing: -.045em;
}

.sf-selected-work h2 span {
    display: block;

    color: #5bafe3;
}

.sf-selected-work__all {
    padding-bottom: 7px;

    border-bottom:
        1px solid rgba(201,169,110,.45);

    color: #d7dde7;

    font-size: 12px;
}


/* rows */

.sf-project-list {
    border-top:
        1px solid rgba(255,255,255,.09);
}

.sf-project-row {
    min-height: 112px;

    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        150px
        30px;

    align-items: center;

    gap: 24px;

    border-bottom:
        1px solid rgba(255,255,255,.075);

    transition:
        background .18s ease,
        padding .18s ease;
}

.sf-project-row:hover {
    padding:
        0
        14px;

    background:
        rgba(255,255,255,.018);
}

.sf-project-row__number {
    color: var(--sf-gold);

    font-size: 10px;

    letter-spacing: .09em;
}

.sf-project-row__name strong {
    display: block;

    color: #f2f4f8;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

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

    letter-spacing: -.025em;
}

.sf-project-row__name span {
    display: block;

    margin-top: 7px;

    color: #738094;

    font-size: 10px;
}

.sf-project-row__type {
    color: #68768a;

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

    letter-spacing: .13em;

    text-align: right;
}

.sf-project-row__arrow {
    color: #5bafe3;

    font-size: 18px;

    text-align: right;

    transition:
        transform .18s ease,
        color .18s ease;
}

.sf-project-row:hover .sf-project-row__arrow {
    color: var(--sf-gold);

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


/* MOBILE */

@media (max-width: 820px) {

    .sf-selected-work {
        padding:
            85px
            0
            90px;
    }

    .sf-selected-work__head {
        display: block;

        margin-bottom: 40px;
    }

    .sf-selected-work h2 {
        max-width: 350px;

        font-size: 42px;
    }

    .sf-selected-work__all {
        display: inline-block;

        margin-top: 25px;
    }

    .sf-project-row {
        min-height: 105px;

        grid-template-columns:
            28px
            minmax(0, 1fr)
            20px;

        gap: 11px;
    }

    .sf-project-row__type {
        display: none;
    }

    .sf-project-row__name strong {
        font-size: 22px;
    }

    .sf-project-row__name span {
        max-width: 250px;

        font-size: 9px;

        line-height: 1.45;
    }

}

/* =========================================================
   HOW WE WORK
   ========================================================= */

.sf-process {
    position: relative;

    padding:
        120px
        0
        130px;

    background:
        linear-gradient(
            180deg,
            #020817 0%,
            #04101d 100%
        );

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


.sf-process__head {
    max-width: 760px;

    margin-bottom: 75px;
}


.sf-process__head h2 {
    margin: 0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            48px,
            4.2vw,
            72px
        );

    font-weight: 600;

    line-height: .98;

    letter-spacing: -.045em;
}


.sf-process__head h2 span {
    display: block;

    color: #5bafe3;
}


.sf-process__head > p {
    max-width: 600px;

    margin:
        26px
        0
        0;

    color: #8793a4;

    font-size: 13px;
    line-height: 1.7;
}


/* steps */

.sf-process__steps {
    position: relative;

    display: grid;

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

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


/* connecting line */

.sf-process__steps::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 0;

    width: 25%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--sf-gold),
            #5bafe3
        );
}


.sf-process-step {
    position: relative;

    min-height: 260px;

    padding:
        38px
        32px
        36px
        0;

    border-right:
        1px solid rgba(255,255,255,.055);
}


.sf-process-step:not(:first-child) {
    padding-left: 32px;
}


.sf-process-step:last-child {
    border-right: 0;
}


.sf-process-step__number {
    display: block;

    margin-bottom: 32px;

    color: var(--sf-gold);

    font-size: 10px;

    letter-spacing: .10em;
}


.sf-process-step h3 {
    margin: 0;

    color: #f2f4f8;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

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

    letter-spacing: -.025em;
}


.sf-process-step p {
    max-width: 240px;

    margin:
        17px
        0
        0;

    color: #778497;

    font-size: 11px;
    line-height: 1.65;
}


/* subtle hover */

.sf-process-step {
    transition:
        background .18s ease;
}

.sf-process-step:hover {
    background:
        rgba(255,255,255,.014);
}


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

@media (max-width: 820px) {

    .sf-process {
        padding:
            85px
            0
            90px;
    }


    .sf-process__head {
        margin-bottom: 48px;
    }


    .sf-process__head h2 {
        max-width: 350px;

        font-size: 42px;
    }


    .sf-process__head > p {
        max-width: 340px;

        font-size: 11px;
    }


    .sf-process__steps {
        grid-template-columns: 1fr;

        border-top: 0;
    }


    .sf-process__steps::before {
        display: none;
    }


    .sf-process-step,
    .sf-process-step:not(:first-child) {
        min-height: 0;

        padding:
            28px
            0;

        border-right: 0;

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


    .sf-process-step__number {
        margin-bottom: 14px;
    }


    .sf-process-step h3 {
        font-size: 25px;
    }


    .sf-process-step p {
        max-width: 320px;

        margin-top: 12px;
    }

}


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

.sf-final-cta {
    position: relative;

    padding:
        60px
        0
        85px;

    background: #020817;
}


.sf-final-cta__box {
    position: relative;

    min-height: 260px;

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

    overflow: hidden;

    border:
        1px solid rgba(116, 99, 255, .24);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 12% 50%,
            rgba(44, 93, 255, .20),
            transparent 40%
        ),
        radial-gradient(
            circle at 86% 35%,
            rgba(111, 73, 255, .19),
            transparent 42%
        ),
        linear-gradient(
            115deg,
            #07152a 0%,
            #0a1730 45%,
            #100d29 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.055),
        0 25px 70px rgba(0,0,0,.22);
}


/* subtle grid */

.sf-final-cta__box::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.022) 1px,
            transparent 1px
        );

    background-size:
        42px
        42px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 20%,
            #000 80%,
            transparent
        );

    pointer-events: none;
}


/* glow */

.sf-final-cta__glow {
    position: absolute;

    width: 520px;
    height: 240px;

    left: 50%;
    bottom: -180px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(91, 73, 255, .24);

    filter:
        blur(70px);

    pointer-events: none;
}


/* content */

.sf-final-cta__content {
    position: relative;
    z-index: 2;

    max-width: 760px;

    padding:
        48px
        30px;

    text-align: center;
}


.sf-final-cta__eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--sf-gold, #d7b875);

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

    letter-spacing: .20em;
}


.sf-final-cta h2 {
    margin: 0;

    color: #f7f8fb;

    font-size:
        clamp(34px, 3.1vw, 52px);

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -.035em;
}


.sf-final-cta p {
    margin:
        17px
        0
        27px;

    color:
        rgba(226,231,241,.72);

    font-size: 15px;

    line-height: 1.6;
}


/* button */

.sf-final-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding:
        0
        24px;

    border:
        1px solid rgba(139, 125, 255, .65);

    border-radius: 8px;

    background:
        linear-gradient(
            110deg,
            #3a90ca,
            #5bafe3
        );

    color: #fff !important;

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

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(78, 54, 220, .22),
        inset 0 1px 0 rgba(255,255,255,.18);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.sf-final-cta__button:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(255,255,255,.45);

    box-shadow:
        0 15px 38px rgba(78,54,220,.32),
        inset 0 1px 0 rgba(255,255,255,.20);
}


.sf-final-cta__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

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

    border-radius: 5px;

    font-size: 12px;
}


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

@media (max-width: 820px) {

    .sf-final-cta {
        padding:
            35px
            0
            55px;
    }


    .sf-final-cta__box {
        min-height: 310px;

        border-radius: 18px;
    }


    .sf-final-cta__content {
        width: 100%;

        padding:
            42px
            22px;
    }


    .sf-final-cta h2 {
        max-width: 310px;

        margin:
            0
            auto;

        font-size: 34px;
    }


    .sf-final-cta p {
        max-width: 290px;

        margin:
            16px
            auto
            25px;

        font-size: 12px;

        line-height: 1.65;
    }


    .sf-final-cta__button {
        width: 100%;

        max-width: 280px;

        min-height: 52px;

        padding:
            0
            16px;
    }


    .sf-final-cta__box::before {
        background-size:
            32px
            32px;
    }

}


/* =========================================================
   FOOTER V2
   ========================================================= */

.site-footer {
    position: relative;

    padding:
        85px
        0
        28px;

    background:
        linear-gradient(
            180deg,
            #020817,
            #01050d
        );

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

.site-footer::before {
    display: none !important;
}

.site-footer__main {
    display: grid;

    grid-template-columns:
        minmax(300px, 1fr)
        minmax(480px, 1.2fr);

    gap: 100px;

    padding-bottom: 72px;
}

.site-footer__logo {
    display: inline-block;
}

.site-footer__logo img {
    width: 86px;
    height: auto;
}

.site-footer__brand p {
    max-width: 410px;

    margin:
        26px
        0
        0;

    color: #788597;

    font-size: 12px;
    line-height: 1.75;
}

.site-footer__nav {
    display: grid;

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

    gap: 45px;
}

.site-footer__nav > div {
    display: flex;
    flex-direction: column;
}

.site-footer__nav > div > span {
    margin-bottom: 20px;

    color: var(--sf-gold);

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

    letter-spacing: .15em;

    text-transform: uppercase;
}

.site-footer__nav a,
.site-footer__project {
    width: fit-content;

    margin-bottom: 12px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #8d99aa;

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;

    transition:
        color .18s ease,
        transform .18s ease;
}

.site-footer__nav a:hover,
.site-footer__project:hover {
    color: #f4f6fa;

    transform: translateX(2px);
}

.site-footer__bottom {
    min-height: 64px;

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

    gap: 30px;

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

    color: #596678;

    font-size: 9px;
}


/* =========================================================
   PROJECT MODAL
   ========================================================= */

.sf-project-modal {
    position: fixed;

    z-index: 99999;

    inset: 0;

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

    padding: 24px;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.sf-project-modal.is-open {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

.sf-project-modal__backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(0,4,12,.82);

    backdrop-filter:
        blur(12px);
}

.sf-project-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(680px, 100%);

    padding:
        58px
        58px
        48px;

    overflow: hidden;

    border:
        1px solid rgba(118,101,255,.25);

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(101,74,255,.18),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #071427,
            #080d20 60%,
            #110c28
        );

    box-shadow:
        0 35px 100px rgba(0,0,0,.55);
}

.sf-project-modal__dialog::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size:
        42px 42px;

    pointer-events: none;
}

.sf-project-modal__close {
    position: absolute;
    z-index: 3;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

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

    border-radius: 6px;

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

    color: #b9c2d0;

    font-size: 22px;

    cursor: pointer;
}

.sf-project-modal__eyebrow {
    position: relative;

    color: var(--sf-gold);

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

    letter-spacing: .19em;
}

.sf-project-modal h2 {
    position: relative;

    max-width: 500px;

    margin:
        20px
        0
        0;

    color: #f5f7fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(44px, 5vw, 66px);

    font-weight: 600;

    line-height: .95;

    letter-spacing: -.045em;
}

.sf-project-modal h2 span {
    display: block;

    color: #5bafe3;
}

.sf-project-modal > .sf-project-modal__dialog > p {
    position: relative;

    max-width: 500px;

    margin:
        25px
        0
        0;

    color: #8794a6;

    font-size: 12px;
    line-height: 1.7;
}

.sf-project-modal__actions {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 32px;
}

.sf-project-modal__primary,
.sf-project-modal__secondary {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0
        19px;

    border-radius: 6px;

    font-size: 11px;
    font-weight: 650;
}

.sf-project-modal__primary {
    gap: 10px;

    border:
        1px solid rgba(135,119,255,.55);

    background:
        linear-gradient(
            110deg,
            #3a90ca,
            #5bafe3
        );

    color: #fff;
}

.sf-project-modal__secondary {
    border:
        1px solid rgba(255,255,255,.13);

    color: #c5ccd6;
}

.sf-project-modal__meta {
    position: relative;

    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 38px;

    padding-top: 22px;

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

.sf-project-modal__meta span {
    color: #677588;

    font-size: 8px;

    letter-spacing: .07em;
}


/* =========================================================
   FOOTER + MODAL MOBILE
   ========================================================= */

@media (max-width: 820px) {

    .site-footer {
        padding-top: 65px;
    }

    .site-footer__main {
        grid-template-columns: 1fr;

        gap: 55px;

        padding-bottom: 50px;
    }

    .site-footer__nav {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            42px
            30px;
    }

    .site-footer__bottom {
        min-height: 85px;

        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 7px;
    }

    .sf-project-modal {
        padding: 14px;
    }

    .sf-project-modal__dialog {
        padding:
            52px
            24px
            30px;

        border-radius: 15px;
    }

    .sf-project-modal h2 {
        max-width: 330px;

        font-size: 43px;
    }

    .sf-project-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sf-project-modal__primary,
    .sf-project-modal__secondary {
        width: 100%;
    }

}

/* =========================================================
   INTERNAL PAGES
   ========================================================= */

.sf-page {
    background: #020817;
}

.sf-page-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    padding: 95px 0;

    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(94,72,255,.10),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #020817,
            #04101d
        );

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.sf-page-kicker {
    margin-bottom: 22px;

    color: var(--sf-gold);

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

    letter-spacing: .20em;
}

.sf-page-hero h1,
.sf-contact h1 {
    max-width: 900px;

    margin: 0;

    color: #f5f7fb;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(58px, 6vw, 92px);
    font-weight: 600;

    line-height: .94;

    letter-spacing: -.05em;
}

.sf-page-hero h1 span,
.sf-contact h1 span {
    display: block;

    color: #5bafe3;
}

.sf-page-hero p {
    max-width: 600px;

    margin: 30px 0 0;

    color: #8794a6;

    font-size: 14px;
    line-height: 1.75;
}


/* ABOUT */

.sf-about-intro {
    padding: 120px 0;

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.sf-about-intro__grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.sf-section-number {
    color: var(--sf-gold);

    font-size: 10px;
}

.sf-about-intro h2 {
    max-width: 570px;

    margin: 25px 0 0;

    color: #f3f5f9;

    font-family: "Playfair Display", Georgia, serif;

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

    line-height: 1;
}

.sf-about-copy p {
    max-width: 520px;

    margin: 0 0 24px;

    color: #8995a6;

    font-size: 13px;
    line-height: 1.8;
}

.sf-about-principles {
    padding: 115px 0 130px;
}

.sf-principles-grid {
    display: grid;

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

    margin-top: 55px;

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

.sf-principles-grid article {
    min-height: 250px;

    padding: 34px 28px;

    border-right: 1px solid rgba(255,255,255,.055);
}

.sf-principles-grid article:last-child {
    border-right: 0;
}

.sf-principles-grid article > span {
    color: var(--sf-gold);

    font-size: 9px;
}

.sf-principles-grid h3 {
    margin: 35px 0 0;

    color: #f2f4f8;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 25px;
}

.sf-principles-grid p {
    margin: 15px 0 0;

    color: #778496;

    font-size: 11px;
    line-height: 1.65;
}


/* PROJECT PAGE */

.sf-projects-page {
    padding: 90px 0 130px;
}

.sf-project-row--large {
    min-height: 150px;
}

.sf-project-row--large .sf-project-row__name strong {
    font-size: 32px;
}

.sf-project-row--large .sf-project-row__name p {
    max-width: 650px;

    margin: 10px 0 9px;

    color: #8794a5;

    font-size: 11px;
    line-height: 1.55;
}


/* CASE STUDIES */

.sf-cases {
    padding: 100px 0 130px;
}

.sf-cases__grid {
    display: grid;

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

    border-top: 1px solid rgba(255,255,255,.08);
    border-left: 1px solid rgba(255,255,255,.08);
}

.sf-case {
    min-height: 300px;

    padding: 40px;

    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);

    transition: background .18s ease;
}

.sf-case:hover {
    background: rgba(255,255,255,.018);
}

.sf-case__number {
    color: var(--sf-gold);

    font-size: 9px;
}

.sf-case h2 {
    margin: 48px 0 0;

    color: #f2f4f8;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 34px;
}

.sf-case p {
    color: #798698;

    font-size: 11px;
}

.sf-case__link {
    display: block;

    margin-top: 40px;

    color: #5bafe3;

    font-size: 10px;
}


/* CONTACT */

.sf-contact {
    min-height: 720px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(95,74,255,.10),
            transparent 35%
        ),
        #020817;
}

.sf-contact__grid {
    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 100px;
}

.sf-contact__intro > p {
    max-width: 500px;

    margin: 28px 0 0;

    color: #8995a6;

    font-size: 13px;
    line-height: 1.75;
}

.sf-contact__email {
    display: inline-flex;

    gap: 10px;

    margin-top: 32px;

    padding-bottom: 6px;

    border-bottom: 1px solid rgba(201,169,110,.4);

    color: #edf0f5;

    font-size: 13px;
}

.sf-contact__options {
    border-top: 1px solid rgba(255,255,255,.08);
}

.sf-contact__options article {
    padding: 36px 0;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.sf-contact__options article > span {
    color: var(--sf-gold);

    font-size: 9px;
}

.sf-contact__options h2 {
    margin: 15px 0 0;

    color: #f3f5f8;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 29px;
}

.sf-contact__options p {
    max-width: 420px;

    color: #7d899a;

    font-size: 11px;
    line-height: 1.65;
}

.sf-contact__options a,
.sf-contact__options button {
    padding: 0;

    border: 0;

    background: transparent;

    color: #5bafe3;

    font-family: inherit;

    font-size: 11px;

    cursor: pointer;
}


/* MOBILE */

@media (max-width: 820px) {

    .sf-page-hero {
        min-height: 420px;

        padding: 75px 0;
    }

    .sf-page-hero h1,
    .sf-contact h1 {
        font-size: 48px;
    }

    .sf-about-intro,
    .sf-about-principles,
    .sf-cases,
    .sf-projects-page {
        padding: 80px 0;
    }

    .sf-about-intro__grid,
    .sf-contact__grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .sf-principles-grid,
    .sf-cases__grid {
        grid-template-columns: 1fr;
    }

    .sf-principles-grid article {
        min-height: 0;

        border-right: 0;

        border-bottom: 1px solid rgba(255,255,255,.055);
    }

    .sf-case {
        min-height: 240px;

        padding: 30px 24px;
    }

    .sf-contact {
        min-height: 0;

        padding: 80px 0;
    }

}

/* Services are informational, not links */
.sf-service-card {
    cursor: default !important;
    text-decoration: none !important;
}

.sf-service-card:hover {
    transform: translateY(-1px) !important;
}

.sf-service-card--1:hover,
.sf-service-card--5:hover {
    transform:
        translateX(-50%)
        translateY(-1px) !important;
}

/* =========================================================
   PROJECT REQUEST FORM
   ========================================================= */

.sf-project-modal__dialog {
    width: min(760px, 100%);
}

.sf-project-form {
    position: relative;

    margin-top: 30px;
}

.sf-project-form__hp {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.sf-project-form__row {
    display: grid;

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

    gap: 12px;

    margin-bottom: 12px;
}

.sf-project-form label {
    display: block;
}

.sf-project-form label > span {
    display: block;

    margin-bottom: 8px;

    color: #79879a;

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

    letter-spacing: .04em;
}

.sf-project-form input,
.sf-project-form select,
.sf-project-form textarea {
    width: 100%;

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

    border-radius: 6px;

    outline: none;

    background:
        rgba(2,8,23,.55);

    color: #edf1f7;

    font-family: inherit;

    font-size: 11px;

    transition:
        border-color .18s ease,
        background .18s ease;
}

.sf-project-form input,
.sf-project-form select {
    height: 46px;

    padding:
        0
        13px;
}

.sf-project-form textarea {
    min-height: 112px;

    padding: 13px;

    resize: vertical;
}

.sf-project-form input:focus,
.sf-project-form select:focus,
.sf-project-form textarea:focus {
    border-color:
        rgba(118,101,255,.62);

    background:
        rgba(5,13,32,.78);
}

.sf-project-form select {
    color-scheme: dark;
}

.sf-project-form__message {
    margin-top: 2px;
}

.sf-project-form__status {
    min-height: 18px;

    margin-top: 12px;

    color: #8d99a9;

    font-size: 10px;
    line-height: 1.5;
}

.sf-project-form__status.is-success {
    color: #8ed1a5;
}

.sf-project-form__status.is-error {
    color: #ef9b9b;
}

.sf-project-form__actions {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 15px;
}

.sf-project-form__actions button {
    cursor: pointer;
}

.sf-project-modal__whatsapp {
    min-height: 48px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        18px;

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

    border-radius: 6px;

    color: #c6ced9;

    font-size: 11px;

    transition:
        border-color .18s ease,
        color .18s ease;
}

.sf-project-modal__whatsapp:hover {
    border-color:
        rgba(201,169,110,.45);

    color: #fff;
}


/* Mobile */

@media (max-width: 820px) {

    .sf-project-modal__dialog {
        max-height: calc(100vh - 28px);

        overflow-y: auto;
    }

    .sf-project-form__row {
        grid-template-columns: 1fr;
    }

    .sf-project-form__actions {
        flex-direction: column;

        align-items: stretch;
    }

    .sf-project-form__actions > * {
        width: 100%;
    }

}

/* =========================================================
   CONTACT ACTION BUTTONS
   ========================================================= */

.sf-contact__options a,
.sf-contact__options button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    margin-top: 16px;
    padding: 0 18px;

    border: 1px solid rgba(116,101,255,.38);

    border-radius: 6px;

    background:
        linear-gradient(
            110deg,
            rgba(49,37,145,.72),
            rgba(82,57,210,.62)
        );

    color: #f4f6fa !important;

    font-family: inherit;
    font-size: 11px;
    font-weight: 650;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.sf-contact__options a:hover,
.sf-contact__options button:hover {
    transform: translateY(-1px);

    border-color: rgba(201,169,110,.45);

    background:
        linear-gradient(
            110deg,
            rgba(57,43,165,.82),
            rgba(93,66,230,.74)
        );

    box-shadow:
        0 10px 28px rgba(44,33,150,.16);
}


/* Email at top of contact remains a clean text link */

.sf-contact__email {
    display: inline-flex;

    min-height: 0;

    padding: 0 0 6px;

    border:
        0;

    border-bottom:
        1px solid rgba(201,169,110,.42);

    border-radius: 0;

    background: transparent !important;

    box-shadow: none !important;

    color: #eef1f6 !important;

    font-size: 13px;
}

.sf-contact__email:hover {
    transform: none;

    border-bottom-color: var(--sf-gold);

    box-shadow: none;
}

/* Footer service labels — informational only */

.site-footer__services > div {
    width: fit-content;

    margin-bottom: 12px;

    color: #8d99aa;

    font-size: 11px;

    cursor: default;
}

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

.sf-services-page {
    padding: 90px 0 130px;
    background: #020817;
}

.sf-services-page__list {
    border-top: 1px solid rgba(255,255,255,.08);
}

.sf-service-row {
    min-height: 150px;

    display: grid;
    grid-template-columns: 60px minmax(0,1fr) 40px;

    align-items: center;
    gap: 26px;

    border-bottom: 1px solid rgba(255,255,255,.07);

    transition:
        background .18s ease,
        padding .18s ease;
}

.sf-service-row:hover {
    padding-inline: 16px;

    background: rgba(255,255,255,.018);
}

.sf-service-row__number {
    color: var(--sf-gold);

    font-size: 10px;
}

.sf-service-row__content h2 {
    margin: 0;

    color: #f3f5f9;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(28px, 2.7vw, 42px);
    font-weight: 600;

    letter-spacing: -.035em;
}

.sf-service-row__content p {
    max-width: 700px;

    margin: 11px 0 0;

    color: #7f8b9d;

    font-size: 11px;
    line-height: 1.6;
}

.sf-service-row__arrow {
    color: #5bafe3;

    font-size: 19px;

    text-align: right;
}


/* =========================================================
   SERVICE DETAILS
   ========================================================= */

.sf-service-detail__hero {
    min-height: 610px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(101,73,255,.10),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #020817,
            #04101d
        );

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.sf-service-detail__number {
    margin-bottom: 18px;

    color: var(--sf-gold);

    font-size: 10px;
}

.sf-service-detail__hero h1 {
    max-width: 950px;

    margin: 0;

    color: #f5f7fa;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(58px, 6vw, 90px);
    font-weight: 600;

    line-height: .95;

    letter-spacing: -.05em;
}

.sf-service-detail__hero p {
    max-width: 610px;

    margin: 30px 0 32px;

    color: #8895a7;

    font-size: 14px;
    line-height: 1.72;
}


/* CAPABILITIES */

.sf-service-detail__capabilities {
    padding: 120px 0;

    background: #030b18;
}

.sf-service-detail__section-head {
    margin-bottom: 65px;
}

.sf-service-detail__section-head > span {
    color: var(--sf-gold);

    font-size: 9px;
    letter-spacing: .18em;
}

.sf-service-detail__section-head h2 {
    max-width: 670px;

    margin: 20px 0 0;

    color: #f3f5f9;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 54px;

    line-height: .98;
}

.sf-service-detail__section-head strong {
    display: block;

    color: #5bafe3;
}

.sf-service-detail__grid {
    display: grid;

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

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

    border-left:
        1px solid rgba(255,255,255,.08);
}

.sf-service-detail__grid article {
    min-height: 190px;

    padding: 28px;

    border-right:
        1px solid rgba(255,255,255,.08);

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.sf-service-detail__grid article > span {
    color: var(--sf-gold);

    font-size: 9px;
}

.sf-service-detail__grid h3 {
    margin: 44px 0 0;

    color: #e9edf4;

    font-size: 17px;
    font-weight: 600;
}


/* STACK */

.sf-service-detail__stack {
    padding: 90px 0;

    background: #020817;

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

.sf-service-detail__stack-list {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 30px;
}

.sf-service-detail__stack-list span {
    padding: 10px 14px;

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

    color: #8491a3;

    font-size: 10px;
}


/* DETAIL CTA */

.sf-service-detail__cta {
    padding: 100px 0;

    background:
        linear-gradient(
            110deg,
            #071426,
            #090d21
        );

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

.sf-service-detail__cta .sf-container {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.sf-service-detail__cta span {
    color: var(--sf-gold);

    font-size: 9px;
}

.sf-service-detail__cta h2 {
    margin: 17px 0 0;

    color: #f5f7fa;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 48px;

    line-height: .98;
}

.sf-service-detail__cta strong {
    display: block;

    color: #5bafe3;
}


/* MOBILE */

@media (max-width: 820px) {

    .sf-services-page {
        padding: 65px 0 90px;
    }

    .sf-service-row {
        min-height: 130px;

        grid-template-columns:
            30px
            minmax(0,1fr)
            20px;

        gap: 12px;
    }

    .sf-service-row__content h2 {
        font-size: 27px;
    }

    .sf-service-detail__hero {
        min-height: 500px;

        padding: 80px 0;
    }

    .sf-service-detail__hero h1 {
        font-size: 48px;
    }

    .sf-service-detail__capabilities {
        padding: 85px 0;
    }

    .sf-service-detail__section-head h2 {
        max-width: 350px;

        font-size: 42px;
    }

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

    .sf-service-detail__grid article {
        min-height: 150px;
    }

    .sf-service-detail__cta .sf-container {
        display: block;
    }

    .sf-service-detail__cta h2 {
        font-size: 40px;

        margin-bottom: 30px;
    }

}

/* =========================================================
   PORTFOLIO
   ========================================================= */

.sf-portfolio {
    background: #020817;
}


.sf-portfolio-hero {
    min-height: 390px;

    display: flex;
    align-items: center;

    padding: 85px 0;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(102,75,255,.13),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #050b19,
            #081020
        );

    border-bottom:
        1px solid rgba(255,255,255,.06);
}


.sf-portfolio-hero .sf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.sf-portfolio-hero h1 {
    margin: 0;

    color: #f4f6fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(48px, 5vw, 76px);

    font-weight: 600;

    line-height: .96;

    letter-spacing: -.045em;
}


.sf-portfolio-hero h1 span {
    color: #5bafe3;
}


.sf-portfolio-hero p {
    max-width: 620px;

    margin:
        22px
        auto
        0;

    color: #8c98a9;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FILTERS
   ========================================================= */

.sf-portfolio-main {
    padding:
        75px
        0
        130px;
}


.sf-portfolio-filters {
    display: flex;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 55px;
}


.sf-portfolio-filters button {
    min-height: 38px;

    padding:
        0
        17px;

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

    border-radius: 6px;

    background:
        transparent;

    color: #95a0af;

    font-family: inherit;
    font-size: 10px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color .18s ease,
        border-color .18s ease,
        background .18s ease;
}


.sf-portfolio-filters button:hover {
    color: #fff;

    border-color:
        rgba(119,103,255,.45);
}


.sf-portfolio-filters button.is-active {
    color: #fff;

    border-color:
        rgba(119,103,255,.75);

    background:
        linear-gradient(
            110deg,
            rgba(61,42,180,.75),
            rgba(92,65,230,.55)
        );
}


/* =========================================================
   CARDS
   ========================================================= */

.sf-portfolio-grid {
    display: grid;

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

    gap: 16px;
}


.sf-portfolio-card {
    position: relative;

    min-height: 390px;

    display: flex;
    flex-direction: column;

    padding:
        28px
        28px
        30px;

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

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #081426,
            #07101f
        );

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}


.sf-portfolio-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(118,101,255,.32);

    background:
        linear-gradient(
            145deg,
            #0a172c,
            #081123
        );
}


.sf-portfolio-card.is-hidden {
    display: none;
}


.sf-portfolio-card__top {
    display: flex;

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

    gap: 20px;

    margin-bottom: 45px;
}


.sf-portfolio-card__number {
    color: var(--sf-gold);

    font-size: 9px;
}


.sf-portfolio-card__category {
    padding:
        5px
        8px;

    border:
        1px solid rgba(115,100,255,.24);

    border-radius: 4px;

    color: #5bafe3;

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

    letter-spacing: .10em;

    text-transform: uppercase;
}


.sf-portfolio-card h2 {
    margin: 0;

    color: #f1f4f8;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

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

    line-height: 1.05;

    letter-spacing: -.035em;
}


.sf-portfolio-card > p {
    margin:
        18px
        0
        0;

    color: #818d9e;

    font-size: 11px;
    line-height: 1.68;
}


.sf-portfolio-card__stack {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 24px;
}


.sf-portfolio-card__stack span {
    padding:
        5px
        7px;

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

    color: #687689;

    font-size: 7px;

    letter-spacing: .06em;
}


.sf-portfolio-card__link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    width: fit-content;

    margin-top: auto;
    padding-top: 34px;

    color: #e7ebf2;

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

    transition:
        gap .18s ease,
        color .18s ease;
}


.sf-portfolio-card__link span {
    color: var(--sf-gold);
}


.sf-portfolio-card__link:hover {
    gap: 13px;

    color: #fff;
}


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

@media (max-width: 1000px) {

    .sf-portfolio-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}


@media (max-width: 820px) {

    .sf-portfolio-hero {
        min-height: 330px;

        padding: 70px 0;
    }


    .sf-portfolio-hero h1 {
        max-width: 350px;

        font-size: 47px;
    }


    .sf-portfolio-hero p {
        max-width: 330px;

        font-size: 11px;
    }


    .sf-portfolio-main {
        padding:
            55px
            0
            85px;
    }


    .sf-portfolio-filters {
        justify-content: flex-start;

        margin-bottom: 38px;
    }


    .sf-portfolio-filters button {
        min-height: 35px;

        padding-inline: 13px;

        font-size: 9px;
    }


    .sf-portfolio-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .sf-portfolio-card {
        min-height: 330px;

        padding:
            24px
            22px
            26px;
    }


    .sf-portfolio-card__top {
        margin-bottom: 35px;
    }


    .sf-portfolio-card h2 {
        font-size: 29px;
    }

}

/* =========================================================
   FOOTER STRUCTURE FIX
   ========================================================= */

.site-footer__main {
    display: grid !important;

    grid-template-columns:
        minmax(280px, .9fr)
        minmax(620px, 1.6fr) !important;

    gap: 90px !important;

    align-items: start;
}

.site-footer__nav {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 55px !important;

    align-items: start;
}

.site-footer__column {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.site-footer__column > span {
    display: block;

    margin-bottom: 20px;

    color: var(--sf-gold);

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

    letter-spacing: .15em;

    text-transform: uppercase;
}

.site-footer__column a,
.site-footer__column button {
    display: inline-block;

    width: fit-content;

    margin-bottom: 12px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #8d99aa;

    font-family: inherit;
    font-size: 11px;

    line-height: 1.45;

    text-align: left;

    cursor: pointer;
}

.site-footer__column a:hover,
.site-footer__column button:hover {
    color: #f4f6fa;
}


/* MOBILE */

@media (max-width: 820px) {

    .site-footer__main {
        grid-template-columns: 1fr !important;

        gap: 50px !important;
    }

    .site-footer__nav {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            40px
            28px !important;
    }

    .site-footer__column:last-child {
        grid-column:
            1 / -1;
    }

}

@media (max-width: 480px) {

    .site-footer__nav {
        grid-template-columns: 1fr !important;
    }

    .site-footer__column:last-child {
        grid-column: auto;
    }

}

/* =========================================================
   FOOTER MOBILE COMPACT
   ========================================================= */

@media (max-width: 820px) {

    .site-footer {
        padding:
            48px
            0
            20px !important;
    }

    .site-footer__main {
        display: block !important;

        padding-bottom: 32px !important;
    }


    /* Brand compact */

    .site-footer__brand {
        display: flex;
        align-items: flex-start;

        gap: 18px;

        margin-bottom: 34px;
    }

    .site-footer__logo img {
        width: 66px !important;
    }

    .site-footer__brand p {
        max-width: 260px;

        margin: 0 !important;

        font-size: 9px;
        line-height: 1.6;
    }


    /* 3 columns beside each other */

    .site-footer__nav {
        display: grid !important;

        grid-template-columns:
            .85fr
            1.25fr
            .9fr !important;

        gap: 18px !important;

        align-items: start;
    }


    .site-footer__column {
        min-width: 0;
    }


    .site-footer__column > span {
        margin-bottom: 14px !important;

        font-size: 7px !important;
        letter-spacing: .12em !important;
    }


    .site-footer__column a,
    .site-footer__column button {
        margin-bottom: 9px !important;

        font-size: 8px !important;
        line-height: 1.35 !important;

        word-break: normal;
    }


    /* stop last column spanning full row */

    .site-footer__column:last-child {
        grid-column: auto !important;
    }


    /* Bottom compact */

    .site-footer__bottom {
        min-height: 54px !important;

        display: flex !important;
        flex-direction: row !important;

        align-items: center !important;
        justify-content: space-between !important;

        gap: 18px !important;

        padding:
            14px
            0 !important;

        font-size: 7px !important;
    }

    .site-footer__bottom span:last-child {
        max-width: 180px;

        text-align: right;
    }

}


/* very small phones */

@media (max-width: 420px) {

    .site-footer__nav {
        grid-template-columns:
            .82fr
            1.18fr
            .88fr !important;

        gap: 11px !important;
    }

    .site-footer__column a,
    .site-footer__column button {
        font-size: 7.5px !important;
    }

    .site-footer__brand p {
        font-size: 8px;
    }

}

/* Footer social links */

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 6px 13px;

    margin:
        2px
        0
        12px;
}

.site-footer__socials a {
    margin: 0 !important;

    color: #a4afbf !important;

    white-space: nowrap;
}

.site-footer__socials a:hover {
    color: #ffffff !important;
}


/* Mobile */

@media (max-width: 820px) {

    .site-footer__socials {
        gap: 5px 9px;

        margin-bottom: 10px;
    }

    .site-footer__socials a {
        font-size: 7.5px !important;
    }

}

/* =========================================================
   SLANTFLOW ASSISTANT
   ========================================================= */

.sf-assistant {
    position: fixed;

    right: 26px;
    bottom: 26px;

    z-index: 99990;

    font-family:
        "Inter",
        sans-serif;
}


/* launcher */

.sf-assistant__launcher {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(122,106,255,.55);

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #246c9e,
            #5bafe3
        );

    color: #fff;

    box-shadow:
        0 12px 35px rgba(54,38,180,.35);

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.sf-assistant__launcher span {
    font-size: 14px;
    font-weight: 800;

    letter-spacing: -.04em;
}


.sf-assistant__launcher:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 16px 40px rgba(54,38,180,.45);
}


/* panel */

.sf-assistant__panel {
    position: absolute;

    right: 0;
    bottom: 68px;

    width: 340px;
    height: 500px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

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

    border-radius: 16px;

    background:
        #081224;

    box-shadow:
        0 25px 80px rgba(0,0,0,.48);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(10px)
        scale(.98);

    transform-origin:
        bottom right;

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


.sf-assistant.is-open
.sf-assistant__panel {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* header */

.sf-assistant__header {
    min-height: 72px;

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

    gap: 18px;

    padding:
        15px
        17px;

    border-bottom:
        1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            110deg,
            #3a90ca,
            #181833
        );
}


.sf-assistant__header strong {
    display: block;

    color: #fff;

    font-size: 13px;
}


.sf-assistant__header span {
    display: block;

    margin-top: 4px;

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

    font-size: 9px;
}


.sf-assistant__close {
    width: 32px;
    height: 32px;

    border: 0;

    background:
        transparent;

    color: #fff;

    font-size: 22px;

    cursor: pointer;
}


/* body */

.sf-assistant__body {
    flex: 1;

    min-height: 0;

    display: flex;
    flex-direction: column;

    padding:
        14px
        13px
        12px;

    overflow: hidden;
}


.sf-assistant__messages {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding-right: 4px;

    scrollbar-width: thin;
}


.sf-assistant__message {
    width: fit-content;
    max-width: 88%;

    margin-bottom: 10px;

    padding:
        10px
        11px;

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

    border-radius:
        10px
        10px
        10px
        3px;

    color: #dbe1eb;

    background:
        #0d192d;

    font-size: 10px;
    line-height: 1.55;
}


.sf-assistant__message--user {
    margin-left: auto;

    border:
        1px solid rgba(113,95,255,.45);

    border-radius:
        10px
        10px
        3px
        10px;

    background:
        linear-gradient(
            110deg,
            #3a90ca,
            #5bafe3
        );

    color: #fff;
}


/* quick questions */

.sf-assistant__quick {
    padding-top: 12px;
}


.sf-assistant__quick > span {
    display: block;

    margin-bottom: 8px;

    color: #728095;

    font-size: 8px;
}


.sf-assistant__quick button {
    min-height: 29px;

    margin:
        0
        4px
        5px
        0;

    padding:
        0
        9px;

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

    border-radius: 15px;

    background:
        transparent;

    color: #c6ceda;

    font-family: inherit;
    font-size: 8px;

    cursor: pointer;
}


.sf-assistant__quick button:hover {
    border-color:
        rgba(116,100,255,.55);

    color: #fff;
}


/* contextual action */

.sf-assistant__action {
    margin:
        -2px
        0
        11px;

    padding-left: 3px;
}


.sf-assistant__action a,
.sf-assistant__action button {
    padding: 0;

    border: 0;

    background: transparent;

    color: #5bafe3;

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

    cursor: pointer;
}


.sf-assistant__action--split {
    display: flex;

    gap: 15px;
}


/* input */

.sf-assistant__form {
    min-height: 58px;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        40px;

    gap: 7px;

    padding:
        9px
        10px;

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

    background:
        #07101e;
}


.sf-assistant__input {
    width: 100%;

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

    border-radius: 7px;

    outline: none;

    padding:
        0
        11px;

    background:
        #0a1425;

    color: #eef1f7;

    font-family: inherit;
    font-size: 10px;
}


.sf-assistant__input:focus {
    border-color:
        rgba(116,100,255,.65);
}


.sf-assistant__form button {
    border:
        1px solid rgba(128,111,255,.6);

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #3a90ca,
            #5bafe3
        );

    color: #fff;

    font-size: 18px;

    cursor: pointer;
}


/* MOBILE */

@media (max-width: 820px) {

    .sf-assistant {
        right: 16px;
        bottom: 18px;
    }


    .sf-assistant__launcher {
        width: 50px;
        height: 50px;
    }


    .sf-assistant__panel {
        position: fixed;

        right: 12px;
        bottom: 78px;

        width:
            min(
                360px,
                calc(100vw - 24px)
            );

        height:
            min(
                520px,
                calc(100vh - 110px)
            );
    }

}

/* =========================================================
   ASSISTANT V2 — LABEL / SIZE / POSITION
   ========================================================= */

.sf-assistant {
    right: 24px !important;

    /* Keep it above the WhatsApp widget */
    bottom: 102px !important;
}


/* launcher + explanatory label */

.sf-assistant__launcher {
    position: relative;

    width: 58px !important;
    height: 58px !important;
}

.sf-assistant__launcher::before {
    content: "Ask SlantFlow";

    position: absolute;

    right: calc(100% + 10px);
    top: 50%;

    transform:
        translateY(-50%);

    padding:
        8px
        11px;

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

    border-radius: 7px;

    background:
        rgba(7,16,31,.94);

    color: #e7ebf2;

    box-shadow:
        0 8px 24px rgba(0,0,0,.22);

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

    white-space: nowrap;

    pointer-events: none;

    opacity: 1;

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.sf-assistant.is-open
.sf-assistant__launcher::before {
    opacity: 0;

    transform:
        translateY(-50%)
        translateX(4px);
}


/* bigger panel */

.sf-assistant__panel {
    width: 390px !important;
    height: 570px !important;

    bottom: 72px !important;
}


/* larger header */

.sf-assistant__header {
    min-height: 80px !important;

    padding:
        17px
        19px !important;
}

.sf-assistant__header strong {
    font-size: 15px !important;
}

.sf-assistant__header span {
    font-size: 10px !important;
}


/* larger chat text */

.sf-assistant__body {
    padding:
        16px
        15px
        13px !important;
}

.sf-assistant__message {
    padding:
        11px
        13px !important;

    font-size: 11px !important;
    line-height: 1.6 !important;
}

.sf-assistant__quick > span {
    font-size: 9px !important;
}

.sf-assistant__quick button {
    min-height: 32px !important;

    padding:
        0
        10px !important;

    font-size: 9px !important;
}


/* actions */

.sf-assistant__action {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin:
        -1px
        0
        12px !important;
}

.sf-assistant__action a,
.sf-assistant__action button {
    min-height: 34px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        11px !important;

    border:
        1px solid rgba(115,100,255,.28) !important;

    border-radius: 6px;

    background:
        rgba(72,52,190,.10) !important;

    color: #5bafe3 !important;

    font-size: 9px !important;

    text-decoration: none;
}

.sf-assistant__action a:hover,
.sf-assistant__action button:hover {
    border-color:
        rgba(201,169,110,.45) !important;

    color: #fff !important;
}


/* input bigger */

.sf-assistant__form {
    min-height: 64px !important;

    grid-template-columns:
        minmax(0,1fr)
        44px !important;
}

.sf-assistant__input {
    font-size: 11px !important;
}


/* MOBILE */

@media (max-width: 820px) {

    .sf-assistant {
        right: 15px !important;
        bottom: 92px !important;
    }

    .sf-assistant__launcher {
        width: 54px !important;
        height: 54px !important;
    }

    .sf-assistant__launcher::before {
        right: calc(100% + 8px);

        padding:
            7px
            9px;

        font-size: 9px;
    }

    .sf-assistant__panel {
        position: fixed;

        right: 12px !important;
        bottom: 158px !important;

        width:
            min(
                390px,
                calc(100vw - 24px)
            ) !important;

        height:
            min(
                570px,
                calc(100vh - 180px)
            ) !important;
    }

}

/* =========================================================
   ASSISTANT TYPING INDICATOR
   ========================================================= */

.sf-assistant__typing {
    display: inline-flex !important;
    align-items: center;

    gap: 4px;

    min-width: 50px;

    padding:
        12px
        14px !important;
}

.sf-assistant__typing span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        #8f9bad;

    opacity: .35;

    animation:
        sf-assistant-typing
        1.1s
        infinite
        ease-in-out;
}

.sf-assistant__typing span:nth-child(2) {
    animation-delay: .14s;
}

.sf-assistant__typing span:nth-child(3) {
    animation-delay: .28s;
}

@keyframes sf-assistant-typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: .30;
    }

    30% {
        transform: translateY(-3px);
        opacity: 1;
    }

}

/* =========================================================
   FAQ
   ========================================================= */

.sf-home-faq {
    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            #030b18 0%,
            #020817 100%
        );

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

.sf-home-faq__head {
    margin-bottom: 55px;
}

.sf-home-faq h2 {
    max-width: 720px;

    margin: 0;

    color: #f4f6fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(46px, 4.3vw, 70px);

    font-weight: 600;

    line-height: .98;

    letter-spacing: -.045em;
}

.sf-home-faq h2 span {
    display: block;

    color: #5bafe3;
}

.sf-faq-list {
    border-top:
        1px solid rgba(255,255,255,.085);
}

.sf-faq-item {
    border-bottom:
        1px solid rgba(255,255,255,.075);
}

.sf-faq-item summary {
    min-height: 82px;

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

    gap: 30px;

    padding:
        0
        4px;

    color: #e9edf4;

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

    cursor: pointer;

    list-style: none;
}

.sf-faq-item summary::-webkit-details-marker {
    display: none;
}

.sf-faq-item summary span {
    flex-shrink: 0;

    color: var(--sf-gold);

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

    transition:
        transform .18s ease;
}

.sf-faq-item[open] summary span {
    transform: rotate(45deg);
}

.sf-faq-item__answer {
    max-width: 820px;

    padding:
        0
        0
        28px
        4px;

    color: #8190a2;

    font-size: 12px;
    line-height: 1.75;
}

@media (max-width: 820px) {

    .sf-home-faq {
        padding:
            85px
            0;
    }

    .sf-home-faq h2 {
        max-width: 350px;

        font-size: 42px;
    }

    .sf-faq-item summary {
        min-height: 74px;

        font-size: 13px;
        line-height: 1.4;
    }

    .sf-faq-item__answer {
        font-size: 11px;
    }

}

/* =========================================================
   BLOG
   ========================================================= */

.sf-blog {
    background: #020817;
}

.sf-blog-hero {
    min-height: 420px;

    display: flex;
    align-items: center;

    padding: 90px 0;

    background:
        radial-gradient(
            circle at 76% 15%,
            rgba(104,75,255,.10),
            transparent 35%
        ),
        #030b18;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

.sf-blog-hero h1 {
    margin: 0;

    color: #f4f6fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(54px, 5vw, 78px);

    font-weight: 600;

    line-height: .95;

    letter-spacing: -.05em;
}

.sf-blog-hero h1 span {
    display: block;

    color: #5bafe3;
}

.sf-blog-hero p {
    max-width: 600px;

    margin:
        26px
        0
        0;

    color: #8794a6;

    font-size: 13px;
    line-height: 1.7;
}

.sf-blog-listing {
    padding:
        90px
        0
        130px;
}

.sf-blog-grid {
    display: grid;

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

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

    border-left:
        1px solid rgba(255,255,255,.08);
}

.sf-blog-card {
    min-height: 320px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border-right:
        1px solid rgba(255,255,255,.08);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    transition:
        background .18s ease;
}

.sf-blog-card:hover {
    background:
        rgba(255,255,255,.016);
}

.sf-blog-card__meta {
    display: flex;

    gap: 12px;

    color: #667487;

    font-size: 8px;

    letter-spacing: .08em;

    text-transform: uppercase;
}

.sf-blog-card h2 {
    margin:
        52px
        0
        0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 29px;

    line-height: 1.05;

    letter-spacing: -.03em;
}

.sf-blog-card h2 a {
    color: #eef2f7;
}

.sf-blog-card p {
    margin:
        18px
        0
        0;

    color: #7c899a;

    font-size: 11px;

    line-height: 1.65;
}

.sf-blog-card__link {
    width: fit-content;

    margin-top: auto;
    padding-top: 25px;

    color: #5bafe3;

    font-size: 10px;
}

.sf-blog-empty {
    padding:
        90px
        0;

    color: #788699;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 30px;
}

@media (max-width: 1000px) {

    .sf-blog-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}

@media (max-width: 820px) {

    .sf-blog-hero {
        min-height: 350px;

        padding:
            70px
            0;
    }

    .sf-blog-hero h1 {
        font-size: 47px;
    }

    .sf-blog-listing {
        padding:
            65px
            0
            85px;
    }

    .sf-blog-grid {
        grid-template-columns: 1fr;
    }

    .sf-blog-card {
        min-height: 270px;

        padding: 25px 22px;
    }

}

/* =========================================================
   SINGLE ARTICLE
   ========================================================= */

.sf-article {
    background: #020817;
}


/* Reading progress */

.sf-reading-progress {
    position: fixed;

    z-index: 9998;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    pointer-events: none;
}

.sf-reading-progress span {
    display: block;

    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #5bafe3,
            var(--sf-gold)
        );
}


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

.sf-article-hero {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;

    padding:
        110px
        0
        95px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(99,73,255,.13),
            transparent 37%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(35,86,190,.07),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #030b19,
            #04101d
        );

    border-bottom:
        1px solid rgba(255,255,255,.065);
}


.sf-article-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size:
        68px
        68px;

    opacity: .55;
}


.sf-article-hero > .sf-container {
    position: relative;
    z-index: 2;
}


.sf-article-hero__meta {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 30px;

    color: #758397;

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

    letter-spacing: .11em;

    text-transform: uppercase;
}


.sf-article-hero__meta span {
    color: var(--sf-gold);
}


.sf-article-hero__meta i {
    width: 24px;
    height: 1px;

    background:
        rgba(255,255,255,.18);
}


.sf-article-hero h1 {
    max-width: 1050px;

    margin: 0;

    color: #f5f7fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(
            54px,
            5.4vw,
            86px
        );

    font-weight: 600;

    line-height: .96;

    letter-spacing: -.052em;
}


.sf-article-hero__excerpt {
    max-width: 730px;

    margin:
        32px
        0
        0;

    color: #909cad;

    font-size: 14px;
    line-height: 1.75;
}


.sf-article-hero__bottom {
    display: flex;
    align-items: center;

    gap: 35px;

    margin-top: 45px;

    color: #626f82;

    font-size: 9px;

    letter-spacing: .05em;
}


.sf-article-hero__bottom a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #5bafe3;
}


/* =========================================================
   ARTICLE BODY
   ========================================================= */

.sf-article-main {
    padding:
        100px
        0
        125px;

    background:
        linear-gradient(
            180deg,
            #020817,
            #030b18
        );
}


.sf-article-layout {
    width:
        min(
            1240px,
            calc(100% - 48px)
        );

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        170px
        minmax(0, 760px);

    justify-content: center;

    gap: 70px;
}


/* aside */

.sf-article-aside {
    position: relative;
}


.sf-article-aside__inner {
    position: sticky;

    top: 115px;

    display: flex;
    flex-direction: column;

    gap: 10px;

    padding-top: 9px;

    color: #677588;

    font-size: 8px;

    letter-spacing: .09em;

    text-transform: uppercase;
}


.sf-article-aside__inner > span {
    margin-bottom: 7px;

    color: var(--sf-gold);

    font-weight: 700;

    letter-spacing: .15em;
}


/* main reading column */

.sf-article-content {
    color: #a8b2c0;

    font-size: 16px;
    line-height: 1.9;
}


.sf-article-content > *:first-child {
    margin-top: 0;
}


.sf-article-content p {
    margin:
        0
        0
        27px;
}


.sf-article-content h2 {
    margin:
        72px
        0
        25px;

    color: #f0f3f8;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size:
        clamp(30px, 3vw, 43px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -.035em;
}


.sf-article-content h3 {
    margin:
        48px
        0
        18px;

    color: #e9edf3;

    font-size: 21px;
    font-weight: 650;

    line-height: 1.25;

    letter-spacing: -.02em;
}


.sf-article-content strong {
    color: #e7ebf2;
}


.sf-article-content a {
    color: #5bafe3;

    text-decoration:
        underline;

    text-decoration-color:
        rgba(165,150,255,.32);

    text-underline-offset: 4px;
}


.sf-article-content a:hover {
    color: #d1caff;
}


.sf-article-content ul,
.sf-article-content ol {
    margin:
        0
        0
        31px;

    padding-left: 23px;
}


.sf-article-content li {
    margin-bottom: 10px;

    padding-left: 5px;
}


.sf-article-content li::marker {
    color: #5bafe3;
}


.sf-article-content blockquote {
    margin:
        45px
        0;

    padding:
        5px
        0
        5px
        27px;

    border-left:
        2px solid var(--sf-gold);

    color: #c5ccd6;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 23px;
    line-height: 1.45;
}


/* code */

.sf-article-content pre {
    position: relative;

    margin:
        36px
        0;

    padding:
        25px
        27px;

    overflow-x: auto;

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

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #071224,
            #050d19
        );

    color: #cbd4e0;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);

    font-size: 12px;
    line-height: 1.7;

    tab-size: 4;
}


.sf-article-content pre code {
    padding: 0;

    border: 0;

    background: transparent;

    color: inherit;

    font-size: inherit;
}


.sf-article-content :not(pre) > code {
    padding:
        3px
        6px;

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

    border-radius: 4px;

    background:
        rgba(107,91,255,.08);

    color: #5bafe3;

    font-size: .86em;
}


/* horizontal separator */

.sf-article-content hr {
    margin:
        60px
        0;

    border: 0;
    border-top:
        1px solid rgba(255,255,255,.07);
}


/* =========================================================
   ARTICLE CTA
   ========================================================= */

.sf-article-cta {
    padding:
        0
        0
        110px;

    background: #030b18;
}


.sf-article-cta__box {
    min-height: 300px;

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

    gap: 60px;

    padding:
        60px
        65px;

    border:
        1px solid rgba(116,100,255,.22);

    border-radius: 18px;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(105,75,255,.17),
            transparent 42%
        ),
        linear-gradient(
            120deg,
            #071427,
            #0b1026
        );
}


.sf-article-cta__box > div > span {
    color: var(--sf-gold);

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

    letter-spacing: .18em;
}


.sf-article-cta h2 {
    margin:
        18px
        0
        0;

    color: #f5f7fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 47px;

    line-height: .98;

    letter-spacing: -.04em;
}


.sf-article-cta h2 strong {
    display: block;

    color: #5bafe3;
}


.sf-article-cta p {
    max-width: 500px;

    margin:
        20px
        0
        0;

    color: #7e8b9d;

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   RELATED ARTICLES
   ========================================================= */

.sf-related {
    padding:
        105px
        0
        125px;

    background: #020817;

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


.sf-related__head {
    margin-bottom: 50px;
}


.sf-related__head h2 {
    margin: 0;

    color: #f4f6fa;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 52px;

    line-height: .98;

    letter-spacing: -.04em;
}


.sf-related__head h2 span {
    color: #5bafe3;
}


.sf-related__grid {
    display: grid;

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

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

    border-left:
        1px solid rgba(255,255,255,.075);
}


.sf-related-card {
    min-height: 310px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border-right:
        1px solid rgba(255,255,255,.075);

    border-bottom:
        1px solid rgba(255,255,255,.075);

    transition:
        background .18s ease;
}


.sf-related-card:hover {
    background:
        rgba(255,255,255,.015);
}


.sf-related-card__meta {
    color: var(--sf-gold);

    font-size: 8px;

    letter-spacing: .11em;

    text-transform: uppercase;
}


.sf-related-card h3 {
    margin:
        45px
        0
        0;

    font-family:
        "Playfair Display",
        Georgia,
        serif;

    font-size: 28px;

    line-height: 1.06;

    letter-spacing: -.03em;
}


.sf-related-card h3 a {
    color: #eef1f6;
}


.sf-related-card p {
    margin:
        18px
        0
        0;

    color: #778496;

    font-size: 10px;
    line-height: 1.65;
}


.sf-related-card__link {
    display: inline-flex;

    gap: 8px;

    width: fit-content;

    margin-top: auto;
    padding-top: 25px;

    color: #5bafe3;

    font-size: 9px;
}


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

@media (max-width: 820px) {

    .sf-article-hero {
        min-height: 490px;

        padding:
            80px
            0
            70px;
    }


    .sf-article-hero h1 {
        max-width: 360px;

        font-size: 47px;
    }


    .sf-article-hero__excerpt {
        max-width: 340px;

        font-size: 11px;
    }


    .sf-article-main {
        padding:
            70px
            0
            90px;
    }


    .sf-article-layout {
        width:
            calc(100% - 32px);

        display: block;
    }


    .sf-article-aside {
        display: none;
    }


    .sf-article-content {
        font-size: 14px;

        line-height: 1.85;
    }


    .sf-article-content h2 {
        margin-top: 55px;

        font-size: 33px;
    }


    .sf-article-content h3 {
        font-size: 19px;
    }


    .sf-article-content pre {
        margin:
            30px
            -4px;

        padding:
            19px
            17px;

        font-size: 10px;
    }


    .sf-article-content blockquote {
        font-size: 19px;
    }


    .sf-article-cta {
        padding-bottom: 75px;
    }


    .sf-article-cta__box {
        min-height: 0;

        display: block;

        padding:
            42px
            24px;

        border-radius: 14px;
    }


    .sf-article-cta h2 {
        font-size: 38px;
    }


    .sf-article-cta .sf-button {
        margin-top: 28px;
    }


    .sf-related {
        padding:
            80px
            0
            90px;
    }


    .sf-related__head h2 {
        font-size: 42px;
    }


    .sf-related__grid {
        grid-template-columns: 1fr;
    }


    .sf-related-card {
        min-height: 250px;

        padding:
            25px
            22px;
    }

}


/* =========================================================
   BOOK A FREE CONSULTATION
   ========================================================= */

.sf-book-page {
    overflow: hidden;
}

.sf-book-hero {
    position: relative;
    padding: 155px 0 110px;
}

.sf-book-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.sf-book-hero > .sf-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,.82fr) minmax(500px,1.18fr);
    gap: 90px;
    align-items: start;
}

.sf-book-hero__intro {
    padding-top: 40px;
}

.sf-book-hero__intro h1 {
    max-width: 570px;
    margin: 24px 0 0;
    color: #eef1f6;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(54px,5.3vw,82px);
    line-height: .96;
    letter-spacing: -.055em;
}

.sf-book-hero__intro h1 span {
    display: block;
    color: #5bafe3;
}

.sf-book-hero__intro > p {
    max-width: 510px;
    margin: 30px 0 0;
    color: #8290a3;
    font-size: 13px;
    line-height: 1.8;
}

.sf-book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 35px;
}

.sf-book-meta span {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    color: #a9b2c0;
    font-size: 9px;
    letter-spacing: .035em;
}

.sf-book-calendar {
    min-height: 600px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.018);
    overflow: hidden;
}

.sf-book-calendar__head {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.sf-book-calendar__head > div:first-child {
    display: flex;
    align-items: center;
    gap: 17px;
}

.sf-book-calendar__head span {
    color: #5bafe3;
    font-size: 9px;
    letter-spacing: .1em;
}

.sf-book-calendar__head h2 {
    margin: 0;
    color: #edf0f5;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    font-weight: 500;
}

.sf-book-timezone {
    color: #707d8f;
    font-size: 9px;
    letter-spacing: .04em;
}

.sf-book-calendar__placeholder {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    text-align: center;
}

.sf-book-calendar__mark {
    width: 58px;
    height: 58px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 5px;
    align-items: end;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid rgba(112,99,255,.28);
    border-radius: 14px;
}

.sf-book-calendar__mark span {
    display: block;
    background: #5bafe3;
    border-radius: 2px;
}

.sf-book-calendar__mark span:nth-child(1) {
    height: 45%;
}

.sf-book-calendar__mark span:nth-child(2) {
    height: 100%;
}

.sf-book-calendar__mark span:nth-child(3) {
    height: 68%;
}

.sf-book-calendar__placeholder h3 {
    margin: 0;
    color: #eef1f6;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 31px;
    font-weight: 500;
}

.sf-book-calendar__placeholder p {
    margin: 12px 0 0;
    color: #778496;
    font-size: 11px;
}

.sf-book-calendar__status {
    margin-top: 24px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: #778496;
    font-size: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sf-book-expect {
    padding: 105px 0 125px;
    border-top: 1px solid rgba(255,255,255,.065);
}

.sf-book-expect__heading span {
    color: #5bafe3;
    font-size: 9px;
    letter-spacing: .12em;
}

.sf-book-expect__heading h2 {
    max-width: 700px;
    margin: 18px 0 50px;
    color: #eef1f6;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px,4.2vw,62px);
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 500;
}

.sf-book-expect__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.075);
    border-left: 1px solid rgba(255,255,255,.075);
}

.sf-book-expect__grid article {
    min-height: 250px;
    padding: 28px;
    border-right: 1px solid rgba(255,255,255,.075);
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.sf-book-expect__grid article > span {
    color: #5bafe3;
    font-size: 9px;
}

.sf-book-expect__grid h3 {
    margin: 65px 0 0;
    color: #eef1f6;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    font-weight: 500;
}

.sf-book-expect__grid p {
    max-width: 300px;
    margin: 15px 0 0;
    color: #778496;
    font-size: 10px;
    line-height: 1.7;
}


@media (max-width: 900px) {

    .sf-book-hero {
        padding: 120px 0 80px;
    }

    .sf-book-hero > .sf-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .sf-book-hero__intro {
        padding-top: 0;
    }

    .sf-book-hero__intro h1 {
        font-size: 53px;
    }

    .sf-book-calendar {
        min-height: 520px;
    }

    .sf-book-calendar__placeholder {
        min-height: 420px;
    }

    .sf-book-expect {
        padding: 80px 0 95px;
    }

    .sf-book-expect__grid {
        grid-template-columns: 1fr;
    }

    .sf-book-expect__grid article {
        min-height: 210px;
    }

}


@media (max-width: 560px) {

    .sf-book-calendar__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .sf-book-meta {
        gap: 7px;
    }

}


/* =========================================================
   SLANTFLOW BOOKING UI
   ========================================================= */

.sfb-body {
    padding: 28px;
}

.sfb-step {
    margin-bottom: 30px;
}

.sfb-step > label,
.sfb-form label {
    display: block;
    margin-bottom: 10px;
    color: #7e8999;
    font-size: 9px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sfb-date,
.sfb-fields input,
.sfb-fields select,
.sfb-message textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    outline: none;
    background: rgba(255,255,255,.025);
    color: #eef1f6;
    font: inherit;
}

.sfb-date {
    max-width: 260px;
    color-scheme: dark;
}

.sfb-message textarea {
    min-height: 105px;
    padding-top: 14px;
    resize: vertical;
}

.sfb-fields select {
    appearance: auto;
    color-scheme: dark;
}

.sfb-date:focus,
.sfb-fields input:focus,
.sfb-fields select:focus,
.sfb-message textarea:focus {
    border-color: rgba(112,99,255,.7);
}

.sfb-slots {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 9px;
}

.sfb-slot {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: transparent;
    color: #d7dce5;
    cursor: pointer;
    transition: .18s ease;
}

.sfb-slot:hover {
    border-color: rgba(112,99,255,.6);
    background: rgba(112,99,255,.07);
}

.sfb-slot.is-selected {
    border-color: #5bafe3;
    background: #5bafe3;
    color: #fff;
}

.sfb-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 8px;
    color: #687486;
    font-size: 10px;
    text-align: center;
}

.sfb-form {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.075);
}

.sfb-form[hidden] {
    display: none !important;
}

.sfb-selected {
    margin-bottom: 25px;
    padding: 16px;
    border: 1px solid rgba(112,99,255,.22);
    border-radius: 9px;
    background: rgba(112,99,255,.055);
}

.sfb-selected span {
    display: block;
    margin-bottom: 5px;
    color: #5bafe3;
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sfb-selected strong {
    color: #eef1f6;
    font-size: 11px;
    font-weight: 500;
}

.sfb-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.sfb-message {
    margin-top: 18px;
}

.sfb-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    border: 0;
    border-radius: 8px;
    background: #5bafe3;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.sfb-submit:hover {
    opacity: .92;
}

.sfb-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.sfb-status {
    min-height: 0;
    margin-top: 15px;
    color: #ff8585;
    font-size: 10px;
}

.sfb-hp {
    position: absolute !important;
    left: -99999px !important;
    opacity: 0 !important;
}

.sfb-success {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 25px;
    text-align: center;
}

.sfb-success__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(112,99,255,.45);
    border-radius: 50%;
    color: #5bafe3;
    font-size: 21px;
}

.sfb-success > span {
    color: #5bafe3;
    font-size: 8px;
    letter-spacing: .12em;
}

.sfb-success h2 {
    margin: 14px 0 0;
    color: #eef1f6;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 38px;
    font-weight: 500;
}

.sfb-success p {
    margin: 18px 0 0;
    color: #a5afbd;
    font-size: 12px;
    line-height: 1.8;
}

.sfb-success small {
    margin-top: 17px;
    color: #687486;
}


@media (max-width: 560px) {

    .sfb-body {
        padding: 20px;
    }

    .sfb-slots {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .sfb-fields {
        grid-template-columns: 1fr;
    }

    .sfb-date {
        max-width: none;
    }

}

/* Booking project type dropdown fix */
.sfb-fields select {
    background-color: #0b1220;
    color: #eef1f6;
    color-scheme: dark;
}

.sfb-fields select option {
    background-color: #0b1220;
    color: #eef1f6;
}

.sfb-fields select option:checked {
    background-color: #171d35;
    color: #ffffff;
}


/* SLANTFLOW_NAVY_BRAND_V1 */
:root { --sf-blue: #0d3b66; --sf-blue-2: #24618c; --sf-brand-navy: #0d3b66; --sf-brand-light: #85b6d8; }
/* Use navy for branded surfaces while preserving the existing dark premium design. */
.sf-topbar { background: linear-gradient(90deg, #06192c 0%, #0d3b66 60%, #175487 100%); }
.site-header__cta { background: linear-gradient(135deg, #0d3b66, #175487); border-color: rgba(133,182,216,.42); color: #fff; }
.site-header__cta:hover { background: #175487; }
.site-logo__image { object-fit: contain; max-width: 100%; }
.site-footer__logo img { object-fit: contain; }
/* Additional navy accents across links, highlighted copy and buttons. */
:where(.site-nav,.site-footer__nav) a:focus-visible { outline: 2px solid #85b6d8; outline-offset: 3px; }


/* SLANTFLOW_NAVY_SITEWIDE_V2 */
:root {
  --sf-blue: #0d3b66;
  --sf-blue-2: #246c9e;
  --sf-brand-navy: #0d3b66;
  --sf-brand-light: #85bde6;
  --sf-brand-accent: #3a90ca;
}
/* All generic accent/gradients inherit converted navy/blue palette above.
   Keep the nearly-black premium backgrounds so white text stays legible. */
.site-header__cta,
.sf-btn--primary { background: linear-gradient(135deg,#0d3b66,#246c9e); color:#fff; }
.site-header__cta:hover,
.sf-btn--primary:hover { background: #246c9e; }
.site-logo { display:inline-flex; align-items:center; width:190px; min-width:190px; max-width:190px; overflow:visible; }
.site-logo__image { display:block; width:190px !important; height:62px !important; max-width:none !important; object-fit:contain; object-position:left center; }
.site-header__inner { min-height:86px; height:auto; }
.site-footer__logo { display:inline-flex; align-items:center; }
.site-footer__logo img { width:205px !important; max-width:100%; height:auto !important; object-fit:contain; }
@media(max-width:820px){
 .site-logo { width:145px; min-width:145px; max-width:145px; }
 .site-logo__image { width:145px !important; height:53px !important; }
 .site-header__inner { min-height:68px; }
 .site-footer__logo img { width:160px !important; }
}
@media(max-width:390px){
 .site-logo {width:120px;min-width:120px;max-width:120px;}
 .site-logo__image {width:120px !important;height:48px !important;}
}
