@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: transparent;
    --surface: rgba(255, 255, 255, .04);
    --line: rgba(162, 89, 255, 0.45);
    --neon-purple: #a259ff;
    --neon-glow: 0 0 6px rgba(162, 89, 255, 0.9), 0 0 18px rgba(162, 89, 255, 0.5), 0 0 40px rgba(162, 89, 255, 0.2);
    --neon-line: 1px solid rgba(162, 89, 255, 0.55);
    --text: #f4f5fa;
    --muted: #c4b8d8;
    --cyan: #2ac6f7;
    --violet: #c084fc;
    --font: 'DM Sans', Arial, sans-serif;
    --display: 'Space Grotesk', Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    overflow-x: hidden
}

body {
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(125deg,
            #2a003e 0%,
            #4a007a 12%,
            #1a0545 28%,
            #050c30 44%,
            #060a28 58%,
            #1a0040 72%,
            #3a006a 84%,
            #0a0020 100%);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: wave-bg 14s ease infinite;
    color: var(--text);
    font: 16px/1.65 var(--font);
    -webkit-font-smoothing: antialiased
}

@keyframes wave-bg {
    0% {
        background-position: 0% 50%
    }

    25% {
        background-position: 100% 0%
    }

    50% {
        background-position: 100% 100%
    }

    75% {
        background-position: 0% 100%
    }

    100% {
        background-position: 0% 50%
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background-position: 50% 50%
    }
}


a {
    color: inherit;
    text-decoration: none
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 5px
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em
}

h1 {
    font-size: clamp(3.1rem, 5.3vw, 5.6rem);
    margin-bottom: 25px
}

h2 {
    font-size: clamp(2.25rem, 3.4vw, 3.6rem);
    margin-bottom: 0
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -.025em
}

p {
    color: var(--muted)
}

.wrap {
    width: min(1320px, calc(100% - 112px));
    margin-inline: auto
}

.gradient-text {
    background: linear-gradient(110deg, #59d4fb 0%, #79a8ff 45%, #b172f7 85%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent
}

.muted {
    color: #8a8c9b
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(10, 4, 25, .75);
    backdrop-filter: blur(24px);
    border-bottom: var(--neon-line);
    box-shadow: var(--neon-glow);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.nav-wrap {
    width: min(1440px, calc(100% - 80px));
    height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.logo {
    display: inline-flex;
    align-items: center;
    width: 170px;
    flex-shrink: 0
}

.logo img {
    width: 170px;
    height: auto;
    display: block
}

.site-header nav {
    display: flex;
    gap: 36px
}

.site-header nav a {
    font-size: 14px;
    color: #b4b5c0;
    transition: color .2s
}

.site-header nav a:hover,
.site-header nav a[aria-current] {
    color: #fff
}

.site-header nav a[aria-current]:after {
    content: '';
    display: block;
    height: 2px;
    background: var(--cyan);
    margin-top: 5px
}

/* ── Nav Dropdown ── */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    background: transparent;
    border: none;
    color: #b4b5c0;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.2s;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.is-current,
.nav-dropdown:hover .nav-dropdown-trigger {
    color: #fff;
}

.dropdown-chevron {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(12, 14, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 40;
}

/* Invisible bridge to keep menu open while moving mouse */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
    text-decoration: none !important;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-dropdown-icon {
    font-size: 20px;
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    flex-shrink: 0;
}

.nav-dropdown-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-dropdown-item strong {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.nav-dropdown-item span:not(.nav-dropdown-icon) {
    color: #a3a8bf;
    font-size: 13px;
    line-height: 1.4;
}

.nav-dropdown-footer {
    border-top: var(--neon-line);
    box-shadow: var(--neon-glow);
    padding-top: 16px;
    text-align: center;
}

.nav-dropdown-all {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.nav-dropdown-all:hover {
    color: var(--cyan);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 51px;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    line-height: 1.4;
    color: #ffffff;
    background: linear-gradient(90deg, #dc35ff 0%, #4d60ff 100%);
    transition: transform .2s, filter .2s;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.button span:last-child {
    margin-left: 7px;
    font-size: 21px;
    line-height: 1;
}

.nav-cta {
    min-height: 44px;
    font-size: 13px;
    padding: 10px 17px;
}

.nav-cta svg {
    color: var(--cyan)
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    padding-block: 10px
}

.text-link:hover {
    color: var(--cyan)
}

.text-link span {
    font-size: 20px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font);
    font-size: 12px;
    letter-spacing: .16em;
    font-weight: 600;
    color: #bdc0cd;
    margin-bottom: 28px;
    line-height: 1.6
}

.eyebrow>span {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    box-shadow: 0 0 14px #29c6f764
}

.hero-slider {
    min-height: 700px;
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 55px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 80px;
    position: relative
}

.hero-slider:before {
    content: '';
    position: absolute;
    pointer-events: none;
    right: -2%;
    top: 5%;
    width: 60%;
    height: 90%;
    z-index: -1;
    background: radial-gradient(ellipse, #31265e42, transparent 70%)
}

.hero-copy-container {
    position: relative;
    min-height: 480px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


.hero-dots {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.hero-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    padding: 0;
    transition: background-color 0.3s;
}

.hero-dot.is-active {
    background: var(--cyan);
}

.hero-slider h1 {
    font-size: clamp(3.3rem, 5.1vw, 5.3rem);
    line-height: 1.08
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap
}

.hero-note {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 40px;
    color: #858999;
    font-size: 12px
}

.mini-globe {
    font-size: 20px;
    color: #a1a6b8
}

.hero-showcase {
    padding-top: 10px;
    transform: rotate(-2deg);
    position: relative;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-slider[data-active-slide="1"] .hero-showcase {
    opacity: 1;
    pointer-events: auto;
}

/* ── Laptop Mockup ─────────────────────────────── */
.hero-laptop-showcase {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    animation: fadeInRight 0.8s ease forwards;
}

.hero-slider[data-active-slide="1"] .hero-laptop-showcase {
    display: flex;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.laptop-frame {
    width: 100%;
    max-width: 520px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.laptop-screen {
    background: #1a1b2e;
    border: 2px solid #3a3550;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
}

.laptop-browser-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #12131f;
    border-bottom: 1px solid #2a2840;
}

.browser-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.browser-dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3a3a4a;
}

.browser-dots i:nth-child(1) {
    background: #ff5f57;
}

.browser-dots i:nth-child(2) {
    background: #febc2e;
}

.browser-dots i:nth-child(3) {
    background: #28c840;
}

.browser-url {
    flex: 1;
    background: #1e1f32;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 10px;
    color: #7a7e9a;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.laptop-screen-content {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.laptop-screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: opacity 0.35s ease;
}

.laptop-screen-content img.is-fading {
    opacity: 0;
}

.laptop-base {
    background: linear-gradient(180deg, #252638, #1a1b2a);
    border: 2px solid #3a3550;
    border-top: none;
    border-radius: 0 0 8px 8px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-notch {
    width: 55px;
    height: 5px;
    background: #3a3550;
    border-radius: 3px;
}

/* Switcher dots */
.laptop-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lsw-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.2s, width 0.3s;
}

.lsw-btn.is-active {
    background: var(--cyan);
    width: 24px;
    border-radius: 4px;
}

.lsw-btn:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.showcase-meta,
.showcase-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .13em;
    color: #838899;
    margin: 0 4px 15px
}

.showcase-main {
    display: block;
    transition: transform .4s
}

.showcase-main:hover {
    transform: translateY(-5px)
}

.hero-art {
    height: 330px !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important
}

.hero-art img {
    object-fit: contain !important;
    padding: 12px
}

.showcase-caption {
    padding: 18px 12px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.showcase-caption small {
    font-size: 10px;
    letter-spacing: .12em;
    color: #a3a8bf
}

.showcase-caption h2 {
    font-size: 22px;
    margin-top: 7px;
    letter-spacing: -.025em
}

.showcase-mini {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #171923;
    border: 1px solid #474052;
    box-shadow: 0 15px 50px #0007;
    border-radius: 8px;
    padding: 9px;
    width: 79%;
    margin: -3px 0 0 auto;
    transform: translate(20px, 12px) rotate(5deg)
}

.showcase-mini img {
    width: 95px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px
}

.showcase-mini strong {
    display: block;
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500
}

.showcase-mini div span {
    font-size: 9px;
    letter-spacing: .14em;
    color: #9da2b5
}

.showcase-mini>span {
    margin-left: auto;
    margin-right: 10px;
    color: #c8b9ff
}

.showcase-bottom {
    margin-top: 36px;
    letter-spacing: .03em
}

.capability-strip {
    border-block: 1px solid var(--line);
    background: rgba(0, 0, 0, .25)
}

.capability-strip .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 24px;
    font-size: 12px;
    letter-spacing: .15em;
    color: #acafbd;
    gap: 20px
}

.capability-strip b {
    color: #64587e;
    font-size: 18px;
    font-weight: 400
}

/* ── Trusted / Marquee ─────────────────────────────────────── */
.trusted-section {
    padding-block: 56px 52px;
    background: rgba(0, 0, 0, .75);
    border-bottom: 1px solid var(--line);
    overflow: hidden
}

.trusted-heading-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: center;
    margin-bottom: 44px
}

.trusted-title {
    font-family: var(--font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6b6e80;
    margin: 0;
    white-space: nowrap
}

.trusted-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2d3045)
}

.trusted-line:last-child {
    background: linear-gradient(270deg, transparent, #2d3045)
}

/* Marquee wrapper — clips overflow and adds edge fades */
.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%)
}

/* The track holds 2× the logos; we animate it moving left by 50% */
@keyframes marquee-scroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    animation: marquee-scroll 28s linear infinite
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    border-right: 1px solid #1e2130;
    height: 80px;
    flex-shrink: 0
}

.marquee-item:last-child {
    border-right: none
}

.marquee-item img {
    width: auto;
    height: 46px;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .45;
    transition: opacity .3s, filter .3s
}

.marquee-item:hover img {
    opacity: .9;
    filter: brightness(0) invert(1)
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none
    }
}


.section {
    padding-block: 105px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 48px
}

.section-heading .eyebrow {
    margin-bottom: 17px
}

.section-heading p {
    margin-bottom: 6px;
    font-size: 15px
}

.section-heading .text-link {
    margin-top: 12px
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px 30px
}

.project-card {
    min-width: 0
}

.project-art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.55;
    border-radius: 8px;
    background: #e8edf0;
    isolation: isolate;
    display: grid;
    place-items: center
}

.project-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
    min-height: 0
}

.project-card:hover .project-art img {
    transform: scale(1.035)
}

.project-art.ice img {
    object-fit: contain;
    padding: 25px
}

.project-art.ice {
    background: #e9eff0
}

.project-art.sand {
    background: #ded4c5
}

.project-art.rose {
    background: #382d35
}

.project-art.emerald {
    background: linear-gradient(130deg, #0c332d, #1d6250)
}

.project-art.blue {
    background: linear-gradient(130deg, #0c254b, #235a7f)
}

.project-art.violet {
    background: linear-gradient(130deg, #242344, #55508a)
}

.art-label {
    position: absolute;
    bottom: 15px;
    left: 16px;
    padding: 6px 10px;
    border: 1px solid #fff4;
    border-radius: 4px;
    background: #0d142bbd;
    color: #fff;
    font-size: 9px;
    letter-spacing: .12em;
    backdrop-filter: blur(8px)
}

.project-wordmark {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 4rem);
    padding: 35px;
    text-align: center;
    font-weight: 500;
    color: #fff;
    letter-spacing: -.04em
}

.ice .project-wordmark,
.sand .project-wordmark {
    color: #192432
}

.project-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 21px
}

.project-caption p {
    font-size: 12px;
    margin-bottom: 7px
}

.project-caption h3 {
    font-size: 23px;
    margin: 0
}

.services-section {
    background: rgba(0, 0, 0, .2);
    border-block: var(--neon-line)
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden
}

.service-card {
    padding: 28px 25px;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    border-right: 1px solid var(--line);
    transition: background .3s
}

.service-card:last-child {
    border-right: 0
}

.service-card:hover {
    background: #161725
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 42px;
    font-size: 12px;
    color: #6f778b
}

.service-icon {
    font-size: 28px;
    line-height: 1;
    color: #a495e7
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 14px
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 205px
}

.service-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #c9c8d3;
    padding-top: 20px
}

.quality-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 90px;
    align-items: center
}

.quality-intro .eyebrow {
    grid-column: 1/-1;
    margin-bottom: 18px
}

.quality-intro>p {
    margin: 0;
    font-size: 16px
}

/* ── The Byteenity Approach: Uniquely Shaped Process Cards ──────── */
.process-sequence-wrap {
    margin-top: 56px;
    position: relative;
}

/* Connective Milestone Track */
.process-flow-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    margin-bottom: 28px;
    padding: 0 32px;
}

.process-flow-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 48px;
    right: 48px;
    height: 1px;
    background: linear-gradient(90deg,
            rgba(42, 198, 247, 0.7) 0%,
            rgba(162, 89, 255, 0.75) 35%,
            rgba(192, 132, 252, 0.75) 70%,
            rgba(42, 198, 247, 0.85) 100%);
    box-shadow: 0 0 10px rgba(162, 89, 255, 0.45);
    z-index: 1;
    transform: translateY(-50%);
}

.pflow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pflow-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0d0a18;
    border: 2px solid #a259ff;
    box-shadow: 0 0 10px rgba(162, 89, 255, 0.9), inset 0 0 4px rgba(162, 89, 255, 0.6);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pflow-label {
    margin-top: 6px;
    font-size: 10px;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
    opacity: 0.75;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.process-grid article:not(.process-card) {
    border-top: 1px solid #363241;
    padding-top: 25px;
}

/* Card Foundation */
.process-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    background: transparent;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.pcard-shell {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    width: 100%;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pcard-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
    padding: 30px 24px 26px;
    position: relative;
    overflow: hidden;
}

/* ── Card 1: Understand (Arched Observatory Dome / Lens) ─────── */
.process-card--understand .pcard-shell {
    border-radius: 56px 56px 18px 18px;
    border: 1px solid rgba(42, 198, 247, 0.4);
    background: radial-gradient(circle at 50% 0%, rgba(42, 198, 247, 0.15) 0%, rgba(162, 89, 255, 0.08) 45%, rgba(16, 13, 27, 0.96) 80%);
    box-shadow: 0 0 24px rgba(42, 198, 247, 0.12), 0 0 40px rgba(162, 89, 255, 0.15);
}

.process-card--understand .pcard-inner {
    border-radius: 55px 55px 17px 17px;
}

.process-card--understand .pcard-ambient {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px dashed rgba(42, 198, 247, 0.3);
    box-shadow: inset 0 0 35px rgba(42, 198, 247, 0.15);
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.process-card--understand:hover {
    transform: translateY(-8px);
}

.process-card--understand:hover .pcard-shell {
    border-color: rgba(42, 198, 247, 0.85);
    box-shadow: 0 0 35px rgba(42, 198, 247, 0.35), 0 0 60px rgba(162, 89, 255, 0.3);
}

.process-card--understand:hover .pcard-ambient {
    transform: translateX(-50%) scale(1.15) rotate(45deg);
    border-color: rgba(42, 198, 247, 0.65);
}

/* ── Card 2: Shape (Faceted Diagonal Diamond / Sculpted Polygon) ── */
.process-card--shape .pcard-shell {
    border-radius: 6px 50px 6px 50px;
    border: 1px solid rgba(192, 132, 252, 0.45);
    background: linear-gradient(135deg, rgba(162, 89, 255, 0.15) 0%, rgba(18, 14, 30, 0.96) 50%, rgba(42, 198, 247, 0.08) 100%);
    box-shadow: 0 0 24px rgba(162, 89, 255, 0.22);
}

.process-card--shape .pcard-inner {
    border-radius: 5px 49px 5px 49px;
}

.process-card--shape .pcard-ambient {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(192, 132, 252, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 132, 252, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at 80% 20%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 80% 20%, black 20%, transparent 80%);
    transition: opacity 0.4s ease;
}

.process-card--shape:hover {
    transform: translateY(-8px);
}

.process-card--shape:hover .pcard-shell {
    border-color: rgba(192, 132, 252, 0.9);
    box-shadow: 0 0 35px rgba(192, 132, 252, 0.45), 0 0 65px rgba(162, 89, 255, 0.3);
}

.process-card--shape:hover .pcard-icon {
    transform: rotate(30deg) scale(1.08);
    color: #c084fc;
}

/* ── Card 3: Build (Stepped Tech Blade / 45° Corner Chamfer) ──── */
.process-card--build {
    filter: drop-shadow(0 0 16px rgba(162, 89, 255, 0.25));
}

.process-card--build .pcard-shell {
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
    background: linear-gradient(135deg, rgba(162, 89, 255, 0.75) 0%, rgba(42, 198, 247, 0.5) 45%, rgba(162, 89, 255, 0.35) 100%);
    padding: 1.5px;
    border: none;
}

.process-card--build .pcard-inner {
    clip-path: polygon(0 0, calc(100% - 31px) 0, 100% 31px, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(22, 18, 38, 0.98), rgba(12, 10, 22, 0.99));
    border-radius: 0;
}

.process-card--build .pcard-corner-accent {
    position: absolute;
    top: 7px;
    right: 8px;
    font-family: monospace;
    font-size: 10px;
    color: #2ac6f7;
    letter-spacing: 0.12em;
    opacity: 0.75;
    pointer-events: none;
}

.process-card--build .pcard-corner-accent::after {
    content: none;
}

.process-card--build .pcard-ambient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 90%, rgba(42, 198, 247, 0.1), transparent 60%);
    pointer-events: none;
}

.process-card--build:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 0 30px rgba(162, 89, 255, 0.45)) drop-shadow(0 0 18px rgba(42, 198, 247, 0.35));
}

