@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Outfit:wght@400;500;600;700;800&family=Syne:wght@400;700;800&display=swap");

:root {
    --background: 240 10% 4%;
    --foreground: 0 0% 95%;
    --card: 240 10% 7%;
    --muted: 240 8% 14%;
    --muted-foreground: 240 5% 45%;
    --primary: 185 100% 50%;
    --accent: 36 100% 50%;
    --border: 240 8% 12%;
    --radius: 12px;
    --bg: hsl(var(--background));
    --fg: hsl(var(--foreground));
    --cyan: hsl(var(--primary));
    --amber: hsl(var(--accent));
    --surface: hsl(var(--card));
    --muted-c: hsl(var(--muted-foreground));
    --font-display: var(--site-font, "Syne", sans-serif);
    --font-mono: "JetBrains Mono", monospace;
    --glow-cyan: 0 0 40px #00f0ff40, 0 0 80px #00f0ff14;
    --glow-amber: 0 0 40px #ff950040, 0 0 80px #ff950014;
}
[data-theme="light"] {
    --background: 40 20% 97%;
    --foreground: 240 10% 8%;
    --card: 0 0% 100%;
    --muted: 40 10% 90%;
    --muted-foreground: 240 5% 40%;
    --primary: 185 90% 38%;
    --accent: 30 100% 50%;
    --border: 40 10% 88%;
    --glow-cyan: 0 0 30px #00b4c826, 0 0 60px #00b4c80d;
    --glow-amber: 0 0 30px #ff950026, 0 0 60px #ff95000d;
}
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}
body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-display);
    cursor: none;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}
