/* ══════════════════════════════
   START PROJECT MODAL
══════════════════════════════ */
#sp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(8, 8, 8, .88);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s var(--ex);
}

#sp-backdrop.open {
    opacity: 1;
    pointer-events: auto
}

#sp-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(.97);
    z-index: 99991;
    width: min(96vw, 980px);
    max-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 340px;
    background: var(--w);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04);
    transition: opacity .45s var(--ex), transform .45s var(--ex);
}

#sp-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1)
}

/* close */
#sp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--c2);
    background: var(--w);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: auto !important;
    color: var(--c4);
    transition: background .25s, border-color .25s, color .25s, transform .35s var(--ex);
}

#sp-close:hover {
    background: var(--bk);
    border-color: var(--bk);
    color: #fff;
    transform: rotate(90deg)
}


.sp-left {
    padding: 52px 48px 48px;
    overflow-y: auto;
    max-height: 90vh;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.sp-right {
    min-height: 0;
}

.sp-left::-webkit-scrollbar {
    width: 4px
}

.sp-left::-webkit-scrollbar-track {
    background: transparent
}

.sp-left::-webkit-scrollbar-thumb {
    background: var(--c2);
    border-radius: 2px
}

.sp-ey {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px
}

.sp-ey::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--g)
}

.sp-h {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 36px;
    color: var(--bk)
}

.sp-h em {
    font-family: 'DM Serif Display', serif;
    font-style: italic
}

/* form fields */
.sp-form {
    display: flex;
    flex-direction: column;
    gap: 0
}

.sp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.sp-row.single {
    grid-template-columns: 1fr
}

.sp-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative
}

.sp-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c4);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px
}

.sp-label span {
    color: var(--g)
}

.sp-input,
.sp-textarea,
.sp-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--c2);
    padding: 12px 0;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -.01em;
    color: var(--bk);
    outline: none;
    transition: border-color .3s;
    -webkit-appearance: none;
    border-radius: 0;
    font-family: inherit;
}

.sp-phone-input {
    width: 100%;

}

.sp-phone-field .iti {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--c2);
    transition: border-color .3s;
    min-height: 46px;
}

.sp-phone-field .iti:focus-within {
    border-bottom-color: var(--g);
}

.sp-phone-field .iti--separate-dial-code .iti__selected-country {
    background: transparent;
    padding: 0 10px 0 0 !important;
}

.sp-phone-field .iti__selected-country {
    border: none;
    border-radius: 0;
    height: 100%;
    color: var(--bk);
    display: flex;
    align-items: center;
    gap: 2px;
}

.sp-phone-field .iti input.sp-phone-input {
    border: none;
    border-bottom: none;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 0;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: -.01em;
    color: var(--bk);
    background: transparent;
    box-shadow: none;
    height: auto;
}

.sp-phone-field .iti input.sp-phone-input:focus {
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
}

.sp-phone-field .iti__selected-dial-code {
    font-size: 14px;
    font-weight: 400;
    color: var(--bk);
    margin-left: 0;
    white-space: nowrap;
}

.sp-phone-field .iti__selected-country-primary {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding-right: 0 !important;
    order: 1;
}

.sp-phone-field .iti__flag {
    flex: 0 0 auto;
    display: inline-block;
    margin-right: 0;
    order: 1;
}

.sp-phone-field .iti__selected-dial-code {
    order: 2;
}

.sp-phone-field .iti__selected-country-name,
.sp-phone-field .iti__country-name,
.sp-phone-field .iti__a11y-text {
    display: none !important;
}

.sp-phone-field .iti__country-container {
    left: 0;
}

.sp-phone-field .iti__flag-container {
    padding-bottom: 0;
}

.sp-phone-field .iti__arrow {
    border-top-color: var(--c4);
    margin-left: 0;
    order: 3;
}

.sp-phone-field .iti__arrow--up {
    border-bottom-color: var(--c4);
}

.sp-phone-field .iti__dropdown-content {
    border: 1px solid var(--c2);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
    background: var(--w);
}

.sp-phone-field .iti__search-input {
    border: none;
    border-bottom: 1px solid var(--c2);
    font-family: inherit;
    font-size: 14px;
    padding: 12px 14px;
    outline: none;
}

.sp-phone-field .iti__country {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    padding: 10px 14px;
}

.sp-phone-field .iti__country.iti__highlight {
    background: rgba(60, 182, 94, .08);
}

.sp-phone-field .iti--show-flags .iti__selected-country-primary {
    padding-left: 0;
}

.sp-input::placeholder,
.sp-textarea::placeholder {
    color: var(--c4);
    font-size: 14px
}

.sp-input:focus,
.sp-textarea:focus,
.sp-select:focus {
    border-color: var(--g)
}

