:root {
    --ink-950: #070b14;
    --ink-900: #0c1220;
    --odoo: #714b67;
    --odoo-light: #9b6b8f;
    --cyanx: #22d3ee;
}

html {
    background: var(--ink-950);
}

body {
    min-height: 100vh;
}

/* Atmospheric hero plane — not a flat fill */
.hero-plane {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(113, 75, 103, 0.28), transparent 55%),
        radial-gradient(ellipse 55% 45% at 15% 80%, rgba(8, 145, 178, 0.18), transparent 50%),
        linear-gradient(165deg, #070b14 0%, #0c1220 45%, #121a2b 100%);
}

.hero-plane::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.fade-up {
    animation: fadeUp 0.8s ease-out both;
}

.fade-up-delay {
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.fade-up-delay-2 {
    animation: fadeUp 0.8s ease-out 0.3s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 107, 143, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.stagger-card {
    animation: fadeUp 0.55s ease-out both;
}

.filter-chip[aria-pressed='true'] {
    background: linear-gradient(135deg, rgba(113, 75, 103, 0.9), rgba(8, 145, 178, 0.55));
    color: #fff;
    border-color: transparent;
}

.modal-backdrop {
    backdrop-filter: blur(6px);
}

.modal-panel {
    animation: modalIn 0.22s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.screenshot-placeholder {
    background:
        linear-gradient(135deg, rgba(113, 75, 103, 0.15), rgba(8, 145, 178, 0.1)),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 8px,
            rgba(148, 163, 184, 0.04) 8px,
            rgba(148, 163, 184, 0.04) 16px
        );
}

.lightbox-img {
    max-height: min(85vh, 900px);
    object-fit: contain;
}

/* Soft scrollbar for modal body */
.modal-scroll::-webkit-scrollbar {
    width: 8px;
}
.modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.25);
    border-radius: 999px;
}