a,
button,
input,
textarea,
select {
    cursor: none;
}
::selection {
    background: var(--cyan);
    color: var(--bg);
}
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: 0 0;
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--muted-foreground) / 0.2);
    border-radius: 10px;
}
.container-main {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 5vw, 5rem);
}
section {
    padding: clamp(4rem, 12vw, 12rem) 0;
    position: relative;
}
.grain-overlay {
    z-index: 9998;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px;
    animation: 0.2s step-end infinite noiseAnim;
    position: fixed;
    inset: -200%;
}
@keyframes noiseAnim {
    0% {
        transform: translate(0);
    }
    10% {
        transform: translate(-5%, -5%);
    }
    20% {
        transform: translate(-10%, 5%);
    }
    30% {
        transform: translate(5%, -10%);
    }
    40% {
        transform: translate(-5%, 15%);
    }
    50% {
        transform: translate(-10%, 5%);
    }
    60% {
        transform: translate(15%);
    }
    70% {
        transform: translateY(10%);
    }
    80% {
        transform: translate(-15%);
    }
    90% {
        transform: translate(10%, 5%);
    }
    to {
        transform: translate(5%);
    }
}
.scroll-progress {
    z-index: 10001;
    background: linear-gradient(90deg, var(--cyan), var(--amber));
    transform-origin: 0;
    will-change: transform;
    height: 2px;
    position: fixed;
    top: 0;
    left: 0;
    transform: scaleX(0);
}
.cursor-ring {
    z-index: 99999;
    pointer-events: none;
    border: 1.5px solid hsl(var(--primary) / 0.5);
    will-change: transform;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    transition:
        width 0.3s,
        height 0.3s,
        border-color 0.3s,
        background 0.3s,
        opacity 0.3s;
    position: fixed;
    top: 0;
    left: 0;
}
.cursor-ring.hovering {
    border-color: var(--cyan);
    background: hsl(var(--primary) / 0.1);
    border-width: 1px;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
}
.cursor-dot {
    z-index: 99999;
    pointer-events: none;
    background: var(--cyan);
    will-change: transform;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    margin-left: -3px;
    transition:
        width 0.2s,
        height 0.2s,
        background 0.2s,
        margin 0.2s;
    position: fixed;
    top: 0;
    left: 0;
}
.cursor-dot.hovering {
    background: var(--amber);
    width: 4px;
    height: 4px;
    margin-top: -2px;
    margin-left: -2px;
}
.navbar {
    z-index: 2000;
    width: 100%;
    padding: 1.2rem 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: fixed;
    top: 0;
}
.navbar.scrolled {
    background: hsl(var(--background) / 0.8);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    padding: 0.8rem 0;
}
.navbar-inner {
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.logo {
    color: var(--fg);
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    display: flex;
}
.logo-mark {
    font-family: var(--font-mono);
    color: var(--cyan);
    border: 1px solid hsl(var(--primary) / 0.3);
    letter-spacing: 0.15em;
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.3s;
}
.logo:hover .logo-mark {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}
.logo-name {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-size: 1rem;
    font-weight: 800;
}
.nav-links {
    align-items: center;
    gap: 0.3rem;
    display: flex;
}
.nav-link {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.03em;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.7rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}
.nav-link:after {
    content: "";
    background: var(--cyan);
    width: 0;
    height: 1px;
    transition: all 0.3s;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translate(-50%);
}
.nav-link:hover {
    color: var(--fg);
}
.nav-link:hover:after {
    width: 60%;
}
.theme-toggle {
    border: 1px solid hsl(var(--border));
    color: var(--muted-c);
    cursor: none;
    background: 0 0;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    margin-left: 1rem;
    transition: all 0.3s;
    display: flex;
}
.theme-toggle:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--glow-cyan);
}
.binary-rain {
    z-index: 1;
    pointer-events: none;
    display: flex;
    position: absolute;
    inset: 0;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, #0000, #000 15%, #000 85%, #0000);
}
.binary-col {
    position: absolute;
    top: -50%;
    animation: binaryFall var(--col-dur, 10s) linear var(--col-delay, 0s)
        infinite;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    display: flex;
}
@keyframes binaryFall {
    0% {
        transform: translateY(0vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(150vh);
        opacity: 0;
    }
}
.binary-bit {
    font-family: var(--font-mono);
    color: var(--cyan);
    opacity: 0.25;
    animation: bitPulse 3s ease-in-out var(--bit-delay, 0s) infinite;
    user-select: none;
    font-size: 0.7rem;
    display: block;
}
@keyframes bitPulse {
    0%,
    100% {
        opacity: 0.15;
        filter: blur(0.5px);
    }
    50% {
        opacity: 0.4;
        filter: blur(0px);
        text-shadow: 0 0 5px var(--cyan);
    }
}

@keyframes bitPulse {
    0%,
    to {
        opacity: 0.1;
    }
    50% {
        opacity: 0.35;
    }
}
.hex-ticker {
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--background) / 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    padding: 0.6rem 0;
    overflow: hidden;
}
.hex-ticker-track {
    gap: 2.5rem;
    width: max-content;
    animation: 18s linear infinite tickerScroll;
    display: flex;
}
.hex-tok {
    font-family: var(--font-mono);
    color: var(--cyan);
    opacity: 0.4;
    letter-spacing: 0.12em;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.65rem;
}
.hex-tok:before {
    content: "> ";
    opacity: 0.5;
}
@keyframes tickerScroll {
    0% {
        transform: translate(0);
    }
    to {
        transform: translate(-50%);
    }
}
.hero {
    align-items: center;
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}
.hero-content {
    z-index: 2;
    width: 100%;
    position: relative;
}
.hero-eyebrow {
    font-family: var(--font-mono);
    color: var(--cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-size: 0.7rem;
    display: flex;
}
.hero-eyebrow .line {
    background: var(--cyan);
    width: 40px;
    height: 1px;
}
.hero-eyebrow .status-dot {
    background: var(--cyan);
    border-radius: 50%;
    width: 6px;
    height: 6px;
    animation: 2s ease-in-out infinite statusPulse;
    box-shadow: 0 0 12px #00f0ff99;
}
@keyframes statusPulse {
    0%,
    to {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
.hero h1 {
    font-family: var(--font-display);
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
    font-size: clamp(2.2rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
}
.hero h1 .word {
    margin-right: 0.25em;
    display: inline-block;
    overflow: hidden;
}
.hero h1 .accent {
    color: var(--cyan);
}
.hero h1 .accent-amber {
    color: var(--amber);
}
.rotating-word-wrapper {
    vertical-align: bottom;
    min-width: 14ch;
    height: clamp(2.2rem, 8vw, 7rem);
    display: inline-flex;
    position: relative;
    overflow: hidden;
}
.rotating-word {
    white-space: nowrap;
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.rotating-word.active {
    opacity: 1;
    filter: blur();
    transform: translateY(0);
}
.rotating-word.above {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-100%);
}
.rotating-word.below {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(100%);
}
.hero-sub {
    color: var(--muted-c);
    max-width: 500px;
    margin-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.8;
}
.hero-cta-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    display: flex;
}
.btn-primary {
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: 0 0;
    border-radius: 8px;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    position: relative;
    overflow: hidden;
}
.btn-primary:before {
    content: "";
    background: var(--cyan);
    transform-origin: 0;
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    inset: 0;
    transform: scaleX(0);
}
.btn-primary:hover {
    color: var(--bg);
    box-shadow: var(--glow-cyan);
}
.btn-primary:hover:before {
    transform: scaleX(1);
}
.btn-ghost {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.05em;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
}
.btn-ghost:hover {
    color: var(--fg);
}
.btn-ghost .arrow {
    transition: transform 0.3s;
}
.btn-ghost:hover .arrow {
    transform: translate(4px);
}
.stats-banner {
    border-top: 1px solid hsl(var(--border));
    border-bottom: 1px solid hsl(var(--border));
    grid-template-columns: repeat(4, 1fr);
    padding: 0;
    display: grid;
}
.stat-item {
    border-right: 1px solid hsl(var(--border));
    padding: 3rem 2.5rem;
    position: relative;
}
.stat-item:last-child {
    border-right: none;
}
.stat-item:before {
    content: "";
    background: var(--cyan);
    width: 0;
    height: 1px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    bottom: 0;
    left: 0;
}
.stat-item.in-view:before {
    width: 100%;
}
.stat-number {
    font-family: var(--font-mono);
    color: var(--fg);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: baseline;
}
.stat-number .counter-suffix {
    color: var(--cyan);
}
.stat-label {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.65rem;
}
.services-section {
    overflow: hidden;
}
.services-header {
    margin-bottom: 3rem;
}
.svc-layout {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    min-height: 540px;
    display: grid;
    overflow: hidden;
}
.svc-list {
    border-right: 1px solid hsl(var(--border));
    flex-direction: column;
    display: flex;
}
.svc-row {
    border: none;
    border-bottom: 1px solid hsl(var(--border));
    color: var(--muted-c);
    text-align: left;
    cursor: none;
    background: 0 0;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 2.5rem;
    transition: all 0.25s;
    display: flex;
    position: relative;
    overflow: hidden;
}
.svc-row:last-child {
    border-bottom: none;
}
.svc-row:before {
    content: "";
    background: color-mix(
        in srgb,
        var(--svc-color, var(--cyan)) 6%,
        transparent
    );
    position: absolute;
    inset: 0;
    transition: transform 0.3s;
    transform: translate(-100%);
}
.svc-row.active:before,
.svc-row:hover:before {
    transform: translate(0);
}
.svc-row:after {
    content: "";
    background: var(--svc-color, var(--cyan));
    border-radius: 0 2px 2px 0;
    width: 3px;
    transition: transform 0.3s;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    transform: scaleY(0);
}
.svc-row.active:after {
    transform: scaleY(1);
}
.svc-row-num {
    font-family: var(--font-mono);
    color: var(--svc-color, var(--cyan));
    opacity: 0.5;
    flex-shrink: 0;
    width: 2rem;
    font-size: 0.6rem;
    font-weight: 500;
    transition: opacity 0.25s;
    letter-spacing: 0.12em;
}
.svc-row.active .svc-row-num,
.svc-row:hover .svc-row-num {
    opacity: 1;
}
.svc-row-title {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    z-index: 1;
    flex: 1;
    font-size: 1.05rem;
    font-weight: 700;
    transition: color 0.25s;
    position: relative;
}
.svc-row.active .svc-row-title,
.svc-row:hover .svc-row-title {
    color: var(--fg);
}
.svc-row-icon {
    opacity: 0;
    z-index: 1;
    align-items: center;
    transition: all 0.3s;
    display: flex;
    position: relative;
    transform: translate(8px);
}
.svc-row-icon-img {
    object-fit: cover;
    background: #000;
    border-radius: 7px;
    width: 28px;
    height: 28px;
    display: block;
    overflow: hidden;
}
.svc-row.active .svc-row-icon,
.svc-row:hover .svc-row-icon {
    opacity: 1;
    transform: translate(0);
}
.svc-panel {
    background: var(--surface);
    align-items: stretch;
    display: flex;
    position: relative;
}
.svc-panel-inner {
    flex-direction: column;
    width: 100%;
    padding: 3.5rem 4rem;
    animation: 0.4s both panelIn;
    display: flex;
    position: relative;
    overflow: hidden;
}
@keyframes panelIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.svc-bg-num {
    font-family: var(--font-display);
    letter-spacing: -0.06em;
    color: hsl(var(--border) / 0.5);
    opacity: 0.2;
    user-select: none;
    pointer-events: none;
    font-size: clamp(9rem, 15vw, 14rem);
    font-weight: 900;
    line-height: 1;
    position: absolute;
    top: -2rem;
    right: -0.5rem;
}
.svc-panel-icon {
    width: 5.5rem;
    height: 5.5rem;
    background: #000;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    display: flex;
    overflow: hidden;
    flex-shrink: 0;
}
.svc-panel-icon-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.svc-panel-meta {
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    display: flex;
}
.svc-panel-num {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.15em;
    font-size: 0.6rem;
}
.svc-stat-chip {
    border: 1px solid hsl(var(--border));
    background: hsl(var(--muted) / 0.3);
    border-radius: 50px;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    display: flex;
}
.svc-stat-label {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.08em;
    font-size: 0.58rem;
}
.svc-stat-value {
    font-family: var(--font-mono);
    letter-spacing: -0.01em;
    font-size: 0.7rem;
    font-weight: 700;
}
.svc-panel-title {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    color: var(--fg);
    margin-bottom: 1.2rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
}
.svc-panel-desc {
    color: var(--muted-c);
    max-width: 42ch;
    margin-bottom: 2rem;
    font-size: 0.97rem;
    line-height: 1.8;
}
.svc-panel-tags {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    display: flex;
}
.svc-panel-tag {
    font-family: var(--font-mono);
    border: 1px solid
        color-mix(
            in srgb,
            var(--svc-color, var(--cyan)) 30%,
            hsl(var(--border))
        );
    border-radius: 50px;
    padding: 0.3rem 0.8rem;
    font-size: 0.62rem;
    color: var(--svc-color, var(--cyan));
    background: color-mix(
        in srgb,
        var(--svc-color, var(--cyan)) 8%,
        transparent
    );
    letter-spacing: 0.05em;
}
.svc-panel-cta {
    font-family: var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg);
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-top: auto;
    padding: 0.8rem 1.8rem;
    font-size: 0.72rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.35s;
    display: inline-flex;
    position: relative;
    overflow: hidden;
}
.svc-panel-cta:before {
    content: "";
    background: var(--svc-color, var(--cyan));
    transform-origin: 0;
    z-index: -1;
    transition: transform 0.35s;
    position: absolute;
    inset: 0;
    transform: scaleX(0);
}
.svc-panel-cta:hover {
    color: var(--bg);
    border-color: var(--svc-color, var(--cyan));
}
.svc-panel-cta:hover:before {
    transform: scaleX(1);
}
.projects-list {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
    display: flex;
}
.project-card-full {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    cursor: none;
    background: var(--surface);
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    position: relative;
    overflow: hidden;
}
.project-card-full:nth-child(2n) {
    direction: rtl;
}
.project-card-full:nth-child(2n) > * {
    direction: ltr;
}
.project-card-full:hover {
    border-color: hsl(var(--primary) / 0.3);
    box-shadow: var(--glow-cyan);
}
.project-img-wrap {
    height: 420px;
    position: relative;
    overflow: hidden;
}
.project-img-wrap img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card-full:hover .project-img-wrap img {
    transform: scale(1.06);
}
.project-card-body {
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    display: flex;
}
.project-card-body .p-meta {
    font-family: var(--font-mono);
    color: var(--cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.6rem;
}
.project-card-body h3 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
}
.project-card-body .p-desc {
    color: var(--muted-c);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.project-view-link {
    font-family: var(--font-mono);
    color: var(--fg);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
}
.project-view-link:hover {
    color: var(--cyan);
    gap: 0.8rem;
}
.filter-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    display: flex;
}
.filter-btn {
    font-family: var(--font-mono);
    border: 1px solid hsl(var(--border));
    color: var(--muted-c);
    cursor: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: 0 0;
    border-radius: 6px;
    padding: 0.45rem 1rem;
    font-size: 0.65rem;
    transition: all 0.3s;
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--cyan);
    color: var(--cyan);
}
.stack-section {
    overflow: hidden;
}
.stack-hud {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: var(--surface);
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 520px;
    margin-top: 3rem;
    display: grid;
    overflow: hidden;
}
.stack-sidebar {
    border-right: 1px solid hsl(var(--border));
    background: hsl(var(--muted) / 0.3);
    flex-direction: column;
    display: flex;
}
.stack-terminal-bar {
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--background) / 0.6);
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.2rem;
    display: flex;
}
.tt-dot {
    border-radius: 50%;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
}
.tt-label {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.08em;
    margin-left: 0.4rem;
    font-size: 0.6rem;
}
.stack-cat-list {
    flex: 1;
    padding: 0.5rem 0;
}
.stack-cat-btn {
    width: 100%;
    color: var(--muted-c);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-align: left;
    cursor: none;
    background: 0 0;
    border: none;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.3rem;
    font-size: 0.72rem;
    transition: all 0.25s;
    display: flex;
    position: relative;
}
.stack-cat-btn:before {
    content: "";
    background: var(--cat-color, var(--cyan));
    border-radius: 0 2px 2px 0;
    width: 2px;
    transition: transform 0.25s;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    transform: scaleY(0);
}
.stack-cat-btn:hover {
    color: var(--fg);
    background: hsl(var(--muted) / 0.4);
}
.stack-cat-btn.active {
    color: var(--fg);
    background: hsl(var(--muted) / 0.5);
}
.stack-cat-btn.active:before {
    transform: scaleY(1);
}
.scb-icon {
    color: var(--cat-color, var(--cyan));
    opacity: 0.7;
    font-size: 1rem;
    line-height: 1;
    transition: opacity 0.25s;
}
.stack-cat-btn.active .scb-icon,
.stack-cat-btn:hover .scb-icon {
    opacity: 1;
}
.scb-label {
    flex: 1;
}
.scb-arrow {
    opacity: 0;
    color: var(--cat-color, var(--cyan));
    font-size: 0.75rem;
    transition: all 0.25s;
    transform: translate(-4px);
}
.stack-cat-btn.active .scb-arrow,
.stack-cat-btn:hover .scb-arrow {
    opacity: 1;
    transform: translate(0);
}
.stack-tagline {
    border-top: 1px solid hsl(var(--border));
    font-family: var(--font-mono);
    color: var(--muted-c);
    align-items: flex-start;
    min-height: 3rem;
    padding: 1rem 1.3rem;
    font-size: 0.62rem;
    line-height: 1.6;
    display: flex;
}
.st-prompt {
    color: var(--cyan);
    flex-shrink: 0;
}
.st-text {
    animation: 0.4s both fadeInText;
}
@keyframes fadeInText {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.stack-panel {
    flex-direction: column;
    gap: 0;
    padding: 2.5rem 3rem;
    display: flex;
}
.sp-header {
    border-bottom: 1px solid hsl(var(--border));
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    display: flex;
}
.sp-icon {
    font-size: 1.4rem;
    line-height: 1;
}
.sp-title {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    flex: 1;
    font-size: 1.4rem;
    font-weight: 800;
}
.sp-count {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid hsl(var(--border));
    border-radius: 50px;
    padding: 0.25rem 0.65rem;
    font-size: 0.6rem;
}
.sp-skills {
    flex-direction: column;
    flex: 1;
    gap: 1.6rem;
    display: flex;
}
.sp-skill-row {
    animation: 0.35s both rowIn;
}
@keyframes rowIn {
    0% {
        opacity: 0;
        transform: translate(-10px);
    }
    to {
        opacity: 1;
        transform: translate(0);
    }
}
.sp-skill-meta {
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.55rem;
    display: flex;
}
.sp-skill-name {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    font-size: 1rem;
    font-weight: 600;
}
.sp-skill-right {
    align-items: center;
    gap: 0.8rem;
    display: flex;
}
.sp-skill-years {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.08em;
    border: 1px solid hsl(var(--border));
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    font-size: 0.6rem;
}
.sp-skill-pct {
    font-family: var(--font-mono);
    letter-spacing: -0.01em;
    font-size: 0.8rem;
    font-weight: 600;
}
.sp-bar-track {
    background: hsl(var(--border) / 0.8);
    border-radius: 2px;
    height: 4px;
    overflow: hidden;
}
.sp-bar-fill {
    background: var(--bar-color, var(--cyan));
    width: 0;
    height: 100%;
    box-shadow: 0 0 8px
        color-mix(in srgb, var(--bar-color, var(--cyan)) 40%, transparent);
    border-radius: 2px;
    animation: 0.7s cubic-bezier(0.16, 1, 0.3, 1) both barGrow;
}
@keyframes barGrow {
    to {
        width: var(--bar-pct, 0%);
    }
}
.sp-other-cats {
    border-top: 1px solid hsl(var(--border));
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}
.sp-other-label {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-size: 0.58rem;
    display: block;
}
.sp-pills {
    flex-wrap: wrap;
    gap: 0.5rem;
    display: flex;
}
.sp-pill {
    font-family: var(--font-mono);
    border: 1px solid hsl(var(--border));
    color: var(--muted-c);
    cursor: none;
    letter-spacing: 0.04em;
    background: 0 0;
    border-radius: 50px;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.62rem;
    transition: all 0.25s;
    display: inline-flex;
    white-space: nowrap;
}
.sp-pill:hover {
    border-color: var(--cat-color, var(--cyan));
    color: var(--cat-color, var(--cyan));
    background: color-mix(
        in srgb,
        var(--cat-color, var(--cyan)) 6%,
        transparent
    );
}
.testimonials-stack {
    perspective: 1000px;
    max-width: 700px;
    height: 280px;
    margin: 3rem auto 0;
    position: relative;
}
.testi-card {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: var(--surface);
    cursor: none;
    width: 100%;
    padding: 3rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
    left: 0;
}
.testi-card blockquote {
    font-family: var(--font-display);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
}
.testi-card blockquote .highlight {
    color: var(--cyan);
    font-style: normal;
    font-weight: 700;
}
.testi-author {
    align-items: center;
    gap: 1rem;
    display: flex;
}
.testi-avatar {
    background: linear-gradient(135deg, var(--cyan), var(--amber));
    width: 40px;
    height: 40px;
    font-family: var(--font-display);
    color: var(--bg);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
}
.testi-info strong {
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
}
.testi-info span {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.05em;
    font-size: 0.65rem;
}
.testimonial-nav {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    display: flex;
}
.testimonial-nav button {
    background: hsl(var(--border));
    cursor: none;
    border: none;
    border-radius: 2px;
    width: 32px;
    height: 3px;
    padding: 0;
    transition: all 0.3s;
}
.testimonial-nav button.active {
    background: var(--cyan);
    width: 48px;
}
.contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 6rem;
    margin-top: 3rem;
    display: grid;
}
.contact-left h2 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
}
.contact-left h2 .accent {
    color: var(--cyan);
}
.contact-left p {
    color: var(--muted-c);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.8;
}
.contact-email {
    font-family: var(--font-mono);
    color: var(--cyan);
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
}
.contact-email:hover {
    text-shadow: var(--glow-cyan);
}
.contact-form {
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: var(--surface);
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem;
    display: flex;
    position: relative;
    overflow: hidden;
}
.contact-form:before {
    content: "";
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.form-group {
    flex-direction: column;
    gap: 0.4rem;
    display: flex;
}
.form-group label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted-c);
    font-size: 0.6rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
    background: hsl(var(--muted) / 0.3);
    border: 1px solid hsl(var(--border));
    color: var(--fg);
    font-family: var(--font-display);
    cursor: none;
    border-radius: 8px;
    outline: none;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}
