/* =============================================================
   Calik X · Premium Sections
   Apple-grade hero · Lusion-style scroll · marquee · multiagent
   ============================================================= */

/* ===== Apple-style massive hero ===== */
.cx-mega {
    position: relative;
    min-height: 100vh;
    padding: 22vh 6vw 14vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: clip;
}
.cx-mega__kicker {
    font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase;
    color: var(--cx-fg-mute);
    margin-bottom: 26px;
    opacity: 0; transform: translateY(20px);
    animation: cxRise 0.9s var(--cx-easing) 0.1s forwards;
}
.cx-mega__title {
    font-size: clamp(60px, 11vw, 180px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.25;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #6e6e73 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cx-mega__title span {
    display: block;
    opacity: 0; transform: translateY(60px);
    animation: cxRise 1.6s var(--cx-easing) forwards;
}
.cx-mega__title span:nth-child(1) { animation-delay: 0.4s; }
.cx-mega__title span:nth-child(2) {
    animation-delay: 0.7s;
    display: inline-block;
    width: 100%;
    padding-bottom: 0.1em;
    background: linear-gradient(110deg, #0a84ff 0%, #bf5af2 50%, #ff375f 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cx-mega__title span:nth-child(3) { animation-delay: 1s; }
.cx-mega__lead {
    margin: 38px 0 0;
    max-width: 600px;
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.65;
    color: var(--cx-fg-dim);
    opacity: 0; transform: translateY(20px);
    animation: cxRise 1.4s var(--cx-easing) 1.1s forwards;
}
.cx-mega__cta {
    margin-top: 44px;
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0; transform: translateY(20px);
    animation: cxRise 1.4s var(--cx-easing) 1.35s forwards;
}

/* parallax orbs in hero */
.cx-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    pointer-events: none;
    will-change: transform;
}
.cx-orb--1 { width: 520px; height: 520px; top: -120px; right: -100px; background: radial-gradient(circle, #0a84ff, transparent 65%); animation: cxOrb 18s ease-in-out infinite alternate; }
.cx-orb--2 { width: 440px; height: 440px; bottom: -80px; left: -120px; background: radial-gradient(circle, #bf5af2, transparent 65%); animation: cxOrb 22s ease-in-out -6s infinite alternate-reverse; }
.cx-orb--3 { width: 360px; height: 360px; top: 30%; left: 40%; background: radial-gradient(circle, #ff375f, transparent 65%); animation: cxOrb 26s ease-in-out -10s infinite alternate; opacity: 0.32; }
@keyframes cxOrb {
    0%   { transform: translate3d(0,0,0) scale(1); }
    100% { transform: translate3d(40px,-30px,0) scale(1.18); }
}
.cx-orb--1 { animation-duration: 26s !important; }
.cx-orb--2 { animation-duration: 32s !important; }
.cx-orb--3 { animation-duration: 38s !important; }

/* scroll indicator */
.cx-scroll-ind {
    position: absolute;
    bottom: 38px; left: 50%;
    transform: translateX(-50%);
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--cx-fg-mute);
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    opacity: 0;
    animation: cxRise 1s var(--cx-easing) 1.2s forwards;
}
.cx-scroll-ind::after {
    content: ""; width: 1px; height: 36px;
    background: linear-gradient(180deg, var(--cx-fg-mute), transparent);
    animation: cxScrollHint 1.8s ease-in-out infinite;
}
@keyframes cxScrollHint {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ===== Marquee (languages I know) ===== */
.cx-marquee {
    position: relative;
    overflow: hidden;
    padding: 36px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.cx-marquee__track {
    display: flex;
    gap: 22px;
    width: max-content;
    will-change: transform;
    /* animation handled by JS RAF — no CSS animation here */
}

/* ===== Chip ===== */
.cx-chip {
    --led-color: #0a84ff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--cx-line);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--cx-fg);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    cursor: default;
    transition:
        background 0.35s ease,
        transform 0.4s var(--cx-easing-spring),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}
.cx-chip:hover {
    background: rgba(255,255,255,0.09);
    border-color: var(--led-color);
    transform: translateY(-3px) scale(1.04);
    animation: cxLedPulse 1.6s ease-in-out infinite;
}
@keyframes cxLedPulse {
    0%, 100% {
        box-shadow:
            0 0 4px 1px var(--led-color),
            0 0 16px 4px var(--led-color),
            0 0 32px 10px var(--led-color);
    }
    50% {
        box-shadow:
            0 0 8px 3px var(--led-color),
            0 0 28px 8px var(--led-color),
            0 0 56px 18px var(--led-color);
    }
}
.cx-chip__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--led-color);
    box-shadow: 0 0 8px 2px var(--led-color);
    flex-shrink: 0;
}
.cx-chip__lvl {
    font-size: 11px;
    color: var(--cx-fg-mute);
    margin-left: 4px;
    padding-left: 12px;
    border-left: 1px solid var(--cx-line);
}

/* ===== Lusion-style horizontal scroll panel ===== */
.cx-pin-stage {
    position: relative;
    height: 320vh; /* tall stage so we can pin */
}
.cx-pin-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.cx-pin-track {
    display: flex;
    gap: 28px;
    padding: 0 8vw;
    will-change: transform;
}
.cx-pin-card {
    flex: 0 0 64vw;
    height: 72vh;
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    background: #0c0c0e;
    border: 1px solid var(--cx-line);
    display: flex; align-items: flex-end; padding: 44px;
    isolation: isolate;
}
.cx-pin-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: var(--bg, linear-gradient(135deg, #0a84ff, #bf5af2));
    transform: scale(1.05);
    transition: transform 1.2s var(--cx-easing);
}
.cx-pin-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
}
.cx-pin-card--photo::before { opacity: 0; }
.cx-pin-card__img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    pointer-events: none;
}
.cx-pin-card__body { position: relative; z-index: 2; max-width: 540px; color: #fff; }
.cx-pin-card__num { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }
.cx-pin-card__title { font-size: clamp(34px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; margin: 0 0 14px; }
.cx-pin-card__desc { font-size: 16px; line-height: 1.55; opacity: 0.85; }

/* ===== Sticky reveal text (Lusion) ===== */
.cx-text-stage {
    padding: 26vh 6vw;
    max-width: 1100px;
    margin: 0 auto;
}
.cx-text-stage h2 {
    font-size: clamp(40px, 6vw, 96px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 0;
}
.cx-text-stage h2 .word {
    display: inline-block;
    background: linear-gradient(180deg, #fff 0%, #fff 50%, rgba(255,255,255,0.12) 50.01%, rgba(255,255,255,0.12) 100%);
    background-size: 100% 200%;
    background-position: 0% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    transition: background-position 0.6s var(--cx-easing);
    padding: 0 0.05em;
}
.cx-text-stage h2 .word.is-lit { background-position: 0% 0%; }

/* ===== Tilt feature grid ===== */
.cx-tilt-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cx-tilt {
    position: relative;
    padding: 36px 30px;
    border-radius: var(--cx-radius-lg);
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    transform-style: preserve-3d;
    transition: transform 0.4s var(--cx-easing), border-color 0.3s ease;
    overflow: hidden;
    isolation: isolate;
}
.cx-tilt::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(500px 250px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,0.08), transparent 50%);
    opacity: 0; transition: opacity 0.4s ease;
    z-index: 0; pointer-events: none;
}
.cx-tilt:hover { border-color: var(--cx-line-2); }
.cx-tilt:hover::before { opacity: 1; }
.cx-tilt__icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--cx-accent), var(--cx-accent-2));
    color: #fff; margin-bottom: 22px;
    box-shadow: 0 12px 28px -10px rgba(10,132,255,0.6);
}
.cx-tilt__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cx-tilt__title { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--cx-fg); position: relative; z-index: 1; }
.cx-tilt__desc { font-size: 14px; line-height: 1.6; color: var(--cx-fg-dim); margin: 0; position: relative; z-index: 1; }

/* ===== Multi Agent AI feature ===== */
.cx-mai-hero {
    position: relative;
    min-height: 88vh;
    padding: 18vh 6vw 14vh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
}
.cx-mai-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(10,132,255,0.12);
    border: 1px solid rgba(10,132,255,0.4);
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: #4d9fff;
    margin-bottom: 26px;
    width: fit-content;
}
.cx-mai-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 12px #30d158; animation: cxPulse 1.6s ease-in-out infinite; }
@keyframes cxPulse { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

.cx-mai-logo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 24px;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 24px rgba(191,90,242,0.6)) drop-shadow(0 0 48px rgba(10,132,255,0.4));
    animation: cxLogoFloat 4s ease-in-out infinite;
}
@keyframes cxLogoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.cx-mai-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.96;
    margin: 0 0 28px;
    background: linear-gradient(110deg, #0a84ff 0%, #bf5af2 50%, #ff375f 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cx-mai-lead { max-width: 760px; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; color: var(--cx-fg-dim); }

/* device frame for embed/screenshots */
.cx-device {
    position: relative;
    margin: 80px auto;
    max-width: 1200px;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    background: #0a0a0c;
    border: 1px solid var(--cx-line-2);
    box-shadow: 0 60px 120px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.03) inset;
    overflow: hidden;
}
.cx-device__bar {
    height: 38px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--cx-line);
    display: flex; align-items: center; gap: 8px;
    padding: 0 16px;
    font-size: 11px; color: var(--cx-fg-mute);
}
.cx-device__dots { display: flex; gap: 6px; margin-right: 12px; }
.cx-device__dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.cx-device__dots span:nth-child(1) { background: #ff5f57; }
.cx-device__dots span:nth-child(2) { background: #febc2e; }
.cx-device__dots span:nth-child(3) { background: #28c840; }
.cx-device__addr { padding: 4px 12px; background: rgba(0,0,0,0.4); border-radius: 6px; font-family: ui-monospace, monospace; font-size: 11px; }
.cx-device__viewport { position: absolute; inset: 38px 0 0 0; background: #000; }
.cx-device__viewport iframe { width: 100%; height: 100%; border: 0; display: block; }
.cx-device__placeholder {
    position: absolute; inset: 38px 0 0 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background:
        radial-gradient(800px 400px at 50% 30%, rgba(10,132,255,0.18), transparent 60%),
        linear-gradient(180deg, #0a0a0c, #050507);
    color: var(--cx-fg-dim);
    text-align: center; padding: 40px;
}
.cx-device__placeholder h4 { color: var(--cx-fg); font-size: 22px; margin: 18px 0 10px; font-weight: 600; letter-spacing: -0.01em; }
.cx-device__placeholder p { max-width: 520px; line-height: 1.6; margin: 0 0 22px; font-size: 14px; }
.cx-device__loader {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0a84ff, #bf5af2);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 22px;
    box-shadow: 0 20px 40px -10px rgba(10,132,255,0.6);
    animation: cxFloat2 3s ease-in-out infinite;
}
@keyframes cxFloat2 {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

/* showcase phone mockups grid */
.cx-shots { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 60px 0; }

/* ── Demo video embed ─────────────────────────────────────────── */
.cx-video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.6);
}
.cx-shot {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--cx-line);
    background: #0a0a0c;
    transition: transform 0.5s var(--cx-easing-spring), border-color 0.3s ease;
}
.cx-shot:hover { transform: translateY(-6px) scale(1.01); border-color: var(--cx-line-2); }
.cx-shot img { display: block; width: 100%; height: auto; }

/* architecture diagram */
.cx-arch { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin: 40px 0; }
.cx-arch__node {
    padding: 22px;
    border-radius: 16px;
    background: rgba(28,28,30,0.5);
    border: 1px solid var(--cx-line);
    text-align: center;
    transition: border-color 0.3s ease, transform 0.4s var(--cx-easing-spring);
}
.cx-arch__node:hover { transform: translateY(-3px); border-color: var(--cx-accent); }
.cx-arch__node strong { display: block; font-size: 14px; color: var(--cx-fg); margin-bottom: 6px; }
.cx-arch__node span { font-size: 11px; color: var(--cx-fg-mute); letter-spacing: 0.06em; }

/* ===== process / steps ===== */
.cx-process { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
.cx-step {
    position: relative;
    padding: 28px 24px 24px;
    border-radius: 18px;
    background: rgba(28,28,30,0.5);
    border: 1px solid var(--cx-line);
    counter-increment: step;
}
.cx-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: -14px; left: 22px;
    padding: 4px 10px;
    background: var(--cx-bg);
    border: 1px solid var(--cx-accent);
    border-radius: 999px;
    font-size: 11px; color: var(--cx-accent); letter-spacing: 0.18em;
    font-variant-numeric: tabular-nums;
}
.cx-step h4 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.cx-step p { font-size: 13px; line-height: 1.55; color: var(--cx-fg-dim); margin: 0; }

/* ===== separator with gradient line ===== */
.cx-rule {
    height: 1px; border: 0; margin: 80px auto;
    background: linear-gradient(90deg, transparent, var(--cx-line-2), transparent);
}

/* ===== reveal animations finer ===== */
.cx-fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--cx-easing), transform 1s var(--cx-easing); }
.cx-fade-up.is-in { opacity: 1; transform: translateY(0); }
.cx-fade-up.d2 { transition-delay: 0.12s; }
.cx-fade-up.d3 { transition-delay: 0.24s; }
.cx-fade-up.d4 { transition-delay: 0.36s; }

/* ===== responsive ===== */
@media (max-width: 760px) {
    .cx-pin-card { flex: 0 0 86vw; height: 64vh; padding: 28px; }
    .cx-arch { grid-template-columns: 1fr; }
    .cx-mega { padding: 18vh 6vw 10vh; }
}

/* ===== reduce-motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Projects photo grid ===== */
/* ===== Projects grid ===== */
.cx-proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 8px;
}

/*
 * GPU-composited card:
 *  - NO overflow:hidden here — that forces CPU paint during scale.
 *  - Clipping is handled by the inner img-wrap (separate composited layer).
 *  - Only transform + opacity + box-shadow are animated (hardware fast-path).
 *  - will-change:transform pre-allocates a GPU texture so the first frame
 *    never pixelates.
 */
.cx-proj-card {
    position: relative;
    border-radius: 20px;
    background: rgba(16, 16, 18, 0.8);
    border: 1px solid var(--cx-line);
    cursor: pointer;
    /* Pre-allocate GPU composited layer BEFORE any interaction */
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Expo-out for buttery deceleration */
    transition:
        transform    0.72s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s  ease,
        box-shadow   0.72s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-font-smoothing: antialiased;
    isolation: isolate;
    overflow: visible;
}
/* shimmer sweep on hover — background-position based, NEVER leaves card bounds */
.cx-proj-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        108deg,
        transparent  0%,
        transparent  22%,
        rgba(255,255,255,0.03) 40%,
        rgba(255,255,255,0.09) 50%,
        rgba(255,255,255,0.03) 60%,
        transparent  78%,
        transparent 100%
    );
    background-size: 300% 100%;
    background-position: 200% center;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: none;
}
.cx-proj-card:hover::before {
    opacity: 1;
    background-position: -100% center;
    transition: background-position 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
}
.cx-proj-card:hover {
    transform: translate3d(0, -14px, 0) scale3d(1.04, 1.04, 1);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 0  0  1px rgba(255, 255, 255, 0.22),
        0 0 16px  5px rgba(255, 255, 255, 0.14),
        0 0 38px 12px rgba(200, 210, 255, 0.09),
        0 0 70px 20px rgba(160, 170, 255, 0.05),
        0 18px 36px  -8px rgba(0, 0, 0, 0.80);
}

