:root{
    --bg: #05060a;
    --surface: #0c1018;
    --surface-2: #10151f;
    --line: #1c2331;
    --line-soft: rgba(255,255,255,0.08);
    --text: #eef0f6;
    --muted: #838ba0;
    --accent: #3ee6c4;
    --accent-2: #5b8cff;
    --radius: 16px;
    --font-main: 'Inter', sans-serif;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }

  body{
    margin:0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    transition: background .25s ease, color .25s ease;
    touch-action: pan-y; /* swipe horizontal bisa mulai dari mana aja di layar */
  }

  html.light-mode{
    --bg: #f4f5f9;
    --surface: #ffffff;
    --surface-2: #eef0f6;
    --line: #dde1ea;
    --text: #14161c;
    --muted: #6b7280;
  }
  html.light-mode .bio-lines{ color:#3a3f4d; }
  html.light-mode .icon-btn{ background: var(--surface); border-color: var(--line); color: var(--text); }
  html.light-mode .dots-nav{ background: rgba(255,255,255,0.88); }
  html.light-mode .to-top{ box-shadow: 0 10px 24px -10px rgba(0,0,0,0.18); }
  html.light-mode .modal-overlay{ background: rgba(20,22,28,0.35); }

  .page{ max-width: 480px; margin: 0 auto; position: relative; }

  .hero{
    position: relative;
    height: 300px;
    overflow: hidden;
    background:
      radial-gradient(120% 90% at 15% -10%, rgba(62,230,196,0.16), transparent 55%),
      radial-gradient(90% 80% at 100% 0%, rgba(91,140,255,0.14), transparent 60%),
      linear-gradient(160deg, #0a0e18 0%, #060811 55%, #030408 100%);
  }
  .hero-media{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit: cover;
    opacity: 0.55;
    z-index: 0;
  }
  .hero-fade{
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(5,6,10,0.15) 0%, rgba(5,6,10,0.35) 55%, rgba(5,6,10,0.95) 100%);
    z-index: 1;
  }
  .hero-media{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit: cover;
    opacity: 0.55;
  }
  .hero-fade{
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(5,6,10,0.15) 0%, rgba(5,6,10,0.55) 65%, var(--bg) 100%);
  }
  .hero-grid{
    position:absolute; inset:0;
    background-image:
      linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
    z-index: 2;
  }
  .hero-orbit{
    position:absolute;
    width: 420px; height: 420px;
    right: -140px; top: -160px;
    border-radius: 50%;
    border: 1px solid rgba(94,255,224,0.14);
    z-index: 2;
  }
  .hero-orbit::before{
    content:"";
    position:absolute; inset: 46px;
    border-radius:50%;
    border: 1px solid rgba(94,255,224,0.09);
  }
  .hero-glyphs{
    position:absolute; left:20px; top:20px;
    font-family:'JetBrains Mono', monospace;
    color: rgba(255,255,255,0.5);
    z-index: 3;
  }
  .hero-glyphs .mark{
    font-size: 1.625rem; font-weight: 800; letter-spacing: 0.02em;
    color: rgba(255,255,255,0.9);
    line-height: 1;
  }
  .hero-glyphs .sub{
    margin-top: 6px;
    font-size: 0.625rem; letter-spacing: 0.22em;
    color: rgba(255,255,255,0.35);
  }
  .hero-status{
    position:absolute; left:20px; bottom:20px;
    display:flex; align-items:center; gap:7px;
    font-family:'JetBrains Mono', monospace;
    font-size: 0.65625rem; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    z-index: 3;
  }
  .hero-status .dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.3} }

  .app-topbar{
    display:flex; align-items:center; justify-content:space-between;
    padding: 16px 20px 6px;
  }
  .app-topbar-title{
    font-family: var(--font-main);
    font-weight: 800; font-size: 0.9375rem;
    color: var(--text);
  }
  .app-topbar-actions{ display:flex; gap:8px; }
  .icon-btn{
    width: 38px; height:38px; border-radius: 10px;
    display:flex; align-items:center; justify-content:center;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    cursor:pointer;
    font: inherit;
    font-size: 0.875rem;
  }

  /* ============ AVATAR ============ */
  .avatar-row{
    display:flex; justify-content:center;
    margin-top: -70px;
    position: relative; z-index: 4;
  }
  .avatar{
    width: 132px; height: 132px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--accent-2), var(--accent));
    border: 4px solid var(--bg);
    display:flex; align-items:center; justify-content:center;
    font-family: var(--font-main);
    font-weight: 800; font-size: 2.75rem; color: #04070c;
    position: relative;
    box-shadow: 0 20px 45px -18px rgba(0,0,0,0.7);
  }
  .avatar-photo{
    width:100%; height:100%;
    border-radius: 50%;
    overflow: hidden;
  }
  .avatar img{
    width:100%; height:100%;
    object-fit: cover;
    border-radius: 50%;
  }
  .avatar .badge{
    position:absolute; bottom:-2px; right:-2px;
    width: 30px; height:30px; border-radius:50%;
    background: var(--accent-2);
    border: 3px solid var(--bg);
    display:flex; align-items:center; justify-content:center;
    color: #04070c; font-size: 0.75rem;
    z-index: 2;
  }

  /* ============ PROFILE TEXT ============ */
  .profile-text{
    text-align:center;
    padding: 16px 24px 0;
  }
  .name{
    font-size: 1.4375rem; font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
  }
  .roles{
    font-family: var(--font-main);
    font-size: 0.78125rem;
    color: var(--accent-2);
    display:flex; align-items:center; justify-content:center; gap:9px;
    flex-wrap: wrap;
  }
  .roles .sep{ color: var(--line); }

  /* ============ BIO CARD ============ */
  .bio-card{
    margin: 22px 20px 0;
    padding: 18px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    display:flex; align-items:center; gap: 14px;
  }
  .bio-lines{
    flex:1;
    font-size: 0.8125rem;
    font-style: italic;
    color: #c1c6d4;
    line-height: 1.85;
  }
  .bio-icon{
    flex: none;
    width: 40px; height:40px;
    border-radius: 10px;
    background: rgba(94,255,224,0.07);
    border: 1px solid rgba(94,255,224,0.18);
    display:flex; align-items:center; justify-content:center;
    color: var(--accent);
    font-size: 1rem;
  }

  /* ============ SETTINGS PANEL CONTROLS ============ */
  .settings-group{ margin-bottom: 20px; }
  .settings-group:last-child{ margin-bottom: 0; }
  .settings-group.row-between{
    display:flex; align-items:center; justify-content:space-between;
  }
  .settings-label{
    font-family: var(--font-main);
    font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .settings-label span{ color: var(--accent); text-transform:none; letter-spacing:0; }

  .font-options{ display:flex; flex-wrap:wrap; gap:8px; }
  .font-chip{
    padding: 8px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.78125rem;
    cursor:pointer;
  }
  .font-chip.active{ color: var(--bg); background: var(--accent); border-color: var(--accent); font-weight:600; }

  .settings-slider{
    -webkit-appearance:none; appearance:none;
    width: 100%; height: 5px; border-radius: 4px;
    background: var(--line);
    outline:none;
  }
  .settings-slider::-webkit-slider-thumb{
    -webkit-appearance:none; appearance:none;
    width: 17px; height:17px; border-radius:50%;
    background: var(--accent);
    border: 3px solid var(--surface-2);
    cursor:pointer;
  }
  .settings-slider::-moz-range-thumb{
    width: 17px; height:17px; border-radius:50%;
    background: var(--accent); border: 3px solid var(--surface-2); cursor:pointer;
  }

  .theme-options{ display:flex; gap:10px; }
  .theme-swatch{
    width: 32px; height:32px; border-radius:50%;
    border: 2px solid var(--line);
    cursor:pointer;
    padding:0;
  }
  .theme-swatch.active{ border-color: #fff; box-shadow: 0 0 0 2px var(--surface-2); }

  .switch{ position:relative; display:inline-block; width:44px; height:25px; flex:none; }
  .switch input{ opacity:0; width:0; height:0; }
  .switch-track{
    position:absolute; inset:0; cursor:pointer;
    background: var(--line); border-radius: 30px; transition: .2s;
  }
  .switch-track::before{
    content:""; position:absolute; width:19px; height:19px; left:3px; bottom:3px;
    background: #fff; border-radius:50%; transition: .2s;
  }
  .switch input:checked + .switch-track{ background: var(--accent); }
  .switch input:checked + .switch-track::before{ transform: translateX(19px); }

  .settings-section-title{
    font-family:'JetBrains Mono', monospace;
    font-size: 0.65625rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent-2);
    margin: 24px 0 12px;
  }
  .settings-section-title::before{ content:"// "; }
  .settings-group + .settings-section-title{ margin-top: 24px; }

  .settings-audio-card{
    display:flex; align-items:center; gap:12px;
    width:100%;
    padding: 13px 14px;
    background: rgba(94,140,255,0.06);
    border: 1px solid rgba(94,140,255,0.25);
    border-radius: 13px;
    cursor:pointer; text-align:left;
    font: inherit; color: inherit;
    transition: border-color .15s ease, background .15s ease, transform .12s ease;
  }
  .settings-audio-card:active{ transform: scale(0.98); }
  .settings-audio-icon{
    width: 38px; height:38px; flex:none;
    border-radius: 10px;
    background: linear-gradient(150deg, var(--accent-2), var(--accent));
    display:flex; align-items:center; justify-content:center;
    color: #04070c; font-size: 0.9375rem;
  }
  .settings-audio-text{ flex:1; min-width:0; }
  .settings-audio-title{ font-weight:800; font-size: 0.84375rem; color: var(--text); }
  .settings-audio-sub{
    font-size: 0.6875rem; color: var(--muted); margin-top:2px;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .settings-audio-chevron{ color: var(--accent-2); font-size: 0.8125rem; flex:none; }

  /* ============ AUDIO MODAL (Spotify-style) ============ */
  .audio-modal .modal-head{ justify-content:space-between; }
  .audio-modal-body{
    display:flex; flex-direction:column; align-items:center;
    padding: 22px 18px 10px;
  }
  .audio-art{
    width: 168px; height:168px;
    border-radius: 18px;
    background:
      linear-gradient(150deg, var(--accent-2), var(--accent));
    background-size: cover;
    background-position: center;
    display:flex; align-items:center; justify-content:center;
    color: rgba(4,7,12,0.35);
    font-size: 2.875rem;
    box-shadow: 0 20px 40px -18px rgba(0,0,0,0.6);
    margin-bottom: 18px;
    flex: none;
    transition: background-image .25s ease;
  }
  .audio-now-playing{ text-align:center; margin-bottom: 14px; }
  .audio-track-name{
    font-size: 1rem; font-weight: 800; color: var(--text);
    margin-bottom: 4px;
    max-width: 260px;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .audio-track-sub{ font-size: 0.71875rem; color: var(--muted); }

  .audio-progress{
    width:100%; max-width: 280px;
    height: 3px; border-radius: 3px;
    background: var(--line);
    margin-bottom: 20px;
    overflow:hidden;
  }
  .audio-progress-fill{
    display:block; width:0%; height:100%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
  }

  .audio-controls{
    display:flex; align-items:center; justify-content:center; gap:20px;
    margin-bottom: 22px;
  }
  .audio-ctrl-btn{
    width: 40px; height:40px; border-radius:50%;
    border:none; background: var(--surface); color: var(--text);
    display:flex; align-items:center; justify-content:center;
    font-size: 0.875rem; cursor:pointer;
    transition: transform .12s ease, background .15s ease;
  }
  .audio-ctrl-btn:active{ transform: scale(0.9); }
  .audio-play-btn{
    width: 54px; height:54px;
    background: var(--accent); color: var(--bg); font-size: 1.125rem;
  }

  .audio-playlist{
    width:100%;
    display:flex; flex-direction:column; gap:8px;
    padding-bottom: 6px;
  }
  .audio-track-row{
    display:flex; align-items:center; gap:12px;
    padding: 9px 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 11px;
    cursor:pointer; text-align:left;
    font: inherit;
    transition: border-color .15s ease, background .15s ease;
  }
  .audio-track-row.active{ border-color: var(--accent); background: rgba(94,255,224,0.06); }
  .audio-track-thumb{
    width: 42px; height:42px; flex:none;
    border-radius: 9px;
    background: linear-gradient(150deg, var(--accent-2), var(--accent));
    background-size: cover; background-position: center;
    display:flex; align-items:center; justify-content:center;
    color: rgba(4,7,12,0.4); font-size: 0.9375rem;
  }
  .audio-track-info{ flex:1; min-width:0; }
  .audio-track-title{
    font-size: 0.78125rem; font-weight:700; color: var(--text);
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .audio-track-artist{ font-size: 0.65625rem; color: var(--muted); margin-top:2px; }
  .audio-track-play-icon{ color: var(--muted); font-size: 0.75rem; flex:none; }
  .audio-track-row.active .audio-track-play-icon{ color: var(--accent); }
  .audio-track-row.active .audio-track-play-icon::before{ content: "\f028"; } /* fa-volume-high while active */
  .demo-panel{
    margin: 18px 20px 0;
    border-radius: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    background:
      radial-gradient(70% 60% at 30% 20%, rgba(91,140,255,0.20), transparent 60%),
      radial-gradient(60% 60% at 80% 80%, rgba(62,230,196,0.16), transparent 60%),
      #0a0e17;
  }
  .demo-video{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit: cover;
  }
  .demo-play{
    position:absolute; top:50%; left:50%;
    transform: translate(-50%,-50%);
    width: 58px; height:58px; border-radius:50%;
    background: rgba(8,10,16,0.55);
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size: 1.125rem;
    cursor:pointer;
    z-index: 3;
  }
  .demo-tag{
    position:absolute; right:12px; bottom:12px;
    font-family:'JetBrains Mono', monospace;
    font-size: 0.625rem; font-weight:700; letter-spacing:0.06em;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 8px; border-radius: 6px;
    color: rgba(255,255,255,0.75);
  }
  .demo-bar{
    position:absolute; left:0; right:0; bottom:0;
    height: 3px; background: rgba(255,255,255,0.08);
  }
  .demo-bar-fill{
    display:block; width:0%; height:100%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
  }

  /* ============ SECTION LABEL ============ */
  .section-label{
    display:flex; align-items:center; gap:9px;
    margin: 32px 24px 14px;
    font-size: 0.90625rem; font-weight:700;
    color: var(--text);
  }
  .section-label .bar{
    width:3px; height:16px; border-radius:2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
  }
  .section-label i{ color: var(--accent-2); font-size: 0.875rem; }

  /* ============ ACCORDION (What I do) ============ */
  .accordion{ display:flex; flex-direction:column; gap:10px; margin: 0 20px; }
  .acc-item{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
  }
  .acc-head{
    display:flex; align-items:center; gap:12px;
    padding: 15px 16px;
    cursor:pointer;
    background: none; border:none; width:100%;
    color: var(--text); font: inherit; font-size: 0.875rem; font-weight:600;
    text-align:left;
  }
  .acc-head .acc-icon{
    width: 34px; height:34px; flex:none;
    border-radius: 9px;
    background: rgba(94,140,255,0.1);
    border: 1px solid rgba(94,140,255,0.2);
    display:flex; align-items:center; justify-content:center;
    color: var(--accent-2); font-size: 0.875rem;
  }
  .acc-head span.label{ flex:1; }
  .acc-head .chevron{
    color: var(--muted); font-size: 0.8125rem;
    transition: transform .2s ease;
  }
  .acc-item.open .acc-head .chevron{ transform: rotate(180deg); }
  .acc-panel{
    max-height: 0;
    overflow:hidden;
    transition: max-height .25s ease;
  }
  .acc-panel-inner{
    padding: 0 16px 16px 62px;
    font-size: 0.78125rem;
    color: var(--muted);
    line-height: 1.7;
  }

  /* ============ SWIPE CARDS ============ */
  .swipe-zone{
    touch-action: pan-y;
  }
  .swipe-viewport{
    position: relative;
    overflow: hidden;
    transition: height .3s ease;
    touch-action: pan-y;
  }
  .swipe-track{
    display: flex;
    align-items: flex-start;
    touch-action: pan-y;
  }
  .swipe-page{
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
  }

  /* ============ DOTS NAV ============ */
  .dots-nav{
    position: fixed; bottom:0; left:50%;
    transform: translateX(-50%);
    width: 100%; max-width: 480px;
    display:flex; align-items:center; justify-content:center;
    gap: 9px;
    background: rgba(8,10,16,0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    z-index: 30;
    padding: 14px 0 max(14px, env(safe-area-inset-bottom));
  }
  .dot{
    width: 8px; height:8px; border-radius:50%;
    background: var(--muted);
    opacity: 0.45;
    border:none; padding:0; cursor:pointer;
    transition: all .25s ease;
  }
  .dot.active{
    width: 22px; border-radius: 5px;
    background: var(--accent);
    opacity: 1;
  }

  /* ============ CONTACT PAGE ============ */
  .contact-heading{ margin: 0 20px 20px; }
  .contact-eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 6px;
  }
  .contact-eyebrow::before{ content:"// "; }
  .contact-heading h2{
    font-size: 1.75rem; font-weight: 800; margin: 0 0 8px;
    letter-spacing: -0.01em;
  }
  .contact-heading p{
    margin:0; font-size: 0.78125rem; color: var(--muted); line-height:1.6;
  }

  .contact-panel{
    margin: 0 20px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
  }
  .contact-panel-head{
    display:flex; align-items:center; gap:9px;
    padding: 14px 18px;
    font-weight: 800; font-size: 0.8125rem; letter-spacing:0.02em;
    color: #fff;
  }
  .contact-panel-head.wa{ background: linear-gradient(120deg, #0f8a5f, #1fce7a); }
  .contact-panel-head.social{ background: linear-gradient(120deg, #4f5be0, #9b4ce0); }
  .contact-panel-body{ padding: 18px; }

  .wa-row{ display:flex; align-items:center; gap:14px; margin-bottom: 16px; }
  .wa-icon{
    width: 48px; height:48px; flex:none; border-radius: 13px;
    background: #1fce7a;
    display:flex; align-items:center; justify-content:center;
    color:#04140c; font-size: 1.25rem;
  }
  .wa-number{ font-weight: 800; font-size: 1rem; color: #3ee6c4; }
  .wa-status{ font-size: 0.71875rem; color: var(--muted); margin-top:2px; }
  .wa-cta{
    display:flex; align-items:center; justify-content:center; gap:8px;
    padding: 14px; border-radius: 11px;
    background: #1fce7a; color:#04140c;
    font-weight: 800; font-size: 0.8125rem; text-decoration:none;
  }

  .social-grid{
    display:grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .social-item{
    display:flex; align-items:center; gap:11px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    text-decoration:none; color: inherit;
  }
  .social-item .si-icon{
    width: 36px; height:36px; flex:none; border-radius: 9px;
    display:flex; align-items:center; justify-content:center;
    font-size: 0.875rem; color:#fff;
  }
  .social-item .si-name{ font-weight:700; font-size: 0.78125rem; }
  .social-item .si-handle{ font-size: 0.65625rem; color: var(--muted); }

  .hours-bar{
    margin: 0 20px;
    display:flex; align-items:center; gap:12px;
    padding: 14px 16px;
    border: 1px solid rgba(94,140,255,0.25);
    background: rgba(94,140,255,0.06);
    border-radius: 12px;
    font-size: 0.75rem; line-height:1.6;
  }
  .hours-bar i{
    width: 34px; height:34px; flex:none; border-radius:50%;
    background: var(--accent-2); color:#04070c;
    display:flex; align-items:center; justify-content:center;
    font-size: 0.8125rem;
  }
  .hours-bar b{ color: var(--text); }
  .hours-bar span{ color: var(--muted); }

  /* ============ CONNECT ============ */
  .connect-row{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 20px;
  }
  .social-link{
    aspect-ratio: 1;
    display:flex; align-items:center; justify-content:center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--text);
    text-decoration:none;
    font-size: 1.125rem;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
  }
  .social-link:hover{ transform: translateY(-3px); border-color: var(--accent); background: var(--surface-2); color: var(--accent); }

  /* ============ TECH STACK ============ */
  .stack-block{ margin: 0 20px 0; }
  .stack-group-title{
    font-family:'JetBrains Mono', monospace;
    font-size: 0.65625rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted);
    margin: 16px 0 9px;
  }
  .stack-group-title:first-child{ margin-top: 0; }
  .badge-row{ display:flex; flex-wrap:wrap; gap:8px; }
  .badge{
    display:inline-flex; align-items:center; gap:7px;
    padding: 8px 13px;
    border-radius: 8px;
    font-size: 0.75rem; font-weight: 700;
    color: #0a0e17;
    letter-spacing: 0.01em;
  }
  .badge i{ font-size: 0.8125rem; }
  .badge.dark{ color: #eef0f6; }

  /* ============ PROJECTS (vertical stacked list, own scroll box) ============ */
  .proj-list{
    display:flex; flex-direction:column; gap:12px;
    margin: 0;
    padding: 2px 4px 4px 0;
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .proj-list::-webkit-scrollbar{ width: 5px; }
  .proj-list::-webkit-scrollbar-thumb{ background: var(--line); border-radius: 4px; }
  .proj-list::-webkit-scrollbar-track{ background: transparent; }
  .proj{
    display:flex; flex-direction:row; align-items:flex-start; gap:12px;
    padding: 16px 40px 16px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration:none; color: inherit;
    position: relative;
    transition: border-color .15s ease, transform .15s ease;
  }
  .proj:hover{ border-color: var(--accent-2); transform: translateY(-2px); }
  .proj-icon{
    width: 40px; height:40px; flex: none;
    border-radius: 10px;
    background: linear-gradient(150deg, #16202f, #0d131c);
    border: 1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    color: var(--accent);
    font-size: 0.9375rem;
  }
  .proj-body{ width:100%; min-width:0; }
  .proj-title{ font-weight: 700; font-size: 0.875rem; margin-bottom:4px; }
  .proj-desc{
    font-size: 0.71875rem; color: var(--muted); margin-bottom:9px;
    line-height: 1.5;
  }
  .tags{ display:flex; flex-wrap:wrap; gap:5px; }
  .tag{
    font-family:'JetBrains Mono', monospace;
    font-size: 0.59375rem;
    padding: 3px 7px;
    border-radius: 5px;
    background: rgba(94,140,255,0.09);
    color: var(--accent-2);
    border: 1px solid rgba(94,140,255,0.18);
  }
  .chev{ position:absolute; top:50%; right:14px; transform: translateY(-50%); color: var(--muted); font-size: 0.75rem; }

  /* ============ FOOTER ============ */
  footer{ margin: 40px 24px 84px; text-align:center; }
  .quote{
    font-family:'JetBrains Mono', monospace;
    font-size: 0.75rem; color: var(--muted); line-height:1.8;
  }
  .quote .id{ color: #545b6e; }
  .copyright{ margin-top: 14px; font-size: 0.6875rem; color: #40465a; }

  .to-top{
    position: fixed; right: 18px; bottom: 18px;
    width: 42px; height:42px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--accent);
    display:flex; align-items:center; justify-content:center;
    text-decoration:none; z-index: 20;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,0.6);
    font-size: 0.875rem;
  }

  /* ============ SETTINGS MODAL ============ */
  .modal-overlay{
    position: fixed; inset:0;
    background: rgba(2,4,8,0.7);
    backdrop-filter: blur(3px);
    display:none;
    align-items:center; justify-content:center;
    z-index: 50; padding: 20px;
  }
  .modal-overlay.open{ display:flex; }
  .modal{
    width: 100%; max-width: 380px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow:hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8);
  }
  .modal-head{
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-family:'JetBrains Mono', monospace;
    font-size: 0.78125rem; color: var(--muted);
  }
  .modal-head .close-btn{
    background:none; border:none; color: var(--muted);
    cursor:pointer; font-size: 1rem; line-height:1; padding: 4px;
  }
  .modal-body{ padding: 18px 16px; }
  .modal-body p{
    margin: 0; font-size: 0.8125rem; color: var(--muted); line-height:1.7;
    font-family:'JetBrains Mono', monospace;
  }

  @media (prefers-reduced-motion: reduce){
    .hero-status .dot{ animation: none; }
  }
