:root {
    --bg-start: #be4fc1;
    --bg-middle: #8c62d6;
    --bg-end: #77b5d6;
    --grid-color: 255, 255, 255;
    --grid-opacity: .06;
    --grid-size: 48px;
    --text: #fff;
    --accent: #f09cff;
    --toast-min-height: 48px;
    --content-max: 1220px;
    --header-max: 1320px;
    --header-h: clamp(88px, 11vh, 144px);
    --section-pad: clamp(56px, 9vw, 140px);
    --section-gap: clamp(28px, 4vw, 56px);
    --section-gap-lg: clamp(40px, 6vw, 72px)
}

@font-face {
    font-family: "Satoshi";
    src: url("/assets/fonts/Satoshi-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: optional;
    size-adjust: 100%
}

@font-face {
    font-family: "Satoshi";
    src: url("/assets/fonts/Satoshi-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: optional;
    size-adjust: 100%
}

@font-face {
    font-family: "Satoshi";
    src: url("/assets/fonts/Satoshi-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: optional;
    size-adjust: 100%
}

.container {
    width: min(100% - 32px, var(--content-max));
    margin-inline: auto
}

/* Light theme base styles */
body.theme-light {
    background: #efefef;
    color: #111
}

body.theme-light .brand img {
    filter: invert(64%)
}

body.theme-light .nav {
    color: #151515
}

.container-wide {
    width: min(100%, var(--header-max));
    margin-inline: auto;
    padding-inline: clamp(16px, 5vw, 40px)
}

html,
body {
    min-height: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-synthesis: none
}

* {
    box-sizing: border-box
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial;
    background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
    overflow-x: hidden
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-linear-gradient(0deg, rgba(var(--grid-color), var(--grid-opacity)) 0, rgba(var(--grid-color), var(--grid-opacity)) 1px, transparent 1px, transparent var(--grid-size)), repeating-linear-gradient(90deg, rgba(var(--grid-color), var(--grid-opacity)) 0, rgba(var(--grid-color), var(--grid-opacity)) 1px, transparent 1px, transparent var(--grid-size));
    -webkit-mask-image: radial-gradient(130% 90% at 50% 26%, #000 28%, transparent 60%), linear-gradient(to bottom, #000 0 58%, transparent 72% 100%);
    mask-image: radial-gradient(130% 90% at 50% 26%, #000 28%, transparent 60%), linear-gradient(to bottom, #000 0 58%, transparent 72% 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat
}

header.container-wide {
    position: relative;
    z-index: 2;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    padding-block: clamp(16px, 2.6vw, 34px)
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%
}

.brand img {
    display: block;
    width: 120px;
    height: auto
}

.nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 16px;
    opacity: .95
}

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

.footer {
    background: #efefef
}

.site-footer {
    background: #efefef;
    color: #111;
    padding-block: clamp(28px, 5vw, 56px);
    border-top: 1px solid rgba(0, 0, 0, .06)
}

.foot-wrap {
    display: grid;
    place-items: center;
    gap: clamp(12px, 2.4vw, 20px);
    text-align: center;
    padding: 30px 0
}

.foot-logo {
    display: block;
    width: clamp(96px, 14vw, 140px);
    height: auto;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0))
}

/* Enhanced Footer for Sitelinks Optimization */
/* ==========================================
   FOOTER STYLES - Consolidated & Responsive
   ========================================== */

/* Footer wrapper */
.footer {
    background: #efefef;
}

/* Main grid layout */
.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    width: 100%;
    max-width: 1100px;
    text-align: left;
    padding: clamp(40px, 6vw, 64px) 0;
    align-items: start;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .foot-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Brand column */
.foot-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.foot-brand a {
    display: inline-block;
}

.foot-logo {
    display: block;
    width: clamp(96px, 14vw, 140px);
    height: auto;
}

.foot-tagline {
    font-size: clamp(14px, 1.4vw, 16px);
    color: rgba(17, 17, 17, .7);
    margin: 0;
    max-width: 280px;
    line-height: 1.5;
}

/* Navigation sections */
.foot-nav-section {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 20px);
}

.foot-nav-title {
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111;
    margin: 0;
}

.foot-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.foot-nav a {
    color: rgba(17, 17, 17, .75);
    text-decoration: none;
    font-size: clamp(14px, 1.3vw, 15px);
    transition: color .2s ease;
}

.foot-nav a:hover {
    color: #111;
}

/* Locations - ALIGNED WITH CSS GRID */
.foot-locations {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foot-locations li {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 10px;
    font-size: clamp(13px, 1.3vw, 14px);
    color: rgba(17, 17, 17, .7);
    line-height: 1.5;
}

.foot-locations li img.flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}

/* Footer bottom */
.foot-bottom {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .08);
    padding: clamp(20px, 3vw, 28px) 0;
    text-align: center;
}

.foot-copy {
    margin: 0;
    font-size: clamp(11px, 1.2vw, 14px);
    color: rgba(17, 17, 17, .7);
}

/* ==========================================
   FOOTER THEME OVERRIDES
   ========================================== */

/* Light theme (solutions, showcase, contact, blog) */
body.theme-light .foot-nav-title {
    color: #111;
}

body.theme-light .foot-nav a {
    color: rgba(17, 17, 17, .75);
}

body.theme-light .foot-nav a:hover {
    color: #111;
}

body.theme-light .foot-locations li {
    color: rgba(17, 17, 17, .7);
}

body.theme-light .foot-tagline,
body.theme-light .foot-copy {
    color: rgba(17, 17, 17, .7);
}

/* Dark theme (homepage) */
@media (prefers-color-scheme:dark) {
    body:not(.theme-light) .foot-nav-title {
        color: #fff;
    }

    body:not(.theme-light) .foot-nav a {
        color: rgba(255, 255, 255, .75);
    }

    body:not(.theme-light) .foot-nav a:hover {
        color: #fff;
    }

    body:not(.theme-light) .foot-locations li {
        color: rgba(255, 255, 255, .7);
    }

    body:not(.theme-light) .foot-tagline,
    body:not(.theme-light) .foot-copy {
        color: rgba(255, 255, 255, .7);
    }

    body:not(.theme-light) .foot-bottom {
        border-top-color: rgba(255, 255, 255, .1);
    }
}