/* ── img-wrap: own GPU layer so image zoom is isolated ── */
.cx-proj-card__img-wrap {
    position: relative;
    overflow: hidden;
    /* round only the top corners — card body has no overflow:hidden so bottom
       corners are handled naturally by the card border-radius */
    border-radius: 20px 20px 0 0;
    background: #0c0c0e;
    /* promote to own composited layer */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ── LED breathing dot ── */
.cx-proj-led {
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -9px;          /* half of 18px */
    z-index: 6;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    outline: none;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.92);
    will-change: transform, opacity, box-shadow;
    transform: translateZ(0) scale(1);
    animation: cxLedBreathe 3s ease-in-out infinite;
    /* smooth transition OUT of hover back to breathe */
    transition:
        transform  0.55s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.55s ease,
        opacity    0.55s ease,
        border-color 0.55s ease;
}
/* ring that pulses outward */
.cx-proj-led::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    opacity: 0;
    transform: scale(0.6);
    transition:
        transform  0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity    0.55s ease;
    pointer-events: none;
}
/* second outer ring */
.cx-proj-led::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: scale(0.5);
    transition:
        transform  0.7s cubic-bezier(0.16, 1, 0.3, 1),
        opacity    0.7s ease;
    pointer-events: none;
}

@keyframes cxLedBreathe {
    0%, 100% {
        opacity: 0.55;
        transform: translateZ(0) scale(0.82);
        box-shadow:
            0 0  4px  2px rgba(255, 255, 255, 0.5),
            0 0 10px  4px rgba(255, 255, 255, 0.18);
    }
    50% {
        opacity: 1;
        transform: translateZ(0) scale(1.1);
        box-shadow:
            0 0  8px  3px rgba(255, 255, 255, 0.98),
            0 0 20px  8px rgba(255, 255, 255, 0.45),
            0 0 36px 14px rgba(255, 255, 255, 0.16);
    }
}

