  :root{
    --bg: #0b0e14;
    --bg-alt: #10141c;
    --card: #131822;
    --border: #232938;
    --text: #e6e9ef;
    --text-dim: #9aa3b5;
    --text-faint: #616b80;
    --accent: #5eead4;
    --accent-dim: #2dd4bf;
    --accent-soft: rgba(94, 234, 212, 0.1);
    --amber: #fbbf24;
    --radius: 14px;
    --maxw: 920px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
      radial-gradient(circle at 15% 0%, rgba(94,234,212,0.07), transparent 45%),
      radial-gradient(circle at 85% 20%, rgba(94,234,212,0.05), transparent 40%);
    background-attachment: fixed;
  }
  code, .mono{
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  }
  .wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

  /* NAV */
  nav{
    position: sticky; top:0; z-index: 50;
    background: rgba(11,14,20,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  nav .wrap{ display:flex; align-items:center; justify-content:space-between; padding-top:16px; padding-bottom:16px; }
  .brand{ font-weight:700; font-size:15px; letter-spacing:0.02em; color:var(--text); text-decoration:none; }
  .brand .dot{ color: var(--accent); }
  nav ul{ list-style:none; display:flex; gap: 28px; }
  nav a.nav-link{ color: var(--text-dim); text-decoration:none; font-size:14px; transition: color .15s ease; }
  nav a.nav-link:hover{ color: var(--accent); }

  /* HERO */
  header.hero{ padding: 96px 0 72px; }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-family: monospace; font-size: 13px; color: var(--accent);
    background: var(--accent-soft); border: 1px solid rgba(94,234,212,0.25);
    padding: 6px 12px; border-radius: 999px; margin-bottom: 24px;
  }
  .eyebrow .pulse{
    width:7px; height:7px; border-radius:50%; background: var(--accent);
    box-shadow: 0 0 0 0 rgba(94,234,212,0.6);
    animation: pulse 2s infinite;
  }
  @keyframes pulse{
    0%{ box-shadow: 0 0 0 0 rgba(94,234,212,0.5); }
    70%{ box-shadow: 0 0 0 8px rgba(94,234,212,0); }
    100%{ box-shadow: 0 0 0 0 rgba(94,234,212,0); }
  }
  h1{
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  h1 span.accent{ color: var(--accent); }
  .hero-sub{
    font-size: 18px; color: var(--text-dim); max-width: 620px; margin-bottom: 32px;
  }
  .hero-sub strong{ color: var(--text); font-weight: 600; }
  .cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 44px; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
    text-decoration:none; transition: all .15s ease; border: 1px solid transparent;
  }
  .btn-primary{ background: var(--accent); color: #06231e; }
  .btn-primary:hover{ background: var(--accent-dim); transform: translateY(-1px); }
  .btn-ghost{ border-color: var(--border); color: var(--text); }
  .btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }

  .stack-row{ display:flex; flex-wrap:wrap; gap:10px; }
  .pill{
    font-family: monospace; font-size: 12.5px; color: var(--text-dim);
    background: var(--bg-alt); border: 1px solid var(--border);
    padding: 6px 12px; border-radius: 8px;
  }

  /* SECTIONS */
  section{ padding: 64px 0; border-top: 1px solid var(--border); }
  .section-tag{
    font-family: monospace; font-size: 13px; color: var(--accent); margin-bottom: 10px;
    display:flex; align-items:center; gap:10px;
  }
  .section-tag::before{ content: ""; width:20px; height:1px; background: var(--accent); }
  h2{ font-size: 28px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.01em; }
  .lead{ color: var(--text-dim); font-size: 16px; max-width: 680px; margin-bottom: 8px; }

  /* ABOUT */
  .about-grid{ display:grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 28px; }
  @media (max-width: 720px){ .about-grid{ grid-template-columns: 1fr; } }
  .about-text p{ color: var(--text-dim); margin-bottom: 14px; font-size: 15.5px; }
  .about-text strong{ color: var(--text); }
  .fact-list{ display:flex; flex-direction:column; gap: 14px; }
  .fact{
    background: var(--card); border:1px solid var(--border); border-radius: var(--radius);
    padding: 14px 16px;
  }
  .fact .fact-k{ font-family: monospace; font-size: 11.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
  .fact .fact-v{ font-size: 14px; color: var(--text); }

  /* SKILLS */
  .skills-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
  @media (max-width: 720px){ .skills-grid{ grid-template-columns: 1fr; } }
  .skill-card{
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px;
  }
  .skill-card h3{ font-size: 15px; margin-bottom: 12px; color: var(--text); display:flex; align-items:center; gap:8px; }
  .skill-card h3 .ico{ color: var(--accent); font-family: monospace; }
  .skill-card .stack-row{ margin-top: 4px; }

  /* PROJECTS */
  .project{
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; margin-bottom: 22px;
  }
  .project-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; margin-bottom: 8px; }
  .project-title{ font-size: 19px; font-weight: 700; color: var(--text); }
  .project-role{ font-family: monospace; font-size: 12px; color: var(--text-faint); margin-top:4px; }
  .project-link{ font-family: monospace; font-size: 12.5px; color: var(--accent); text-decoration:none; white-space:nowrap; }
  .project-link:hover{ text-decoration: underline; }
  .project-desc{ color: var(--text-dim); font-size: 14.5px; margin: 14px 0; }
  .project ul{ list-style:none; display:flex; flex-direction:column; gap:8px; margin-bottom: 16px; }
  .project ul li{ font-size: 14px; color: var(--text-dim); padding-left: 18px; position:relative; }
  .project ul li::before{ content: "▸"; position:absolute; left:0; color: var(--accent); }
  .project ul li strong{ color: var(--text); font-weight: 600; }

  /* DESIGN WORK */
  .design-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
  @media (max-width: 780px){ .design-grid{ grid-template-columns: 1fr; } }
  .design-card{
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
  }
  .design-card img{ width: 100%; height: 230px; object-fit: cover; object-position: top; display:block; border-bottom: 1px solid var(--border); }
  .slider{ position: relative; overflow: hidden; }
  .slider input[type="radio"]{ display: none; }
  .slider-track{ display: flex; width: 200%; transition: transform .45s ease; }
  .slide{ width: 50%; flex-shrink: 0; }
  .slide img{ height: 230px; border-bottom: none; }
  #bs-slide-2:checked ~ .slider-track{ transform: translateX(-50%); }
  .slider-dots{
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 7px; z-index: 2;
  }
  .slider-dots .dot{
    width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45);
    cursor: pointer; display: block; transition: background .2s ease, transform .2s ease;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  }
  #bs-slide-1:checked ~ .slider-dots label[for="bs-slide-1"],
  #bs-slide-2:checked ~ .slider-dots label[for="bs-slide-2"]{ background: var(--accent); transform: scale(1.15); }
  .design-card .design-body{ padding: 20px 22px; }
  .design-card .design-label{ font-family: monospace; font-size: 11.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
  .design-card h4{ font-size: 15.5px; color: var(--text); margin-bottom: 10px; }
  .design-card p{ font-size: 14px; color: var(--text-dim); }
  .design-note{
    margin-top: 22px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 22px; font-size: 14px; color: var(--text-dim);
  }
  .design-note strong{ color: var(--text); }

  /* CONTACT */
  .contact-box{
    background: linear-gradient(135deg, var(--card), var(--bg-alt));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 44px; text-align:center; margin-top: 20px;
  }
  .contact-box h2{ margin-bottom: 10px; }
  .contact-box p{ color: var(--text-dim); margin-bottom: 26px; }
  .contact-row{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

  footer{ padding: 32px 0 60px; text-align:center; color: var(--text-faint); font-size: 13px; }
  footer .mono{ color: var(--text-faint); }