.sp-textarea {
    resize: none;
    min-height: 90px;
    line-height: 1.6
}

.sp-select {
    cursor: auto !important;
    background: transparent;
    color: var(--bk)
}

.sp-select option {
    color: var(--bk);
    background: var(--w)
}

.sp-field::after {
    display: none
}

.sp-field:focus-within::after {
    width: 0
}

.sp-error {
    margin-top: 6px;
    line-height: 1.3;
}

/* service pills */
.sp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px
}

.sp-pill {
    padding: 8px 16px;
    border: 1px solid var(--c2);
    border-radius: 100px;
    font-size: 12.5px;
    color: var(--c6);
    cursor: auto !important;
    user-select: none;
    transition: background .22s, border-color .22s, color .22s;
}

.sp-pill:hover {
    border-color: var(--c4);
    color: var(--bk)
}

.sp-pill.sel {
    background: var(--bk);
    border-color: var(--bk);
    color: #fff
}

/* budget */
.sp-budget-disp {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--c6);
    margin-bottom: 12px
}

.sp-budget-num {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -.02em;
    color: var(--bk)
}

input[type=range].sp-range {
    width: 100%;
    height: 2px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--c2);
    border-radius: 2px;
    outline: none;
    cursor: auto !important;
}

input[type=range].sp-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--g);
    cursor: auto !important;
    box-shadow: 0 0 0 4px rgba(60, 182, 94, .12);
}

/* submit */
.sp-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--c2);
    margin-top: 8px
}

.sp-note {
    font-size: 12px;
    color: var(--c4);
    display: flex;
    align-items: center;
    gap: 6px
}

.sp-note::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--g);
    flex-shrink: 0
}

.sp-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 32px;
    background: var(--bk);
    color: var(--w);
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 100px;
    cursor: auto !important;
    position: relative;
    overflow: hidden;
    border: none;
    font-family: inherit;
}

.sp-submit-fill {
    position: absolute;
    inset: 0;
    background: var(--g);
    border-radius: 100px;
    transform: scale(0);
    transform-origin: center;
    transition: transform .5s var(--ex)
}

.sp-submit span,
.sp-submit svg {
    position: relative;
    z-index: 1
}

.sp-submit:hover .sp-submit-fill {
    transform: scale(1)
}

.sp-submit svg {
    transition: transform .3s var(--ex)
}

.sp-submit:hover svg {
    transform: translate(4px, -4px)
}

/* success */
.sp-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    gap: 20px;
}

.sp-success.show {
    display: flex
}

.sp-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(60, 182, 94, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g);
    animation: sp-pop .5s var(--ex);
}

@keyframes sp-pop {
    0% {
        transform: scale(0)
    }

    100% {
        transform: scale(1)
    }
}

.sp-success-h {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: -.02em
}

.sp-success-p {
    font-size: 14px;
    color: var(--c6);
    line-height: 1.65;
    max-width: 260px
}

.sp-success-back {
    font-size: 13px;
    color: var(--g);
    cursor: auto !important;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    background: none;
    border: none;
    font-family: inherit;
    transition: gap .3s var(--ex)
}

.sp-success-back:hover {
    gap: 10px
}

/* RIGHT — info panel */
.sp-right {
    background: var(--bk);
    display: flex;
    flex-direction: column;
    padding: 52px 40px 48px;
    position: relative;
    overflow: hidden;
}

.sp-right-orb {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 182, 94, .1) 0%, transparent 65%);
    pointer-events: none
}

.sp-right-ey {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative
}

.sp-right-ey::before {
    content: '';
    width: 14px;
    height: 1px;
    background: var(--g)
}

.sp-right-h {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 300;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 16px;
    position: relative
}

.sp-right-h em {
    font-family: 'DM Serif Display', serif;
    font-style: italic
}

.sp-right-sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .38);
    line-height: 1.7;
    margin-bottom: 36px;
    position: relative
}

/* promise box */
.sp-promise {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    background: rgba(60, 182, 94, .08);
    border: 1px solid rgba(60, 182, 94, .14);
    border-radius: 10px;
    margin-bottom: 32px;
    position: relative;
}

.sp-promise-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(60, 182, 94, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g);
    flex-shrink: 0;
    margin-top: 1px
}

.sp-promise-text {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.6
}

.sp-promise-text strong {
    display: block;
    color: rgba(255, 255, 255, .8);
    font-weight: 500;
    margin-bottom: 3px;
    font-size: 13px
}

/* trust items */
.sp-trust {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
    position: relative
}

.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .35)
}

.sp-trust-item::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--g);
    flex-shrink: 0
}