/* hover: stop breathe, bloom outward */
.cx-proj-led:hover {
    animation: none;
    opacity: 1;
    transform: translateZ(0) scale(1.55);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 10px  5px rgba(255, 255, 255, 1),
        0 0 28px 11px rgba(255, 255, 255, 0.6),
        0 0 55px 22px rgba(255, 255, 255, 0.22);
    transition:
        transform  0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s ease,
        opacity    0.3s ease,
        border-color 0.3s ease;
}
.cx-proj-led:hover::before {
    opacity: 1;
    transform: scale(1);
}
.cx-proj-led:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* ── photo: GPU scale-up ── */
.cx-proj-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center top;
    will-change: transform;
    transform: scale3d(1, 1, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
        transform  0.72s cubic-bezier(0.16, 1, 0.3, 1),
        filter     0.72s ease;
    filter: brightness(0.92) saturate(0.9);
}
.cx-proj-card:hover .cx-proj-card__img {
    transform: scale3d(1.11, 1.11, 1);
    filter: brightness(1.06) saturate(1.15);
}

/* ── hover overlay ── */
.cx-proj-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 4, 6, 0.88) 0%, rgba(0,0,0,0.15) 52%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 22px;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cx-proj-card:hover .cx-proj-card__overlay { opacity: 1; }

