

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0a0a0a;
    --bg-2: #050505;
    --bg-elev: #0f0f10;
    --fg: #f5f5f5;
    --fg-dim: #a8a8a8;
    --fg-muted: #6a6a6a;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);

    --accent: #ff3344;
    --accent-2: #ff6b00;
    --accent-glow: rgba(255, 51, 68, 0.35);

    --grad-1: linear-gradient(135deg, #ff3344 0%, #ff6b00 100%);
    --grad-2: linear-gradient(135deg, #6c5ce7 0%, #ff3344 100%);

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Inter Tight', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --font-serif: 'Instrument Serif', 'Times New Roman', serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.5;
    font-feature-settings: "ss01", "cv11";
}

@media (pointer: fine) {
    body {
        cursor: none;
    }

    body * {
        cursor: none !important;
    }
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.text-muted {
    color: var(--fg-muted);
}

.accent {
    color: var(--accent);
}

.link-inline {
    color: var(--fg);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
    transition: color 0.2s var(--ease-out);
}

.link-inline:hover {
    color: var(--accent);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(90deg, var(--fg-muted) 0%, var(--fg) 50%, var(--fg-muted) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.loader-bar {
    width: 200px;
    height: 1px;
    background: var(--line);
    overflow: hidden;
    position: relative;
}

.loader-bar span {
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform-origin: left;
    animation: loaderFill 1.4s var(--ease-out) forwards;
}

@keyframes loaderFill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s var(--ease-out), background 0.2s, opacity 0.2s, width 0.25s var(--ease-spring), height 0.25s var(--ease-spring);
    will-change: transform;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--fg);
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line-strong);
    backdrop-filter: invert(1);
    -webkit-backdrop-filter: invert(1);
}

body.cursor-hover .cursor-ring {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--fg);
}

body.cursor-hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0);
}

@media (pointer: coarse) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

.spotlight {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
            rgba(255, 51, 68, 0.08),
            transparent 40%);
    transition: opacity 0.3s ease;
}

.noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grain-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -150px;
    background: rgba(255, 51, 68, 0.18);
    animation: blob1 22s ease-in-out infinite;
}

.blob-2 {
    width: 600px;
    height: 600px;
    bottom: 10%;
    right: -200px;
    background: rgba(108, 92, 231, 0.12);
    animation: blob2 26s ease-in-out infinite;
}

.blob-3 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    background: rgba(255, 107, 0, 0.08);
    animation: blob3 30s ease-in-out infinite;
}

@keyframes blob1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(80px, 100px) scale(1.15);
    }
}

@keyframes blob2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-100px, -80px) scale(0.9);
    }
}

@keyframes blob3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-30%, -70%) scale(1.2);
    }
}

main {
    position: relative;
    z-index: 2;
}

.alert-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0.55rem 1rem;
    background: linear-gradient(90deg, rgba(255, 51, 68, 0.95), rgba(255, 107, 0, 0.95));
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.alert-dot {
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    animation: pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.alert-text {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.alert-text strong {
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-right: 0.4rem;
}

.nav {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1rem clamp(1.25rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
    border-bottom: 1px solid transparent;
}

.nav-brand {
    justify-self: start;
}

.nav-links {
    justify-self: center;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom-color: var(--line);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.05);
    border-color: var(--accent);
}

.brand-text .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    color: var(--fg-dim);
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--fg);
}

.nav-link.active {
    color: var(--fg);
    background: rgba(255, 255, 255, 0.06);
}

.nav-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--fg-muted);
    transition: color 0.2s;
}

.nav-link.active .nav-num {
    color: var(--accent);
}

.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lang-switcher {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--fg-dim);
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--line);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang-btn:hover,
.lang-switcher.open .lang-btn {
    color: var(--fg);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.lang-btn .fa-globe {
    font-size: 0.85em;
    color: var(--fg-muted);
}

.lang-current {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.lang-chevron {
    font-size: 0.6em;
    transition: transform 0.25s var(--ease-out);
    color: var(--fg-muted);
}

.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 180px;
    list-style: none;
    padding: 0.4rem;
    background: rgba(15, 15, 16, 0.94);
    border: 1px solid var(--line);
    border-radius: 14px;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.2s;
    z-index: 70;
}

.lang-switcher.open .lang-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.7rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--fg-dim);
    border-radius: 8px;
    text-align: left;
    transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--fg);
}

.lang-option.active {
    background: rgba(255, 51, 68, 0.1);
    color: var(--fg);
}

.lang-option.active::after {
    content: "✓";
    margin-left: auto;
    color: var(--accent);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.1em;
    line-height: 1;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    background: var(--fg);
    color: var(--bg);
    transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-spring), border-color 0.25s;
}

