/* ════════════════════════════════
       RESET & CUSTOM PROPERTIES
    ════════════════════════════════ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:          #05060A;
      --surface:     #0E1016;
      --surface2:    #161820;
      --accent:      #C8F135;
      --accent-glow: rgba(200, 241, 53, 0.18);
      --text:        #F2EDE5;
      --muted:       #6B6A70;
      --border:      rgba(242, 237, 229, 0.08);
      --border-h:    rgba(200, 241, 53, 0.25);

      --f-display: 'Syne', sans-serif;
      --f-mono:    'JetBrains Mono', monospace;
      --f-body:    'Instrument Sans', sans-serif;

      --nav-h:   72px;
      --pad:     clamp(80px, 12vw, 140px);
      --wrap:    1280px;
      --gutter:  clamp(20px, 5vw, 80px);
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--f-body);
      font-size: 16px;
      line-height: 1.65;
      overflow-x: hidden;
      cursor: none;
    }

    /* ════════════════════════════════
       GRAIN TEXTURE
    ════════════════════════════════ */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 9990;
      pointer-events: none;
      opacity: 0.04;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 200px;
    }

    /* ════════════════════════════════
       CUSTOM CURSOR
    ════════════════════════════════ */
    #cur-dot, #cur-ring {
      position: fixed;
      border-radius: 50%;
      pointer-events: none;
      z-index: 9995;
      transform: translate(-50%, -50%);
    }
    #cur-dot {
      width: 8px;
      height: 8px;
      background: var(--accent);
      transition: width .15s, height .15s;
      mix-blend-mode: difference;
    }
    #cur-ring {
      width: 40px;
      height: 40px;
      border: 1.5px solid rgba(200, 241, 53, 0.5);
      transition: width .25s ease-out, height .25s ease-out, opacity .25s, border-color .25s;
    }
    body:has(a:hover) #cur-dot,
    body:has(button:hover) #cur-dot { width: 4px; height: 4px; }
    body:has(a:hover) #cur-ring,
    body:has(button:hover) #cur-ring { width: 56px; height: 56px; opacity: 0.3; }

    /* ════════════════════════════════
       ACCESSIBILITY
    ════════════════════════════════ */
    .skip-link {
      position: absolute;
      top: -120%;
      left: 16px;
      background: var(--accent);
      color: var(--bg);
      font-family: var(--f-mono);
      font-size: .8rem;
      font-weight: 600;
      padding: 8px 20px;
      border-radius: 0 0 6px 6px;
      z-index: 10000;
      transition: top .2s;
      text-decoration: none;
    }
    .skip-link:focus { top: 0; }

    /* ════════════════════════════════
       SCROLLBAR
    ════════════════════════════════ */
    ::-webkit-scrollbar { width: 3px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

    /* ════════════════════════════════
       UTILITIES
    ════════════════════════════════ */
    .wrap {
      max-width: var(--wrap);
      margin: 0 auto;
      padding: 0 var(--gutter);
    }

    .label {
      font-family: var(--f-mono);
      font-size: .7rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
    }

    /* ════════════════════════════════
       REVEAL ANIMATIONS
    ════════════════════════════════ */
    .rv {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity .75s cubic-bezier(.16,1,.3,1),
                  transform .75s cubic-bezier(.16,1,.3,1);
    }
    .rv.vis { opacity: 1; transform: none; }
    .rv[data-d="1"] { transition-delay: .1s; }
    .rv[data-d="2"] { transition-delay: .2s; }
    .rv[data-d="3"] { transition-delay: .3s; }
    .rv[data-d="4"] { transition-delay: .4s; }
    .rv[data-d="5"] { transition-delay: .5s; }

    /* ════════════════════════════════
       SCROLL PROGRESS BAR
    ════════════════════════════════ */
    #prog {
      position: fixed;
      top: 0; left: 0;
      height: 2px;
      background: var(--accent);
      z-index: 9980;
      transform-origin: left;
      transform: scaleX(0);
    }

    /* ════════════════════════════════
       NAV
    ════════════════════════════════ */
    #navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 500;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      transition: background .4s, backdrop-filter .4s, border-bottom .4s;
    }
    #navbar.stuck {
      background: rgba(5, 6, 10, .88);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 32px;
    }
    .nav-logo {
      font-family: var(--f-display);
      font-size: 1.4rem;
      font-weight: 800;
      letter-spacing: .06em;
      color: var(--text);
      text-decoration: none;
    }
    .nav-logo em { color: var(--accent); font-style: normal; }

    .nav-links {
      display: flex;
      gap: 40px;
      list-style: none;
    }
    .nav-links a {
      font-family: var(--f-mono);
      font-size: .78rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      position: relative;
      transition: color .2s;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      height: 1px;
      width: 0;
      background: var(--accent);
      transition: width .25s;
    }
    .nav-links a:hover { color: var(--text); }
    .nav-links a:hover::after { width: 100%; }

    .nav-right { display: flex; align-items: center; gap: 20px; }

    .lang-toggle {
      display: flex;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 3px;
      gap: 4px;
    }
    .lang-btn {
      font-family: var(--f-mono);
      font-size: .68rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
      background: none;
      border: none;
      padding: 4px 12px;
      border-radius: 100px;
      cursor: none;
      transition: all .2s;
    }
    .lang-btn.on {
      background: var(--accent);
      color: var(--bg);
      font-weight: 700;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--text);
      border-radius: 2px;
      transition: all .3s;
    }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* ════════════════════════════════
       MOBILE MENU OVERLAY
    ════════════════════════════════ */
    #mob-menu {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(5, 6, 10, .97);
      z-index: 490;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
    }
    #mob-menu.open { display: flex; }
    #mob-menu a {
      font-family: var(--f-display);
      font-size: clamp(2.5rem, 8vw, 4rem);
      font-weight: 800;
      color: var(--text);
      text-decoration: none;
      transition: color .2s;
    }
    #mob-menu a:hover { color: var(--accent); }

    /* ════════════════════════════════
       HERO
    ════════════════════════════════ */
    #hero {
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: calc(var(--nav-h) + 40px);
      padding-bottom: clamp(60px, 8vw, 100px);
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 72px 72px;
      mask-image: radial-gradient(ellipse 90% 70% at 50% 100%, transparent 20%, black 100%);
    }

    .hero-blob {
      position: absolute;
      width: 700px;
      height: 700px;
      top: -10%;
      right: -15%;
      background: radial-gradient(circle, rgba(200, 241, 53, .055) 0%, transparent 65%);
      pointer-events: none;
    }

    .hero-content { position: relative; z-index: 1; }

    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 28px;
    }
    .hero-eyebrow::before {
      content: '';
      width: 48px;
      height: 1px;
      background: var(--accent);
      flex-shrink: 0;
    }

    h1.hero-name {
      font-family: var(--f-display);
      font-weight: 800;
      font-size: clamp(3rem, 7vw, 7.5rem);
      line-height: .9;
      letter-spacing: -.025em;
      color: var(--text);
      margin-bottom: 36px;
    }
    h1.hero-name .lime { color: var(--accent); }

    .hero-desc {
      max-width: 540px;
      color: var(--muted);
      font-size: clamp(1rem, 1.4vw, 1.1rem);
      line-height: 1.75;
      margin-bottom: 52px;
    }

    .hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

    .btn-prime {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: var(--accent);
      color: var(--bg);
      font-family: var(--f-mono);
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 30px;
      border-radius: 100px;
      transition: transform .2s, box-shadow .2s;
    }
    .btn-prime:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 48px rgba(200, 241, 53, .22);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--text);
      font-family: var(--f-mono);
      font-size: .78rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 13px 28px;
      border: 1px solid var(--border);
      border-radius: 100px;
      transition: border-color .2s, color .2s;
    }
    .btn-ghost:hover { border-color: var(--border-h); color: var(--accent); }

    .scroll-hint {
      position: absolute;
      bottom: 32px;
      right: var(--gutter);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      opacity: .35;
    }
    .scroll-hint span {
      font-family: var(--f-mono);
      font-size: .6rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      writing-mode: vertical-rl;
    }
    .scroll-line {
      width: 1px;
      height: 64px;
      background: linear-gradient(to bottom, var(--text), transparent);
      animation: pulse 2.2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { opacity: .35; transform: scaleY(1); }
      50%        { opacity: .9;  transform: scaleY(.5); }
    }

    /* ════════════════════════════════
       SECTION SHARED
    ════════════════════════════════ */
    section {
      padding: var(--pad) 0;
      border-top: 1px solid var(--border);
    }

    .sec-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 72px;
      flex-wrap: wrap;
    }

    .sec-title {
      font-family: var(--f-display);
      font-size: clamp(2.6rem, 5.5vw, 5rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.025em;
    }

    /* ════════════════════════════════
       ABOUT
    ════════════════════════════════ */
    .about-grid {
      display: grid;
      grid-template-columns: 220px 1fr 1.15fr;
      gap: 56px;
      align-items: start;
    }
    .about-photo {
      position: sticky;
      top: calc(var(--nav-h) + 32px);
    }
    .about-photo img {
      width: 100%;
      aspect-ratio: 1;
      object-fit: cover;
      border-radius: 16px;
      border: 1px solid var(--border);
      filter: grayscale(20%);
      transition: filter .4s;
    }
    .about-photo img:hover { filter: grayscale(0%); }

    .about-bio {
      position: sticky;
      top: calc(var(--nav-h) + 32px);
    }

    .about-bio p {
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.8;
      margin-bottom: 20px;
    }
    .about-bio strong { color: var(--text); font-weight: 600; }

    .stack-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 36px;
    }
    .stag {
      font-family: var(--f-mono);
      font-size: .7rem;
      letter-spacing: .05em;
      color: var(--muted);
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 4px 13px;
      border-radius: 4px;
      transition: border-color .2s, color .2s;
    }
    .stag:hover { border-color: var(--border-h); color: var(--accent); }

    .skills-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .skill-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px 24px;
      position: relative;
      overflow: hidden;
      transition: border-color .3s, transform .3s;
    }
    .skill-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .35s;
    }
    .skill-card:hover { border-color: var(--border-h); transform: translateY(-5px); }
    .skill-card:hover::before { transform: scaleX(1); }

    .skill-icon { font-size: 1.4rem; margin-bottom: 14px; line-height: 1; }
    .skill-card h3 {
      font-family: var(--f-display);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .skill-card p { font-size: .87rem; color: var(--muted); line-height: 1.6; }

    /* ════════════════════════════════
       PORTFOLIO
    ════════════════════════════════ */
    .projects-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .proj-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      overflow: hidden;
      transition: border-color .3s, transform .4s cubic-bezier(.16,1,.3,1);
      cursor: none;
    }
    .proj-card:hover { border-color: var(--border-h); transform: translateY(-7px); }

    .proj-thumb {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
    }
    .proj-thumb-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .6s cubic-bezier(.16,1,.3,1);
    }
    .proj-card:hover .proj-thumb-bg { transform: scale(1.05); }

    /* Thin accent bar bottom of thumb */
    .proj-thumb::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .4s;
    }
    .proj-card:hover .proj-thumb::after { transform: scaleX(1); }

    .proj-body { padding: 28px; }

    .proj-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 14px;
    }
    .ptag {
      font-family: var(--f-mono);
      font-size: .63rem;
      letter-spacing: .05em;
      color: var(--accent);
      background: var(--accent-glow);
      padding: 3px 10px;
      border-radius: 3px;
    }

    .proj-body h3 {
      font-family: var(--f-display);
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .proj-body p { font-size: .87rem; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }

    .proj-links { display: flex; gap: 16px; }
    .proj-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--f-mono);
      font-size: .7rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--muted);
      transition: color .2s;
    }
    .proj-link:hover { color: var(--accent); }
    .proj-link svg { width: 12px; height: 12px; flex-shrink: 0; }

    /* ════════════════════════════════
       CONTACT
    ════════════════════════════════ */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.35fr;
      gap: 80px;
      align-items: start;
    }

    .contact-lede h2 {
      font-family: var(--f-display);
      font-size: clamp(2.6rem, 5vw, 4.5rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.025em;
      margin-bottom: 24px;
    }
    .contact-lede h2 em { font-style: italic; color: var(--accent); }
    .contact-lede > p { color: var(--muted); line-height: 1.75; margin-bottom: 48px; }

    .socials { display: flex; flex-direction: column; gap: 12px; }
    .soc-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      text-decoration: none;
      color: var(--text);
      transition: border-color .2s, background .2s;
    }
    .soc-link:hover { border-color: var(--border-h); background: var(--surface2); }
    .soc-name { font-weight: 500; font-size: .95rem; }
    .soc-handle { font-family: var(--f-mono); font-size: .73rem; color: var(--muted); margin-top: 2px; }
    .soc-arrow { color: var(--accent); font-size: 1.3rem; line-height: 1; }

    /* ════ FORM ════ */
    .c-form { display: flex; flex-direction: column; gap: 20px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .fg { display: flex; flex-direction: column; gap: 8px; }
    .fg label {
      font-family: var(--f-mono);
      font-size: .68rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .fg input, .fg textarea {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 13px 18px;
      color: var(--text);
      font-family: var(--f-body);
      font-size: .95rem;
      outline: none;
      resize: none;
      transition: border-color .2s, box-shadow .2s;
      -webkit-appearance: none;
    }
    .fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
    .fg input:focus, .fg textarea:focus {
      border-color: rgba(200, 241, 53, .5);
      box-shadow: 0 0 0 3px var(--accent-glow);
    }
    .fg textarea { min-height: 140px; }

    .btn-send {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      align-self: flex-start;
      background: var(--accent);
      color: var(--bg);
      font-family: var(--f-mono);
      font-size: .8rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      border: none;
      padding: 15px 34px;
      border-radius: 100px;
      cursor: none;
      transition: transform .2s, box-shadow .2s, opacity .2s;
    }
    .btn-send:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 44px rgba(200, 241, 53, .22);
    }
    .btn-send:disabled { opacity: .45; }

    .form-msg {
      font-family: var(--f-mono);
      font-size: .78rem;
      padding: 12px 16px;
      border-radius: 8px;
      display: none;
    }
    .form-msg.ok  { background: rgba(200,241,53,.1);  color: var(--accent); display: block; }
    .form-msg.err { background: rgba(255,80,80,.1);   color: #FF7070;       display: block; }

    /* ════════════════════════════════
       FOOTER
    ════════════════════════════════ */
    footer {
      border-top: 1px solid var(--border);
      padding: 32px 0;
      margin-top: 0;
    }
    .foot-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }
    .foot-copy {
      font-family: var(--f-mono);
      font-size: .7rem;
      letter-spacing: .05em;
      color: var(--muted);
      margin: 0;
    }
    .foot-nav {
      display: flex;
      gap: 24px;
      align-items: center;
      list-style: none;
    }
    .foot-nav li a {
      font-family: var(--f-mono);
      font-size: .7rem;
      letter-spacing: .05em;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s;
    }
    .foot-nav li a:hover { color: var(--accent); }



    /* ════════════════════════════════
       COMPETENCES STRIP
    ════════════════════════════════ */
    .comp-strip {
      margin-top: 64px;
      border-top: 1px solid var(--border);
      padding-top: 48px;
    }
    .comp-strip-title {
      font-family: var(--f-mono);
      font-size: .68rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 36px;
    }
    .comp-domains {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
    }
    .comp-domain {
      background: var(--surface);
      padding: 28px 28px 24px;
      border: 1px solid var(--border);
      border-radius: 0;
      position: relative;
      overflow: hidden;
      transition: background .3s, border-color .3s;
      cursor: default;
    }
    .comp-domain:first-child { border-radius: 14px 0 0 14px; }
    .comp-domain:last-child  { border-radius: 0 14px 14px 0; }
    .comp-domain:hover { background: var(--surface2); border-color: var(--border-h); }

    /* accent bar top on hover */
    .comp-domain::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .4s cubic-bezier(.16,1,.3,1);
    }
    .comp-domain:hover::before { transform: scaleX(1); }

    .comp-domain-icon {
      font-size: 1.3rem;
      margin-bottom: 12px;
      line-height: 1;
    }
    .comp-domain-name {
      font-family: var(--f-display);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .comp-domain-sub {
      font-family: var(--f-mono);
      font-size: .65rem;
      letter-spacing: .08em;
      color: var(--muted);
      margin-bottom: 20px;
      line-height: 1.5;
    }
    .comp-bars { display: flex; flex-direction: column; gap: 10px; }
    .comp-bar-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .comp-bar-label {
      font-family: var(--f-mono);
      font-size: .65rem;
      letter-spacing: .04em;
      color: var(--muted);
      min-width: 80px;
      flex-shrink: 0;
    }
    .comp-bar-track {
      flex: 1;
      height: 3px;
      background: var(--border);
      border-radius: 2px;
      overflow: hidden;
    }
    .comp-bar-fill {
      height: 100%;
      background: var(--accent);
      border-radius: 2px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .9s cubic-bezier(.16,1,.3,1);
    }
    .comp-bar-fill.bar-visible { transform: scaleX(1); }

    @media (max-width: 760px) {
      .comp-domains { grid-template-columns: 1fr; }
      .comp-domain:first-child { border-radius: 14px 14px 0 0; }
      .comp-domain:last-child  { border-radius: 0 0 14px 14px; }
    }


    /* ════════════════════════════════
       ZIGZAG TIMELINE
    ════════════════════════════════ */
    .zz-timeline {
      position: relative;
      padding: 24px 0 0;
    }

    /* Central vertical line — draws itself on scroll */
    .zz-timeline::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 0;
      width: 1px;
      height: 0;
      background: linear-gradient(to bottom,
        var(--accent) 0%,
        rgba(200,241,53,.3) 60%,
        transparent 100%);
      transform: translateX(-50%);
      transition: height 1.8s cubic-bezier(.16,1,.3,1);
    }
    .zz-timeline.line-go::before { height: 100%; }

    /* Items */
    .zz-item {
      display: flex;
      align-items: flex-start;
      width: 50%;
      padding-bottom: 56px;
      position: relative;
      opacity: 0;
      transition: opacity .65s cubic-bezier(.16,1,.3,1),
                  transform .65s cubic-bezier(.16,1,.3,1);
    }
    .zz-item.zz-visible { opacity: 1 !important; transform: none !important; }

    .zz-left  { padding-right: 64px; margin-left: 0;   transform: translateX(-48px); }
    .zz-right { padding-left:  64px; margin-left: 50%; transform: translateX( 48px); }

    /* Dot */
    .zz-dot {
      position: absolute;
      top: 10px;
      width: 14px; height: 14px;
      border-radius: 50%;
      background: var(--bg);
      border: 2px solid var(--muted);
      box-shadow: 0 0 0 5px var(--bg);
      z-index: 2;
      transition: border-color .4s, box-shadow .4s;
    }
    .zz-left  .zz-dot { right: -7px; }
    .zz-right .zz-dot { left:  -7px; }

    .zz-item.zz-visible .zz-dot {
      border-color: var(--accent);
      box-shadow: 0 0 0 5px var(--bg), 0 0 14px rgba(200,241,53,.35);
    }

    /* Connector line card → dot */
    .zz-connector {
      position: absolute;
      top: 17px;
      height: 1px;
      width: 0;
      background: var(--accent);
      transition: width .5s cubic-bezier(.16,1,.3,1) .25s;
    }
    .zz-left  .zz-connector { right: 7px; }
    .zz-right .zz-connector { left:  7px; }
    .zz-item.zz-visible .zz-connector { width: 40px; }

    /* Year badge above dot */
    .zz-year {
      position: absolute;
      top: -24px;
      font-family: var(--f-mono);
      font-size: .6rem;
      letter-spacing: .1em;
      color: var(--accent);
      white-space: nowrap;
      opacity: 0;
      transition: opacity .4s .4s;
    }
    .zz-left  .zz-year { right: -14px; transform: translateX(50%); }
    .zz-right .zz-year { left:  -14px; transform: translateX(-50%); }
    .zz-item.zz-visible .zz-year { opacity: 1; }

    /* Card */
    .zz-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 28px 32px;
      position: relative;
      width: 100%;
      overflow: hidden;
      transition: border-color .4s, transform .25s;
    }
    .zz-card:hover { transform: translateY(-4px); border-color: var(--border-h); }

    /* Accent slice on hovered card */
    .zz-card::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      width: 3px;
      background: var(--accent);
      opacity: 0;
      transition: opacity .3s;
    }
    .zz-left  .zz-card::before { right: 0; }
    .zz-right .zz-card::before { left:  0; }
    .zz-card:hover::before { opacity: 1; }

    .zz-meta {
      display: flex;
      flex-direction: column;
      gap: 3px;
      margin-bottom: 10px;
    }
    .zz-date {
      font-family: var(--f-mono);
      font-size: .72rem;
      color: var(--muted);
    }
    .zz-company {
      font-family: var(--f-mono);
      font-size: .68rem;
      letter-spacing: .06em;
      color: var(--accent);
      opacity: .8;
    }
    .zz-role {
      font-family: var(--f-display);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.15;
    }
    .zz-desc {
      color: var(--muted);
      font-size: .86rem;
      line-height: 1.72;
      margin-bottom: 16px;
    }
    .zz-tags { display: flex; flex-wrap: wrap; gap: 6px; }

    @media (max-width: 760px) {
      .zz-timeline::before { left: 18px; }
      .zz-item,
      .zz-left,
      .zz-right { width: 100%; padding-left: 52px; padding-right: 0; margin-left: 0; }
      .zz-left .zz-dot, .zz-right .zz-dot { left: 11px; right: auto; }
      .zz-left .zz-connector  { left: 25px; right: auto; }
      .zz-right .zz-connector { left: 25px; }
      .zz-left  .zz-year { left: 22px; right: auto; transform: none; }
      .zz-right .zz-year { left: 22px; transform: none; }
      .zz-card::before { display: none; }
    }
    /* ════════════════════════════════
       RESPONSIVE
    ════════════════════════════════ */
    @media (max-width: 960px) {
      .about-grid { grid-template-columns: 1fr; gap: 32px; }
      .about-bio   { position: static; }
      .about-photo { position: static; max-width: 160px; }
      .projects-grid { grid-template-columns: 1fr; }
      .contact-grid { grid-template-columns: 1fr; gap: 48px; }
      .form-row     { grid-template-columns: 1fr; }
      .exp-card     { padding: 28px 24px; }
      .comp-row     { flex-direction: column; align-items: flex-start; gap: 12px; }
      .comp-cat     { min-width: auto; }
    }

    @media (max-width: 700px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .skills-grid { grid-template-columns: 1fr; }

      #cur-dot, #cur-ring { display: none; }
      body { cursor: auto; }
      .btn-prime, .btn-ghost, .btn-send, .lang-btn { cursor: pointer; }
    }
  

    /* ════════════════════════════════
       LEGAL PAGES
    ════════════════════════════════ */
    .nav-back {
      font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em;
      text-transform: uppercase; color: var(--muted); text-decoration: none;
      display: flex; align-items: center; gap: 8px; transition: color .2s;
    }
    .nav-back:hover { color: var(--accent); }

    .page-eyebrow {
      font-family: var(--f-mono); font-size: .7rem; letter-spacing: .2em;
      text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
      display: flex; align-items: center; gap: 16px;
    }
    .page-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--accent); }

    .last-update { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); margin-bottom: 48px; }

    .legal-section { margin-bottom: 48px; border-top: 1px solid var(--border); padding-top: 32px; }
    .legal-section:first-of-type { border-top: none; padding-top: 0; }

    .legal-section h2 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; }
    .legal-section h3 { font-family: var(--f-mono); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; margin-top: 24px; }
    .legal-section p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
    .legal-section p:last-child { margin-bottom: 0; }
    .legal-section strong { color: var(--text); font-weight: 600; }
    .legal-section a { color: var(--accent); text-decoration: none; }
    .legal-section a:hover { text-decoration: underline; }
    .legal-section ul { color: var(--muted); padding-left: 20px; margin-bottom: 12px; line-height: 1.8; }
    .legal-section li { margin-bottom: 4px; }

    .highlight-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
      border-radius: 0 10px 10px 0;
      padding: 16px 20px;
      margin: 16px 0;
    }
    .highlight-box p { margin: 0; font-size: .9rem; }

    /* Legal page main layout */
    .legal-main { max-width: 860px; margin: 0 auto; padding: calc(var(--nav-h) + 64px) clamp(20px, 5vw, 48px) 80px; }
    .legal-main h1 { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; margin-bottom: 48px; }