.cx-proj-card__overlay-btn {
    padding: 9px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    /* slide up on reveal */
    transform: translateY(10px);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.cx-proj-card:hover .cx-proj-card__overlay-btn { transform: translateY(0); }

/* ── card body ── */
.cx-proj-card__body {
    padding: 16px 22px 20px;
    text-align: center;
    border-top: 1px solid var(--cx-line);
    /* round bottom corners to match card */
    border-radius: 0 0 20px 20px;
    transition: background 0.45s ease;
}
.cx-proj-card:hover .cx-proj-card__body {
    background: rgba(28, 28, 32, 0.9);
}
.cx-proj-card__type {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cx-fg-mute);
    margin-bottom: 6px;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    transition: color 0.35s ease;
}
.cx-proj-card:hover .cx-proj-card__type { color: var(--cx-fg-dim); }
.cx-proj-card__title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--cx-fg);
    margin: 0;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    transition: color 0.35s ease;
}
.cx-proj-card:hover .cx-proj-card__title { color: #fff; }

/* ===== Project / Repo detail modal ===== */
.cx-repo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--cx-easing);
}
.cx-repo-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.cx-repo-modal__inner {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 24px;
    background: rgba(14, 14, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 60px 120px -30px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    transform: scale(0.93) translateY(28px);
    transition: transform 0.45s var(--cx-easing-spring);
    padding: 48px 52px 56px;
    color: var(--cx-fg);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.cx-repo-modal.is-open .cx-repo-modal__inner { transform: scale(1) translateY(0); }
.cx-repo-modal__inner::-webkit-scrollbar { width: 6px; }
.cx-repo-modal__inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.14); border-radius: 6px; }
.cx-repo-modal__close {
    position: fixed;
    top: calc(50% - min(44vh, 400px));
    right: calc(50% - min(430px, 50vw - 10px));
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(28, 28, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    color: var(--cx-fg);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; line-height: 1;
    transition: background 0.2s ease, transform 0.35s var(--cx-easing-spring);
    z-index: 1000011;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.cx-repo-modal__close::before { content: "×"; }
.cx-repo-modal__close:hover { background: rgba(60,60,64,0.95); transform: rotate(90deg) scale(1.1); }
@media (max-width: 920px) {
    .cx-repo-modal__close { top: 18px; right: 18px; }
    .cx-repo-modal__inner { padding: 44px 28px 48px; border-radius: 20px; }
}
.cx-repo-modal__head {
    margin-bottom: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--cx-line);
}
.cx-repo-modal__title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
    color: var(--cx-fg);
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}
.cx-repo-modal__desc {
    font-size: 15px;
    color: var(--cx-fg-dim);
    margin: 0 0 18px;
    line-height: 1.6;
}
.cx-repo-modal__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cx-repo-modal__stat { font-size: 13px; color: var(--cx-fg-mute); }
.cx-repo-modal__lang {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid var(--cx-line-2);
    color: var(--cx-fg-dim);
    letter-spacing: 0.06em;
}
.cx-repo-modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cx-repo-modal__btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--cx-line-2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--cx-fg);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.3s var(--cx-easing-spring);
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}
.cx-repo-modal__btn:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.cx-repo-modal__btn--primary {
    background: var(--cx-accent);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(10,132,255,0.6);
}
.cx-repo-modal__btn--primary:hover { background: #1a90ff; box-shadow: 0 14px 36px -8px rgba(10,132,255,0.8); }
.cx-repo-modal__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: var(--cx-fg-dim);
    font-size: 14px;
    gap: 16px;
}
.cx-repo-modal__spinner {
    width: 30px; height: 30px;
    border: 2px solid rgba(255,255,255,0.1);
    border-top-color: var(--cx-accent);
    border-radius: 50%;
    animation: cxSpin 0.75s linear infinite;
}
@keyframes cxSpin { to { transform: rotate(360deg); } }
/* README */
.cx-repo-modal__readme {
    font-size: 14px;
    line-height: 1.75;
    color: var(--cx-fg-dim);
}
.cx-repo-modal__readme h1 {
    font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
    color: var(--cx-fg); margin: 28px 0 12px;
    padding-bottom: 10px; border-bottom: 1px solid var(--cx-line);
}
.cx-repo-modal__readme h2 { font-size: 17px; font-weight: 600; color: var(--cx-fg); margin: 22px 0 10px; }
.cx-repo-modal__readme h3 { font-size: 15px; font-weight: 600; color: var(--cx-fg-dim); margin: 18px 0 8px; }
.cx-repo-modal__readme p { margin: 0 0 12px; }
.cx-repo-modal__readme a { color: var(--cx-accent); text-decoration: none; }
.cx-repo-modal__readme a:hover { text-decoration: underline; }
.cx-repo-modal__readme strong { color: var(--cx-fg); font-weight: 600; }
.cx-repo-modal__readme code {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 12px; background: rgba(255,255,255,0.07);
    padding: 2px 6px; border-radius: 5px;
}
.cx-repo-modal__readme pre {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--cx-line);
    border-radius: 12px;
    padding: 18px; overflow-x: auto; margin: 14px 0;
}
.cx-repo-modal__readme pre code { background: none; padding: 0; font-size: 13px; }
.cx-repo-modal__readme ul, .cx-repo-modal__readme ol { padding-left: 22px; margin: 0 0 12px; }
.cx-repo-modal__readme li { margin-bottom: 5px; }
.cx-repo-modal__readme img { max-width: 100%; border-radius: 10px; margin: 8px 0; border: 1px solid var(--cx-line); }
.cx-repo-modal__readme hr { border: none; border-top: 1px solid var(--cx-line); margin: 22px 0; }
.cx-repo-modal__readme blockquote {
    border-left: 3px solid var(--cx-accent);
    padding-left: 16px; color: var(--cx-fg-mute);
    margin: 12px 0;
}