.form-group select option {
    background: var(--bg);
    color: var(--fg);
}
.section-label {
    font-family: var(--font-mono);
    color: var(--cyan);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
    display: flex;
}
.section-label .s-line {
    background: hsl(var(--primary) / 0.3);
    width: 30px;
    height: 1px;
}
.section-title {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
}
.section-title .accent {
    color: var(--cyan);
}
.section-title .accent-amber {
    color: var(--amber);
}
.section-desc {
    color: var(--muted-c);
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.8;
}
.footer {
    border-top: 1px solid hsl(var(--border));
    padding: 3rem 0;
}
.footer-inner {
    justify-content: space-between;
    align-items: center;
    display: flex;
}
.footer-copy {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.05em;
    font-size: 0.7rem;
}
.footer-links {
    gap: 2rem;
    display: flex;
}
.footer-links a {
    font-family: var(--font-mono);
    color: var(--muted-c);
    letter-spacing: 0.05em;
    font-size: 0.7rem;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--cyan);
}
.modal-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.modal-bg {
    position: absolute;
    inset: 0;
    background: hsl(var(--background) / 0.9);
    backdrop-filter: blur(30px);
    opacity: 0;
    pointer-events: auto;
}
.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: var(--surface);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(30px);
    overflow-y: auto;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .project-card-full {
        grid-template-columns: 1fr;
    }
    .project-card-full:nth-child(2n) {
        direction: ltr;
    }
    .project-img-wrap {
        height: 280px;
    }
    .project-card-body {
        padding: 2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .svc-layout {
        grid-template-columns: 1fr;
    }
    .svc-list {
        border-right: none;
        border-bottom: 1px solid hsl(var(--border));
    }
    .svc-panel-inner {
        padding: 2.5rem 2rem;
    }
    .stack-hud {
        grid-template-columns: 1fr;
    }
    .stack-sidebar {
        border-right: none;
        border-bottom: 1px solid hsl(var(--border));
    }
    .stack-panel {
        padding: 2rem;
    }
    .nav-links {
        display: none;
    }
    .burger-menu {
        display: flex !important;
    }
}
@media (max-width: 768px) {
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        padding: 2rem 1.5rem;
    }
    .stat-item:nth-child(2n) {
        border-right: none;
    }
    .footer-inner {
        text-align: center;
        flex-direction: column;
        gap: 1.5rem;
    }
    .cursor-ring,
    .cursor-dot {
        display: none;
    }
    html,
    body,
    a,
    button,
    input,
    textarea,
    select {
        cursor: auto;
    }
    .testimonials-stack {
        height: auto;
    }
    .testi-card {
        position: relative;
    }
    .svc-row {
        padding: 1rem 1.25rem;
    }
    .svc-panel-inner {
        padding: 2rem 1.25rem;
    }
    .project-card-body {
        padding: 1.5rem;
    }
    .hero-eyebrow {
        margin-bottom: 2rem;
    }
    .hero h1 {
        margin-bottom: 2rem;
        line-height: 1;
    }
    .hero-sub {
        margin-bottom: 2.5rem;
        font-size: 1rem;
    }
    .sp-pill {
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
    }
}
@media (max-width: 480px) {
    .stats-banner {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid hsl(var(--border));
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}

/* ─── BURGER MENU ─── */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: hsl(var(--primary) / 0.1);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    padding: 0;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2100;
    margin-left: auto;
}
.burger-line {
    width: 20px;
    height: 2px;
    background: var(--fg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}
.burger-menu.active {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}
.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--cyan);
}
.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--cyan);
}

