:root {
    --background: #ffffff;
    --foreground: #1a1a2e;
    --accent: #0080ff;
    --accent-compl: #a855f7;
    --muted: #4a5568;
    --muted-compl: #60a5fa;
    --neon-glow: rgba(0, 128, 255, 0.3);
    --pink-glow: rgba(168, 85, 247, 0.3);
    --what-we-do-bg: ;
    --header-height: 64px;
    --parallax-offset: 30vh;
    --content-offset: 40vh;
    --parallax-speed: 1.2s;
    --parallax-ease: cubic-bezier(0.22, 0.44, 0, 1);
}

body.dark-mode {
    --background: #0a0a12;
    --foreground: #e8e9ed;
    --accent: #0080ff;
    --accent-compl: #a855f7;
    --muted: #a0aec0;
    --muted-compl: #60a5fa;
    --neon-glow: rgba(0, 128, 255, 0.4);
    --pink-glow: rgba(168, 85, 247, 0.4);
}

body.dark-mode .nav {
    background: rgba(10, 10, 18, 0.8);
    border-bottom: 1px solid rgba(0, 128, 255, 0.4);
    box-shadow: 0 4px 25px rgba(0, 128, 255, 0.25), 0 1px 12px rgba(0, 255, 245, 0.3), 0 0 30px rgba(168, 85, 247, 0.15);
}

body.dark-mode .card {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .card:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .input {
    background: rgba(10, 10, 18, 0.6);
    border: 1px solid rgba(0, 128, 255, 0.3);
    color: var(--foreground);
}

body.dark-mode .panel {
    background: rgba(255, 255, 255, 0.02);
}

body.dark-mode .pill {
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.8), rgba(26, 26, 46, 0.6));
}

body.dark-mode .callout {
    background: rgba(10, 10, 18, 0.6);
}

body.dark-mode .footer {
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.9), rgba(15, 15, 25, 0.95));
}

body.dark-mode .hero-bg {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.08) 0%, rgba(0, 255, 245, 0.05) 33%, rgba(168, 85, 247, 0.08) 100%);
}

body.dark-mode .bg-grid {
    background-image: linear-gradient(to right, rgba(0, 128, 255, 0.15) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 128, 255, 0.15) 1px, transparent 1px);
}

body.dark-mode .brand-logo {
    content: url('./assets/logos/nxt_fav_white.svg');
}

body.dark-mode .footer .brand-logo {
    content: url('./assets/logos/nxt_fav_white.svg');
}

@font-face {
    font-family: 'Venus Rising';
    src: url('./assets/fonts/Venus Rising Rg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--background);
    color: var(--foreground);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.7;
    letter-spacing: 0.005em;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

main {
    flex: 1 0 auto;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, #000000 0%, #0a0a12 50%, #0d0d1a 100%);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.intro-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.intro-center {
    position: relative;
    display: grid;
    gap: 16px;
    align-items: center;
    justify-items: center;
    text-align: center;
    z-index: 2;
}

.intro-center>.intro-word,
.intro-center>.intro-logo-wrap {
    grid-area: 1 / 1;
}

.intro-word {
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: 0;
    color: #ffffff;
    display: none;
}

.intro-logo-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.intro-logo {
    width: 180px;
    height: 180px;
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(0, 128, 255, 0.3)) drop-shadow(0 0 20px rgba(0, 255, 245, 0.2));
}

.intro-underline {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg,
            transparent 0%,
            #0080ff 20%,
            #00fff5 50%,
            #a855f7 80%,
            transparent 100%);
    box-shadow: 0 4px 20px rgba(0, 128, 255, 0.35),
        0 1px 8px rgba(0, 255, 245, 0.4),
        0 0 20px rgba(168, 85, 247, 0.3);
    opacity: 0.0;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 128, 255, 0.3);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 128, 255, 0.15), 0 1px 8px rgba(0, 255, 245, 0.2), 0 0 20px rgba(168, 85, 247, 0.1);
    z-index: 50
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none
}

.brand-logo {
    height: 64px;
    width: auto
}