/* ===== Fullscreen image viewer ===== */
.cx-img-viewer {
    position: fixed;
    inset: 0;
    z-index: 1000020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px) brightness(1);
    -webkit-backdrop-filter: blur(0px) brightness(1);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.38s var(--cx-easing),
        background 0.38s var(--cx-easing),
        backdrop-filter 0.38s var(--cx-easing);
}
.cx-img-viewer.is-open {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(28px) brightness(0.45) saturate(0.6);
    -webkit-backdrop-filter: blur(28px) brightness(0.45) saturate(0.6);
}
.cx-img-viewer__inner {
    position: relative;
    max-width: min(1200px, 94vw);
    max-height: 90vh;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 60px 120px -30px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: scale(0.88) translateY(30px);
    transition: transform 0.45s var(--cx-easing-spring);
    background: #000;
}
.cx-img-viewer.is-open .cx-img-viewer__inner {
    transform: scale(1) translateY(0);
}
.cx-img-viewer__img {
    display: block;
    width: 100%;
    max-height: 90vh;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}
.cx-img-viewer__close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000021;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(20, 20, 22, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    transition: background 0.2s ease, transform 0.35s var(--cx-easing-spring), border-color 0.2s ease;
    opacity: 0;
    pointer-events: none;
    transform: rotate(-45deg) scale(0.7);
}
.cx-img-viewer__close::before { content: "×"; margin-top: -2px; }
.cx-img-viewer.is-open .cx-img-viewer__close {
    opacity: 1;
    pointer-events: auto;
    transform: rotate(0deg) scale(1);
    transition-delay: 0.15s;
}
.cx-img-viewer__close:hover {
    background: rgba(50, 50, 54, 0.92);
    border-color: rgba(255, 255, 255, 0.42);
    transform: rotate(90deg) scale(1.12) !important;
}