/* ─── MOBILE NAV ─── */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(20px);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    padding: 8rem 2rem 4rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.active {
    transform: translateX(0);
}
.mobile-nav-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(20px);
    color: var(--fg);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: all 0.3s;
}
.mobile-link:hover {
    color: var(--cyan);
    transform: translateX(10px);
}
.mobile-nav-footer {
    border-top: 1px solid hsl(var(--border) / 0.5);
    padding-top: 2rem;
}
.mobile-nav-footer .theme-toggle {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0 1.5rem;
    height: 48px;
    border-radius: 12px;
}
body.menu-open {
    overflow: hidden;
}

/* ─── FONT SWITCHER ─── */
.font-switcher {
    position: relative;
    margin-left: 0.3rem;
}

/* Trigger button */
.font-switcher-btn {
    border: 1px solid hsl(var(--border));
    color: var(--muted-c);
    cursor: none;
    background: transparent;
    border-radius: 8px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
    gap: 0.35rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.font-switcher-btn svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.font-switcher-btn .fs-label-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.font-switcher-btn:hover,
.font-switcher.active .font-switcher-btn {
    border-color: var(--cyan);
    color: var(--cyan);
    box-shadow: var(--glow-cyan);
    background: hsl(var(--primary) / 0.05);
}
.font-switcher-btn:hover svg,
.font-switcher.active .font-switcher-btn svg {
    opacity: 1;
}

/* Panel */
.font-switcher-panel {
    position: absolute !important;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.97);
    transform-origin: top right;
    transition:
        opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10000;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px hsl(var(--border));
}
.font-switcher.active .font-switcher-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Panel header */
.fsp-header {
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid hsl(var(--border));
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem;
    background: hsl(var(--muted) / 0.3);
}
.fsp-title {
    font-family: var(--font-mono) !important;
    font-size: 0.6rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase;
    color: var(--cyan);
}
.fsp-subtitle {
    font-family: var(--font-mono) !important;
    font-size: 0.58rem !important;
    color: var(--muted-c);
    letter-spacing: 0.04em;
}