.brand-text {
    font-weight: 600
}

.menu {
    display: flex;
    align-items: center;
    gap: 24px
}

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

.menu a {
    position: relative;
    transition: color .2s ease
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width .2s ease
}

.menu a:hover,
.menu a:focus-visible {
    color: var(--accent)
}

.menu a:hover::after,
.menu a:focus-visible::after {
    width: 100%
}

.menu a.active {
    color: var(--accent)
}

.menu a.active::after {
    width: 100%
}

.hero {
    position: relative;
    overflow: hidden;
    margin-top: -64px;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05) 0%, rgba(0, 255, 245, 0.05) 33%, rgba(168, 85, 247, 0.05) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.hero-light {
    position: absolute;
    inset: 0;
    pointer-events: none;
    --x: 50%;
    --y: 35%;
    background:
        radial-gradient(400px 400px at var(--x) var(--y), rgba(0, 128, 255, 0.15) 0%, transparent 60%),
        radial-gradient(800px 800px at var(--x) var(--y), rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    mix-blend-mode: normal;
    filter: blur(40px);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(0, 128, 255, 0.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 128, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px
}

.hero-content {
    position: relative;
    padding: 240px 0 80px;
    min-height: calc(100vh + 64px)
}

.hero-cards {
    margin-top: 25px;
    padding-top: 200px;
    padding-bottom: 10px;
}

.hero-cards .card,
.mini-hero-content .cards .card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, backdrop-filter .2s ease;
}

.hero-cards .card:hover,
.mini-hero-content .cards .card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    transform: translateY(-2px);
}

.hero-cards .card::before,
.mini-hero-content .cards .card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    opacity: 0.6;
}

.hero-cards .card>*,
.mini-hero-content .cards .card>* {
    position: relative;
    z-index: 1
}

.mini-hero-content .cards .card {
    color: #ffffff;
}

.mini-hero-content .cards .card h3 {
    color: #ffffff;
}

.mini-hero-content .cards .card p {
    color: rgba(255, 255, 255, 0.9);
}

.mini-hero-content .muted,
.mini-hero-content p.muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero-content .muted,
.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero-content p.muted {
    color: var(--muted) !important;
}

body:has([href="./services.html"]) .mini-hero-content .cards .card,
.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero-content .cards .card {
    color: var(--foreground);
}

.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero-content .cards .card h3 {
    color: var(--foreground);
}

.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero-content .cards .card p {
    color: var(--muted);
}

.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) {
    min-height: calc(100vh - var(--header-height));
}

.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero {
    background: var(--background);
}

.hero:not(.complement-hero):not(.consult-hero):not(.bespoke-hero) .mini-hero::before {
    display: none;
}

.eyebrow {
    display: inline-block;
    position: relative;
    padding: 6px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 999px;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    box-shadow: 0 0 20px var(--neon-glow);
}

.eyebrow::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    padding: 1px;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.8;
}

h1 {
    font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    font-weight: 800;
    font-size: 56px;
    line-height: 1.1;
    margin: 12px 0;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

#complementary-solutions h1,
#bespoke-solutions h1 {
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

#consulting-hero h1,
#consulting-pillars h1,
#consulting-pillars h2,
#consulting-pillars h3,
#why-nxt h2,
#why-nxt h3 {
    font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

h2 {
    font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 24px 0 16px;
}

h3,
h4,
h5,
h6 {
    font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.lead {
    color: var(--muted);
    max-width: 720px;
    font-size: 20px;
    line-height: 1.6;
}

p strong {
    color: var(--foreground);
    font-weight: 600;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

li strong {
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
}

.section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 20px;
}

p,
li,
.lead {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px
}

.btn {
    display: inline-block;
    border: 1px solid #ffffff26;
    border-radius: 999px;
    padding: 10px 16px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn.primary {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.9) 0%, rgba(0, 255, 245, 0.9) 33%, rgba(168, 85, 247, 0.9) 66%, rgba(26, 26, 46, 0.9) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    color: #fff;
    box-shadow: 0 0 22px color-mix(in oklab, var(--accent) 45%, transparent);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn.primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.btn.primary>* {
    position: relative;
    z-index: 2;
}

.btn.primary:hover,
.btn.primary:focus-visible {
    box-shadow: 0 0 36px color-mix(in oklab, var(--accent) 70%, transparent)
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px
}

.input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--foreground);
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease
}

.input:focus-visible {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 128, 255, 0.2)
}