.process-card--build:hover .pcard-shell {
    background: linear-gradient(135deg, #a259ff 0%, #2ac6f7 50%, #c084fc 100%);
}

.process-card--build:hover .pcard-icon {
    transform: scale(1.1);
    color: #2ac6f7;
}

/* ── Card 4: Refine & launch (Aerodynamic Rocket Wing / Launchpad) ─ */
.process-card--launch .pcard-shell {
    border-radius: 16px 84px 16px 40px;
    border: 1px solid rgba(162, 89, 255, 0.45);
    background: linear-gradient(0deg, rgba(162, 89, 255, 0.22) 0%, rgba(42, 198, 247, 0.08) 35%, rgba(16, 13, 27, 0.96) 80%);
    box-shadow: 0 12px 30px rgba(162, 89, 255, 0.25), 0 0 22px rgba(42, 198, 247, 0.15);
}

.process-card--launch .pcard-inner {
    border-radius: 15px 83px 15px 39px;
}

.process-card--launch .pcard-ambient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: radial-gradient(ellipse at 50% 100%, rgba(162, 89, 255, 0.45), rgba(42, 198, 247, 0.25) 45%, transparent 80%);
    pointer-events: none;
    transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.process-card--launch:hover {
    transform: translateY(-8px);
}

.process-card--launch:hover .pcard-shell {
    border-color: rgba(162, 89, 255, 0.85);
    box-shadow: 0 16px 45px rgba(162, 89, 255, 0.48), 0 0 35px rgba(42, 198, 247, 0.35);
}

.process-card--launch:hover .pcard-ambient {
    height: 105px;
}

.process-card--launch:hover .pcard-icon {
    transform: translateY(-4px) scale(1.12);
    color: #2ac6f7;
}

/* ── Inner Elements ───────────────────────────────────────────── */
.pcard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.pcard-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(162, 89, 255, 0.12);
    border: 1px solid rgba(162, 89, 255, 0.3);
    font-size: 11px;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
}

.pcard-step {
    font-family: var(--display);
    font-weight: 700;
    color: #ffffff;
    font-size: 12px;
}

.pcard-divider {
    color: rgba(162, 89, 255, 0.65);
    font-weight: 400;
}