/* Legacy footer compatibility */
.site-footer {
    background: #efefef;
}
.hero {
    position: relative;
    z-index: 1;
    padding: 0;
    min-height: calc(100dvh - var(--header-h));
    display: grid;
    grid-template-rows: 1fr auto 1fr 40dvh;
    gap: 0
}

.eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    opacity: .95
}

.eyebrow .dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: #ee64ff
}

.copy {
    grid-row: 2
}

.copy h1 {
    margin: 0.5ch auto;
    text-align: center;
    line-height: 1.06;
    font-size: clamp(42px, 5.3vw, 89px);
    max-width: 22ch;
    font-family: "Satoshi", sans-serif
}

.projects-inline {
    grid-row: 4;
    position: relative;
    width: 100svw;
    height: 100%;
    margin-left: calc(50% - 50svw);
    overflow: hidden;
    align-self: end;
    min-height: clamp(220px, 40svh, 420px)
}

.projects-clip {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.sheet {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .28))
}

.marquee {
    display: flex;
    gap: 0;
    height: 100%;
    width: max-content;
    animation: scrollX 60s linear infinite;
    will-change: transform;
    line-height: 0
}

@media (prefers-reduced-motion:reduce) {
    .marquee {
        animation: none
    }
}

@keyframes scrollX {
    from {
        transform: translate3d(0, 0, 0)
    }

    to {
        transform: translate3d(-50%, 0, 0)
    }
}

figure {
    margin: 0
}

.project {
    flex: 0 0 auto;
    display: block;
    width: clamp(200px, 32vw, 360px);
    aspect-ratio: var(--project-aspect, 3 / 4);
    overflow: hidden;
    background-color: rgba(255, 255, 255, .08);
    background-image: var(--project-placeholder, none);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}

.project img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block
}

@media (max-width:640px) {
    .project {
        width: clamp(180px, 72vw, 280px)
    }
}

.slice-light {
    background: #efefef;
    padding-block: var(--section-pad);
    color: #111
}

.about-block {
    display: grid;
    gap: clamp(40px, 6vw, 80px)
}

.about-lede {
    font-family: "Satoshi", sans-serif;
    font-size: clamp(22px, 2.6vw, 40px);
    line-height: 1.3;
    text-align: center;
    max-width: 48ch;
    margin: 0 auto
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 4vw, 40px);
    align-items: start;
    text-align: center
}

.stat {
    display: grid;
    gap: 8px
}

.stat-value {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: clamp(42px, 7vw, 96px);
    line-height: 1
}

.stat-label {
    font-size: 14px;
    color: rgba(17, 17, 17, .65)
}

@media (max-width:720px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 28px
    }
}

.slice-light.process {
    background: #efefef;
    padding-block: var(--section-pad);
    color: #111
}

.process-title {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.15;
    margin: 0 0 var(--section-gap-lg)
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: var(--section-gap-lg)
}

.process-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: clamp(28px, 3.6vw, 48px);
    min-height: clamp(280px, 36vw, 420px);
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 16px
}

.card-title {
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 1.8vw, 24px);
    margin: 0
}

.card-copy {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .78);
    max-width: 42ch
}

.step-number {
    position: absolute;
    left: clamp(24px, 3vw, 40px);
    bottom: clamp(20px, 3vw, 36px);
    font-family: "Satoshi", sans-serif;
    line-height: .9;
    font-size: clamp(88px, 10vw, 180px);
    user-select: none;
    pointer-events: none
}

.step-number.strong {
    color: rgba(0, 0, 0, .85)
}

.step-number.soft {
    color: rgba(0, 0, 0, .22)
}

.step-number.softer {
    color: rgba(0, 0, 0, .14)
}

.process-card .step-number {
    color: rgba(0, 0, 0, .22);
    transition: color 1.2s ease
}

.process-card:hover .step-number {
    color: #111
}

.process-cta {
    display: flex;
    justify-content: center
}

.btn-primary {
    width: 20ch;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    padding: 16px 22px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .16);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .22)
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .14)
}

.btn-primary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px
}

@media (max-width:960px) {
    .process-grid {
        grid-template-columns: 1fr
    }

    .card-copy {
        max-width: none
    }
}

.solutions {
    background: #efefef;
    color: #111;
    padding-block: var(--section-pad)
}

.solutions-head {
    text-align: center;
    margin: 0 auto var(--section-gap);
    max-width: 90ch
}

.solutions-title {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.15;
    margin: 0 0 clamp(12px, 1.6vw, 16px);
    max-width: 72ch;
    margin-inline: auto
}

.solutions-subtitle {
    margin: 0;
    max-width: 72ch;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .72)
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
    padding-bottom: var(--section-gap-lg)
}

.solution {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr
}

.solution img {
    display: block;
    width: 100%;
    height: auto
}

.solution figcaption {
    padding: clamp(16px, 2vw, 24px);
    display: grid;
    gap: 6px
}

.solution h3 {
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: clamp(16px, 1.4vw, 20px);
    margin: 0;
    color: #111
}

.solution p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .75)
}

@media (max-width:960px) {
    .solutions-grid {
        grid-template-columns: 1fr
    }
}

.slice-logos {
    background: #fff;
    color: #111;
    padding-block: var(--section-gap-lg);
    --logo-h: clamp(22px, 6vw, 44px);
    --logo-cell-min: clamp(120px, 42vw, 180px);
    --logo-gap: clamp(14px, 4vw, 40px)
}

.logos-head {
    text-align: center;
    margin: 0 0 var(--section-gap)
}