/* ══════════════════════════════
   JOIN OUR TEAM
══════════════════════════════ */
#careers-teaser {
    background: var(--bk);
    position: relative;
    overflow: hidden;
}

.ct-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .016) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .016) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none
}

.ct-orb {
    position: absolute;
    top: -15%;
    right: -5%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 182, 94, .08) 0%, transparent 65%);
    pointer-events: none;
    animation: ct-orb 9s ease-in-out infinite
}

@keyframes ct-orb {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.1);
        opacity: .6
    }
}

/* Project inquiry modal responsive */
@media (max-width: 1024px) {
    #sp-modal {
        width: min(96vw, 920px);
        max-height: 94vh;
        grid-template-columns: 1fr !important;
    }

    #sp-modal .sp-left {
        max-height: none;
        padding: 56px 22px 28px;
    }

    #sp-modal .sp-right {
        padding: 26px 22px 28px;
    }

    #sp-modal .sp-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #sp-modal .sp-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    #sp-modal {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        transform: translate(-50%, -50%) scale(1);
        grid-template-columns: 1fr !important;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #sp-modal.open {
        transform: translate(-50%, -50%) scale(1);
    }

    #sp-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }

    #sp-modal .sp-left {
        padding: 52px 14px 20px;
        overflow: visible;
        max-height: none;
        flex: 0 0 auto;
    }

    #sp-modal .sp-right {
        padding: 22px 14px 26px;
        overflow: visible;
        min-height: auto;
        flex: 0 0 auto;
        height: auto;
        position: static;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    #sp-modal .sp-right-sub {
        margin-bottom: 14px;
    }

    #sp-modal .sp-promise {
        margin-bottom: 14px;
    }

    #sp-modal .sp-trust {
        gap: 8px;
        margin-top: 0;
    }
}

.ct-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
    padding: 120px var(--pad);
    position: relative;
    z-index: 1;
}

.ct-ey {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px
}

.ct-ey::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--g)
}

.ct-h {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 300;
    letter-spacing: -.038em;
    line-height: 1.06;
    color: #fff;
    margin-bottom: 22px
}

.ct-h em {
    font-family: 'DM Serif Display', serif;
    font-style: italic
}

.ct-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .38);
    line-height: 1.75;
    max-width: 360px;
    margin-bottom: 44px
}

/* CTA button */
.ct-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    cursor: auto !important;
    transition: transform .3s var(--ex);
}

.ct-cta-fill {
    position: absolute;
    inset: 0;
    background: var(--g);
    border-radius: 100px;
    transform: scale(0);
    transform-origin: center;
    transition: transform .5s var(--ex)
}

.ct-cta span,
.ct-cta svg {
    position: relative;
    z-index: 1
}

.ct-cta:hover .ct-cta-fill {
    transform: scale(1)
}

.ct-cta:hover {
    transform: translateY(-2px)
}

.ct-cta svg {
    transition: transform .3s var(--ex)
}

.ct-cta:hover svg {
    transform: translate(3px, -3px)
}

/* role rows */
.ct-roles {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.ct-role {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    cursor: auto !important;
    position: relative;
    overflow: hidden;
    transition: padding-left .4s var(--ex);
}

.ct-role:hover {
    padding-left: 10px
}

.ct-role-fill {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .03);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ex)
}

.ct-role:hover .ct-role-fill {
    transform: scaleX(1)
}

.ct-role::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--g);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .45s var(--ex)
}

.ct-role:hover::before {
    transform: scaleY(1)
}

.ct-role-body {
    flex: 1;
    position: relative;
    z-index: 1
}

.ct-role-title {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    letter-spacing: -.01em;
    margin-bottom: 4px;
    transition: color .25s
}

.ct-role:hover .ct-role-title {
    color: #fff
}

.ct-role-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .03em
}

.ct-role-tag {
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--g);
    background: rgba(60, 182, 94, .1);
    border: 1px solid rgba(60, 182, 94, .2);
    padding: 4px 12px;
    border-radius: 100px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background .3s, border-color .3s;
}

.ct-role:hover .ct-role-tag {
    background: rgba(60, 182, 94, .18);
    border-color: rgba(60, 182, 94, .35)
}

.ct-role-arr {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .3);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(.7) rotate(-20deg);
    transition: opacity .3s, transform .4s var(--ex), background .3s, border-color .3s, color .3s;
}

.ct-role:hover .ct-role-arr {
    opacity: 1;
    transform: scale(1) rotate(0);
    background: var(--g);
    border-color: var(--g);
    color: #fff
}

.ct-role-all .ct-role-title {
    color: rgba(255, 255, 255, .45);
    font-size: 14px
}

.ct-role-all:hover .ct-role-title {
    color: var(--g)
}

.ct-role-all .ct-role-tag {
    display: none
}