/* Options list */
.fsp-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0.4rem;
}

/* Each font option */
.fsp-option {
    border: none !important;
    background: transparent !important;
    cursor: none;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
    transition:
        background 0.18s ease,
        box-shadow 0.18s ease;
    position: relative;
}
.fsp-option:hover {
    background: hsl(var(--muted) / 0.6) !important;
}
.fsp-option.selected {
    background: hsl(var(--primary) / 0.07) !important;
    box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.2);
}

/* Left side: font name label (mono) + preview (own font) */
.fsp-opt-name {
    font-family: var(--font-mono) !important;
    font-size: 0.68rem !important;
    font-weight: 500;
    color: var(--muted-c);
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.18s;
    min-width: 80px;
}
.fsp-option:hover .fsp-opt-name,
.fsp-option.selected .fsp-opt-name {
    color: var(--fg);
}
.fsp-option.selected .fsp-opt-name {
    color: var(--cyan);
}

/* Preview text — rendered in the option's own font */
.fsp-opt-preview {
    font-family: var(--opt-font, sans-serif) !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    color: var(--fg);
    opacity: 0.35;
    flex: 1;
    text-align: right;
    letter-spacing: -0.02em;
    transition: opacity 0.18s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fsp-option:hover .fsp-opt-preview {
    opacity: 0.7;
}
.fsp-option.selected .fsp-opt-preview {
    opacity: 1;
    color: var(--cyan);
}

/* Checkmark */
.fsp-opt-check {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: hsl(var(--primary) / 0.15);
    color: var(--cyan);
    opacity: 0;
    transform: scale(0.5);
    transition:
        opacity 0.2s ease,
        transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fsp-option.selected .fsp-opt-check {
    opacity: 1;
    transform: scale(1);
}