.logos-title {
    margin: 0;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: clamp(12px, 1vw, 16px);
    letter-spacing: .18em;
    text-transform: uppercase
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 4vw, 40px)
}

.logo {
    flex: 1 1 clamp(140px, 42vw, 200px);
    max-width: 280px;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3.2vw, 18px);
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    min-block-size: clamp(64px, 18vw, 110px);
    background: #fff
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: clamp(24px, 6vw, 56px)
}

@media (min-width:1025px) {
    .logos-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: clamp(20px, 2vw, 32px);
        align-items: stretch;
        justify-items: stretch
    }

    .logo {
        max-width: none;
        min-block-size: 120px;
        border-color: #eee
    }
}

.testimonials {
    background: #efefef;
    color: #111;
    padding-block: var(--section-pad);
    --tst-card-h: clamp(260px, 32vw, 340px)
}

.tst-head {
    text-align: center;
    max-width: 90ch;
    margin: 0 auto var(--section-gap)
}

.tst-title {
    margin: 0 0 clamp(12px, 1.6vw, 16px);
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: clamp(26px, 5.4vw, 56px);
    line-height: 1.12;
    max-width: 72ch;
    margin-inline: auto
}

.tst-subtitle {
    margin: 0 0 var(--section-gap);
    max-width: 72ch;
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(17, 17, 17, .72)
}

.tst-carousel {
    position: relative
}

.tst-viewport {
    position: relative
}

.tst-track {
    display: grid;
    gap: 0
}

.tst-card {
    background: #fff;
    color: #111;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .12), 0 8px 20px rgba(0, 0, 0, .06);
    padding: clamp(24px, 5vw, 44px);
    margin-inline: auto;
    max-width: 1060px;
    height: var(--tst-card-h);
    display: flex;
    flex-direction: column;
    min-height: 0
}

.tst-card.is-active {
    display: flex
}

.tst-quote {
    margin: 0;
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.55;
    font-style: italic;
    letter-spacing: .1px;
    flex: 1 1 auto;
    min-height: 0
}

.tst-meta {
    margin-top: auto;
    padding-top: clamp(10px, 1.6vw, 16px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px
}

.tst-name {
    font-size: 18px;
    font-weight: 500
}

.tst-project {
    font-size: 15px;
    color: rgba(17, 17, 17, .6)
}

.tst-stars {
    display: flex;
    align-items: flex-end;
    margin-left: auto
}

.tst-stars span {
    color: #ee64ff;
    font-size: 22px
}

.tst-card.is-entering .tst-strip {
    animation: tstIn .34s ease both
}

.tst-card.is-leaving .tst-strip {
    animation: tstOut .34s ease both
}

@keyframes tstIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes tstOut {
    from {
        opacity: 1;
        transform: translateY(0)
    }

    to {
        opacity: 0;
        transform: translateY(-10px)
    }
}

.tst-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
    cursor: pointer;
    transition: box-shadow .2s ease, transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    z-index: 3
}

.tst-prev {
    left: calc(50% - 640px)
}

.tst-next {
    right: calc(50% - 640px)
}

.tst-nav:hover {
    background: #ee64ff;
    color: #fff;
    border-color: #ee64ff;
    box-shadow: 0 16px 36px rgba(238, 100, 255, .35);
    transform: translateY(-50%) translateY(-1px)
}

.tst-nav:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px
}

@media (max-width:760px) {
    .tst-nav {
        display: none
    }

    .tst-card {
        max-width: 100%;
        border-radius: 16px;
        height: auto
    }
}

.service-eco {
    background: #efefef;
    color: #111;
    padding-block: var(--section-pad)
}

.eco-head {
    text-align: center;
    margin: 0 auto var(--section-gap);
    max-width: 90ch
}

.eco-title {
    margin: 0 0 clamp(12px, 1.6vw, 16px);
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 48px);
    line-height: 1.12
}

.eco-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .72)
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.8vw, 32px)
}

.eco-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit
}

.eco-card {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: clamp(24px, 3.2vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: clamp(260px, 28vw, 360px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .06);
    height: 100%;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease
}

.eco-card-link:hover .eco-card,
.eco-card-link:focus-visible .eco-card {
    transform: translateY(-4px);
    box-shadow: 0 28px 56px rgba(0, 0, 0, .12);
    border-color: #d8d8d8
}

.eco-card-link:focus-visible .eco-card {
    outline: 2px solid rgba(17, 17, 17, .8);
    outline-offset: -2px
}

.eco-card-link:focus-visible {
    outline: none
}

.eco-title-3 {
    margin: 0;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 1.8vw, 22px)
}

.eco-copy {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(17, 17, 17, .78);
    max-width: 48ch
}

.eco-figure {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1
}

.eco-figure img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block
}

@media (max-width:1024px) {
    .eco-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:720px) {
    .eco-grid {
        grid-template-columns: 1fr
    }
}

body.service-detail-page {
    background: #fff;
    color: #111
}

.service-detail-page .nav {
    color: #151515
}

.service-detail-page .brand img {
    filter: invert(64%)
}

.service-detail {
    padding-bottom: clamp(80px, 12vw, 140px)
}

.service-detail__hero {
    position: relative;
    background-image: var(--service-hero, linear-gradient(135deg, #1b2333, #0e121c));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
    padding-block: clamp(160px, 22vw, 240px) clamp(96px, 14vw, 160px)
}

.service-detail__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 9, 16, .72) 0%, rgba(6, 9, 16, .6) 45%, rgba(6, 9, 16, .45) 100%);
    z-index: 0
}

.service-detail__hero .container {
    position: relative;
    z-index: 1
}

.service-detail__header {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: 16px
}

.service-detail__eyebrow {
    margin: 0;
    font-size: 12px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, .55);
    font-weight: 600
}

.service-detail__title {
    margin: 0;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05
}

.service-detail__intro {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .7)
}

.service-detail__hero .service-detail__header {
    color: #fff
}

.service-detail__hero .service-detail__eyebrow {
    color: rgba(255, 255, 255, .7)
}

