:root{
    --bg: #060a16;
    --bg-alt: #0a1226;
    --panel: #0d1630;
    --glass: rgba(79,139,255,0.06);
    --glass-border: rgba(120,160,255,0.16);
    --blue: #4f8bff;
    --cyan: #38d6d0;
    --indigo: #7c6cf6;
    --gold: #e8b95f;
    --text: #eef3fb;
    --muted: #7e8bab;
    --mono: 'IBM Plex Mono', monospace;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:
      radial-gradient(ellipse 70% 45% at 15% -8%, rgba(79,139,255,0.16), transparent),
      radial-gradient(ellipse 55% 40% at 100% 10%, rgba(56,214,208,0.10), transparent),
      linear-gradient(180deg, #060a16 0%, #050810 100%);
    color: var(--text);
    font-family:'Manrope', sans-serif;
    line-height:1.6;
    overflow-x:hidden;
  }
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  h1,h2,h3,h4{font-family:'Sora', sans-serif;}

  /* NAV — solid, no blur, so the hero glass card reads as the special moment */
  nav{
    position:sticky; top:0; z-index:50;
    background: #080d1c;
    border-bottom:1px solid rgba(120,160,255,0.12);
  }
  nav .wrap{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    height:72px;
  }
  .navlinks{
    grid-column: 2;
    justify-self:center;
    display:flex; gap:6px; font-family:'Sora', sans-serif; font-size:14.5px; font-weight:600;
    color:var(--text);
  }
  .navlinks a{
    padding:9px 18px; border-radius:10px; border:1px solid transparent;
    transition: color .25s, background .25s, border-color .25s, box-shadow .25s, transform .25s;
  }
  .navlinks a:hover{
    color:var(--text);
    background: linear-gradient(120deg, rgba(79,139,255,0.22), rgba(124,108,246,0.22));
    border-color: rgba(120,160,255,0.4);
    box-shadow: 0 4px 18px rgba(79,139,255,0.35);
    transform: translateY(-1px);
  }
  .cv-btn{
    grid-column: 3;
    justify-self:end;
    font-family:var(--mono); font-size:12px; padding:9px 18px; border-radius:8px;
    background: linear-gradient(120deg, var(--blue), var(--indigo)); color:#050810; font-weight:600;
    transition: filter .2s;
  }
  .cv-btn:hover{filter:brightness(1.12);}

  /* hamburger button — hidden on desktop, shown only on mobile */
  .hamburger{
    display:none; flex-direction:column; justify-content:center; gap:5px;
    width:32px; height:32px; background:none; border:none; cursor:pointer; padding:0;
  }
  .hamburger span{
    display:block; width:100%; height:2px; background:var(--text); border-radius:2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2){ opacity:0; }
  .hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  /* HERO — this is where glassmorphism + gradient concentrate */
  .hero{padding:88px 0 70px;}
  .hero-card{
    background: var(--glass);
    backdrop-filter: blur(22px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 56px;
    position: relative;
    overflow: hidden;
    display:grid; grid-template-columns:1.15fr 1fr; gap:40px; align-items:center;
  }
  .hero-card::before{
    content:''; position:absolute; inset:-2px; z-index:-1; border-radius:28px;
    background: linear-gradient(120deg, rgba(79,139,255,0.35), rgba(56,214,208,0.15), transparent 60%);
    opacity:0.6; filter: blur(20px);
  }

  .eyebrow{
    font-family:var(--mono); font-size:12px; color:var(--cyan); letter-spacing:0.12em;
    text-transform:uppercase; display:flex; align-items:center; gap:10px; margin-bottom:20px;
  }
  .eyebrow::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--cyan); box-shadow:0 0 12px var(--cyan); animation:pulse 2s infinite;}
  @keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.4;}}

  /* orbit animation for the platform circles around the center KVS circle */
  @keyframes orbit{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(360deg); }
  }
  @keyframes counter-orbit{
    from{ transform: rotate(0deg); }
    to{ transform: rotate(-360deg); }
  }
  /* pause the orbit on hover so labels are easy to read */
  .ring-wrap:hover .orbit-node,
  .ring-wrap:hover .orbit-counter{
    animation-play-state: paused;
  }

  h1{font-weight:700; font-size:46px; line-height:1.1; letter-spacing:-0.02em; margin-bottom:18px;}
  h1 .accent{background:linear-gradient(120deg, var(--blue), var(--cyan)); -webkit-background-clip:text; background-clip:text; color:transparent;}
  .hero-sub{color:var(--muted); font-size:16px; max-width:480px; margin-bottom:28px;}
  .hero-cta{display:flex; gap:14px; margin-bottom:32px;}
  .btn-primary{
    background: linear-gradient(120deg, var(--blue), var(--indigo)); color:#050810; font-weight:600;
    padding:12px 24px; border-radius:10px; font-size:14px; transition: transform .2s, box-shadow .2s;
  }
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 30px rgba(79,139,255,0.35);}
  .btn-ghost{
    padding:12px 24px; border-radius:10px; font-size:14px; border:1px solid rgba(120,160,255,0.22); transition:all .2s;
  }
  .btn-ghost:hover{border-color:var(--blue);}
  .socials{display:flex; gap:35px; font-family:var(--mono); font-size:14px; font-weight:500; color:var(--muted);}
  .socials a:hover{color:var(--cyan);}

  /* signature portrait ring — replaces network diagram, still same idea: platforms orbiting */
  .ring-wrap{position:relative; height:425px; display:flex; align-items:center; justify-content:center;}
  .ring-wrap svg{width:100%; height:100%;}
  .platform-label{font-family:var(--mono); font-size:10.5px; fill:var(--muted);}

  /* SECTIONS — mostly solid panels, no blur; glass reserved for hero + one CTA */
  .section{padding:80px 0;}
  .section-head{margin-bottom:44px;}
  .section-eyebrow{
    font-family:var(--mono); font-size:15px; font-weight:500; color:var(--indigo);
    letter-spacing:0.1em; text-transform:uppercase; margin-bottom:10px;
    text-shadow: 0 0 12px rgba(124,108,246,0.5);
  }
  .section-title{font-weight:700; font-size:30px; letter-spacing:-0.01em;}

  .grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
  .grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
  .panel{
    background: var(--panel); border:1px solid rgba(120,160,255,0.08); border-radius:16px; padding:24px;
    transition: border-color .25s, transform .25s;
  }
  .panel:hover{border-color:rgba(79,139,255,0.35); transform:translateY(-3px);}
  .panel .tag{font-family:var(--mono); font-size:10.5px; color:var(--gold); margin-bottom:10px; display:block;}
  .panel h3{font-size:16px; margin-bottom:6px;}
  .panel p{font-size:13px; color:var(--muted);}

  /* one more gradient moment: the CTA band */
  .cta-band{
    border-radius:24px; padding:64px 48px; text-align:center; position:relative; overflow:hidden;
    background: linear-gradient(120deg, rgba(79,139,255,0.16), rgba(56,214,208,0.10));
    border:1px solid rgba(120,160,255,0.2);
  }
  .cta-band h2{font-size:32px; margin-bottom:14px;}
  .cta-band p{color:var(--muted); margin-bottom:28px;}
  .contact-boxes{
    display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap;
  }
  .contact-box{
    font-family:var(--mono); font-size:13.5px; font-weight:600; color:#050810;
    width:200px; text-align:center;
    padding:12px 16px; border-radius:10px; border:none;
    background: linear-gradient(120deg, var(--blue), var(--indigo)); transition: all .2s;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  .contact-box:hover{
    transform:translateY(-2px); box-shadow:0 10px 30px rgba(79,139,255,0.35); filter:brightness(1.12);
  }

  /* contact form */
  .contact-form{
    max-width:560px; margin:36px auto 0; display:flex; flex-direction:column; gap:14px;
  }
  .form-row{ display:flex; gap:14px; }
  .contact-form input,
  .contact-form textarea{
    width:100%; font-family:'Manrope', sans-serif; font-size:14px; color:var(--text);
    background: rgba(6,10,22,0.5); border:1px solid rgba(120,160,255,0.22); border-radius:10px;
    padding:13px 16px; transition: border-color .2s;
  }
  .contact-form input::placeholder,
  .contact-form textarea::placeholder{ color:var(--muted); }
  .contact-form input:focus,
  .contact-form textarea:focus{ outline:none; border-color:var(--blue); }
  .contact-form textarea{ resize:vertical; min-height:110px; }
  .form-submit{ align-self:center; border:none; cursor:pointer; }
  .form-status{
    font-family:var(--mono); font-size:12.5px; text-align:center; min-height:16px; margin-top:4px;
  }
  .form-status.success{ color:var(--cyan); }
  .form-status.error{ color:#ff8a8a; }

  footer{border-top:1px solid rgba(120,160,255,0.1); padding:30px 0; text-align:center; color:var(--muted); font-size:12px; font-family:var(--mono);}

  @media(max-width:900px){
    .hero-card{grid-template-columns:1fr; padding:32px;}
    h1{font-size:32px;}
    .grid-3, .grid-4{grid-template-columns:1fr 1fr;}

    .hamburger{ display:flex; }
    nav .wrap{ grid-template-columns: 1fr auto; }
    .navlinks{
      display:flex; flex-direction:column; gap:0;
      position:absolute; top:72px; left:0; right:0;
      background: rgba(6,10,22,0.98);
      border-bottom:1px solid rgba(120,160,255,0.14);
      max-height:0; overflow:hidden;
      transition: max-height .3s ease;
    }
    .navlinks.open{ max-height:400px; }
    .navlinks a{
      padding:14px 32px; border-top:1px solid rgba(120,160,255,0.08);
    }
  }

  /* phone-specific tuning */
  @media(max-width:480px){
    .wrap{ padding:0 18px; }
    .hero{ padding:56px 0 40px; }
    .hero-card{ padding:22px; border-radius:20px; }
    h1{ font-size:26px; }
    .hero-sub{ font-size:14.5px; max-width:100%; }
    .hero-cta{ flex-direction:column; gap:10px; }
    .btn-primary, .btn-ghost{ text-align:center; width:100%; }
    .socials{ gap:12px; font-size:11px; }

    .ring-wrap{ height:300px; }

    .section{ padding:52px 0; }
    .section-title{ font-size:24px; }

    .grid-3, .grid-4{ grid-template-columns:1fr; }

    .exp-item{ padding:18px; }
    .exp-role{ font-size:15.5px; }
    .exp-dates{ font-size:10px; }

    .cta-band{ padding:40px 22px; }
    .cta-band h2{ font-size:24px; }
    .contact-box{ width:100%; }
    .form-row{ flex-direction:column; }

    .cv-btn{ display:none; }
  }
  [data-reveal]{opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease;}
  [data-reveal].in{opacity:1; transform:translateY(0);}

  /* ===== Experience timeline (added for resume-driven content) ===== */
  .exp-list{display:flex; flex-direction:column; gap:16px;}
  .exp-item{
    background: var(--panel); border:1px solid rgba(120,160,255,0.08); border-radius:16px;
    padding:26px 28px; transition: border-color .25s, transform .25s;
  }
  .exp-item:hover{border-color:rgba(79,139,255,0.35); transform:translateY(-3px);}
  .exp-head{display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px; margin-bottom:4px;}
  .exp-role{font-family:'Sora', sans-serif; font-weight:700; font-size:17px;}
  .exp-company{color:var(--cyan); font-family:var(--mono); font-size:12.5px; margin-bottom:14px;}
  .exp-dates{font-family:var(--mono); font-size:11px; color:var(--gold); white-space:nowrap;}
  .exp-bullets{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px;}
  .exp-bullets li{position:relative; padding-left:17px; font-size:13px; color:var(--muted); line-height:1.55;}
  .exp-bullets li::before{content:'▸'; position:absolute; left:0; top:0; color:var(--blue);}

  /* ===== Award badges ===== */
  .badges{display:flex; flex-wrap:wrap; gap:10px;}
  .badge{
    font-family:var(--mono); font-size:11.5px; padding:9px 16px; border-radius:999px;
    background: var(--glass); border:1px solid rgba(120,160,255,0.2); color:var(--gold); white-space:nowrap;
  }

  @media(max-width:900px){
    .exp-item{padding:20px;}
    .exp-dates{font-size:10.5px;}
  }