textarea.input {
    resize: vertical
}

.section {
    padding: 80px 0;
    position: relative;
}

main>.section:first-child {
    padding-top: 160px;
}

#complementary-solutions,
#consulting-pillars,
#bespoke-solutions {
    position: relative;
}

#complementary-solutions::before,
#consulting-pillars::before,
#bespoke-solutions::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 128, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

.section.stacked {
    padding: 0;
}

.mini-hero {
    position: relative;
    overflow: hidden
}

.mini-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, var(--accent), var(--accent-compl), var(--foreground), transparent);
    background-size: 200% 200%;
    animation: whatwedo-gradient 8s ease infinite;
    opacity: 0.5
}

.consult-hero {
    margin-top: -64px
}

.consult-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./assets/images/consult.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.65)
}

.bespoke-hero {
    margin-top: -64px
}

.bespoke-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./assets/images/bespoke.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.65)
}

.complement-hero {
    margin-top: -64px
}

.complement-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./assets/images/complement.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.65)
}

.mini-hero .mini-hero-content {
    position: relative;
    padding: 24px 0 16px;
}

.mini-hero+.section {
    margin-top: 0;
}

.section+.mini-hero {
    margin-top: 0;
}

.mini-hero {
    margin: 0;
}

.section {
    scroll-margin-top: 80px;
}

.what-we-do-bg {
    position: relative;
    overflow: hidden
}

.what-we-do-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(-45deg, var(--accent), var(--accent-compl), var(--background), transparent);
    background-size: 400% 400%;
    animation: whatwedo-gradient 5s ease infinite;
    opacity: 0.25
}

.what-we-do-bg>.container {
    position: absolute;
    z-index: 1
}

@keyframes whatwedo-gradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.why-nxt-bg {
    position: relative;
    background: linear-gradient(180deg, var(--background) 0%, rgba(4, 240, 250, 0.03) 50%, var(--background) 100%);
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.why-nxt-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, color-mix(in oklab, var(--accent-compl) 8%, transparent) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none
}

.why-nxt-bg>.container {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center
}