.pcard-phase {
    color: var(--violet);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pcard-icon-wrap {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}

.pcard-icon {
    width: 20px;
    height: 20px;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.pcard-body {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.pcard-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    color: #f4f5fa;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.pcard-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    margin: 0;
}

.pcard-footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pcard-outcome {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #c5badb;
    max-width: 26ch;
}

@media (max-width: 1024px) {
    .process-flow-line {
        display: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .process-sequence-wrap {
        margin-top: 36px;
    }

    .pcard-inner {
        padding: 18px 14px 16px;
    }

    .pcard-header {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .pcard-badge {
        font-size: 9px;
        padding: 4px 8px;
        gap: 3px;
        letter-spacing: 0.04em;
    }

    .pcard-step { font-size: 10px; }
    .pcard-phase { font-size: 9px; }

    .pcard-icon-wrap {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .pcard-icon {
        width: 14px;
        height: 14px;
    }

    .pcard-title {
        font-size: 17px;
        margin: 0 0 8px;
    }

    .pcard-desc {
        font-size: 12px;
        line-height: 1.65;
    }

    .pcard-body { margin-bottom: 12px; }

    .pcard-outcome {
        font-size: 11px;
        line-height: 1.55;
        max-width: none;
    }

    .pcard-footer { padding-top: 10px; }
}


.closing {
    padding: 70px 55px;
    margin-bottom: 90px;
    border: 1px solid #48415a;
    border-radius: 12px;
    background: radial-gradient(ellipse at 10% 100%, #24294c65, transparent 70%), linear-gradient(120deg, #14131f, #13101c);
    position: relative;
    overflow: hidden
}

.closing:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 8px;
    color: #776789;
    font: 24px var(--display)
}

.closing>div {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    align-items: center
}

.closing h2 {
    font-size: clamp(3rem, 4.7vw, 5rem);
    line-height: 1.08
}

.closing p {
    font-size: 15px;
    margin-bottom: 24px
}

.closing .text-link {
    display: flex;
    font-size: 12px;
    margin-top: 8px
}

.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 40px;
    padding: 10px 0 60px
}

.footer-top p {
    font-size: 14px;
    margin-top: 20px
}

.footer-top>div>a:not(.logo) {
    display: block;
    margin-top: 13px;
    font-size: 14px;
    color: #a9aaba
}

.footer-top>div>a:hover {
    color: var(--cyan)
}

.footer-label {
    font-size: 11px;
    letter-spacing: .13em;
    color: #767b8e
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: #767c8c
}

.page-intro {
    padding-block: 90px 65px
}

.page-intro h1 {
    max-width: 970px
}

.page-intro>p:not(.eyebrow) {
    font-size: 18px;
    max-width: 680px
}

.work-section {
    padding-bottom: 100px
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
    margin-bottom: 40px;
    gap: 20px
}

.filter-bar>div {
    display: flex;
    gap: 8px
}

.filter-bar button {
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: #a1a5b5;
    font-size: 14px;
    padding: 11px 16px
}

.filter-bar button span {
    margin-left: 10px;
    font-size: 11px;
    color: #83889d
}

.filter-bar button[aria-pressed=true] {
    background: #1a1b29;
    border-color: #383145;
    color: #fff
}

.filter-bar>span {
    font-size: 12px;
    color: #8b8f9f
}

.project-card[hidden] {
    display: none
}

.project-intro>.text-link {
    margin-bottom: 32px
}

.project-intro .button {
    margin-top: 15px
}

.project-detail>.project-art {
    aspect-ratio: 2;
    max-height: 600px
}

.project-detail .project-wordmark {
    font-size: clamp(2.8rem, 6vw, 6rem)
}

.project-facts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    padding-block: 37px
}

.project-facts span {
    font-size: 11px;
    letter-spacing: .12em;
    color: #8b8c9e
}

.project-facts h3 {
    font-size: 18px;
    letter-spacing: -.015em;
    margin-top: 12px
}

.detail-story {
    padding-block: 70px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.detail-story p {
    font-size: 17px
}

.service-detail {
    display: grid;
    grid-template-columns: 60px 1.4fr 1fr;
    gap: 30px;
    padding-block: 65px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 100px
}

.detail-number {
    font-family: var(--display);
    font-size: 18px;
    color: #a08bd0
}

.service-detail h2 {
    font-size: 42px;
    margin-bottom: 20px
}

.service-detail p {
    max-width: 530px
}

.service-summary {
    color: #e0deeb;
    font-size: 19px
}

.service-detail ul {
    align-self: center;
    list-style: none;
    padding: 0 0 0 30px;
    font-size: 15px
}

.service-detail li {
    border-bottom: 1px solid var(--line);
    padding: 17px 0
}

.service-detail li:before {
    content: '+';
    color: var(--cyan);
    margin-right: 16px
}

.service-details {
    padding-bottom: 50px
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding-block: 40px 70px
}

.about-statement {
    font-family: var(--display);
    font-size: clamp(2.5rem, 4.3vw, 4.5rem);
    letter-spacing: -.05em;
    line-height: 1.15;
    border-left: 2px solid #7b71c1;
    padding-left: 35px
}

.about-story p {
    font-size: 17px
}

.about-story .button {
    margin-top: 20px
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 85px;
    padding-block: 85px 100px
}

.contact-copy h1 {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    line-height: 1.13
}

.contact-copy>p {
    font-size: 17px;
    max-width: 410px
}

.contact-direct {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
    padding: 24px 0 0;
}

.contact-direct h3 {
    font-size: 20px;
    margin: 0;
}

.contact-direct>.text-link {
    display: inline-flex;
    margin: 0;
}

.booking-note {
    display: flex;
    gap: 15px;
    align-items: center;
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 25px
}

.booking-note>span {
    font-size: 30px;
    color: #a49bc5
}

.booking-note p {
    font-size: 13px;
    margin: 0
}

.consultation-form {
    padding: 35px;
    background: #10121b;
    border: 1px solid #2f3041;
    border-radius: 12px
}

.consultation-form h2 {
    font-size: 27px;
    margin-bottom: 10px
}

.consultation-form>p {
    font-size: 14px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px
}

label {
    font-size: 13px;
    font-weight: 500;
    color: #d7d8e1
}

label>span:not(.consent span) {
    color: #a498cf
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.form-grid label>span {
    display: none
}

.full {
    grid-column: 1/-1
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    color: #eee;
    background: #0b0d14;
    border: 1px solid #343747;
    border-radius: 5px;
    font-size: 14px;
    outline-offset: 2px
}

textarea {
    resize: vertical;
    min-height: 100px
}

input::placeholder,
textarea::placeholder {
    color: #727789
}

input:hover,
select:hover,
textarea:hover {
    border-color: #55536b
}

label small {
    font-size: 11px;
    color: #969aab;
    font-weight: 400
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    margin: 24px 0
}

.consent input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #8c90f6
}

.consent a {
    text-decoration: underline;
    text-underline-offset: 3px
}

.submit {
    width: 100%;
    border: 0
}

.submit:disabled {
    opacity: .65;
    cursor: wait
}

.form-footnote {
    font-size: 11px !important;
    text-align: center;
    margin: 15px 0 0
}

.honey {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

#form-status:empty {
    display: none
}

#form-status {
    padding: 15px;
    border: 1px solid #43615f;
    background: #162822;
    color: #bce3d5;
    border-radius: 6px;
    margin-bottom: 0;
    margin-top: 20px
}

#form-status.error {
    border-color: #82545d;
    background: #29191e;
    color: #f2bdc7
}

.narrow {
    max-width: 800px;
    padding-bottom: 100px
}

.narrow h2 {
    font-size: 26px;
    margin: 40px 0 15px
}

.narrow a {
    text-decoration: underline
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--cyan);
    color: #000;
    padding: 10px
}

.skip:focus {
    top: 10px
}

.menu-toggle {
    display: none
}

::selection {
    background: #7761bf;
    color: #fff
}

@media(min-width:1600px) {
    .hero {
        min-height: 760px
    }

    .hero-art {
        height: 380px !important
    }
}

@media(max-width:1100px) {
    .wrap {
        width: calc(100% - 64px)
    }

    .nav-wrap {
        width: calc(100% - 48px)
    }

    .site-header nav {
        gap: 24px
    }

    .hero {
        gap: 32px;
        min-height: 650px
    }

    .hero h1 {
        font-size: 4rem
    }

    .hero-art {
        height: 280px !important
    }

    .hero-actions {
        gap: 15px
    }

    .hero-actions>.text-link {
        font-size: 13px
    }

    .showcase-mini {
        width: 90%;
        transform: translate(7px, 12px) rotate(4deg)
    }

    .service-card {
        padding: 25px 18px
    }

    .service-card h3 {
        font-size: 21px
    }

    .quality-intro {
        gap: 40px
    }

    .contact-layout {
        gap: 35px
    }

    .consultation-form {
        padding: 26px
    }

    .service-detail {
        grid-template-columns: 40px 1.3fr 1fr
    }
}

@media(max-width:800px) {
    .nav-wrap {
        height: 80px
    }

    .logo,
    .logo img {
        width: 145px
    }

    .site-header nav {
        gap: 20px
    }

    .nav-cta {
        display: none
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 55px;
        gap: 50px
    }

    /* Hero slider: single column on tablets */
    .hero-slider {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: unset;
        overflow: hidden;
    }

    .hero-copy-container {
        min-height: unset;
    }

    .hero-store-showcase,
    .hero-laptop-showcase {
        width: 100%;
        justify-content: center;
    }

    .store-phone-frame {
        width: min(260px, 70vw);
        height: min(520px, 130vw);
    }

    .laptop-frame {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(3rem, 8vw, 4.8rem)
    }


    .hero-description br:first-child {
        display: none
    }

    .hero-showcase {
        width: 90%;
        max-width: 530px;
        margin: 0 auto
    }

    .hero-art {
        height: 320px !important
    }

    .hero-note {
        margin-top: 25px
    }

    .capability-strip .wrap {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 10px;
        padding-block: 20px
    }

    .capability-strip b:last-child {
        display: none
    }

    .section {
        padding-block: 70px
    }

    .section-heading {
        align-items: flex-start
    }

    .section-heading p br {
        display: none
    }

    .section-heading>div:last-child:not(:first-child) {
        max-width: 230px
    }

    .project-grid {
        gap: 32px 20px
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-card:nth-child(2) {
        border-right: 0
    }

    .service-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .service-card {
        padding: 25px;
        min-height: 260px
    }

    .service-top {
        margin-bottom: 27px
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .quality-intro {
        grid-template-columns: 1fr
    }

    .quality-intro>p {
        margin-top: 25px
    }

    .closing {
        padding: 40px 30px;
        margin-bottom: 65px
    }

    .closing>div {
        align-items: flex-start;
        gap: 30px
    }

    .closing h2 {
        font-size: 3rem
    }

    .closing .button {
        font-size: 12px;
        padding: 12px 15px
    }

    .footer-top {
        grid-template-columns: 1.3fr 1fr 1.2fr;
        gap: 20px
    }

    .footer-top>div>a:not(.logo) {
        font-size: 12px
    }

    .footer-bottom {
        flex-wrap: wrap;
        font-size: 11px
    }

    .page-intro {
        padding-block: 60px 45px
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-block: 55px 75px
    }

    .contact-copy>p {
        max-width: 600px
    }

    .contact-direct {
        padding-top: 24px
    }

    .booking-note {
        margin-top: 25px
    }

    .consultation-form {
        padding: 30px
    }

    .service-detail {
        grid-template-columns: 35px 1fr;
        gap: 20px;
        padding-block: 40px
    }

    .service-detail ul {
        grid-column: 2;
        padding-left: 0;
        margin: 0
    }

    .service-detail h2 {
        font-size: 34px
    }

    .about-story {
        gap: 35px
    }

    .about-statement {
        padding-left: 22px
    }

    .detail-story {
        gap: 35px
    }

    .project-facts h3 {
        font-size: 16px
    }

    .project-caption h3 {
        font-size: 20px
    }
}

@media(max-width:560px) {
    .wrap {
        width: calc(100% - 40px)
    }
}

@media(max-width:800px) {
    .nav-wrap {
        width: calc(100% - 48px);
        height: 76px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: 1px solid #a98ac94d;
        border-radius: 12px;
        padding: 0;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        height: 1px;
        background: #eee;
        width: 18px
    }

    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .menu-toggle:focus-visible { outline: 2px solid #cbb0fa; outline-offset: 3px; }

    .site-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        background: #140c26;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 20px 40px #06011280;
    }

    .site-header nav.is-open {
        display: flex
    }

    .site-header nav a {
        padding: 12px
    }

    .site-header nav a[aria-current]:after {
        display: none
    }

    /* ── Services dropdown: inline on mobile ── */
    .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
        padding: 12px;
        justify-content: space-between;
        font-size: 14px;
        color: #b4b5c0;
    }

    .nav-dropdown-menu {
        /* Override absolute positioning */
        position: static;
        transform: none !important;
        width: 100%;
        left: auto;
        top: auto;
        border-radius: 12px;
        padding: 12px;
        margin-top: 4px;
        box-shadow: none;
        /* Collapse by default, expand when active */
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown-menu.is-active {
        display: block;
        transform: none !important;
    }

    /* Single column grid on narrow screens */
    .nav-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .nav-dropdown-item {
        padding: 12px;
        gap: 12px;
    }

    .nav-dropdown-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .nav-dropdown-item strong {
        font-size: 14px;
    }

    .nav-dropdown-item span:not(.nav-dropdown-icon) {
        font-size: 12px;
    }

    /* Disable hover-open on touch (handled by JS click) */
    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu.is-active {
        display: block;
    }
}

@media(max-width:560px) {
    .hero {
        padding-top: 38px;
        padding-bottom: 45px;
        gap: 40px
    }


    /* ── Hero slider: stack vertically on mobile ── */
    .hero-slider {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: unset;
        padding-top: 38px;
        padding-bottom: 45px;
        overflow: hidden;
    }

    .hero-copy-container {
        min-height: unset;
    }

    /* Phone mockup: scale down to fit narrow screens */
    .store-phone-frame {
        width: min(240px, 65vw);
        height: min(460px, 125vw);
        border-width: 8px;
        border-radius: 26px;
    }

    .hero-store-showcase {
        width: 100%;
        justify-content: center;
    }

    /* Laptop showcase: also constrain on mobile */
    .hero-laptop-showcase {
        width: 100%;
    }

    .laptop-frame {
        max-width: 100%;
    }



    .eyebrow {
        font-size: 10px;
        margin-bottom: 20px
    }

    .hero h1 {
        font-size: clamp(2.7rem, 10vw, 3.55rem)
    }

    .hero-description {
        font-size: 15px
    }

    .hero-description br {
        display: none
    }

    .hero-actions {
        gap: 14px
    }

    .hero-actions .button {
        padding: 13px 16px;
        font-size: 12px
    }

    .hero-actions .text-link {
        font-size: 12px
    }

    .hero-note {
        font-size: 11px
    }

    .hero-showcase {
        width: 95%;
        padding-top: 0
    }

    .hero-art {
        height: 240px !important
    }

    .showcase-caption h2 {
        font-size: 20px
    }

    .showcase-mini {
        width: 85%
    }

    .showcase-mini img {
        width: 72px;
        height: 57px
    }

    .showcase-mini strong {
        font-size: 14px
    }

    .showcase-mini div span {
        font-size: 8px
    }

    .showcase-bottom {
        font-size: 8px
    }

    .capability-strip .wrap {
        gap: 9px 12px;
        font-size: 9px;
        letter-spacing: .07em
    }

    .capability-strip b {
        font-size: 12px
    }

    .section {
        padding-block: 55px
    }

    .section-heading {
        display: block;
        margin-bottom: 28px
    }

    .section-heading>div:last-child:not(:first-child) {
        max-width: none;
        margin-top: 24px
    }

    .section-heading>p {
        margin-top: 22px
    }

    .section-heading h2 {
        font-size: 2.4rem
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .project-caption {
        padding-top: 15px
    }

    .project-caption p {
        font-size: 11px
    }

    .project-caption h3 {
        font-size: 21px
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-card {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        min-height: 180px;
        padding: 20px
    }

    .service-card:nth-child(even) {
        border-right: 0
    }

    .service-card:nth-child(n+3) {
        border-bottom: 0
    }

    .service-card p {
        max-width: none;
        font-size: 13px;
    }

    .service-card h3 {
        font-size: 18px
    }

    .service-top {
        margin-bottom: 23px
    }

    .service-link {
        padding-top: 8px
    }

    .quality-intro h2 {
        font-size: 2.2rem
    }

    .quality-intro>p {
        font-size: 15px
    }

    .process-grid {
        margin-top: 40px;
        gap: 30px 22px
    }

    .process-grid h3 {
        font-size: 19px;
        margin-top: 20px
    }

    .process-grid p {
        font-size: 13px
    }

    .closing {
        padding: 32px 24px;
        margin-bottom: 50px
    }

    .closing>div {
        display: block
    }

    .closing h2 {
        font-size: 3rem;
        margin-bottom: 27px
    }

    .closing p {
        font-size: 14px
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-bottom: 35px
    }

    .footer-top>div:first-child {
        grid-column: 1/-1
    }

    .footer-top p {
        margin-top: 15px
    }

    .footer-label {
        font-size: 10px
    }

    .footer-bottom {
        gap: 12px;
        padding-block: 20px
    }

    .footer-bottom>span:first-child {
        width: 100%
    }

    .page-intro h1 {
        font-size: 2.8rem
    }

    .page-intro>p:not(.eyebrow) {
        font-size: 16px
    }

    .filter-bar {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column
    }

    .filter-bar button {
        padding: 10px 12px;
        font-size: 12px
    }

    .filter-bar button span {
        margin-left: 6px
    }

    .filter-bar>div {
        gap: 3px
    }

    .project-detail>.project-art {
        aspect-ratio: 1.3
    }

    .project-facts {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-block: 25px
    }

    .project-facts h3 {
        margin-bottom: 0
    }

    .detail-story {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 45px 60px
    }

    .detail-story h2 {
        font-size: 2rem
    }

    .detail-story p {
        font-size: 15px
    }

    .service-detail {
        gap: 15px;
        grid-template-columns: 25px 1fr
    }

    .service-detail h2 {
        font-size: 29px
    }

    .service-detail p {
        font-size: 15px
    }

    .service-detail .text-link {
        font-size: 12px
    }

    .service-detail ul {
        font-size: 14px
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 25px
    }

    .about-story p {
        font-size: 16px
    }

    .contact-copy h1 {
        font-size: 2.8rem
    }

    .contact-copy h1 br {
        display: none
    }

    .contact-copy>p {
        font-size: 15px
    }

    .consultation-form {
        padding: 24px 20px
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .full {
        grid-column: auto
    }

    input,
    select,
    textarea {
        font-size: 16px
    }

    .consultation-form h2 {
        font-size: 24px
    }

    .narrow h2 {
        font-size: 23px
    }
}

.trusted-section {
    padding: 55px 0 48px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #0d0f18, var(--bg))
}

.trusted-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px
}

.trusted-heading h2 {
    font: 500 16px/1.5 var(--font);
    letter-spacing: .035em;
    color: #bfc3d2;
    text-align: center
}

.trusted-heading>span {
    height: 1px;
    width: 85px;
    background: linear-gradient(90deg, transparent, #505064)
}

.trusted-heading>span:last-child {
    transform: rotate(180deg)
}

.trusted-logos {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px
}

.trusted-logo {
    flex: 0 0 calc((100% - 96px)/5);
    min-width: 0;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px
}

.trusted-logo img {
    width: 100%;
    max-width: 180px;
    height: 66px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .65;
    transition: opacity .2s, transform .2s
}

.trusted-logo:hover img {
    opacity: 1;
    transform: translateY(-3px)
}

.trusted-logo--detailed img {
    filter: grayscale(1) brightness(1.65);
    opacity: .85
}

@media(max-width:900px) {
    .trusted-logo {
        flex-basis: calc((100% - 48px)/3)
    }

    .trusted-logos {
        gap: 14px 24px
    }
}

@media(max-width:560px) {
    .trusted-section {
        padding: 35px 0 30px
    }

    .trusted-heading {
        gap: 12px;
        margin-bottom: 20px
    }

    .trusted-heading h2 {
        font-size: 14px
    }

    .trusted-heading>span {
        width: 25px
    }

    .trusted-logos {
        gap: 12px 10px
    }

    .trusted-logo {
        flex-basis: calc((100% - 20px)/3);
        height: 73px;
        padding: 9px 5px
    }

    .trusted-logo img {
        height: 50px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }
}

/* ── Portfolio Screenshot Cards & Overlays ── */
.project-sc {
    position: relative !important;
    overflow: hidden !important;
    background: #090a14 !important;
}

.project-sc .sc-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    opacity: 1 !important;
    filter: brightness(0.92) contrast(1.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    z-index: 1;
}

.project-sc .sc-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: linear-gradient(180deg, rgba(8, 10, 22, 0.40) 0%, rgba(8, 10, 22, 0.76) 100%) !important;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition: background 0.4s ease;
    pointer-events: none;
}

.project-sc .sc-overlay a.sc-cta {
    pointer-events: auto;
}

.sc-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f1f3f9;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.sc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 9999px;
    background: linear-gradient(110deg, #58cefb, #9390fb);
    color: #08091a !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 22px rgba(88, 206, 251, 0.4);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.sc-cta span {
    font-size: 15px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.25s ease;
}

.project-card:hover .project-sc .sc-img,
.showcase-main:hover .project-sc .sc-img,
.project-sc.hero-art:hover .sc-img {
    transform: scale(1.045);
    filter: brightness(0.85);
}

.project-card:hover .project-sc .sc-overlay,
.showcase-main:hover .project-sc .sc-overlay,
.project-sc.hero-art:hover .sc-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 22, 0.30) 0%, rgba(8, 10, 22, 0.82) 100%) !important;
}

.project-card:hover .sc-cta,
.showcase-main:hover .sc-cta,
.sc-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 32px rgba(88, 206, 251, 0.55), 0 0 28px rgba(147, 144, 251, 0.45);
}

.project-card:hover .sc-cta span,
.showcase-main:hover .sc-cta span,
.sc-cta:hover span {
    transform: translate(2px, -2px);
}

/* Bookshelf Grid Accordion with 3D Overlap (Facing Right) */
.bookshelf-grid {
    display: flex;
    gap: 0;
    height: 520px;
    padding-left: 10px;
    perspective: 1500px;
}

.bookshelf-card {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: #111420;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    margin-left: -25px;
    transform: rotateY(-15deg) rotateZ(4deg) scale(0.96);
    transform-origin: bottom center;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bookshelf-card:first-child {
    margin-left: 0;
}

.bookshelf-card a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Screenshot image always fills the card background */
.bookshelf-card .cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.bookshelf-card .cover .project-art {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border-radius: 0;
}

.bookshelf-card .cover .sc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s, filter 0.6s;
    filter: brightness(0.5);
}

/* Spine: name label overlay, always on top of the image */
.bookshelf-card .spine {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 32px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.45s ease;
    background: linear-gradient(180deg, rgba(8, 10, 22, 0) 30%, rgba(8, 10, 22, 0.92) 100%);
    pointer-events: none;
}

.bookshelf-card .spine h3 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    margin: 0;
    font-size: 22px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.bookshelf-card .spine span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--cyan);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* On hover: expand card, flatten, reveal image in full brightness */