.service-detail__hero .service-detail__title {
    color: #fff
}

.service-detail__hero .service-detail__intro {
    color: rgba(255, 255, 255, .82)
}

.service-detail__content {
    max-width: 900px;
    margin: clamp(48px, 8vw, 96px) auto 0;
    display: grid;
    gap: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #202020
}

.service-detail__content h2 {
    font-size: clamp(22px, 2.2vw, 30px);
    margin: 32px 0 12px;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    line-height: 1.15
}

.service-detail__content h3 {
    font-size: clamp(18px, 1.8vw, 24px);
    margin: 24px 0 12px;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    line-height: 1.2
}

.service-detail__content h4 {
    font-size: clamp(16px, 1.6vw, 20px);
    margin: 20px 0 10px;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    line-height: 1.3
}

.service-detail__content p {
    margin: 0
}

.service-detail__content ul {
    margin: 0;
    padding-left: 24px;
    display: grid;
    gap: 8px
}

.service-detail__content li {
    line-height: 1.6
}

.service-detail__content strong {
    font-weight: 600
}

.service-detail__content a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(17, 17, 17, .4)
}

.service-detail__content a:hover {
    text-decoration-color: rgba(17, 17, 17, .8)
}

.service-detail__content>:first-child {
    margin-top: 0
}

@media (max-width:720px) {
    .service-detail__hero {
        padding-block: clamp(120px, 32vw, 200px) clamp(72px, 18vw, 128px)
    }

    .service-detail__content {
        margin: clamp(32px, 12vw, 64px) auto 0
    }
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 28px
}

.field {
    display: grid;
    gap: 10px
}

.field label {
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    color: #111;
    font-size: clamp(16px, 1.6vw, 22px)
}

.field input,
.field textarea {
    font: inherit;
    color: #111;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .14);
    padding: 16px 0;
    outline: none;
    transition: border-color .2s ease, background-color .2s ease
}

.field textarea {
    resize: vertical
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(17, 17, 17, .45)
}

.field input:focus,
.field textarea:focus {
    border-bottom-color: #111
}

.form-note {
    margin: 6px 0 0;
    font-size: 14px;
    color: rgba(17, 17, 17, .7)
}

#toast {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 9999
}

#toast.show {
    opacity: 1
}

#toast .card {
    pointer-events: auto;
    background: #0f5132;
    color: #d1f7e2;
    border: 1px solid #0a3e26;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    font-size: 15px;
    line-height: 1.4;
    max-width: min(520px, 92vw);
    text-align: center
}

#toast .card.error {
    background: #5c1a1a;
    color: #ffe3e3;
    border-color: #3f1010
}

#toast-anchor {
    min-height: var(--toast-min-height);
    pointer-events: none
}

@media (prefers-color-scheme:dark) {
    body:not(.theme-light) .field label {
        color: #e9eef5
    }

    body:not(.theme-light) .field input,
    body:not(.theme-light) .field textarea {
        color: #e9eef5;
        border-bottom: 1px solid #ffffff24;
        background: transparent
    }

    body:not(.theme-light) .field input::placeholder,
    body:not(.theme-light) .field textarea::placeholder {
        color: #c7cfdb99
    }

    body:not(.theme-light) .field input:focus,
    body:not(.theme-light) .field textarea:focus {
        border-bottom-color: #e9eef5
    }

    body:not(.theme-light) .form-note {
        color: #c7cfdbb3
    }

    body:not(.theme-light).service-detail-page .service-detail__content,
    body:not(.theme-light).service-detail-page .service-detail__content p,
    body:not(.theme-light).service-detail-page .service-detail__content li {
        color: #e9eef5
    }

    body:not(.theme-light).service-detail-page .service-detail__content h2,
    body:not(.theme-light).service-detail-page .service-detail__content h3,
    body:not(.theme-light).service-detail-page .service-detail__content h4 {
        color: #ffffff
    }

    body:not(.theme-light).service-detail-page .service-detail__content a {
        color: #e9eef5;
        text-decoration-color: rgba(233, 238, 245, .65)
    }

    body:not(.theme-light).service-detail-page .service-detail__content a:hover {
        text-decoration-color: #ffffff
    }
}