.why-layout {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.why-layout .why-header {
    text-align: center;
}

.why-layout .why-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media(min-width:1024px) {
    .why-layout .why-columns {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.why-layout .panel .why-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    counter-reset: advantage;
}

.pills-card {
    border: 1px solid rgba(0, 128, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
}

.why-layout .panel .why-pills .pill {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 1px solid rgba(0, 128, 255, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    min-height: 44px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
    text-align: left;
}

.why-layout .panel .why-pills .pill h3 {
    margin: 0;
    min-height: 28px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-layout .panel .why-pills .pill::before {
    counter-increment: advantage;
    content: counter(advantage, decimal-leading-zero);
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: .02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.why-layout .panel .why-pills .pill p {
    margin: 0;
}

.why-layout .panel .why-pills .pill:hover,
.why-layout .panel .why-pills .pill:focus-within {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 42px rgba(0, 128, 255, 0.25);
}

.why-layout .panel .why-pills .pill h3:hover+p,
.why-layout .panel .why-pills .pill:hover h3+p,
.why-layout .panel .why-pills .pill:focus-within p {
    margin-top: 4px;
}

.why-nxt-bg .why-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.why-nxt-bg .why-pills .pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    overflow: hidden;
}

.why-nxt-bg .why-pills .pill h3 {
    margin: 0;
    display: flex;
    align-items: center;
    min-height: 32px;
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.why-nxt-bg .why-pills .pill p {
    transition: max-height .3s ease, opacity .25s ease, margin-top .25s ease;
}

.why-nxt-bg .why-pills .pill h3:hover+p,
.why-nxt-bg .why-pills .pill:hover h3+p,
.why-nxt-bg .why-pills .pill:focus-within p {
    max-height: 240px;
}

.why-nxt-bg .why-pills .pill {
    text-align: center;
}

.why-nxt-bg .why-pills .pill h3 {
    cursor: pointer;
}

.why-nxt-bg .why-pills .pill p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .3s ease, opacity .25s ease, margin-top .25s ease;
}

.why-nxt-bg .why-pills .pill h3:hover+p,
.why-nxt-bg .why-pills .pill:hover h3+p,
.why-nxt-bg .why-pills .pill:focus-within p {
    max-height: 120px;
    opacity: 1;
    margin-top: 6px;
}

.panel .approach-card {
    margin: 0 auto;
    max-width: 560px;
    padding: 16px;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 16px;
    background: transparent;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
    position: relative;
    overflow: hidden;
}

.panel .approach-card+.btn,
.panel .approach-card+a.btn {
    margin-top: 12px;
    display: inline-block;
}

.panel .approach-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: rgba(0, 128, 255, 0.03);
    box-shadow: 0 14px 42px rgba(0, 128, 255, 0.25);
    animation: approach-pulse 2.6s ease-in-out infinite;
}

.why-nxt-bg .panel {
    position: relative;
    overflow: hidden;
}

.panel .approach-card>* {
    position: relative;
    z-index: 1;
}

.panel .approach-card .steps {
    justify-items: center;
}

.panel .approach-card .steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border: 1px solid rgba(0, 128, 255, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    min-height: 44px;
    overflow: hidden;
    background: transparent;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.panel .approach-card .steps li>span {
    flex: 0 0 auto;
}

.panel .approach-card .steps li>div {
    flex: 1 1 auto;
    text-align: left !important;
}

.panel .approach-card .steps li>div>strong {
    display: block;
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.panel .approach-card .steps li:hover,
.panel .approach-card .steps li:focus-within {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: rgba(0, 128, 255, 0.05);
    box-shadow: 0 14px 42px color-mix(in oklab, var(--accent) 18%, transparent);
}

.panel .approach-card .steps li>div .muted {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .25s ease, margin-top .25s ease;
}

.panel .approach-card .steps li:hover>div .muted,
.panel .approach-card .steps li:focus-within>div .muted {
    max-height: 240px;
    opacity: 1;
    margin-top: 6px;
}

@keyframes approach-pulse {

    0%,
    100% {
        box-shadow: 0 0 12px color-mix(in oklab, var(--accent) 35%, transparent), 0 0 18px color-mix(in oklab, var(--accent-compl) 10%, transparent);
    }

    50% {
        box-shadow: 0 0 22px color-mix(in oklab, var(--accent) 60%, transparent), 0 0 32px color-mix(in oklab, var(--accent-compl) 16%, transparent);
    }
}

h2 {
    font-size: 28px;
    margin: 0 0 20px
}

.cards {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

@media(min-width:640px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(min-width:1024px) {
    .cards {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .cards-three {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

.card {
    border: none;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    display: block;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 8px 28px rgba(0, 128, 255, 0.15);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease, backdrop-filter .2s ease;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    opacity: 0.4;
}

.card>* {
    position: relative;
    z-index: 1;
}

.card-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 14px;
}

.card h3 {
    font-weight: 400
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    color: var(--foreground);
    opacity: 0.8;
    text-decoration: none;
    transition: opacity .2s ease
}

.scroll-down:hover {
    opacity: 1
}

.scroll-down img {
    animation: scroll-bounce 1.6s ease-in-out infinite
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(6px)
    }
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    box-shadow: 0 14px 42px color-mix(in oklab, var(--accent) 18%, transparent), 0 0 46px color-mix(in oklab, var(--accent-compl) 14%, transparent)
}

.card .icon {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    background: color-mix(in oklab, var(--accent) 20%, transparent);
    margin-bottom: 12px;
    box-shadow: 0 0 18px color-mix(in oklab, var(--accent) 60%, transparent), 0 0 24px color-mix(in oklab, var(--accent-compl) 18%, transparent)
}

.card .icon img.card-logo {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px color-mix(in oklab, var(--accent) 60%, transparent))
}

.card .icon svg {
    display: block;
    height: 100%;
    width: 100%;
    z-index: 1
}

.card-logo {
    height: 40px;
    width: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    animation: logo-glow-pulse 2.6s ease-in-out infinite
}

.card-logo::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
}

.card-logo img {
    display: block;
    height: 70%;
    width: 70%;
    object-fit: contain;
    position: relative;
    z-index: -1;
    filter: drop-shadow(0 0 6px rgba(0, 128, 255, 0.3));
    opacity: 1;
}

body.dark-mode .card-logo img {
    opacity: 1;
}

@keyframes logo-glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 12px rgba(0, 128, 255, 0.25), 0 0 18px rgba(168, 85, 247, 0.15), 0 0 24px rgba(26, 26, 46, 0.1)
    }

    50% {
        box-shadow: 0 0 22px rgba(0, 128, 255, 0.4), 0 0 32px rgba(168, 85, 247, 0.25), 0 0 40px rgba(26, 26, 46, 0.15)
    }
}

.muted {
    color: var(--muted)
}

.cols {
    display: grid;
    gap: 32px
}

@media(min-width:768px) {
    .cols {
        grid-template-columns: 1fr 1fr
    }

    .cols>.panel {
        align-self: center;
    }
}

.section h1 {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.section h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--neon-glow);
}

.section h2 {
    position: relative;
    display: inline-block;
}

.section h2::before {
    content: "▸";
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 8px;
    font-weight: 800;
}

.grid-2 {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

@media(min-width:640px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.grid-2 .pill {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.grid-2 .pill:nth-child(1) {
    animation-delay: 0.1s;
}

.grid-2 .pill:nth-child(2) {
    animation-delay: 0.2s;
}

.grid-2 .pill:nth-child(3) {
    animation-delay: 0.3s;
}

.grid-2 .pill:nth-child(4) {
    animation-delay: 0.4s;
}

.grid-2 .pill:nth-child(5) {
    animation-delay: 0.5s;
}

.grid-2 .pill:nth-child(6) {
    animation-delay: 0.6s;
}

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

.pill {
    border: 1px solid rgba(0, 128, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 255, 0.8));
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.08);
}

.pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pill h3,
.pill p {
    position: relative;
    z-index: 1;
}

.pill h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
}

.why-pills .pill {
    opacity: 0;
    will-change: transform, box-shadow, border-color, background-color;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease
}

.why-pills .pill:hover,
.why-pills .pill:focus-visible {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: color-mix(in oklab, white 14%, transparent);
    box-shadow: 0 14px 42px color-mix(in oklab, var(--accent) 18%, transparent)
}

.pill:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 40px var(--neon-glow), 0 0 60px var(--pink-glow);
}

.pill:hover::before {
    opacity: 0.12;
}

.panel {
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    background: transparent;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px
}

.steps li {
    display: flex;
    gap: 12px
}

.steps li span {
    background: linear-gradient(135deg, #0080ff 0%, #a855f7 50%, #1a1a2e 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.callout {
    border: 1px solid rgba(0, 128, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.08)
}

.footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 128, 255, 0.15);
    background: linear-gradient(135deg, rgba(240, 244, 255, 0.8), rgba(232, 240, 255, 0.9))
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.05), rgba(0, 255, 245, 0.05), rgba(168, 85, 247, 0.05));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(18px);
    transform: scale(1.06);
    z-index: 1
}