.bookshelf-card:hover,
.bookshelf-card:focus-within {
    flex: 9;
    transform: rotateY(0deg) rotateZ(0deg) scale(1);
    transform-origin: bottom center;
    margin-left: 0;
    margin-right: 15px;
    z-index: 50;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.bookshelf-card:hover .spine,
.bookshelf-card:focus-within .spine {
    opacity: 0;
}

/* Hide badge and button on bookshelf cards entirely since we use custom hover content */
.bookshelf-card .sc-badge,
.bookshelf-card .sc-cta {
    display: none !important;
}

/* Custom hover content for brand name and field */
.bookshelf-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 35px 30px;
    z-index: 10;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.bookshelf-hover-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.bookshelf-hover-content span {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Mobile-only CTA — hidden on desktop */
.bookshelf-mobile-cta {
    display: none;
}

.bookshelf-card:hover .bookshelf-hover-content,
.bookshelf-card:focus-within .bookshelf-hover-content {
    opacity: 1;
    transform: translateY(0);
}

.bookshelf-card:hover .cover .sc-img,
.bookshelf-card:focus-within .cover .sc-img {
    filter: brightness(0.85);
    transform: scale(1.04);
}

.bookshelf-card:hover .cover .sc-overlay,
.bookshelf-card:focus-within .cover .sc-overlay {
    background: linear-gradient(180deg, rgba(8, 10, 22, 0.25) 0%, rgba(8, 10, 22, 0.75) 100%) !important;
}

@media (max-width: 900px) {
    .bookshelf-grid {
        flex-direction: column;
        height: auto;
        padding-left: 0;
        perspective: none;
    }

    /* Reset all desktop 3D/animation effects */
    .bookshelf-card {
        margin-left: 0;
        margin-right: 0;
        transform: none !important;
        transition: none !important;
        flex: none;
        height: 400px;
        z-index: 1;
        box-shadow: none;
        cursor: pointer;
    }

    .bookshelf-card:nth-child(n+5) {
        display: none;
    }

    /* No hover effect — neutralise all desktop hover rules */
    .bookshelf-card:hover,
    .bookshelf-card:focus-within {
        flex: none;
        height: 400px;
        margin-left: 0;
        margin-right: 0;
        transform: none !important;
        box-shadow: none;
        z-index: 1;
    }

    /* Always show project name / field label */
    .bookshelf-card .bookshelf-hover-content {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        gap: 8px;
    }

    /* Show the CTA pill on mobile */
    .bookshelf-mobile-cta {
        display: inline-flex !important;
        align-items: center;
        margin-top: 8px;
        padding: 10px 20px;
        border-radius: 9999px;
        background: linear-gradient(110deg, #58cefb, #9390fb);
        color: #08091a !important;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: none;
        width: fit-content;
        pointer-events: none;
    }

    /* Hide the spine — content label is already visible */
    .bookshelf-card .spine {
        opacity: 0 !important;
        transition: none !important;
    }

    /* Image at normal brightness, no scale */
    .bookshelf-card .cover .sc-img {
        filter: brightness(0.75) !important;
        transform: none !important;
        transition: none !important;
    }

    /* Make the whole card area tappable */
    .bookshelf-card a {
        position: absolute;
        inset: 0;
        z-index: 20;
    }
}


}


/* ── Footer ────────────────────────────────────────────── */

footer {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: 160px;
    position: relative;
    border-top: var(--neon-line);
    box-shadow: var(--neon-glow);
    border-bottom: var(--neon-line);
    box-shadow: var(--neon-glow);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-brand .footer-logo {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.footer-brand .footer-logo span {
    color: #9f82d7;
    font-weight: 500;
}

.footer-brand p {
    color: #a1a6b8;
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-label {
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #6b6e80;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer-col a {
    color: #a1a6b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-cta-card {
    margin-top: 8px;
    background: rgba(20, 28, 43, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.footer-cta-card p {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.footer-cta-card .button {
    font-size: 13px;
    padding: 8px 18px;
    min-height: auto;
    border-radius: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    padding-top: 30px;
    border-top: var(--neon-line);
    font-size: 12px;
    color: #6b6e80;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Interactive services showcase */
.service-explorer {
    padding-top: 65px;
    padding-bottom: 70px;
}

.sx-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 38px;
}

.sx-intro h2 {
    font: 500 clamp(32px, 4vw, 56px)/1.1 var(--display);
    letter-spacing: -.04em;
    margin: 14px 0 0;
}

.sx-intro>p {
    color: var(--muted);
    margin: 0 0 4px;
    font-size: 15px;
}

.sx-stage {
    padding: 30px 48px 20px;
    border: 1px solid #ffffff20;
    border-radius: 24px;
    background: radial-gradient(ellipse at 10% 95%, #28bcd33b, transparent 60%), radial-gradient(ellipse at 85% 10%, #a14aed55, transparent 60%), linear-gradient(140deg, #172a50, #21163f 60%, #101b35);
    overflow: hidden;
}

.sx-tabs {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 30px;
    padding: 6px;
    gap: 4px;
    border: 1px solid #ffffff26;
    border-radius: 40px;
    background: #080c2966;
}

.sx-tabs button {
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: #d2d3e6;
    font: 500 13px var(--font);
    padding: 13px 23px;
    cursor: pointer;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.sx-tabs button:hover {
    background: #ffffff15;
    color: #fff;
}

.sx-tabs button[aria-selected="true"] {
    background: #f7f5ff;
    color: #24133e;
    box-shadow: 0 3px 14px #06081930;
}

.sx-tabs button:focus-visible,
.sx-panel:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

.sx-panel[hidden] {
    display: none;
}

.sx-panel {
    animation: sx-reveal .35s ease both;
}

.sx-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto 24px;
    max-width: 1080px;
}

.sx-kicker {
    font-size: 10px;
    letter-spacing: .16em;
    color: #a9c6ef;
    font-weight: 600;
}

.sx-copy h3 {
    font: 500 clamp(23px, 2.5vw, 32px)/1.2 var(--display);
    letter-spacing: -.035em;
    margin: 8px 0;
}

.sx-copy p {
    font-size: 13px;
    color: #c9c9df;
    max-width: 580px;
    line-height: 1.65;
    margin: 0;
}

.sx-copy .button {
    flex-shrink: 0;
    font-size: 12px;
    min-height: 44px;
    padding: 10px 16px;
    gap: 18px;
    background: #ffffff0c;
}

.sx-window {
    max-width: 1080px;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #ffffff35;
    background: #0d1529;
    box-shadow: 0 24px 55px #03061750;
}

.sx-window-bar {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: #141c33;
    color: #a7b2cb;
    font-size: 10px;
}

.sx-window-dots {
    display: flex;
    gap: 5px;
}

.sx-window-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #59627d;
}

.sx-window-dots i:first-child {
    background: #be84c8;
}

.sx-site-preview {
    aspect-ratio: 2.22;
    overflow: hidden;
    background: #edece8;
}

.sx-site-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.sx-caption {
    text-align: center;
    color: #b6bed4;
    font-size: 10px;
    letter-spacing: .04em;
    margin: 16px 0 0;
}

.sx-workflow {
    min-height: 440px;
    padding: 30px 38px;
    background: radial-gradient(circle at center, #42296755, transparent 70%), radial-gradient(#ffffff14 1px, transparent 1px);
    background-size: auto, 20px 20px;
}

.sx-demo-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 10px;
    letter-spacing: .1em;
    color: #aab9d3;
}

.sx-status {
    font-size: 9px;
    letter-spacing: 0;
    border: 1px solid #5ce2ba35;
    color: #84ddc4;
    border-radius: 20px;
    padding: 4px 10px;
}

.sx-workflow h4,
.sx-dashboard h4 {
    font: 500 clamp(19px, 2.2vw, 28px)/1.3 var(--display);
    letter-spacing: -.03em;
    margin: 28px 0 6px;
}

.sx-workflow>p {
    color: #9daac2;
    font-size: 12px;
    margin: 0;
}

.sx-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 44px 0;
}

.sx-node {
    position: relative;
    padding: 20px 14px;
    border: 1px solid #9b7fce55;
    border-radius: 12px;
    background: #1d2440;
    box-shadow: 0 8px 20px #0002;
}

.sx-node:not(:last-child):after {
    content: '';
    position: absolute;
    width: 26px;
    height: 1px;
    background: #9276ce;
    right: -26px;
    top: 50%;
}

.sx-node>span {
    display: block;
    width: 30px;
    height: 30px;
    padding-top: 5px;
    text-align: center;
    background: #9c6cf32a;
    border-radius: 8px;
    color: #bd9cff;
    font-size: 11px;
    margin-bottom: 16px;
}

.sx-node strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
}

.sx-node small {
    display: block;
    color: #9facbf;
    font-size: 10px;
    margin-top: 5px;
}

.sx-node i {
    position: absolute;
    right: 14px;
    top: 22px;
    color: #72d7c0;
    font-style: normal;
    font-size: 12px;
}

.sx-run {
    border-top: 1px solid #ffffff15;
    padding-top: 17px;
    font-size: 10px;
    color: #b9c6dc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sx-run>span:last-child {
    margin-left: auto;
    color: #8d9ab3;
}

.sx-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #70dcc1;
    box-shadow: 0 0 12px #70dcc177;
}

.sx-workspace {
    display: grid;
    grid-template-columns: 165px 1fr;
    min-height: 440px;
    background: #101a30;
}

.sx-workspace aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 18px;
    background: #1e2545;
    font-size: 11px;
    color: #a9b3cd;
}

.sx-workspace aside strong {
    font: 600 20px var(--display);
    color: white;
    margin-bottom: 24px;
}

.sx-workspace aside strong span {
    color: #b496f1;
}

.sx-workspace aside>span {
    padding: 7px 10px;
}

.sx-side-active {
    background: #9c7be52b;
    color: #e3d8ff;
    border-radius: 6px;
}

.sx-workspace aside small {
    margin-top: auto;
    padding: 15px 10px 0;
    font-size: 10px;
}

.sx-dashboard {
    min-width: 0;
    padding: 26px;
}

.sx-dashboard h4 {
    margin-top: 20px;
}

.sx-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.sx-metrics>div {
    background: #1b2941;
    border: 1px solid #ffffff0d;
    border-radius: 8px;
    padding: 12px;
}

.sx-metrics small {
    display: block;
    font-size: 10px;
    color: #a4b3ce;
}

.sx-metrics strong {
    font: 500 24px var(--display);
    display: block;
    margin-top: 5px;
}

.sx-metrics strong span {
    font-size: 12px;
    color: #8593ac;
}

.sx-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sx-board h5 {
    font-size: 10px;
    font-weight: 500;
    margin: 0 0 10px;
    color: #b9c9e2;
}

.sx-task {
    padding: 12px;
    background: #1b2941;
    border: 1px solid #ffffff0c;
    border-radius: 6px;
    margin-bottom: 9px;
    font-size: 10px;
}

.sx-task small {
    display: block;
    font-size: 8px;
    color: #9ba9c0;
    margin-top: 6px;
}

.sx-task-line {
    display: block;
    width: 40%;
    height: 3px;
    background: #a38bdd;
    border-radius: 2px;
    margin-top: 12px;
}

.sx-board>div:nth-child(2) .sx-task-line {
    width: 65%;
    background: #53b9d4;
}

.sx-board>div:nth-child(3) .sx-task-line {
    width: 90%;
    background: #6ad0b1;
}

@keyframes sx-reveal {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:900px) {
    .sx-stage {
        padding: 24px;
    }

    .sx-tabs button {
        padding: 12px 15px;
    }

    .sx-workflow {
        padding: 24px;
        min-height: 380px;
    }

    .sx-flow {
        gap: 15px;
        margin: 30px 0;
    }

    .sx-node:not(:last-child):after {
        width: 16px;
        right: -16px;
    }

    .sx-workspace {
        grid-template-columns: 130px 1fr;
        min-height: 380px;
    }

    .sx-dashboard {
        padding: 20px;
    }

    .sx-copy {
        align-items: flex-start;
    }
}

@media(max-width:600px) {
    .service-explorer {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .sx-intro {
        display: block;
        margin-bottom: 25px;
    }

    .sx-intro>p {
        margin-top: 18px;
        font-size: 13px;
    }

    .sx-stage {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .sx-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        width: 100%;
        max-width: 100%;
        border-radius: 50px;
        margin-bottom: 24px;
        gap: 4px;
        padding: 5px;
        justify-content: flex-start;
        -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
        mask-image: linear-gradient(to right, black 80%, transparent 100%);
    }

    .sx-tabs::-webkit-scrollbar {
        display: none;
    }

    .sx-tabs button {
        flex: 0 0 auto;
        scroll-snap-align: start;
        font-size: 12px;
        padding: 10px 16px;
        border-radius: 50px;
        min-height: 40px;
        letter-spacing: -0.01em;
    }

    .sx-copy {
        display: block;
        padding: 0 4px;
    }

    .sx-copy h3 {
        font-size: 24px;
    }

    .sx-copy p {
        font-size: 12px;
    }

    .sx-copy .button {
        margin-top: 16px;
    }

    .sx-kicker {
        font-size: 8px;
    }

    .sx-site-preview {
        aspect-ratio: 1.25;
    }

    .sx-site-preview img {
        object-fit: cover;
        object-position: left top;
    }

    .sx-workflow {
        padding: 18px 14px;
        min-height: 0;
    }

    .sx-demo-heading {
        font-size: 8px;
        letter-spacing: .04em;
    }

    .sx-status {
        font-size: 8px;
        padding: 3px 6px;
    }

    .sx-workflow h4 {
        margin-top: 22px;
    }

    .sx-flow {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 24px 0;
    }

    .sx-node {
        padding: 14px 10px;
    }

    .sx-node:not(:last-child):after {
        display: none;
    }

    .sx-node strong {
        font-size: 11px;
    }

    .sx-node small {
        font-size: 9px;
    }

    .sx-run {
        flex-wrap: wrap;
        font-size: 9px;
    }

    .sx-run>span:last-child {
        margin-left: 14px;
    }

    .sx-workspace {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .sx-workspace aside {
        display: none;
    }

    .sx-dashboard {
        padding: 18px 12px;
    }

    .sx-metrics {
        gap: 6px;
    }

    .sx-metrics>div {
        padding: 8px;
    }

    .sx-metrics small {
        font-size: 8px;
    }

    .sx-metrics strong {
        font-size: 21px;
    }

    .sx-board {
        gap: 6px;
    }

    .sx-task {
        padding: 8px;
        font-size: 9px;
        overflow-wrap: anywhere;
    }

    .sx-task small {
        font-size: 8px;
    }

    .sx-board h5 {
        font-size: 8px;
    }

    .sx-caption {
        font-size: 9px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .sx-panel {
        animation: none;
    }

    .sx-tabs button {
        transition: none;
    }
}

/* Locally hosted service demo films. */
.sx-video-wrap {
    position: relative;
    background: #10172c;
}

.sx-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.sx-playback {
    position: absolute;
    right: 16px;
    bottom: 66px;
    border: 1px solid #ffffff40;
    background: #090e24dc;
    color: #fff;
    border-radius: 24px;
    padding: 10px 17px;
    font: 500 12px var(--font);
    cursor: pointer;
    box-shadow: 0 4px 18px #0003;
}

.sx-playback:hover {
    background: #40305f;
}

.sx-playback:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

@media(max-width:600px) {
    .sx-playback {
        right: 8px;
        bottom: 32px;
        padding: 6px 10px;
        font-size: 10px;
    }
}

/* Phone country selector precedes the national number. */
.phone-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.phone-input-group {
    display: grid;
    grid-template-columns: minmax(100px, .9fr) minmax(110px, 1.1fr);
    gap: 8px;
}

.phone-input-group select {
    text-overflow: ellipsis;
    padding-left: 9px;
    padding-right: 7px;
}

.phone-field small {
    color: #a1a6b8;
    font-size: 11px;
    line-height: 1.5;
}

@media(max-width:380px) {
    .phone-input-group {
        grid-template-columns: 1fr;
    }
}

/* Cyber background for the first hero slide */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100%;
    min-height: 800px;
    transform: translate(-50%, -50%);
    background: url('/assets/heroimages/automationhero.webp') center/cover no-repeat;
    z-index: -2;
    opacity: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    transition: opacity 0.5s ease, background-image 0.5s ease;
}

.hero-slider[data-active-slide="0"]::after {
    background-image: url('/assets/heroimages/firstslidehero.webp');
    opacity: 0.28;
}

.hero-slider[data-active-slide="1"]::after {
    background-image: url('/assets/heroimages/websitehero.webp');
    opacity: 0.28;
}

.hero-slider[data-active-slide="2"]::after {
    background-image: url('/assets/heroimages/e-commerce%20hero.webp');
    opacity: 0.28;
}

.hero-slider[data-active-slide="3"]::after {
    background-image: url('/assets/heroimages/automationhero.webp');
    opacity: 0.28;
}

.hero-slider[data-active-slide="4"]::after {
    background-image: url('/assets/heroimages/systemshero.webp');
    opacity: 0.28;
}

.hero-slider[data-active-slide="5"]::after {
    background-image: url('/assets/heroimages/mobilehero.webp');
    opacity: 0.28;
}



/* Floating Background Particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -3;
}

.bg-particles::before,
.bg-particles::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: transparent;
}

.bg-particles::before {
    width: 3px;
    height: 3px;
    box-shadow:
        10vw 15vh 3px #2ac6f7,
        25vw 80vh 3px #c084fc,
        80vw 50vh 3px #2ac6f7,
        45vw 35vh 3px #c084fc,
        90vw 90vh 3px #2ac6f7,
        60vw 10vh 3px #c084fc,
        15vw 60vh 3px #2ac6f7,
        10vw 115vh 3px #2ac6f7,
        25vw 180vh 3px #c084fc,
        80vw 150vh 3px #2ac6f7,
        45vw 135vh 3px #c084fc,
        90vw 190vh 3px #2ac6f7,
        60vw 110vh 3px #c084fc,
        15vw 160vh 3px #2ac6f7;
    animation: float-up-loop 40s linear infinite;
}

.bg-particles::after {
    width: 5px;
    height: 5px;
    box-shadow:
        5vw 95vh 4px #c084fc,
        35vw 20vh 4px #2ac6f7,
        70vw 75vh 4px #c084fc,
        85vw 25vh 4px #2ac6f7,
        50vw 85vh 4px #c084fc,
        20vw 40vh 4px #2ac6f7,
        95vw 65vh 4px #c084fc,
        5vw 195vh 4px #c084fc,
        35vw 120vh 4px #2ac6f7,
        70vw 175vh 4px #c084fc,
        85vw 125vh 4px #2ac6f7,
        50vw 185vh 4px #c084fc,
        20vw 140vh 4px #2ac6f7,
        95vw 165vh 4px #c084fc;
    animation: float-up-loop 60s linear infinite;
    opacity: 0.5;
}

@keyframes float-up-loop {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100vh);
    }
}

/* Service Card Backgrounds */
.service-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    background: transparent !important;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.service-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 10, 16, 0.5) 0%, rgba(8, 10, 16, 0.95) 100%);
}

.service-card:hover .service-bg {
    opacity: 1;
    transform: scale(1.05);
}

/* ── E-Commerce Store Mockup ──────────────────────── */
.hero-store-showcase {
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: fadeInRight 0.8s ease forwards;
    margin-left: auto;
    margin-right: auto;
}

.hero-slider[data-active-slide="2"] .hero-store-showcase {
    display: flex;
}

.store-phone-frame {
    width: 260px;
    height: 520px;
    background: #1a1b2e;
    border: 10px solid #3a3550;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
}

.store-phone-notch {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #3a3550;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.store-phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.store-scroll-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    animation: storeScroll 20s linear infinite;
}

.store-scroll-track:hover {
    animation-play-state: paused;
}

.store-scroll-track img {
    width: 100%;
    display: block;
    border-bottom: 2px solid #000;
}

@keyframes storeScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* ── Centered Slide 1 ──────────────────────── */
.hero-slider[data-active-slide="0"] {
    grid-template-columns: 1fr;
    text-align: center;
}

.hero-slider[data-active-slide="0"] .hero-copy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-slider[data-active-slide="0"] .eyebrow,
.hero-slider[data-active-slide="0"] .hero-actions,
.hero-slider[data-active-slide="0"] .hero-note,
.hero-slider[data-active-slide="0"] .hero-dots {
    justify-content: center;
}

/* ── Neon Purple Glow Lines ─────────────────────────────────────── */

/* Nav bottom separator */
.site-header {
    box-shadow: 0 1px 0 rgba(162, 89, 255, 0.55),
        0 1px 12px rgba(162, 89, 255, 0.35),
        0 1px 32px rgba(162, 89, 255, 0.15);
}

/* Nav dropdown footer divider */
.nav-dropdown-footer {
    border-top: var(--neon-line) !important;
    box-shadow: 0 -1px 0 rgba(162, 89, 255, 0.3) inset;
}

/* Trusted-by / capability strip */
.capability-strip,
.trusted-section {
    border-top: var(--neon-line) !important;
    border-bottom: var(--neon-line) !important;
    box-shadow: 0 1px 18px rgba(162, 89, 255, 0.25),
        0 -1px 18px rgba(162, 89, 255, 0.25);
}

/* Section headings separator — no neon lines */
.section-heading,
.filter-bar {
    border-bottom: none !important;
    box-shadow: none;
}

/* Service detail list + article separators */
.service-detail {
    border-bottom: var(--neon-line) !important;
    box-shadow: 0 1px 18px rgba(162, 89, 255, 0.2);
}

/* Process grid steps */
.process-grid article:not(.process-card) {
    border-top: var(--neon-line) !important;
    box-shadow: 0 -1px 14px rgba(162, 89, 255, 0.25);
}

/* Footer — all neon lines removed */
footer {
    border: none !important;
    box-shadow: none;
}

footer .footer-top {
    border: none !important;
    box-shadow: none;
}

.footer-bottom {
    border-top: none;
}

/* Project caption / bookshelf spine */
.project-caption,
.bookshelf-card .spine {
    border-top: var(--neon-line) !important;
}

/* Service cards grid inner borders */
.service-card {
    border-color: rgba(162, 89, 255, 0.3) !important;
}

/* sx-tabs (service explorer tabs) */
.sx-tabs {
    border-bottom: var(--neon-line) !important;
    box-shadow: 0 1px 16px rgba(162, 89, 255, 0.3);
}

/* Service explorer window bar */
.sx-window-bar {
    border-bottom: var(--neon-line) !important;
}

/* Contact / form separators */
.contact-direct {
    border-top: var(--neon-line) !important;
    box-shadow: none;
}

/* About story separator */
.about-story {
    border-top: var(--neon-line) !important;
    box-shadow: 0 -1px 18px rgba(162, 89, 255, 0.2);
}

/* ── Service Cards Carousel ─────────────────────────────────────── */
.service-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.service-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Override grid styles — each card is a flex slide */
.service-carousel .service-grid,
.service-carousel-track .service-card {
    border-right: none;
}

.service-carousel-track .service-card {
    flex: 0 0 calc(25% - 0px);
    width: calc(25%);
    min-width: 260px;
    border: 1px solid rgba(162, 89, 255, 0.25);
    border-radius: 10px;
    margin-right: 0;
    box-shadow: 0 0 0 1px rgba(162, 89, 255, 0.1);
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.service-carousel-track .service-card:hover {
    background: #161725;
    box-shadow: 0 0 18px rgba(162, 89, 255, 0.3), 0 0 1px rgba(162, 89, 255, 0.6);
    transform: translateY(-3px);
}

/* Nav: arrows + dots */
.sc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.sc-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: var(--neon-line);
    background: rgba(162, 89, 255, 0.08);
    color: #c084fc;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
    box-shadow: 0 0 8px rgba(162, 89, 255, 0.2);
}

.sc-arrow:hover {
    background: rgba(162, 89, 255, 0.22);
    box-shadow: 0 0 18px rgba(162, 89, 255, 0.5);
    transform: scale(1.08);
}

.sc-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.sc-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    pointer-events: none;
}

.sc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(162, 89, 255, 0.3);
    border: none;
    cursor: default;
    pointer-events: none;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    padding: 0;
}

.sc-dot.is-active {
    background: #a259ff;
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(162, 89, 255, 0.7);
}

/* Inside carousel, .service-grid acts as the flex track itself */
#service-carousel-track {
    display: flex;
    width: 100%;
    gap: 16px;
}