/* ================================================================
   About Page — cx-ab-* components
   ================================================================ */

/* wrap: gives top-padding without touching cx-container base */
.cx-about-wrap { padding-top: 60px; }

/* ── Hero bio ── */
.cx-ab-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: stretch;
    padding-bottom: 72px;
    border-bottom: 1px solid var(--cx-line);
    margin-bottom: 64px;
}
.cx-ab-hero__text { min-width: 0; }
.cx-ab-bio {
    font-size: 19px;
    line-height: 1.8;
    color: var(--cx-fg-dim);
    max-width: 760px;
    margin: 0 0 18px;
}
.cx-ab-bio:last-of-type { margin-bottom: 0; }

/* stat pills column */
.cx-ab-hero__pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
    justify-content: center;
    padding-top: 160px;
}
.cx-ab-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--cx-line);
    border-radius: 12px;
    padding: 14px 18px;
    text-align: center;
    transition: border-color 0.25s, background 0.25s;
}
.cx-ab-pill:hover { border-color: var(--cx-line-2); background: rgba(255,255,255,0.07); }
.cx-ab-pill strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #fff 0%, #8e8e93 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 4px;
}
.cx-ab-pill span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cx-fg-mute); }

/* ── card grid ── */
.cx-ab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}
.cx-ab-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    padding: 32px 32px 28px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--cx-easing), box-shadow 0.35s;
    position: relative;
    overflow: hidden;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'Gill Sans', sans-serif;
    box-shadow: 0 0 0 1px rgba(10,132,255,0.14), 0 0 22px rgba(10,132,255,0.08), 0 4px 28px rgba(0,0,0,0.32);
}
.cx-ab-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.045), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.cx-ab-card:hover { border-color: rgba(10,132,255,0.55); background: rgba(255,255,255,0.05); transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(10,132,255,0.45), 0 0 32px rgba(10,132,255,0.22), 0 0 60px rgba(191,90,242,0.1), 0 8px 36px rgba(0,0,0,0.4); }
.cx-ab-card:hover::before { opacity: 1; }
.cx-ab-card__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--cx-line);
    margin-bottom: 18px;
}
.cx-ab-card__icon svg { width: 20px; height: 20px; stroke: var(--cx-fg-dim); fill: none; stroke-width: 1.6; }
.cx-ab-card__title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--cx-fg);
    margin: 0 0 18px;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'Gill Sans', sans-serif;
}
.cx-ab-card__sub {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cx-fg-mute);
    margin: 0 0 8px;
}
.cx-ab-card__note {
    font-size: 11px;
    line-height: 1.6;
    color: var(--cx-fg-mute);
    margin: 14px 0 0;
    font-style: italic;
}

