    * { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body { font-family: 'DM Sans', sans-serif; background: #050606; color: #d5d5d5; overflow-x: hidden; line-height: 1.6; }

    /* ── CURSOR ── */
    #cur { position: fixed; width: 7px; height: 7px; background: #cff782; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.15s, background 0.15s; opacity: 0; }
    #cur-ring { position: fixed; width: 30px; height: 30px; border: 1.5px solid #cff782; border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width 0.25s, height 0.25s, border-radius 0.25s, border-color 0.25s; opacity: 0; }
    body.cur-hover #cur { background: #fff; transform: translate(-50%,-50%) scale(1.4); }
    body.cur-hover #cur-ring { width: 40px; height: 40px; border-radius: 4px; border-color: #fff; }

    /* ── NAV ── */
    nav { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 3rem; background: rgba(5,6,6,0.9); backdrop-filter: blur(14px); z-index: 100; border-bottom: 1px solid rgba(207,247,130,0.07); }
    .nav-logo { font-family: 'Syne', sans-serif; font-size: 1.35rem; font-weight: 600; color: #cff782; text-decoration: none; letter-spacing: 0.5px; }
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a { color: #444; text-decoration: none; font-family: 'DM Mono', monospace; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; transition: color 0.25s; }
    .nav-links a:hover, .nav-links a.active { color: #cff782; }
    .nav-dropdown { position: relative; }
    .nav-dropdown-toggle { cursor: pointer; }
    .nav-dropdown-toggle::after { content: '▾'; margin-left: 0.4rem; font-size: 0.85em; opacity: 0.55; }
    .nav-dropdown-menu { position: absolute; top: 100%; left: -1rem; margin-top: 0.9rem; min-width: 256px; list-style: none; background: rgba(8,10,10,0.97); backdrop-filter: blur(14px); border: 1px solid rgba(207,247,130,0.15); padding: 0.4rem 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.22s, transform 0.22s; z-index: 200; }
    .nav-dropdown-menu::before { content: ''; position: absolute; top: -1rem; left: 0; right: 0; height: 1rem; }
    .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-dropdown-menu a { display: block; padding: 0.6rem 1.2rem; color: #8a8a8a; font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.4px; text-transform: none; white-space: nowrap; transition: color 0.2s, background 0.2s; }
    .nav-dropdown-menu a:hover { color: #cff782; background: rgba(207,247,130,0.06); }
    .nav-meta { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: #2e2e2e; display: flex; align-items: center; gap: 0.5rem; }
    .nav-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #4caf70; box-shadow: 0 0 6px rgba(76,175,112,0.6); animation: pulse-green 2.5s ease-in-out infinite; flex-shrink: 0; }
    .nav-avail { color: #4caf70; }
    @keyframes pulse-green { 0%,100%{box-shadow:0 0 5px rgba(76,175,112,0.4);} 50%{box-shadow:0 0 12px rgba(76,175,112,0.75);} }
    .nav-right { display: flex; align-items: center; gap: 1.5rem; }

    /* ── HERO ── */
    #hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
    #three-canvas { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; display: block; }
    #three-glow { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; display: block; mix-blend-mode: screen; opacity: 0.45; pointer-events: none; z-index: 3; mask-image: radial-gradient(ellipse 90% 85% at center, transparent 30%, white 70%); -webkit-mask-image: radial-gradient(ellipse 90% 85% at center, transparent 30%, white 70%); }
    .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(207,247,130,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(207,247,130,0.15) 1px, transparent 1px); background-size: 52px 52px; pointer-events: none; z-index: 1; mask-image: radial-gradient(ellipse 90% 85% at center, transparent 30%, black 100%); -webkit-mask-image: radial-gradient(ellipse 90% 85% at center, transparent 30%, black 100%); }
    .hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at center, rgba(5,6,6,0.35) 0%, rgba(5,6,6,0.72) 100%); pointer-events: none; z-index: 2; }
    .hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 840px; width: 100%; pointer-events: none; }
    .hero-eyebrow { font-family: 'DM Mono', monospace; font-size: 1rem; color: #b0b0b0; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
    .hero-eyebrow-prefix { color: #cff782; }
    .hero-h1 { font-family: 'Archivo Black', sans-serif; font-size: 5.8rem; font-weight: 400; line-height: 0.92; margin-top: 1.8rem; margin-bottom: 2.2rem; color: #fff; letter-spacing: 0.01em; pointer-events: auto; text-box: trim-both cap alphabetic; }
    .hero-h1 em { font-style: normal; color: #cff782; }
    .flip-word { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; cursor: default; line-height: 0.92; }
    .flip-word .flip-top, .flip-word .flip-bot { display: flex; }
    .flip-word .flip-bot { position: absolute; inset: 0; }
    .flip-word .flip-top span, .flip-word .flip-bot span { display: inline-block; transition: transform 0.48s cubic-bezier(0.76,0,0.24,1); }
    .flip-word .flip-bot span { transform: translateY(110%); }
    .flip-word:hover .flip-top span { transform: translateY(-110%); }
    .flip-word:hover .flip-bot span { transform: translateY(0); }
    .hero-tagline { font-family: 'DM Mono', monospace; font-size: 0.8rem; color: #666; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 1.3rem; width: 100%; text-align: center; }
    .hero-socials { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.8rem; pointer-events: auto; }
    .hero-social-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(207,247,130,0.18); color: rgba(207,247,130,0.55); transition: all 0.25s; }
    .hero-social-link svg { width: 16px; height: 16px; }
    .hero-social-link:hover { background: #cff782; color: #050606; border-color: #cff782; }
    .hero-cv-btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 1.1rem; border: 1px solid rgba(207,247,130,0.45); color: rgba(207,247,130,0.85); font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; transition: all 0.25s; margin-top: 1.4rem; pointer-events: auto; }
    .hero-cv-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
    .hero-cv-btn:hover { background: #cff782; color: #050606; border-color: #cff782; }
    .scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; pointer-events: none; }
    .scroll-line { width: 1px; height: 2.2rem; background: linear-gradient(to bottom, transparent, rgba(207,247,130,0.35)); margin: 0 auto 0.5rem; animation: scroll-bob 2s ease-in-out infinite; }
    .scroll-hint span { display: block; font-family: 'DM Mono', monospace; font-size: 0.65rem; color: #333; letter-spacing: 2px; text-transform: uppercase; }
    @keyframes scroll-bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }

    /* ── HERO VIEWPORT FRAME + HUD ── */
    .hero-frame { position: absolute; inset: 4.6rem 2.5rem 2.5rem; z-index: 5; pointer-events: none; }
    .hero-corner { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(207,247,130,0.45); }
    .hero-corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
    .hero-corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
    .hero-corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
    .hero-corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
    .hero-hud { position: absolute; z-index: 6; pointer-events: none; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(207,247,130,0.5); display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
    .hud-tl { top: 5.5rem; left: 3.5rem; }
    .hud-tl::before { content: ''; width: 5px; height: 5px; background: rgba(207,247,130,0.65); box-shadow: 0 0 6px rgba(207,247,130,0.5); }
    .hud-tr { top: 5.5rem; right: 3.5rem; }
    .hud-br { bottom: 3.5rem; right: 3.5rem; }
    .hero-hud .hud-val { color: rgba(207,247,130,0.85); }
    .hero-underline { width: 220px; height: 2px; margin: 0 auto 0; transform: scaleX(0); background: linear-gradient(90deg, transparent, #cff782, transparent); }

    /* ── TYPEWRITER CURSOR ── */
    @keyframes cursor-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
    .tw-cursor { display:inline-block; width:2px; height:0.85em; background:#cff782; margin-left:4px; vertical-align:middle; animation:cursor-blink 0.75s ease infinite; }

    /* ── SECTION COMMON ── */
    section { position: relative; }
    .section-inner { max-width: 1200px; margin: 0 auto; padding: 6rem 3rem; width: 100%; }
    .sec-label-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.6rem; }
    .sec-num { font-family: 'DM Mono', monospace; font-size: 0.74rem; color: rgba(207,247,130,0.25); letter-spacing: 3px; }
    .s-label { font-family: 'DM Mono', monospace; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(207,247,130,0.55); }
    .skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: #cff782; color: #050606; padding: 0.6rem 1rem; font-family: 'DM Mono', monospace; font-size: 0.8rem; text-decoration: none; }
    .skip-link:focus { left: 0.6rem; top: 0.6rem; }
    h2 { font-family: 'Syne', sans-serif; font-size: 3.2rem; font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 2.5rem; }
    h2 em { font-style: normal; color: #cff782; }

    /* ── ABOUT ── */
    .about-layout { display: grid; grid-template-columns: 1fr 300px; gap: 5rem; align-items: stretch; }
    .about-layout > div:last-child { display: flex; flex-direction: column; }
    .about-layout > div:last-child .stats-row { margin-top: auto; padding-top: 1.5rem; }
    .about-portrait-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; }
    .about-portrait-circle { width: 190px; height: 190px; border-radius: 50%; position: relative; overflow: hidden; border: 2px solid rgba(207,247,130,0.65); box-shadow: 0 0 0 6px rgba(207,247,130,0.08), 0 0 24px rgba(207,247,130,0.12); flex-shrink: 0; will-change: transform; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
    img, a { -webkit-user-drag: none; user-select: none; }
    .about-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; filter: grayscale(15%) contrast(1.05); display: block; transition: transform 0.5s ease; }
    .about-portrait-circle:hover { border-color: rgba(207,247,130,0.9); box-shadow: 0 0 0 6px rgba(207,247,130,0.12), 0 0 30px rgba(207,247,130,0.22); }
    .about-portrait-circle:hover .about-portrait { transform: scale(1.06); }
    .about-portrait-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: rgba(207,247,130,0.3); letter-spacing: 2px; text-transform: uppercase; margin-top: 0.8rem; text-align: center; }
    .about-bio-text { color: #aaa; line-height: 1.9; font-size: 1rem; margin-bottom: 1.2rem; }
    .about-bio-text strong { color: #cff782; font-weight: 500; }
    .about-callout { margin: 1.8rem 0; padding: 1rem 1.2rem; background: rgba(207,247,130,0.03); border: 1px solid rgba(207,247,130,0.1); border-left: 2px solid rgba(207,247,130,0.4); display: flex; flex-direction: column; gap: 0.25rem; }
    .about-callout-label { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: rgba(207,247,130,0.5); letter-spacing: 2px; text-transform: uppercase; }
    .about-callout-val { font-size: 0.95rem; color: #bbb; }
    .about-cv-btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.6rem 1.2rem; border: 1px solid rgba(207,247,130,0.3); color: rgba(207,247,130,0.75); font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; transition: all 0.25s; margin-top: 1.5rem; }
    .about-cv-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
    .about-cv-btn:hover { background: rgba(207,247,130,0.08); border-color: rgba(207,247,130,0.6); color: #cff782; }

    /* STATS */
    .stats-row { display: flex; flex-direction: column; gap: 0; margin-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.05); }
    .stat-item { display: flex; align-items: baseline; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .stat-n { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 600; color: rgba(207,247,130,0.7); line-height: 1; }
    .stat-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: #444; text-transform: uppercase; letter-spacing: 1px; }
    /* SKILLS */
    .skills-section { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.06); }
    .skills-section-label { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: rgba(207,247,130,0.4); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 2rem; }
    .skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .skill-cat { position: relative; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); padding: 1.5rem; transition: border-color 0.3s; will-change: transform; }
    .skill-cat:hover { border-color: rgba(207,247,130,0.18); }
    .skill-cat-title { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: #cff782; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(207,247,130,0.2); display: flex; align-items: center; gap: 0.4rem; }
    .skill-cat-title::before { content: '//'; color: rgba(207,247,130,0.4); font-size: 0.65rem; }
    .skills-wrap { display: flex; flex-wrap: wrap; gap: 0.45rem; }
    .skill { font-family: 'DM Mono', monospace; font-size: 0.8rem; padding: 0.35rem 0.8rem; border: 1px solid rgba(255,255,255,0.12); color: #ccc; background: rgba(255,255,255,0.03); transition: all 0.2s; letter-spacing: 0.2px; }
    .skill:hover { border-color: rgba(207,247,130,0.4); color: #cff782; background: rgba(207,247,130,0.06); }

    /* ── PROJECTS ── */
    .proj-section-sub { font-family: 'DM Mono', monospace; font-size: 0.78rem; color: #2e2e2e; margin-top: -1.5rem; margin-bottom: 2.5rem; letter-spacing: 1px; }
    .proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
    .proj-card { background: rgba(7,7,12,0.7); border: 1px solid rgba(255,255,255,0.04); transition: border-color 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94); position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transform-style: preserve-3d; will-change: transform; }
    .proj-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(207,247,130,0.05), transparent 65%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
    .proj-card:hover { border-color: rgba(207,247,130,0.28); box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 30px rgba(207,247,130,0.04); }
    .proj-card:hover::after { opacity: 1; }
    .proj-thumb { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #050606; flex-shrink: 0; }
    .proj-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.6s ease; }
    .proj-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(5,6,6,0.7) 100%); pointer-events: none; }
    .proj-card:hover .proj-thumb img { transform: scale(1.06); }
    .proj-nda-bg { background: #06070a; background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(207,247,130,0.025) 3px, rgba(207,247,130,0.025) 4px); }
    .proj-nda-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
    .proj-nda-corner { position: absolute; width: 14px; height: 14px; border-color: rgba(207,247,130,0.25); border-style: solid; }
    .proj-nda-corner.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
    .proj-nda-corner.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
    .proj-nda-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
    .proj-nda-corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
    .proj-nda-ring { position: relative; width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(207,247,130,0.2); display: flex; align-items: center; justify-content: center; }
    .proj-nda-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(207,247,130,0.08); }
    .proj-nda-label { font-family: 'Syne', sans-serif; font-size: 1.55rem; font-weight: 700; letter-spacing: 6px; color: rgba(207,247,130,0.28); line-height: 1; }
    .proj-nda-text { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 3px; color: rgba(207,247,130,0.22); text-transform: uppercase; }
    .proj-year { color: #2a2a2a; }
    .proj-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem 0.3rem; }
    .proj-num { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: rgba(207,247,130,0.45); letter-spacing: 2px; }
    .proj-plats { display: flex; gap: 0.25rem; flex-wrap: wrap; }
    .proj-plat { font-family: 'DM Mono', monospace; font-size: 0.64rem; color: #777; border: 1px solid rgba(255,255,255,0.12); padding: 0.1rem 0.42rem; letter-spacing: 0.3px; }
    .proj-body { padding: 0 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
    .proj-engine { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }
    .proj-role-tag { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: rgba(207,247,130,0.75); margin-top: 0.15rem; }
    .proj-title { font-family: 'Syne', sans-serif; font-size: 1.5rem; margin: 0.55rem 0 0.5rem; color: #fff; line-height: 1.2; }
    .proj-desc { font-size: 0.88rem; color: #999; line-height: 1.75; margin-bottom: 0.8rem; flex: 1; }
    .proj-footer { display: flex; flex-direction: column; align-items: stretch; gap: 0.7rem; margin-top: auto; padding-top: 0.7rem; border-top: 1px solid rgba(255,255,255,0.08); }
    .proj-footer .proj-arrow { text-align: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 0.7rem; }
    .proj-tags { display: flex; flex-wrap: wrap; gap: 0.22rem; }
    .proj-tag { font-family: 'DM Mono', monospace; font-size: 0.65rem; background: rgba(207,247,130,0.06); color: rgba(207,247,130,0.65); padding: 0.15rem 0.5rem; border: 1px solid rgba(207,247,130,0.18); }
    .proj-arrow { color: rgba(207,247,130,0.5); font-family: 'DM Mono', monospace; font-size: 0.64rem; letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.3s; flex-shrink: 0; font-style: normal; white-space: nowrap; }
    .proj-card:hover .proj-arrow { color: #cff782; letter-spacing: 2.5px; }
    .proj-view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(5,6,6,0.6); font-family: 'DM Mono', monospace; font-size: 0.74rem; letter-spacing: 2.5px; text-transform: uppercase; color: #cff782; opacity: 0; transition: opacity 0.3s; z-index: 2; pointer-events: none; }
    .proj-card:hover .proj-view { opacity: 1; }
    .proj-thumb img.proj-logo { position: absolute; right: 0.8rem; bottom: 0.8rem; width: clamp(84px, 32%, 118px); height: auto; object-fit: contain; z-index: 1; opacity: 0.92; pointer-events: none; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.65)); transition: opacity 0.3s; }
    .proj-card:hover .proj-thumb img.proj-logo { transform: none; opacity: 0.3; }
    /* ── SIDE PROJECTS CAROUSEL ── */
    .mc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.4rem; }
    .mc-head h2 { margin: 0; }
    .mc-arrows { display: flex; gap: 8px; flex-shrink: 0; }
    .mc-nav { width: 40px; height: 40px; border: 1px solid rgba(207,247,130,0.3); background: transparent; color: #cff782; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s, color 0.2s; }
    .mc-nav:hover { background: #cff782; color: #050606; border-color: #cff782; }
    .mc-viewport { display: flex; gap: 16px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 22px 18px; margin: -22px -18px; scroll-padding-left: 18px; }
    .mc-viewport::-webkit-scrollbar { display: none; }
    .mc-card { flex: 0 0 280px; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; background: rgba(7,7,12,0.7); border: 1px solid rgba(255,255,255,0.05); transition: border-color 0.35s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.35s cubic-bezier(0.25,0.46,0.45,0.94); overflow: hidden; transform-style: preserve-3d; will-change: transform; }
    .mc-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(207,247,130,0.05), transparent 65%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
    .mc-card:hover { border-color: rgba(207,247,130,0.28); box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 22px rgba(207,247,130,0.04); }
    .mc-card:hover::after { opacity: 1; }
    .mc-img { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg,#0c0e10,#15181b); display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .mc-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
    .mc-card:hover .mc-photo { transform: scale(1.06); }
    .proj-card::before, .mc-card::before, .contact-item::before, .skill-cat::before, .about-portrait-circle::before { content: ''; position: absolute; inset: 0; padding: 2px; border-radius: inherit; background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(207,247,130,0.9), transparent 70%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 3; }
    .about-portrait-circle::before { background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(207,247,130,0.95), transparent 70%); }
    .proj-card:hover::before, .mc-card:hover::before, .contact-item:hover::before, .skill-cat:hover::before, .about-portrait-circle:hover::before { opacity: 1; }
    .contact-item::after, .skill-cat::after { content: ''; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(207,247,130,0.04), transparent 65%); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
    .contact-item:hover::after, .skill-cat:hover::after { opacity: 1; }
    .mc-ph { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 2px; text-transform: uppercase; color: #3a3d40; }
    .mc-img .mc-logo { position: absolute; right: 0.55rem; bottom: 0.55rem; width: clamp(64px, 30%, 88px); height: auto; object-fit: contain; z-index: 1; opacity: 0.92; pointer-events: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.65)); }
    .mc-img .mc-logo-kh { width: clamp(68px, 32%, 92px); }
    .mc-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
    .mc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
    .mc-idx { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: #cff782; letter-spacing: 1px; }
    .mc-tags { font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: 1.5px; text-transform: uppercase; color: #6a6a6a; }
    .mc-title { font-family: 'Syne', sans-serif; font-size: 0.98rem; font-weight: 600; color: #e8e8e8; margin: 0 0 0.45rem; line-height: 1.25; }
    .mc-desc { font-family: 'DM Sans', sans-serif; font-size: 0.76rem; line-height: 1.5; color: #9a9a9a; margin: 0 0 0.8rem; }
    .mc-link { display: block; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; font-family: 'DM Mono', monospace; font-size: 0.64rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(207,247,130,0.5); transition: color 0.25s, letter-spacing 0.25s; }
    .mc-card:hover .mc-link { color: #cff782; letter-spacing: 2.5px; }
    .mc-hit { position: absolute; inset: 0; z-index: 4; }
    @media (max-width: 640px) { .mc-card { flex: 0 0 78%; } }

    /* ── EXPERIENCE TIMELINE ── */
    .exp-timeline { position: relative; max-width: 820px; margin: 0 auto; }
    .exp-timeline::before { content: ''; position: absolute; left: 140px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(207,247,130,0.2) 5%, rgba(207,247,130,0.2) 95%, transparent); }
    .exp-item { display: grid; grid-template-columns: 140px 1fr; gap: 0 2.5rem; padding: 0 0 3rem 0; position: relative; }
    .exp-item:last-child { padding-bottom: 0; }
    .exp-item::after { content: ''; position: absolute; left: 140px; top: 6px; width: 7px; height: 7px; background: rgba(207,247,130,0.4); border: 1px solid rgba(207,247,130,0.6); transform: translateX(-50%) rotate(45deg); transition: background 0.3s; }
    .exp-item:hover::after { background: #cff782; }
    .exp-left { text-align: right; padding-top: 0.1rem; padding-right: 1.1rem; }
    .exp-dates { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: rgba(207,247,130,0.45); letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.6; }
    .exp-right { padding-left: 0; }
    .exp-company { font-family: 'Syne', sans-serif; font-size: 1.25rem; color: #fff; line-height: 1.2; margin-bottom: 0.2rem; }
    .exp-role { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: rgba(207,247,130,0.65); letter-spacing: 1px; margin-bottom: 0.75rem; }
    .exp-desc { font-size: 0.88rem; color: #888; line-height: 1.75; }
    .exp-awards { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.8rem; }
    .exp-award { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.5px; color: rgba(207,247,130,0.75); }
    .exp-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.9rem; }
    .exp-tag { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: #555; border: 1px solid rgba(255,255,255,0.07); padding: 0.15rem 0.5rem; }
    .exp-timeline.exp-edu { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
    .exp-timeline.exp-edu::before { top: 3.5rem; }

    /* ── CONTACT ── */
    .contact-intro { font-size: 1rem; color: #666; line-height: 1.9; max-width: 560px; margin-bottom: 2rem; }
    .avail-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.1rem; border: 1px solid rgba(76,175,112,0.2); background: rgba(76,175,112,0.04); margin-bottom: 2.5rem; }
    .avail-dot { width: 6px; height: 6px; border-radius: 50%; background: #4caf70; box-shadow: 0 0 7px rgba(76,175,112,0.5); animation: pulse-green 2.5s ease-in-out infinite; flex-shrink: 0; }
    .avail-text { font-family: 'DM Mono', monospace; font-size: 0.78rem; color: #4caf70; letter-spacing: 1px; }
    .contact-items { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.7rem; }
    .contact-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border: 1px solid rgba(207,247,130,0.07); text-decoration: none; color: inherit; transition: all 0.25s; position: relative; will-change: transform; transform-style: preserve-3d; }
    .contact-item:hover { border-color: rgba(207,247,130,0.28); background: rgba(207,247,130,0.025); }
    .contact-item-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(207,247,130,0.14); color: rgba(207,247,130,0.7); flex-shrink: 0; transition: all 0.25s; }
    .contact-item-icon svg { width: 16px; height: 16px; }
    .contact-item:hover .contact-item-icon { background: rgba(207,247,130,0.08); border-color: rgba(207,247,130,0.3); color: #cff782; }
    .contact-item-label { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: #3a3a3a; text-transform: uppercase; letter-spacing: 1.5px; }
    .contact-item-val { font-size: 0.93rem; color: #999; margin-top: 0.1rem; }

    /* ── FOOTER ── */
    footer { padding: 4rem 3rem 2.5rem; border-top: 1px solid rgba(207,247,130,0.1); }
    .foot-inner { max-width: 1200px; margin: 0 auto; }
    .foot-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; margin-bottom: 3rem; }
    .foot-tagline { font-family: 'Syne', sans-serif; font-size: 1.75rem; font-weight: 600; color: #fff; line-height: 1.2; }
    .foot-tagline em { font-style: normal; color: #cff782; }
    .foot-links { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-end; }
    .foot-link { display: flex; align-items: center; gap: 0.5rem; font-family: 'DM Mono', monospace; font-size: 0.72rem; color: #444; text-decoration: none; letter-spacing: 1px; transition: color 0.2s; }
    .foot-link svg { width: 13px; height: 13px; opacity: 0.5; }
    .foot-link:hover { color: #cff782; }
    .foot-cv-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border: 1px solid rgba(207,247,130,0.3); color: rgba(207,247,130,0.75); font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; transition: all 0.25s; margin-top: 0.6rem; }
    .foot-cv-btn svg { width: 13px; height: 13px; }
    .foot-cv-btn:hover { background: rgba(207,247,130,0.08); border-color: rgba(207,247,130,0.6); color: #cff782; }
    .foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.04); }
    .foot-copy { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: #2a2a2a; }
    .foot-right { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: #222; }

    /* ── RESPONSIVE ── */
    @media (max-width: 1024px) {
      .about-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 900px) {
      .proj-grid { grid-template-columns: 1fr 1fr; }
    }
    /* ── SCROLL SIDEBAR ── */
    #scroll-sidebar { position: fixed; right: 1.5rem; top: 50%; transform: translateY(-50%); z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
    #scroll-sidebar .lat-item { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; pointer-events: auto; }
    #scroll-sidebar .lat-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; color: #333; letter-spacing: 1px; text-transform: uppercase; transition: color 0.2s; text-align: right; white-space: nowrap; }
    #scroll-sidebar .lat-item:hover .lat-label { color: #888; }
    #scroll-sidebar .lat-item.active .lat-label { color: #cff782; }
    #scroll-sidebar .lat-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.15); transition: all 0.3s; flex-shrink: 0; }
    #scroll-sidebar .lat-item.active .lat-dot { background: #cff782; transform: scale(1.6); }
    #scroll-sidebar .lat-item:hover .lat-dot { background: rgba(207,247,130,0.5); }
    #scroll-sidebar .lat-line { width: 1px; height: 14px; background: rgba(255,255,255,0.06); margin-left: auto; margin-right: 1.5px; }
    /* ── SCROLL HUD ── */
    #scroll-hud { position: fixed; bottom: 2.2rem; right: 2.5rem; z-index: 50; pointer-events: none; font-family: 'DM Mono', monospace; font-size: 0.58rem; color: rgba(207,247,130,0.38); letter-spacing: 2px; text-transform: uppercase; display: flex; flex-direction: column; align-items: flex-end; gap: 0.28rem; opacity: 0; transition: opacity 0.6s; }
    #scroll-hud .hud-row { display: flex; align-items: center; gap: 0.7rem; }
    #scroll-hud .hud-val { color: rgba(207,247,130,0.75); }
    #scroll-hud .hud-sep { width: 28px; height: 1px; background: rgba(207,247,130,0.12); margin: 0.1rem 0; }
    @media (max-width: 1024px) { #scroll-sidebar, #scroll-hud { display: none; } }

    @media (max-width: 768px) {
      nav { padding: 0.85rem 1.2rem; gap: 0.7rem; flex-wrap: wrap; }
      .nav-logo { font-size: 1.05rem; }
      .nav-links { order: 3; width: 100%; gap: 1.4rem; justify-content: center; }
      .nav-links a { font-size: 0.66rem; }
      .nav-right { gap: 0.8rem; }
      .nav-meta { display: none; }
      .section-inner { padding: 4rem 1.5rem; }
      h2 { font-size: 2.8rem; }
      .hero-h1 { font-size: 3rem; letter-spacing: 0.02em; }
      .hero-eyebrow { font-size: 0.66rem; letter-spacing: 1.2px; gap: 0.45rem; }
      .hero-eyebrow-text { white-space: nowrap; }
      .proj-grid { grid-template-columns: 1fr; }
      .skills-grid { grid-template-columns: 1fr 1fr; }
      .contact-items { grid-template-columns: 1fr; }
      .stats-row { grid-template-columns: 1fr 1fr; }
      footer { padding: 3rem 1.5rem 2rem; }
      .foot-top { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 2rem; }
      .foot-tagline { font-size: 1.5rem; }
      .foot-links { align-items: flex-start; }
      .foot-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
      .hero-frame { inset: 4.2rem 1.2rem 1.5rem; }
      .hero-hud { display: none; }
    }
  /* Móvil/táctil: ocultar cursor personalizado */
  @media (hover: none) {
    * { cursor: auto !important; }
    #cur, #cur-ring { display: none !important; }
  }
  html.is-touch * { cursor: auto !important; }
  html.is-touch #cur, html.is-touch #cur-ring { display: none !important; }
    /* Respeta "reducir movimiento" del sistema */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
      html { scroll-behavior: auto !important; }
    }

    /* ── PLAY (tres en raya, IA perfecta) ── */
    #play .play-sub { color: #999; font-size: 1rem; max-width: 640px; line-height: 1.8; margin-bottom: 2.2rem; }
    .ttt-shell { display: flex; flex-direction: column; align-items: center; }
    #play [hidden] { display: none !important; }
    .ttt-stage { position: relative; width: min(340px, 82vw); aspect-ratio: 1; }
    .ttt-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; height: 100%; }
    .ttt-cell { aspect-ratio: 1; border: 1px solid rgba(207,247,130,0.25); background: rgba(207,247,130,0.02); color: #cff782; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background 0.15s, border-color 0.15s; }
    .ttt-cell:not(:disabled):hover { background: rgba(207,247,130,0.09); border-color: rgba(207,247,130,0.5); }
    .ttt-cell.x { color: #cff782; }
    .ttt-cell.o { color: #e6e6e6; }
    .ttt-cell.win { background: rgba(207,247,130,0.2); border-color: #cff782; }
    .ttt-bar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 1.4rem; }
    .ttt-status { display: block; margin-top: 0.7rem; font-family: 'DM Mono', monospace; font-size: 0.78rem; color: #bbb; letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ttt-reset { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(207,247,130,0.85); background: none; border: 1px solid rgba(207,247,130,0.4); padding: 0.5rem 1rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
    .ttt-reset:not(:disabled):hover { background: #cff782; color: #050606; border-color: #cff782; }
    .ttt-metrics { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 1.6rem; min-width: 150px; padding-left: 1.3rem; border-left: 1px solid rgba(207,247,130,0.18); font-family: 'DM Mono', monospace; font-size: 0.8rem; }
    .ttt-m-row { display: flex; justify-content: space-between; gap: 1.4rem; color: #888; margin-bottom: 0.5rem; white-space: nowrap; }
    .ttt-m-row.total { color: #bbb; }
    .ttt-m-row span:last-child { color: #cff782; }
    .ttt-m-sep { height: 1px; background: rgba(207,247,130,0.18); margin: 0.65rem 0; }
    .ttt-choose { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; background: rgba(5,6,6,0.78); }
    .ttt-choose-label { font-family: 'DM Mono', monospace; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: #888; }
    .ttt-choose-btns { display: flex; gap: 1rem; }
    .ttt-pick { width: 92px; height: 92px; border: 1px solid rgba(207,247,130,0.3); background: rgba(207,247,130,0.02); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2.8rem; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background 0.15s, border-color 0.15s, transform 0.1s; }
    .ttt-pick.x { color: #cff782; }
    .ttt-pick.o { color: #e6e6e6; }
    .ttt-pick:hover { background: rgba(207,247,130,0.1); border-color: rgba(207,247,130,0.6); }
    .ttt-pick:active { transform: scale(0.96); }
    .ttt-choose-hint { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; color: #555; }
    .ttt-start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(5,6,6,0.82); z-index: 5; }
    .ttt-play-btn { font-family: 'DM Mono', monospace; font-size: 0.95rem; letter-spacing: 4px; text-transform: uppercase; color: #cff782; background: rgba(207,247,130,0.05); border: 1px solid rgba(207,247,130,0.5); padding: 1rem 2.8rem; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
    .ttt-play-btn:hover { background: #cff782; color: #050606; box-shadow: 0 0 28px rgba(207,247,130,0.35); }
    .ttt-change { position: absolute; right: 0; transform: translateX(calc(100% + 0.6rem)); font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: #666; background: none; border: none; padding: 0.5rem; transition: color 0.2s; }
    .ttt-change:not(:disabled):hover { color: #cff782; }
    .ttt-bar.off, .ttt-metrics.off { opacity: 0.4; transition: opacity 0.2s; }
    .ttt-note { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: #555; line-height: 1.7; max-width: 540px; margin: 2rem auto 0; text-align: center; letter-spacing: 0.4px; }
    .ttt-result { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; padding: 1.4rem; background: rgba(5,6,6,0.92); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; z-index: 4; }
    .ttt-result.show { opacity: 1; visibility: visible; }
    .ttt-result-text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: 0.5px; color: #e6e6e6; }
    .ttt-result.draw .ttt-result-text, .ttt-result.win .ttt-result-text { color: #cff782; }
    .ttt-result-pill { margin: 0; max-width: 88%; font-family: 'DM Mono', monospace; font-size: 0.72rem; line-height: 1.6; letter-spacing: 0.3px; color: rgba(229,229,229,0.88); text-align: center; }
    .ttt-result-pill:empty { display: none; }
    @media (max-width: 720px) {
      .ttt-metrics { position: static; transform: none; margin: 1.4rem auto 0; max-width: 300px; padding: 1rem 0 0; border-left: none; border-top: 1px solid rgba(207,247,130,0.18); }
      .ttt-bar { flex-direction: column; gap: 0.7rem; }
      .ttt-change { position: static; transform: none; }
    }

/* extraído de atributos inline */
.u-plat-nda { color: rgba(207,247,130,0.3); border-color: rgba(207,247,130,0.12); }