.footer-inner {
    display: grid;
    gap: 12px;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 1
}

@media(min-width:640px) {
    .footer-inner {
        grid-template-columns: auto 1fr auto
    }
}

.footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.footer .brand .dot {
    height: 16px;
    width: 16px;
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 0 28px color-mix(in oklab, var(--accent) 70%, transparent), 0 0 36px color-mix(in oklab, var(--accent-compl) 18%, transparent)
}

.footer .links {
    display: flex;
    gap: 12px;
    justify-content: center
}

.footer .links a {
    color: inherit;
    text-decoration: none
}

.copy {
    justify-self: end;
    color: var(--muted);
    font-size: 12px
}

.footer-columns {
    display: grid;
    gap: 16px;
    align-items: start;
}

@media(min-width:640px) {
    .footer-columns {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer h4 {
    margin: 0 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li+li {
    margin-top: 6px;
}

.footer a:hover,
.footer a:focus-visible {
    color: var(--accent);
}

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

.footer-inner>.footer-columns,
.footer-inner>.footer-bottom {
    grid-column: 1 / -1;
}

.footer-bottom {
    margin-top: 20px;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
}

.footer-bottom .tagline {
    margin: 0;
    max-width: 640px;
}

.footer-bottom .copy {
    justify-self: center;
}

.footer .footer-list a,
.footer .links a {
    display: inline-block;
    border: 1px solid #ffffff1a;
    border-radius: 999px;
    padding: 4px 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.footer .footer-list a:hover,
.footer .footer-list a:focus-visible,
.footer .links a:hover,
.footer .links a:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in oklab, white 6%, transparent);
    box-shadow: 0 0 16px color-mix(in oklab, var(--accent) 35%, transparent);
}

.theme-toggle-wrapper {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
}

.theme-toggle-checkbox {
    display: none;
}

.theme-toggle-label {
    display: block;
    width: 60px;
    height: 60px;
    cursor: pointer;
    position: relative;
}

.theme-toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 128, 255, 0.2);
}