/* ── tag chips ── */
.cx-ab-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.cx-ab-tag {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 7px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: var(--cx-fg-dim);
    line-height: 1.45;
    white-space: nowrap;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, 'Gill Sans', sans-serif;
    transition: background 0.2s, color 0.2s;
}
.cx-ab-tag:hover { background: rgba(255,255,255,0.11); color: var(--cx-fg); }

/* ── responsive ── */
@media (max-width: 820px) {
    .cx-ab-hero {
        grid-template-columns: 1fr;
    }
    .cx-ab-hero__pills {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
    .cx-ab-pill { flex: 1 1 130px; }
}
@media (max-width: 540px) {
    .cx-ab-grid { grid-template-columns: 1fr; }
    .cx-ab-tag { white-space: normal; }
}

/* =================================================================
   RGB LED Border Signal  –  fires once after all 4 pin-cards scroll
   ================================================================= */
#cx-led-ring {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999992;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#cx-led-ring.cx-led--on { opacity: 1; }

/* 4 edge strips */
.cx-led-e {
    position: absolute;
    overflow: hidden;
}
.cx-led-e--t { top: 0;    left: 0;  right: 0;  height: 4px; }
.cx-led-e--r { top: 0;    right: 0; bottom: 0; width:  4px; }
.cx-led-e--b { bottom: 0; left: 0;  right: 0;  height: 4px; }
.cx-led-e--l { top: 0;    left: 0;  bottom: 0; width:  4px; }

/* ── Comet pseudo-element ── */
.cx-led-e::after {
    content: '';
    position: absolute;
    border-radius: 4px;
    will-change: transform, opacity;
}

/* Top: left → right */
.cx-led-e--t::after {
    height: 100%; width: 260px;
    top: 0; left: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,  0, 80, 0.45) 12%,
        rgba(255,180,  0, 0.90) 32%,
        #ffffff                 50%,
        rgba(  0,220,120, 0.90) 68%,
        rgba(  0,130,255, 0.45) 88%,
        transparent 100%
    );
    box-shadow:
        0 0 10px  3px rgba(255,255,255,0.75),
        0 0 22px  9px rgba(80, 120,255,0.50);
    animation: cxLedTop 0.70s cubic-bezier(0.2,0,0.8,1) 0s 1 both;
}