#service-carousel-track .service-card {
    border-right: none !important;
    border-bottom: none !important;
}

/* ── CTA Service Icon Picker ────────────────────────────────────── */
.cta-services-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0 20px;
}

.cta-service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.25s, transform 0.25s;
}

.cta-svc-icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    border: 1px solid rgba(162, 89, 255, 0.3);
    background: rgba(162, 89, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    overflow: hidden;
}

.cta-svc-icon-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.cta-service-icon:hover .cta-svc-icon-wrap {
    background: rgba(162, 89, 255, 0.2);
    border-color: rgba(162, 89, 255, 0.75);
    box-shadow: 0 0 16px rgba(162, 89, 255, 0.45), 0 0 4px rgba(162, 89, 255, 0.7);
    transform: translateY(-3px);
}

.cta-service-icon:hover {
    color: #e2d8ff;
    transform: translateY(-3px);
}

.cta-svc-label {
    display: none;
}

.cta-service-icon:hover .cta-svc-label {
    opacity: 1;
}

/* ── Dedicated Service Pages ────────────────────────────────────── */
.service-page-wrap {
    display: block;
    position: relative;
}

.service-intro {
    padding-top: 40px;
}

.service-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(162, 89, 255, 0.2);
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #c4b8d8;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.service-back-link:hover {
    color: #fff;
    transform: translateX(-4px);
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(196, 184, 216, 0.55);
}