.nav-cta:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.04);
}

.nav-cta i {
    transition: transform 0.3s var(--ease-out);
    font-size: 0.7rem;
}

.nav-cta:hover i {
    transform: translateX(3px) rotate(-30deg);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.6rem;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: 100px;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), background 0.3s, color 0.3s, border-color 0.3s;
    isolation: isolate;
}

.btn-sm {
    padding: 0.7rem 1.2rem;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--fg);
    color: var(--bg);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-1);
    transform: translateY(101%);
    transition: transform 0.45s var(--ease-out);
    z-index: -1;
}

.btn-primary:hover {
    color: #fff;
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-arrow {
    display: inline-flex;
    transition: transform 0.3s var(--ease-spring);
}

.btn:hover .btn-arrow {
    transform: translateY(2px);
}

.btn i {
    font-size: 0.82em;
}

.hero {
    position: relative;
    min-height: 100svh;
    padding-top: clamp(5.5rem, 11vh, 8rem);
    padding-bottom: clamp(1rem, 3vh, 1.75rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--fg-dim);
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: clamp(1rem, 2.5vh, 2rem);
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #2bd96f;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(43, 217, 111, 0.2);
    animation: pulse 1.6s ease-in-out infinite;
}

.status-dot-inline {
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}

.hero-eyebrow-divider {
    color: var(--fg-muted);
}

.hero-location {
    color: var(--fg-muted);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3.5rem, 13vw, 11rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.hero-mask {
    display: block;
    overflow: hidden;
    padding: 0.05em 0;
}

.hero-line {
    display: block;
    transform: translateY(110%);
    animation: lineUp 1s var(--ease-out) forwards;
    animation-delay: 0.3s;
}

.hero-mask:nth-child(2) .hero-line {
    animation-delay: 0.45s;
    background: linear-gradient(180deg, var(--fg) 30%, var(--fg-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes lineUp {
    to {
        transform: translateY(0);
    }
}

.hero-line em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: var(--fg-dim);
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.hero-arrow {
    color: var(--accent);
}

.hero-roles {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-role-static {
    color: var(--fg);
}

.hero-role-rotator {
    position: relative;
    display: inline-block;
    height: 1.5em;
    overflow: hidden;
    vertical-align: bottom;
    min-width: 160px;
    text-align: left;
}

.role-item {
    display: block;
    color: var(--accent);
    transition: transform 0.5s var(--ease-out), opacity 0.4s;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.hero-meta {
    position: relative;
    margin-top: clamp(1.5rem, 4vh, 3rem);
    padding-inline: var(--gutter);
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.hero-meta-item-right {
    align-items: flex-end;
    text-align: right;
}

.meta-label {
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-value {
    color: var(--fg);
}

@media (max-width: 768px) {
    .hero-meta {
        display: none;
    }
}

.section {
    position: relative;
    padding: clamp(5rem, 12vw, 8rem) 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-inline: var(--gutter);
    max-width: var(--container);
    margin: 0 auto 4rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.section-num {
    color: var(--accent);
    font-weight: 700;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--line-strong), transparent);
}

.section-label {
    color: var(--fg);
}

.section-title {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 4rem;
}

.section-title em {
    color: var(--fg-dim);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-bio p {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    color: var(--fg-dim);
    margin-bottom: 1.4rem;
    line-height: 1.6;
    max-width: 52ch;
}

.about-bio em {
    color: var(--fg);
}

.about-bio-foot {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem !important;
}

.about-card {
    background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 40px 100px -30px rgba(255, 51, 68, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.about-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.window-dots {
    display: flex;
    gap: 0.4rem;
}

.window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2a2a2a;
}

.window-dots span:nth-child(1) {
    background: #ff5f57;
}

.window-dots span:nth-child(2) {
    background: #febc2e;
}

.window-dots span:nth-child(3) {
    background: #28c840;
}

.window-title {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--fg-muted);
}

.about-card-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--fg-dim);
    overflow-x: auto;
}

.about-card-body code {
    font-family: inherit;
}

.tk-c {
    color: #6a6a6a;
}

.tk-k {
    color: #c084fc;
}

.tk-v {
    color: #fbbf24;
}

.tk-p {
    color: #60a5fa;
}

.tk-s {
    color: #34d399;
}

.tk-b {
    color: #fb7185;
}

.tk-n {
    color: #fb7185;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding: 1.5rem 0;
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.01);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    letter-spacing: -0.02em;
    color: var(--fg);
    white-space: nowrap;
}

.marquee-item.huge {
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 1;
}

.marquee-item em {
    color: var(--fg-muted);
}

.marquee-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.marquee-item.huge .dot {
    width: 16px;
    height: 16px;
}

@keyframes marqueeScroll {
    to {
        transform: translateX(-50%);
    }
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.stack-card {
    position: relative;
    padding: 2rem 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-elev);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.4s var(--ease-out);
    isolation: isolate;
}

.stack-card-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
            rgba(255, 51, 68, 0.12),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.stack-card:hover {
    border-color: var(--line-strong);
}

.stack-card:hover .stack-card-bg {
    opacity: 1;
}

.stack-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    margin-bottom: 1.2rem;
    font-size: 1.7rem;
    transition: transform 0.4s var(--ease-spring), background 0.3s;
}

.stack-card:hover .stack-icon {
    transform: rotate(-6deg) scale(1.05);
    background: rgba(255, 51, 68, 0.08);
}

.lang-ico {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.04em;
}

.stack-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.stack-card p {
    color: var(--fg-dim);
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
    line-height: 1.5;
}

.stack-tag {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--fg-muted);
    border: 1px solid var(--line);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.project {
    position: relative;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.project-num {
    color: var(--accent);
    font-weight: 700;
}

.project-tag {
    padding: 0.25rem 0.7rem;
    color: var(--fg-dim);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.65rem;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(180deg, rgba(15, 15, 16, 0.6) 0%, rgba(5, 5, 5, 0.6) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.5s var(--ease-out);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project:hover .project-grid {
    border-color: var(--line-strong);
}

.project.featured .project-grid {
    background: linear-gradient(180deg, rgba(255, 51, 68, 0.06) 0%, rgba(5, 5, 5, 0.6) 100%);
    border-color: rgba(255, 51, 68, 0.2);
}

.project-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s var(--ease-out);
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-2);
    transition: transform 0.6s var(--ease-out);
}

.project:hover .project-visual img {
    transform: scale(1.04);
}

.project-visual-featured img {
    object-fit: contain;
    width: 70%;
    height: 70%;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

.visual-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.project-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
}

.project-sub {
    color: var(--fg-muted);
    font-weight: 500;
    margin-left: 0.4rem;
    font-size: 0.7em;
}

.project-desc {
    color: var(--fg-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    max-width: 52ch;
}

.project-desc strong {
    color: var(--fg);
    font-weight: 600;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.project-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 0;
    color: var(--fg-dim);
    font-size: 0.88rem;
}

.project-features i {
    color: var(--accent);
    font-size: 0.8em;
    width: 18px;
    text-align: center;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    padding: 0.3rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--fg-dim);
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.slider {
    position: relative;
}

.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

.slider-img.active {
    opacity: 1;
    position: relative;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    color: var(--fg);
    transition: background 0.25s, color 0.25s, transform 0.25s;
    z-index: 5;
    font-size: 0.85rem;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-prev {
    left: 0.8rem;
}

.slider-next {
    right: 0.8rem;
}

.slider-dots {
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 5;
}

.slider-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s, width 0.3s;
}

.slider-dots span.active {
    background: var(--accent);
    width: 18px;
    border-radius: 100px;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .project-grid-reverse>.project-body {
        order: 2;
    }

    .project-grid-reverse>.project-visual {
        order: 1;
    }
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.support-card {
    padding: 2rem;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: left;
    transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.support-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
}

.support-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 1.4rem;
    font-size: 1.7rem;
}

.support-icon-eth {
    background: rgba(108, 92, 231, 0.12);
    color: #a78bfa;
}

.support-icon-ltc {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.support-icon-sol {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.support-addr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 1.2rem;
    overflow: hidden;
}

.support-addr code {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--fg-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    color: var(--fg-muted);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.support-btn {
    width: 100%;
    justify-content: center;
}

.footer {
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
    border-top: 1px solid var(--line);
}

.footer-inner {
    text-align: center;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.footer-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.2rem;
}

.footer-title {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 3rem;
}

.footer-title em {
    color: var(--fg-dim);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}

.social:hover {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
    transform: scale(1.04);
}

.social i {
    font-size: 1.05em;
}

.social-copy {
    font-size: 0.75em !important;
    opacity: 0.5;
    margin-left: 0.1rem;
    transition: opacity 0.2s, transform 0.2s;
}

.social:hover .social-copy {
    opacity: 1;
    transform: scale(1.1);
}

.footer-marquee {
    overflow: hidden;
    margin-bottom: 2.5rem;
    user-select: none;
    pointer-events: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--fg-muted);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s var(--ease-out);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    animation: scaleIn 0.4s var(--ease-spring);
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--fg-muted);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--fg);
    transform: rotate(90deg);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-qr {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
}

.modal-qr img {
    width: 100%;
    border-radius: 4px;
}

.modal-addr {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
}

.modal-addr code {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--fg-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + 4rem));
    padding: 0.75rem 1.4rem;
    background: var(--fg);
    color: var(--bg);
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.4s var(--ease-spring), opacity 0.3s, visibility 0.3s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}

.reveal-up.in {
    opacity: 1;
    transform: translateY(0);
}

.tilt,
.tilt-soft {
    transform-style: preserve-3d;
    transition: transform 0.5s var(--ease-out);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {

    .hero {
        padding-top: 7rem;
    }

    .nav-cta span {
        display: none;
    }

    .nav-cta {
        padding: 0.55rem 0.75rem;
    }

    .lang-btn {
        padding: 0.5rem 0.7rem;
    }

    .alert-text {
        font-size: 0.7rem;
    }

    .alert-text strong {
        display: block;
        margin-bottom: 0.15rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

.brand-mark.hint {
    animation: hintShake 0.4s var(--ease-out);
}

@keyframes hintShake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-12deg) scale(1.08); }
    50% { transform: rotate(8deg) scale(1.05); }
    75% { transform: rotate(-4deg) scale(1.02); }
}

.matrix-rain {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
    mix-blend-mode: screen;
}

.matrix-rain.on {
    opacity: 0.35;
}

.terminal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.terminal.open {
    display: flex;
    animation: termFade 0.25s var(--ease-out);
}

@keyframes termFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-window {
    position: relative;
    width: min(720px, 100%);
    max-height: min(70vh, 620px);
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(15, 15, 16, 0.96) 0%, rgba(8, 8, 9, 0.98) 100%);
    border: 1px solid rgba(255, 51, 68, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.7),
        0 0 80px -20px rgba(255, 51, 68, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    transform: scale(0.92) translateY(12px);
    opacity: 0;
    animation: termOpen 0.5s var(--ease-spring) forwards;
}

.terminal-window::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 100% 4px;
    z-index: 1;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

@keyframes termOpen {
    0% {
        transform: scale(0.92) translateY(12px);
        opacity: 0;
        filter: blur(8px);
    }
    50% {
        filter: blur(0);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

.terminal-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

.terminal-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2a2a2a;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--fg-muted);
    letter-spacing: 0.04em;
}

.terminal-close {
    color: var(--fg-muted);
    transition: color 0.2s, transform 0.25s;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem;
}

.terminal-close:hover {
    color: var(--fg);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.06);
}

.terminal-body {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--fg-dim);
    position: relative;
    z-index: 2;
}

.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); }

.term-line { white-space: pre-wrap; word-break: break-word; }
.term-line.term-cmd { color: var(--fg); }
.term-line.term-cmd::before {
    content: "$ ";
    color: var(--accent);
    font-weight: 700;
}
.term-line.term-ok { color: #34d399; }
.term-line.term-err { color: var(--accent); }
.term-line.term-muted { color: var(--fg-muted); }
.term-line.term-accent { color: var(--accent); }
.term-line.term-rainbow {
    background: linear-gradient(90deg, #ff3344, #ff9f1c, #ffd166, #34d399, #60a5fa, #a78bfa, #ff3344);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbowSlide 4s linear infinite;
}

@keyframes rainbowSlide {
    to { background-position: -200% 0; }
}

.term-art {
    color: var(--accent);
    font-size: 0.78rem;
    line-height: 1.15;
    margin-block: 0.4rem;
    text-shadow: 0 0 12px rgba(255, 51, 68, 0.4);
}

.term-link {
    color: #60a5fa;
    border-bottom: 1px dashed rgba(96, 165, 250, 0.3);
    padding-bottom: 1px;
}

.term-link:hover { color: #93c5fd; }

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.terminal-prompt {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--fg-muted);
    flex-shrink: 0;
    white-space: nowrap;
}

.terminal-arrow {
    color: var(--accent);
    font-weight: 700;
    margin-left: 0.25rem;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--fg);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    caret-color: var(--accent);
    padding: 0.1rem 0;
}

@keyframes caretBlink {
    50% { opacity: 0; }
}

@media (max-width: 640px) {
    .terminal-window { max-height: 80vh; }
    .terminal-body { font-size: 0.78rem; padding: 0.9rem; }
    .terminal-input { font-size: 0.78rem; }
    .terminal-prompt { font-size: 0.72rem; }
    .term-art { font-size: 0.55rem; }
}