.theme-toggle-slider::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.theme-toggle-label:hover .theme-toggle-slider::before {
    opacity: 1;
}

.theme-toggle-label:hover .theme-toggle-slider {
    box-shadow: 0 6px 30px rgba(0, 128, 255, 0.4);
    transform: scale(1.05);
}

.sun-icon,
.moon-icon {
    width: 24px;
    height: 24px;
    color: var(--foreground);
    transition: all 0.3s ease;
    position: absolute;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

.theme-toggle-checkbox:checked~.theme-toggle-label .sun-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

.theme-toggle-checkbox:checked~.theme-toggle-label .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.quick-nav-floating {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    gap: 8px;
    z-index: 60;
}

.quick-nav-floating .chip {
    display: inline-block;
    border: 1px solid #ffffff26;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    text-decoration: none;
    backdrop-filter: blur(10px) saturate(120%);
    background: color-mix(in oklab, white 6%, transparent);
}

.quick-nav-floating .chip:hover,
.quick-nav-floating .chip:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in oklab, white 12%, transparent);
    box-shadow: 0 0 16px color-mix(in oklab, var(--accent) 35%, transparent);
}

#particles-js {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 10
}

.stacked .consult-hero,
.stacked .bespoke-hero,
.stacked .complement-hero {
    margin-top: 0;
}

.hero .hero-bg {
    will-change: transform;
    transform: translateY(calc(var(--parallax-y, 0px) * 0.32));
}

.hero .bg-grid {
    will-change: transform;
    transform: translateY(calc(var(--parallax-y, 0px) * 0.24));
}

.hero .hero-content {
    will-change: transform;
    transform: translateY(calc(var(--parallax-y, 0px) * -0.12));
}

.why-nxt-bg {
    background-position: center center;
}

.mini-hero::before {
    opacity: 0.22;
}

.consult-hero::after,
.bespoke-hero::after,
.complement-hero::after {
    will-change: auto;
    transform: none;
}

.footer::before {
    will-change: transform;
    transform: scale(1.06);
}

.hero .hero-bg,
.hero .bg-grid {
    top: -12vh;
    bottom: -12vh;
}

.consult-hero::after,
.bespoke-hero::after,
.footer::before {
    top: -12vh;
    bottom: -12vh;
}

.consult-hero::after,
.bespoke-hero::after,
.complement-hero::after {
    top: 0;
    bottom: 0;
}