.breadcrumb-trail a {
    color: #c4b8d8;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-trail a:hover {
    color: #fff;
}

.breadcrumb-trail span[aria-current="page"] {
    color: #c084fc;
    font-weight: 500;
}

.service-lead {
    font-size: 19px;
    line-height: 1.65;
    color: #ded8ec;
    max-width: 800px;
    margin-top: 18px;
    margin-bottom: 32px;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 44px;
}

.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-stat-card {
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(162, 89, 255, 0.24);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.service-stat-card:hover {
    border-color: rgba(162, 89, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(162, 89, 255, 0.12);
}

.service-stat-card .stat-value {
    font-family: var(--display);
    font-size: 34px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.service-stat-card .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 500;
}

.service-media-section {
    margin-top: 40px;
    margin-bottom: 70px;
}

.service-image-window .service-window-image img {
    border-radius: 0 0 14px 14px;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 580px;
}

.service-caps-section {
    margin-bottom: 70px;
}

.service-caps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-cap-card {
    position: relative;
    padding: 34px 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(162, 89, 255, 0.22);
    border-radius: 18px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-cap-card:hover {
    border-color: rgba(162, 89, 255, 0.65);
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(162, 89, 255, 0.14);
}

.service-cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(162, 89, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-cap-card:hover::before {
    opacity: 1;
}

.cap-card-number {
    font-family: var(--display);
    font-size: 13px;
    font-weight: 600;
    color: #a259ff;
    margin-bottom: 14px;
    display: inline-block;
    letter-spacing: 0.08em;
}

.service-cap-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.35;
}

.service-cap-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.service-details-grid-section {
    margin-bottom: 70px;
}

.service-details-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.duo-card {
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(162, 89, 255, 0.24);
    border-radius: 20px;
}

.duo-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a259ff;
    font-weight: 600;
    margin-bottom: 12px;
}

.duo-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.duo-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.duo-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #ded8ec;
}

.duo-check-icon {
    color: #2ac6f7;
    flex-shrink: 0;
    margin-top: 3px;
}

.tech-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 24px;
}