/* Right: top → bottom */
.cx-led-e--r::after {
    width: 100%; height: 260px;
    left: 0; top: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(  0,220,120, 0.45) 12%,
        rgba(  0,130,255, 0.90) 32%,
        #ffffff                 50%,
        rgba(191, 90,242, 0.90) 68%,
        rgba(255,  0, 80, 0.45) 88%,
        transparent 100%
    );
    box-shadow:
        0 0 10px  3px rgba(255,255,255,0.75),
        0 0 22px  9px rgba(191,90,242,0.50);
    animation: cxLedRight 0.70s cubic-bezier(0.2,0,0.8,1) 0.65s 1 both;
}

/* Bottom: right → left */
.cx-led-e--b::after {
    height: 100%; width: 260px;
    top: 0; right: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(  0,130,255, 0.45) 12%,
        rgba(191, 90,242, 0.90) 32%,
        #ffffff                 50%,
        rgba(255, 80,  0, 0.90) 68%,
        rgba(255,200,  0, 0.45) 88%,
        transparent 100%
    );
    box-shadow:
        0 0 10px  3px rgba(255,255,255,0.75),
        0 0 22px  9px rgba(255,80,0,0.50);
    animation: cxLedBottom 0.70s cubic-bezier(0.2,0,0.8,1) 1.30s 1 both;
}

/* Left: bottom → top */
.cx-led-e--l::after {
    width: 100%; height: 260px;
    right: 0; bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 80,  0, 0.45) 12%,
        rgba(255,200,  0, 0.90) 32%,
        #ffffff                 50%,
        rgba(255,  0, 80, 0.90) 68%,
        rgba(  0,220,120, 0.45) 88%,
        transparent 100%
    );
    box-shadow:
        0 0 10px  3px rgba(255,255,255,0.75),
        0 0 22px  9px rgba(255,200,0,0.50);
    animation: cxLedLeft 0.70s cubic-bezier(0.2,0,0.8,1) 1.95s 1 both;
}

@keyframes cxLedTop {
    from { transform: translateX(-260px); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    to   { transform: translateX(100vw);  opacity: 0; }
}
@keyframes cxLedRight {
    from { transform: translateY(-260px); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    to   { transform: translateY(100vh);  opacity: 0; }
}
@keyframes cxLedBottom {
    from { transform: translateX(260px);  opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    to   { transform: translateX(-100vw); opacity: 0; }
}
@keyframes cxLedLeft {
    from { transform: translateY(260px);  opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    to   { transform: translateY(-100vh); opacity: 0; }
}

