:root {
    --ubuntu-orange: #E95420;
    --ubuntu-orange-dark: #C34113;
    --ubuntu-aubergine: #2C001E;
    --ubuntu-warm-grey: #AEA79F;
    --ubuntu-cool-grey: #333333;
    --ubuntu-mid: #1D1D1D;
    --ubuntu-surface: #1A1A1A;
    --ubuntu-card: #252525;
    --ubuntu-border: #3A3A3A;
    --ubuntu-text: #E8E8E8;
    --ubuntu-muted: #AEA79F;
    --ubuntu-green: #38b44a;
    --ubuntu-yellow: #EFB73E;
    --ubuntu-red: #DF382C;
    --font-main: 'Ubuntu', sans-serif;
    --font-mono: 'Ubuntu Mono', monospace;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--ubuntu-mid);
    color: var(--ubuntu-text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
  }

  /* TOPBAR */
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 28px;
    background: var(--ubuntu-aubergine);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 1000;
    font-size: 12px;
    color: #ccc;
    font-family: var(--font-mono);
  }

  .topbar-left { display: flex; gap: 14px; align-items: center; }
  .topbar-logo {
    width: 16px; height: 16px;
    background: var(--ubuntu-orange);
    border-radius: 50%;
    display: inline-block;
  }
  .topbar-right { display: flex; gap: 14px; align-items: center; }
  .topbar-right span { color: var(--ubuntu-warm-grey); }
  .topbar-right .indicator { color: #7de87d; }

  /* SIDEBAR DOCK */
  .dock {
    position: fixed;
    left: 0; top: 28px; bottom: 0;
    width: 62px;
    background: rgba(30, 20, 28, 0.96);
    border-right: 1px solid #3a1f30;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 6px;
    z-index: 999;
  }

  .dock-item {
    width: 46px; height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: background 0.15s, transform 0.15s;
    text-decoration: none;
    flex-direction: column;
    gap: 2px;
    font-size: 9px;
    color: var(--ubuntu-warm-grey);
    letter-spacing: 0.3px;
  }

  .dock-item:hover {
    background: rgba(233, 84, 32, 0.18);
    transform: scale(1.08);
  }

  .dock-item.active { background: rgba(233, 84, 32, 0.28); }

  .dock-item .dock-icon {
    font-size: 20px;
    line-height: 1;
  }

  .dock-dot {
    position: absolute;
    left: 2px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--ubuntu-orange);
    display: none;
  }

  .dock-item.active .dock-dot { display: block; }

  .dock-divider {
    width: 32px;
    height: 1px;
    background: #3a1f30;
    margin: 6px 0;
  }

  /* MAIN CONTENT */
  main {
    margin-left: 62px;
    margin-top: 28px;
    min-height: calc(100vh - 28px);
  }

  /* WINDOW CHROME */
  .window {
    background: var(--ubuntu-surface);
    border-radius: 8px;
    border: 1px solid var(--ubuntu-border);
    overflow: hidden;
    margin: 20px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }

  .window-chrome {
    height: 32px;
    background: #2D2D2D;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    border-bottom: 1px solid var(--ubuntu-border);
  }

  .window-btn {
    width: 12px; height: 12px;
    border-radius: 50%;
    cursor: pointer;
  }

  .btn-close { background: var(--ubuntu-red); }
  .btn-min   { background: var(--ubuntu-yellow); }
  .btn-max   { background: var(--ubuntu-green); }

  .window-title {
    margin-left: 8px;
    font-size: 12px;
    color: #888;
    font-family: var(--font-mono);
    flex: 1;
  }

  .window-body { padding: 36px 48px; }

  /* HERO */
  .hero {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--ubuntu-border);
    margin-bottom: 40px;
  }

  .hero-avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ubuntu-orange) 0%, var(--ubuntu-aubergine) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    border: 3px solid var(--ubuntu-orange);
  }

  .hero-text h1 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.1;
  }

  .hero-text h1 span { color: var(--ubuntu-orange); }

  .hero-text .role {
    font-size: 15px;
    color: var(--ubuntu-warm-grey);
    font-family: var(--font-mono);
    margin-top: 6px;
  }

  .hero-text .role span { color: var(--ubuntu-orange); }

  .hero-text p {
    margin-top: 14px;
    font-size: 15px;
    color: #ccc;
    max-width: 520px;
    line-height: 1.7;
  }

  .hero-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--ubuntu-orange);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    display: inline-block;
  }

  .btn-primary:hover { background: var(--ubuntu-orange-dark); }

  .btn-ghost {
    background: transparent;
    color: var(--ubuntu-warm-grey);
    border: 1px solid var(--ubuntu-border);
    padding: 9px 22px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    display: inline-block;
  }

  .btn-ghost:hover { border-color: var(--ubuntu-orange); color: var(--ubuntu-orange); }

  /* SECTION HEADERS */
  .section { margin-bottom: 48px; }

  .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.2px;
  }

  .section-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    background: rgba(233, 84, 32, 0.15);
    color: var(--ubuntu-orange);
    border: 1px solid rgba(233, 84, 32, 0.3);
    padding: 2px 8px;
    border-radius: 3px;
  }

  .section-line {
    flex: 1;
    height: 1px;
    background: var(--ubuntu-border);
  }

  /* TERMINAL BIO */
  .terminal-block {
    background: #111;
    border-radius: 6px;
    border: 1px solid var(--ubuntu-border);
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    line-height: 1.8;
  }

  .term-prompt { color: var(--ubuntu-green); }
  .term-host { color: var(--ubuntu-orange); }
  .term-output { color: #ccc; }
  .term-key { color: #7ec8e3; }
  .term-val { color: #fff; }
  .term-comment { color: #666; }

  /* SKILLS */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }

  .skill-group {
    background: var(--ubuntu-card);
    border: 1px solid var(--ubuntu-border);
    border-radius: 6px;
    padding: 16px 18px;
  }

  .skill-group h3 {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--ubuntu-orange);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .skill-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    background: #1A1A1A;
    color: #ddd;
    border: 1px solid #3A3A3A;
    padding: 3px 10px;
    border-radius: 3px;
  }

  /* PROJECTS */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }

  .project-card {
    background: var(--ubuntu-card);
    border: 1px solid var(--ubuntu-border);
    border-radius: 6px;
    padding: 22px 22px;
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
  }

  .project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ubuntu-orange);
  }

  .project-card:hover { border-color: rgba(233, 84, 32, 0.4); }

  .project-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 6px;
  }

  .project-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ubuntu-warm-grey);
    margin-bottom: 10px;
  }

  .project-card p {
    font-size: 13.5px;
    color: #bbb;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .project-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    background: rgba(233, 84, 32, 0.1);
    color: var(--ubuntu-orange);
    border: 1px solid rgba(233, 84, 32, 0.25);
    padding: 2px 8px;
    border-radius: 3px;
  }

  /* EXPERIENCE */
  .exp-list { display: flex; flex-direction: column; gap: 20px; }

  .exp-item {
    background: var(--ubuntu-card);
    border: 1px solid var(--ubuntu-border);
    border-left: 3px solid var(--ubuntu-orange);
    border-radius: 0 6px 6px 0;
    padding: 18px 22px;
  }

  .exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .exp-header h3 { font-size: 15px; font-weight: 500; color: #fff; }

  .exp-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ubuntu-warm-grey);
    white-space: nowrap;
  }

  .exp-org { font-size: 13px; color: var(--ubuntu-orange); margin-bottom: 10px; }

  .exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .exp-bullets li {
    font-size: 13.5px;
    color: #bbb;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
  }

  .exp-bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--ubuntu-orange);
    font-size: 11px;
    top: 2px;
  }

  /* CONTACT */
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
  }

  .contact-card {
    background: var(--ubuntu-card);
    border: 1px solid var(--ubuntu-border);
    border-radius: 6px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--ubuntu-text);
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .contact-card:hover {
    border-color: var(--ubuntu-orange);
    background: rgba(233, 84, 32, 0.06);
  }

  .contact-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(233, 84, 32, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
  }

  .contact-info label {
    display: block;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--ubuntu-warm-grey);
    margin-bottom: 2px;
  }

  .contact-info span {
    font-size: 13px;
    color: #ddd;
    word-break: break-all;
  }

  /* FOOTER */
  .footer {
    margin: 0 24px 20px;
    padding: 16px 24px;
    background: var(--ubuntu-card);
    border-radius: 6px;
    border: 1px solid var(--ubuntu-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ubuntu-warm-grey);
  }

  .footer .ubuntu-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ubuntu-orange);
  }

  .ubuntu-logo {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--ubuntu-orange);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* NAV SCROLL HIGHLIGHT */
  .nav-label {
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--ubuntu-warm-grey);
    text-align: center;
    line-height: 1.2;
  }

  /* Responsive */
  @media (max-width: 700px) {
    .dock { width: 50px; }
    main { margin-left: 50px; }
    .window-body { padding: 24px 20px; }
    .hero { flex-direction: column; gap: 24px; }
    .hero-text h1 { font-size: 28px; }
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
  }