.tech-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(162, 89, 255, 0.08);
    border: 1px solid rgba(162, 89, 255, 0.3);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #f0eaff;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.tech-badge:hover {
    background: rgba(162, 89, 255, 0.2);
    border-color: rgba(162, 89, 255, 0.7);
    transform: translateY(-2px);
}

.service-process-section {
    margin-bottom: 70px;
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.service-step-card {
    padding: 30px 22px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(162, 89, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.25s, transform 0.25s;
}

.service-step-card:hover {
    border-color: rgba(162, 89, 255, 0.55);
    transform: translateY(-3px);
}

.step-num {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 700;
    color: #a259ff;
}

.service-step-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}

.service-step-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

.service-work-section {
    margin-bottom: 70px;
}

.service-faq-section {
    margin-bottom: 70px;
}

.service-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 36px;
}

.service-faq-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(162, 89, 255, 0.22);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}

.service-faq-item[open] {
    border-color: rgba(162, 89, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
}

.service-faq-summary {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    list-style: none;
    user-select: none;
}

.service-faq-summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 22px;
    line-height: 1;
    color: #a259ff;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.service-faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.service-faq-body {
    padding: 0 28px 24px 28px;
}

.service-faq-body p {
    font-size: 15px;
    line-height: 1.65;
    color: #cfc7df;
    margin: 0;
}

.service-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 40px;
    margin-bottom: 40px;
    border-top: 1px solid rgba(162, 89, 255, 0.2);
    border-bottom: 1px solid rgba(162, 89, 255, 0.2);
}

.pager-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    transition: transform 0.2s;
}

.pager-prev:hover {
    transform: translateX(-4px);
}

.pager-next {
    text-align: right;
}

.pager-next:hover {
    transform: translateX(4px);
}