@media (prefers-color-scheme:dark) {
    html {
        color-scheme: dark
    }

    body:not(.theme-light) {
        background: #0f1115;
        color: #e9eef5
    }

    .bg-grid {
        display: none
    }

    body:not(.theme-light) .nav {
        color: #e9eef5;
        opacity: .95
    }

    body:not(.theme-light) .brand img {
        filter: invert(0%) brightness(80%)
    }

    body:not(.theme-light) .slice-light,
    body:not(.theme-light) .service-eco,
    body:not(.theme-light) .solutions,
    body:not(.theme-light) .process-card,
    body:not(.theme-light) .testimonials,
    body:not(.theme-light) .slice-light.process {
        background: #0f1115;
        color: #e9eef5
    }

    body:not(.theme-light) .process-card .step-number {
        color: #979da7;
        transition: color 1.2s ease
    }

    body:not(.theme-light) .process-card:hover .step-number {
        color: #e9eef5
    }

    body:not(.theme-light) .tst-project {
        color: #c7cfdb99
    }

    body:not(.theme-light) .tst-nav {
        background-color: #e9e9e99e
    }

    body:not(.theme-light) .eco-card,
    body:not(.theme-light) .solution,
    body:not(.theme-light) .tst-card {
        background: #151821;
        color: #e9eef5;
        border: 1px solid #ffffff24;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .33)
    }

    body:not(.theme-light) .eco-copy,
    body:not(.theme-light) .solutions-subtitle,
    body:not(.theme-light) .tst-subtitle,
    body:not(.theme-light) .card-copy {
        color: #c7cfdbb3
    }

    body:not(.theme-light) .btn-primary {
        background: #ffffff;
        color: #0f1115
    }

    body:not(.theme-light) .contact-form {
        max-width: 760px;
        margin: 0 auto;
        display: grid;
        gap: 28px;
        color-scheme: dark
    }

    body:not(.theme-light) .field {
        display: grid;
        gap: 10px
    }

    body:not(.theme-light) .field label {
        font-family: "Satoshi", sans-serif;
        font-weight: 500;
        color: #f5f5f5;
        font-size: clamp(16px, 1.6vw, 22px)
    }

    body:not(.theme-light) .field input,
    body:not(.theme-light) .field textarea {
        font: inherit;
        color: #f5f5f5;
        caret-color: #fff;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22);
        padding: 16px 0;
        outline: none;
        transition: border-color .2s ease, background-color .2s ease
    }

    body:not(.theme-light) .field textarea {
        resize: vertical
    }

    body:not(.theme-light) .field input::placeholder,
    body:not(.theme-light) .field textarea::placeholder {
        color: rgba(255, 255, 255, .55)
    }

    body:not(.theme-light) .field input:focus,
    body:not(.theme-light) .field textarea:focus {
        border-bottom-color: #fff;
        background-color: rgba(255, 255, 255, .04)
    }

    body:not(.theme-light) .form-note {
        margin: 6px 0 0;
        font-size: 14px;
        color: rgba(255, 255, 255, .72)
    }

    body:not(.theme-light) input:-webkit-autofill,
    body:not(.theme-light) textarea:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px transparent inset;
        -webkit-text-fill-color: #f5f5f5;
        caret-color: #fff
    }

    body:not(.theme-light) {
        --grid-color: 208, 214, 224;
        --grid-opacity: .05
    }

    body:not(.theme-light) .bg-grid {
        display: block;
        -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 1) 36%, rgba(0, 0, 0, 0) 78%);
        mask-image: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 1) 36%, rgba(0, 0, 0, 0) 78%)
    }

    body:not(.theme-light) footer.site-footer {
        background: #0f1115 !important;
        color: #e9eef5 !important;
        border-top: 1px solid rgba(255, 255, 255, .18) !important
    }

    body:not(.theme-light) footer.site-footer a {
        color: #c7cfdb
    }

    body:not(.theme-light) footer.site-footer a:hover {
        color: #fff
    }

    body:not(.theme-light) .foot-locations {
        color: #c7cfdbb3
    }

    body:not(.theme-light) .foot-contact::before {
        background: rgba(255, 255, 255, .28)
    }

    body:not(.theme-light) .foot-contact a {
        color: #fff
    }

    body:not(.theme-light) .footer {
        background: none
    }
}

.section {
    padding-block: var(--section-pad)
}

.section-head {
    text-align: center;
    margin: 0 auto var(--section-gap);
    max-width: 90ch
}

.section-title {
    font-family: "Satoshi", sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.15;
    margin: 0 0 clamp(12px, 1.6vw, 16px);
    max-width: 72ch;
    margin-inline: auto
}

.section-subtitle {
    margin: 0;
    max-width: 72ch;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .72)
}

.section-head,
.eco-head,
.solutions-head,
.tst-head,
.logos-head {}

.section-title,
.eco-title,
.solutions-title,
.tst-title {}

.section-subtitle,
.eco-subtitle,
.solutions-subtitle,
.tst-subtitle {}

.site-footer {
    position: relative;
    z-index: 3
}

/* Dark-safe overrides for indexb - only on homepage (dark background) */
body.home .slice-light,
body.home .slice-light.process,
body.home .slice-light.solutions,
body.home .slice-light.testimonials,
body.home .solutions,
body.home .testimonials,
body.home .process,
body.home .service-eco {
  background: transparent !important;
  color: #fff !important;
}

/* Additional styles for indexb */
.pillars { display: flex; justify-content: center; gap: clamp(16px, 3vw, 32px); margin-top: clamp(24px, 3vw, 40px); flex-wrap: wrap; padding: 0 20px; }
.pillar { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,.2); transition: transform .2s ease, background .2s ease; }
.pillar:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.pillar svg { width: 18px; height: 18px; opacity: .9; flex-shrink: 0; }

.project-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 500; color: #ee64ff !important; text-decoration: none !important; transition: gap .2s ease; }
.project-link:hover { gap: 10px; }

@media (max-width: 768px) {
  .pillars { flex-direction: column; align-items: center; }
  .pillar { width: 100%; max-width: 280px; justify-content: center; }
}