.mini-hero .mini-hero-content {
    will-change: transform;
    transform: translateY(calc(var(--parallax-y, 0px) * -0.06));
}

.tech-stack {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--background) 0%, rgba(4, 240, 250, 0.03) 50%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, color-mix(in oklab, var(--accent) 8%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, color-mix(in oklab, var(--accent-compl) 8%, transparent) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.tech-stack .container {
    position: relative;
    z-index: 1;
}

.tech-stack h2 {
    text-align: center;
    margin-bottom: 8px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 120px);
    gap: 12px;
    max-width: 900px;
    margin: 48px auto 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: color-mix(in oklab, white 5%, transparent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.tech-item:nth-child(2) {
    grid-row: span 2;
}

.tech-item:nth-child(3) {}

.tech-item:nth-child(4) {}

.tech-item:nth-child(5) {
    grid-column: span 2;
}

.tech-item:nth-child(6) {}

.tech-item:nth-child(7) {}

.tech-item:nth-child(8) {
    grid-column: span 2;
}

.tech-item:nth-child(9) {}

.tech-item:nth-child(10) {}

.tech-item:nth-child(11) {
    grid-column: span 2;
}

.tech-item:nth-child(12) {}

.tech-item:nth-child(1) .tech-logo {
    width: 56px;
    height: 56px;
}

.tech-item:nth-child(2) .tech-logo {
    width: 52px;
    height: 52px;
}

.tech-item:nth-child(5) .tech-logo,
.tech-item:nth-child(8) .tech-logo {
    width: 50px;
    height: 50px;
}

.tech-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0080ff 0%, #00fff5 33%, #a855f7 66%, #1a1a2e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px color-mix(in oklab, var(--accent) 35%, transparent),
        0 0 80px color-mix(in oklab, var(--accent-compl) 20%, transparent);
    z-index: 10;
}

.tech-item:hover::before {
    opacity: 0.1;
}

.tech-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px color-mix(in oklab, var(--accent) 30%, transparent));
    transition: all 0.3s ease;
}

.tech-item:hover .tech-logo {
    filter: drop-shadow(0 0 16px color-mix(in oklab, var(--accent) 60%, transparent));
    transform: scale(1.1);
}

.tech-name {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: var(--muted);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
    color: var(--accent);
}

@media(max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .tech-item:nth-child(1),
    .tech-item:nth-child(5),
    .tech-item:nth-child(8) {
        grid-column: span 2;
    }

    .tech-item:nth-child(2) {
        grid-row: span 1;
    }
}

@media(max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-item:nth-child(1),
    .tech-item:nth-child(2),
    .tech-item:nth-child(5),
    .tech-item:nth-child(8),
    .tech-item:nth-child(9) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .tech-logo {
        width: 48px !important;
        height: 48px !important;
    }

    .tech-name {
        font-size: 11px;
    }
}