.pager-sub {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.pager-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.pager-all {
    font-size: 13px;
    font-weight: 500;
    color: #a259ff;
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid rgba(162, 89, 255, 0.35);
    border-radius: 999px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pager-all:hover {
    background: rgba(162, 89, 255, 0.15);
    border-color: rgba(162, 89, 255, 0.7);
    color: #fff;
}

.service-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.service-title-link h2 {
    transition: color 0.2s;
}

.service-title-link:hover h2 {
    color: #c084fc;
}

.service-detail-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .service-caps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-details-duo {
        grid-template-columns: 1fr;
    }

    .service-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-caps-grid {
        grid-template-columns: 1fr;
    }

    .service-process-grid {
        grid-template-columns: 1fr;
    }

    .service-stats-grid {
        grid-template-columns: 1fr;
    }

    .service-nav-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-pager {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .pager-next {
        text-align: center;
    }
}
/* Hands-on mobile app showcase */
.mobile-demo{display:grid;grid-template-columns:1fr 340px;gap:60px;align-items:center;padding:48px 7%;background:radial-gradient(ellipse at 80% 50%,#39245980,transparent 60%),#0b1022}
.md-intro h3{font-size:clamp(28px,3.5vw,44px);line-height:1.12;margin:20px 0}.md-intro>p{max-width:370px;color:#aab7d1;line-height:1.7}.md-modes{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0}.md-modes button{padding:12px 16px;border:1px solid #635085;border-radius:12px;background:#171d34;color:#ddd;cursor:pointer}.md-modes button[aria-pressed=true]{background:#7545bc;color:white;border-color:#c2a4ff}.md-note{font-size:12px}
.md-phone{width:100%;max-width:340px;min-width:0;border:2px solid #635085;border-radius:40px;padding:14px;background:#10182c;box-shadow:0 24px 65px #0006}.md-status{display:flex;align-items:center;justify-content:space-between;padding:0 12px 20px;font-size:11px;color:#c8d2e5}.md-island{width:95px;height:18px;background:#060b17;border-radius:20px}.md-screen{padding:12px 8px;min-height:475px}.md-screen section[hidden]{display:none}.md-brand{font-size:11px;letter-spacing:.08em;color:#c2a4ff;font-weight:700}.md-screen h4{font-size:27px;line-height:1.15;margin:18px 0 14px;color:#edf0ff}.md-screen p{font-size:13px;color:#aab7d1}.md-screen fieldset{border:0;padding:0;margin:18px 0}.md-screen legend,.md-label{display:block;font-size:12px;color:#b7c2d6;margin-bottom:10px}.md-choice{display:block;position:relative;margin:8px 0;cursor:pointer}.md-choice input{position:absolute;opacity:0;width:1px;height:1px}.md-choice span{display:block;padding:11px;border:1px solid #354159;border-radius:10px;color:#dce4f6;font-size:13px;background:#1b263e}.md-choice input:checked+span{background:#3b2b59;border-color:#b995f3}.md-choice input:focus-visible+span{outline:2px solid #e2ceff;outline-offset:3px}.md-screen select,.md-screen textarea{width:100%;margin-top:7px;padding:10px;border:1px solid #354159;border-radius:10px;background:#1b263e;color:#edf0ff;font:inherit}.md-screen textarea{resize:vertical;min-height:64px;max-height:110px}.md-primary{width:100%;padding:13px;border:0;border-radius:12px;background:#9464df;color:#fff;font-weight:650;cursor:pointer;margin-top:8px}.md-primary:hover{background:#aa7ced}.md-primary:active{transform:scale(.97)}.md-times{display:flex;gap:7px}.md-times .md-choice{flex:1;text-align:center}.md-summary{padding:17px;background:#1b263e;border-radius:12px;font-size:15px;margin:18px 0 30px}.md-summary small{display:block;color:#aab7d1;margin-top:8px}.md-screen .md-result{color:#91e4d0;font-size:12px;min-height:18px;line-height:1.5;margin-bottom:0}.md-home{width:95px;height:4px;border-radius:10px;background:#738099;margin:14px auto 0}.md-product{background:#25243e;border-radius:15px;color:#c8ae94;transition:color .25s}.md-product svg{width:100%;height:145px;display:block}.md-product-title,.md-bag>div{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin:14px 0}.md-bag{font-size:12px;color:#b8c5df}.md-bag ul{padding-left:18px;margin:0}.md-bag button{background:none;color:#c9adf5;border:0;padding:10px 0;cursor:pointer;text-decoration:underline}.mobile-demo button:focus-visible{outline:2px solid #e2ceff;outline-offset:3px}
@media(max-width:760px){.mobile-demo{grid-template-columns:1fr;gap:26px;padding:28px 18px}.md-phone{justify-self:center}.md-intro{text-align:center}.md-intro>p{margin-left:auto;margin-right:auto}.md-modes{justify-content:center;margin:20px 0}.md-intro h3 br{display:none}}
@media(prefers-reduced-motion:reduce){.mobile-demo *{transition:none!important}}

/* Direct contact card */
.contact-direct {
    align-items: stretch;
    gap: 24px;
    padding: 28px;
    margin-top: 28px;
    border: 1px solid rgba(192, 160, 245, .3);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(16,12,36,.4));
    box-shadow: 0 12px 32px rgba(8,3,24,.12);
}
.contact-direct-heading { display: flex; gap: 16px; align-items: center; }
.contact-chat-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px; background: rgba(178,128,255,.12); color: #d0b6ff; }
.contact-chat-icon svg { width: 23px; height: 23px; }
.contact-direct-heading h3 { font-size: 19px; line-height: 1.35; }
.contact-direct-heading p { margin: 5px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.contact-direct-actions { display: grid; gap: 18px; }
.contact-direct-actions > .button { width: 100%; justify-content: center; text-align: center; min-height: 50px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.1); text-decoration: none; }
.contact-email small { display: block; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
.contact-email strong { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.contact-email > span:last-child { color: #c7a3ff; font-size: 22px; }
.contact-email:hover strong { color: #d2b8ff; }
.contact-email:focus-visible { outline: 2px solid #c7a3ff; outline-offset: 5px; border-radius: 4px; }
@media(max-width:480px) { .contact-direct { padding: 22px 18px; } .contact-direct-heading { gap: 12px; } }

/* Website service introduction */
.web-service-hero{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:24px 0 52px}.web-service-copy{min-width:0}.web-service-copy .eyebrow{font-size:11px;letter-spacing:.14em;margin-bottom:24px}.service-intro .web-service-copy h1{font-size:clamp(36px,4.1vw,60px);line-height:1.1;letter-spacing:-.045em;margin:0 0 24px;max-width:620px}.web-service-lead{font-size:16px;line-height:1.8;color:#c9c1dc;max-width:500px;margin:0 0 28px}.web-service-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px}.web-service-chat{font-size:14px;color:#e2d6f8;text-decoration:none;border-bottom:1px solid #a68dc4;padding:8px 0}.web-service-chat:hover{color:white;border-color:white}.web-service-note{font-size:12px;color:#a99bbe;margin:20px 0 0}.web-service-preview{margin:0;min-width:0;position:relative;padding:26px 0 0}.web-service-preview::before{content:'';position:absolute;inset:-30px -20px;background:radial-gradient(ellipse,#9047d52b,transparent 70%);pointer-events:none;z-index:-1}.web-preview-browser{border:1px solid #78609280;border-radius:14px;overflow:hidden;background:#111123;box-shadow:0 28px 70px #02011070;transform:perspective(1200px) rotateY(-5deg) rotateX(2deg)}.web-preview-bar{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;font-size:11px;color:#aaa1ba;background:#191629}.web-preview-bar>span:first-child{color:#9c7abc;letter-spacing:3px;font-size:8px}.web-preview-browser img{display:block;width:100%;height:350px;object-fit:cover;object-position:top}.web-service-preview figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px;padding:0 5px}.web-service-preview figcaption small{display:block;font-size:9px;letter-spacing:.15em;color:#a499b7;margin-bottom:7px}.web-service-preview figcaption strong{font-size:14px;font-weight:500}.web-service-preview figcaption a{font-size:12px;text-decoration:none;color:#cdb3f5}.web-service-details{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ab7ae03d;border-bottom:1px solid #ab7ae03d;padding:28px 0;gap:32px}.web-service-details>div+div{border-left:1px solid #ab7ae025;padding-left:32px}.web-service-details span{font-size:10px;letter-spacing:.13em;color:#b69acb}.web-service-details h2{font-size:18px;letter-spacing:-.02em;margin:12px 0 8px}.web-service-details p{font-size:13px;line-height:1.7;color:#b8aacd;margin:0}
@media(max-width:1000px){.web-service-hero{gap:32px}.web-preview-browser img{height:300px}.service-intro .web-service-copy h1{font-size:42px}}
@media(max-width:760px){.web-service-hero{grid-template-columns:1fr;padding-top:12px;gap:24px}.service-intro .web-service-copy h1{font-size:clamp(34px,7.5vw,52px)}.web-service-preview{max-width:560px;width:100%;margin:auto}.web-preview-browser{transform:none}.web-preview-browser img{height:auto;aspect-ratio:1.5;object-fit:cover}.web-service-details{grid-template-columns:1fr;gap:22px}.web-service-details>div+div{border-left:0;border-top:1px solid #ab7ae025;padding:22px 0 0}.web-service-actions{gap:20px}}

.commerce-service-hero .web-service-copy h1{font-size:clamp(38px,4.6vw,66px)}
.commerce-service-hero .web-preview-browser{transform:perspective(1200px) rotateY(-4deg);border-color:#ba968666}
.commerce-service-hero .web-preview-browser img{height:400px}
.commerce-partner-note{border-left:2px solid #b89bd0;padding:0 0 0 16px;margin-top:28px;max-width:470px}
.commerce-partner-note strong{font-size:13px;font-weight:600;color:#e2d5f2}
.commerce-partner-note p{font-size:12px;line-height:1.7;color:#b9abca;margin:6px 0 0}
@media(max-width:760px){.commerce-service-hero .web-preview-browser{transform:none}.commerce-service-hero .web-preview-browser img{height:auto}.commerce-service-hero .web-service-copy h1{font-size:clamp(38px,8vw,54px)}}

/* Mobile homepage: stable slide geometry and comfortable touch layouts. */
@media(max-width:900px){
  .bookshelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .bookshelf-card,.bookshelf-card:hover,.bookshelf-card:focus-within{height:340px;min-width:0;border-radius:18px}
  footer.wrap{margin-top:64px;padding-block:48px}
  .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-bottom:36px}
  .footer-brand,.footer-contact-col{grid-column:1 / -1}
  .footer-brand p{max-width:440px}
  .footer-col{gap:0;min-width:0}
  .footer-col a{display:flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
  .footer-label{color:#b8a6ce;margin-bottom:12px}
  .footer-cta-card{flex-direction:row;align-items:center;justify-content:space-between;padding:20px;gap:16px}
  .footer-cta-card .button{min-height:44px;flex-shrink:0}
}
@media(max-width:800px){
  .wrap{width:calc(100% - 48px)}
  body{background-attachment:scroll;animation:none}

  /* ═══════════════════════════════════════════════════
     FULL-SCREEN MOBILE HERO
     The slider fills the viewport below the sticky nav
     (nav = 76px on mobile). Each slide is immersive,
     app-like, with content spread top → bottom.
  ═══════════════════════════════════════════════════ */

  /* Section itself: full viewport height */
  .hero-slider.wrap,
  .hero-slider.wrap[data-active-slide]{
    /* stretch edge-to-edge — ignore the .wrap side gutters */
    width:100vw;
    max-width:100vw;
    margin-left:calc(-1 * (100vw - 100%) / 2);
    /* fill from below the nav to the bottom of the screen */
    min-height:calc(100svh - 76px);
    height:calc(100svh - 76px);
    /* single column — visual panel is hidden on mobile */
    grid-template-columns:1fr;
    gap:0;
    padding:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }

  /* Copy container: grows to fill all remaining space */
  .hero-slider .hero-copy-container,
  .hero-slider[data-active-slide] .hero-copy-container{
    flex:1;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    /* Row 1 = slide stack; Row 2 = dots bar */
    grid-template-rows:1fr auto;
    position:relative;
    width:100%;
    max-width:none;
    margin:0;
    overflow:hidden;
  }

  /* All slides live in the same grid cell (stacked) */
  .hero-slider .hero-slide,
  .hero-slider .hero-slide.is-active{
    grid-area:1 / 1;
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    /* content flows top-down; actions push to bottom via margin-top:auto */
    justify-content:flex-start;
    padding:clamp(32px,7vw,52px) clamp(22px,6vw,40px) 28px;
    width:100%;
    box-sizing:border-box;
    transform:none;
    transition:opacity .4s ease, visibility .4s;
    pointer-events:none;
  }

  /* Active slide flows in the DOM so it sets the row height */
  .hero-slider .hero-slide.is-active{
    position:relative;
    inset:auto;
    pointer-events:auto;
    /* force left-aligned text — premium editorial feel */
    text-align:left;
  }

  /* Top block: eyebrow + headline + description */
  .hero-slider .hero-slide > .eyebrow,
  .hero-slider .eyebrow{
    justify-content:flex-start;
    font-size:11px;
    letter-spacing:.14em;
    line-height:1.6;
    margin:0 0 clamp(16px,4vw,28px);
  }

  .hero-slider h1{
    font-size:clamp(36px,9vw,56px);
    line-height:1.08;
    letter-spacing:-.05em;
    margin:0 0 clamp(14px,3.5vw,22px);
    text-wrap:balance;
    overflow-wrap:break-word;
    word-break:break-word;
  }

  .hero-slider .hero-description{
    font-size:15px;
    line-height:1.75;
    margin:0;
    color:#d0c6df;
    overflow-wrap:break-word;
  }
  .hero-slider .hero-description br{display:none}

  /* Bottom block: CTAs — pushed to bottom via auto top margin */
  .hero-slider .hero-actions,
  .hero-slider[data-active-slide] .hero-actions{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    margin-top:auto;        /* ← key: pushes block to bottom of flex column */
    padding-top:clamp(20px,4vw,32px);
    width:100%;
  }
  .hero-slider .hero-actions .button{
    min-height:52px;
    justify-content:center;
    padding:14px 18px;
    font-size:15px;
    font-weight:600;
    border-radius:14px;
    width:100%;
    box-sizing:border-box;
    letter-spacing:.01em;
  }
  .hero-slider .hero-actions .text-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    font-size:13px;
  }

  /* Slide-indicator dots: bottom strip inside grid row 2 */
  .hero-slider .hero-dots,
  .hero-slider[data-active-slide] .hero-dots{
    grid-area:2 / 1;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    padding:14px clamp(20px,6vw,40px) clamp(16px,4vw,28px);
    /* subtle gradient so dots feel anchored to the bottom */
    background:linear-gradient(to bottom, transparent, rgba(8,3,24,.45));
    position:relative;
  }

  .hero-slider .hero-dot{
    position:relative;
    width:28px;
    height:4px;
    border-radius:4px;
    background:rgba(255,255,255,0.18);
    border:none;
    padding:0;
    cursor:pointer;
    transition:width .3s ease, background .3s ease;
    /* expand touch target without breaking layout */
    -webkit-tap-highlight-color:transparent;
  }
  /* Override any previous height/width rules from non-mobile */
  .hero-slider .hero-dot::after{display:none}
  .hero-slider .hero-dot.is-active{
    width:48px;
    background:linear-gradient(90deg,#b99aff,#59d4fb);
  }
  .hero-slider .hero-dot:focus-visible{outline:2px solid #cbb0fa;outline-offset:4px;border-radius:8px}

  /* Hide the visual showcase panels on mobile */
  .hero-slider .hero-laptop-showcase,
  .hero-slider .hero-store-showcase,
  .hero-slider .hero-showcase{display:none!important}

  .hero-slider[data-active-slide]::after{
    inset:0;width:100%;height:100%;min-height:0;
    transform:none;opacity:.15;
    background-position:center;background-size:cover;
    pointer-events:none;
  }
}
@media(max-width:600px){
  .wrap,.nav-wrap{width:calc(100% - 40px)}
  .section{padding-block:56px}
  .section-heading{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:28px}
  .section-heading>div:last-child:not(:first-child){max-width:none}
  .section-heading h2,.quality-intro h2,.sx-intro h2,.closing h2{font-size:clamp(28px,7.5vw,36px);line-height:1.16;letter-spacing:-.035em}
  .section-heading p,.quality-intro p,.sx-intro>p{font-size:14px;line-height:1.75}
  .section-heading p br,.closing p br{display:none}
  .sx-stage{padding:18px 12px;border-radius:20px;min-width:0}
  .sx-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:none;justify-content:flex-start;gap:4px;padding:5px;border-radius:50px;-webkit-mask-image:linear-gradient(to right,black 80%,transparent 100%);mask-image:linear-gradient(to right,black 80%,transparent 100%)}
  .sx-tabs::-webkit-scrollbar{display:none}
  .sx-tabs button{flex:0 0 auto;scroll-snap-align:start;min-height:40px;padding:10px 16px;font-size:12px;white-space:nowrap;border-radius:50px;letter-spacing:-0.01em}
  .sx-copy h3{font-size:25px;line-height:1.2}
  .sx-copy p{font-size:14px;line-height:1.75}
  .sx-kicker{font-size:9px;line-height:1.7;letter-spacing:.08em}
  .sx-copy .button{min-height:46px;font-size:12px}
  .sx-window-bar{font-size:10px;padding:12px}
  .sx-playback{position:static;display:block;min-height:44px;width:calc(100% - 24px);margin:10px 12px 12px;padding:10px 16px;border-radius:10px;font-size:12px}
  .sx-caption{line-height:1.6;font-size:11px}
  .mobile-demo{padding:22px 8px;gap:20px}
  .md-phone{padding:10px;border-radius:32px;box-sizing:border-box}
  .md-screen{padding:10px 6px}
  .md-times{gap:4px}.md-times .md-choice span{padding:11px 6px}
  .md-intro h3{font-size:28px}.md-modes{gap:6px}.md-modes button{min-height:44px;padding:10px 12px}
  .md-screen select,.md-screen textarea,.consultation-form input,.consultation-form select,.consultation-form textarea{font-size:16px}
  .bookshelf-grid{grid-template-columns:minmax(0,1fr);gap:18px}
  .bookshelf-card,.bookshelf-card:hover,.bookshelf-card:focus-within{height:clamp(280px,85vw,360px)}
  .bookshelf-hover-content{padding:24px}
  .bookshelf-hover-content h3{font-size:24px;white-space:normal}
  .bookshelf-hover-content span{white-space:normal}
  .sc-arrow{min-width:44px;min-height:44px}
  .process-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .pcard-inner{padding:18px 14px 16px}
  .process-grid .pcard-title{font-size:17px;margin:0 0 8px}
  .process-grid .pcard-desc{font-size:12px;line-height:1.65}
  .closing{padding:32px 24px;margin-bottom:0}
  .closing>div{gap:24px}
  .closing .button{min-height:48px;justify-content:center;width:100%}
  .closing .text-link{display:flex;justify-content:center;align-items:center;min-height:44px;margin:12px 0 0;font-size:13px}
  .cta-services-picker{justify-content:space-between;gap:8px}
  .cta-svc-icon-wrap{width:44px;height:44px;min-width:44px}
  .footer-top{gap:28px}.footer-brand .footer-logo{margin-bottom:16px}
  .footer-col a{padding-block:8px;font-size:13px}
}
@media(max-width:360px){
  .wrap,.nav-wrap{width:calc(100% - 32px)}
  .hero-slider h1{font-size:32px}
  .hero-slider .hero-description{font-size:14px}
  .md-modes button{padding:10px 8px;font-size:12px}
  .md-product-title,.md-bag>div{font-size:12px}
  .closing{padding:28px 18px}
  .cta-services-picker{gap:6px}
  .footer-cta-card{padding:16px;gap:12px}
}
@media(prefers-reduced-motion:reduce){.hero-slider .hero-slide{transition:none}.hero-slider .hero-dot::after{transition:none}}