@media (prefers-color-scheme:dark) {
  body:not(.theme-light) .pillar { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
  body:not(.theme-light) .pillar:hover { background: rgba(255,255,255,.12); }
  body:not(.theme-light) .project-link { color: #f09cff !important; }
  
  /* Dark-safe sections */
  body:not(.theme-light) .slice-light,
  body:not(.theme-light) .slice-light.process,
  body:not(.theme-light) .slice-light.solutions,
  body:not(.theme-light) .slice-light.testimonials,
  body:not(.theme-light) .solutions,
  body:not(.theme-light) .testimonials,
  body:not(.theme-light) .process,
  body:not(.theme-light) .service-eco {
    background: transparent !important;
    color: #fff !important;
  }
}

@media (prefers-color-scheme:dark) {
    body:not(.theme-light) .site-footer {
        position: relative;
        z-index: 3
    }
}

.eco-card,
.process-card,
.solution,
.tst-card {
    position: relative;
    z-index: 1
}

.service-eco .container,
.slice-light .container {
    position: relative;
    z-index: 1
}

@media (prefers-color-scheme:dark) {
    body:not(.theme-light) .solution {
        background: #151821;
        border: 1px solid #ffffff24
    }

    body:not(.theme-light) .solution h3 {
        color: #e9eef5
    }

    body:not(.theme-light) .solution p {
        color: #c7cfdbb3
    }

    body:not(.theme-light) .solution figcaption {
        color: #e9eef5
    }
}

.nav-toggle {
    display: none
}

.nav-close {
    display: none
}

body.theme-light .nav-toggle {
    color: #555;
    border-color: #00000026;
    background: transparent
}

@media (prefers-color-scheme:dark) {
    body:not(.theme-light) .nav-toggle {
        color: #fff;
        border-color: #ffffff40
    }
}

@media (max-width:768px) {
    .nav-toggle {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        border: 1px solid #00000026;
        color: #555;
        border-radius: 10px;
        background: transparent;
        cursor: pointer
    }

    body.theme-light .nav-toggle {
        color: #555;
        border-color: #00000026
    }

    .nav-toggle:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 2px
    }

    .nav-toggle .bars {
        position: relative;
        width: 22px;
        height: 2px;
        background: currentColor
    }

    .nav-toggle .bars::before,
    .nav-toggle .bars::after {
        content: "";
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background: currentColor;
        transition: transform .2s ease, top .2s ease, opacity .2s ease
    }

    .nav-toggle .bars::before {
        top: -7px
    }

    .nav-toggle .bars::after {
        top: 7px
    }

    .nav {
        --nav-gap: clamp(18px, 4.8vh, 40px);
        position: fixed;
        inset: 0;
        padding: calc(var(--header-h) + env(safe-area-inset-top, 0px)) clamp(20px, 6vw, 40px) calc(18px + env(safe-area-inset-bottom, 0px));
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        min-height: 100dvh;
        transform: translateY(-8%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 10
    }

    body.theme-light .nav {
        background: rgba(245, 245, 247, .92);
        color: #151515
    }

    body:not(.theme-light) .nav {
        background: rgba(8, 10, 14, .92);
        color: #fff
    }

    .nav a,
    .nav-close {
        color: inherit
    }

    .nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(34px, 10vw, 56px);
        line-height: 1.15;
        padding: 8px 4px;
        font-weight: 400;
        letter-spacing: .2px
    }

    .nav a:first-of-type {
        margin-top: auto
    }

    .nav a+a {
        margin-top: var(--nav-gap)
    }

    .nav a:last-of-type {
        margin-bottom: auto
    }

    header.container-wide:has(.nav-toggle[aria-expanded="true"]) .nav,
    header.container-wide.nav-open .nav {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto
    }

    body:has(.nav-toggle[aria-expanded="true"]),
    body.nav-open {
        overflow: hidden;
        touch-action: none
    }

    .nav-toggle[aria-expanded="true"] .bars {
        background: transparent
    }

    .nav-toggle[aria-expanded="true"] .bars::before {
        top: 0;
        transform: rotate(45deg)
    }

    .nav-toggle[aria-expanded="true"] .bars::after {
        top: 0;
        transform: rotate(-45deg)
    }

    body.theme-light header.container-wide:has(.nav-toggle[aria-expanded="true"]) .nav-toggle,
    body.theme-light header.container-wide.nav-open .nav-toggle {
        color: #151515;
        border-color: #00000033
    }

    body:not(.theme-light) header.container-wide:has(.nav-toggle[aria-expanded="true"]) .nav-toggle,
    body:not(.theme-light) header.container-wide.nav-open .nav-toggle {
        color: #fff;
        border-color: #ffffff40
    }

    header .row {
        gap: 10px
    }

    .nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 16px;
        border: 0;
        background: transparent;
        box-shadow: none;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        margin-top: auto
    }

    .nav-close:hover,
    .nav-close:active {
        background: transparent
    }

    .nav-close:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px
    }

    .nav-close .x {
        position: relative;
        width: 22px;
        height: 22px;
        display: inline-block
    }

    .nav-close .x::before,
    .nav-close .x::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 22px;
        height: 2px;
        background: currentColor;
        transform-origin: center
    }

    .nav-close .x::before {
        transform: translate(-50%, -50%) rotate(45deg)
    }

    .nav-close .x::after {
        transform: translate(-50%, -50%) rotate(-45deg)
    }

    html body.home .nav-toggle {
        color: #fff;
        border-color: #ffffff40
    }
}

html body.home .nav-toggle {
    color: #fff;
    border-color: #ffffff40
}

.faq {
    text-align: center
}

.faq .container {
    display: grid;
    gap: 32px;
    justify-items: center
}

.faq-head {
    display: grid;
    gap: 16px;
    justify-items: center
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.faq-accordion {
    width: min(720px, 100%);
    display: grid;
    gap: 16px;
    text-align: left
}

.faq-panel {
    border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 14px;
    background: #fff;
    color: #111;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease
}

.faq-panel[open] {
    border-color: rgba(17, 17, 17, .24);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .08)
}

.faq-panel summary {
    list-style: none;
    padding: 22px 24px;
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer
}

.faq-panel summary:focus-visible {
    outline: 2px solid #151515;
    outline-offset: 4px
}

.faq-panel summary::-webkit-details-marker {
    display: none
}

.faq-panel summary span {
    flex: 1 1 auto
}

.faq-panel summary::after {
    content: "+";
    font-size: 24px;
    line-height: 1;
    color: rgba(17, 17, 17, .45);
    transition: transform .2s ease, color .2s ease
}

.faq-panel[open] summary::after {
    transform: rotate(45deg);
    color: rgba(17, 17, 17, .85)
}

.faq-panel__content {
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(17, 17, 17, .72)
}

.tst-stage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex
}

.tst-stage>div {
    flex: 1 1 auto;
    min-height: 0
}

.tst-pane {
    display: flex;
    flex-direction: column;
    min-height: 100%
}

.tst-meta {
    margin-top: auto
}
/* ==========================================
   DARK MODE OVERRIDES FOR ALL PAGES
   ========================================== */

