
  :root {
    --bg: #080b12;
    --bg-2: #0d1320;
    --surface: #111a2b;
    --surface-2: #16223a;
    --line: #22304d;
    --cyan: #2dd4e8;
    --cyan-soft: #7ee6f2;
    --cyan-dim: rgba(45, 212, 232, 0.12);
    --text: #e7eef8;
    --muted: #90a1bd;
    --muted-2: #64748b;
    --navy: #1b2a44;
    --radius: 16px;
    --maxw: 1120px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, .logo-text { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; }

  a { color: inherit; text-decoration: none; }
  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  .bg-glow {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(600px 400px at 78% 6%, rgba(45, 212, 232, 0.12), transparent 70%),
      radial-gradient(700px 500px at 8% 34%, rgba(27, 42, 68, 0.55), transparent 70%);
  }

  /* ---------- NAV ---------- */
  header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(8, 11, 18, 0.72);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
  }
  header.scrolled { border-bottom: 1px solid var(--line); }
  nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand svg { width: 34px; height: 36px; }
  .logo-text { font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
  .logo-text span { color: var(--cyan); }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
  .nav-right { display: flex; align-items: center; gap: 18px; }
  .lang-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 12.5px; }
  .lang-toggle button {
    background: transparent; color: var(--muted); border: none; cursor: pointer;
    padding: 5px 12px; font-family: inherit; font-weight: 600; transition: all .2s;
  }
  .lang-toggle button.active { background: var(--cyan); color: #04222a; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cyan); color: #04222a; font-weight: 600; font-size: 14.5px;
    padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer;
    font-family: inherit; transition: transform .15s, box-shadow .2s;
  }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(45, 212, 232, 0.25); }
  .btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
  .btn-ghost:hover { border-color: var(--cyan); box-shadow: none; }
  .menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

  /* ---------- HERO ---------- */
  .hero { padding: 80px 0 72px; position: relative; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--cyan-soft); font-size: 13px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase; margin-bottom: 22px;
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--cyan-dim);
  }
  .eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
  .hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; font-weight: 700; max-width: 16ch; }
  .hero h1 em { font-style: normal; color: var(--cyan); }
  .hero p.lead { color: var(--muted); font-size: clamp(15.5px, 1.8vw, 18px); max-width: 54ch; margin: 24px 0 32px; }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted-2); font-size: 13.5px; }
  .hero-meta .pin { color: var(--cyan); }
  .hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
  .stat .num { font-family: "Space Grotesk"; font-size: 28px; font-weight: 700; color: var(--text); }
  .stat .num span { color: var(--cyan); }
  .stat .lbl { color: var(--muted-2); font-size: 13px; margin-top: 2px; }

  /* ---------- HERO LOGO STAGE ---------- */
  .logo-stage { position: relative; display: grid; place-items: center; min-height: 380px; }
  .logo-stage::before {
    content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(45,212,232,.18), transparent 62%);
    filter: blur(10px);
  }
  .logo-stage .ring {
    position: absolute; border: 1px solid var(--line); border-radius: 50%; opacity: .5;
  }
  .logo-stage .ring.r1 { width: 300px; height: 300px; }
  .logo-stage .ring.r2 { width: 380px; height: 380px; opacity: .28; }
  .hero-mark { width: 300px; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
  .hero-mark .node { animation: pulse 2.6s ease-in-out infinite; transform-origin: center; }
  .hero-mark .node.n2 { animation-delay: .5s; }
  .hero-mark .node.n3 { animation-delay: 1s; }
  .hero-mark .node.n4 { animation-delay: 1.5s; }
  @keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
  .logo-stage .wordmark { position: absolute; bottom: 6px; z-index: 3; text-align: center; }
  .logo-stage .wordmark .wm { font-family: "Space Grotesk"; font-weight: 700; font-size: 26px; letter-spacing: .12em; }
  .logo-stage .wordmark .wm span { color: var(--cyan); }
  .logo-stage .wordmark .sub { color: var(--muted); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; margin-top: 2px; }

  /* ---------- SECTION SHELL ---------- */
  section { padding: 84px 0; }
  .sec-head { max-width: 660px; margin-bottom: 50px; }
  .sec-tag { color: var(--cyan); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .sec-head h2 { font-size: clamp(27px, 4vw, 38px); margin: 12px 0 14px; }
  .sec-head p { color: var(--muted); font-size: 16.5px; }

  /* ---------- SERVICES ---------- */
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; transition: transform .2s, border-color .2s, box-shadow .3s;
  }
  .card:hover { transform: translateY(-4px); border-color: rgba(45,212,232,.5); box-shadow: 0 20px 40px -20px rgba(45,212,232,.35); }
  .card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cyan-dim); border: 1px solid var(--line); margin-bottom: 18px; }
  .card .ic svg { width: 24px; height: 24px; stroke: var(--cyan); }
  .card h3 { font-size: 19px; margin-bottom: 8px; }
  .card p { color: var(--muted); font-size: 14.8px; }
  .card ul { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
  .card ul li { font-size: 12px; color: var(--cyan-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: rgba(45,212,232,.05); }

  /* ---------- ABOUT / FOUNDER ---------- */
  .about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
  .founder-card {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center;
    position: sticky; top: 96px;
  }
  .avatar {
    width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--navy), var(--surface-2));
    border: 2px solid var(--cyan); display: grid; place-items: center;
    font-family: "Space Grotesk"; font-size: 40px; font-weight: 700; color: var(--cyan); overflow: hidden;
  }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .founder-card h3 { font-size: 22px; }
  .founder-card .role { color: var(--cyan); font-size: 13.5px; font-weight: 600; margin: 4px 0 14px; }
  .founder-card .langs { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 4px; font-size: 13px; color: var(--muted); }
  .founder-card .langs b { color: var(--text); font-weight: 600; }
  .founder-card .socials { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
  .founder-card .socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; transition: all .2s; }
  .founder-card .socials a:hover { border-color: var(--cyan); background: var(--cyan-dim); }
  .founder-card .socials svg { width: 18px; height: 18px; stroke: var(--muted); }
  .founder-card .socials a:hover svg { stroke: var(--cyan); }

  .about-body h3 { font-size: 21px; margin: 0 0 12px; }
  .about-body > p { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
  .block-title { font-family: "Space Grotesk"; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); margin: 30px 0 16px; display: flex; align-items: center; gap: 10px; }
  .block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  .timeline { position: relative; padding-left: 26px; }
  .timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
  .tl-item { position: relative; padding-bottom: 24px; }
  .tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--bg); }
  .tl-item .when { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
  .tl-item h4 { font-size: 16px; margin: 2px 0 3px; }
  .tl-item .where { font-size: 14px; color: var(--cyan-soft); }
  .tl-item p { font-size: 14px; color: var(--muted); margin-top: 5px; }
  .skillset { display: grid; gap: 14px; }
  .skillrow { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
  .skillrow .k { font-size: 13px; color: var(--muted-2); font-weight: 600; padding-top: 6px; }
  .skillrow .v { display: flex; flex-wrap: wrap; gap: 8px; }
  .skillrow .v span { font-size: 13px; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; background: var(--surface); }

  /* ---------- PROJECTS ---------- */
  .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .proj {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .2s, border-color .2s; display: flex; flex-direction: column;
  }
  .proj:hover { transform: translateY(-4px); border-color: rgba(45,212,232,.5); }
  .proj .cover { height: 150px; background: linear-gradient(135deg, var(--navy), var(--bg-2)); position: relative; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
  .proj .cover .tagbadge { position: absolute; top: 14px; left: 14px; font-size: 11.5px; font-weight: 600; color: var(--cyan); background: rgba(8,11,18,.6); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
  .proj .cover .status { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
  .status.live { color: #6ee7b7; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); }
  .status.wip { color: #fbbf24; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); }
  .proj .cover .big { font-family: "Space Grotesk"; font-size: 26px; font-weight: 700; color: rgba(231,238,248,.16); text-align: center; padding: 0 16px; }
  .proj .body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
  .proj h3 { font-size: 19px; margin-bottom: 8px; }
  .proj h3 .ext { font-size: 12px; color: var(--cyan); font-weight: 500; }
  .proj p { color: var(--muted); font-size: 14.3px; flex: 1; }
  .proj .stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
  .proj .stack span { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }

  /* ---------- CTA ---------- */
  .cta { background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line); border-radius: 24px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
  .cta::before { content:""; position:absolute; inset:0; background: radial-gradient(400px 200px at 50% 0%, rgba(45,212,232,.14), transparent 70%); pointer-events:none; }
  .cta h2 { font-size: clamp(27px, 4vw, 40px); position: relative; }
  .cta p { color: var(--muted); font-size: 17px; max-width: 52ch; margin: 16px auto 30px; position: relative; }
  .cta .hero-actions { justify-content: center; position: relative; }
  .cta .contactline { margin-top: 22px; color: var(--muted-2); font-size: 13.5px; position: relative; }
  .cta .contactline a { color: var(--cyan-soft); }

  /* ---------- FOOTER ---------- */
  footer { border-top: 1px solid var(--line); padding: 40px 0; }
  .foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .foot .muted { color: var(--muted-2); font-size: 13.5px; }
  .foot .socials { display: flex; gap: 14px; }
  .foot .socials a { color: var(--muted-2); font-size: 13.5px; transition: color .2s; }
  .foot .socials a:hover { color: var(--cyan); }

  .ph { outline: 1px dashed rgba(45,212,232,.35); outline-offset: 3px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; }
    .logo-stage { min-height: 320px; order: -1; margin-bottom: 8px; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .founder-card { position: static; max-width: 380px; margin: 0 auto; }
    .nav-links { display: none; }
    .menu-btn { display: block; }
    .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px; }
  }
  @media (max-width: 560px) {
    .cta { padding: 40px 22px; }
    .hero-stats { gap: 26px; }
    .skillrow { grid-template-columns: 1fr; gap: 6px; }
    .skillrow .k { padding-top: 0; }
  }

  /* ---------- ASK WHISKER AI ---------- */
  .chat-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 80;
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--cyan); color: #04222a; font-weight: 600; font-family: "Space Grotesk", sans-serif; font-size: 14.5px;
    border: none; border-radius: 999px; padding: 13px 18px; cursor: pointer;
    box-shadow: 0 10px 30px rgba(45,212,232,.35); transition: transform .15s, box-shadow .2s;
  }
  .chat-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(45,212,232,.45); }
  .chat-fab svg { width: 19px; height: 19px; }
  .chat-fab.hidden { display: none; }

  .chat-panel {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 44px);
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
    display: none; flex-direction: column; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7);
  }
  .chat-panel.open { display: flex; animation: chatIn .25s ease; }
  @keyframes chatIn { from { opacity:0; transform: translateY(14px) scale(.98);} to {opacity:1; transform:none;} }
  .chat-head { display: flex; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
  .chat-head .ava { width: 38px; height: 38px; border-radius: 10px; background: var(--cyan-dim); border:1px solid var(--line); display:grid; place-items:center; flex:0 0 auto; }
  .chat-head .ava svg { width: 20px; height: 20px; stroke: var(--cyan); }
  .chat-head .t { flex: 1; }
  .chat-head .t .name { font-family:"Space Grotesk", sans-serif; font-weight:700; font-size:15px; }
  .chat-head .t .sub { font-size: 11.5px; color: var(--muted-2); display:flex; align-items:center; gap:6px; }
  .chat-head .t .sub .on { width:7px; height:7px; border-radius:50%; background:#34d399; box-shadow:0 0 8px #34d399; }
  .chat-head .x { background:none; border:none; color:var(--muted); cursor:pointer; padding:6px; border-radius:8px; display:grid; place-items:center; }
  .chat-head .x:hover { background: var(--surface); color: var(--text); }
  .chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .msg { max-width: 86%; font-size: 14px; line-height: 1.55; padding: 11px 14px; border-radius: 14px; white-space: pre-wrap; }
  .msg.bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; color: var(--text); }
  .msg.me { background: var(--cyan); color:#04222a; border-bottom-right-radius: 5px; align-self: flex-end; font-weight:500; }
  .chips { display:flex; flex-wrap:wrap; gap:8px; padding: 0 18px 10px; }
  .chip { font-size:12.5px; color: var(--cyan-soft); background: rgba(45,212,232,.06); border:1px solid var(--line); border-radius:999px; padding:6px 12px; cursor:pointer; font-family:inherit; transition: all .15s; }
  .chip:hover { border-color: var(--cyan); background: var(--cyan-dim); }
  .chat-input { display:flex; gap:8px; padding: 12px 14px; border-top:1px solid var(--line); background: var(--bg-2); }
  .chat-input input { flex:1; background: var(--surface); border:1px solid var(--line); border-radius: 12px; padding: 11px 14px; color: var(--text); font-family: inherit; font-size: 14px; outline:none; }
  .chat-input input:focus { border-color: var(--cyan); }
  .chat-input button { background: var(--cyan); color:#04222a; border:none; border-radius:12px; width:44px; display:grid; place-items:center; cursor:pointer; flex:0 0 auto; }
  .chat-input button svg { width:18px; height:18px; }
  .chat-foot { text-align:center; font-size:10.5px; color: var(--muted-2); padding: 0 0 10px; }
  .typing { display:inline-flex; gap:4px; align-items:center; }
  .typing span { width:6px; height:6px; border-radius:50%; background: var(--muted); animation: blink 1.2s infinite; }
  .typing span:nth-child(2){ animation-delay:.2s;} .typing span:nth-child(3){ animation-delay:.4s;}
  @keyframes blink { 0%,80%,100%{opacity:.3;} 40%{opacity:1;} }
  @media (max-width: 480px) {
    .chat-panel { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 16px); }
    .chat-fab { right: 14px; bottom: 14px; }
  }

:focus-visible{outline:3px solid var(--cyan);outline-offset:4px} section{scroll-margin-top:85px} .chat-body{white-space:pre-wrap} @media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}