@media(max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        backdrop-filter: blur(15px);
    }

    .nav-inner {
        padding: 12px 0;
    }

    .brand-logo {
        height: 48px;
    }

    .menu {
        gap: 16px;
    }

    .menu a {
        font-size: 16px;
        padding: 8px 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        padding: 180px 0 60px;
        min-height: calc(100vh + 64px);
    }

    .hero-cards {
        margin-top: 20px;
        padding-top: 120px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .mini-hero-content .cards {
        padding-left: 20px;
        padding-right: 20px;
    }

    .theme-toggle-wrapper {
        left: 50%;
        right: auto;
        top: 16px;
        transform: translateX(-50%);
    }

    .theme-toggle-label {
        width: 52px;
        height: 52px;
    }

    .sun-icon,
    .moon-icon {
        width: 22px;
        height: 22px;
    }

    h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    h3 {
        font-size: 20px;
        line-height: 1.4;
    }

    .eyebrow {
        font-size: 11px;
        padding: 6px 12px;
    }

    .lead {
        font-size: 18px;
        line-height: 1.6;
    }

    p,
    li {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 32px;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
        min-height: 48px;
        font-size: 16px;
    }

    .cards {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .card {
        padding: 20px;
        min-height: 120px;
    }

    .card-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .section {
        padding: 60px 0;
    }

    main>.section:first-child {
        padding-top: 120px;
    }

    .mini-hero-content {
        padding: 100px 0 60px !important;
    }

    .cols {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .why-layout .why-columns {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .panel {
        padding: 20px;
    }

    .callout {
        padding: 24px 20px;
    }

    .callout form {
        max-width: 100% !important;
    }

    .callout form .input,
    .callout form textarea,
    .callout form select {
        font-size: 16px;
        min-height: 48px;
        padding: 12px 16px;
    }

    .callout form textarea {
        min-height: 120px;
    }

    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .footer-inner {
        padding: 32px 0;
    }

    .quick-nav-floating {
        display: none;
    }

    .scroll-down {
        display: none;
    }

    .tech-stack {
        padding: 60px 0;
    }

    .tech-grid {
        margin-top: 40px;
        gap: 24px;
    }

    .tech-item {
        padding: 20px;
    }

    .tech-logo {
        height: 48px;
        width: 48px;
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .intro-logo {
        width: 140px;
        height: 140px;
    }

    .approach-card {
        padding: 16px;
    }

    .steps li {
        font-size: 16px;
        padding: 16px 0;
    }

    .steps li span {
        font-size: 18px;
        margin-right: 12px;
    }

    .pill {
        padding: 16px;
        min-height: 60px;
    }

    .pill h3 {
        font-size: 18px;
    }

    .pill p {
        font-size: 15px;
    }

    a.card {
        min-height: 140px;
        touch-action: manipulation;
    }

    a.chip {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 16px;
    }
}

@media(max-width: 480px) {
    .container {
        padding: 0 24px;
    }

    .hero-content {
        padding: 140px 24px 40px;
    }

    .hero-cards {
        padding-left: 24px;
        padding-right: 24px;
    }

    .mini-hero-content {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .mini-hero-content .cards {
        padding-left: 0;
        padding-right: 0;
    }

    h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    h3 {
        font-size: 18px;
    }

    .brand-logo {
        height: 44px;
    }

    .menu {
        gap: 8px;
    }

    .menu a {
        font-size: 15px;
        padding: 8px 14px;
        min-height: 44px;
    }

    .eyebrow {
        font-size: 10px;
        padding: 5px 10px;
    }

    .lead {
        font-size: 17px;
        line-height: 1.6;
    }

    p,
    li {
        font-size: 15px;
        line-height: 1.6;
    }

    .btn {
        padding: 14px 24px;
        min-height: 48px;
        font-size: 15px;
    }

    .card {
        padding: 20px;
        min-height: 110px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 10px;
    }

    .card-logo {
        height: 36px;
        width: 36px;
    }

    .mini-hero-content {
        padding: 80px 0 50px !important;
    }

    .section {
        padding: 50px 0;
    }

    .tech-grid {
        margin-top: 32px;
        gap: 16px;
    }

    .tech-item {
        padding: 16px;
    }

    .tech-logo {
        height: 40px;
        width: 40px;
    }

    .tech-name {
        font-size: 13px;
    }

    .intro-logo {
        width: 110px;
        height: 110px;
    }

    .panel {
        padding: 20px;
    }

    .callout {
        padding: 24px 24px;
    }

    .callout form .input,
    .callout form textarea,
    .callout form select {
        font-size: 16px;
        padding: 14px 18px;
    }

    .steps li {
        font-size: 15px;
        padding: 12px 0;
    }

    .steps li span {
        font-size: 16px;
    }

    .pill {
        padding: 18px;
    }

    .pill h3 {
        font-size: 17px;
    }

    .pill p {
        font-size: 14px;
    }

    .theme-toggle-wrapper {
        left: 50%;
        right: auto;
        top: 12px;
        transform: translateX(-50%);
    }

    .theme-toggle-label {
        width: 48px;
        height: 48px;
    }

    .footer-inner {
        padding: 24px 0;
    }

    .footer-columns {
        gap: 24px;
    }
}