@media (prefers-color-scheme:dark) {
    body.theme-light {
        background: #0f1115;
        color: #e9eef5
    }

    body.theme-light .nav {
        color: #e9eef5
    }

    body.theme-light .brand img {
        filter: invert(0%) brightness(80%)
    }

    body.theme-light .nav-toggle {
        color: #fff;
        border-color: #ffffff40
    }

    @media (max-width:768px) {
        body.theme-light .nav {
            background: rgba(8, 10, 14, .92);
            color: #fff
        }

        body.theme-light .nav-toggle {
            color: #fff;
            border-color: #ffffff40
        }

        body.theme-light header.container-wide:has(.nav-toggle[aria-expanded="true"]) .nav-toggle,
        body.theme-light header.container-wide.nav-open .nav-toggle {
            color: #fff;
            border-color: #ffffff60
        }
    }

    body.theme-light .slice-light,
    body.theme-light .service-eco,
    body.theme-light .solutions,
    body.theme-light .process-card,
    body.theme-light .testimonials,
    body.theme-light .slice-light.process {
        background: #0f1115;
        color: #e9eef5
    }

    body.theme-light .process-card .step-number {
        color: #979da7
    }

    body.theme-light .process-card:hover .step-number {
        color: #e9eef5
    }

    body.theme-light .tst-project {
        color: #c7cfdb99
    }

    body.theme-light .tst-nav {
        background-color: #e9e9e99e
    }

    body.theme-light .eco-card,
    body.theme-light .solution,
    body.theme-light .tst-card {
        background: #151821;
        color: #e9eef5;
        border: 1px solid #ffffff24;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .33)
    }

    body.theme-light .eco-copy,
    body.theme-light .solutions-subtitle,
    body.theme-light .tst-subtitle,
    body.theme-light .card-copy {
        color: #c7cfdbb3
    }

    body.theme-light .btn-primary {
        background: #ffffff;
        color: #0f1115
    }

    body.theme-light .contact-form {
        color-scheme: dark
    }

    body.theme-light .field label {
        color: #f5f5f5
    }

    body.theme-light .field input,
    body.theme-light .field textarea {
        color: #f5f5f5;
        caret-color: #fff;
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22)
    }

    body.theme-light .field input::placeholder,
    body.theme-light .field textarea::placeholder {
        color: #c7cfdb99
    }

    body.theme-light .field input:focus,
    body.theme-light .field textarea:focus {
        border-bottom-color: #e9eef5
    }

    body.theme-light .form-note {
        color: #c7cfdbb3
    }

    body.theme-light input:-webkit-autofill,
    body.theme-light textarea:-webkit-autofill {
        -webkit-text-fill-color: #f5f5f5 !important;
        caret-color: #fff;
        box-shadow: inset 0 0 0 100px #151821 !important
    }

    body.theme-light .footer,
    body.theme-light .site-footer {
        background: #0f1115 !important
    }

    body.theme-light .foot-nav-title {
        color: #fff
    }

    body.theme-light .foot-nav a {
        color: rgba(255, 255, 255, .75)
    }

    body.theme-light .foot-nav a:hover {
        color: #fff
    }

    body.theme-light .foot-locations li {
        color: rgba(255, 255, 255, .7)
    }

    body.theme-light .foot-tagline,
    body.theme-light .foot-copy {
        color: rgba(255, 255, 255, .7)
    }

    body.theme-light .foot-bottom {
        border-top-color: rgba(255, 255, 255, .1)
    }

    body.theme-light .blog-container {
        color: #e9eef5
    }

    body.theme-light .blog-card {
        background: #151821;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .33)
    }

    body.theme-light .blog-card a,
    body.theme-light .blog-card h2 {
        color: #e9eef5
    }

    body.theme-light .blog-header p,
    body.theme-light .blog-card .excerpt {
        color: #c7cfdbb3
    }

    body.theme-light .blog-card .meta {
        color: #979da7
    }

    body.theme-light .blog-header h1,
    body.theme-light .blog-content h2,
    body.theme-light .blog-content h3,
    body.theme-light .blog-content strong {
        color: #e9eef5
    }

    body.theme-light .blog-content {
        color: #c7cfdb
    }

    body.theme-light .blog-content blockquote {
        border-left-color: #be4fc1;
        color: #c7cfdb
    }

    body.theme-light .blog-content th {
        background: #1a1d26;
        color: #e9eef5
    }

    body.theme-light .blog-content td {
        border-bottom-color: #333
    }

    body.theme-light .blog-content code {
        background: #1a1d26;
        color: #e9eef5
    }

    body.theme-light .blog-content pre {
        background: #1a1d26
    }

    body.theme-light .blog-content hr {
        border-top-color: #333
    }

    body.theme-light .blog-content table {
        color: #e9eef5
    }

    body.theme-light.service-detail-page {
        background: #0f1115;
        color: #e9eef5
    }

    body.theme-light.service-detail-page .service-detail__hero {
        color: #fff
    }

    body.theme-light.service-detail-page .service-detail__content,
    body.theme-light.service-detail-page .service-detail__content p,
    body.theme-light.service-detail-page .service-detail__content li {
        color: #e9eef5
    }

    body.theme-light.service-detail-page .service-detail__content h2,
    body.theme-light.service-detail-page .service-detail__content h3,
    body.theme-light.service-detail-page .service-detail__content h4 {
        color: #fff
    }

    body.theme-light.service-detail-page .service-detail__content a {
        color: #e9eef5;
        text-decoration-color: rgba(233, 238, 245, .65)
    }

    body.theme-light.service-detail-page .service-detail__content a:hover {
        text-decoration-color: #fff
    }
}

/* ==========================================
   HOME REDESIGN - STRATEGIC PROCESS PILLARS
   ========================================== */

/* Fix: card titles inherited white from home section overrides */
.process-card {
    color: #111
}

body.home .btn-primary {
    background: rgba(255, 255, 255, .92);
    color: #111
}

body.home .btn-primary:hover {
    background: #fff
}

/* Readability of section text over the home gradient */
body.home .slice-light .section-title {
    color: #fff
}

body.home .slice-light .section-subtitle {
    color: rgba(255, 255, 255, .85)
}

body.home .slice-light .stat-label {
    color: rgba(255, 255, 255, .75)
}

/* Hero video (row 4 of the hero grid) */
.hero-video {
    grid-row: 4;
    position: relative;
    width: 100svw;
    height: 100%;
    margin-left: calc(50% - 50svw);
    overflow: hidden;
    align-self: end;
    min-height: clamp(220px, 35svh, 380px)
}

.hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .75) 100%);
    z-index: 1;
    pointer-events: none
}

.hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(190, 79, 193, .25) 0%, rgba(140, 98, 214, .15) 50%, rgba(119, 181, 214, .25) 100%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom
}

/* Web Development carousel */
.web-carousel {
    position: relative;
    overflow: hidden;
    padding: 8px 0 12px
}

.web-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px clamp(16px, 5vw, 40px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
}

.web-carousel-track::-webkit-scrollbar {
    display: none
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #111;
    transition: all .2s ease;
    z-index: 10
}

.carousel-nav:hover {
    background: #ee64ff;
    color: #fff;
    border-color: #ee64ff;
    transform: translateY(-50%) scale(1.05)
}

.carousel-prev {
    left: 8px
}

.carousel-next {
    right: 8px
}

@media (max-width:640px) {
    .carousel-nav {
        display: none
    }
}

.web-project {
    flex: 0 0 auto;
    width: clamp(300px, 45vw, 480px);
    scroll-snap-align: center;
    background: #fff;
    color: #111;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 1
}

.web-project:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12)
}

.web-project picture {
    display: block;
    line-height: 0
}

.web-project img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top;
    display: block
}

.web-project figcaption {
    padding: 20px 24px 24px
}

.web-project h3 {
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin: 0 0 8px;
    color: #111
}

.web-project p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, .75)
}

/* Platform logos inside the Web Development pillar */
.pillar-logos-wrap {
    margin-top: clamp(40px, 5vw, 64px);
    text-align: center
}

.pillar-logos-label {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .85
}

.pillar-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 3vw, 28px)
}

.pillar-logos .logo {
    flex: 0 1 clamp(150px, 20vw, 220px)
}

/* Feature cards (pillar capabilities) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 32px)
}

.feature-card {
    background: #fff;
    color: #111;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 1
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12)
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, .06);
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 8px
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: #111
}

.feature-card h3 {
    font-family: "Satoshi", sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin: 0;
    color: #111
}

.feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(17, 17, 17, .75)
}

@media (max-width:720px) {
    .feature-grid {
        grid-template-columns: 1fr
    }
}

/* Case study boxes */
.case-study-box {
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(32px, 4vw, 48px);
    background: #fff;
    color: #111;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 1
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center
}

@media (max-width:960px) {
    .case-study-grid {
        grid-template-columns: 1fr
    }
}

.case-study-box .eyebrow,
.case-study-mini .eyebrow {
    justify-content: flex-start;
    font-size: 14px;
    color: rgba(17, 17, 17, .7)
}

.case-study-box .eyebrow {
    margin-bottom: 16px
}

.case-study-mini .eyebrow {
    margin-bottom: 12px
}

.case-title {
    font-family: "Satoshi", sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 500;
    margin: 0 0 16px;
    color: #111
}

.case-copy {
    line-height: 1.7;
    margin: 0 0 20px;
    color: rgba(17, 17, 17, .75)
}

.case-media {
    border-radius: 8px;
    overflow: hidden;
    line-height: 0
}

.case-media img {
    width: 100%;
    height: auto;
    display: block
}

.case-mini-grid {
    margin-top: clamp(48px, 6vw, 72px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 3vw, 32px)
}

@media (max-width:720px) {
    .case-mini-grid {
        grid-template-columns: 1fr
    }
}

.case-study-mini {
    padding: clamp(28px, 3vw, 36px);
    background: #fff;
    color: #111;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 1
}

.case-mini-title {
    font-family: "Satoshi", sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 12px;
    color: #111
}

.case-mini-copy {
    line-height: 1.65;
    margin: 0 0 16px;
    font-size: 14px;
    color: rgba(17, 17, 17, .75)
}

/* Dark scheme for the new components */
@media (prefers-color-scheme:dark) {

    body:not(.theme-light) .web-project,
    body:not(.theme-light) .feature-card,
    body:not(.theme-light) .case-study-box,
    body:not(.theme-light) .case-study-mini {
        background: #151821;
        color: #e9eef5;
        border: 1px solid #ffffff24;
        box-shadow: 0 20px 48px rgba(0, 0, 0, .33)
    }

    body:not(.theme-light) .web-project h3,
    body:not(.theme-light) .feature-card h3,
    body:not(.theme-light) .case-title,
    body:not(.theme-light) .case-mini-title {
        color: #e9eef5
    }

    body:not(.theme-light) .web-project p,
    body:not(.theme-light) .feature-card p,
    body:not(.theme-light) .case-copy,
    body:not(.theme-light) .case-mini-copy {
        color: #c7cfdbb3
    }

    body:not(.theme-light) .case-study-box .eyebrow,
    body:not(.theme-light) .case-study-mini .eyebrow {
        color: #c7cfdbb3
    }

    body:not(.theme-light) .feature-icon {
        background: rgba(255, 255, 255, .12)
    }

    body:not(.theme-light) .feature-icon svg {
        color: #fff
    }

    body:not(.theme-light) .carousel-nav {
        background: #151821;
        color: #fff;
        border-color: #ffffff24
    }

    body:not(.theme-light) .carousel-nav:hover {
        background: #ee64ff;
        border-color: #ee64ff
    }

    body:not(.theme-light) .process-card {
        color: #e9eef5
    }
}

/* Keep testimonial arrows inside the viewport (they sat off-screen between 760px and 1280px and caused horizontal page overflow) */
.tst-prev {
    left: max(8px, calc(50% - 640px))
}

.tst-next {
    right: max(8px, calc(50% - 640px))
}

body.home .slice-light .tst-subtitle {
    color: rgba(255, 255, 255, .85)
}
